@quoreadmin/ui 1.7.2 → 1.7.3

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 (178) hide show
  1. package/dist/index140.js +2 -2
  2. package/dist/index142.js +1 -1
  3. package/dist/index144.js +4 -4
  4. package/dist/index175.js +4 -4
  5. package/dist/index182.js +8 -8
  6. package/dist/index184.js +8 -8
  7. package/dist/index186.js +1190 -36
  8. package/dist/index188.js +36 -5938
  9. package/dist/index189.js +42 -205
  10. package/dist/index190.js +5922 -19
  11. package/dist/index191.js +199 -10
  12. package/dist/index192.js +25 -1180
  13. package/dist/index193.js +20 -0
  14. package/dist/index201.js +4 -4
  15. package/dist/index208.js +2 -2
  16. package/dist/index209.js +1 -1
  17. package/dist/index210.js +1 -1
  18. package/dist/index211.js +1 -1
  19. package/dist/index212.js +1 -1
  20. package/dist/index213.js +4 -4
  21. package/dist/index215.js +4 -4
  22. package/dist/index218.js +1 -1
  23. package/dist/index219.js +21 -160
  24. package/dist/index220.js +13 -11
  25. package/dist/index221.js +10 -10
  26. package/dist/index222.js +836 -22
  27. package/dist/index223.js +661 -158
  28. package/dist/index224.js +173 -67
  29. package/dist/index225.js +20 -34
  30. package/dist/index226.js +19 -39
  31. package/dist/index227.js +21 -160
  32. package/dist/index228.js +20 -228
  33. package/dist/index229.js +19 -36
  34. package/dist/index230.js +20 -10
  35. package/dist/index231.js +3 -127
  36. package/dist/index232.js +173 -24
  37. package/dist/index233.js +131 -78
  38. package/dist/index234.js +160 -19
  39. package/dist/index235.js +1223 -20
  40. package/dist/index236.js +126 -19
  41. package/dist/index237.js +11 -11
  42. package/dist/index238.js +11 -11
  43. package/dist/index239.js +11 -13
  44. package/dist/index240.js +13 -11
  45. package/dist/index241.js +21 -819
  46. package/dist/index242.js +28 -701
  47. package/dist/index243.js +20 -176
  48. package/dist/index244.js +12 -14
  49. package/dist/index245.js +2 -20
  50. package/dist/index246.js +2 -20
  51. package/dist/index247.js +161 -3
  52. package/dist/index248.js +219 -178
  53. package/dist/index249.js +36 -132
  54. package/dist/index250.js +9 -1222
  55. package/dist/index251.js +15 -13
  56. package/dist/index252.js +198 -21
  57. package/dist/index253.js +69 -21
  58. package/dist/index254.js +33 -28
  59. package/dist/index255.js +39 -19
  60. package/dist/index256.js +80 -20
  61. package/dist/index257.js +20 -2
  62. package/dist/index258.js +20 -2
  63. package/dist/index259.js +6 -6
  64. package/dist/index260.js +1 -1
  65. package/dist/index261.js +1 -1
  66. package/dist/index274.js +2 -2
  67. package/dist/index279.js +79 -3
  68. package/dist/index280.js +78 -26
  69. package/dist/index281.js +21 -53
  70. package/dist/index282.js +910 -54
  71. package/dist/index283.js +13 -17
  72. package/dist/index284.js +11 -13
  73. package/dist/index285.js +13 -15
  74. package/dist/index286.js +67 -14
  75. package/dist/index287.js +16 -14
  76. package/dist/index288.js +17 -21
  77. package/dist/index289.js +54 -2
  78. package/dist/index290.js +21 -234
  79. package/dist/index291.js +21 -5
  80. package/dist/index292.js +62 -133
  81. package/dist/index293.js +2 -68
  82. package/dist/index294.js +25 -86
  83. package/dist/index295.js +21 -28
  84. package/dist/index296.js +21 -8
  85. package/dist/index297.js +16 -75
  86. package/dist/index298.js +17 -4
  87. package/dist/index299.js +23 -2
  88. package/dist/index300.js +3 -83
  89. package/dist/index301.js +26 -53
  90. package/dist/index302.js +1517 -5
  91. package/dist/index303.js +385 -4
  92. package/dist/index304.js +2700 -148
  93. package/dist/index305.js +83 -60
  94. package/dist/index306.js +3770 -75
  95. package/dist/index307.js +56 -75
  96. package/dist/index308.js +15 -22
  97. package/dist/index309.js +72 -923
  98. package/dist/index310.js +202 -22
  99. package/dist/index311.js +246 -20
  100. package/dist/index312.js +234 -19
  101. package/dist/index313.js +5 -68
  102. package/dist/index314.js +133 -18
  103. package/dist/index315.js +68 -19
  104. package/dist/index316.js +85 -20
  105. package/dist/index317.js +28 -21
  106. package/dist/index318.js +8 -62
  107. package/dist/index319.js +64 -1507
  108. package/dist/index320.js +3 -385
  109. package/dist/index321.js +2 -2731
  110. package/dist/index322.js +77 -80
  111. package/dist/index323.js +53 -3769
  112. package/dist/index324.js +4 -58
  113. package/dist/index325.js +5 -15
  114. package/dist/index326.js +166 -71
  115. package/dist/index327.js +57 -196
  116. package/dist/index328.js +75 -246
  117. package/dist/index329.js +36 -8
  118. package/dist/index330.js +19 -12
  119. package/dist/index331.js +19 -54
  120. package/dist/index332.js +63 -11
  121. package/dist/index333.js +37 -14
  122. package/dist/index334.js +8 -57
  123. package/dist/index335.js +12 -51
  124. package/dist/index336.js +49 -25
  125. package/dist/index337.js +12 -2
  126. package/dist/index338.js +14 -5
  127. package/dist/index339.js +58 -2
  128. package/dist/index340.js +52 -23
  129. package/dist/index341.js +28 -38
  130. package/dist/index342.js +2 -2
  131. package/dist/index343.js +4 -10
  132. package/dist/index344.js +2 -20
  133. package/dist/index345.js +21 -15
  134. package/dist/index346.js +40 -9
  135. package/dist/index347.js +2 -10
  136. package/dist/index348.js +11 -2
  137. package/dist/index349.js +20 -9
  138. package/dist/index350.js +16 -9
  139. package/dist/index351.js +9 -13
  140. package/dist/index352.js +10 -37
  141. package/dist/index353.js +2 -21
  142. package/dist/index354.js +9 -56
  143. package/dist/index355.js +9 -28
  144. package/dist/index356.js +14 -7
  145. package/dist/index357.js +18 -49
  146. package/dist/index358.js +56 -6
  147. package/dist/index359.js +27 -10
  148. package/dist/index360.js +7 -7
  149. package/dist/index361.js +51 -27
  150. package/dist/index362.js +6 -2
  151. package/dist/index363.js +11 -69
  152. package/dist/index364.js +6 -166
  153. package/dist/index365.js +28 -20
  154. package/dist/index366.js +2 -20
  155. package/dist/index367.js +67 -61
  156. package/dist/index368.js +166 -36
  157. package/dist/index369.js +17 -31
  158. package/dist/index370.js +98 -11
  159. package/dist/index371.js +98 -1
  160. package/dist/index372.js +90 -3
  161. package/dist/index373.js +30 -12
  162. package/dist/index374.js +11 -7
  163. package/dist/index375.js +3 -11
  164. package/dist/index376.js +3 -4
  165. package/dist/index377.js +13 -33
  166. package/dist/index378.js +7 -31
  167. package/dist/index379.js +12 -28
  168. package/dist/index380.js +5 -61
  169. package/dist/index381.js +33 -17
  170. package/dist/index382.js +29 -99
  171. package/dist/index383.js +27 -97
  172. package/dist/index384.js +61 -91
  173. package/dist/index385.js +1 -1
  174. package/dist/index390.js +1 -1
  175. package/dist/index391.js +2 -2
  176. package/package.json +1 -1
  177. package/src/assets/illustrations/no-files-uploaded.svg +11 -0
  178. package/dist/index187.js +0 -46
