@quoreadmin/ui 1.7.9 → 1.7.11

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 (168) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index140.js +2 -2
  3. package/dist/index142.js +13 -13
  4. package/dist/index172.js +14 -14
  5. package/dist/index173.js +3 -3
  6. package/dist/index176.js +4 -4
  7. package/dist/index183.js +10 -10
  8. package/dist/index185.js +10 -10
  9. package/dist/index187.js +1190 -36
  10. package/dist/index189.js +36 -1190
  11. package/dist/{index188.js → index190.js} +17 -17
  12. package/dist/index191.js +28 -28
  13. package/dist/index192.js +2 -2
  14. package/dist/index193.js +2 -2
  15. package/dist/index194.js +1 -1
  16. package/dist/index202.js +1 -1
  17. package/dist/index203.js +29 -84
  18. package/dist/index204.js +109 -400
  19. package/dist/index205.js +36 -22
  20. package/dist/index206.js +26 -33
  21. package/dist/index207.js +31 -111
  22. package/dist/index208.js +9 -36
  23. package/dist/index209.js +19 -26
  24. package/dist/index210.js +10 -36
  25. package/dist/index211.js +10 -9
  26. package/dist/index212.js +50 -18
  27. package/dist/index213.js +43 -10
  28. package/dist/index214.js +4 -10
  29. package/dist/index215.js +36 -48
  30. package/dist/index216.js +21 -43
  31. package/dist/index217.js +160 -3
  32. package/dist/index218.js +223 -34
  33. package/dist/index219.js +37 -21
  34. package/dist/index220.js +10 -161
  35. package/dist/index221.js +13 -11
  36. package/dist/index222.js +14 -12
  37. package/dist/index223.js +13 -15
  38. package/dist/index224.js +790 -153
  39. package/dist/index225.js +677 -45
  40. package/dist/index226.js +406 -33
  41. package/dist/index227.js +175 -39
  42. package/dist/index228.js +19 -160
  43. package/dist/index229.js +20 -228
  44. package/dist/index230.js +21 -36
  45. package/dist/index231.js +20 -10
  46. package/dist/index232.js +19 -126
  47. package/dist/index233.js +19 -37
  48. package/dist/index234.js +3 -80
  49. package/dist/index235.js +87 -19
  50. package/dist/index236.js +186 -19
  51. package/dist/index237.js +131 -18
  52. package/dist/index238.js +160 -19
  53. package/dist/index239.js +1223 -22
  54. package/dist/index240.js +126 -21
  55. package/dist/index241.js +12 -12
  56. package/dist/index242.js +22 -836
  57. package/dist/index243.js +19 -701
  58. package/dist/index244.js +22 -176
  59. package/dist/index245.js +37 -21
  60. package/dist/index246.js +22 -13
  61. package/dist/index247.js +10 -10
  62. package/dist/index248.js +20 -3
  63. package/dist/index249.js +2 -187
  64. package/dist/index250.js +2 -133
  65. package/dist/index251.js +72 -1215
  66. package/dist/index252.js +10 -10
  67. package/dist/index253.js +13 -15
  68. package/dist/index254.js +10 -10
  69. package/dist/index255.js +198 -28
  70. package/dist/index256.js +69 -19
  71. package/dist/index257.js +34 -20
  72. package/dist/index258.js +40 -2
  73. package/dist/index259.js +22 -2
  74. package/dist/index260.js +6 -6
  75. package/dist/index275.js +2 -2
  76. package/dist/index276.js +3 -253
  77. package/dist/index277.js +27 -8
  78. package/dist/index280.js +253 -3
  79. package/dist/index281.js +2 -27
  80. package/dist/index282.js +71 -46
  81. package/dist/index283.js +8 -79
  82. package/dist/index284.js +78 -25
  83. package/dist/index285.js +12 -12
  84. package/dist/index286.js +935 -22
  85. package/dist/index287.js +22 -16
  86. package/dist/index288.js +20 -17
  87. package/dist/index289.js +20 -23
  88. package/dist/index290.js +69 -2
  89. package/dist/index291.js +19 -235
  90. package/dist/index292.js +19 -6
  91. package/dist/index293.js +51 -131
  92. package/dist/index294.js +21 -67
  93. package/dist/index295.js +20 -85
  94. package/dist/index296.js +63 -29
  95. package/dist/index297.js +235 -9
  96. package/dist/index298.js +5 -74
  97. package/dist/index299.js +133 -3
  98. package/dist/index300.js +68 -2
  99. package/dist/index301.js +83 -79
  100. package/dist/index302.js +27 -52
  101. package/dist/index303.js +8 -5
  102. package/dist/index304.js +74 -4
  103. package/dist/index305.js +3 -178
  104. package/dist/index306.js +2 -63
  105. package/dist/index307.js +82 -74
  106. package/dist/index308.js +49 -1513
  107. package/dist/index309.js +4 -384
  108. package/dist/index310.js +4 -2730
  109. package/dist/index311.js +170 -77
  110. package/dist/index312.js +55 -3762
  111. package/dist/index313.js +75 -60
  112. package/dist/index314.js +25 -78
  113. package/dist/index315.js +12 -12
  114. package/dist/index316.js +22 -935
  115. package/dist/index317.js +16 -22
  116. package/dist/index318.js +17 -20
  117. package/dist/index319.js +23 -20
  118. package/dist/index320.js +1518 -69
  119. package/dist/index321.js +386 -19
  120. package/dist/index322.js +2731 -19
  121. package/dist/index323.js +85 -21
  122. package/dist/index324.js +3770 -22
  123. package/dist/index325.js +60 -63
  124. package/dist/index327.js +1 -1
  125. package/dist/index328.js +3 -3
  126. package/dist/index329.js +2 -2
  127. package/dist/index332.js +1 -1
  128. package/dist/index337.js +1 -1
  129. package/dist/index342.js +2 -2
  130. package/dist/index347.js +1 -1
  131. package/dist/index348.js +2 -2
  132. package/dist/index354.js +19 -20
  133. package/dist/index355.js +19 -55
  134. package/dist/index356.js +63 -28
  135. package/dist/index357.js +37 -7
  136. package/dist/index358.js +18 -49
  137. package/dist/index359.js +56 -6
  138. package/dist/index360.js +27 -10
  139. package/dist/index361.js +7 -7
  140. package/dist/index362.js +51 -27
  141. package/dist/index363.js +6 -2
  142. package/dist/index364.js +11 -69
  143. package/dist/index365.js +6 -166
  144. package/dist/index366.js +28 -20
  145. package/dist/index367.js +2 -20
  146. package/dist/index368.js +67 -61
  147. package/dist/index369.js +166 -36
  148. package/dist/index370.js +17 -31
  149. package/dist/index371.js +30 -10
  150. package/dist/index372.js +10 -3
  151. package/dist/index373.js +3 -3
  152. package/dist/index374.js +4 -13
  153. package/dist/index375.js +13 -7
  154. package/dist/index376.js +7 -12
  155. package/dist/index377.js +11 -4
  156. package/dist/index378.js +5 -33
  157. package/dist/index379.js +33 -31
  158. package/dist/index380.js +29 -26
  159. package/dist/index381.js +26 -59
  160. package/dist/index382.js +59 -99
  161. package/dist/index383.js +98 -91
  162. package/dist/index384.js +100 -16
  163. package/dist/index385.js +91 -98
  164. package/dist/index386.js +1 -1
  165. package/dist/index391.js +1 -1
  166. package/dist/index392.js +2 -2
  167. package/dist/index44.js +22 -22
  168. package/package.json +1 -1
