@quoreadmin/ui 1.7.12 → 1.7.14
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/index.css +1 -1
- package/dist/index140.js +2 -2
- package/dist/index142.js +1 -1
- package/dist/index144.js +4 -4
- package/dist/index172.js +14 -14
- package/dist/index173.js +3 -3
- package/dist/index176.js +4 -4
- package/dist/index183.js +10 -10
- package/dist/index185.js +10 -10
- package/dist/index187.js +36 -1190
- package/dist/index188.js +46 -0
- package/dist/index189.js +1077 -5825
- package/dist/index191.js +5922 -19
- package/dist/index192.js +199 -10
- package/dist/index193.js +35 -36
- package/dist/index194.js +17 -43
- package/dist/index20.js +15 -14
- package/dist/index202.js +4 -4
- package/dist/index203.js +67 -106
- package/dist/index204.js +395 -26
- package/dist/index205.js +21 -406
- package/dist/index206.js +33 -80
- package/dist/index207.js +115 -19
- package/dist/index208.js +31 -83
- package/dist/index209.js +26 -20
- package/dist/index210.js +35 -19
- package/dist/index211.js +9 -20
- package/dist/index212.js +18 -19
- package/dist/index213.js +10 -22
- package/dist/index214.js +10 -22
- package/dist/index215.js +50 -19
- package/dist/index216.js +42 -835
- package/dist/index217.js +3 -701
- package/dist/index218.js +38 -175
- package/dist/index219.js +21 -22
- package/dist/index220.js +160 -19
- package/dist/index221.js +4 -4
- package/dist/index222.js +20 -3
- package/dist/index223.js +21 -186
- package/dist/index224.js +168 -102
- package/dist/index225.js +49 -140
- package/dist/index226.js +34 -1223
- package/dist/index227.js +39 -19
- package/dist/index228.js +126 -21
- package/dist/index229.js +37 -19
- package/dist/index230.js +80 -22
- package/dist/index231.js +13 -22
- package/dist/index232.js +12 -12
- package/dist/index233.js +9 -9
- package/dist/index234.js +20 -2
- package/dist/index235.js +161 -2
- package/dist/index236.js +224 -157
- package/dist/index237.js +31 -222
- package/dist/index238.js +10 -37
- package/dist/index239.js +22 -10
- package/dist/index240.js +21 -21
- package/dist/index241.js +19 -32
- package/dist/index242.js +830 -110
- package/dist/index243.js +696 -30
- package/dist/index244.js +176 -26
- package/dist/index245.js +21 -35
- package/dist/index246.js +20 -9
- package/dist/index247.js +19 -18
- package/dist/index248.js +3 -10
- package/dist/index249.js +186 -9
- package/dist/index250.js +130 -48
- package/dist/index251.js +1218 -38
- package/dist/index252.js +19 -3
- package/dist/index253.js +21 -38
- package/dist/index254.js +22 -21
- package/dist/index255.js +20 -13
- package/dist/index256.js +19 -198
- package/dist/index257.js +18 -68
- package/dist/index258.js +2 -34
- package/dist/index259.js +2 -40
- package/dist/index260.js +6 -6
- package/dist/index261.js +1 -1
- package/dist/index262.js +1 -1
- package/dist/index275.js +2 -2
- package/dist/index277.js +8 -2
- package/dist/index280.js +46 -71
- package/dist/index281.js +79 -8
- package/dist/index282.js +25 -78
- package/dist/index283.js +12 -12
- package/dist/index284.js +22 -935
- package/dist/index285.js +16 -22
- package/dist/index286.js +17 -20
- package/dist/index287.js +23 -20
- package/dist/index288.js +2 -69
- package/dist/index289.js +3 -19
- package/dist/index290.js +27 -19
- package/dist/index291.js +63 -38
- package/dist/index292.js +16 -16
- package/dist/index293.js +935 -22
- package/dist/index294.js +22 -63
- package/dist/index295.js +12 -18
- package/dist/index296.js +11 -13
- package/dist/index297.js +68 -21
- package/dist/index298.js +17 -14
- package/dist/index299.js +16 -14
- package/dist/index300.js +22 -23
- package/dist/index301.js +22 -1518
- package/dist/index302.js +63 -386
- package/dist/index303.js +1275 -2488
- package/dist/index304.js +370 -70
- package/dist/index305.js +2396 -3435
- package/dist/index306.js +77 -51
- package/dist/index307.js +3768 -13
- package/dist/index308.js +55 -79
- package/dist/index309.js +15 -202
- package/dist/index310.js +70 -232
- package/dist/index311.js +202 -3
- package/dist/index312.js +240 -21
- package/dist/index331.js +8 -19
- package/dist/index332.js +12 -19
- package/dist/index333.js +51 -60
- package/dist/index334.js +12 -37
- package/dist/index335.js +13 -8
- package/dist/index336.js +57 -12
- package/dist/index337.js +48 -51
- package/dist/index338.js +28 -9
- package/dist/index339.js +2 -14
- package/dist/index340.js +5 -58
- package/dist/index341.js +2 -52
- package/dist/index342.js +22 -30
- package/dist/index343.js +41 -2
- package/dist/index344.js +2 -5
- package/dist/index345.js +11 -2
- package/dist/index346.js +19 -22
- package/dist/index347.js +14 -38
- package/dist/index348.js +10 -2
- package/dist/index349.js +9 -10
- package/dist/index350.js +2 -20
- package/dist/index351.js +8 -16
- package/dist/index352.js +10 -10
- package/dist/index353.js +13 -9
- package/dist/index354.js +20 -2
- package/dist/index355.js +20 -9
- package/dist/index356.js +63 -9
- package/dist/index357.js +37 -14
- package/dist/index371.js +98 -95
- package/dist/index372.js +90 -100
- package/dist/index373.js +98 -91
- package/package.json +1 -1
- package/dist/index190.js +0 -209
package/dist/index192.js
CHANGED
|
@@ -1,20 +1,209 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import l from "./index204.js";
|
|
2
|
+
import n from "./index258.js";
|
|
3
|
+
var u = {
|
|
4
|
+
name: "BaseColumn",
|
|
5
|
+
extends: l,
|
|
6
|
+
props: {
|
|
7
|
+
columnKey: {
|
|
8
|
+
type: null,
|
|
9
|
+
default: null
|
|
10
|
+
},
|
|
11
|
+
field: {
|
|
12
|
+
type: [String, Function],
|
|
13
|
+
default: null
|
|
14
|
+
},
|
|
15
|
+
sortField: {
|
|
16
|
+
type: [String, Function],
|
|
17
|
+
default: null
|
|
18
|
+
},
|
|
19
|
+
filterField: {
|
|
20
|
+
type: [String, Function],
|
|
21
|
+
default: null
|
|
22
|
+
},
|
|
23
|
+
dataType: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: "text"
|
|
26
|
+
},
|
|
27
|
+
sortable: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !1
|
|
30
|
+
},
|
|
31
|
+
header: {
|
|
32
|
+
type: null,
|
|
33
|
+
default: null
|
|
34
|
+
},
|
|
35
|
+
footer: {
|
|
36
|
+
type: null,
|
|
37
|
+
default: null
|
|
38
|
+
},
|
|
39
|
+
style: {
|
|
40
|
+
type: null,
|
|
41
|
+
default: null
|
|
42
|
+
},
|
|
43
|
+
class: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: null
|
|
46
|
+
},
|
|
47
|
+
headerStyle: {
|
|
48
|
+
type: null,
|
|
49
|
+
default: null
|
|
50
|
+
},
|
|
51
|
+
headerClass: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: null
|
|
54
|
+
},
|
|
55
|
+
bodyStyle: {
|
|
56
|
+
type: null,
|
|
57
|
+
default: null
|
|
58
|
+
},
|
|
59
|
+
bodyClass: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: null
|
|
62
|
+
},
|
|
63
|
+
footerStyle: {
|
|
64
|
+
type: null,
|
|
65
|
+
default: null
|
|
66
|
+
},
|
|
67
|
+
footerClass: {
|
|
68
|
+
type: String,
|
|
69
|
+
default: null
|
|
70
|
+
},
|
|
71
|
+
showFilterMenu: {
|
|
72
|
+
type: Boolean,
|
|
73
|
+
default: !0
|
|
74
|
+
},
|
|
75
|
+
showFilterOperator: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
default: !0
|
|
78
|
+
},
|
|
79
|
+
showClearButton: {
|
|
80
|
+
type: Boolean,
|
|
81
|
+
default: !0
|
|
82
|
+
},
|
|
83
|
+
showApplyButton: {
|
|
84
|
+
type: Boolean,
|
|
85
|
+
default: !0
|
|
86
|
+
},
|
|
87
|
+
showFilterMatchModes: {
|
|
88
|
+
type: Boolean,
|
|
89
|
+
default: !0
|
|
90
|
+
},
|
|
91
|
+
showAddButton: {
|
|
92
|
+
type: Boolean,
|
|
93
|
+
default: !0
|
|
94
|
+
},
|
|
95
|
+
filterMatchModeOptions: {
|
|
96
|
+
type: Array,
|
|
97
|
+
default: null
|
|
98
|
+
},
|
|
99
|
+
maxConstraints: {
|
|
100
|
+
type: Number,
|
|
101
|
+
default: 2
|
|
102
|
+
},
|
|
103
|
+
excludeGlobalFilter: {
|
|
104
|
+
type: Boolean,
|
|
105
|
+
default: !1
|
|
106
|
+
},
|
|
107
|
+
filterHeaderClass: {
|
|
108
|
+
type: String,
|
|
109
|
+
default: null
|
|
110
|
+
},
|
|
111
|
+
filterHeaderStyle: {
|
|
112
|
+
type: null,
|
|
113
|
+
default: null
|
|
114
|
+
},
|
|
115
|
+
filterMenuClass: {
|
|
116
|
+
type: String,
|
|
117
|
+
default: null
|
|
118
|
+
},
|
|
119
|
+
filterMenuStyle: {
|
|
120
|
+
type: null,
|
|
121
|
+
default: null
|
|
122
|
+
},
|
|
123
|
+
selectionMode: {
|
|
124
|
+
type: String,
|
|
125
|
+
default: null
|
|
126
|
+
},
|
|
127
|
+
expander: {
|
|
128
|
+
type: Boolean,
|
|
129
|
+
default: !1
|
|
130
|
+
},
|
|
131
|
+
colspan: {
|
|
132
|
+
type: Number,
|
|
133
|
+
default: null
|
|
134
|
+
},
|
|
135
|
+
rowspan: {
|
|
136
|
+
type: Number,
|
|
137
|
+
default: null
|
|
138
|
+
},
|
|
139
|
+
rowReorder: {
|
|
140
|
+
type: Boolean,
|
|
141
|
+
default: !1
|
|
142
|
+
},
|
|
143
|
+
rowReorderIcon: {
|
|
144
|
+
type: String,
|
|
145
|
+
default: void 0
|
|
146
|
+
},
|
|
147
|
+
reorderableColumn: {
|
|
148
|
+
type: Boolean,
|
|
149
|
+
default: !0
|
|
150
|
+
},
|
|
151
|
+
rowEditor: {
|
|
152
|
+
type: Boolean,
|
|
153
|
+
default: !1
|
|
154
|
+
},
|
|
155
|
+
frozen: {
|
|
156
|
+
type: Boolean,
|
|
157
|
+
default: !1
|
|
158
|
+
},
|
|
159
|
+
alignFrozen: {
|
|
160
|
+
type: String,
|
|
161
|
+
default: "left"
|
|
162
|
+
},
|
|
163
|
+
exportable: {
|
|
164
|
+
type: Boolean,
|
|
165
|
+
default: !0
|
|
166
|
+
},
|
|
167
|
+
exportHeader: {
|
|
168
|
+
type: String,
|
|
169
|
+
default: null
|
|
170
|
+
},
|
|
171
|
+
exportFooter: {
|
|
172
|
+
type: String,
|
|
173
|
+
default: null
|
|
174
|
+
},
|
|
175
|
+
filterMatchMode: {
|
|
176
|
+
type: String,
|
|
177
|
+
default: null
|
|
178
|
+
},
|
|
179
|
+
hidden: {
|
|
180
|
+
type: Boolean,
|
|
181
|
+
default: !1
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
style: n,
|
|
185
|
+
provide: function() {
|
|
186
|
+
return {
|
|
187
|
+
$parentInstance: this
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
}, r = {
|
|
191
|
+
name: "Column",
|
|
192
|
+
extends: u,
|
|
193
|
+
inheritAttrs: !1,
|
|
194
|
+
inject: ["$columns"],
|
|
6
195
|
mounted: function() {
|
|
7
|
-
var
|
|
8
|
-
(
|
|
196
|
+
var e;
|
|
197
|
+
(e = this.$columns) === null || e === void 0 || e.add(this.$);
|
|
9
198
|
},
|
|
10
199
|
unmounted: function() {
|
|
11
|
-
var
|
|
12
|
-
(
|
|
200
|
+
var e;
|
|
201
|
+
(e = this.$columns) === null || e === void 0 || e.delete(this.$);
|
|
13
202
|
},
|
|
14
203
|
render: function() {
|
|
15
204
|
return null;
|
|
16
205
|
}
|
|
17
206
|
};
|
|
18
207
|
export {
|
|
19
|
-
|
|
208
|
+
r as default
|
|
20
209
|
};
|
package/dist/index193.js
CHANGED
|
@@ -1,38 +1,37 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import r from "./index204.js";
|
|
2
|
+
import e from "./index259.js";
|
|
3
|
+
var o = {
|
|
4
|
+
name: "BaseColumnGroup",
|
|
5
|
+
extends: r,
|
|
6
|
+
props: {
|
|
7
|
+
type: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: null
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
style: e,
|
|
13
|
+
provide: function() {
|
|
14
|
+
return {
|
|
15
|
+
$parentInstance: this
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}, s = {
|
|
19
|
+
name: "ColumnGroup",
|
|
20
|
+
extends: o,
|
|
21
|
+
inheritAttrs: !1,
|
|
22
|
+
inject: ["$columnGroups"],
|
|
23
|
+
mounted: function() {
|
|
24
|
+
var n;
|
|
25
|
+
(n = this.$columnGroups) === null || n === void 0 || n.add(this.$);
|
|
26
|
+
},
|
|
27
|
+
unmounted: function() {
|
|
28
|
+
var n;
|
|
29
|
+
(n = this.$columnGroups) === null || n === void 0 || n.delete(this.$);
|
|
30
|
+
},
|
|
31
|
+
render: function() {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
20
35
|
export {
|
|
21
|
-
|
|
22
|
-
a as AxiosError,
|
|
23
|
-
m as AxiosHeaders,
|
|
24
|
-
d as Cancel,
|
|
25
|
-
i as CancelToken,
|
|
26
|
-
s as CanceledError,
|
|
27
|
-
p as HttpStatusCode,
|
|
28
|
-
l as VERSION,
|
|
29
|
-
n as all,
|
|
30
|
-
o as default,
|
|
31
|
-
A as formToJSON,
|
|
32
|
-
f as getAdapter,
|
|
33
|
-
x as isAxiosError,
|
|
34
|
-
t as isCancel,
|
|
35
|
-
E as mergeConfig,
|
|
36
|
-
C as spread,
|
|
37
|
-
c as toFormData
|
|
36
|
+
s as default
|
|
38
37
|
};
|
package/dist/index194.js
CHANGED
|
@@ -1,46 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
import T from "./index329.js";
|
|
18
|
-
function n(o) {
|
|
19
|
-
const t = new m(o), e = p(m.prototype.request, t);
|
|
20
|
-
return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
|
|
21
|
-
return n(i(o, s));
|
|
22
|
-
}, e;
|
|
23
|
-
}
|
|
24
|
-
const r = n(f);
|
|
25
|
-
r.Axios = m;
|
|
26
|
-
r.CanceledError = c;
|
|
27
|
-
r.CancelToken = d;
|
|
28
|
-
r.isCancel = u;
|
|
29
|
-
r.VERSION = x;
|
|
30
|
-
r.toFormData = C;
|
|
31
|
-
r.AxiosError = A;
|
|
32
|
-
r.Cancel = r.CanceledError;
|
|
33
|
-
r.all = function(t) {
|
|
34
|
-
return Promise.all(t);
|
|
1
|
+
import r from "./index204.js";
|
|
2
|
+
var o = {
|
|
3
|
+
name: "Row",
|
|
4
|
+
extends: r,
|
|
5
|
+
inject: ["$rows"],
|
|
6
|
+
mounted: function() {
|
|
7
|
+
var t;
|
|
8
|
+
(t = this.$rows) === null || t === void 0 || t.add(this.$);
|
|
9
|
+
},
|
|
10
|
+
unmounted: function() {
|
|
11
|
+
var t;
|
|
12
|
+
(t = this.$rows) === null || t === void 0 || t.delete(this.$);
|
|
13
|
+
},
|
|
14
|
+
render: function() {
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
35
17
|
};
|
|
36
|
-
r.spread = E;
|
|
37
|
-
r.isAxiosError = O;
|
|
38
|
-
r.mergeConfig = i;
|
|
39
|
-
r.AxiosHeaders = S;
|
|
40
|
-
r.formToJSON = (o) => l(a.isHTMLForm(o) ? new FormData(o) : o);
|
|
41
|
-
r.getAdapter = H.getAdapter;
|
|
42
|
-
r.HttpStatusCode = T;
|
|
43
|
-
r.default = r;
|
|
44
18
|
export {
|
|
45
|
-
|
|
19
|
+
o as default
|
|
46
20
|
};
|
package/dist/index20.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import b from "./index95.js";
|
|
2
|
-
import { resolveComponent as t, createElementBlock as l, openBlock as r, normalizeClass as p, createVNode as s, createCommentVNode as
|
|
2
|
+
import { resolveComponent as t, createElementBlock as l, openBlock as r, normalizeClass as p, createVNode as s, createCommentVNode as i, withCtx as m, createElementVNode as c, toDisplayString as n, createTextVNode as f } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import k from "./index62.js";
|
|
5
5
|
const g = {
|
|
@@ -13,7 +13,7 @@ const g = {
|
|
|
13
13
|
class: "custom-placeholder"
|
|
14
14
|
}, y = { class: "required-indicator" };
|
|
15
15
|
function C(e, a, q, D, E, w) {
|
|
16
|
-
const
|
|
16
|
+
const d = t("q-icon"), u = t("date-picker", !0);
|
|
17
17
|
return r(), l("div", {
|
|
18
18
|
class: p(["q-date-picker", { "has-floating-label": e.floatingLabel }, { "label-floated": e.isLabelFloated }, { "calendar-open": e.isOpen }])
|
|
19
19
|
}, [
|
|
@@ -40,33 +40,34 @@ function C(e, a, q, D, E, w) {
|
|
|
40
40
|
onClose: a[2] || (a[2] = (o) => e.isOpen = !1),
|
|
41
41
|
onOpen: a[3] || (a[3] = (o) => e.isOpen = !0)
|
|
42
42
|
}, {
|
|
43
|
-
"icon-clear":
|
|
44
|
-
s(
|
|
43
|
+
"icon-clear": m(() => [
|
|
44
|
+
s(d, {
|
|
45
45
|
icon: "close",
|
|
46
46
|
type: "",
|
|
47
47
|
color: "inkwell-10",
|
|
48
48
|
size: "sm"
|
|
49
49
|
})
|
|
50
50
|
]),
|
|
51
|
-
"icon-calendar":
|
|
52
|
-
s(
|
|
51
|
+
"icon-calendar": m(() => [
|
|
52
|
+
s(d, {
|
|
53
53
|
icon: "calendar",
|
|
54
|
-
color: "inkwell-10"
|
|
54
|
+
color: "inkwell-10",
|
|
55
|
+
size: "sm"
|
|
55
56
|
})
|
|
56
57
|
]),
|
|
57
58
|
_: 1
|
|
58
59
|
}, 8, ["id", "value", "class", "clearable", "disabled", "disabled-date", "format", "lang", "placeholder", "range", "type"]),
|
|
59
60
|
e.showFloatingLabel ? (r(), l("div", g, [
|
|
60
|
-
|
|
61
|
-
e.required ? (r(), l("span", $, "*" + n(e.$t("HC_REQUIRED")), 1)) :
|
|
62
|
-
])) :
|
|
61
|
+
c("span", v, n(e.placeholder), 1),
|
|
62
|
+
e.required ? (r(), l("span", $, "*" + n(e.$t("HC_REQUIRED")), 1)) : i("", !0)
|
|
63
|
+
])) : i("", !0),
|
|
63
64
|
e.showCustomPlaceholder ? (r(), l("div", h, [
|
|
64
65
|
f(n(e.placeholder), 1),
|
|
65
|
-
|
|
66
|
-
])) :
|
|
66
|
+
c("span", y, " *" + n(e.$t("HC_REQUIRED")), 1)
|
|
67
|
+
])) : i("", !0)
|
|
67
68
|
], 2);
|
|
68
69
|
}
|
|
69
|
-
const
|
|
70
|
+
const L = /* @__PURE__ */ k(b, [["render", C], ["__scopeId", "data-v-699e650b"]]);
|
|
70
71
|
export {
|
|
71
|
-
|
|
72
|
+
L as default
|
|
72
73
|
};
|
package/dist/index202.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Extension as u, isNodeEmpty as w, callOrReturn as v, getExtensionField as S, isNodeSelection as P } from "./index260.js";
|
|
2
2
|
import { Plugin as p, PluginKey as m } from "./index275.js";
|
|
3
|
-
import { dropCursor as z } from "./
|
|
4
|
-
import { Decoration as g, DecorationSet as f } from "./
|
|
5
|
-
import { gapCursor as N } from "./
|
|
6
|
-
import { history as E, redo as M, undo as O } from "./
|
|
3
|
+
import { dropCursor as z } from "./index310.js";
|
|
4
|
+
import { Decoration as g, DecorationSet as f } from "./index307.js";
|
|
5
|
+
import { gapCursor as N } from "./index311.js";
|
|
6
|
+
import { history as E, redo as M, undo as O } from "./index312.js";
|
|
7
7
|
u.create({
|
|
8
8
|
name: "characterCount",
|
|
9
9
|
addOptions() {
|
package/dist/index203.js
CHANGED
|
@@ -1,129 +1,90 @@
|
|
|
1
|
-
import { DomHandler as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
var
|
|
5
|
-
style:
|
|
1
|
+
import { DomHandler as r } from "./index170.js";
|
|
2
|
+
import p from "./index276.js";
|
|
3
|
+
import c from "./index277.js";
|
|
4
|
+
var f = p.extend({
|
|
5
|
+
style: c
|
|
6
6
|
});
|
|
7
|
-
function m(
|
|
8
|
-
|
|
9
|
-
return m = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
10
|
-
return typeof e;
|
|
11
|
-
} : function(e) {
|
|
12
|
-
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
13
|
-
}, m(o);
|
|
7
|
+
function m(e) {
|
|
8
|
+
return b(e) || y(e) || v(e) || h();
|
|
14
9
|
}
|
|
15
|
-
function
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var r = Object.getOwnPropertySymbols(o);
|
|
19
|
-
e && (r = r.filter(function(n) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(o, n).enumerable;
|
|
21
|
-
})), t.push.apply(t, r);
|
|
22
|
-
}
|
|
23
|
-
return t;
|
|
10
|
+
function h() {
|
|
11
|
+
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
12
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
24
13
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
Object.defineProperty(o, r, Object.getOwnPropertyDescriptor(t, r));
|
|
32
|
-
});
|
|
14
|
+
function v(e, t) {
|
|
15
|
+
if (e) {
|
|
16
|
+
if (typeof e == "string") return a(e, t);
|
|
17
|
+
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
18
|
+
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
19
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return a(e, t);
|
|
33
20
|
}
|
|
34
|
-
return o;
|
|
35
21
|
}
|
|
36
|
-
function
|
|
37
|
-
|
|
22
|
+
function y(e) {
|
|
23
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
38
24
|
}
|
|
39
|
-
function
|
|
40
|
-
|
|
41
|
-
return m(e) == "symbol" ? e : String(e);
|
|
25
|
+
function b(e) {
|
|
26
|
+
if (Array.isArray(e)) return a(e);
|
|
42
27
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
var r = t.call(o, e);
|
|
48
|
-
if (m(r) != "object") return r;
|
|
49
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
50
|
-
}
|
|
51
|
-
return (e === "string" ? String : Number)(o);
|
|
28
|
+
function a(e, t) {
|
|
29
|
+
(t == null || t > e.length) && (t = e.length);
|
|
30
|
+
for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];
|
|
31
|
+
return o;
|
|
52
32
|
}
|
|
53
|
-
var
|
|
54
|
-
mounted: function(
|
|
55
|
-
var
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
updated: function(e, t) {
|
|
59
|
-
var r = t.value || {}, n = r.disabled;
|
|
60
|
-
n && this.unbind(e);
|
|
33
|
+
var E = f.extend("ripple", {
|
|
34
|
+
mounted: function(t) {
|
|
35
|
+
var n, o = t == null || (n = t.$instance) === null || n === void 0 ? void 0 : n.$primevueConfig;
|
|
36
|
+
o && o.ripple && (this.create(t), this.bindEvents(t), t.setAttribute("data-pd-ripple", !0));
|
|
61
37
|
},
|
|
62
|
-
unmounted: function(
|
|
63
|
-
this.
|
|
38
|
+
unmounted: function(t) {
|
|
39
|
+
this.remove(t);
|
|
64
40
|
},
|
|
41
|
+
timeout: void 0,
|
|
65
42
|
methods: {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
bind: function(e, t) {
|
|
70
|
-
var r = this, n = t.value || {}, u = n.onFocusIn, l = n.onFocusOut;
|
|
71
|
-
e.$_pfocustrap_mutationobserver = new MutationObserver(function(c) {
|
|
72
|
-
c.forEach(function(f) {
|
|
73
|
-
if (f.type === "childList" && !e.contains(document.activeElement)) {
|
|
74
|
-
var d = function p(a) {
|
|
75
|
-
var i = s.isFocusableElement(a) ? s.isFocusableElement(a, r.getComputedSelector(e.$_pfocustrap_focusableselector)) ? a : s.getFirstFocusableElement(e, r.getComputedSelector(e.$_pfocustrap_focusableselector)) : s.getFirstFocusableElement(a);
|
|
76
|
-
return h.isNotEmpty(i) ? i : a.nextSibling && p(a.nextSibling);
|
|
77
|
-
};
|
|
78
|
-
s.focus(d(f.nextSibling));
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
}), e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_mutationobserver.observe(e, {
|
|
82
|
-
childList: !0
|
|
83
|
-
}), e.$_pfocustrap_focusinlistener = function(c) {
|
|
84
|
-
return u && u(c);
|
|
85
|
-
}, e.$_pfocustrap_focusoutlistener = function(c) {
|
|
86
|
-
return l && l(c);
|
|
87
|
-
}, e.addEventListener("focusin", e.$_pfocustrap_focusinlistener), e.addEventListener("focusout", e.$_pfocustrap_focusoutlistener);
|
|
43
|
+
bindEvents: function(t) {
|
|
44
|
+
t.addEventListener("mousedown", this.onMouseDown.bind(this));
|
|
88
45
|
},
|
|
89
|
-
|
|
90
|
-
|
|
46
|
+
unbindEvents: function(t) {
|
|
47
|
+
t.removeEventListener("mousedown", this.onMouseDown.bind(this));
|
|
91
48
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
49
|
+
create: function(t) {
|
|
50
|
+
var n = r.createElement("span", {
|
|
51
|
+
role: "presentation",
|
|
52
|
+
"aria-hidden": !0,
|
|
53
|
+
"data-p-ink": !0,
|
|
54
|
+
"data-p-ink-active": !1,
|
|
55
|
+
class: !this.isUnstyled() && this.cx("root"),
|
|
56
|
+
onAnimationEnd: this.onAnimationEnd.bind(this),
|
|
57
|
+
"p-bind": this.ptm("root")
|
|
97
58
|
});
|
|
59
|
+
t.appendChild(n), this.$el = n;
|
|
98
60
|
},
|
|
99
|
-
|
|
100
|
-
var
|
|
101
|
-
|
|
61
|
+
remove: function(t) {
|
|
62
|
+
var n = this.getInk(t);
|
|
63
|
+
n && (this.unbindEvents(t), n.removeEventListener("animationend", this.onAnimationEnd), n.remove());
|
|
102
64
|
},
|
|
103
|
-
|
|
104
|
-
var
|
|
105
|
-
|
|
65
|
+
onMouseDown: function(t) {
|
|
66
|
+
var n = this, o = t.currentTarget, i = this.getInk(o);
|
|
67
|
+
if (!(!i || getComputedStyle(i, null).display === "none")) {
|
|
68
|
+
if (!this.isUnstyled() && r.removeClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"), !r.getHeight(i) && !r.getWidth(i)) {
|
|
69
|
+
var s = Math.max(r.getOuterWidth(o), r.getOuterHeight(o));
|
|
70
|
+
i.style.height = s + "px", i.style.width = s + "px";
|
|
71
|
+
}
|
|
72
|
+
var u = r.getOffset(o), d = t.pageX - u.left + document.body.scrollTop - r.getWidth(i) / 2, l = t.pageY - u.top + document.body.scrollLeft - r.getHeight(i) / 2;
|
|
73
|
+
i.style.top = l + "px", i.style.left = d + "px", !this.isUnstyled() && r.addClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
|
|
74
|
+
i && (!n.isUnstyled() && r.removeClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"));
|
|
75
|
+
}, 401);
|
|
76
|
+
}
|
|
106
77
|
},
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
s.focus(u);
|
|
78
|
+
onAnimationEnd: function(t) {
|
|
79
|
+
this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && r.removeClass(t.currentTarget, "p-ink-active"), t.currentTarget.setAttribute("data-p-ink-active", "false");
|
|
110
80
|
},
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
return
|
|
114
|
-
|
|
115
|
-
tabIndex: l,
|
|
116
|
-
role: "presentation",
|
|
117
|
-
"aria-hidden": !0,
|
|
118
|
-
"data-p-hidden-accessible": !0,
|
|
119
|
-
"data-p-hidden-focusable": !0,
|
|
120
|
-
onFocus: _?.bind(r)
|
|
121
|
-
});
|
|
122
|
-
}, i = a(this.onFirstHiddenElementFocus), b = a(this.onLastHiddenElementFocus);
|
|
123
|
-
i.$_pfocustrap_lasthiddenfocusableelement = b, i.$_pfocustrap_focusableselector = f, i.setAttribute("data-pc-section", "firstfocusableelement"), b.$_pfocustrap_firsthiddenfocusableelement = i, b.$_pfocustrap_focusableselector = p, b.setAttribute("data-pc-section", "lastfocusableelement"), e.prepend(i), e.append(b);
|
|
81
|
+
getInk: function(t) {
|
|
82
|
+
return t && t.children ? m(t.children).find(function(n) {
|
|
83
|
+
return r.getAttribute(n, "data-pc-name") === "ripple";
|
|
84
|
+
}) : void 0;
|
|
124
85
|
}
|
|
125
86
|
}
|
|
126
87
|
});
|
|
127
88
|
export {
|
|
128
|
-
|
|
89
|
+
E as default
|
|
129
90
|
};
|