package/dist/index232.js CHANGED
@@ -1,40 +1,189 @@
1
- import { DomHandler as d } from "./index169.js";
2
- import { renderSlot as t, createBlock as a, createCommentVNode as l, openBlock as i, Teleport as u } from "vue";
3
- var p = {
4
- name: "Portal",
1
+ import f from "./index228.js";
2
+ import { ObjectUtils as o } from "./index169.js";
3
+ import h from "./index203.js";
4
+ import p from "./index287.js";
5
+ import { resolveComponent as m, createElementBlock as y, openBlock as d, 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,
5
9
  props: {
6
- appendTo: {
7
- type: [String, Object],
8
- default: "body"
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
9
32
  },
10
33
  disabled: {
11
34
  type: Boolean,
12
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
13
68
  }
14
69
  },
15
- data: function() {
70
+ style: p,
71
+ provide: function() {
16
72
  return {
17
- mounted: !1
73
+ $parentInstance: this
18
74
  };
19
- },
20
- mounted: function() {
21
- this.mounted = d.isClient();
75
+ }
76
+ };
77
+ function S(e) {
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
+ }
22
133
  },
23
134
  computed: {
24
- inline: function() {
25
- return this.disabled || this.appendTo === "self";
135
+ checked: function() {
136
+ return this.binary ? this.modelValue === this.trueValue : o.contains(this.value, this.modelValue);
26
137
  }
138
+ },
139
+ components: {
140
+ CheckIcon: f
27
141
  }
28
- };
29
- function s(e, f, n, m, o, r) {
30
- return r.inline ? t(e.$slots, "default", {
31
- key: 0
32
- }) : o.mounted ? (i(), a(u, {
33
- key: 1,
34
- to: n.appendTo
35
- }, [t(e.$slots, "default")], 8, ["to"])) : l("", !0);
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);
36
185
  }