package/dist/index237.js CHANGED
@@ -1,22 +1,135 @@
1
- import r from "./index283.js";
2
- import { createElementBlock as t, openBlock as o, mergeProps as n, createElementVNode as i } from "vue";
1
+ import { ObjectUtils as d } from "./index170.js";
2
+ import u from "./index226.js";
3
+ import r from "./index292.js";
4
+ import { createElementBlock as o, openBlock as s, mergeProps as n, createElementVNode as i } from "vue";
3
5
  var p = {
4
- name: "ChevronDownIcon",
5
- extends: r
6
- }, C = /* @__PURE__ */ i("path", {
7
- d: "M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",
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);
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 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);
18
131
  }
19
- p.render = s;
132
+ h.render = c;
20
133
  export {
21
- p as default
134
+ h as default
22
135
  };
package/dist/index238.js CHANGED
@@ -1,22 +1,163 @@
1
- import r from "./index283.js";
2
- import { createElementBlock as t, openBlock as o, mergeProps as n, createElementVNode as p } from "vue";
3
- var i = {
4
- name: "ChevronUpIcon",
5
- extends: r
6
- }, l = /* @__PURE__ */ p("path", {
7
- d: "M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z",
8
- fill: "currentColor"
9
- }, null, -1), s = [l];
10
- function C(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()), s, 16);
1
+ import y from "./index258.js";
2
+ import m from "./index223.js";
3
+ import b from "./index235.js";
4
+ import v from "./index226.js";
5
+ import h from "./index293.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
- i.render = C;
160
+ C.render = A;
20
161
  export {
21
- i as default
162
+ C as default
22
163
  };