free-fe-core-modules 0.0.1
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/README.md +7 -0
- package/components/.gitkeep +0 -0
- package/components/Basic/BreadCrumbs.vue +87 -0
- package/components/Basic/EIcon.vue +84 -0
- package/components/Basic/LeveledMenus.vue +92 -0
- package/components/Basic/SummaryHead.vue +312 -0
- package/components/Dialog/BasicDialog.vue +442 -0
- package/components/Dialog/index.js +38 -0
- package/components/Dialog/index1.js +49 -0
- package/components/FloatingWindow/index.vue +140 -0
- package/components/SelectLocales/index.vue +47 -0
- package/components/SlidingCarousel/index.vue +86 -0
- package/components/SlidingNews/index.vue +138 -0
- package/components/StickyButtons/index.vue +98 -0
- package/components/ThemeSwitch/index.vue +77 -0
- package/field-components/Display/index.js +3 -0
- package/field-components/Fields/AgreementCheck.vue +161 -0
- package/field-components/Fields/ApiCall.vue +139 -0
- package/field-components/Fields/Boolean.vue +112 -0
- package/field-components/Fields/Category.vue +33 -0
- package/field-components/Fields/Check.vue +131 -0
- package/field-components/Fields/Customize.vue +103 -0
- package/field-components/Fields/Date.vue +142 -0
- package/field-components/Fields/DateRange.vue +199 -0
- package/field-components/Fields/DynamicList.vue +575 -0
- package/field-components/Fields/FieldEditor.vue +379 -0
- package/field-components/Fields/File.vue +382 -0
- package/field-components/Fields/FileList.vue +405 -0
- package/field-components/Fields/FileListCombined.vue +142 -0
- package/field-components/Fields/FixedList.vue +372 -0
- package/field-components/Fields/Image.vue +328 -0
- package/field-components/Fields/ImageList.vue +285 -0
- package/field-components/Fields/ImageListCombined.vue +76 -0
- package/field-components/Fields/InputFieldList.vue +299 -0
- package/field-components/Fields/Labels.vue +182 -0
- package/field-components/Fields/MixedTable.vue +367 -0
- package/field-components/Fields/Number.vue +247 -0
- package/field-components/Fields/Password.vue +79 -0
- package/field-components/Fields/Permission.vue +83 -0
- package/field-components/Fields/PermissionEditor.vue +205 -0
- package/field-components/Fields/QueryFilters.vue +162 -0
- package/field-components/Fields/RadioList.vue +81 -0
- package/field-components/Fields/Rich.vue +369 -0
- package/field-components/Fields/Search.vue +499 -0
- package/field-components/Fields/Select.vue +376 -0
- package/field-components/Fields/SelectionChain.vue +198 -0
- package/field-components/Fields/Separator.vue +26 -0
- package/field-components/Fields/SingleList.vue +125 -0
- package/field-components/Fields/Static.vue +22 -0
- package/field-components/Fields/String.vue +185 -0
- package/field-components/Fields/Text.vue +89 -0
- package/field-components/Fields/Time.vue +160 -0
- package/field-components/Fields/TimeRange.vue +348 -0
- package/field-components/Fields/UltimateFile.vue +100 -0
- package/field-components/Fields/Year.vue +124 -0
- package/field-components/Fields/YearRange.vue +188 -0
- package/field-components/Fields/components/FieldTypeOptions.vue +248 -0
- package/field-components/Fields/index.js +117 -0
- package/field-components/components/FieldComponents.vue +246 -0
- package/field-components/index.js +13 -0
- package/field-components/style.sass +11 -0
- package/free-fields/AutoHide.js +66 -0
- package/free-fields/CenterContent.js +15 -0
- package/free-fields/Draggable.js +30 -0
- package/free-fields/Droppable.js +114 -0
- package/free-fields/EditableString.js +63 -0
- package/free-fields/FieldCategory.js +83 -0
- package/free-fields/FieldTypeSelect.js +94 -0
- package/free-fields/fieldEditors/arrayEditor.js +3 -0
- package/free-fields/fieldEditors/boolEditor.js +22 -0
- package/free-fields/fieldEditors/dateEditor.js +23 -0
- package/free-fields/fieldEditors/datetimeEditor.js +23 -0
- package/free-fields/fieldEditors/index.js +21 -0
- package/free-fields/fieldEditors/jsonEditor.js +371 -0
- package/free-fields/fieldEditors/labeledField.js +74 -0
- package/free-fields/fieldEditors/numberEditor.js +51 -0
- package/free-fields/fieldEditors/objectEditor.js +3 -0
- package/free-fields/fieldEditors/selectEditor.js +0 -0
- package/free-fields/fieldEditors/stringEditor.js +49 -0
- package/free-fields/fieldEditors/textEditor.js +50 -0
- package/free-fields/fieldEditors/timeEditor.js +23 -0
- package/free-fields/index.js +402 -0
- package/i18n/en-us/index.js +73 -0
- package/i18n/fields/en-us/index.js +9 -0
- package/i18n/fields/zh-cn/index.js +9 -0
- package/i18n/zh-cn/index.js +73 -0
- package/index.js +367 -0
- package/package.json +11 -0
- package/router/dict/api.js +18 -0
- package/router/dict/data.js +48 -0
- package/router/dict/index.js +7 -0
- package/router/error/api.js +14 -0
- package/router/error/data.js +33 -0
- package/router/error/index.js +9 -0
- package/router/index.js +13 -0
- package/router/menu/api.js +24 -0
- package/router/menu/data.js +85 -0
- package/router/menu/index.js +7 -0
- package/router/system/api.js +10 -0
- package/router/system/data.js +46 -0
- package/router/system/index.js +7 -0
- package/stores/index.js +17 -0
- package/stores/module-mourning/actions.js +3 -0
- package/stores/module-mourning/getters.js +1 -0
- package/stores/module-mourning/index.js +11 -0
- package/stores/module-mourning/state.js +3 -0
- package/stores/mourning.js +3 -0
- package/view/dict/index.vue +284 -0
- package/view/error/list.vue +197 -0
- package/view/menu/index.vue +332 -0
- package/view/mourning/mourning.vue +45 -0
- package/view/system/index.vue +149 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defineComponent,
|
|
3
|
+
h,
|
|
4
|
+
watchEffect,
|
|
5
|
+
} from "vue";
|
|
6
|
+
import { QInput } from 'quasar';
|
|
7
|
+
|
|
8
|
+
export default defineComponent({
|
|
9
|
+
name: "FreeFieldStringEditor",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: String,
|
|
12
|
+
submitOnClose: Boolean,
|
|
13
|
+
},
|
|
14
|
+
emits: ['update:modelValue'],
|
|
15
|
+
setup(props, { emit, attrs }) {
|
|
16
|
+
let localValue;
|
|
17
|
+
|
|
18
|
+
watchEffect(() => {
|
|
19
|
+
localValue = props.modelValue;
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
return () => h(QInput,{
|
|
23
|
+
...attrs,
|
|
24
|
+
modelValue: props.modelValue,
|
|
25
|
+
'onUpdate:modelValue': (e) => {
|
|
26
|
+
localValue = e || "";
|
|
27
|
+
if(!props.submitOnClose) {
|
|
28
|
+
emit('update:modelValue', localValue);
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
onKeydown: (e) => {
|
|
32
|
+
if(!props.submitOnClose) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if(e.keyCode === 13) {
|
|
37
|
+
emit('update:modelValue', localValue);
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
onBlur: (e) => {
|
|
41
|
+
if(!props.submitOnClose) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
emit('update:modelValue', localValue);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
},
|
|
49
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defineComponent,
|
|
3
|
+
h,
|
|
4
|
+
watchEffect
|
|
5
|
+
} from "vue";
|
|
6
|
+
import { QInput } from 'quasar';
|
|
7
|
+
|
|
8
|
+
export default defineComponent({
|
|
9
|
+
name: "FreeFieldTextEditor",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: String,
|
|
12
|
+
submitOnClose: Boolean,
|
|
13
|
+
},
|
|
14
|
+
emits: ['update:modelValue'],
|
|
15
|
+
setup(props, { emit, attrs }) {
|
|
16
|
+
let localValue;
|
|
17
|
+
|
|
18
|
+
watchEffect(() => {
|
|
19
|
+
localValue = props.modelValue;
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
return () => h(QInput,{
|
|
23
|
+
...attrs,
|
|
24
|
+
type: 'textarea',
|
|
25
|
+
modelValue: props.modelValue,
|
|
26
|
+
'onUpdate:modelValue': (e) => {
|
|
27
|
+
localValue = e || "";
|
|
28
|
+
if(!props.submitOnClose) {
|
|
29
|
+
emit('update:modelValue', localValue);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
onKeydown: (e) => {
|
|
33
|
+
if(!props.submitOnClose) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
if(e.keyCode === 13) {
|
|
38
|
+
emit('update:modelValue', localValue);
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
onBlur: (e) => {
|
|
42
|
+
if(!props.submitOnClose) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
emit('update:modelValue', localValue);
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
},
|
|
50
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
import {
|
|
3
|
+
defineComponent,
|
|
4
|
+
h,
|
|
5
|
+
} from "vue";
|
|
6
|
+
import { QInput } from 'quasar';
|
|
7
|
+
|
|
8
|
+
export default defineComponent({
|
|
9
|
+
name: "FreeFieldTimeEditor",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: String
|
|
12
|
+
},
|
|
13
|
+
emits: ['update:modelValue'],
|
|
14
|
+
setup(props, { emit }) {
|
|
15
|
+
return () => h(QInput,{
|
|
16
|
+
type: 'time',
|
|
17
|
+
modelValue: props.modelValue,
|
|
18
|
+
'onUpdate:modelValue': (e) => {
|
|
19
|
+
emit('update:modelValue', e);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
},
|
|
23
|
+
});
|
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
import EditableString from "./EditableString";
|
|
2
|
+
import AutoHide from "./AutoHide";
|
|
3
|
+
import FieldCategory from "./FieldCategory";
|
|
4
|
+
import FieldTypeSelect from "./FieldTypeSelect";
|
|
5
|
+
import CenterContent from "./CenterContent";
|
|
6
|
+
|
|
7
|
+
import Draggable from "./Draggable";
|
|
8
|
+
import Droppable from "./Droppable";
|
|
9
|
+
|
|
10
|
+
import FieldEditors from "./fieldEditors";
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
EditableString,
|
|
14
|
+
AutoHide,
|
|
15
|
+
FieldCategory,
|
|
16
|
+
FieldTypeSelect,
|
|
17
|
+
CenterContent,
|
|
18
|
+
Draggable,
|
|
19
|
+
Droppable,
|
|
20
|
+
|
|
21
|
+
...FieldEditors,
|
|
22
|
+
freeDialog: {
|
|
23
|
+
slots: ["default"],
|
|
24
|
+
params: {
|
|
25
|
+
visible: false,
|
|
26
|
+
wrapperStyle: "",
|
|
27
|
+
shadow: "2",
|
|
28
|
+
background: "white",
|
|
29
|
+
close: true,
|
|
30
|
+
},
|
|
31
|
+
elements: [
|
|
32
|
+
{
|
|
33
|
+
tag: "div",
|
|
34
|
+
props: {
|
|
35
|
+
class: "free-dialog-mask absolute-full",
|
|
36
|
+
style: "position: fixed; z-index: 20;background:transparent;",
|
|
37
|
+
},
|
|
38
|
+
if: [
|
|
39
|
+
{
|
|
40
|
+
s1: "{{visible}}",
|
|
41
|
+
o1: "=",
|
|
42
|
+
s2: true,
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
slots: {
|
|
46
|
+
default: [
|
|
47
|
+
{
|
|
48
|
+
tag: "div",
|
|
49
|
+
props: {
|
|
50
|
+
class:
|
|
51
|
+
"free-dialog-wrapper absolute-center column bg-{{background}} shadow-{{shadow}}",
|
|
52
|
+
style: "{{wrapperStyle}}",
|
|
53
|
+
},
|
|
54
|
+
slots: {
|
|
55
|
+
default: [
|
|
56
|
+
{
|
|
57
|
+
tag: "div",
|
|
58
|
+
if: [
|
|
59
|
+
{
|
|
60
|
+
s1: "{{close}}",
|
|
61
|
+
o1: "=",
|
|
62
|
+
s2: true,
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
props: {
|
|
66
|
+
style:
|
|
67
|
+
"position: absolute; right: -8px; top: -8px;z-index: 21;",
|
|
68
|
+
},
|
|
69
|
+
slots: {
|
|
70
|
+
default: [
|
|
71
|
+
{
|
|
72
|
+
name: "QIcon",
|
|
73
|
+
props: {
|
|
74
|
+
name: "cancel",
|
|
75
|
+
size: "sm",
|
|
76
|
+
class: "cursor-pointer",
|
|
77
|
+
onClick: [
|
|
78
|
+
{
|
|
79
|
+
type: "action",
|
|
80
|
+
name: "emit",
|
|
81
|
+
props: {
|
|
82
|
+
trigger: "closeDialog",
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
tag: "div",
|
|
93
|
+
props: {
|
|
94
|
+
class: "free-dialog-content col",
|
|
95
|
+
},
|
|
96
|
+
slots: {
|
|
97
|
+
default: [
|
|
98
|
+
{
|
|
99
|
+
tag: "slot",
|
|
100
|
+
name: "default",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
tag: "div",
|
|
107
|
+
props: {
|
|
108
|
+
class:
|
|
109
|
+
"free-dialog-actions row no-wrap item-center justify-center q-ma-md",
|
|
110
|
+
},
|
|
111
|
+
slots: {
|
|
112
|
+
default: [
|
|
113
|
+
{
|
|
114
|
+
tag: "slot",
|
|
115
|
+
name: "actions",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
freeAdminLayout: {
|
|
129
|
+
params: {
|
|
130
|
+
id: "",
|
|
131
|
+
logo: "",
|
|
132
|
+
logoHeight: "60px",
|
|
133
|
+
logoWidth: "100px",
|
|
134
|
+
actionsLeft: false,
|
|
135
|
+
actions: [],
|
|
136
|
+
toolbarHeight: "60px",
|
|
137
|
+
userName: "admin",
|
|
138
|
+
now: "2021-10-12",
|
|
139
|
+
},
|
|
140
|
+
props: {},
|
|
141
|
+
slots: ["default", "logo", "actions", "user"],
|
|
142
|
+
elements: [
|
|
143
|
+
{
|
|
144
|
+
name: "QLayout",
|
|
145
|
+
props: {
|
|
146
|
+
id: "{{id}}",
|
|
147
|
+
class: "free-layout",
|
|
148
|
+
},
|
|
149
|
+
slots: {
|
|
150
|
+
default: [
|
|
151
|
+
{
|
|
152
|
+
name: "QHeader",
|
|
153
|
+
props: {},
|
|
154
|
+
slots: {
|
|
155
|
+
default: [
|
|
156
|
+
{
|
|
157
|
+
name: "QToolbar",
|
|
158
|
+
props: {
|
|
159
|
+
style: "height: {{toolbarHeight}};",
|
|
160
|
+
},
|
|
161
|
+
slots: {
|
|
162
|
+
default: [
|
|
163
|
+
{
|
|
164
|
+
if: [
|
|
165
|
+
{
|
|
166
|
+
s1: "{{logo}}",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
name: "QImg",
|
|
170
|
+
props: {
|
|
171
|
+
src: "{{logo}}",
|
|
172
|
+
fit: "scale-down",
|
|
173
|
+
height: "{{logoHeight}}",
|
|
174
|
+
width: "{{logoWidth}}",
|
|
175
|
+
alt: "{{app.config.siteName}}",
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
tag: "slot",
|
|
180
|
+
name: "logo",
|
|
181
|
+
if: [
|
|
182
|
+
{
|
|
183
|
+
s1: "{{logo}}",
|
|
184
|
+
o1: "!",
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
name: "QSpace",
|
|
190
|
+
if: [
|
|
191
|
+
{
|
|
192
|
+
s1: "{{actionsLeft}}",
|
|
193
|
+
o1: "!"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
if: [
|
|
199
|
+
{
|
|
200
|
+
s1: "{{actions.length}}"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
for: "{{actions}}",
|
|
204
|
+
"for-item": "action",
|
|
205
|
+
name: "QBtn",
|
|
206
|
+
props: {
|
|
207
|
+
label: "{{action.label}}",
|
|
208
|
+
to: "{{action.to}}",
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
if: [
|
|
213
|
+
{
|
|
214
|
+
s1: "{{actions.length}}",
|
|
215
|
+
o1: "<=",
|
|
216
|
+
s2: 0
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
tag: "slot",
|
|
220
|
+
name: "actions"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
name: "QSpace",
|
|
224
|
+
if: [
|
|
225
|
+
{
|
|
226
|
+
s1: "{{actionsLeft}}",
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
name: "QBtn",
|
|
232
|
+
if: [
|
|
233
|
+
{
|
|
234
|
+
s1: "{{app.modules.account}}",
|
|
235
|
+
o1: "exists",
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
props: {
|
|
239
|
+
flat: true,
|
|
240
|
+
class: "user-profile-btn",
|
|
241
|
+
},
|
|
242
|
+
slots: {
|
|
243
|
+
default: [
|
|
244
|
+
{
|
|
245
|
+
tag: "div",
|
|
246
|
+
props: {
|
|
247
|
+
class:
|
|
248
|
+
"row no-wrap items-center justify-center",
|
|
249
|
+
},
|
|
250
|
+
slots: {
|
|
251
|
+
default: [
|
|
252
|
+
{
|
|
253
|
+
name: "QIcon",
|
|
254
|
+
props: {
|
|
255
|
+
name: "fas fa-user-tie",
|
|
256
|
+
class: "avatar q-mr-sm",
|
|
257
|
+
size: "md",
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
tag: "span",
|
|
262
|
+
props: {
|
|
263
|
+
class:
|
|
264
|
+
"user-name ellipsis q-ml-xs q-mr-md",
|
|
265
|
+
},
|
|
266
|
+
slots: {
|
|
267
|
+
default: [
|
|
268
|
+
"{{userName}}",
|
|
269
|
+
{
|
|
270
|
+
tag: "div",
|
|
271
|
+
props: {
|
|
272
|
+
class: "date-label",
|
|
273
|
+
},
|
|
274
|
+
slots: {
|
|
275
|
+
default: ["{{now}}"],
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: "QIcon",
|
|
283
|
+
props: {
|
|
284
|
+
class: "user-profile-menu-icon",
|
|
285
|
+
name: "keyboard_arrow_down",
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
name: "QMenu",
|
|
293
|
+
props: {
|
|
294
|
+
"content-class": "user-profile-menu",
|
|
295
|
+
},
|
|
296
|
+
slots: {
|
|
297
|
+
default: [
|
|
298
|
+
{
|
|
299
|
+
name: "QList",
|
|
300
|
+
props: {
|
|
301
|
+
style: "min-width: 191px",
|
|
302
|
+
},
|
|
303
|
+
slots: {
|
|
304
|
+
default: [
|
|
305
|
+
{
|
|
306
|
+
name: "QItem",
|
|
307
|
+
props: {},
|
|
308
|
+
slots: {
|
|
309
|
+
default: [
|
|
310
|
+
{
|
|
311
|
+
name: "QItemSection",
|
|
312
|
+
slots: {
|
|
313
|
+
default: [
|
|
314
|
+
{
|
|
315
|
+
name: "QBtn",
|
|
316
|
+
props: {
|
|
317
|
+
label: "Logout",
|
|
318
|
+
class: "logout-btn",
|
|
319
|
+
flat: true,
|
|
320
|
+
"v-close-popup": "-1",
|
|
321
|
+
onClick: {
|
|
322
|
+
type: "action",
|
|
323
|
+
name: "logout",
|
|
324
|
+
module: "account",
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
],
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
},
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
},
|
|
336
|
+
},
|
|
337
|
+
],
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
},
|
|
342
|
+
},
|
|
343
|
+
],
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
],
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
name: "QDrawer",
|
|
351
|
+
props: {},
|
|
352
|
+
slots: {
|
|
353
|
+
default: [],
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: "QPageContainer",
|
|
358
|
+
props: {},
|
|
359
|
+
slots: {
|
|
360
|
+
default: [
|
|
361
|
+
{
|
|
362
|
+
name: "QPage",
|
|
363
|
+
props: {},
|
|
364
|
+
slots: {
|
|
365
|
+
default: [
|
|
366
|
+
{
|
|
367
|
+
tag: "slot",
|
|
368
|
+
name: 'default'
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
],
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
],
|
|
377
|
+
},
|
|
378
|
+
},
|
|
379
|
+
],
|
|
380
|
+
},
|
|
381
|
+
printBtn: {
|
|
382
|
+
params: {
|
|
383
|
+
data: '',
|
|
384
|
+
label: 'Print'
|
|
385
|
+
},
|
|
386
|
+
elements: [
|
|
387
|
+
{
|
|
388
|
+
name: 'QBtn',
|
|
389
|
+
props: {
|
|
390
|
+
label: "{{label}}",
|
|
391
|
+
onClick: {
|
|
392
|
+
type: 'action',
|
|
393
|
+
name: 'log',
|
|
394
|
+
props: {
|
|
395
|
+
data: "{{data}}"
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
}
|
|
402
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
justNow: 'just now',
|
|
3
|
+
secondsAgo: 'seconds ago',
|
|
4
|
+
minutesAgo: 'minutes ago',
|
|
5
|
+
hoursAgo: 'hours ago',
|
|
6
|
+
daysAgo: 'days ago',
|
|
7
|
+
monthsAgo: 'months ago',
|
|
8
|
+
yearsAgo: 'yearsAgo',
|
|
9
|
+
SwitchTheme: 'Switch Theme',
|
|
10
|
+
|
|
11
|
+
validatorNotEmptyName: "非空",
|
|
12
|
+
validatorNotEmptyDescription: "不能为空",
|
|
13
|
+
validatorMobilePhoneName: "手机号",
|
|
14
|
+
validatorMobilePhoneDescription: "中国手机号码格式",
|
|
15
|
+
validatorEmailName: "邮箱",
|
|
16
|
+
validatorEmailDescription: "",
|
|
17
|
+
validatorPhoneOrEmailName: "手机号或邮箱",
|
|
18
|
+
validatorPhoneOrEmailDescription: "",
|
|
19
|
+
validatorChinaIDNumberName: "中国身份证号码",
|
|
20
|
+
validatorChinaIDNumberDescription: "",
|
|
21
|
+
|
|
22
|
+
validatorOnlyNumberName: "只能是数字",
|
|
23
|
+
validatorOnlyNumberDescription: "",
|
|
24
|
+
validatorOnlyCharName: "只能是字母",
|
|
25
|
+
validatorOnlyCharDescription: "",
|
|
26
|
+
validatorOnlyUpCharName: "只能是大写字母",
|
|
27
|
+
validatorOnlyUpCharDescription: "",
|
|
28
|
+
validatorOnlyLowerCharName: "只能是小写字母",
|
|
29
|
+
validatorOnlyLowerCharDescription: "",
|
|
30
|
+
validatorOnlyChineseName: "只能是中文",
|
|
31
|
+
validatorOnlyChineseDescription: "",
|
|
32
|
+
validatorOnlyCCName: "只能是中文或字母",
|
|
33
|
+
validatorOnlyCCDescription: "",
|
|
34
|
+
validatorOnlyCCNName: "只能是中文或字母或数字",
|
|
35
|
+
validatorOnlyCCNDescription: "",
|
|
36
|
+
validatorOnlyCNName: "只能是中文或数字",
|
|
37
|
+
validatorOnlyCNDescription: "",
|
|
38
|
+
validatorOnlyCNUName: "只能是中文或数字或下划线",
|
|
39
|
+
validatorOnlyCNUDescription: "",
|
|
40
|
+
validatorOnlyCNSName: "只能是中文或数字或特殊字符",
|
|
41
|
+
validatorOnlyCNSDescription:
|
|
42
|
+
'只能是中文或数字或("."、"@"、"<"、">"、"_"、"?")',
|
|
43
|
+
|
|
44
|
+
validatorOnlyIntegerName: "只能是整数",
|
|
45
|
+
validatorOnlyIntegerDescription: "",
|
|
46
|
+
validatorOnlyPIName: "只能是正整数",
|
|
47
|
+
validatorOnlyPIDescription: "",
|
|
48
|
+
validatorOnlyPIZName: "只能是正整数或零",
|
|
49
|
+
validatorOnlyPIZDescription: "",
|
|
50
|
+
validatorOnlyNIName: "只能是负整数",
|
|
51
|
+
validatorOnlyNIDescription: "",
|
|
52
|
+
validatorOnlyNIZName: "只能是负整数或零",
|
|
53
|
+
validatorOnlyNIZDescription: "",
|
|
54
|
+
|
|
55
|
+
validatorUrlName: "URL地址",
|
|
56
|
+
validatorUrlDescription: "",
|
|
57
|
+
validatorOfficePhoneName: "固定电话号码",
|
|
58
|
+
validatorOfficePhoneDescription: "固定电话号码(区号-号码)",
|
|
59
|
+
validatorChinaZipName: "中国邮政编码",
|
|
60
|
+
validatorChinaZipDescription: "",
|
|
61
|
+
|
|
62
|
+
validatorPwd1Name: "密码(强度一)",
|
|
63
|
+
validatorPwd1Description: "长度在6-16位之间的任意密码",
|
|
64
|
+
validatorPwd2Name: "密码(强度二)",
|
|
65
|
+
validatorPwd2Description:
|
|
66
|
+
"长度在6-16位的密码,必须包含数字、大写字母、小写字母",
|
|
67
|
+
validatorPwd3Name: "密码(强度三)",
|
|
68
|
+
validatorPwd3Description:
|
|
69
|
+
"长度在6-16位的密码,必须包含数字、大写字母、小写字母、特殊字符",
|
|
70
|
+
validatorPwd4Name: "密码(强度四)",
|
|
71
|
+
validatorPwd4Description:
|
|
72
|
+
"长度在6-16位的密码,必须包含数字、至少2个大写字母、至少2个小写字母、特殊字符",
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
justNow: '刚刚',
|
|
3
|
+
secondsAgo: '秒之前',
|
|
4
|
+
minutesAgo: '分钟之前',
|
|
5
|
+
hoursAgo: '小时之前',
|
|
6
|
+
daysAgo: '天之前',
|
|
7
|
+
monthsAgo: '月之前',
|
|
8
|
+
yearsAgo: '年之前',
|
|
9
|
+
SwitchTheme: '切换样式',
|
|
10
|
+
|
|
11
|
+
validatorNotEmptyName: "非空",
|
|
12
|
+
validatorNotEmptyDescription: "不能为空",
|
|
13
|
+
validatorMobilePhoneName: "手机号",
|
|
14
|
+
validatorMobilePhoneDescription: "中国手机号码格式",
|
|
15
|
+
validatorEmailName: "邮箱",
|
|
16
|
+
validatorEmailDescription: "",
|
|
17
|
+
validatorPhoneOrEmailName: "手机号或邮箱",
|
|
18
|
+
validatorPhoneOrEmailDescription: "",
|
|
19
|
+
validatorChinaIDNumberName: "中国身份证号码",
|
|
20
|
+
validatorChinaIDNumberDescription: "",
|
|
21
|
+
|
|
22
|
+
validatorOnlyNumberName: "只能是数字",
|
|
23
|
+
validatorOnlyNumberDescription: "",
|
|
24
|
+
validatorOnlyCharName: "只能是字母",
|
|
25
|
+
validatorOnlyCharDescription: "",
|
|
26
|
+
validatorOnlyUpCharName: "只能是大写字母",
|
|
27
|
+
validatorOnlyUpCharDescription: "",
|
|
28
|
+
validatorOnlyLowerCharName: "只能是小写字母",
|
|
29
|
+
validatorOnlyLowerCharDescription: "",
|
|
30
|
+
validatorOnlyChineseName: "只能是中文",
|
|
31
|
+
validatorOnlyChineseDescription: "",
|
|
32
|
+
validatorOnlyCCName: "只能是中文或字母",
|
|
33
|
+
validatorOnlyCCDescription: "",
|
|
34
|
+
validatorOnlyCCNName: "只能是中文或字母或数字",
|
|
35
|
+
validatorOnlyCCNDescription: "",
|
|
36
|
+
validatorOnlyCNName: "只能是中文或数字",
|
|
37
|
+
validatorOnlyCNDescription: "",
|
|
38
|
+
validatorOnlyCNUName: "只能是中文或数字或下划线",
|
|
39
|
+
validatorOnlyCNUDescription: "",
|
|
40
|
+
validatorOnlyCNSName: "只能是中文或数字或特殊字符",
|
|
41
|
+
validatorOnlyCNSDescription:
|
|
42
|
+
'只能是中文或数字或("."、"@"、"<"、">"、"_"、"?")',
|
|
43
|
+
|
|
44
|
+
validatorOnlyIntegerName: "只能是整数",
|
|
45
|
+
validatorOnlyIntegerDescription: "",
|
|
46
|
+
validatorOnlyPIName: "只能是正整数",
|
|
47
|
+
validatorOnlyPIDescription: "",
|
|
48
|
+
validatorOnlyPIZName: "只能是正整数或零",
|
|
49
|
+
validatorOnlyPIZDescription: "",
|
|
50
|
+
validatorOnlyNIName: "只能是负整数",
|
|
51
|
+
validatorOnlyNIDescription: "",
|
|
52
|
+
validatorOnlyNIZName: "只能是负整数或零",
|
|
53
|
+
validatorOnlyNIZDescription: "",
|
|
54
|
+
|
|
55
|
+
validatorUrlName: "URL地址",
|
|
56
|
+
validatorUrlDescription: "",
|
|
57
|
+
validatorOfficePhoneName: "固定电话号码",
|
|
58
|
+
validatorOfficePhoneDescription: "固定电话号码(区号-号码)",
|
|
59
|
+
validatorChinaZipName: "中国邮政编码",
|
|
60
|
+
validatorChinaZipDescription: "",
|
|
61
|
+
|
|
62
|
+
validatorPwd1Name: "密码(强度一)",
|
|
63
|
+
validatorPwd1Description: "长度在6-16位之间的任意密码",
|
|
64
|
+
validatorPwd2Name: "密码(强度二)",
|
|
65
|
+
validatorPwd2Description:
|
|
66
|
+
"长度在6-16位的密码,必须包含数字、大写字母、小写字母",
|
|
67
|
+
validatorPwd3Name: "密码(强度三)",
|
|
68
|
+
validatorPwd3Description:
|
|
69
|
+
"长度在6-16位的密码,必须包含数字、大写字母、小写字母、特殊字符",
|
|
70
|
+
validatorPwd4Name: "密码(强度四)",
|
|
71
|
+
validatorPwd4Description:
|
|
72
|
+
"长度在6-16位的密码,必须包含数字、至少2个大写字母、至少2个小写字母、特殊字符",
|
|
73
|
+
}
|