vome-core 0.1.36 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/components/vm-group-cascader.vue +2 -6
- package/dist/admin/components/vm-icon-picker.vue +6 -7
- package/dist/admin/components/vm-role-picker.vue +3 -6
- package/dist/admin/config/plugin-dev.js +1 -1
- package/dist/admin/crud/components/vm-color-picker.vue +6 -6
- package/dist/admin/crud/components/vm-date-range.vue +0 -14
- package/dist/admin/crud/components/vm-datetime-field.vue +10 -43
- package/dist/admin/crud/components/vm-multi-select.vue +2 -4
- package/dist/admin/crud/components/vm-number-range.vue +1 -3
- package/dist/admin/crud/components/vm-richtext-extensions.js +1 -1
- package/dist/admin/crud/components/vm-select.vue +1 -4
- package/dist/admin/crud/components/vm-tree-select.vue +3 -6
- package/dist/admin/crud/config.js +1 -1
- package/dist/admin/crud/confirm.js +1 -1
- package/dist/admin/crud/dict.js +1 -1
- package/dist/admin/crud/key.js +1 -1
- package/dist/admin/crud/mitt.js +1 -1
- package/dist/admin/crud/plugins.js +1 -1
- package/dist/admin/crud/span.js +1 -1
- package/dist/admin/crud/style.js +1 -1
- package/dist/admin/crud/validate.js +1 -1
- package/dist/admin/crud/vm-pagination.vue +59 -1
- package/dist/admin/crud/vm-search.vue +2 -7
- package/dist/admin/directives/perm.js +1 -1
- package/dist/admin/hooks/useUpload.js +1 -1
- package/dist/admin/lib/browser.js +1 -1
- package/dist/admin/lib/cn.js +1 -1
- package/dist/admin/lib/dialog-float.js +1 -1
- package/dist/admin/lib/export-excel.js +1 -1
- package/dist/admin/lib/import-excel.js +1 -1
- package/dist/admin/lib/json.js +1 -1
- package/dist/admin/lib/menu.js +1 -1
- package/dist/admin/lib/tree.js +1 -1
- package/dist/admin/lib/upload.js +1 -1
- package/dist/admin/lib/video-frame.js +1 -1
- package/dist/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/shared/datetime-picker.js +1 -1
- package/dist/shared/excel.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/locale-json.js +1 -1
- package/dist/shared/tree.js +1 -1
- package/package.json +1 -1
|
@@ -365,12 +365,8 @@ defineExpose({ open: openPanel, close: () => (open.value = false) })
|
|
|
365
365
|
background: var(--background);
|
|
366
366
|
transition: border-color 0.15s ease;
|
|
367
367
|
cursor: pointer;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
&:focus-within {
|
|
371
|
-
border-color: var(--focus-border, #a8b0ff);
|
|
372
|
-
box-shadow: none;
|
|
373
|
-
}
|
|
368
|
+
outline: none;
|
|
369
|
+
/* 弹层触发:不展示打开/聚焦描边 */
|
|
374
370
|
|
|
375
371
|
&.is-disabled {
|
|
376
372
|
opacity: 0.55;
|
|
@@ -397,13 +397,16 @@ onUnmounted(() => {
|
|
|
397
397
|
background 0.15s,
|
|
398
398
|
color 0.15s;
|
|
399
399
|
|
|
400
|
-
|
|
401
|
-
|
|
400
|
+
outline: none;
|
|
401
|
+
|
|
402
|
+
&:hover:not(:disabled) {
|
|
402
403
|
border-color: var(--brand);
|
|
403
404
|
background: var(--brand-soft);
|
|
404
405
|
color: var(--brand);
|
|
405
406
|
}
|
|
406
407
|
|
|
408
|
+
/* 弹层触发:打开态不额外描边 */
|
|
409
|
+
|
|
407
410
|
&:disabled {
|
|
408
411
|
opacity: 0.6;
|
|
409
412
|
cursor: not-allowed;
|
|
@@ -438,11 +441,7 @@ onUnmounted(() => {
|
|
|
438
441
|
color: var(--muted-foreground);
|
|
439
442
|
}
|
|
440
443
|
|
|
441
|
-
|
|
442
|
-
border-color: var(--brand);
|
|
443
|
-
box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 18%, transparent);
|
|
444
|
-
background: #fff;
|
|
445
|
-
}
|
|
444
|
+
/* 弹层触发旁输入:不展示聚焦描边 */
|
|
446
445
|
|
|
447
446
|
&:disabled {
|
|
448
447
|
opacity: 0.6;
|
|
@@ -209,16 +209,13 @@ onUnmounted(() => {
|
|
|
209
209
|
border-color 0.15s ease,
|
|
210
210
|
box-shadow 0.15s ease;
|
|
211
211
|
|
|
212
|
+
outline: none;
|
|
213
|
+
|
|
212
214
|
&:hover:not(.is-disabled) {
|
|
213
215
|
border-color: color-mix(in srgb, var(--brand) 45%, var(--input));
|
|
214
216
|
}
|
|
215
217
|
|
|
216
|
-
|
|
217
|
-
&:focus-visible {
|
|
218
|
-
border-color: var(--focus-border);
|
|
219
|
-
box-shadow: none;
|
|
220
|
-
outline: none;
|
|
221
|
-
}
|
|
218
|
+
/* 弹层触发:不展示打开/聚焦描边 */
|
|
222
219
|
|
|
223
220
|
&.is-disabled {
|
|
224
221
|
cursor: not-allowed;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1964(){const _0x367879=['6zkP5A2qic8G5PYn5yQH56UV5O+s5lU26isA5OMl5P6277YilNzVBwxVVjRKU4uGC2vYDMvY77Yj77Ym6ycc5zci5lIk5lYG44cb55+T5l+H44cb5PsV5lUy562j6io95yQB5OMP5Bgv44cc','l2fWCc9WBhvNAw5tDg9Yzs93ywXSzxqVBgLJzw5Zzs9PC3n1zq','57QV5yMn56UV','Ahr0Chm6lY9NAxrLzs5JB20V','5yMn56UVicSG5zco56UV','5A6m5Pw05lIA5yQH5QIH5z2x6isA5OMl5P6277YilNzVBwxVVjRLKkSGC2vYDMvYios4JIb3zwlVViNVViZMNkZLNldLVidLJ5hMIzpLJixLKi7LJ5hLUipJGii','yMfJA2vUza','DM9Tzs1WBhvNAw4TC2vYDMLJzq','5zco5y+W5B6U5BQu55sO6isA5OMl5P6277YilNzVBwxVVjRLKkSGD2vIl++8IE+8Jos7Psb3DwPPzsdMJilOVB3NI6ZNQ4VLIy3NQ6/POBxPNAlJGii','DM9TzwTQ','mZC4ndGWoxrNs01cEq','Ag9ZDg5HBwu','CMvWBgfJzq','DM9Tzs1WBhvNAw4TzNjVBNq','mJm3ntq5mMHpDMvZtq','ndvyEvzxzva','ndC3mtKXnvPTrfryzG','57QV5zco56UV','l2fYy2HPDMuVCMvMCY9OzwfKCY9Tyxn0zxiUEMLW','nZeYnZjoB0v4Bey','nJK3nteZEgDgELbL','mZeZmJC2qvLSD2LR','ChjVDg9JB2W','DM9Tzs1WBhvNAw4TzNvSBa','lY9Zzxj2AwnLlG','Ahr0Chm6lY9NAxrODwiUy29TlW','zNjVBNrLBMq','nK1ougTmAG','mty2nJmWvNffD3Lk'];_0x1964=function(){return _0x367879;};return _0x1964();}const _0x20885c=_0x3b8a;(function(_0x4916eb,_0xd6ce96){const _0x5a5fae=_0x3b8a,_0x4967d0=_0x4916eb();while(!![]){try{const _0x5dcf01=parseInt(_0x5a5fae(0x16e))/0x1+parseInt(_0x5a5fae(0x176))/0x2+parseInt(_0x5a5fae(0x164))/0x3+parseInt(_0x5a5fae(0x16f))/0x4+parseInt(_0x5a5fae(0x16a))/0x5*(-parseInt(_0x5a5fae(0x175))/0x6)+-parseInt(_0x5a5fae(0x168))/0x7+parseInt(_0x5a5fae(0x16d))/0x8*(-parseInt(_0x5a5fae(0x169))/0x9);if(_0x5dcf01===_0xd6ce96)break;else _0x4967d0['push'](_0x4967d0['shift']());}catch(_0x252bcb){_0x4967d0['push'](_0x4967d0['shift']());}}}(_0x1964,0xbf082));const ORG=_0x20885c(0x163);export function serviceUrlFromDocs(_0x463498){const _0x495a27=_0x20885c,_0x2b2273=new URL(_0x463498),_0x4d16bf=_0x2b2273[_0x495a27(0x165)][_0x495a27(0x166)](/^www\./,'')['replace'](/^service\./,'');return _0x2b2273[_0x495a27(0x170)]+_0x495a27(0x172)+_0x4d16bf;}export function seatApiBaseFromDocs(_0x12a0d0){return serviceUrlFromDocs(_0x12a0d0)+'/app/pluginStore/seat';}export function licenseIssueUrlFromDocs(_0x2f4254){const _0x5ac134=_0x20885c;return serviceUrlFromDocs(_0x2f4254)+_0x5ac134(0x15b);}function giteeArchive(_0x527022){const _0x548717=_0x20885c;return _0x548717(0x15d)+ORG+'/'+_0x527022+'/repository/archive/master.zip';}function githubArchive(_0x224cad){const _0x2fcd48=_0x20885c;return _0x2fcd48(0x173)+ORG+'/'+_0x224cad+_0x2fcd48(0x16c);}function giteeRepo(_0x553b11){return'https://gitee.com/'+ORG+'/'+_0x553b11;}function _0x3b8a(_0x59de4b,_0x567bde){_0x59de4b=_0x59de4b-0x15b;const _0x196441=_0x1964();let _0x3b8a32=_0x196441[_0x59de4b];if(_0x3b8a['npFCOh']===undefined){var _0x1d0ebf=function(_0xc1afd0){const _0x1c4ae5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x463498='',_0x2b2273='';for(let _0x4d16bf=0x0,_0x12a0d0,_0x2f4254,_0x527022=0x0;_0x2f4254=_0xc1afd0['charAt'](_0x527022++);~_0x2f4254&&(_0x12a0d0=_0x4d16bf%0x4?_0x12a0d0*0x40+_0x2f4254:_0x2f4254,_0x4d16bf++%0x4)?_0x463498+=String['fromCharCode'](0xff&_0x12a0d0>>(-0x2*_0x4d16bf&0x6)):0x0){_0x2f4254=_0x1c4ae5['indexOf'](_0x2f4254);}for(let _0x224cad=0x0,_0x553b11=_0x463498['length'];_0x224cad<_0x553b11;_0x224cad++){_0x2b2273+='%'+('00'+_0x463498['charCodeAt'](_0x224cad)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2b2273);};_0x3b8a['ErwnjM']=_0x1d0ebf,_0x3b8a['EQxBNq']={},_0x3b8a['npFCOh']=!![];}const _0x158f1c=_0x196441[0x0],_0x47ffce=_0x59de4b+_0x158f1c,_0x5f104e=_0x3b8a['EQxBNq'][_0x47ffce];return!_0x5f104e?(_0x3b8a32=_0x3b8a['ErwnjM'](_0x3b8a32),_0x3b8a['EQxBNq'][_0x47ffce]=_0x3b8a32):_0x3b8a32=_0x5f104e,_0x3b8a32;}function githubRepo(_0x2c54ec){const _0x577c46=_0x20885c;return _0x577c46(0x173)+ORG+'/'+_0x2c54ec;}const docsUrl='https://vomekj.com';export const pluginDev={'docsUrl':docsUrl,'serviceUrl':serviceUrlFromDocs(docsUrl),'uploadUrl':docsUrl+'/plugins/upload','mirrors':{'prefer':'gitee','giteeOrg':_0x20885c(0x15d)+ORG,'githubOrg':'https://github.com/'+ORG},'scaffolds':{'full':{'key':'full','title':_0x20885c(0x15e),'desc':_0x20885c(0x15f),'repo':_0x20885c(0x171),'repoUrl':giteeRepo(_0x20885c(0x171)),'githubRepoUrl':githubRepo(_0x20885c(0x171)),'downloadUrl':giteeArchive(_0x20885c(0x171)),'githubDownloadUrl':githubArchive(_0x20885c(0x171))},'backend':{'key':_0x20885c(0x160),'title':_0x20885c(0x16b),'desc':_0x20885c(0x177),'repo':_0x20885c(0x161),'repoUrl':giteeRepo(_0x20885c(0x161)),'githubRepoUrl':githubRepo(_0x20885c(0x161)),'downloadUrl':giteeArchive('vome-plugin-service'),'githubDownloadUrl':githubArchive(_0x20885c(0x161))},'frontend':{'key':_0x20885c(0x174),'title':_0x20885c(0x15c),'desc':_0x20885c(0x162),'repo':_0x20885c(0x167),'repoUrl':giteeRepo(_0x20885c(0x167)),'githubRepoUrl':githubRepo(_0x20885c(0x167)),'downloadUrl':giteeArchive(_0x20885c(0x167)),'githubDownloadUrl':githubArchive(_0x20885c(0x167))}}};
|
|
@@ -1076,11 +1076,14 @@ onUnmounted(() => {
|
|
|
1076
1076
|
cursor: pointer;
|
|
1077
1077
|
overflow: hidden;
|
|
1078
1078
|
|
|
1079
|
-
|
|
1080
|
-
|
|
1079
|
+
outline: none;
|
|
1080
|
+
|
|
1081
|
+
&:hover:not(:disabled) {
|
|
1081
1082
|
border-color: var(--brand, #4e5dff);
|
|
1082
1083
|
}
|
|
1083
1084
|
|
|
1085
|
+
/* 弹层触发:打开态不额外描边 */
|
|
1086
|
+
|
|
1084
1087
|
&:disabled {
|
|
1085
1088
|
cursor: not-allowed;
|
|
1086
1089
|
}
|
|
@@ -1122,10 +1125,7 @@ onUnmounted(() => {
|
|
|
1122
1125
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
1123
1126
|
outline: none;
|
|
1124
1127
|
|
|
1125
|
-
|
|
1126
|
-
border-color: var(--brand, #4e5dff);
|
|
1127
|
-
box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand, #4e5dff) 20%, transparent);
|
|
1128
|
-
}
|
|
1128
|
+
/* 弹层触发旁输入:不展示聚焦描边 */
|
|
1129
1129
|
|
|
1130
1130
|
&::placeholder {
|
|
1131
1131
|
color: var(--muted-foreground);
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
<div class="vm-date-range" :class="{ 'is-disabled': disabled }">
|
|
3
3
|
<VmDatetimeField
|
|
4
4
|
class="vm-date-range__field"
|
|
5
|
-
embedded
|
|
6
5
|
:model-value="props.modelValue?.[0] ?? null"
|
|
7
6
|
:precision="precision"
|
|
8
7
|
:placeholder="startPlaceholder"
|
|
@@ -13,7 +12,6 @@
|
|
|
13
12
|
<span class="vm-date-range__sep">-</span>
|
|
14
13
|
<VmDatetimeField
|
|
15
14
|
class="vm-date-range__field"
|
|
16
|
-
embedded
|
|
17
15
|
:model-value="props.modelValue?.[1] ?? null"
|
|
18
16
|
:precision="precision"
|
|
19
17
|
:placeholder="endPlaceholder"
|
|
@@ -66,30 +64,18 @@ function set(idx: 0 | 1, v: string | null) {
|
|
|
66
64
|
display: flex;
|
|
67
65
|
box-sizing: border-box;
|
|
68
66
|
width: 100%;
|
|
69
|
-
height: var(--vm-control-height);
|
|
70
67
|
align-items: center;
|
|
71
|
-
padding: 0 10px;
|
|
72
|
-
border: 1px solid transparent;
|
|
73
|
-
border-radius: 12px;
|
|
74
|
-
background: var(--muted);
|
|
75
68
|
gap: 0;
|
|
76
69
|
|
|
77
70
|
&.is-disabled {
|
|
78
71
|
opacity: 0.55;
|
|
79
72
|
pointer-events: none;
|
|
80
73
|
}
|
|
81
|
-
|
|
82
|
-
/* 整条一起激活:含任一侧打开日历(子组件 class 须 :deep) */
|
|
83
|
-
&:focus-within,
|
|
84
|
-
&:has(:deep(.is-open)) {
|
|
85
|
-
border-color: var(--focus-border);
|
|
86
|
-
}
|
|
87
74
|
}
|
|
88
75
|
|
|
89
76
|
.vm-date-range__field {
|
|
90
77
|
flex: 1 1 0;
|
|
91
78
|
min-width: 0;
|
|
92
|
-
height: 100%;
|
|
93
79
|
}
|
|
94
80
|
|
|
95
81
|
.vm-date-range__sep {
|
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
<div
|
|
3
3
|
ref="rootRef"
|
|
4
4
|
class="vm-dt-field"
|
|
5
|
-
:class="{
|
|
6
|
-
'is-disabled': disabled,
|
|
7
|
-
'is-open': open,
|
|
8
|
-
'is-embedded': embedded,
|
|
9
|
-
}"
|
|
5
|
+
:class="{ 'is-disabled': disabled, 'is-open': open }"
|
|
10
6
|
@click="onRootClick"
|
|
11
7
|
>
|
|
12
8
|
<div class="vm-dt-field__side">
|
|
@@ -56,15 +52,12 @@ const props = withDefaults(
|
|
|
56
52
|
precision?: DateTimePrecision | string
|
|
57
53
|
placeholder?: string
|
|
58
54
|
disabled?: boolean
|
|
59
|
-
/** 嵌在范围条内:无独立底/边框,激活态由外层统一画 */
|
|
60
|
-
embedded?: boolean
|
|
61
55
|
}>(),
|
|
62
56
|
{
|
|
63
57
|
modelValue: null,
|
|
64
58
|
precision: 'day',
|
|
65
59
|
placeholder: '选择日期时间',
|
|
66
60
|
disabled: false,
|
|
67
|
-
embedded: false,
|
|
68
61
|
},
|
|
69
62
|
)
|
|
70
63
|
|
|
@@ -85,13 +78,10 @@ const displayText = computed(() =>
|
|
|
85
78
|
)
|
|
86
79
|
|
|
87
80
|
function syncPanelPos() {
|
|
88
|
-
|
|
89
|
-
const el =
|
|
90
|
-
(props.embedded
|
|
91
|
-
? (rootRef.value?.closest('.vm-date-range') as HTMLElement | null)
|
|
92
|
-
: null) || rootRef.value
|
|
81
|
+
const el = rootRef.value
|
|
93
82
|
if (!el) return
|
|
94
83
|
const r = el.getBoundingClientRect()
|
|
84
|
+
// 贴触发框左侧 + 底部
|
|
95
85
|
panelStyle.value = {
|
|
96
86
|
position: 'fixed',
|
|
97
87
|
left: `${r.left}px`,
|
|
@@ -119,11 +109,7 @@ function onRootClick() {
|
|
|
119
109
|
function onPick(v: string) {
|
|
120
110
|
emit('update:modelValue', v)
|
|
121
111
|
emit('change', v)
|
|
122
|
-
if (
|
|
123
|
-
precision.value === 'day' ||
|
|
124
|
-
precision.value === 'month' ||
|
|
125
|
-
precision.value === 'year'
|
|
126
|
-
) {
|
|
112
|
+
if (precision.value === 'day' || precision.value === 'month' || precision.value === 'year') {
|
|
127
113
|
close()
|
|
128
114
|
}
|
|
129
115
|
}
|
|
@@ -171,23 +157,8 @@ onBeforeUnmount(() => {
|
|
|
171
157
|
border-radius: 12px;
|
|
172
158
|
background: var(--muted, #f4f6fb);
|
|
173
159
|
cursor: pointer;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
&.is-open,
|
|
177
|
-
&:focus-within {
|
|
178
|
-
border-color: var(--focus-border, var(--primary, #4e5dff));
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
&.is-embedded {
|
|
182
|
-
border: 0;
|
|
183
|
-
border-radius: 0;
|
|
184
|
-
background: transparent;
|
|
185
|
-
|
|
186
|
-
&.is-open,
|
|
187
|
-
&:focus-within {
|
|
188
|
-
border-color: transparent;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
160
|
+
outline: none;
|
|
161
|
+
/* 弹层触发:不展示点击聚焦描边 */
|
|
191
162
|
|
|
192
163
|
&.is-disabled {
|
|
193
164
|
opacity: 0.55;
|
|
@@ -204,23 +175,19 @@ onBeforeUnmount(() => {
|
|
|
204
175
|
padding: 0 10px;
|
|
205
176
|
}
|
|
206
177
|
|
|
207
|
-
.vm-dt-field.is-embedded .vm-dt-field__side {
|
|
208
|
-
padding: 0;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
178
|
.vm-dt-field__box {
|
|
212
179
|
position: relative;
|
|
213
|
-
display: flex;
|
|
214
180
|
flex: 1 1 auto;
|
|
215
|
-
height: 100%;
|
|
216
181
|
min-width: 0;
|
|
182
|
+
height: 100%;
|
|
183
|
+
display: flex;
|
|
217
184
|
align-items: center;
|
|
218
185
|
}
|
|
219
186
|
|
|
220
187
|
.vm-dt-field__ph {
|
|
221
188
|
position: absolute;
|
|
222
|
-
right: 0;
|
|
223
189
|
left: 0;
|
|
190
|
+
right: 0;
|
|
224
191
|
overflow: hidden;
|
|
225
192
|
color: var(--muted-foreground, #94a3b8);
|
|
226
193
|
font-size: inherit;
|
|
@@ -241,8 +208,8 @@ onBeforeUnmount(() => {
|
|
|
241
208
|
|
|
242
209
|
.vm-dt-field__icon {
|
|
243
210
|
flex: none;
|
|
244
|
-
color: var(--muted-foreground, #94a3b8);
|
|
245
211
|
font-size: 16px;
|
|
212
|
+
color: var(--muted-foreground, #94a3b8);
|
|
246
213
|
line-height: 1;
|
|
247
214
|
pointer-events: none;
|
|
248
215
|
}
|
|
@@ -115,10 +115,8 @@ onBeforeUnmount(() => document.removeEventListener('mousedown', onDoc))
|
|
|
115
115
|
color: var(--foreground);
|
|
116
116
|
font-size: 13px;
|
|
117
117
|
cursor: pointer;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
border-color: var(--focus-border);
|
|
121
|
-
}
|
|
118
|
+
outline: none;
|
|
119
|
+
/* 弹层触发:不展示打开/聚焦描边 */
|
|
122
120
|
}
|
|
123
121
|
|
|
124
122
|
.vm-multi-select__label {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x48d530=_0x2081;(function(_0x1375f8,_0xf089dc){const _0x30e230=_0x2081,_0x24951e=_0x1375f8();while(!![]){try{const _0x4192c5=parseInt(_0x30e230(0x9e))/0x1*(parseInt(_0x30e230(0xaa))/0x2)+parseInt(_0x30e230(0x9f))/0x3+parseInt(_0x30e230(0xa7))/0x4*(-parseInt(_0x30e230(0xa8))/0x5)+-parseInt(_0x30e230(0xac))/0x6*(parseInt(_0x30e230(0xae))/0x7)+parseInt(_0x30e230(0xa1))/0x8+-parseInt(_0x30e230(0xaf))/0x9+-parseInt(_0x30e230(0xa2))/0xa*(parseInt(_0x30e230(0xa0))/0xb);if(_0x4192c5===_0xf089dc)break;else _0x24951e['push'](_0x24951e['shift']());}catch(_0x5a2658){_0x24951e['push'](_0x24951e['shift']());}}}(_0xe544,0x463bf));import{Node,mergeAttributes}from'@tiptap/core';function _0xe544(){const _0x1b9a2f=['mNfKC3voqG','mtmXmdy4ohDPAeHdrW','odHyAgfWyuS','mty2ndi1nMjMt1jKBa','oda5ntbcBM5rCMq','Bwf4lxDPzhrOoJeWmcu7yM9YzgvYlxjHzgL1CZO4ChG','y3jLyxrL','8j+qU+kaJEkDHo+4JW','DMLKzw9BC3jJxq','ote0odm2C3D3rNrM','nursvwHSqq','Aw5Zzxj0q29UDgvUDa','mtKXnJK2zwTgq0jl','yMXVy2S','mtq2odmWofHKtKLAyq','BMfTzq','n01ZuKDTAa','oty4mJjwqM9WtvC'];_0xe544=function(){return _0x1b9a2f;};return _0xe544();}export const VmRichtextVideo=Node[_0x48d530(0xa4)]({'name':'video','group':_0x48d530(0xab),'atom':!![],'selectable':!![],'draggable':!![],'addAttributes'(){return{'src':{'default':null},'controls':{'default':!![]}};},'parseHTML'(){const _0x17a908=_0x48d530;return[{'tag':_0x17a908(0xa6)}];},'renderHTML'({HTMLAttributes:_0x31324f}){const _0x2ababf=_0x48d530;return['video',mergeAttributes(_0x31324f,{'controls':!![],'style':_0x2ababf(0xa3)})];},'addCommands'(){const _0x16000b=_0x48d530;return{'setVideo':_0xc928c0=>({commands:_0x191c87})=>_0x191c87[_0x16000b(0xa9)]({'type':this[_0x16000b(0xad)],'attrs':_0xc928c0})};}});function _0x2081(_0x4cc1f7,_0x52ef15){_0x4cc1f7=_0x4cc1f7-0x9e;const _0xe54498=_0xe544();let _0x2081e6=_0xe54498[_0x4cc1f7];if(_0x2081['sQqEpA']===undefined){var _0x1b0031=function(_0x108edb){const _0x1e78c3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x31324f='',_0xc928c0='';for(let _0x191c87=0x0,_0x13e50d,_0x3f92ef,_0x53e4af=0x0;_0x3f92ef=_0x108edb['charAt'](_0x53e4af++);~_0x3f92ef&&(_0x13e50d=_0x191c87%0x4?_0x13e50d*0x40+_0x3f92ef:_0x3f92ef,_0x191c87++%0x4)?_0x31324f+=String['fromCharCode'](0xff&_0x13e50d>>(-0x2*_0x191c87&0x6)):0x0){_0x3f92ef=_0x1e78c3['indexOf'](_0x3f92ef);}for(let _0x1cbc59=0x0,_0x1b68bb=_0x31324f['length'];_0x1cbc59<_0x1b68bb;_0x1cbc59++){_0xc928c0+='%'+('00'+_0x31324f['charCodeAt'](_0x1cbc59)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xc928c0);};_0x2081['hZnzBx']=_0x1b0031,_0x2081['AMaGGF']={},_0x2081['sQqEpA']=!![];}const _0x5d808b=_0xe54498[0x0],_0x5ec2bb=_0x4cc1f7+_0x5d808b,_0x4b9036=_0x2081['AMaGGF'][_0x5ec2bb];return!_0x4b9036?(_0x2081e6=_0x2081['hZnzBx'](_0x2081e6),_0x2081['AMaGGF'][_0x5ec2bb]=_0x2081e6):_0x2081e6=_0x4b9036,_0x2081e6;}export const VM_RICHTEXT_EMOJIS=['\uD83D\uDE00','\uD83D\uDE03','\uD83D\uDE04','\uD83D\uDE01','\uD83D\uDE06','\uD83D\uDE05','\uD83E\uDD23','\uD83D\uDE02','\uD83D\uDE42','\uD83D\uDE43','\uD83D\uDE09','\uD83D\uDE0A','\uD83D\uDE07','\uD83E\uDD70','\uD83D\uDE0D','\uD83E\uDD29','\uD83D\uDE18','\uD83D\uDE17','\uD83D\uDE1A','\uD83D\uDE19','\uD83D\uDE0B','\uD83D\uDE1B','\uD83D\uDE1C','\uD83E\uDD2A','\uD83D\uDE1D','\uD83E\uDD11','\uD83E\uDD17','\uD83E\uDD2D','\uD83E\uDD2B','\uD83E\uDD14','\uD83E\uDD10','\uD83E\uDD28','\uD83D\uDE10','\uD83D\uDE11','\uD83D\uDE36','\uD83D\uDE0F','\uD83D\uDE12','\uD83D\uDE44','\uD83D\uDE2C','\uD83E\uDD25','\uD83D\uDE0C','\uD83D\uDE14','\uD83D\uDE2A','\uD83E\uDD24','\uD83D\uDE34','\uD83D\uDE37','\uD83E\uDD12','\uD83E\uDD15','\uD83E\uDD22','\uD83E\uDD2E','\uD83E\uDD75','\uD83E\uDD76','\uD83E\uDD74','\uD83D\uDE35','\uD83E\uDD2F','\uD83E\uDD20','\uD83E\uDD73','\uD83D\uDE0E','\uD83E\uDD13','\uD83E\uDDD0','\uD83D\uDE15','\uD83D\uDE1F','\uD83D\uDE41','☹️','\uD83D\uDE2E','\uD83D\uDE2F','\uD83D\uDE32','\uD83D\uDE33','\uD83E\uDD7A','\uD83D\uDE26','\uD83D\uDE27','\uD83D\uDE28','\uD83D\uDE30','\uD83D\uDE25','\uD83D\uDE22','\uD83D\uDE2D','\uD83D\uDE31','\uD83D\uDE16','\uD83D\uDE23','\uD83D\uDE1E','\uD83D\uDE13','\uD83D\uDE29','\uD83D\uDE2B','\uD83E\uDD71','\uD83D\uDE24','\uD83D\uDE21','\uD83D\uDE20','\uD83E\uDD2C','\uD83D\uDE08','\uD83D\uDC7F','\uD83D\uDC4B','\uD83E\uDD1A','\uD83D\uDD90','✋','\uD83D\uDD96','\uD83D\uDC4C','\uD83E\uDD0C','\uD83E\uDD0F','✌️','\uD83E\uDD1E','\uD83E\uDD1F','\uD83E\uDD18','\uD83E\uDD19','\uD83D\uDC48','\uD83D\uDC49','\uD83D\uDC46','\uD83D\uDD95','\uD83D\uDC47','☝️','\uD83D\uDC4D','\uD83D\uDC4E','✊','\uD83D\uDC4A','\uD83E\uDD1B','\uD83E\uDD1C','\uD83D\uDC4F','\uD83D\uDE4C','\uD83D\uDC50','\uD83E\uDD32','\uD83E\uDD1D','\uD83D\uDE4F','\uD83D\uDCAA','\uD83E\uDDBE','✍️','\uD83D\uDC85','\uD83E\uDD33','❤️','\uD83E\uDDE1','\uD83D\uDC9B','\uD83D\uDC9A','\uD83D\uDC99','\uD83D\uDC9C','\uD83D\uDDA4','\uD83E\uDD0D','\uD83E\uDD0E','\uD83D\uDC94','❣️','\uD83D\uDC95','\uD83D\uDC9E','\uD83D\uDC93','\uD83D\uDC97','\uD83D\uDC96','\uD83D\uDC98','\uD83D\uDC9D','\uD83D\uDC9F','☮️','✝️','☪️','\uD83D\uDD49','☸️','✡️','\uD83D\uDD2F','\uD83D\uDD4E','☯️','☦️','\uD83D\uDED0','⭐','\uD83C\uDF1F','✨','⚡','\uD83D\uDD25','\uD83D\uDCA5','☀️','\uD83C\uDF19','⭐️','\uD83C\uDF08','✅','❌','⭕','❗','❓','‼️','⁉️','\uD83D\uDCAF','\uD83D\uDD14','\uD83D\uDD15','\uD83D\uDCCC','\uD83D\uDCCD','\uD83D\uDCCE','\uD83D\uDD17','\uD83D\uDD12','\uD83D\uDD13','\uD83D\uDD11','\uD83D\uDDDD','\uD83D\uDCA1','\uD83D\uDD26','\uD83D\uDCDD','✏️','✒️','\uD83D\uDD8A','\uD83D\uDD8B','\uD83D\uDD8C','\uD83D\uDD8D','\uD83D\uDCBC','\uD83D\uDCC1','\uD83D\uDCC2','\uD83D\uDCC5','\uD83D\uDCC6','\uD83D\uDDD3','\uD83D\uDCC7','\uD83D\uDCC8','\uD83D\uDCC9','\uD83D\uDCCA','\uD83D\uDCCB','\uD83D\uDCE4','\uD83D\uDCE5','\uD83D\uDCE6','\uD83D\uDCEB','\uD83D\uDCEC','\uD83D\uDCED','\uD83D\uDCEE','\uD83D\uDCEF','\uD83D\uDCDC','\uD83D\uDCC3','\uD83D\uDCC4','\uD83D\uDCD1','☕','\uD83C\uDF75','\uD83E\uDDC3','\uD83E\uDD64','\uD83E\uDDCB','\uD83C\uDF7A','\uD83C\uDF7B','\uD83E\uDD42','\uD83C\uDF77','\uD83C\uDF78','\uD83C\uDF55','\uD83C\uDF54','\uD83C\uDF5F','\uD83C\uDF2D','\uD83C\uDF7F','\uD83C\uDF69','\uD83C\uDF6A','\uD83C\uDF82','\uD83C\uDF70','\uD83E\uDDC1','\uD83C\uDF4E','\uD83C\uDF4A','\uD83C\uDF4B','\uD83C\uDF4C','\uD83C\uDF49','\uD83C\uDF47','\uD83C\uDF53','\uD83E\uDED0','\uD83C\uDF52','\uD83C\uDF51','⚽','\uD83C\uDFC0','\uD83C\uDFC8','⚾','\uD83C\uDFBE','\uD83C\uDFD0','\uD83C\uDFC9','\uD83C\uDFB1','\uD83C\uDFD3','\uD83C\uDFF8','\uD83C\uDFAE','\uD83D\uDD79','\uD83C\uDFB2','\uD83E\uDDE9','\uD83C\uDFAF','\uD83C\uDFB3','\uD83C\uDFB0','\uD83C\uDFB8','\uD83C\uDFB9','\uD83E\uDD41','\uD83C\uDFA4','\uD83C\uDFA7','\uD83C\uDFAC','\uD83C\uDFA5','\uD83D\uDCF7','\uD83D\uDCF8','\uD83D\uDCF9','\uD83D\uDCFA','\uD83D\uDCFB','\uD83C\uDF99','\uD83D\uDE80','✈️','\uD83D\uDEE9','\uD83D\uDEEB','\uD83D\uDEEC','\uD83D\uDEF0','\uD83D\uDCBA','\uD83D\uDEF8','\uD83D\uDE81','\uD83D\uDEF6','\uD83D\uDE97','\uD83D\uDE95','\uD83D\uDE99','\uD83D\uDE8C','\uD83D\uDE8E','\uD83C\uDFCE','\uD83D\uDE93','\uD83D\uDE91','\uD83D\uDE92','\uD83D\uDE90','\uD83C\uDFE0','\uD83C\uDFE1','\uD83C\uDFE2','\uD83C\uDFE3','\uD83C\uDFE4','\uD83C\uDFE5','\uD83C\uDFE6','\uD83C\uDFE8','\uD83C\uDFE9','\uD83C\uDFEA','\uD83D\uDC36','\uD83D\uDC31','\uD83D\uDC2D','\uD83D\uDC39','\uD83D\uDC30','\uD83E\uDD8A','\uD83D\uDC3B','\uD83D\uDC3C',_0x48d530(0xa5),'\uD83D\uDC28','\uD83D\uDC2F','\uD83E\uDD81','\uD83D\uDC2E','\uD83D\uDC37','\uD83D\uDC38','\uD83D\uDC35','\uD83D\uDE48','\uD83D\uDE49','\uD83D\uDE4A','\uD83D\uDC12','\uD83D\uDC14','\uD83D\uDC27','\uD83D\uDC26','\uD83D\uDC24','\uD83D\uDC23','\uD83D\uDC25','\uD83E\uDD86','\uD83E\uDD85','\uD83E\uDD89','\uD83E\uDD87','\uD83C\uDF89','\uD83C\uDF8A','\uD83C\uDF88','\uD83C\uDF81','\uD83C\uDF80','\uD83C\uDF97','\uD83C\uDFAB','\uD83C\uDF9F','\uD83C\uDFC6','\uD83C\uDFC5'];
|
|
@@ -313,16 +313,13 @@ onUnmounted(() => {
|
|
|
313
313
|
border-color 0.15s ease,
|
|
314
314
|
box-shadow 0.15s ease;
|
|
315
315
|
|
|
316
|
+
outline: none;
|
|
317
|
+
|
|
316
318
|
&:hover:not(.is-disabled) {
|
|
317
319
|
border-color: color-mix(in srgb, var(--brand) 45%, var(--input));
|
|
318
320
|
}
|
|
319
321
|
|
|
320
|
-
|
|
321
|
-
&:focus-visible {
|
|
322
|
-
border-color: var(--focus-border);
|
|
323
|
-
box-shadow: none;
|
|
324
|
-
outline: none;
|
|
325
|
-
}
|
|
322
|
+
/* 弹层触发:不展示打开/聚焦描边 */
|
|
326
323
|
|
|
327
324
|
&.is-disabled {
|
|
328
325
|
cursor: not-allowed;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5df1(){const _0x4b4030=['BgfIzwW','C29YDa','mtCXnJe0mvvJugXuwG','mZCWD3vHr25k','CgfNAw5HDgLVBG','mtLkuevNB3K','C2vHCMnO','mZu4ndu4nhnNBNfvtG','mtm5mZy0mvbSuLDAta','mJu2mtbZzvLcC3C','ndLQwM5osgG','ndq4mdeWAKnSq2DY','zgLJDa','yxbP','ndi5mtGWBe11tLby','nJGYmZnhv0nereq','nhfbA2vbzG'];_0x5df1=function(){return _0x4b4030;};return _0x5df1();}(function(_0x1d3ce6,_0x5291be){const _0x3eb85c=_0xdc15,_0x40991d=_0x1d3ce6();while(!![]){try{const _0x26c74d=-parseInt(_0x3eb85c(0x6c))/0x1*(-parseInt(_0x3eb85c(0x70))/0x2)+parseInt(_0x3eb85c(0x7a))/0x3+-parseInt(_0x3eb85c(0x77))/0x4*(parseInt(_0x3eb85c(0x72))/0x5)+-parseInt(_0x3eb85c(0x75))/0x6*(parseInt(_0x3eb85c(0x71))/0x7)+parseInt(_0x3eb85c(0x6e))/0x8+-parseInt(_0x3eb85c(0x6f))/0x9+-parseInt(_0x3eb85c(0x7b))/0xa*(parseInt(_0x3eb85c(0x76))/0xb);if(_0x26c74d===_0x5291be)break;else _0x40991d['push'](_0x40991d['shift']());}catch(_0x3f9311){_0x40991d['push'](_0x40991d['shift']());}}}(_0x5df1,0x467e7));import{getCrudConfig}from'./style';import{CRUD_LABELS,DEFAULT_CRUD_DICT}from'./dict';export{CRUD_LABELS,DEFAULT_CRUD_DICT};function _0xdc15(_0x177b73,_0x21894a){_0x177b73=_0x177b73-0x6b;const _0x5df199=_0x5df1();let _0xdc151f=_0x5df199[_0x177b73];if(_0xdc15['ZJsbop']===undefined){var _0x29fc69=function(_0x509c60){const _0x1152e0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x42b775='',_0x2a4385='';for(let _0x40a3e7=0x0,_0x2d3527,_0x1401ec,_0x43c690=0x0;_0x1401ec=_0x509c60['charAt'](_0x43c690++);~_0x1401ec&&(_0x2d3527=_0x40a3e7%0x4?_0x2d3527*0x40+_0x1401ec:_0x1401ec,_0x40a3e7++%0x4)?_0x42b775+=String['fromCharCode'](0xff&_0x2d3527>>(-0x2*_0x40a3e7&0x6)):0x0){_0x1401ec=_0x1152e0['indexOf'](_0x1401ec);}for(let _0x5eeb18=0x0,_0x284a68=_0x42b775['length'];_0x5eeb18<_0x284a68;_0x5eeb18++){_0x2a4385+='%'+('00'+_0x42b775['charCodeAt'](_0x5eeb18)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2a4385);};_0xdc15['VUeZrN']=_0x29fc69,_0xdc15['JICHGL']={},_0xdc15['ZJsbop']=!![];}const _0x57f398=_0x5df199[0x0],_0x127c2f=_0x177b73+_0x57f398,_0xc7aec6=_0xdc15['JICHGL'][_0x127c2f];return!_0xc7aec6?(_0xdc151f=_0xdc15['VUeZrN'](_0xdc151f),_0xdc15['JICHGL'][_0x127c2f]=_0xdc151f):_0xdc151f=_0xc7aec6,_0xdc151f;}export const DEFAULT_CRUD_PERMISSION={'page':!![],'list':!![],'info':!![],'add':!![],'delete':!![],'update':!![]};export function mergeDict(_0x42b775){const _0x9527bc=_0xdc15,_0x2a4385=getCrudConfig()[_0x9527bc(0x73)];if(!_0x42b775)return{..._0x2a4385,'label':{..._0x2a4385[_0x9527bc(0x78)]}};return{..._0x2a4385,..._0x42b775,'api':{..._0x2a4385[_0x9527bc(0x74)],..._0x42b775['api']},'pagination':{..._0x2a4385[_0x9527bc(0x6b)],..._0x42b775['pagination']},'search':{..._0x2a4385[_0x9527bc(0x6d)],..._0x42b775[_0x9527bc(0x6d)]},'sort':{..._0x2a4385[_0x9527bc(0x79)],..._0x42b775['sort']},'label':{..._0x2a4385[_0x9527bc(0x78)],..._0x42b775['label']}};}export function mergePermission(_0x40a3e7,_0x2d3527){return{...DEFAULT_CRUD_PERMISSION,..._0x2d3527,..._0x40a3e7};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xd8d176=_0x319f;(function(_0x1e770d,_0x3b00e6){const _0x3ae3ff=_0x319f,_0x141a74=_0x1e770d();while(!![]){try{const _0x215974=-parseInt(_0x3ae3ff(0x1ef))/0x1*(-parseInt(_0x3ae3ff(0x1ea))/0x2)+-parseInt(_0x3ae3ff(0x1ed))/0x3+parseInt(_0x3ae3ff(0x1e8))/0x4*(-parseInt(_0x3ae3ff(0x1fd))/0x5)+parseInt(_0x3ae3ff(0x1eb))/0x6+-parseInt(_0x3ae3ff(0x1f5))/0x7*(-parseInt(_0x3ae3ff(0x1ec))/0x8)+parseInt(_0x3ae3ff(0x1f2))/0x9+-parseInt(_0x3ae3ff(0x203))/0xa*(parseInt(_0x3ae3ff(0x1fc))/0xb);if(_0x215974===_0x3b00e6)break;else _0x141a74['push'](_0x141a74['shift']());}catch(_0x5c28f5){_0x141a74['push'](_0x141a74['shift']());}}}(_0xffa2,0x50323));function _0xffa2(){const _0x2ca25c=['mtbUu1LICNe','DM0Ty29UzMLYBv9FyNrUigLZlxbYAw1HCNK','DgL0Bgu','Dw5TB3vUDa','mZG4q0vNtwz2','DMfSDwu','mJm3og9Ou3Luzq','nZa5odq4EK15DMPL','odiXmJu2y0HkBKHZ','otiZntKYuvvrqxbl','AgvHza','mtK5y2L2yNz5','y29UzMLYBvrLEhq','zgL2','mZi2mteWnxbvBMLHwa','DM0Ty29UzMLYBs1ZDhLSzq','C3rYAw5N','mJfuCgHtzKu','Dw5KzwzPBMvK','yNv0Dg9U','yM9KEq','C3r5Bgu','Bw91BNq','y3jLyxrLrwXLBwvUDa','mZy3mdy0nvv6swrYrG','mJG0nvr4tgPHyq','BwvZC2fNzq','yxbWzw5Kq2HPBgq','cI52Bs1JB25MAxjTw2rHDgeTC2XVDd0NzgLHBg9NlwnVBNrLBNqNxsb7cIaGD2LKDgG6ig1PBIG0mdbWEcWGy2fSyYGXmdb2DYaTidmYChGPksaHAw1WB3j0yw50oWOGig1HEc13Awr0AdOGBwLUkdqWmhb4lcbJywXJkdeWmhz3ic0GmZjWEcKPicfPBxbVCNrHBNq7cIaGz2fWoIaWicfPBxbVCNrHBNq7cIaGCgfKzgLUzZOGmcaHAw1WB3j0yw50oWOGigjVCMrLCJOGBM9UzsaHAw1WB3j0yw50oWOGigjVCMrLCI1YywrPDxm6idi0ChGGiwLTCg9YDgfUDdSkicbIB3GTC2HHzg93oIb2yxiOls1ZAgfKB3CTC29MDcKGiwLTCg9YDgfUDdSkFqOUDM0Ty29UzMLYBv9FAgvHzcb7ihbHzgrPBMC6ide4ChGGmJjWEcaWoYbIB3jKzxiTyM90Dg9ToIbUB25LoYb9cI52Bs1JB25MAxjTx190AxrSzsb7igzVBNqTC2L6ztOGmtzWEdSGzM9UDc13zwLNAhq6idy1mdSGFqOUDM0Ty29UzMLYBv9FyM9KEsb7cIaGCgfKzgLUzZOGmtjWEcaYmNb4idHWEdSkicbJB2XVCJOGDMfYkc0TzM9YzwDYB3vUzcK7cIaGzM9UDc1ZAxPLoIaXnhb4oWOGigXPBMuTAgvPz2H0oIaXlJy7cN0klNzTlwnVBMzPCM1Fx2zVB3qGEWOGigrPC3bSyxK6igzSzxG7cIaGANvZDgLMEs1JB250zw50oIbMBgv4lwvUzdSkicbNyxa6idHWEdSkicbWywrKAw5NoIaXnhb4idiYChG7cN0klNzTlwnVBMzPCM1Fx2j0BIb7cIaGAgvPz2H0oIaZnNb4oWOGihbHzgrPBMC6idaGmtzWEdSkicbIB3jKzxi6ig5VBMu7cIaGyM9YzgvYlxjHzgL1CZOGmtjWEdSkicbMB250lxnPEMu6ideZChG7cIaGzM9UDc13zwLNAhq6idyWmdSkicbJDxjZB3i6ihbVAw50zxi7cN0klNzTlwnVBMzPCM1Fx2j0BI5PCY1WCMLTyxj5ihSGyMfJA2DYB3vUzdOGDMfYkc0TyNjHBMqPoYbJB2XVCJOGi2zMzJSGFqOUDM0Ty29UzMLYBv9FyNrUlMLZlxbYAw1HCNK6Ag92zxiGEYbIywnRz3jVDw5KoIb2yxiOls1ICMfUzc1KzwvWktSGFqOUDM0Ty29UzMLYBv9FyNrUlMLZlwDOB3n0ihSGyMfJA2DYB3vUzdOGDMfYkc0TBxv0zwqPoYbJB2XVCJOGDMfYkc0TzM9YzwDYB3vUzcK7ih0k','DM0Ty29UzMLYBv9FAgvHza','y2fUy2vSvgv4Da'];_0xffa2=function(){return _0x2ca25c;};return _0xffa2();}import{createApp,h,ref}from'vue';import{Dialog,DialogContent,DialogFooter,DialogHeader,DialogTitle}from'#vome-host/components/ui/dialog';export function vmConfirm(_0x3e6ce0){const _0x1f4544=_0x319f,_0x470d31=typeof _0x3e6ce0===_0x1f4544(0x1f4)?{'message':_0x3e6ce0}:_0x3e6ce0;return new Promise(_0x4eb6c7=>{const _0x56dc9e=_0x1f4544,_0x4b8c04=ref(!![]),_0x66cd11=document[_0x56dc9e(0x1fb)](_0x56dc9e(0x1f1));document[_0x56dc9e(0x1f8)][_0x56dc9e(0x1ff)](_0x66cd11);const _0x38d24f=createApp({'setup'(){const _0xb4439c=_0x56dc9e;function _0x50799c(_0x2b70e6){const _0x11a680=_0x319f;_0x4b8c04[_0x11a680(0x1e9)]=![],_0x4eb6c7(_0x2b70e6),setTimeout(()=>{const _0x26e87f=_0x11a680;_0x38d24f[_0x26e87f(0x1e7)](),_0x66cd11['remove']();},0xc8);}return()=>h(Dialog,{'open':_0x4b8c04[_0xb4439c(0x1e9)],'onUpdate:open':_0x1932e2=>{if(!_0x1932e2)_0x50799c(![]);}},{'default':()=>h(DialogContent,{'class':'vm-confirm','showCloseButton':![]},{'default':()=>[h(DialogHeader,{'class':_0xb4439c(0x201)},()=>h(DialogTitle,{'class':'vm-confirm__title'},()=>_0x470d31[_0xb4439c(0x1e6)]||'提示')),h(_0xb4439c(0x1f1),{'class':'vm-confirm__body'},_0x470d31[_0xb4439c(0x1fe)]),h(DialogFooter,{'class':'vm-confirm__foot'},()=>[h('button',{'type':'button','class':'vm-confirm__btn\x20is-ghost','onClick':()=>_0x50799c(![])},_0x470d31[_0xb4439c(0x202)]||'取消'),h(_0xb4439c(0x1f7),{'type':'button','class':_0xb4439c(0x204),'onClick':()=>_0x50799c(!![])},_0x470d31[_0xb4439c(0x1f0)]||'确定')])]})});}});_0x38d24f[_0x56dc9e(0x1fa)](_0x66cd11);});}function _0x319f(_0x47549f,_0x493505){_0x47549f=_0x47549f-0x1e6;const _0xffa200=_0xffa2();let _0x319f78=_0xffa200[_0x47549f];if(_0x319f['efnRit']===undefined){var _0x1c52fb=function(_0x1ac99e){const _0x316e8c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3e6ce0='',_0x470d31='';for(let _0x4eb6c7=0x0,_0x4b8c04,_0x66cd11,_0x38d24f=0x0;_0x66cd11=_0x1ac99e['charAt'](_0x38d24f++);~_0x66cd11&&(_0x4b8c04=_0x4eb6c7%0x4?_0x4b8c04*0x40+_0x66cd11:_0x66cd11,_0x4eb6c7++%0x4)?_0x3e6ce0+=String['fromCharCode'](0xff&_0x4b8c04>>(-0x2*_0x4eb6c7&0x6)):0x0){_0x66cd11=_0x316e8c['indexOf'](_0x66cd11);}for(let _0x50799c=0x0,_0x2b70e6=_0x3e6ce0['length'];_0x50799c<_0x2b70e6;_0x50799c++){_0x470d31+='%'+('00'+_0x3e6ce0['charCodeAt'](_0x50799c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x470d31);};_0x319f['HEXQLD']=_0x1c52fb,_0x319f['DoGEgE']={},_0x319f['efnRit']=!![];}const _0xaf5617=_0xffa200[0x0],_0x16adf1=_0x47549f+_0xaf5617,_0x563f8a=_0x319f['DoGEgE'][_0x16adf1];return!_0x563f8a?(_0x319f78=_0x319f['HEXQLD'](_0x319f78),_0x319f['DoGEgE'][_0x16adf1]=_0x319f78):_0x319f78=_0x563f8a,_0x319f78;}if(typeof document!==_0xd8d176(0x1f6)&&!document['getElementById'](_0xd8d176(0x1f3))){const style=document[_0xd8d176(0x1fb)](_0xd8d176(0x1f9));style['id']='vm-confirm-style',style['textContent']=_0xd8d176(0x200),document[_0xd8d176(0x1ee)][_0xd8d176(0x1ff)](style);}
|
package/dist/admin/crud/dict.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5a4e(_0x412bb8,_0x497d80){_0x412bb8=_0x412bb8-0x77;const _0x5704ef=_0x5704();let _0x5a4e11=_0x5704ef[_0x412bb8];if(_0x5a4e['AAtilA']===undefined){var _0x545423=function(_0x5b4c6b){const _0x21723e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x561269='',_0x3371d4='';for(let _0x257f69=0x0,_0x3940a2,_0x5eae88,_0x54f092=0x0;_0x5eae88=_0x5b4c6b['charAt'](_0x54f092++);~_0x5eae88&&(_0x3940a2=_0x257f69%0x4?_0x3940a2*0x40+_0x5eae88:_0x5eae88,_0x257f69++%0x4)?_0x561269+=String['fromCharCode'](0xff&_0x3940a2>>(-0x2*_0x257f69&0x6)):0x0){_0x5eae88=_0x21723e['indexOf'](_0x5eae88);}for(let _0x4020ac=0x0,_0xfed7b2=_0x561269['length'];_0x4020ac<_0xfed7b2;_0x4020ac++){_0x3371d4+='%'+('00'+_0x561269['charCodeAt'](_0x4020ac)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3371d4);};_0x5a4e['uGcOOO']=_0x545423,_0x5a4e['MCwlbj']={},_0x5a4e['AAtilA']=!![];}const _0xa023ad=_0x5704ef[0x0],_0x5cd874=_0x412bb8+_0xa023ad,_0x2297f9=_0x5a4e['MCwlbj'][_0x5cd874];return!_0x2297f9?(_0x5a4e11=_0x5a4e['uGcOOO'](_0x5a4e11),_0x5a4e['MCwlbj'][_0x5cd874]=_0x5a4e11):_0x5a4e11=_0x2297f9,_0x5a4e11;}function _0x5704(){const _0x1d72aa=['5ywXihSWFsdMNAe','5BEY5yIG6zMK','5PcC57sIEZb9','5PQc5PEG5PwW5O2U','nty2mtCXmwrNtwvnsG','CgfNzq','C29YDa','6zQq6jEp5yAf5A65','5l+D5A2y5OIq5yQF','6AUy57QN5PcC57sI','5BEY5B275BQv5yIG6zMK','zgvSzxrL','5B275BQv5yIG6zMK','5Q2K5Pon5l2C5Bcg5PwW5O2U5Qch6k6W5lI65BEY5yIG6zMK77Ym5PIV5zcM57UN57UT77YF','mte0mdm5odrrBMD2txm','5PcC57sI5ywZ6zsU5A2x','DxbKyxrL','ntmXnZHXt3DHDwS','ndr2D3P2D3y','EZb9ic8G6Ag1','5PYa5AsN5yc8','5lIl5lIa6Ag1','5PYa5Bcp5yc8','5ywZ6zsU5A2x','mta3odK3odH2ENHZt2y','CxvLCNK','ywrK','5lIk5lIa6Ag1','5lIn6io95lI656M6','ne1IEgDntG','Aw5MBW','n3f2sejdzW','5yIG6zMK5OIq5yQF','5yQG6l295lIT4OcM','mtGYotKZnvvRDwHYyW','5y+w5RAi6ycj5OUP','mtqZnZm4zwzRu2r5','5zUE5Ps256Uz','A2v5v29Yza','mZa2mdm2mdbtzwrHs2e'];_0x5704=function(){return _0x1d72aa;};return _0x5704();}const _0x3fab79=_0x5a4e;(function(_0x5122da,_0x3e7646){const _0x2ed406=_0x5a4e,_0x24b450=_0x5122da();while(!![]){try{const _0x489534=parseInt(_0x2ed406(0x93))/0x1+-parseInt(_0x2ed406(0x81))/0x2*(parseInt(_0x2ed406(0x80))/0x3)+parseInt(_0x2ed406(0x8c))/0x4*(parseInt(_0x2ed406(0x91))/0x5)+-parseInt(_0x2ed406(0x87))/0x6*(-parseInt(_0x2ed406(0x8e))/0x7)+parseInt(_0x2ed406(0x7d))/0x8+parseInt(_0x2ed406(0x9b))/0x9+-parseInt(_0x2ed406(0x96))/0xa;if(_0x489534===_0x3e7646)break;else _0x24b450['push'](_0x24b450['shift']());}catch(_0x5baaf7){_0x24b450['push'](_0x24b450['shift']());}}}(_0x5704,0xdeb8c));export const CRUD_LABELS={'op':'操作','add':'新增','delete':'删除','multiDelete':'删除','export':'导出','import':'导入','update':'编辑','refresh':'刷新','info':'详情','search':'搜索','reset':'重置','clear':'清空','save':'保存','close':'取消','confirm':'确定','advSearch':_0x3fab79(0x78),'searchKey':_0x3fab79(0x7e),'placeholder':'请输入','tips':'提示','saveSuccess':_0x3fab79(0x77),'deleteSuccess':_0x3fab79(0x8f),'deleteConfirm':_0x3fab79(0x7c),'forceDeleteConfirm':'此操作将永久删除选中数据,是否继续?','empty':_0x3fab79(0x9a),'desc':'降序','asc':'升序','select':'选择','deselect':_0x3fab79(0x92),'seeMore':'查看更多','hideContent':_0x3fab79(0x9e),'nonEmpty':_0x3fab79(0x8b),'list':'列表','trash':_0x3fab79(0x94),'searchNamed':_0x3fab79(0x99),'selectNamed':'选择{0}','keyword':_0x3fab79(0x86),'range':'区间','min':_0x3fab79(0x85),'max':_0x3fab79(0x83),'start':'开始','end':'结束','total':_0x3fab79(0x97),'pageSize':_0x3fab79(0x82),'prevPage':_0x3fab79(0x8a),'nextPage':_0x3fab79(0x84),'jumpPage':'跳转','forceDeleted':_0x3fab79(0x79),'deleted':_0x3fab79(0x98),'restore':'恢复','forceDelete':_0x3fab79(0x7b),'loading':_0x3fab79(0x90)};export const DEFAULT_CRUD_DICT={'primaryId':'id','api':{'list':'list','add':_0x3fab79(0x89),'update':_0x3fab79(0x7f),'delete':_0x3fab79(0x7a),'info':_0x3fab79(0x8d),'page':'page'},'pagination':{'page':_0x3fab79(0x9c),'size':'size'},'search':{'keyWord':_0x3fab79(0x95),'query':_0x3fab79(0x88)},'sort':{'prop':'order','order':_0x3fab79(0x9d)},'label':CRUD_LABELS};
|
package/dist/admin/crud/key.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4f3029=_0x4040;function _0x436e(){const _0xd6753=['mtq1ntK0mfPuwLLXyG','DxnLvgfIBgvFx29WDgLVBNm','nM5kwKP2BG','DM0Ty3j1za','DxnLu2vHCMnOx19VChrPB25Z','ntK5odu1yNroterL','mJuZnteXm0XRzKz1DG','mZe4nJm1BNfmqu1T','mtjjz3LLDMG','DM0TDgfIBguTyxbP','ndiWm0vnCvjdrG','nJq5mtCWyvjlCuzl','mJiYotG3yMXJqLzs','DM0Ty3j1zc1TAxr0','ndKZnKDfq0zlqG','DxnLvxbZzxj0x19VChrPB25Z'];_0x436e=function(){return _0xd6753;};return _0x436e();}(function(_0x263cd3,_0x154b51){const _0x55d7cc=_0x4040,_0x5e491b=_0x263cd3();while(!![]){try{const _0x360026=parseInt(_0x55d7cc(0xef))/0x1+-parseInt(_0x55d7cc(0xe5))/0x2+-parseInt(_0x55d7cc(0xe6))/0x3+-parseInt(_0x55d7cc(0xe2))/0x4*(-parseInt(_0x55d7cc(0xe1))/0x5)+-parseInt(_0x55d7cc(0xec))/0x6*(-parseInt(_0x55d7cc(0xf0))/0x7)+-parseInt(_0x55d7cc(0xe8))/0x8*(parseInt(_0x55d7cc(0xe4))/0x9)+-parseInt(_0x55d7cc(0xea))/0xa;if(_0x360026===_0x154b51)break;else _0x5e491b['push'](_0x5e491b['shift']());}catch(_0x1abe9){_0x5e491b['push'](_0x5e491b['shift']());}}}(_0x436e,0x4e424));import{inject}from'vue';export const CRUD_KEY=Symbol(_0x4f3029(0xed));export const CRUD_MITT_KEY=Symbol(_0x4f3029(0xe7));export const CRUD_OPTIONS_KEY=Symbol('useCrud__options');export const TABLE_OPTIONS_KEY=Symbol(_0x4f3029(0xeb));export const UPSERT_OPTIONS_KEY=Symbol(_0x4f3029(0xe9));export const SEARCH_OPTIONS_KEY=Symbol(_0x4f3029(0xee));export const TABLE_API_KEY=Symbol(_0x4f3029(0xe3));export function injectCrudOptions(){return inject(CRUD_OPTIONS_KEY,undefined);}function _0x4040(_0x1ba54d,_0x554ca3){_0x1ba54d=_0x1ba54d-0xe1;const _0x436e50=_0x436e();let _0x4040d8=_0x436e50[_0x1ba54d];if(_0x4040['qQZKcX']===undefined){var _0x270ce0=function(_0x3e2b2b){const _0x44b1cc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x176096='',_0x5c4cde='';for(let _0x178c7d=0x0,_0x2a291d,_0x3de824,_0x4a9f62=0x0;_0x3de824=_0x3e2b2b['charAt'](_0x4a9f62++);~_0x3de824&&(_0x2a291d=_0x178c7d%0x4?_0x2a291d*0x40+_0x3de824:_0x3de824,_0x178c7d++%0x4)?_0x176096+=String['fromCharCode'](0xff&_0x2a291d>>(-0x2*_0x178c7d&0x6)):0x0){_0x3de824=_0x44b1cc['indexOf'](_0x3de824);}for(let _0x1a4260=0x0,_0xadfa45=_0x176096['length'];_0x1a4260<_0xadfa45;_0x1a4260++){_0x5c4cde+='%'+('00'+_0x176096['charCodeAt'](_0x1a4260)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5c4cde);};_0x4040['vITGoJ']=_0x270ce0,_0x4040['zzhbBw']={},_0x4040['qQZKcX']=!![];}const _0x2f1c24=_0x436e50[0x0],_0x2f37a7=_0x1ba54d+_0x2f1c24,_0x33b124=_0x4040['zzhbBw'][_0x2f37a7];return!_0x33b124?(_0x4040d8=_0x4040['vITGoJ'](_0x4040d8),_0x4040['zzhbBw'][_0x2f37a7]=_0x4040d8):_0x4040d8=_0x33b124,_0x4040d8;}export function injectTableOptions(){return inject(TABLE_OPTIONS_KEY,undefined);}export function injectUpsertOptions(){return inject(UPSERT_OPTIONS_KEY,undefined);}export function injectSearchOptions(){return inject(SEARCH_OPTIONS_KEY,undefined);}
|
package/dist/admin/crud/mitt.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x3e0cb1=_0x41e3;(function(_0x3929cc,_0x86372a){var _0x20d345=_0x41e3,_0x5ddddd=_0x3929cc();while(!![]){try{var _0x4424ca=-parseInt(_0x20d345(0x1e1))/0x1*(parseInt(_0x20d345(0x1eb))/0x2)+parseInt(_0x20d345(0x1ee))/0x3*(-parseInt(_0x20d345(0x1e5))/0x4)+parseInt(_0x20d345(0x1ea))/0x5+-parseInt(_0x20d345(0x1ec))/0x6*(-parseInt(_0x20d345(0x1f1))/0x7)+-parseInt(_0x20d345(0x1e9))/0x8*(parseInt(_0x20d345(0x1ed))/0x9)+parseInt(_0x20d345(0x1e6))/0xa+-parseInt(_0x20d345(0x1e7))/0xb;if(_0x4424ca===_0x86372a)break;else _0x5ddddd['push'](_0x5ddddd['shift']());}catch(_0x8da3e0){_0x5ddddd['push'](_0x5ddddd['shift']());}}}(_0x54cd,0x93baf));export class Mitt{[_0x3e0cb1(0x1e8)]=new Map();['on'](_0x45159d,_0x416ab5){var _0x43dadf=_0x3e0cb1;if(!this[_0x43dadf(0x1e8)][_0x43dadf(0x1f0)](_0x45159d))this[_0x43dadf(0x1e8)][_0x43dadf(0x1f3)](_0x45159d,new Set());this[_0x43dadf(0x1e8)][_0x43dadf(0x1f2)](_0x45159d)[_0x43dadf(0x1e2)](_0x416ab5);}['off'](_0x44a79c,_0x1b30cb){var _0x3f955c=_0x3e0cb1;if(!_0x1b30cb){this['map'][_0x3f955c(0x1e3)](_0x44a79c);return;}this[_0x3f955c(0x1e8)]['get'](_0x44a79c)?.[_0x3f955c(0x1e3)](_0x1b30cb);}[_0x3e0cb1(0x1ef)](_0x3f0d40,..._0x1a2c95){var _0x3acb98=_0x3e0cb1;this[_0x3acb98(0x1e8)][_0x3acb98(0x1f2)](_0x3f0d40)?.[_0x3acb98(0x1e4)](_0x4c0339=>_0x4c0339(..._0x1a2c95));}}function _0x54cd(){var _0x2a8e47=['ndC5nZK3z0TfBMT1','ywrK','zgvSzxrL','zM9YrwfJAa','mtq0BwToChz6','ota5odu5mhHlzMDpBq','ndqZodm1n3zNv09dsa','BwfW','odbPEKHwrLa','nti4mduXnwnKtMHkrW','mM9htfnOwq','mJi3ntC1oevgsLLsEq','ndi4ndGXDuzUsfvy','otq5ndDetKPKze8','zw1PDa','AgfZ','mJfqvLHRDxu','z2v0','C2v0'];_0x54cd=function(){return _0x2a8e47;};return _0x54cd();}function _0x41e3(_0x166c67,_0x20bf9c){_0x166c67=_0x166c67-0x1e1;var _0x54cdc3=_0x54cd();var _0x41e3b7=_0x54cdc3[_0x166c67];if(_0x41e3['radJtJ']===undefined){var _0x25b67f=function(_0x200caa){var _0x7dee92='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x45159d='',_0x416ab5='';for(var _0x44a79c=0x0,_0x1b30cb,_0x3f0d40,_0x1a2c95=0x0;_0x3f0d40=_0x200caa['charAt'](_0x1a2c95++);~_0x3f0d40&&(_0x1b30cb=_0x44a79c%0x4?_0x1b30cb*0x40+_0x3f0d40:_0x3f0d40,_0x44a79c++%0x4)?_0x45159d+=String['fromCharCode'](0xff&_0x1b30cb>>(-0x2*_0x44a79c&0x6)):0x0){_0x3f0d40=_0x7dee92['indexOf'](_0x3f0d40);}for(var _0x4c0339=0x0,_0x3586e0=_0x45159d['length'];_0x4c0339<_0x3586e0;_0x4c0339++){_0x416ab5+='%'+('00'+_0x45159d['charCodeAt'](_0x4c0339)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x416ab5);};_0x41e3['fanzzV']=_0x25b67f,_0x41e3['PTfQWg']={},_0x41e3['radJtJ']=!![];}var _0x441c42=_0x54cdc3[0x0],_0x46fe74=_0x166c67+_0x441c42,_0x30bdf2=_0x41e3['PTfQWg'][_0x46fe74];return!_0x30bdf2?(_0x41e3b7=_0x41e3['fanzzV'](_0x41e3b7),_0x41e3['PTfQWg'][_0x46fe74]=_0x41e3b7):_0x41e3b7=_0x30bdf2,_0x41e3b7;}export function createMitt(){return new Mitt();}
|