@quoreadmin/ui 1.10.26 → 1.10.27

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.
Files changed (202) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index182.js +14 -14
  3. package/dist/index183.js +3 -3
  4. package/dist/index186.js +4 -4
  5. package/dist/index193.js +10 -10
  6. package/dist/index195.js +10 -10
  7. package/dist/index198.js +17 -17
  8. package/dist/index201.js +28 -28
  9. package/dist/index202.js +2 -2
  10. package/dist/index203.js +2 -2
  11. package/dist/index204.js +1 -1
  12. package/dist/index206.js +2 -2
  13. package/dist/index208.js +14 -14
  14. package/dist/index209.js +1 -1
  15. package/dist/index210.js +1 -1
  16. package/dist/index211.js +3 -3
  17. package/dist/index212.js +6 -6
  18. package/dist/index213.js +29 -84
  19. package/dist/index214.js +109 -400
  20. package/dist/index215.js +36 -22
  21. package/dist/index216.js +26 -33
  22. package/dist/index217.js +31 -111
  23. package/dist/index218.js +50 -35
  24. package/dist/index219.js +43 -26
  25. package/dist/index220.js +3 -35
  26. package/dist/index221.js +9 -51
  27. package/dist/index222.js +18 -42
  28. package/dist/index223.js +10 -4
  29. package/dist/index224.js +10 -9
  30. package/dist/index225.js +38 -18
  31. package/dist/index226.js +21 -10
  32. package/dist/index227.js +88 -10
  33. package/dist/index228.js +403 -35
  34. package/dist/index229.js +22 -21
  35. package/dist/index230.js +155 -121
  36. package/dist/index231.js +19 -37
  37. package/dist/index232.js +20 -80
  38. package/dist/index233.js +15 -13
  39. package/dist/index234.js +198 -19
  40. package/dist/index235.js +68 -18
  41. package/dist/index236.js +34 -20
  42. package/dist/index237.js +39 -19
  43. package/dist/index238.js +122 -156
  44. package/dist/index239.js +35 -225
  45. package/dist/index240.js +80 -37
  46. package/dist/index241.js +20 -10
  47. package/dist/index242.js +19 -160
  48. package/dist/index243.js +11 -11
  49. package/dist/index244.js +13 -15
  50. package/dist/index245.js +156 -194
  51. package/dist/index246.js +224 -66
  52. package/dist/index247.js +37 -34
  53. package/dist/index248.js +9 -39
  54. package/dist/index249.js +22 -3709
  55. package/dist/index250.js +22 -60
  56. package/dist/index251.js +20 -83
  57. package/dist/index252.js +823 -39
  58. package/dist/index253.js +685 -198
  59. package/dist/index254.js +175 -9
  60. package/dist/index255.js +22 -57
  61. package/dist/index256.js +20 -61
  62. package/dist/index257.js +20 -54
  63. package/dist/index258.js +3 -81
  64. package/dist/index259.js +170 -711
  65. package/dist/index260.js +127 -41
  66. package/dist/index261.js +1214 -55
  67. package/dist/index262.js +20 -11
  68. package/dist/index263.js +22 -705
  69. package/dist/index264.js +22 -820
  70. package/dist/index265.js +22 -15
  71. package/dist/index266.js +13 -15
  72. package/dist/index267.js +12 -12
  73. package/dist/index268.js +2 -836
  74. package/dist/index269.js +2 -702
  75. package/dist/index270.js +241 -164
  76. package/dist/index271.js +7 -21
  77. package/dist/index272.js +138 -20
  78. package/dist/index273.js +83 -20
  79. package/dist/index274.js +54 -3
  80. package/dist/index275.js +65 -173
  81. package/dist/index276.js +25 -132
  82. package/dist/index277.js +22 -1223
  83. package/dist/index278.js +15 -13
  84. package/dist/index279.js +16 -22
  85. package/dist/index280.js +17 -22
  86. package/dist/index281.js +22 -28
  87. package/dist/index282.js +3 -20
  88. package/dist/index283.js +26 -19
  89. package/dist/index284.js +3709 -2
  90. package/dist/index285.js +60 -2
  91. package/dist/index286.js +72 -242
  92. package/dist/index287.js +51 -7
  93. package/dist/index288.js +209 -132
  94. package/dist/index289.js +10 -83
  95. package/dist/index290.js +57 -2
  96. package/dist/index291.js +59 -77
  97. package/dist/index292.js +54 -3
  98. package/dist/index293.js +79 -25
  99. package/dist/index294.js +724 -50
  100. package/dist/index295.js +47 -26
  101. package/dist/index296.js +64 -22
  102. package/dist/index297.js +11 -22
  103. package/dist/index298.js +704 -15
  104. package/dist/index299.js +819 -16
  105. package/dist/index300.js +2 -23
  106. package/dist/index301.js +79 -1534
  107. package/dist/index302.js +22 -386
  108. package/dist/index303.js +902 -2698
  109. package/dist/index304.js +21 -85
  110. package/dist/index305.js +20 -3798
  111. package/dist/index306.js +19 -59
  112. package/dist/index307.js +69 -15
  113. package/dist/index308.js +19 -84
  114. package/dist/index309.js +18 -201
  115. package/dist/index310.js +22 -246
  116. package/dist/index311.js +21 -78
  117. package/dist/index312.js +63 -22
  118. package/dist/index313.js +250 -920
  119. package/dist/index314.js +5 -21
  120. package/dist/index315.js +149 -19
  121. package/dist/index316.js +68 -19
  122. package/dist/index317.js +86 -64
  123. package/dist/index318.js +29 -19
  124. package/dist/index319.js +16 -19
  125. package/dist/index320.js +74 -21
  126. package/dist/index321.js +3 -21
  127. package/dist/index322.js +2 -63
  128. package/dist/index323.js +78 -31
  129. package/dist/index324.js +52 -259
  130. package/dist/index325.js +3 -3
  131. package/dist/index326.js +4 -149
  132. package/dist/index327.js +185 -68
  133. package/dist/index328.js +57 -85
  134. package/dist/index329.js +75 -29
  135. package/dist/index330.js +36 -15
  136. package/dist/index331.js +8 -74
  137. package/dist/index332.js +12 -3
  138. package/dist/index333.js +55 -2
  139. package/dist/index334.js +9 -81
  140. package/dist/index335.js +13 -57
  141. package/dist/index336.js +56 -4
  142. package/dist/index337.js +51 -4
  143. package/dist/index338.js +23 -178
  144. package/dist/index339.js +2 -63
  145. package/dist/index340.js +4 -74
  146. package/dist/index341.js +2 -9
  147. package/dist/index342.js +23 -13
  148. package/dist/index343.js +38 -52
  149. package/dist/index344.js +2 -12
  150. package/dist/index345.js +11 -14
  151. package/dist/index346.js +16 -54
  152. package/dist/index347.js +10 -52
  153. package/dist/index348.js +10 -31
  154. package/dist/index349.js +17 -2
  155. package/dist/index350.js +2 -5
  156. package/dist/index351.js +9 -2
  157. package/dist/index352.js +10 -23
  158. package/dist/index353.js +12 -39
  159. package/dist/index354.js +1534 -2
  160. package/dist/index355.js +384 -9
  161. package/dist/index356.js +2727 -16
  162. package/dist/index357.js +86 -10
  163. package/dist/index358.js +3797 -9
  164. package/dist/index359.js +58 -15
  165. package/dist/index360.js +15 -2
  166. package/dist/index361.js +84 -9
  167. package/dist/index362.js +201 -9
  168. package/dist/index363.js +245 -13
  169. package/dist/index364.js +1 -1
  170. package/dist/index365.js +1 -1
  171. package/dist/index366.js +2 -2
  172. package/dist/index367.js +1 -1
  173. package/dist/index368.js +2 -2
  174. package/dist/index369.js +1 -1
  175. package/dist/index370.js +6 -6
  176. package/dist/index371.js +2 -2
  177. package/dist/index372.js +2 -2
  178. package/dist/index374.js +2 -2
  179. package/dist/index375.js +2 -2
  180. package/dist/index376.js +1 -1
  181. package/dist/index378.js +8 -8
  182. package/dist/index379.js +8 -8
  183. package/dist/index38.js +2 -2
  184. package/dist/index380.js +16 -97
  185. package/dist/index381.js +28 -98
  186. package/dist/index382.js +10 -90
  187. package/dist/index383.js +4 -17
  188. package/dist/index384.js +3 -30
  189. package/dist/index385.js +13 -11
  190. package/dist/index386.js +7 -4
  191. package/dist/index387.js +13 -3
  192. package/dist/index388.js +5 -13
  193. package/dist/index389.js +36 -7
  194. package/dist/index390.js +35 -12
  195. package/dist/index391.js +30 -5
  196. package/dist/index392.js +64 -36
  197. package/dist/index393.js +99 -35
  198. package/dist/index394.js +91 -30
  199. package/dist/index395.js +96 -62
  200. package/dist/index396.js +1 -1
  201. package/dist/index402.js +1 -1
  202. package/package.json +1 -1