37
- p.render = s;
186
+ O.render = j;
38
187
  export {
39
- p as default
188
+ O as default
40
189
  };
package/dist/index233.js CHANGED
@@ -1,82 +1,135 @@
1
- import l from "./index277.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
- }];
1
+ import { ObjectUtils as d } from "./index169.js";
2
+ import u from "./index203.js";
3
+ import r from "./index288.js";
4
+ import { createElementBlock as o, openBlock 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
+ }
8
56
  },
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];
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
+ }
16
90
  },
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
- });
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 s(), o("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);
131
+ }
132
+ h.render = c;
80
133
  export {
81
- s as default
134
+ h as default
82
135
  };
package/dist/index234.js CHANGED
@@ -1,22 +1,163 @@
1
- import r from "./index282.js";
2
- import { createElementBlock as t, openBlock as o, mergeProps as n, createElementVNode as i } from "vue";
3
- var p = {
4
- name: "ChevronLeftIcon",
5
- extends: r
6
- }, C = /* @__PURE__ */ i("path", {
7
- d: "M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z",
8
- fill: "currentColor"
9
- }, null, -1), l = [C];
10
- function s(e, a, c, d, h, m) {
11
- return o(), t("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()), l, 16);
1
+ import y from "./index255.js";
2
+ import m from "./index221.js";
3
+ import b from "./index202.js";
4
+ import v from "./index203.js";
5
+ import h from "./index289.js";
6
+ import { resolveComponent as r, resolveDirective as S, withDirectives as B, createElementBlock as i, openBlock as n, mergeProps as t, renderSlot as o, createElementVNode as I, createBlock as d, createCommentVNode as p, normalizeClass as u, toDisplayString as $ } from "vue";
7
+ var k = {
8
+ name: "BaseButton",
9
+ extends: v,
10
+ props: {
11
+ label: {
12
+ type: String,
13
+ default: null
14
+ },
15
+ icon: {
16
+ type: String,
17
+ default: null
18
+ },
19
+ iconPos: {
20
+ type: String,
21
+ default: "left"
22
+ },
23
+ iconClass: {
24
+ type: String,
25
+ default: null
26
+ },
27
+ badge: {
28
+ type: String,
29
+ default: null
30
+ },
31
+ badgeClass: {
32
+ type: String,
33
+ default: null
34
+ },
35
+ badgeSeverity: {
36
+ type: String,
37
+ default: null
38
+ },
39
+ loading: {
40
+ type: Boolean,
41
+ default: !1
42
+ },
43
+ loadingIcon: {
44
+ type: String,
45
+ default: void 0
46
+ },
47
+ link: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ severity: {
52
+ type: String,
53
+ default: null
54
+ },
55
+ raised: {
56
+ type: Boolean,
57
+ default: !1
58
+ },
59
+ rounded: {
60
+ type: Boolean,
61
+ default: !1
62
+ },
63
+ text: {
64
+ type: Boolean,
65
+ default: !1
66
+ },
67
+ outlined: {
68
+ type: Boolean,
69
+ default: !1
70
+ },
71
+ size: {
72
+ type: String,
73
+ default: null
74
+ },
75
+ plain: {
76
+ type: Boolean,
77
+ default: !1
78
+ }
79
+ },
80
+ style: h,
81
+ provide: function() {
82
+ return {
83
+ $parentInstance: this
84
+ };
85
+ }
86
+ }, C = {
87
+ name: "Button",
88
+ extends: k,
89
+ inheritAttrs: !1,
90
+ methods: {
91
+ getPTOptions: function(l) {
92
+ var s = l === "root" ? this.ptmi : this.ptm;
93
+ return s(l, {
94
+ context: {
95
+ disabled: this.disabled
96
+ }
97
+ });
98
+ }
99
+ },
100
+ computed: {
101
+ disabled: function() {
102
+ return this.$attrs.disabled || this.$attrs.disabled === "" || this.loading;
103
+ },
104
+ defaultAriaLabel: function() {
105
+ return this.label ? this.label + (this.badge ? " " + this.badge : "") : this.$attrs.ariaLabel;
106
+ },
107
+ hasIcon: function() {
108
+ return this.icon || this.$slots.icon;
109
+ }
110
+ },
111
+ components: {
112
+ SpinnerIcon: m,
113
+ Badge: y
114
+ },
115
+ directives: {
116
+ ripple: b
117
+ }
118
+ }, P = ["aria-label", "disabled", "data-p-severity"];
119
+ function A(e, l, s, L, D, a) {
120
+ var c = r("SpinnerIcon"), f = r("Badge"), g = S("ripple");
121
+ return B((n(), i("button", t({
122
+ class: e.cx("root"),
123
+ type: "button",
124
+ "aria-label": a.defaultAriaLabel,
125
+ disabled: a.disabled
126
+ }, a.getPTOptions("root"), {
127
+ "data-p-severity": e.severity
128
+ }), [o(e.$slots, "default", {}, function() {
129
+ return [e.loading ? o(e.$slots, "loadingicon", {
130
+ key: 0,
131
+ class: u([e.cx("loadingIcon"), e.cx("icon")])
132
+ }, function() {
133
+ return [e.loadingIcon ? (n(), i("span", t({
134
+ key: 0,
135
+ class: [e.cx("loadingIcon"), e.cx("icon"), e.loadingIcon]
136
+ }, e.ptm("loadingIcon")), null, 16)) : (n(), d(c, t({
137
+ key: 1,
138
+ class: [e.cx("loadingIcon"), e.cx("icon")],
139
+ spin: ""
140
+ }, e.ptm("loadingIcon")), null, 16, ["class"]))];
141
+ }) : o(e.$slots, "icon", {
142
+ key: 1,
143
+ class: u([e.cx("icon")])
144
+ }, function() {
145
+ return [e.icon ? (n(), i("span", t({
146
+ key: 0,
147
+ class: [e.cx("icon"), e.icon, e.iconClass]
148
+ }, e.ptm("icon")), null, 16)) : p("", !0)];
149
+ }), I("span", t({
150
+ class: e.cx("label")
151
+ }, e.ptm("label")), $(e.label || " "), 17), e.badge ? (n(), d(f, t({
152
+ key: 2,
153
+ value: e.badge,
154
+ class: e.badgeClass,
155
+ severity: e.badgeSeverity,
156
+ unstyled: e.unstyled
157
+ }, e.ptm("badge")), null, 16, ["value", "class", "severity", "unstyled"])) : p("", !0)];
158
+ })], 16, P)), [[g]]);
18
159
  }
19
- p.render = s;
160
+ C.render = A;
20
161
  export {
21
- p as default
162
+ C as default
22
163
  };