refactor: rename the theme brand and every identifier from AKSRT to Jio
Full-project rename. `git grep -i aksrt` is now empty apart from the
DBMigrator 3.3.0 changelog note that documents the rename itself.
Code identifiers
- PHP namespace AKSRT\ -> Jio\ (composer PSR-4 + 378 declarations)
- global constants AKSRT_* -> JIO_* (VERSION/DIR/URI, PAY_TYPE_*, CAPTCHA_*)
- procedural functions, hooks, options, meta keys, table names,
cookies, query vars, ajax actions and nonces: aksrt_ -> jio_
- text domain aksrt -> jio; Theme Name -> Jio
- JS globals: aksrtData/aksrtAdminData/... -> jioData/jioAdminData/...,
window.AKSRTCaptcha & friends -> window.JioCaptcha, Aksrt* -> Jio*
- Vue components Aks*.vue -> Jio*.vue (15 files renamed + imports)
- CSS classes/data-attrs/custom properties: aksrt- -> jio-
- REST namespace aksrt/v1 -> jio/v1 (incl. payment gateway callbacks)
Storage layer
- DB tables {prefix}aksrt_* -> {prefix}jio_*; SCHEMA_VERSION 3.2.0 -> 3.3.0
so dbDelta creates the new names on install
- widget id_base aksrt_widget_* -> jio_widget_*
- uninstall.php drop list rebuilt from the actual migrator tables
(dropped 3 stale entries, added the 17 missing ones)
Removed
- hardcoded https://api.aksrt.com/version.json default update endpoint;
get_endpoint() now reads the 「更新端点」 setting and do_check() no-ops
when it is empty
Files renamed: inc/helpers/aksrt-*.php -> jio-*.php (54),
assets/admin/src/components/form/Aks*.vue -> Jio*.vue (15).
Build artifacts regenerated: assets/css/build, assets/js/runtime,
assets/admin/build.
Verified: audit-psr4-paths errors=0, audit-admin-contracts errors=0
(warnings=56, unchanged baseline), 813/813 widget-system tests,
44/44 phpunit, php -l clean across all PHP.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
5b16bc6e15
commit
35bb96e82f
997 files changed
+28216
-28188
No files matched your search
@@ -1,8 +1,8 @@
|
||||
.aksrt-pay-meta {
|
||||
.jio-pay-meta {
|
||||
margin: -6px -12px -12px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__field {
|
||||
.jio-pay-meta__field {
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-columns: 22% minmax(0, 1fr);
|
||||
@@ -12,15 +12,15 @@
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__field:first-child {
|
||||
.jio-pay-meta__field:first-child {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__field.compact {
|
||||
.jio-pay-meta__field.compact {
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__title {
|
||||
.jio-pay-meta__title {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding-top: 6px;
|
||||
@@ -31,72 +31,72 @@
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__control,
|
||||
.aksrt-pay-meta__control input[type="text"],
|
||||
.aksrt-pay-meta__control input[type="url"],
|
||||
.aksrt-pay-meta__control input[type="number"],
|
||||
.aksrt-pay-meta__control textarea,
|
||||
.aksrt-pay-meta__control select {
|
||||
.jio-pay-meta__control,
|
||||
.jio-pay-meta__control input[type="text"],
|
||||
.jio-pay-meta__control input[type="url"],
|
||||
.jio-pay-meta__control input[type="number"],
|
||||
.jio-pay-meta__control textarea,
|
||||
.jio-pay-meta__control select {
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__control .description {
|
||||
.jio-pay-meta__control .description {
|
||||
margin: 6px 0 0;
|
||||
color: #777;
|
||||
font-size: 12px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__radios {
|
||||
.jio-pay-meta__radios {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px 18px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__radios .description {
|
||||
.jio-pay-meta__radios .description {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__inline,
|
||||
.aksrt-pay-meta__number,
|
||||
.aksrt-pay-meta__upload,
|
||||
.aksrt-pay-meta__buttons {
|
||||
.jio-pay-meta__inline,
|
||||
.jio-pay-meta__number,
|
||||
.jio-pay-meta__upload,
|
||||
.jio-pay-meta__buttons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__inline input {
|
||||
.jio-pay-meta__inline input {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__inline select {
|
||||
.jio-pay-meta__inline select {
|
||||
flex: 0 0 110px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__number input,
|
||||
.aksrt-pay-meta__upload input {
|
||||
.jio-pay-meta__number input,
|
||||
.jio-pay-meta__upload input {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__number > span {
|
||||
.jio-pay-meta__number > span {
|
||||
flex: 0 0 auto;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__upload {
|
||||
.jio-pay-meta__upload {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__upload .button-link-delete {
|
||||
.jio-pay-meta__upload .button-link-delete {
|
||||
flex-basis: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__gallery {
|
||||
.jio-pay-meta__gallery {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
@@ -104,11 +104,11 @@
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__gallery:empty {
|
||||
.jio-pay-meta__gallery:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__gallery img {
|
||||
.jio-pay-meta__gallery img {
|
||||
display: block;
|
||||
width: auto;
|
||||
height: auto;
|
||||
@@ -120,7 +120,7 @@
|
||||
background: #f6f7f7;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group {
|
||||
.jio-pay-meta__group {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
margin: 0 0 10px;
|
||||
@@ -131,7 +131,7 @@
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group--inline {
|
||||
.jio-pay-meta__group--inline {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
@@ -142,7 +142,7 @@
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-head {
|
||||
.jio-pay-meta__group-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
@@ -152,11 +152,11 @@
|
||||
border-bottom: 1px solid #e3e5e8;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group.is-open .aksrt-pay-meta__group-head {
|
||||
.jio-pay-meta__group.is-open .jio-pay-meta__group-head {
|
||||
border-bottom-color: #e3e5e8;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-drag {
|
||||
.jio-pay-meta__group-drag {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -167,18 +167,18 @@
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-drag:hover {
|
||||
.jio-pay-meta__group-drag:hover {
|
||||
color: #1d2327;
|
||||
background: #f0f0f1;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-drag .dashicons {
|
||||
.jio-pay-meta__group-drag .dashicons {
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-toggle {
|
||||
.jio-pay-meta__group-toggle {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
@@ -195,18 +195,18 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-toggle:focus {
|
||||
.jio-pay-meta__group-toggle:focus {
|
||||
outline: 1px solid #2271b1;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-title {
|
||||
.jio-pay-meta__group-title {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-caret {
|
||||
.jio-pay-meta__group-caret {
|
||||
flex: 0 0 auto;
|
||||
color: #8c8f94;
|
||||
font-size: 16px;
|
||||
@@ -215,66 +215,66 @@
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group.is-open .aksrt-pay-meta__group-caret {
|
||||
.jio-pay-meta__group.is-open .jio-pay-meta__group-caret {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-body {
|
||||
.jio-pay-meta__group-body {
|
||||
display: none;
|
||||
gap: 10px;
|
||||
padding: 12px 10px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group.is-open .aksrt-pay-meta__group-body {
|
||||
.jio-pay-meta__group.is-open .jio-pay-meta__group-body {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-body > .button-link-delete {
|
||||
.jio-pay-meta__group-body > .button-link-delete {
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-body > .description {
|
||||
.jio-pay-meta__group-body > .description {
|
||||
margin: -4px 0 0;
|
||||
color: #777;
|
||||
font-size: 12px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-field {
|
||||
.jio-pay-meta__group-field {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-field > label {
|
||||
.jio-pay-meta__group-field > label {
|
||||
color: #1d2327;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-field--split {
|
||||
.jio-pay-meta__group-field--split {
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-field--split > div {
|
||||
.jio-pay-meta__group-field--split > div {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-field input[type="text"],
|
||||
.aksrt-pay-meta__group-field input[type="url"],
|
||||
.aksrt-pay-meta__group-field textarea {
|
||||
.jio-pay-meta__group-field input[type="text"],
|
||||
.jio-pay-meta__group-field input[type="url"],
|
||||
.jio-pay-meta__group-field textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-field .aksrt-icon-picker {
|
||||
.jio-pay-meta__group-field .jio-icon-picker {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-field .aksrt-icon-picker__preview {
|
||||
.jio-pay-meta__group-field .jio-icon-picker__preview {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -287,18 +287,18 @@
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-field .aksrt-icon-picker__value {
|
||||
.jio-pay-meta__group-field .jio-icon-picker__value {
|
||||
flex: 1;
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__class-swatches {
|
||||
.jio-pay-meta__class-swatches {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__class-swatch {
|
||||
.jio-pay-meta__class-swatch {
|
||||
width: 26px;
|
||||
height: 22px;
|
||||
padding: 0;
|
||||
@@ -308,19 +308,19 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__class-swatch:hover {
|
||||
.jio-pay-meta__class-swatch:hover {
|
||||
box-shadow: 0 0 0 1px #8c8f94;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__class-swatch.is-active {
|
||||
.jio-pay-meta__class-swatch.is-active {
|
||||
box-shadow: 0 0 0 2px #2271b1;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group.is-dragging {
|
||||
.jio-pay-meta__group.is-dragging {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__notice {
|
||||
.jio-pay-meta__notice {
|
||||
margin: 16px 18px;
|
||||
padding: 12px 14px;
|
||||
border-left: 4px solid #ffb900;
|
||||
@@ -329,20 +329,20 @@
|
||||
}
|
||||
|
||||
@media (max-width: 782px) {
|
||||
.aksrt-pay-meta__field {
|
||||
.jio-pay-meta__field {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__title {
|
||||
.jio-pay-meta__title {
|
||||
padding-top: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group--inline {
|
||||
.jio-pay-meta__group--inline {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group-field--split {
|
||||
.jio-pay-meta__group-field--split {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user