super-page-designer 2.1.25 → 2.1.26
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/es/components/design/utils/assemblys-config.js +3 -0
- package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +4 -0
- package/dist/es/components/design/utils/page-i18n-util.d.ts +6 -0
- package/dist/es/components/design/utils/page-i18n-util.js +29 -0
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +24 -24
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +15 -14
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +18 -18
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +22 -22
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +28 -3
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +8 -1
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +84 -0
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +10 -2
- package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +12 -7
- package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +13 -5
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +19 -8
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +14 -5
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +15 -9
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +14 -5
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +3 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +3 -16
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/row-ul-li.vue.js +23 -13
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +32 -38
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +19 -11
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +113 -42
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +16 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +13 -13
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +10 -11
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +16 -18
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -15
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +10 -11
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +16 -17
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +16 -16
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +20 -21
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.d.ts +2 -2
- package/dist/es/components/design/views/design/page-design.vue.js +13 -2
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
- package/dist/es/components/design/views/design/page-event/config.vue2.js +7 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/attr-container.vue.d.ts +2 -0
- package/dist/es/components/design/views/design/view/attr-container.vue.js +4 -2
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.d.ts +18 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +249 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue2.js +4 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.d.ts +18 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +7 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +488 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue3.js +1 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.d.ts +23 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +100 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue2.js +4 -0
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.d.ts +17 -9
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.d.ts +2 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +6 -4
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +40 -14
- package/dist/es/components/design/views/design/view/view-design.vue.d.ts +2 -1
- package/dist/es/components/design/views/design/view/view-design.vue.js +4 -2
- package/dist/es/stores/page-store.d.ts +8 -2
- package/dist/es/stores/page-store.js +7 -1
- package/dist/es/style.css +97 -93
- package/package.json +5 -5
- package/dist/es/components/design/views/assemblys/common/common-title-setting.vue.js +0 -45
- package/dist/es/components/design/views/assemblys/common/common-title-setting.vue2.js +0 -4
package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js
CHANGED
|
@@ -6,9 +6,31 @@ import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
|
6
6
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
8
8
|
import _sfc_main$3 from "../common/title-suffix.vue.js";
|
|
9
|
-
import _sfc_main$2 from "../../common/common-
|
|
9
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
10
|
+
import { WarningFilled } from "@element-plus/icons-vue";
|
|
10
11
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
11
|
-
const _hoisted_2 = {
|
|
12
|
+
const _hoisted_2 = { class: "amb-design-attr-item-inline" };
|
|
13
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
14
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
15
|
+
const _hoisted_5 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
16
|
+
const _hoisted_6 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
17
|
+
const _hoisted_7 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
18
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
19
|
+
const _hoisted_9 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
20
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
|
21
|
+
const _hoisted_11 = /* @__PURE__ */ createElementVNode("svg", {
|
|
22
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
23
|
+
viewBox: "0 0 24 24",
|
|
24
|
+
width: "1.2em",
|
|
25
|
+
height: "1.2em",
|
|
26
|
+
class: "link-icon"
|
|
27
|
+
}, [
|
|
28
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
29
|
+
fill: "currentColor",
|
|
30
|
+
d: "M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794l-1.414-1.414L17.585 5H13V3h8z"
|
|
31
|
+
})
|
|
32
|
+
], -1);
|
|
33
|
+
const _hoisted_12 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
12
34
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
35
|
__name: "datepicker-attr-base",
|
|
14
36
|
props: {
|
|
@@ -77,6 +99,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77
99
|
const _component_el_col = resolveComponent("el-col");
|
|
78
100
|
const _component_el_row = resolveComponent("el-row");
|
|
79
101
|
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
102
|
+
const _component_el_link = resolveComponent("el-link");
|
|
103
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
104
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
80
105
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
81
106
|
const _component_el_collapse = resolveComponent("el-collapse");
|
|
82
107
|
const _component_el_form = resolveComponent("el-form");
|
|
@@ -87,7 +112,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
112
|
default: withCtx(() => [
|
|
88
113
|
createVNode(_component_el_collapse, {
|
|
89
114
|
modelValue: openCollapseItems.value,
|
|
90
|
-
"onUpdate:modelValue": _cache[
|
|
115
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => openCollapseItems.value = $event),
|
|
91
116
|
style: { "margin-top": "6px" }
|
|
92
117
|
}, {
|
|
93
118
|
default: withCtx(() => [
|
|
@@ -257,9 +282,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
257
282
|
}, {
|
|
258
283
|
default: withCtx(() => [
|
|
259
284
|
createVNode(_sfc_main$2, {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}, null, 8, ["
|
|
285
|
+
modelValue: __props.configure.props.base.title,
|
|
286
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.title = $event)
|
|
287
|
+
}, null, 8, ["modelValue"])
|
|
263
288
|
]),
|
|
264
289
|
_: 1
|
|
265
290
|
}, 512), [
|
|
@@ -272,7 +297,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
272
297
|
default: withCtx(() => [
|
|
273
298
|
createVNode(_component_el_input_number, {
|
|
274
299
|
modelValue: __props.configure.props.base.titleWidth,
|
|
275
|
-
"onUpdate:modelValue": _cache[
|
|
300
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.titleWidth = $event),
|
|
276
301
|
style: { "width": "100%" },
|
|
277
302
|
min: 0,
|
|
278
303
|
max: 200,
|
|
@@ -293,10 +318,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
293
318
|
])
|
|
294
319
|
]),
|
|
295
320
|
default: withCtx(() => [
|
|
296
|
-
createVNode(
|
|
321
|
+
createVNode(_sfc_main$2, {
|
|
297
322
|
modelValue: __props.configure.props.base.placeholder,
|
|
298
|
-
"onUpdate:modelValue": _cache[
|
|
299
|
-
placeholder: "请输入"
|
|
323
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.placeholder = $event)
|
|
300
324
|
}, null, 8, ["modelValue"])
|
|
301
325
|
]),
|
|
302
326
|
_: 1
|
|
@@ -308,7 +332,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
308
332
|
default: withCtx(() => [
|
|
309
333
|
createVNode(_component_el_input, {
|
|
310
334
|
modelValue: __props.configure.props.base.endPlaceholder,
|
|
311
|
-
"onUpdate:modelValue": _cache[
|
|
335
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.endPlaceholder = $event),
|
|
312
336
|
placeholder: "请输入"
|
|
313
337
|
}, null, 8, ["modelValue"])
|
|
314
338
|
]),
|
|
@@ -323,7 +347,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
323
347
|
default: withCtx(() => [
|
|
324
348
|
createVNode(_component_el_radio_group, {
|
|
325
349
|
modelValue: __props.configure.props.base.clearable,
|
|
326
|
-
"onUpdate:modelValue": _cache[
|
|
350
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.clearable = $event),
|
|
327
351
|
class: "ml-4"
|
|
328
352
|
}, {
|
|
329
353
|
default: withCtx(() => [
|
|
@@ -352,7 +376,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
352
376
|
default: withCtx(() => [
|
|
353
377
|
createVNode(_component_el_radio_group, {
|
|
354
378
|
modelValue: __props.configure.props.base.type,
|
|
355
|
-
"onUpdate:modelValue": _cache[
|
|
379
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.type = $event),
|
|
356
380
|
class: "ml-4"
|
|
357
381
|
}, {
|
|
358
382
|
default: withCtx(() => [
|
|
@@ -405,7 +429,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
405
429
|
default: withCtx(() => [
|
|
406
430
|
createVNode(_component_el_radio_group, {
|
|
407
431
|
modelValue: __props.configure.props.base.dateScope,
|
|
408
|
-
"onUpdate:modelValue": _cache[
|
|
432
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.base.dateScope = $event),
|
|
409
433
|
class: "ml-4"
|
|
410
434
|
}, {
|
|
411
435
|
default: withCtx(() => [
|
|
@@ -439,7 +463,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
439
463
|
default: withCtx(() => [
|
|
440
464
|
createVNode(_component_el_checkbox_group, {
|
|
441
465
|
modelValue: __props.configure.props.base.dateScopeDetails,
|
|
442
|
-
"onUpdate:modelValue": _cache[
|
|
466
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.base.dateScopeDetails = $event),
|
|
443
467
|
class: "ml-4"
|
|
444
468
|
}, {
|
|
445
469
|
default: withCtx(() => [
|
|
@@ -510,7 +534,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
510
534
|
clearable: "",
|
|
511
535
|
disabled: !__props.configure.props.base.dateScopeDetails || !__props.configure.props.base.dateScopeDetails.includes("custom"),
|
|
512
536
|
modelValue: __props.configure.props.base.scopeFunc,
|
|
513
|
-
"onUpdate:modelValue": _cache[
|
|
537
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.base.scopeFunc = $event),
|
|
514
538
|
placeholder: "请选择自定义方法",
|
|
515
539
|
filterable: ""
|
|
516
540
|
}, {
|
|
@@ -539,14 +563,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
539
563
|
}, 512), [
|
|
540
564
|
[vShow, __props.configure.props.base.type != "time"]
|
|
541
565
|
]),
|
|
566
|
+
createVNode(_component_el_form_item, {
|
|
567
|
+
label: "显示格式化",
|
|
568
|
+
class: "amb-design-attr-item"
|
|
569
|
+
}, {
|
|
570
|
+
default: withCtx(() => [
|
|
571
|
+
createVNode(_component_el_input, {
|
|
572
|
+
modelValue: __props.configure.props.base.format,
|
|
573
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.base.format = $event),
|
|
574
|
+
placeholder: "请输入"
|
|
575
|
+
}, null, 8, ["modelValue"])
|
|
576
|
+
]),
|
|
577
|
+
_: 1
|
|
578
|
+
}),
|
|
542
579
|
withDirectives(createVNode(_component_el_form_item, {
|
|
543
|
-
label: "
|
|
580
|
+
label: "值为时间戳",
|
|
544
581
|
class: "amb-design-attr-item"
|
|
545
582
|
}, {
|
|
546
583
|
default: withCtx(() => [
|
|
547
584
|
createVNode(_component_el_radio_group, {
|
|
548
585
|
modelValue: __props.configure.props.base.timestamp,
|
|
549
|
-
"onUpdate:modelValue": _cache[
|
|
586
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => __props.configure.props.base.timestamp = $event),
|
|
550
587
|
class: "ml-4"
|
|
551
588
|
}, {
|
|
552
589
|
default: withCtx(() => [
|
|
@@ -570,29 +607,63 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
570
607
|
}, 512), [
|
|
571
608
|
[vShow, __props.configure.props.base.type != "time"]
|
|
572
609
|
]),
|
|
573
|
-
createVNode(_component_el_form_item, {
|
|
574
|
-
label: "显示格式化",
|
|
575
|
-
class: "amb-design-attr-item"
|
|
576
|
-
}, {
|
|
577
|
-
default: withCtx(() => [
|
|
578
|
-
createVNode(_component_el_input, {
|
|
579
|
-
modelValue: __props.configure.props.base.format,
|
|
580
|
-
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.base.format = $event),
|
|
581
|
-
placeholder: "请输入"
|
|
582
|
-
}, null, 8, ["modelValue"])
|
|
583
|
-
]),
|
|
584
|
-
_: 1
|
|
585
|
-
}),
|
|
586
610
|
createVNode(_component_el_form_item, {
|
|
587
611
|
label: "值格式化",
|
|
588
612
|
class: "amb-design-attr-item"
|
|
589
613
|
}, {
|
|
590
614
|
default: withCtx(() => [
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
615
|
+
createElementVNode("div", _hoisted_2, [
|
|
616
|
+
createVNode(_component_el_input, {
|
|
617
|
+
modelValue: __props.configure.props.base.valueFormat,
|
|
618
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => __props.configure.props.base.valueFormat = $event),
|
|
619
|
+
placeholder: "请输入",
|
|
620
|
+
disabled: __props.configure.props.base.timestamp === true
|
|
621
|
+
}, null, 8, ["modelValue", "disabled"]),
|
|
622
|
+
createVNode(_component_el_tooltip, {
|
|
623
|
+
placement: "top",
|
|
624
|
+
effect: "light"
|
|
625
|
+
}, {
|
|
626
|
+
content: withCtx(() => [
|
|
627
|
+
createTextVNode(" 四位年:YYYY"),
|
|
628
|
+
_hoisted_3,
|
|
629
|
+
createTextVNode("两位年:YY"),
|
|
630
|
+
_hoisted_4,
|
|
631
|
+
createTextVNode("两位月:MM"),
|
|
632
|
+
_hoisted_5,
|
|
633
|
+
createTextVNode("两位日:DD"),
|
|
634
|
+
_hoisted_6,
|
|
635
|
+
createTextVNode("小时:hh"),
|
|
636
|
+
_hoisted_7,
|
|
637
|
+
createTextVNode("分钟:mm"),
|
|
638
|
+
_hoisted_8,
|
|
639
|
+
createTextVNode("秒:ss"),
|
|
640
|
+
_hoisted_9,
|
|
641
|
+
createTextVNode("占位:[占位符]"),
|
|
642
|
+
_hoisted_10,
|
|
643
|
+
createTextVNode("更多见: "),
|
|
644
|
+
createVNode(_component_el_link, {
|
|
645
|
+
href: "https://day.js.org/docs/en/display/format#list-of-all-available-formats",
|
|
646
|
+
target: "_blank",
|
|
647
|
+
type: "primary"
|
|
648
|
+
}, {
|
|
649
|
+
default: withCtx(() => [
|
|
650
|
+
_hoisted_11
|
|
651
|
+
]),
|
|
652
|
+
_: 1
|
|
653
|
+
}),
|
|
654
|
+
createTextVNode(" 查看 Day.js 支持的所有格式。 ")
|
|
655
|
+
]),
|
|
656
|
+
default: withCtx(() => [
|
|
657
|
+
createVNode(_component_el_icon, { style: { "margin-left": "10px" } }, {
|
|
658
|
+
default: withCtx(() => [
|
|
659
|
+
createVNode(unref(WarningFilled))
|
|
660
|
+
]),
|
|
661
|
+
_: 1
|
|
662
|
+
})
|
|
663
|
+
]),
|
|
664
|
+
_: 1
|
|
665
|
+
})
|
|
666
|
+
])
|
|
596
667
|
]),
|
|
597
668
|
_: 1
|
|
598
669
|
}),
|
|
@@ -603,7 +674,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
603
674
|
default: withCtx(() => [
|
|
604
675
|
createVNode(_component_el_radio_group, {
|
|
605
676
|
modelValue: __props.configure.props.base.size,
|
|
606
|
-
"onUpdate:modelValue": _cache[
|
|
677
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => __props.configure.props.base.size = $event),
|
|
607
678
|
class: "ml-4"
|
|
608
679
|
}, {
|
|
609
680
|
default: withCtx(() => [
|
|
@@ -638,7 +709,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
638
709
|
default: withCtx(() => [
|
|
639
710
|
createVNode(_component_el_radio_group, {
|
|
640
711
|
modelValue: __props.configure.props.base.state,
|
|
641
|
-
"onUpdate:modelValue": _cache[
|
|
712
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => __props.configure.props.base.state = $event),
|
|
642
713
|
class: "ml-4"
|
|
643
714
|
}, {
|
|
644
715
|
default: withCtx(() => [
|
|
@@ -680,7 +751,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
680
751
|
class: "amb-design-attr-group-header"
|
|
681
752
|
}, {
|
|
682
753
|
default: withCtx(() => [
|
|
683
|
-
createElementVNode("div",
|
|
754
|
+
createElementVNode("div", _hoisted_12, [
|
|
684
755
|
createVNode(_component_el_form_item, {
|
|
685
756
|
class: "amb-design-attr-item",
|
|
686
757
|
"label-width": "0"
|
|
@@ -688,7 +759,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
688
759
|
default: withCtx(() => [
|
|
689
760
|
createVNode(_component_el_checkbox, {
|
|
690
761
|
modelValue: __props.configure.props.verification.required,
|
|
691
|
-
"onUpdate:modelValue": _cache[
|
|
762
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => __props.configure.props.verification.required = $event),
|
|
692
763
|
label: "必填"
|
|
693
764
|
}, null, 8, ["modelValue"])
|
|
694
765
|
]),
|
|
@@ -704,7 +775,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
704
775
|
createVNode(_component_el_checkbox, {
|
|
705
776
|
label: "自定义",
|
|
706
777
|
modelValue: __props.configure.props.verification.custom,
|
|
707
|
-
"onUpdate:modelValue": _cache[
|
|
778
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => __props.configure.props.verification.custom = $event)
|
|
708
779
|
}, null, 8, ["modelValue"])
|
|
709
780
|
]),
|
|
710
781
|
_: 1
|
|
@@ -716,7 +787,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
716
787
|
clearable: "",
|
|
717
788
|
disabled: !__props.configure.props.verification.custom,
|
|
718
789
|
modelValue: __props.configure.props.verification.customFunc,
|
|
719
|
-
"onUpdate:modelValue": _cache[
|
|
790
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => __props.configure.props.verification.customFunc = $event),
|
|
720
791
|
placeholder: "请选择校验方法",
|
|
721
792
|
filterable: ""
|
|
722
793
|
}, {
|
package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js
CHANGED
|
@@ -66,7 +66,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
66
66
|
if (propBase.timestamp) {
|
|
67
67
|
tempProps.valueFormat = "x";
|
|
68
68
|
} else {
|
|
69
|
-
tempProps.valueFormat = propBase.valueFormat
|
|
69
|
+
tempProps.valueFormat = propBase.valueFormat;
|
|
70
|
+
if (!tempProps.valueFormat) {
|
|
71
|
+
if (dateType === "datetime") {
|
|
72
|
+
tempProps.valueFormat = "YYYY-MM-DD hh:mm:ss";
|
|
73
|
+
} else if (dateType === "year") {
|
|
74
|
+
tempProps.valueFormat = "YYYY";
|
|
75
|
+
} else if (dateType === "month") {
|
|
76
|
+
tempProps.valueFormat = "YYYY-MM";
|
|
77
|
+
} else if (dateType === "time") {
|
|
78
|
+
tempProps.valueFormat = "hh:mm:ss";
|
|
79
|
+
} else if (dateType === "date") {
|
|
80
|
+
tempProps.valueFormat = "YYYY-MM-DD";
|
|
81
|
+
} else if (dateType === "week") {
|
|
82
|
+
tempProps.valueFormat = "YYYY-MM-DD";
|
|
83
|
+
}
|
|
84
|
+
}
|
|
70
85
|
}
|
|
71
86
|
tempProps.sourceType = dateType;
|
|
72
87
|
tempProps.dateScopeDetails = propBase.dateScopeDetails;
|
|
@@ -8,7 +8,7 @@ import _sfc_main$3 from "./depttree-autoset.vue.js";
|
|
|
8
8
|
import { OrganizationInput } from "agilebuilder-ui";
|
|
9
9
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
10
10
|
import _sfc_main$4 from "../common/title-suffix.vue.js";
|
|
11
|
-
import _sfc_main$2 from "../../common/common-
|
|
11
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
12
12
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
13
13
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
14
14
|
const _hoisted_3 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -75,7 +75,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
75
|
default: withCtx(() => [
|
|
76
76
|
createVNode(_component_el_collapse, {
|
|
77
77
|
modelValue: openCollapseItems.value,
|
|
78
|
-
"onUpdate:modelValue": _cache[
|
|
78
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => openCollapseItems.value = $event),
|
|
79
79
|
style: { "margin-top": "6px" }
|
|
80
80
|
}, {
|
|
81
81
|
default: withCtx(() => [
|
|
@@ -236,9 +236,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
236
236
|
}, {
|
|
237
237
|
default: withCtx(() => [
|
|
238
238
|
createVNode(_sfc_main$2, {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
}, null, 8, ["
|
|
239
|
+
modelValue: __props.configure.props.base.title,
|
|
240
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.base.title = $event)
|
|
241
|
+
}, null, 8, ["modelValue"])
|
|
242
242
|
]),
|
|
243
243
|
_: 1
|
|
244
244
|
}, 512), [
|
|
@@ -251,7 +251,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
251
251
|
default: withCtx(() => [
|
|
252
252
|
createVNode(_component_el_input_number, {
|
|
253
253
|
modelValue: __props.configure.props.base.titleWidth,
|
|
254
|
-
"onUpdate:modelValue": _cache[
|
|
254
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.titleWidth = $event),
|
|
255
255
|
style: { "width": "100%" },
|
|
256
256
|
min: 0,
|
|
257
257
|
max: 200,
|
|
@@ -269,7 +269,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
269
269
|
default: withCtx(() => [
|
|
270
270
|
createVNode(_component_el_radio_group, {
|
|
271
271
|
modelValue: __props.configure.props.base.treeMultiple,
|
|
272
|
-
"onUpdate:modelValue": _cache[
|
|
272
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.treeMultiple = $event),
|
|
273
273
|
class: "ml-4"
|
|
274
274
|
}, {
|
|
275
275
|
default: withCtx(() => [
|
|
@@ -298,7 +298,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
298
298
|
default: withCtx(() => [
|
|
299
299
|
createVNode(_component_el_input, {
|
|
300
300
|
modelValue: __props.configure.props.base.separator,
|
|
301
|
-
"onUpdate:modelValue": _cache[
|
|
301
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.separator = $event),
|
|
302
302
|
placeholder: ","
|
|
303
303
|
}, null, 8, ["modelValue"])
|
|
304
304
|
]),
|
|
@@ -313,7 +313,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
313
313
|
default: withCtx(() => [
|
|
314
314
|
createVNode(_component_el_radio_group, {
|
|
315
315
|
modelValue: __props.configure.props.base.size,
|
|
316
|
-
"onUpdate:modelValue": _cache[
|
|
316
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.size = $event),
|
|
317
317
|
class: "ml-4"
|
|
318
318
|
}, {
|
|
319
319
|
default: withCtx(() => [
|
|
@@ -348,7 +348,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
348
348
|
default: withCtx(() => [
|
|
349
349
|
createVNode(_component_el_radio_group, {
|
|
350
350
|
modelValue: __props.configure.props.base.state,
|
|
351
|
-
"onUpdate:modelValue": _cache[
|
|
351
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.state = $event),
|
|
352
352
|
class: "ml-4"
|
|
353
353
|
}, {
|
|
354
354
|
default: withCtx(() => [
|
|
@@ -383,7 +383,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
383
383
|
createElementVNode("div", _hoisted_2, [
|
|
384
384
|
createVNode(_component_el_radio_group, {
|
|
385
385
|
modelValue: __props.configure.props.base.deptScope,
|
|
386
|
-
"onUpdate:modelValue": _cache[
|
|
386
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.base.deptScope = $event)
|
|
387
387
|
}, {
|
|
388
388
|
default: withCtx(() => [
|
|
389
389
|
createVNode(_component_el_form_item, { class: "amb-design-attr-item" }, {
|
|
@@ -420,7 +420,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
420
420
|
multiple: true,
|
|
421
421
|
treeType: "DeptTree",
|
|
422
422
|
value: __props.configure.props.base.deptScopeDepts,
|
|
423
|
-
"onUpdate:value": _cache[
|
|
423
|
+
"onUpdate:value": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.deptScopeDepts = $event),
|
|
424
424
|
models: __props.configure.props.base,
|
|
425
425
|
fields: [{ type: "code", model: "deptScopeCodes" }],
|
|
426
426
|
size: "small",
|
|
@@ -460,7 +460,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
460
460
|
default: withCtx(() => [
|
|
461
461
|
createVNode(_component_el_checkbox, {
|
|
462
462
|
modelValue: __props.configure.props.verification.required,
|
|
463
|
-
"onUpdate:modelValue": _cache[
|
|
463
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.verification.required = $event),
|
|
464
464
|
label: "必填"
|
|
465
465
|
}, null, 8, ["modelValue"])
|
|
466
466
|
]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode } from "vue";
|
|
2
2
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
3
3
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
4
|
-
import _sfc_main$1 from "../../common/common-
|
|
4
|
+
import _sfc_main$1 from "../../common/common-i18n-key-input.vue.js";
|
|
5
5
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "divider-attr-base",
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
default: withCtx(() => [
|
|
39
39
|
createVNode(_component_el_collapse, {
|
|
40
40
|
modelValue: openCollapseItems.value,
|
|
41
|
-
"onUpdate:modelValue": _cache[
|
|
41
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => openCollapseItems.value = $event),
|
|
42
42
|
style: { "margin-top": "6px" }
|
|
43
43
|
}, {
|
|
44
44
|
default: withCtx(() => [
|
|
@@ -83,9 +83,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
83
|
}, {
|
|
84
84
|
default: withCtx(() => [
|
|
85
85
|
createVNode(_sfc_main$1, {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}, null, 8, ["
|
|
86
|
+
modelValue: __props.configure.props.base.title,
|
|
87
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.configure.props.base.title = $event)
|
|
88
|
+
}, null, 8, ["modelValue"])
|
|
89
89
|
]),
|
|
90
90
|
_: 1
|
|
91
91
|
}),
|
|
@@ -96,7 +96,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
96
|
default: withCtx(() => [
|
|
97
97
|
createVNode(_component_el_radio_group, {
|
|
98
98
|
modelValue: __props.configure.props.base.titlePosition,
|
|
99
|
-
"onUpdate:modelValue": _cache[
|
|
99
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.configure.props.base.titlePosition = $event),
|
|
100
100
|
class: "ml-4"
|
|
101
101
|
}, {
|
|
102
102
|
default: withCtx(() => [
|
|
@@ -131,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
131
|
default: withCtx(() => [
|
|
132
132
|
createVNode(_component_el_radio_group, {
|
|
133
133
|
modelValue: __props.configure.props.base.direction,
|
|
134
|
-
"onUpdate:modelValue": _cache[
|
|
134
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.base.direction = $event),
|
|
135
135
|
class: "ml-4"
|
|
136
136
|
}, {
|
|
137
137
|
default: withCtx(() => [
|
|
@@ -160,7 +160,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
160
160
|
default: withCtx(() => [
|
|
161
161
|
createVNode(_component_el_radio_group, {
|
|
162
162
|
modelValue: __props.configure.props.base.borderType,
|
|
163
|
-
"onUpdate:modelValue": _cache[
|
|
163
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.base.borderType = $event)
|
|
164
164
|
}, {
|
|
165
165
|
default: withCtx(() => [
|
|
166
166
|
createVNode(_component_el_radio, { value: "solid" }, {
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js
CHANGED
|
@@ -5,7 +5,7 @@ import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
|
5
5
|
import _sfc_main$3 from "../common/uploading.vue.js";
|
|
6
6
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
8
|
-
import _sfc_main$2 from "../../common/common-
|
|
8
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
9
9
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
10
10
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -74,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74
74
|
default: withCtx(() => [
|
|
75
75
|
createVNode(_component_el_collapse, {
|
|
76
76
|
modelValue: openCollapseItems.value,
|
|
77
|
-
"onUpdate:modelValue": _cache[
|
|
77
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => openCollapseItems.value = $event),
|
|
78
78
|
style: { "margin-top": "6px" }
|
|
79
79
|
}, {
|
|
80
80
|
default: withCtx(() => [
|
|
@@ -203,9 +203,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
203
203
|
}, {
|
|
204
204
|
default: withCtx(() => [
|
|
205
205
|
createVNode(_sfc_main$2, {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}, null, 8, ["
|
|
206
|
+
modelValue: __props.configure.props.base.title,
|
|
207
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.title = $event)
|
|
208
|
+
}, null, 8, ["modelValue"])
|
|
209
209
|
]),
|
|
210
210
|
_: 1
|
|
211
211
|
}, 512), [
|
|
@@ -218,7 +218,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
218
218
|
default: withCtx(() => [
|
|
219
219
|
createVNode(_component_el_input_number, {
|
|
220
220
|
modelValue: __props.configure.props.base.titleWidth,
|
|
221
|
-
"onUpdate:modelValue": _cache[
|
|
221
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.titleWidth = $event),
|
|
222
222
|
style: { "width": "100%" },
|
|
223
223
|
min: 0,
|
|
224
224
|
max: 200,
|
|
@@ -234,10 +234,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
234
234
|
class: "amb-design-attr-item"
|
|
235
235
|
}, {
|
|
236
236
|
default: withCtx(() => [
|
|
237
|
-
createVNode(
|
|
237
|
+
createVNode(_sfc_main$2, {
|
|
238
238
|
modelValue: __props.configure.props.base.placeholder,
|
|
239
|
-
"onUpdate:modelValue": _cache[
|
|
240
|
-
placeholder: "请输入"
|
|
239
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.placeholder = $event)
|
|
241
240
|
}, null, 8, ["modelValue"])
|
|
242
241
|
]),
|
|
243
242
|
_: 1
|
|
@@ -249,7 +248,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
249
248
|
default: withCtx(() => [
|
|
250
249
|
createVNode(_component_el_radio_group, {
|
|
251
250
|
modelValue: __props.configure.props.base.state,
|
|
252
|
-
"onUpdate:modelValue": _cache[
|
|
251
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.state = $event),
|
|
253
252
|
class: "ml-4"
|
|
254
253
|
}, {
|
|
255
254
|
default: withCtx(() => [
|
|
@@ -345,7 +344,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
345
344
|
default: withCtx(() => [
|
|
346
345
|
createVNode(_component_el_checkbox, {
|
|
347
346
|
modelValue: __props.configure.props.verification.required,
|
|
348
|
-
"onUpdate:modelValue": _cache[
|
|
347
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.verification.required = $event),
|
|
349
348
|
label: "必填"
|
|
350
349
|
}, null, 8, ["modelValue"])
|
|
351
350
|
]),
|