@quoreadmin/ui 1.10.21 → 1.10.23
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/index182.js +14 -14
- package/dist/index183.js +3 -3
- package/dist/index186.js +4 -4
- package/dist/index193.js +10 -10
- package/dist/index194.js +15 -0
- package/dist/index195.js +10 -10
- package/dist/index198.js +17 -17
- package/dist/index201.js +28 -28
- package/dist/index202.js +2 -2
- package/dist/index203.js +2 -2
- package/dist/index204.js +1 -1
- package/dist/index206.js +2 -2
- package/dist/index208.js +14 -14
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +3 -3
- package/dist/index212.js +6 -6
- package/dist/index213.js +84 -29
- package/dist/index214.js +400 -109
- package/dist/index215.js +22 -36
- package/dist/index216.js +33 -26
- package/dist/index217.js +111 -31
- package/dist/index218.js +35 -50
- package/dist/index219.js +26 -43
- package/dist/index220.js +35 -3
- package/dist/index221.js +51 -9
- package/dist/index222.js +42 -18
- package/dist/index223.js +4 -10
- package/dist/index224.js +9 -10
- package/dist/index225.js +18 -38
- package/dist/index226.js +10 -21
- package/dist/index227.js +10 -88
- package/dist/index228.js +35 -403
- package/dist/index229.js +21 -22
- package/dist/index230.js +156 -122
- package/dist/index231.js +225 -35
- package/dist/index232.js +37 -80
- package/dist/index233.js +10 -20
- package/dist/index234.js +160 -19
- package/dist/index235.js +10 -10
- package/dist/index236.js +11 -11
- package/dist/index237.js +15 -13
- package/dist/index238.js +194 -156
- package/dist/index239.js +66 -224
- package/dist/index240.js +34 -37
- package/dist/index241.js +39 -9
- package/dist/index242.js +3624 -149
- package/dist/index243.js +55 -20
- package/dist/index244.js +77 -22
- package/dist/index245.js +43 -190
- package/dist/index246.js +211 -66
- package/dist/index247.js +9 -33
- package/dist/index248.js +53 -36
- package/dist/index249.js +61 -22
- package/dist/index250.js +54 -22
- package/dist/index251.js +75 -20
- package/dist/index252.js +681 -791
- package/dist/index253.js +33 -693
- package/dist/index254.js +56 -168
- package/dist/index255.js +11 -22
- package/dist/index256.js +705 -20
- package/dist/index257.js +820 -20
- package/dist/index258.js +127 -3
- package/dist/index259.js +24 -173
- package/dist/index260.js +78 -131
- package/dist/index261.js +20 -1223
- package/dist/index262.js +9 -9
- package/dist/index263.js +13 -15
- package/dist/index264.js +13 -15
- package/dist/index265.js +15 -22
- package/dist/index266.js +15 -13
- package/dist/index267.js +12 -12
- package/dist/index268.js +836 -2
- package/dist/index269.js +702 -2
- package/dist/index270.js +170 -3630
- package/dist/index271.js +22 -55
- package/dist/index272.js +20 -77
- package/dist/index273.js +20 -52
- package/dist/index274.js +3 -215
- package/dist/index275.js +187 -10
- package/dist/index276.js +128 -52
- package/dist/index277.js +1214 -52
- package/dist/index278.js +20 -54
- package/dist/index279.js +22 -75
- package/dist/index280.js +21 -725
- package/dist/index281.js +29 -42
- package/dist/index282.js +20 -64
- package/dist/index283.js +20 -11
- package/dist/index284.js +2 -705
- package/dist/index285.js +2 -820
- package/dist/index290.js +54 -2
- package/dist/index291.js +1 -1
- package/dist/index292.js +25 -53
- package/dist/index293.js +15 -19
- package/dist/index294.js +9 -9
- package/dist/index295.js +16 -22
- package/dist/index296.js +15 -14
- package/dist/index297.js +21 -15
- package/dist/index298.js +1534 -23
- package/dist/index299.js +386 -3
- package/dist/index300.js +2727 -23
- package/dist/index301.js +82 -75
- package/dist/index302.js +3792 -22
- package/dist/index303.js +56 -931
- package/dist/index304.js +15 -22
- package/dist/index305.js +83 -19
- package/dist/index306.js +202 -20
- package/dist/index307.js +241 -64
- package/dist/index308.js +2 -19
- package/dist/index309.js +76 -16
- package/dist/index310.js +16 -16
- package/dist/index311.js +935 -22
- package/dist/index312.js +22 -63
- package/dist/index313.js +19 -261
- package/dist/index314.js +19 -5
- package/dist/index315.js +63 -134
- package/dist/index316.js +19 -73
- package/dist/index317.js +17 -85
- package/dist/index318.js +21 -28
- package/dist/index319.js +21 -15
- package/dist/index320.js +63 -75
- package/dist/index321.js +261 -3
- package/dist/index322.js +6 -2
- package/dist/index323.js +134 -77
- package/dist/index324.js +69 -49
- package/dist/index325.js +86 -5
- package/dist/index326.js +28 -4
- package/dist/index327.js +14 -177
- package/dist/index328.js +68 -56
- package/dist/index329.js +4 -75
- package/dist/index330.js +2 -1534
- package/dist/index331.js +73 -376
- package/dist/index332.js +48 -2726
- package/dist/index333.js +4 -84
- package/dist/index334.js +4 -3791
- package/dist/index335.js +170 -51
- package/dist/index336.js +62 -14
- package/dist/index337.js +75 -84
- package/dist/index338.js +3 -202
- package/dist/index339.js +21 -240
- package/dist/index341.js +19 -8
- package/dist/index342.js +19 -12
- package/dist/index343.js +60 -51
- package/dist/index344.js +37 -12
- package/dist/index345.js +18 -13
- package/dist/index346.js +54 -55
- package/dist/index347.js +27 -50
- package/dist/index348.js +6 -30
- package/dist/index349.js +52 -2
- package/dist/index350.js +6 -4
- package/dist/index351.js +12 -2
- package/dist/index352.js +6 -22
- package/dist/index353.js +27 -40
- package/dist/index354.js +2 -2
- package/dist/index355.js +69 -10
- package/dist/index356.js +165 -18
- package/dist/index357.js +9 -10
- package/dist/index358.js +13 -10
- package/dist/index359.js +53 -15
- package/dist/index360.js +12 -2
- package/dist/index361.js +14 -9
- package/dist/index362.js +57 -9
- package/dist/index363.js +52 -14
- package/dist/index364.js +30 -19
- package/dist/index365.js +2 -20
- package/dist/index366.js +5 -64
- package/dist/index367.js +2 -37
- package/dist/index368.js +23 -19
- package/dist/index369.js +40 -56
- package/dist/index370.js +2 -29
- package/dist/index371.js +11 -7
- package/dist/index372.js +17 -49
- package/dist/index373.js +9 -6
- package/dist/index374.js +10 -12
- package/dist/index375.js +16 -6
- package/dist/index376.js +2 -28
- package/dist/index377.js +9 -2
- package/dist/index378.js +10 -70
- package/dist/index379.js +12 -165
- package/dist/index38.js +2 -2
- package/dist/index380.js +100 -16
- package/dist/index381.js +90 -30
- package/dist/index382.js +98 -11
- package/dist/index383.js +17 -4
- package/dist/index384.js +30 -3
- package/dist/index385.js +11 -13
- package/dist/index386.js +4 -7
- package/dist/index387.js +3 -11
- package/dist/index388.js +13 -5
- package/dist/index389.js +7 -33
- package/dist/index390.js +11 -30
- package/dist/index391.js +5 -28
- package/dist/index392.js +33 -61
- package/dist/index393.js +29 -96
- package/dist/index394.js +26 -99
- package/dist/index395.js +61 -91
- package/dist/index396.js +1 -1
- package/dist/index401.js +1 -1
- package/dist/index402.js +2 -2
- package/dist/src/components/icon/icon.stories.d.ts +1 -0
- package/package.json +1 -1
package/dist/index258.js
CHANGED
|
@@ -1,5 +1,129 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { DomHandler as s, ObjectUtils as h } from "./index180.js";
|
|
2
|
+
import E from "./index286.js";
|
|
3
|
+
import $ from "./index308.js";
|
|
4
|
+
var g = E.extend({
|
|
5
|
+
style: $
|
|
6
|
+
});
|
|
7
|
+
function m(o) {
|
|
8
|
+
"@babel/helpers - typeof";
|
|
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);
|
|
14
|
+
}
|
|
15
|
+
function v(o, e) {
|
|
16
|
+
var t = Object.keys(o);
|
|
17
|
+
if (Object.getOwnPropertySymbols) {
|
|
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;
|
|
24
|
+
}
|
|
25
|
+
function F(o) {
|
|
26
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
27
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
|
28
|
+
e % 2 ? v(Object(t), !0).forEach(function(r) {
|
|
29
|
+
S(o, r, t[r]);
|
|
30
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : v(Object(t)).forEach(function(r) {
|
|
31
|
+
Object.defineProperty(o, r, Object.getOwnPropertyDescriptor(t, r));
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
return o;
|
|
35
|
+
}
|
|
36
|
+
function S(o, e, t) {
|
|
37
|
+
return e = y(e), e in o ? Object.defineProperty(o, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = t, o;
|
|
38
|
+
}
|
|
39
|
+
function y(o) {
|
|
40
|
+
var e = O(o, "string");
|
|
41
|
+
return m(e) == "symbol" ? e : String(e);
|
|
42
|
+
}
|
|
43
|
+
function O(o, e) {
|
|
44
|
+
if (m(o) != "object" || !o) return o;
|
|
45
|
+
var t = o[Symbol.toPrimitive];
|
|
46
|
+
if (t !== void 0) {
|
|
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);
|
|
52
|
+
}
|
|
53
|
+
var x = g.extend("focustrap", {
|
|
54
|
+
mounted: function(e, t) {
|
|
55
|
+
var r = t.value || {}, n = r.disabled;
|
|
56
|
+
n || (this.createHiddenFocusableElements(e, t), this.bind(e, t), this.autoElementFocus(e, t)), e.setAttribute("data-pd-focustrap", !0), this.$el = e;
|
|
57
|
+
},
|
|
58
|
+
updated: function(e, t) {
|
|
59
|
+
var r = t.value || {}, n = r.disabled;
|
|
60
|
+
n && this.unbind(e);
|
|
61
|
+
},
|
|
62
|
+
unmounted: function(e) {
|
|
63
|
+
this.unbind(e);
|
|
64
|
+
},
|
|
65
|
+
methods: {
|
|
66
|
+
getComputedSelector: function(e) {
|
|
67
|
+
return ':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(e ?? "");
|
|
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);
|
|
88
|
+
},
|
|
89
|
+
unbind: function(e) {
|
|
90
|
+
e.$_pfocustrap_mutationobserver && e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_focusinlistener && e.removeEventListener("focusin", e.$_pfocustrap_focusinlistener) && (e.$_pfocustrap_focusinlistener = null), e.$_pfocustrap_focusoutlistener && e.removeEventListener("focusout", e.$_pfocustrap_focusoutlistener) && (e.$_pfocustrap_focusoutlistener = null);
|
|
91
|
+
},
|
|
92
|
+
autoFocus: function(e) {
|
|
93
|
+
this.autoElementFocus(this.$el, {
|
|
94
|
+
value: F(F({}, e), {}, {
|
|
95
|
+
autoFocus: !0
|
|
96
|
+
})
|
|
97
|
+
});
|
|
98
|
+
},
|
|
99
|
+
autoElementFocus: function(e, t) {
|
|
100
|
+
var r = t.value || {}, n = r.autoFocusSelector, u = n === void 0 ? "" : n, l = r.firstFocusableSelector, c = l === void 0 ? "" : l, f = r.autoFocus, d = f === void 0 ? !1 : f, p = s.getFirstFocusableElement(e, "[autofocus]".concat(this.getComputedSelector(u)));
|
|
101
|
+
d && !p && (p = s.getFirstFocusableElement(e, this.getComputedSelector(c))), s.focus(p);
|
|
102
|
+
},
|
|
103
|
+
onFirstHiddenElementFocus: function(e) {
|
|
104
|
+
var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_lasthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getFirstFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_lasthiddenfocusableelement;
|
|
105
|
+
s.focus(u);
|
|
106
|
+
},
|
|
107
|
+
onLastHiddenElementFocus: function(e) {
|
|
108
|
+
var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_firsthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getLastFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_firsthiddenfocusableelement;
|
|
109
|
+
s.focus(u);
|
|
110
|
+
},
|
|
111
|
+
createHiddenFocusableElements: function(e, t) {
|
|
112
|
+
var r = this, n = t.value || {}, u = n.tabIndex, l = u === void 0 ? 0 : u, c = n.firstFocusableSelector, f = c === void 0 ? "" : c, d = n.lastFocusableSelector, p = d === void 0 ? "" : d, a = function(_) {
|
|
113
|
+
return s.createElement("span", {
|
|
114
|
+
class: "p-hidden-accessible p-hidden-focusable",
|
|
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);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
});
|
|
3
127
|
export {
|
|
4
|
-
|
|
128
|
+
x as default
|
|
5
129
|
};
|
package/dist/index259.js
CHANGED
|
@@ -1,189 +1,40 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { resolveComponent as m, openBlock as d, createElementBlock as y, mergeProps as l, createElementVNode as s, renderSlot as b, normalizeClass as g, createBlock as v, createCommentVNode as k } from "vue";
|
|
6
|
-
var C = {
|
|
7
|
-
name: "BaseCheckbox",
|
|
8
|
-
extends: h,
|
|
1
|
+
import { DomHandler as d } from "./index180.js";
|
|
2
|
+
import { renderSlot as t, openBlock as a, createBlock as l, Teleport as i, createCommentVNode as u } from "vue";
|
|
3
|
+
var p = {
|
|
4
|
+
name: "Portal",
|
|
9
5
|
props: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
name: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: null
|
|
16
|
-
},
|
|
17
|
-
trueValue: {
|
|
18
|
-
type: null,
|
|
19
|
-
default: !0
|
|
20
|
-
},
|
|
21
|
-
falseValue: {
|
|
22
|
-
type: null,
|
|
23
|
-
default: !1
|
|
24
|
-
},
|
|
25
|
-
variant: {
|
|
26
|
-
type: String,
|
|
27
|
-
default: null
|
|
28
|
-
},
|
|
29
|
-
invalid: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: !1
|
|
6
|
+
appendTo: {
|
|
7
|
+
type: [String, Object],
|
|
8
|
+
default: "body"
|
|
32
9
|
},
|
|
33
10
|
disabled: {
|
|
34
11
|
type: Boolean,
|
|
35
12
|
default: !1
|
|
36
|
-
},
|
|
37
|
-
readonly: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: !1
|
|
40
|
-
},
|
|
41
|
-
required: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: !1
|
|
44
|
-
},
|
|
45
|
-
tabindex: {
|
|
46
|
-
type: Number,
|
|
47
|
-
default: null
|
|
48
|
-
},
|
|
49
|
-
inputId: {
|
|
50
|
-
type: String,
|
|
51
|
-
default: null
|
|
52
|
-
},
|
|
53
|
-
inputClass: {
|
|
54
|
-
type: [String, Object],
|
|
55
|
-
default: null
|
|
56
|
-
},
|
|
57
|
-
inputStyle: {
|
|
58
|
-
type: Object,
|
|
59
|
-
default: null
|
|
60
|
-
},
|
|
61
|
-
ariaLabelledby: {
|
|
62
|
-
type: String,
|
|
63
|
-
default: null
|
|
64
|
-
},
|
|
65
|
-
ariaLabel: {
|
|
66
|
-
type: String,
|
|
67
|
-
default: null
|
|
68
13
|
}
|
|
69
14
|
},
|
|
70
|
-
|
|
71
|
-
provide: function() {
|
|
15
|
+
data: function() {
|
|
72
16
|
return {
|
|
73
|
-
|
|
17
|
+
mounted: !1
|
|
74
18
|
};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
return I(e) || V(e) || A(e) || B();
|
|
79
|
-
}
|
|
80
|
-
function B() {
|
|
81
|
-
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
82
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
83
|
-
}
|
|
84
|
-
function A(e, t) {
|
|
85
|
-
if (e) {
|
|
86
|
-
if (typeof e == "string") return i(e, t);
|
|
87
|
-
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
88
|
-
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
89
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return i(e, t);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
function V(e) {
|
|
93
|
-
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
94
|
-
}
|
|
95
|
-
function I(e) {
|
|
96
|
-
if (Array.isArray(e)) return i(e);
|
|
97
|
-
}
|
|
98
|
-
function i(e, t) {
|
|
99
|
-
(t == null || t > e.length) && (t = e.length);
|
|
100
|
-
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
|
|
101
|
-
return r;
|
|
102
|
-
}
|
|
103
|
-
var O = {
|
|
104
|
-
name: "Checkbox",
|
|
105
|
-
extends: C,
|
|
106
|
-
inheritAttrs: !1,
|
|
107
|
-
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
108
|
-
methods: {
|
|
109
|
-
getPTOptions: function(t) {
|
|
110
|
-
var n = t === "root" ? this.ptmi : this.ptm;
|
|
111
|
-
return n(t, {
|
|
112
|
-
context: {
|
|
113
|
-
checked: this.checked,
|
|
114
|
-
disabled: this.disabled
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
},
|
|
118
|
-
onChange: function(t) {
|
|
119
|
-
var n = this;
|
|
120
|
-
if (!this.disabled && !this.readonly) {
|
|
121
|
-
var r;
|
|
122
|
-
this.binary ? r = this.checked ? this.falseValue : this.trueValue : this.checked ? r = this.modelValue.filter(function(u) {
|
|
123
|
-
return !o.equals(u, n.value);
|
|
124
|
-
}) : r = this.modelValue ? [].concat(S(this.modelValue), [this.value]) : [this.value], this.$emit("update:modelValue", r), this.$emit("change", t);
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
onFocus: function(t) {
|
|
128
|
-
this.$emit("focus", t);
|
|
129
|
-
},
|
|
130
|
-
onBlur: function(t) {
|
|
131
|
-
this.$emit("blur", t);
|
|
132
|
-
}
|
|
19
|
+
},
|
|
20
|
+
mounted: function() {
|
|
21
|
+
this.mounted = d.isClient();
|
|
133
22
|
},
|
|
134
23
|
computed: {
|
|
135
|
-
|
|
136
|
-
return this.
|
|
24
|
+
inline: function() {
|
|
25
|
+
return this.disabled || this.appendTo === "self";
|
|
137
26
|
}
|
|
138
|
-
},
|
|
139
|
-
components: {
|
|
140
|
-
CheckIcon: f
|
|
141
27
|
}
|
|
142
|
-
}
|
|
143
|
-
function
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}), [s("input", l({
|
|
151
|
-
id: e.inputId,
|
|
152
|
-
type: "checkbox",
|
|
153
|
-
class: [e.cx("input"), e.inputClass],
|
|
154
|
-
style: e.inputStyle,
|
|
155
|
-
value: e.value,
|
|
156
|
-
name: e.name,
|
|
157
|
-
checked: a.checked,
|
|
158
|
-
tabindex: e.tabindex,
|
|
159
|
-
disabled: e.disabled,
|
|
160
|
-
readonly: e.readonly,
|
|
161
|
-
required: e.required,
|
|
162
|
-
"aria-labelledby": e.ariaLabelledby,
|
|
163
|
-
"aria-label": e.ariaLabel,
|
|
164
|
-
"aria-invalid": e.invalid || void 0,
|
|
165
|
-
onFocus: t[0] || (t[0] = function() {
|
|
166
|
-
return a.onFocus && a.onFocus.apply(a, arguments);
|
|
167
|
-
}),
|
|
168
|
-
onBlur: t[1] || (t[1] = function() {
|
|
169
|
-
return a.onBlur && a.onBlur.apply(a, arguments);
|
|
170
|
-
}),
|
|
171
|
-
onChange: t[2] || (t[2] = function() {
|
|
172
|
-
return a.onChange && a.onChange.apply(a, arguments);
|
|
173
|
-
})
|
|
174
|
-
}, a.getPTOptions("input")), null, 16, P), s("div", l({
|
|
175
|
-
class: e.cx("box")
|
|
176
|
-
}, a.getPTOptions("box")), [b(e.$slots, "icon", {
|
|
177
|
-
checked: a.checked,
|
|
178
|
-
class: g(e.cx("icon"))
|
|
179
|
-
}, function() {
|
|
180
|
-
return [a.checked ? (d(), v(c, l({
|
|
181
|
-
key: 0,
|
|
182
|
-
class: e.cx("icon")
|
|
183
|
-
}, a.getPTOptions("icon")), null, 16, ["class"])) : k("", !0)];
|
|
184
|
-
})], 16)], 16, T);
|
|
28
|
+
};
|
|
29
|
+
function s(e, f, n, m, o, r) {
|
|
30
|
+
return r.inline ? t(e.$slots, "default", {
|
|
31
|
+
key: 0
|
|
32
|
+
}) : o.mounted ? (a(), l(i, {
|
|
33
|
+
key: 1,
|
|
34
|
+
to: n.appendTo
|
|
35
|
+
}, [t(e.$slots, "default")], 8, ["to"])) : u("", !0);
|
|
185
36
|
}
|
|
186
|
-
|
|
37
|
+
p.render = s;
|
|
187
38
|
export {
|
|
188
|
-
|
|
39
|
+
p as default
|
|
189
40
|
};
|
package/dist/index260.js
CHANGED
|
@@ -1,135 +1,82 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
props: {
|
|
9
|
-
value: null,
|
|
10
|
-
modelValue: null,
|
|
11
|
-
binary: Boolean,
|
|
12
|
-
name: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: null
|
|
15
|
-
},
|
|
16
|
-
variant: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: null
|
|
19
|
-
},
|
|
20
|
-
invalid: {
|
|
21
|
-
type: Boolean,
|
|
22
|
-
default: !1
|
|
23
|
-
},
|
|
24
|
-
disabled: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: !1
|
|
27
|
-
},
|
|
28
|
-
readonly: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !1
|
|
31
|
-
},
|
|
32
|
-
tabindex: {
|
|
33
|
-
type: Number,
|
|
34
|
-
default: null
|
|
35
|
-
},
|
|
36
|
-
inputId: {
|
|
37
|
-
type: String,
|
|
38
|
-
default: null
|
|
39
|
-
},
|
|
40
|
-
inputClass: {
|
|
41
|
-
type: [String, Object],
|
|
42
|
-
default: null
|
|
43
|
-
},
|
|
44
|
-
inputStyle: {
|
|
45
|
-
type: Object,
|
|
46
|
-
default: null
|
|
47
|
-
},
|
|
48
|
-
ariaLabelledby: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: null
|
|
51
|
-
},
|
|
52
|
-
ariaLabel: {
|
|
53
|
-
type: String,
|
|
54
|
-
default: null
|
|
55
|
-
}
|
|
1
|
+
import l from "./index288.js";
|
|
2
|
+
var r = {
|
|
3
|
+
mask: function(i) {
|
|
4
|
+
var a = i.instance;
|
|
5
|
+
return ["p-galleria-mask p-component-overlay p-component-overlay-enter", {
|
|
6
|
+
"p-ripple-disabled": a.$primevue.config.ripple === !1
|
|
7
|
+
}];
|
|
56
8
|
},
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
return {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
},
|
|
64
|
-
name: "RadioButton",
|
|
65
|
-
extends: p,
|
|
66
|
-
inheritAttrs: !1,
|
|
67
|
-
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
68
|
-
methods: {
|
|
69
|
-
getPTOptions: function(a) {
|
|
70
|
-
var t = a === "root" ? this.ptmi : this.ptm;
|
|
71
|
-
return t(a, {
|
|
72
|
-
context: {
|
|
73
|
-
checked: this.checked,
|
|
74
|
-
disabled: this.disabled
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
},
|
|
78
|
-
onChange: function(a) {
|
|
79
|
-
if (!this.disabled && !this.readonly) {
|
|
80
|
-
var t = this.binary ? !this.checked : this.value;
|
|
81
|
-
this.$emit("update:modelValue", t), this.$emit("change", a);
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
onFocus: function(a) {
|
|
85
|
-
this.$emit("focus", a);
|
|
86
|
-
},
|
|
87
|
-
onBlur: function(a) {
|
|
88
|
-
this.$emit("blur", a);
|
|
89
|
-
}
|
|
9
|
+
root: function(i) {
|
|
10
|
+
var a = i.instance, e = a.$attrs.showThumbnails && a.getPositionClass("p-galleria-thumbnails", a.$attrs.thumbnailsPosition), n = a.$attrs.showIndicators && a.getPositionClass("p-galleria-indicators", a.$attrs.indicatorsPosition);
|
|
11
|
+
return ["p-galleria p-component", {
|
|
12
|
+
"p-galleria-fullscreen": a.$attrs.fullScreen,
|
|
13
|
+
"p-galleria-indicator-onitem": a.$attrs.showIndicatorsOnItem,
|
|
14
|
+
"p-galleria-item-nav-onhover": a.$attrs.showItemNavigatorsOnHover && !a.$attrs.fullScreen
|
|
15
|
+
}, e, n];
|
|
90
16
|
},
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
17
|
+
closeButton: "p-galleria-close p-link",
|
|
18
|
+
closeIcon: "p-galleria-close-icon",
|
|
19
|
+
header: "p-galleria-header",
|
|
20
|
+
content: "p-galleria-content",
|
|
21
|
+
footer: "p-galleria-footer",
|
|
22
|
+
itemWrapper: "p-galleria-item-wrapper",
|
|
23
|
+
itemContainer: "p-galleria-item-container",
|
|
24
|
+
previousItemButton: function(i) {
|
|
25
|
+
var a = i.instance;
|
|
26
|
+
return ["p-galleria-item-prev p-galleria-item-nav p-link", {
|
|
27
|
+
"p-disabled": a.isNavBackwardDisabled()
|
|
28
|
+
}];
|
|
29
|
+
},
|
|
30
|
+
previousItemIcon: "p-galleria-item-prev-icon",
|
|
31
|
+
item: "p-galleria-item",
|
|
32
|
+
nextItemButton: function(i) {
|
|
33
|
+
var a = i.instance;
|
|
34
|
+
return ["p-galleria-item-next p-galleria-item-nav p-link", {
|
|
35
|
+
"p-disabled": a.isNavForwardDisabled()
|
|
36
|
+
}];
|
|
37
|
+
},
|
|
38
|
+
nextItemIcon: "p-galleria-item-next-icon",
|
|
39
|
+
caption: "p-galleria-caption",
|
|
40
|
+
indicators: "p-galleria-indicators p-reset",
|
|
41
|
+
indicator: function(i) {
|
|
42
|
+
var a = i.instance, e = i.index;
|
|
43
|
+
return ["p-galleria-indicator", {
|
|
44
|
+
"p-highlight": a.isIndicatorItemActive(e)
|
|
45
|
+
}];
|
|
46
|
+
},
|
|
47
|
+
indicatorButton: "p-link",
|
|
48
|
+
thumbnailWrapper: "p-galleria-thumbnail-wrapper",
|
|
49
|
+
thumbnailContainer: "p-galleria-thumbnail-container",
|
|
50
|
+
previousThumbnailButton: function(i) {
|
|
51
|
+
var a = i.instance;
|
|
52
|
+
return ["p-galleria-thumbnail-prev p-link", {
|
|
53
|
+
"p-disabled": a.isNavBackwardDisabled()
|
|
54
|
+
}];
|
|
55
|
+
},
|
|
56
|
+
previousThumbnailIcon: "p-galleria-thumbnail-prev-icon",
|
|
57
|
+
thumbnailItemsContainer: "p-galleria-thumbnail-items-container",
|
|
58
|
+
thumbnailItems: "p-galleria-thumbnail-items",
|
|
59
|
+
thumbnailItem: function(i) {
|
|
60
|
+
var a = i.instance, e = i.index, n = i.activeIndex;
|
|
61
|
+
return ["p-galleria-thumbnail-item", {
|
|
62
|
+
"p-galleria-thumbnail-item-current": n === e,
|
|
63
|
+
"p-galleria-thumbnail-item-active": a.isItemActive(e),
|
|
64
|
+
"p-galleria-thumbnail-item-start": a.firstItemAciveIndex() === e,
|
|
65
|
+
"p-galleria-thumbnail-item-end": a.lastItemActiveIndex() === e
|
|
66
|
+
}];
|
|
67
|
+
},
|
|
68
|
+
thumbnailItemContent: "p-galleria-thumbnail-item-content",
|
|
69
|
+
nextThumbnailButton: function(i) {
|
|
70
|
+
var a = i.instance;
|
|
71
|
+
return ["p-galleria-thumbnail-next p-link", {
|
|
72
|
+
"p-disabled": a.isNavForwardDisabled()
|
|
73
|
+
}];
|
|
74
|
+
},
|
|
75
|
+
nextThumbnailIcon: "p-galleria-thumbnail-next-icon"
|
|
76
|
+
}, s = l.extend({
|
|
77
|
+
name: "galleria",
|
|
78
|
+
classes: r
|
|
79
|
+
});
|
|
133
80
|
export {
|
|
134
|
-
|
|
81
|
+
s as default
|
|
135
82
|
};
|