package/dist/index273.js CHANGED
@@ -1,22 +1,85 @@
1
- import r from "./index291.js";
2
- import { openBlock as t, createElementBlock as o, mergeProps as n, createElementVNode as C } from "vue";
3
- var i = {
4
- name: "PencilIcon",
5
- extends: r
6
- }, l = /* @__PURE__ */ C("path", {
7
- d: "M0.609628 13.959C0.530658 13.9599 0.452305 13.9451 0.379077 13.9156C0.305849 13.8861 0.239191 13.8424 0.18294 13.787C0.118447 13.7234 0.0688234 13.6464 0.0376166 13.5614C0.00640987 13.4765 -0.00560954 13.3857 0.00241768 13.2956L0.25679 10.1501C0.267698 10.0041 0.331934 9.86709 0.437312 9.76516L9.51265 0.705715C10.0183 0.233014 10.6911 -0.0203041 11.3835 0.00127367C12.0714 0.00660201 12.7315 0.27311 13.2298 0.746671C13.7076 1.23651 13.9824 1.88848 13.9992 2.57201C14.0159 3.25554 13.7733 3.92015 13.32 4.4327L4.23648 13.5331C4.13482 13.6342 4.0017 13.6978 3.85903 13.7133L0.667067 14L0.609628 13.959ZM1.43018 10.4696L1.25787 12.714L3.50619 12.5092L12.4502 3.56444C12.6246 3.35841 12.7361 3.10674 12.7714 2.83933C12.8067 2.57193 12.7644 2.30002 12.6495 2.05591C12.5346 1.8118 12.3519 1.60575 12.1231 1.46224C11.8943 1.31873 11.6291 1.2438 11.3589 1.24633C11.1813 1.23508 11.0033 1.25975 10.8355 1.31887C10.6677 1.37798 10.5136 1.47033 10.3824 1.59036L1.43018 10.4696Z",
8
- fill: "currentColor"
9
- }, null, -1), p = [l];
10
- function s(e, a, c, d, m, L) {
11
- return t(), o("svg", n({
12
- width: "14",
13
- height: "14",
14
- viewBox: "0 0 14 14",
15
- fill: "none",
16
- xmlns: "http://www.w3.org/2000/svg"
17
- }, e.pti()), p, 16);
18
- }
19
- i.render = s;
1
+ import { DomHandler as u } from "./index180.js";
2
+ import { ref as d, readonly as q, getCurrentInstance as B, onMounted as H, nextTick as N, watch as z } from "vue";
3
+ function a(t) {
4
+ "@babel/helpers - typeof";
5
+ return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
6
+ return typeof e;
7
+ } : function(e) {
8
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
9
+ }, a(t);
10
+ }
11
+ function S(t, e) {
12
+ var n = Object.keys(t);
13
+ if (Object.getOwnPropertySymbols) {
14
+ var r = Object.getOwnPropertySymbols(t);
15
+ e && (r = r.filter(function(o) {
16
+ return Object.getOwnPropertyDescriptor(t, o).enumerable;
17
+ })), n.push.apply(n, r);
18
+ }
19
+ return n;
20
+ }
21
+ function j(t) {
22
+ for (var e = 1; e < arguments.length; e++) {
23
+ var n = arguments[e] != null ? arguments[e] : {};
24
+ e % 2 ? S(Object(n), !0).forEach(function(r) {
25
+ F(t, r, n[r]);
26
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : S(Object(n)).forEach(function(r) {
27
+ Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
28
+ });
29
+ }
30
+ return t;
31
+ }
32
+ function F(t, e, n) {
33
+ return e = G(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
34
+ }
35
+ function G(t) {
36
+ var e = J(t, "string");
37
+ return a(e) == "symbol" ? e : String(e);
38
+ }
39
+ function J(t, e) {
40
+ if (a(t) != "object" || !t) return t;
41
+ var n = t[Symbol.toPrimitive];
42
+ if (n !== void 0) {
43
+ var r = n.call(t, e);
44
+ if (a(r) != "object") return r;
45
+ throw new TypeError("@@toPrimitive must return a primitive value.");
46
+ }
47
+ return (e === "string" ? String : Number)(t);
48
+ }
49
+ function Q(t) {
50
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
51
+ B() ? H(t) : e ? t() : N(t);
52
+ }
53
+ var U = 0;
54
+ function X(t) {
55
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = d(!1), r = d(t), o = d(null), $ = u.isClient() ? window.document : void 0, c = e.document, i = c === void 0 ? $ : c, m = e.immediate, C = m === void 0 ? !0 : m, f = e.manual, D = f === void 0 ? !1 : f, p = e.name, l = p === void 0 ? "style_".concat(++U) : p, v = e.id, y = v === void 0 ? void 0 : v, b = e.media, E = b === void 0 ? void 0 : b, g = e.nonce, x = g === void 0 ? void 0 : g, _ = e.props, A = _ === void 0 ? {} : _, O = function() {
56
+ }, P = function(K) {
57
+ var L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
58
+ if (i) {
59
+ var s = j(j({}, A), L), M = s.name || l, w = s.id || y, R = s.nonce || x;
60
+ o.value = i.querySelector('style[data-primevue-style-id="'.concat(M, '"]')) || i.getElementById(w) || i.createElement("style"), o.value.isConnected || (r.value = K || t, u.setAttributes(o.value, {
61
+ type: "text/css",
62
+ id: w,
63
+ media: E,
64
+ nonce: R
65
+ }), i.head.appendChild(o.value), u.setAttribute(o.value, "data-primevue-style-id", l), u.setAttributes(o.value, s)), !n.value && (O = z(r, function(T) {
66
+ o.value.textContent = T;
67
+ }, {
68
+ immediate: !0
69
+ }), n.value = !0);
70
+ }
71
+ }, I = function() {
72
+ !i || !n.value || (O(), u.isExist(o.value) && i.head.removeChild(o.value), n.value = !1);
73
+ };
74
+ return C && !D && Q(P), {
75
+ id: y,
76
+ name: l,
77
+ css: r,
78
+ unload: I,
79
+ load: P,
80
+ isLoaded: q(n)
81
+ };
82
+ }
20
83
  export {
21
- i as default
84
+ X as useStyle
22
85
  };
package/dist/index274.js CHANGED
@@ -1,5 +1,56 @@
1
- import { EventBus as e } from "./index180.js";
2
- var a = e();
1
+ import l from "./index272.js";
2
+ function r(e) {
3
+ "@babel/helpers - typeof";
4
+ return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
5
+ return typeof t;
6
+ } : function(t) {
7
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8
+ }, r(e);
9
+ }
10
+ function i(e, t, n) {
11
+ return t = u(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
12
+ }
13
+ function u(e) {
14
+ var t = a(e, "string");
15
+ return r(t) == "symbol" ? t : String(t);
16
+ }
17
+ function a(e, t) {
18
+ if (r(e) != "object" || !e) return e;
19
+ var n = e[Symbol.toPrimitive];
20
+ if (n !== void 0) {
21
+ var o = n.call(e, t);
22
+ if (r(o) != "object") return o;
23
+ throw new TypeError("@@toPrimitive must return a primitive value.");
24
+ }
25
+ return (t === "string" ? String : Number)(e);
26
+ }
27
+ var p = {
28
+ root: function(t) {
29
+ var n = t.instance, o = t.props;
30
+ return ["p-button p-component", i(i(i(i(i(i(i(i({
31
+ "p-button-icon-only": n.hasIcon && !o.label && !o.badge,
32
+ "p-button-vertical": (o.iconPos === "top" || o.iconPos === "bottom") && o.label,
33
+ "p-disabled": n.$attrs.disabled || n.$attrs.disabled === "" || o.loading,
34
+ "p-button-loading": o.loading,
35
+ "p-button-loading-label-only": o.loading && !n.hasIcon && o.label,
36
+ "p-button-link": o.link
37
+ }, "p-button-".concat(o.severity), o.severity), "p-button-raised", o.raised), "p-button-rounded", o.rounded), "p-button-text", o.text), "p-button-outlined", o.outlined), "p-button-sm", o.size === "small"), "p-button-lg", o.size === "large"), "p-button-plain", o.plain)];
38
+ },
39
+ loadingIcon: "p-button-loading-icon pi-spin",
40
+ icon: function(t) {
41
+ var n = t.props;
42
+ return ["p-button-icon", {
43
+ "p-button-icon-left": n.iconPos === "left" && n.label,
44
+ "p-button-icon-right": n.iconPos === "right" && n.label,
45
+ "p-button-icon-top": n.iconPos === "top" && n.label,
46
+ "p-button-icon-bottom": n.iconPos === "bottom" && n.label
47
+ }];
48
+ },
49
+ label: "p-button-label"
50
+ }, s = l.extend({
51
+ name: "button",
52
+ classes: p
53
+ });
3
54
  export {
4
- a as default
55
+ s as default
5
56
  };
package/dist/index275.js CHANGED
@@ -1,189 +1,81 @@
1
- import f from "./index272.js";
2
- import { ObjectUtils as o } from "./index180.js";
3
- import h from "./index214.js";
4
- import p from "./index318.js";
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,
9
- props: {
10
- value: null,
11
- modelValue: null,
12
- binary: Boolean,
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
32
- },
33
- disabled: {
34
- type: Boolean,
35
- 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
- }
69
- },
70
- style: p,
71
- provide: function() {
72
- return {
73
- $parentInstance: this
74
- };
75
- }
76
- };
77
- function S(e) {
78
- return I(e) || V(e) || A(e) || B();
1
+ import s from "./index228.js";
2
+ import c from "./index330.js";
3
+ import { ObjectUtils as l } from "./index180.js";
4
+ function i(t) {
5
+ "@babel/helpers - typeof";
6
+ return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
7
+ return typeof e;
8
+ } : function(e) {
9
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
10
+ }, i(t);
79
11
  }
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.`);
12
+ function o(t, e) {
13
+ var r = Object.keys(t);
14
+ if (Object.getOwnPropertySymbols) {
15
+ var n = Object.getOwnPropertySymbols(t);
16
+ e && (n = n.filter(function(u) {
17
+ return Object.getOwnPropertyDescriptor(t, u).enumerable;
18
+ })), r.push.apply(r, n);
19
+ }
20
+ return r;
83
21
  }
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);
22
+ function p(t) {
23
+ for (var e = 1; e < arguments.length; e++) {
24
+ var r = arguments[e] != null ? arguments[e] : {};
25
+ e % 2 ? o(Object(r), !0).forEach(function(n) {
26
+ f(t, n, r[n]);
27
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : o(Object(r)).forEach(function(n) {
28
+ Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
29
+ });
90
30
  }
31
+ return t;
91
32
  }
92
- function V(e) {
93
- if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
33
+ function f(t, e, r) {
34
+ return e = a(e), e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
94
35
  }
95
- function I(e) {
96
- if (Array.isArray(e)) return i(e);
36
+ function a(t) {
37
+ var e = y(t, "string");
38
+ return i(e) == "symbol" ? e : String(e);
97
39
  }
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;
40
+ function y(t, e) {
41
+ if (i(t) != "object" || !t) return t;
42
+ var r = t[Symbol.toPrimitive];
43
+ if (r !== void 0) {
44
+ var n = r.call(t, e);
45
+ if (i(n) != "object") return n;
46
+ throw new TypeError("@@toPrimitive must return a primitive value.");
47
+ }
48
+ return (e === "string" ? String : Number)(t);
102
49
  }
103
50
  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);
51
+ name: "BaseIcon",
52
+ extends: s,
53
+ props: {
54
+ label: {
55
+ type: String,
56
+ default: void 0
129
57
  },
130
- onBlur: function(t) {
131
- this.$emit("blur", t);
58
+ spin: {
59
+ type: Boolean,
60
+ default: !1
132
61
  }
133
62
  },
134
- computed: {
135
- checked: function() {
136
- return this.binary ? this.modelValue === this.trueValue : o.contains(this.value, this.modelValue);
63
+ style: c,
64
+ methods: {
65
+ pti: function() {
66
+ var e = l.isEmpty(this.label);
67
+ return p(p({}, !this.isUnstyled && {
68
+ class: ["p-icon", {
69
+ "p-icon-spin": this.spin
70
+ }]
71
+ }), {}, {
72
+ role: e ? void 0 : "img",
73
+ "aria-label": e ? void 0 : this.label,
74
+ "aria-hidden": e
75
+ });
137
76
  }
138
- },
139
- components: {
140
- CheckIcon: f
141
77
  }
142
- }, T = ["data-p-highlight", "data-p-disabled"], P = ["id", "value", "name", "checked", "tabindex", "disabled", "readonly", "required", "aria-labelledby", "aria-label", "aria-invalid"];
143
- function j(e, t, n, r, u, a) {
144
- var c = m("CheckIcon");
145
- return d(), y("div", l({
146
- class: e.cx("root")
147
- }, a.getPTOptions("root"), {
148
- "data-p-highlight": a.checked,
149
- "data-p-disabled": e.disabled
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);
185
- }
186
- O.render = j;
78
+ };
187
79
  export {
188
80
  O as default
189
81
  };
package/dist/index276.js CHANGED
@@ -1,135 +1,28 @@
1
- import { ObjectUtils as d } from "./index180.js";
2
- import u from "./index214.js";
3
- import r from "./index319.js";
4
- import { openBlock as o, createElementBlock as s, mergeProps as n, createElementVNode as i } from "vue";
5
- var p = {
6
- name: "BaseRadioButton",
7
- extends: u,
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
- }
56
- },
57
- style: r,
58
- provide: function() {
59
- return {
60
- $parentInstance: this
61
- };
62
- }
63
- }, h = {
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
- }
90
- },
91
- computed: {
92
- checked: function() {
93
- return this.modelValue != null && (this.binary ? !!this.modelValue : d.equals(this.modelValue, this.value));
94
- }
95
- }
96
- }, b = ["data-p-highlight", "data-p-disabled"], m = ["id", "value", "name", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label", "aria-invalid"];
97
- function c(e, a, t, f, y, l) {
98
- return o(), s("div", n({
99
- class: e.cx("root")
100
- }, l.getPTOptions("root"), {
101
- "data-p-highlight": l.checked,
102
- "data-p-disabled": e.disabled
103
- }), [i("input", n({
104
- id: e.inputId,
105
- type: "radio",
106
- class: [e.cx("input"), e.inputClass],
107
- style: e.inputStyle,
108
- value: e.value,
109
- name: e.name,
110
- checked: l.checked,
111
- tabindex: e.tabindex,
112
- disabled: e.disabled,
113
- readonly: e.readonly,
114
- "aria-labelledby": e.ariaLabelledby,
115
- "aria-label": e.ariaLabel,
116
- "aria-invalid": e.invalid || void 0,
117
- onFocus: a[0] || (a[0] = function() {
118
- return l.onFocus && l.onFocus.apply(l, arguments);
119
- }),
120
- onBlur: a[1] || (a[1] = function() {
121
- return l.onBlur && l.onBlur.apply(l, arguments);
122
- }),
123
- onChange: a[2] || (a[2] = function() {
124
- return l.onChange && l.onChange.apply(l, arguments);
125
- })
126
- }, l.getPTOptions("input")), null, 16, m), i("div", n({
127
- class: e.cx("box")
128
- }, l.getPTOptions("box")), [i("div", n({
129
- class: e.cx("icon")
130
- }, l.getPTOptions("icon")), null, 16)], 16)], 16, b);
1
+ import t from "./index275.js";
2
+ import { openBlock as C, createElementBlock as o, mergeProps as l, createElementVNode as e } from "vue";
3
+ var n = {
4
+ name: "ExclamationTriangleIcon",
5
+ extends: t
6
+ }, i = /* @__PURE__ */ e("path", {
7
+ d: "M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z",
8
+ fill: "currentColor"
9
+ }, null, -1), a = /* @__PURE__ */ e("path", {
10
+ d: "M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z",
11
+ fill: "currentColor"
12
+ }, null, -1), p = /* @__PURE__ */ e("path", {
13
+ d: "M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z",
14
+ fill: "currentColor"
15
+ }, null, -1), s = [i, a, p];
16
+ function c(r, d, h, m, u, _) {
17
+ return C(), o("svg", l({
18
+ width: "14",
19
+ height: "14",
20
+ viewBox: "0 0 14 14",
21
+ fill: "none",
22
+ xmlns: "http://www.w3.org/2000/svg"
23
+ }, r.pti()), s, 16);
131
24
  }
132
- h.render = c;
25
+ n.render = c;
133
26
  export {
134
- h as default
27
+ n as default
135
28
  };