@fewangsit/wangsvue-fats 1.0.1-alpha.67 → 1.0.1-alpha.69
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/animation/index.es.js +30 -20
- package/approverinfo/index.es.js +50 -50
- package/assetinfo/index.d.ts +5 -4
- package/assetinfo/index.es.js +116 -100
- package/assets/lottiejs/loading-page-dark.es.js +4 -0
- package/assets/lottiejs/loading-table-dark.es.js +4 -0
- package/assets/lottiejs/no-data-dark.es.js +4 -0
- package/backgroundimagecropper/index.es.js +14 -12
- package/button/index.es.js +58 -48
- package/buttonbulkaction/index.es.js +67 -59
- package/buttoncopy/index.es.js +8 -8
- package/buttondownload/index.es.js +18 -18
- package/buttonradio/index.es.js +11 -11
- package/buttonscan/index.es.js +48 -48
- package/buttonsearch/index.es.js +14 -14
- package/buttonselectuser/index.es.js +29 -29
- package/carousel/index.es.js +24 -24
- package/checkbox/index.es.js +5 -5
- package/columnlist/index.es.js +142 -132
- package/config/defaultProps.es.js +15 -11
- package/datatable/index.d.ts +14 -0
- package/datatable/index.es.js +520 -509
- package/datepicker/index.es.js +24 -24
- package/daypicker/index.es.js +29 -29
- package/dialog/index.es.js +17 -15
- package/dialogbasictransferlog/index.es.js +100 -100
- package/dialogconfirm/index.es.js +33 -33
- package/dialogdamagelog/index.es.js +106 -103
- package/dialogform/index.es.js +25 -25
- package/dialogfulltransferlog/index.es.js +98 -98
- package/dialoglinkedasset/index.es.js +61 -61
- package/dialogprintqr/index.es.js +78 -80
- package/dialogreportdamage/index.es.js +57 -57
- package/dialogreportmissing/index.es.js +94 -86
- package/dialogselecttree/index.es.js +18 -16
- package/dialogselectuser/index.es.js +17 -17
- package/directives/index.d.ts +1 -0
- package/directives/index.es.js +1 -0
- package/directives/safeHtml.d.ts +16 -0
- package/directives/safeHtml.es.js +12 -0
- package/disposalreport/index.es.js +3 -3
- package/disposalreportbulkaction/index.es.js +40 -41
- package/disposalreportdialogselectasset/index.es.js +72 -72
- package/disposalreporttable/index.es.js +108 -108
- package/disposalreporttablefilter/index.es.js +16 -17
- package/dropdown/index.es.js +120 -117
- package/editor/index.es.js +51 -48
- package/fieldwrapper/index.es.js +7 -7
- package/fileupload/index.es.js +44 -40
- package/hardwaresync/index.es.js +12 -12
- package/headercell/index.es.js +4 -4
- package/icon/index.es.js +36 -35
- package/imagecompressor/index.es.js +155 -155
- package/imageinputinfo/index.es.js +13 -13
- package/inlinemessage/index.es.js +12 -12
- package/inputbadge/index.es.js +42 -43
- package/inputnumber/index.es.js +7 -7
- package/inputpassword/index.es.js +9 -9
- package/inputrangenumber/index.es.js +16 -16
- package/inputsearch/index.es.js +27 -27
- package/inputtext/index.es.js +33 -33
- package/litedropdown/index.es.js +47 -39
- package/loading-page-dark-e0SrRAHc.js +4 -0
- package/loading-page-dark-mz8tLHZ3.js +1 -0
- package/loading-table-dark-BGh0tAPM.js +4 -0
- package/loading-table-dark-Cky7AB_C.js +1 -0
- package/menuitem/index.es.js +27 -26
- package/multirow/index.es.js +17 -16
- package/multiselect/index.es.js +86 -83
- package/no-data-dark-DERIJ8Ml.js +1 -0
- package/no-data-dark-nK4e4RAM.js +4 -0
- package/package.json +1 -1
- package/plugins/WangsVue.es.js +11 -9
- package/plugins/basei18n.d.ts +2 -2
- package/plugins/basei18n.es.js +48 -42
- package/stats.html +1 -1
- package/steps/index.es.js +18 -16
- package/style.css +2 -2
- package/tabmenu/index.es.js +14 -9
- package/tagtype/index.es.js +35 -32
- package/textarea/index.es.js +3 -3
- package/toggledarkmode/store/index.d.ts +7 -0
- package/toggleswitch/index.es.js +3 -3
- package/transactionroles/index.es.js +4 -1
- package/treesearchinput/index.es.js +15 -15
- package/username/index.es.js +37 -37
- package/utils/baseToast.util.es.js +23 -22
- package/utils/index.es.js +1 -2
- package/utils/textFormatter.util.d.ts +32 -0
- package/utils/textFormatter.util.es.js +38 -10
- package/validatormessage/index.es.js +1 -1
- package/vendor/dompurify/dist/purify.es.es.js +553 -0
- package/wangsvue-fats.d.ts +2 -1
- package/wangsvue-fats.es.js +190 -186
- package/wangsvue-fats.esm.browser.js +22487 -21781
- package/wangsvue-fats.system.js +72 -71
package/datepicker/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, onMounted as D, reactive as M, shallowRef as f, computed as N, watch as
|
|
1
|
+
import { defineComponent as B, onMounted as D, reactive as M, shallowRef as f, computed as N, watch as y, createElementBlock as s, openBlock as i, Fragment as _, createVNode as o, withCtx as u, unref as c, createCommentVNode as v, createElementVNode as E, renderSlot as h, renderList as S, toDisplayString as F } from "vue";
|
|
2
2
|
import { u as P } from "../vendor/vee-validate/dist/vee-validate.esm.es.js";
|
|
3
3
|
import { u as R } from "../plugins/basei18n.es.js";
|
|
4
4
|
import { s as T } from "../vendor/primevue/inputtext/inputtext.esm.es.js";
|
|
@@ -35,7 +35,7 @@ const O = {
|
|
|
35
35
|
n.fieldName ?? "date",
|
|
36
36
|
(e) => {
|
|
37
37
|
var t;
|
|
38
|
-
return !(e != null && e.length) && n.mandatory ?
|
|
38
|
+
return !(e != null && e.length) && n.mandatory ? m(((t = n.errorMessage) == null ? void 0 : t.empty) ?? "You must pick a date") : !0;
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
initialValue: n.initialValue ?? []
|
|
@@ -43,18 +43,18 @@ const O = {
|
|
|
43
43
|
)
|
|
44
44
|
);
|
|
45
45
|
});
|
|
46
|
-
const { t:
|
|
46
|
+
const { t: m } = R(), a = M({ value: [] }), d = f(), p = f(), b = N(() => {
|
|
47
47
|
const e = a.value[0], t = a.value[1];
|
|
48
48
|
return t && e !== t ? e + " - " + t : e == null ? void 0 : e.toString();
|
|
49
|
-
}),
|
|
49
|
+
}), x = Array.from({ length: 31 }, (e, t) => t + 1), V = (e) => {
|
|
50
50
|
var l;
|
|
51
51
|
const t = a.value[0], r = a.value[1];
|
|
52
|
-
t != null && r != null && t === r ? (a.value[1] = e, (l =
|
|
52
|
+
t != null && r != null && t === r ? (a.value[1] = e, (l = d.value) == null || l.hide()) : a.value = [e, e], a.value.sort((w, C) => w - C);
|
|
53
53
|
}, g = (e) => {
|
|
54
54
|
var r, l;
|
|
55
55
|
const t = ((r = p.value) == null ? void 0 : r.$el) || null;
|
|
56
|
-
t &&
|
|
57
|
-
},
|
|
56
|
+
t && d.value && t.focus(), (l = d.value) == null || l.toggle(e);
|
|
57
|
+
}, $ = (e) => {
|
|
58
58
|
var t;
|
|
59
59
|
if (e.key === "Enter" || e.key === " ") {
|
|
60
60
|
e.preventDefault();
|
|
@@ -66,7 +66,7 @@ const O = {
|
|
|
66
66
|
g(l);
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
|
-
return
|
|
69
|
+
return y(
|
|
70
70
|
() => n.initialValue,
|
|
71
71
|
() => {
|
|
72
72
|
var e;
|
|
@@ -75,34 +75,34 @@ const O = {
|
|
|
75
75
|
{
|
|
76
76
|
once: !0
|
|
77
77
|
}
|
|
78
|
-
),
|
|
78
|
+
), y(
|
|
79
79
|
() => n.modelValue,
|
|
80
80
|
(e) => {
|
|
81
81
|
a.value = e ?? [];
|
|
82
82
|
}
|
|
83
|
-
), (e, t) => (i(), s(
|
|
83
|
+
), (e, t) => (i(), s(_, null, [
|
|
84
84
|
o(A, {
|
|
85
|
-
label: e.label
|
|
85
|
+
label: e.label,
|
|
86
86
|
mandatory: e.mandatory
|
|
87
87
|
}, {
|
|
88
|
-
default:
|
|
88
|
+
default: u(() => [
|
|
89
89
|
o(K, {
|
|
90
90
|
invalid: !!a.errorMessage,
|
|
91
91
|
onClick: g,
|
|
92
92
|
class: "grid grid-cols-[1fr,max-content] !items-center gap-1 px-3 py-1"
|
|
93
93
|
}, {
|
|
94
|
-
default:
|
|
94
|
+
default: u(() => [
|
|
95
95
|
o(c(T), {
|
|
96
96
|
ref_key: "inputtext",
|
|
97
97
|
ref: p,
|
|
98
|
-
"model-value":
|
|
99
|
-
placeholder: c(
|
|
100
|
-
onKeydown:
|
|
98
|
+
"model-value": b.value,
|
|
99
|
+
placeholder: c(m)("Select date"),
|
|
100
|
+
onKeydown: $,
|
|
101
101
|
class: "!p-0",
|
|
102
102
|
readonly: ""
|
|
103
103
|
}, null, 8, ["model-value", "placeholder"]),
|
|
104
104
|
o(I, {
|
|
105
|
-
class: "w-4 h-4 shrink-0 !text-general-500",
|
|
105
|
+
class: "w-4 h-4 shrink-0 !text-general-500 dark:!text-white",
|
|
106
106
|
"data-ts-section": "inputtrigger",
|
|
107
107
|
icon: "calendar"
|
|
108
108
|
})
|
|
@@ -118,7 +118,7 @@ const O = {
|
|
|
118
118
|
}, 8, ["label", "mandatory"]),
|
|
119
119
|
o(c(j), {
|
|
120
120
|
ref_key: "panel",
|
|
121
|
-
ref:
|
|
121
|
+
ref: d,
|
|
122
122
|
pt: {
|
|
123
123
|
content: {
|
|
124
124
|
class: "p-6"
|
|
@@ -126,23 +126,23 @@ const O = {
|
|
|
126
126
|
},
|
|
127
127
|
class: "border-none !mt-0 !shadow-panel"
|
|
128
128
|
}, {
|
|
129
|
-
default:
|
|
129
|
+
default: u(() => [
|
|
130
130
|
e.$slots.header ? (i(), s("div", O, [
|
|
131
131
|
h(e.$slots, "header")
|
|
132
|
-
])) :
|
|
132
|
+
])) : v("", !0),
|
|
133
133
|
E("div", Y, [
|
|
134
|
-
(i(!0), s(
|
|
134
|
+
(i(!0), s(_, null, S(c(x), (r) => (i(), s("span", {
|
|
135
135
|
key: r,
|
|
136
136
|
"aria-selected": a.value.includes(r),
|
|
137
137
|
"data-in-range": a.value[0] < r && r < a.value[1],
|
|
138
|
-
onClick: (l) =>
|
|
139
|
-
class: "text-xs text-general-800 bg-white hover:bg-primary-100 rounded-[20px] [&[data-in-range='true']]:bg-primary-200 [&[data-in-range='true']]:text-general-800 [&[data-in-range='true']]:rounded-[0] [&[aria-selected='true']]:bg-primary-500 [&[aria-selected='true']]:text-white text-center p-2 cursor-pointer",
|
|
138
|
+
onClick: (l) => V(r),
|
|
139
|
+
class: "text-xs text-general-800 dark:text-general-50 bg-white dark:bg-grayscale-900 hover:bg-primary-100 dark:hover:bg-general-900 rounded-[20px] [&[data-in-range='true']]:bg-primary-200 dark:[&[data-in-range='true']]:bg-primary-300 [&[data-in-range='true']]:text-general-800 dark:[&[data-in-range='true']]:text-general-50 [&[data-in-range='true']]:rounded-[0] [&[aria-selected='true']]:bg-primary-500 dark:[&[aria-selected='true']]:bg-primary-300 [&[aria-selected='true']]:text-white dark:[&[aria-selected='true']]:text-grayscale-900 text-center p-2 cursor-pointer",
|
|
140
140
|
"data-ts-section": "date"
|
|
141
141
|
}, F(r), 9, q))), 128))
|
|
142
142
|
]),
|
|
143
143
|
e.$slots.footer ? (i(), s("div", z, [
|
|
144
144
|
h(e.$slots, "footer")
|
|
145
|
-
])) :
|
|
145
|
+
])) : v("", !0)
|
|
146
146
|
]),
|
|
147
147
|
_: 3
|
|
148
148
|
}, 512)
|
package/daypicker/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as S, onMounted as B, reactive as N, shallowRef as f, computed as D, watch as v, createElementBlock as i, openBlock as d, Fragment as _, createVNode as n, withCtx as g, unref as u, createCommentVNode as h, createElementVNode as k, renderSlot as b, renderList as F, normalizeClass as T, toDisplayString as E } from "vue";
|
|
2
2
|
import { u as P } from "../vendor/vee-validate/dist/vee-validate.esm.es.js";
|
|
3
3
|
import { u as R } from "../plugins/basei18n.es.js";
|
|
4
4
|
import { s as j } from "../vendor/primevue/inputtext/inputtext.esm.es.js";
|
|
@@ -13,7 +13,7 @@ const Y = {
|
|
|
13
13
|
}, q = { class: "grid grid-cols-3 gap-y-4" }, A = ["aria-selected", "data-in-range", "onClick"], G = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "mt-2.5"
|
|
16
|
-
}, te = /* @__PURE__ */
|
|
16
|
+
}, te = /* @__PURE__ */ S({
|
|
17
17
|
__name: "DayPicker",
|
|
18
18
|
props: {
|
|
19
19
|
modelValue: {},
|
|
@@ -26,22 +26,22 @@ const Y = {
|
|
|
26
26
|
errorMessage: {}
|
|
27
27
|
},
|
|
28
28
|
emits: ["update:modelValue"],
|
|
29
|
-
setup(
|
|
30
|
-
const s =
|
|
31
|
-
|
|
29
|
+
setup(V) {
|
|
30
|
+
const s = V;
|
|
31
|
+
B(() => {
|
|
32
32
|
s.useValidator && Object.assign(
|
|
33
33
|
a,
|
|
34
34
|
P(
|
|
35
35
|
s.fieldName ?? "day",
|
|
36
36
|
(e) => {
|
|
37
37
|
var t;
|
|
38
|
-
return !(e != null && e.length) && s.mandatory ?
|
|
38
|
+
return !(e != null && e.length) && s.mandatory ? m(((t = s.errorMessage) == null ? void 0 : t.empty) ?? "You must pick a day") : !0;
|
|
39
39
|
},
|
|
40
40
|
{ initialValue: s.initialValue ?? [] }
|
|
41
41
|
)
|
|
42
42
|
);
|
|
43
43
|
});
|
|
44
|
-
const
|
|
44
|
+
const c = [
|
|
45
45
|
"Monday",
|
|
46
46
|
"Tuesday",
|
|
47
47
|
"Wednesday",
|
|
@@ -49,17 +49,17 @@ const Y = {
|
|
|
49
49
|
"Friday",
|
|
50
50
|
"Saturday",
|
|
51
51
|
"Sunday"
|
|
52
|
-
], { t:
|
|
53
|
-
const e =
|
|
52
|
+
], { t: m } = R(), a = N({ value: [] }), o = f(), y = f(), $ = D(() => {
|
|
53
|
+
const e = c[a.value[0]], t = c[a.value[1]];
|
|
54
54
|
return t && e !== t ? e + " - " + t : e;
|
|
55
|
-
}),
|
|
55
|
+
}), x = (e, t) => {
|
|
56
56
|
var p;
|
|
57
57
|
const r = a.value[0], l = a.value[1];
|
|
58
|
-
r != null && l != null && r === l ? (a.value[1] = t, (p =
|
|
59
|
-
},
|
|
58
|
+
r != null && l != null && r === l ? (a.value[1] = t, (p = o.value) == null || p.hide()) : a.value = [t, t], a.value.sort((C, M) => C - M);
|
|
59
|
+
}, w = (e) => {
|
|
60
60
|
var r, l;
|
|
61
61
|
const t = ((r = y.value) == null ? void 0 : r.$el) || null;
|
|
62
|
-
t &&
|
|
62
|
+
t && o.value && t.focus(), (l = o.value) == null || l.toggle(e);
|
|
63
63
|
};
|
|
64
64
|
return v(
|
|
65
65
|
() => s.initialValue,
|
|
@@ -75,28 +75,28 @@ const Y = {
|
|
|
75
75
|
(e) => {
|
|
76
76
|
a.value = e ?? [];
|
|
77
77
|
}
|
|
78
|
-
), (e, t) => (
|
|
78
|
+
), (e, t) => (d(), i(_, null, [
|
|
79
79
|
n(I, {
|
|
80
|
-
label: e.label
|
|
80
|
+
label: e.label,
|
|
81
81
|
mandatory: e.mandatory
|
|
82
82
|
}, {
|
|
83
83
|
default: g(() => [
|
|
84
84
|
n(O, {
|
|
85
85
|
invalid: !!a.errorMessage,
|
|
86
|
-
onClick:
|
|
86
|
+
onClick: w,
|
|
87
87
|
class: "grid grid-cols-[1fr,max-content] !items-center gap-1 px-3 py-1"
|
|
88
88
|
}, {
|
|
89
89
|
default: g(() => [
|
|
90
|
-
n(
|
|
90
|
+
n(u(j), {
|
|
91
91
|
ref_key: "inputtext",
|
|
92
92
|
ref: y,
|
|
93
93
|
"model-value": $.value,
|
|
94
|
-
placeholder:
|
|
94
|
+
placeholder: u(m)("Select day"),
|
|
95
95
|
class: "!p-0",
|
|
96
96
|
readonly: ""
|
|
97
97
|
}, null, 8, ["model-value", "placeholder"]),
|
|
98
98
|
n(L, {
|
|
99
|
-
class: "w-4 h-4 shrink-0 !text-general-500",
|
|
99
|
+
class: "w-4 h-4 shrink-0 !text-general-500 dark:!text-white",
|
|
100
100
|
"data-ts-section": "inputtrigger",
|
|
101
101
|
icon: "calendar"
|
|
102
102
|
})
|
|
@@ -110,9 +110,9 @@ const Y = {
|
|
|
110
110
|
]),
|
|
111
111
|
_: 1
|
|
112
112
|
}, 8, ["label", "mandatory"]),
|
|
113
|
-
n(
|
|
113
|
+
n(u(z), {
|
|
114
114
|
ref_key: "panel",
|
|
115
|
-
ref:
|
|
115
|
+
ref: o,
|
|
116
116
|
pt: {
|
|
117
117
|
content: {
|
|
118
118
|
class: "p-6"
|
|
@@ -121,21 +121,21 @@ const Y = {
|
|
|
121
121
|
class: "border-none !mt-0 !shadow-panel"
|
|
122
122
|
}, {
|
|
123
123
|
default: g(() => [
|
|
124
|
-
e.$slots.header ? (
|
|
125
|
-
|
|
124
|
+
e.$slots.header ? (d(), i("div", Y, [
|
|
125
|
+
b(e.$slots, "header")
|
|
126
126
|
])) : h("", !0),
|
|
127
127
|
k("div", q, [
|
|
128
|
-
(
|
|
128
|
+
(d(), i(_, null, F(c, (r, l) => k("span", {
|
|
129
129
|
key: r,
|
|
130
130
|
"aria-selected": a.value.includes(l),
|
|
131
|
-
class: T([{ "col-start-2": r === "Sunday" }, "text-xs text-general-800 bg-white hover:bg-primary-100 rounded-[20px] [&[data-in-range='true']]:bg-primary-200 [&[data-in-range='true']]:text-general-800 [&[data-in-range='true']]:rounded-[0] [&[aria-selected='true']]:bg-primary-500 [&[aria-selected='true']]:text-white text-center p-2 cursor-pointer"]),
|
|
131
|
+
class: T([{ "col-start-2": r === "Sunday" }, "text-xs text-general-800 dark:text-general-50 bg-white dark:bg-grayscale-900 hover:bg-primary-100 dark:hover:bg-general-900 rounded-[20px] [&[data-in-range='true']]:bg-primary-200 dark:[&[data-in-range='true']]:bg-primary-300 [&[data-in-range='true']]:text-general-800 dark:[&[data-in-range='true']]:text-general-50 [&[data-in-range='true']]:rounded-[0] [&[aria-selected='true']]:bg-primary-500 dark:[&[aria-selected='true']]:bg-primary-300 [&[aria-selected='true']]:text-white dark:[&[aria-selected='true']]:text-grayscale-900 text-center p-2 cursor-pointer"]),
|
|
132
132
|
"data-in-range": a.value[0] < l && l < a.value[1],
|
|
133
|
-
onClick: (p) =>
|
|
133
|
+
onClick: (p) => x(r, l),
|
|
134
134
|
"data-ts-section": "day"
|
|
135
|
-
}, E(
|
|
135
|
+
}, E(u(m)(r)), 11, A)), 64))
|
|
136
136
|
]),
|
|
137
|
-
e.$slots.footer ? (
|
|
138
|
-
|
|
137
|
+
e.$slots.footer ? (d(), i("div", G, [
|
|
138
|
+
b(e.$slots, "footer")
|
|
139
139
|
])) : h("", !0)
|
|
140
140
|
]),
|
|
141
141
|
_: 3
|
package/dialog/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { s as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as $, inject as y, createBlock as v, openBlock as B, unref as s, mergeProps as g, createSlots as C, withCtx as t, renderSlot as l } from "vue";
|
|
2
|
+
import { s as b } from "../vendor/primevue/dialog/dialog.esm.es.js";
|
|
3
|
+
const h = /* @__PURE__ */ $({
|
|
4
4
|
__name: "Dialog",
|
|
5
5
|
props: {
|
|
6
6
|
header: { default: void 0 },
|
|
@@ -38,45 +38,47 @@ const A = /* @__PURE__ */ u({
|
|
|
38
38
|
footerClass: {}
|
|
39
39
|
},
|
|
40
40
|
emits: ["update:visible", "hide", "afterHide", "show", "maximize", "unmaximize", "dragend"],
|
|
41
|
-
setup(
|
|
42
|
-
const
|
|
41
|
+
setup(u) {
|
|
42
|
+
const d = y("preset", {}).dialog, i = u, m = () => {
|
|
43
43
|
setTimeout(() => {
|
|
44
44
|
document.querySelectorAll('[data-pc-name="dialog"]').length && document.body.classList.add("p-overflow-hidden");
|
|
45
45
|
}, 10);
|
|
46
46
|
};
|
|
47
47
|
return (e, o) => {
|
|
48
|
-
var
|
|
49
|
-
return
|
|
48
|
+
var r, n, p, f;
|
|
49
|
+
return B(), v(s(b), g(e.$props, {
|
|
50
|
+
footer: e.$t(i.footer),
|
|
51
|
+
header: e.$t(i.header),
|
|
50
52
|
pt: {
|
|
51
53
|
root: {
|
|
52
54
|
class: [
|
|
53
|
-
...(
|
|
55
|
+
...(r = s(d)) == null ? void 0 : r.root({ state: {} }).class,
|
|
54
56
|
...Array.isArray(e.$props.class) ? e.$props.class : [e.$props.class]
|
|
55
57
|
]
|
|
56
58
|
},
|
|
57
59
|
header: {
|
|
58
60
|
class: [
|
|
59
|
-
...(n = s(
|
|
61
|
+
...(n = s(d)) == null ? void 0 : n.header.class,
|
|
60
62
|
...Array.isArray(e.$props.headerClass) ? e.$props.headerClass : [e.$props.headerClass]
|
|
61
63
|
],
|
|
62
64
|
"data-wv-section": "dialogheader"
|
|
63
65
|
},
|
|
64
66
|
content: {
|
|
65
67
|
class: [
|
|
66
|
-
...(
|
|
68
|
+
...(p = s(d)) == null ? void 0 : p.content({ state: {}, instance: {} }).class,
|
|
67
69
|
...Array.isArray(e.$props.contentClass) ? e.$props.contentClass : [e.$props.contentClass]
|
|
68
70
|
]
|
|
69
71
|
},
|
|
70
72
|
footer: {
|
|
71
73
|
class: [
|
|
72
|
-
...(
|
|
74
|
+
...(f = s(d)) == null ? void 0 : f.footer.class,
|
|
73
75
|
...Array.isArray(e.$props.footerClass) ? e.$props.footerClass : [e.$props.footerClass]
|
|
74
76
|
]
|
|
75
77
|
},
|
|
76
78
|
...e.$props.pt
|
|
77
79
|
},
|
|
78
80
|
onAfterHide: o[0] || (o[0] = (a) => {
|
|
79
|
-
e.$emit("afterHide"),
|
|
81
|
+
e.$emit("afterHide"), m();
|
|
80
82
|
}),
|
|
81
83
|
onDragend: o[1] || (o[1] = (a) => e.$emit("dragend", a)),
|
|
82
84
|
onHide: o[2] || (o[2] = (a) => e.$emit("hide")),
|
|
@@ -84,7 +86,7 @@ const A = /* @__PURE__ */ u({
|
|
|
84
86
|
onShow: o[4] || (o[4] = (a) => e.$emit("show")),
|
|
85
87
|
onUnmaximize: o[5] || (o[5] = (a) => e.$emit("unmaximize", a)),
|
|
86
88
|
"onUpdate:visible": o[6] || (o[6] = (a) => e.$emit("update:visible", a))
|
|
87
|
-
}),
|
|
89
|
+
}), C({
|
|
88
90
|
default: t(() => [
|
|
89
91
|
l(e.$slots, "default")
|
|
90
92
|
]),
|
|
@@ -118,10 +120,10 @@ const A = /* @__PURE__ */ u({
|
|
|
118
120
|
]),
|
|
119
121
|
key: "3"
|
|
120
122
|
} : void 0
|
|
121
|
-
]), 1040, ["pt"]);
|
|
123
|
+
]), 1040, ["footer", "header", "pt"]);
|
|
122
124
|
};
|
|
123
125
|
}
|
|
124
126
|
});
|
|
125
127
|
export {
|
|
126
|
-
|
|
128
|
+
h as _
|
|
127
129
|
};
|