@quoreadmin/ui 1.7.3 → 1.7.4

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/index140.js +361 -307
  2. package/dist/index142.js +1 -1
  3. package/dist/index171.js +14 -14
  4. package/dist/index172.js +3 -3
  5. package/dist/index175.js +4 -4
  6. package/dist/index182.js +10 -10
  7. package/dist/index184.js +9 -9
  8. package/dist/index186.js +36 -1190
  9. package/dist/{index189.js → index187.js} +17 -17
  10. package/dist/index188.js +1190 -36
  11. package/dist/index190.js +27 -27
  12. package/dist/index191.js +2 -2
  13. package/dist/index192.js +2 -2
  14. package/dist/index193.js +1 -1
  15. package/dist/index195.js +2 -2
  16. package/dist/index197.js +14 -14
  17. package/dist/index198.js +1 -1
  18. package/dist/index199.js +1 -1
  19. package/dist/index200.js +3 -3
  20. package/dist/index201.js +6 -6
  21. package/dist/index202.js +29 -84
  22. package/dist/index203.js +109 -400
  23. package/dist/index204.js +36 -22
  24. package/dist/index205.js +26 -33
  25. package/dist/index206.js +31 -111
  26. package/dist/index207.js +9 -36
  27. package/dist/index208.js +19 -26
  28. package/dist/index209.js +10 -36
  29. package/dist/index210.js +10 -9
  30. package/dist/index211.js +50 -18
  31. package/dist/index212.js +43 -10
  32. package/dist/index213.js +4 -10
  33. package/dist/index214.js +36 -48
  34. package/dist/index215.js +21 -43
  35. package/dist/index216.js +87 -3
  36. package/dist/index217.js +403 -35
  37. package/dist/index218.js +22 -21
  38. package/dist/index219.js +126 -21
  39. package/dist/index220.js +37 -21
  40. package/dist/index221.js +80 -20
  41. package/dist/index222.js +20 -836
  42. package/dist/index223.js +19 -701
  43. package/dist/index224.js +19 -175
  44. package/dist/index225.js +1 -1
  45. package/dist/index226.js +11 -11
  46. package/dist/index227.js +160 -21
  47. package/dist/index228.js +228 -20
  48. package/dist/index229.js +36 -19
  49. package/dist/index230.js +10 -20
  50. package/dist/index231.js +161 -3
  51. package/dist/index232.js +19 -186
  52. package/dist/index233.js +21 -132
  53. package/dist/index234.js +167 -129
  54. package/dist/index235.js +46 -1199
  55. package/dist/index236.js +31 -124
  56. package/dist/index237.js +39 -19
  57. package/dist/index238.js +3632 -22
  58. package/dist/index239.js +55 -20
  59. package/dist/index240.js +77 -22
  60. package/dist/index241.js +46 -32
  61. package/dist/index242.js +215 -29
  62. package/dist/index243.js +10 -20
  63. package/dist/index244.js +57 -20
  64. package/dist/index245.js +61 -2
  65. package/dist/index246.js +54 -2
  66. package/dist/index247.js +74 -160
  67. package/dist/index248.js +707 -212
  68. package/dist/index249.js +39 -37
  69. package/dist/index250.js +64 -10
  70. package/dist/index251.js +11 -22
  71. package/dist/index252.js +689 -183
  72. package/dist/index253.js +813 -63
  73. package/dist/index254.js +22 -34
  74. package/dist/index255.js +20 -38
  75. package/dist/index256.js +20 -80
  76. package/dist/index257.js +836 -20
  77. package/dist/index258.js +701 -19
  78. package/dist/index259.js +170 -3626
  79. package/dist/index260.js +22 -55
  80. package/dist/index261.js +20 -77
  81. package/dist/index262.js +20 -52
  82. package/dist/index263.js +3 -215
  83. package/dist/index264.js +187 -10
  84. package/dist/index265.js +128 -52
  85. package/dist/index266.js +1214 -52
  86. package/dist/index267.js +20 -54
  87. package/dist/index268.js +22 -75
  88. package/dist/index269.js +21 -722
  89. package/dist/index270.js +29 -39
  90. package/dist/index271.js +20 -64
  91. package/dist/index272.js +20 -11
  92. package/dist/index273.js +2 -705
  93. package/dist/index274.js +2 -820
  94. package/dist/index279.js +2 -79
  95. package/dist/index280.js +71 -71
  96. package/dist/index281.js +3 -22
  97. package/dist/index282.js +24 -932
  98. package/dist/index283.js +53 -21
  99. package/dist/index284.js +18 -12
  100. package/dist/index285.js +13 -11
  101. package/dist/index286.js +21 -68
  102. package/dist/index287.js +14 -17
  103. package/dist/index288.js +14 -16
  104. package/dist/index289.js +21 -52
  105. package/dist/index290.js +1518 -22
  106. package/dist/index291.js +386 -22
  107. package/dist/index292.js +2731 -63
  108. package/dist/index293.js +86 -2
  109. package/dist/index294.js +3770 -26
  110. package/dist/index295.js +59 -21
  111. package/dist/index296.js +15 -22
  112. package/dist/index297.js +84 -16
  113. package/dist/index298.js +201 -16
  114. package/dist/index299.js +246 -23
  115. package/dist/index300.js +235 -3
  116. package/dist/index301.js +4 -25
  117. package/dist/index302.js +123 -1507
  118. package/dist/index303.js +61 -379
  119. package/dist/index304.js +81 -2725
  120. package/dist/index305.js +26 -83
  121. package/dist/index306.js +9 -3770
  122. package/dist/index307.js +72 -57
  123. package/dist/index308.js +4 -15
  124. package/dist/index309.js +2 -84
  125. package/dist/index310.js +74 -193
  126. package/dist/index311.js +54 -246
  127. package/dist/index312.js +4 -233
  128. package/dist/index313.js +4 -5
  129. package/dist/index314.js +166 -121
  130. package/dist/index315.js +58 -63
  131. package/dist/index316.js +73 -85
  132. package/dist/index317.js +75 -25
  133. package/dist/index318.js +21 -8
  134. package/dist/index319.js +926 -66
  135. package/dist/index320.js +21 -3
  136. package/dist/index321.js +20 -2
  137. package/dist/index322.js +19 -82
  138. package/dist/index323.js +66 -51
  139. package/dist/index324.js +19 -6
  140. package/dist/index325.js +19 -5
  141. package/dist/index326.js +21 -178
  142. package/dist/index327.js +21 -62
  143. package/dist/index328.js +62 -74
  144. package/dist/index330.js +8 -19
  145. package/dist/index331.js +12 -19
  146. package/dist/index332.js +51 -60
  147. package/dist/index333.js +12 -37
  148. package/dist/index334.js +13 -8
  149. package/dist/index335.js +57 -12
  150. package/dist/index336.js +48 -51
  151. package/dist/index337.js +28 -9
  152. package/dist/index338.js +2 -14
  153. package/dist/index339.js +5 -58
  154. package/dist/index340.js +2 -52
  155. package/dist/index341.js +22 -30
  156. package/dist/index342.js +41 -2
  157. package/dist/index343.js +2 -5
  158. package/dist/index344.js +11 -2
  159. package/dist/index345.js +19 -22
  160. package/dist/index346.js +14 -38
  161. package/dist/index347.js +10 -2
  162. package/dist/index348.js +9 -10
  163. package/dist/index349.js +2 -20
  164. package/dist/index350.js +8 -16
  165. package/dist/index351.js +10 -10
  166. package/dist/index352.js +13 -9
  167. package/dist/index353.js +21 -2
  168. package/dist/index354.js +56 -9
  169. package/dist/index355.js +28 -9
  170. package/dist/index356.js +7 -14
  171. package/dist/index357.js +49 -18
  172. package/dist/index358.js +6 -56
  173. package/dist/index359.js +10 -27
  174. package/dist/index360.js +7 -7
  175. package/dist/index361.js +27 -51
  176. package/dist/index362.js +2 -6
  177. package/dist/index363.js +69 -11
  178. package/dist/index364.js +166 -6
  179. package/dist/index365.js +20 -28
  180. package/dist/index366.js +20 -2
  181. package/dist/index367.js +61 -67
  182. package/dist/index368.js +36 -166
  183. package/dist/index369.js +100 -16
  184. package/dist/index370.js +91 -98
  185. package/dist/index371.js +95 -98
  186. package/dist/index372.js +30 -90
  187. package/dist/index373.js +10 -30
  188. package/dist/index374.js +3 -10
  189. package/dist/index375.js +3 -3
  190. package/dist/index376.js +13 -4
  191. package/dist/index377.js +7 -13
  192. package/dist/index378.js +12 -7
  193. package/dist/index379.js +4 -11
  194. package/dist/index380.js +33 -5
  195. package/dist/index381.js +31 -33
  196. package/dist/index382.js +26 -29
  197. package/dist/index383.js +59 -26
  198. package/dist/index384.js +16 -60
  199. package/dist/index385.js +1 -1
  200. package/dist/index390.js +1 -1
  201. package/dist/index391.js +2 -2
  202. package/package.json +1 -1
package/dist/index234.js CHANGED
@@ -1,163 +1,201 @@
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,
1
+ import f from "./index261.js";
2
+ import y from "./index284.js";
3
+ import b from "./index285.js";
4
+ import P from "./index222.js";
5
+ import d from "./index286.js";
6
+ import S from "./index216.js";
7
+ import $ from "./index217.js";
8
+ import C from "./index287.js";
9
+ import { resolveComponent as j, resolveDirective as k, createBlock as p, openBlock as s, Transition as D, mergeProps as n, withCtx as B, withDirectives as v, createElementVNode as g, renderSlot as a, createElementBlock as m, createCommentVNode as A, resolveDynamicComponent as T, vShow as E } from "vue";
10
+ var N = {
11
+ name: "BaseMessage",
12
+ extends: $,
10
13
  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
14
  severity: {
52
15
  type: String,
53
- default: null
16
+ default: "info"
54
17
  },
55
- raised: {
18
+ closable: {
56
19
  type: Boolean,
57
- default: !1
20
+ default: !0
58
21
  },
59
- rounded: {
22
+ sticky: {
60
23
  type: Boolean,
61
- default: !1
24
+ default: !0
62
25
  },
63
- text: {
64
- type: Boolean,
65
- default: !1
26
+ life: {
27
+ type: Number,
28
+ default: 3e3
66
29
  },
67
- outlined: {
68
- type: Boolean,
69
- default: !1
30
+ icon: {
31
+ type: String,
32
+ default: void 0
70
33
  },
71
- size: {
34
+ closeIcon: {
72
35
  type: String,
73
- default: null
36
+ default: void 0
74
37
  },
75
- plain: {
76
- type: Boolean,
77
- default: !1
38
+ closeButtonProps: {
39
+ type: null,
40
+ default: null
78
41
  }
79
42
  },
80
- style: h,
43
+ style: C,
81
44
  provide: function() {
82
45
  return {
83
46
  $parentInstance: this
84
47
  };
85
48
  }
86
- }, C = {
87
- name: "Button",
88
- extends: k,
49
+ }, L = {
50
+ name: "Message",
51
+ extends: N,
89
52
  inheritAttrs: !1,
53
+ emits: ["close", "life-end"],
54
+ timeout: null,
55
+ data: function() {
56
+ return {
57
+ visible: !0
58
+ };
59
+ },
60
+ watch: {
61
+ sticky: function(t) {
62
+ t || this.closeAfterDelay();
63
+ }
64
+ },
65
+ mounted: function() {
66
+ this.sticky || this.closeAfterDelay();
67
+ },
90
68
  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
- });
69
+ close: function(t) {
70
+ this.visible = !1, this.$emit("close", t);
71
+ },
72
+ closeAfterDelay: function() {
73
+ var t = this;
74
+ setTimeout(function() {
75
+ t.visible = !1, t.$emit("life-end");
76
+ }, this.life);
98
77
  }
99
78
  },
100
79
  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;
80
+ iconComponent: function() {
81
+ return {
82
+ info: b,
83
+ success: f,
84
+ warn: y,
85
+ error: d
86
+ }[this.severity];
87
+ },
88
+ closeAriaLabel: function() {
89
+ return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.close : void 0;
109
90
  }
110
91
  },
111
- components: {
112
- SpinnerIcon: m,
113
- Badge: y
114
- },
115
92
  directives: {
116
- ripple: b
93
+ ripple: S
94
+ },
95
+ components: {
96
+ TimesIcon: P,
97
+ InfoCircleIcon: b,
98
+ CheckIcon: f,
99
+ ExclamationTriangleIcon: y,
100
+ TimesCircleIcon: d
101
+ }
102
+ };
103
+ function c(e) {
104
+ "@babel/helpers - typeof";
105
+ return c = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
106
+ return typeof t;
107
+ } : function(t) {
108
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
109
+ }, c(e);
110
+ }
111
+ function h(e, t) {
112
+ var o = Object.keys(e);
113
+ if (Object.getOwnPropertySymbols) {
114
+ var r = Object.getOwnPropertySymbols(e);
115
+ t && (r = r.filter(function(u) {
116
+ return Object.getOwnPropertyDescriptor(e, u).enumerable;
117
+ })), o.push.apply(o, r);
117
118
  }
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({
119
+ return o;
120
+ }
121
+ function i(e) {
122
+ for (var t = 1; t < arguments.length; t++) {
123
+ var o = arguments[t] != null ? arguments[t] : {};
124
+ t % 2 ? h(Object(o), !0).forEach(function(r) {
125
+ M(e, r, o[r]);
126
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : h(Object(o)).forEach(function(r) {
127
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r));
128
+ });
129
+ }
130
+ return e;
131
+ }
132
+ function M(e, t, o) {
133
+ return t = K(t), t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
134
+ }
135
+ function K(e) {
136
+ var t = V(e, "string");
137
+ return c(t) == "symbol" ? t : String(t);
138
+ }
139
+ function V(e, t) {
140
+ if (c(e) != "object" || !e) return e;
141
+ var o = e[Symbol.toPrimitive];
142
+ if (o !== void 0) {
143
+ var r = o.call(e, t);
144
+ if (c(r) != "object") return r;
145
+ throw new TypeError("@@toPrimitive must return a primitive value.");
146
+ }
147
+ return (t === "string" ? String : Number)(e);
148
+ }
149
+ var R = ["aria-label"];
150
+ function q(e, t, o, r, u, l) {
151
+ var I = j("TimesIcon"), O = k("ripple");
152
+ return s(), p(D, n({
153
+ name: "p-message",
154
+ appear: ""
155
+ }, e.ptmi("transition")), {
156
+ default: B(function() {
157
+ return [v(g("div", n({
158
+ class: e.cx("root"),
159
+ role: "alert",
160
+ "aria-live": "assertive",
161
+ "aria-atomic": "true"
162
+ }, e.ptm("root")), [e.$slots.container ? a(e.$slots, "container", {
134
163
  key: 0,
135
- class: [e.cx("loadingIcon"), e.cx("icon"), e.loadingIcon]
136
- }, e.ptm("loadingIcon")), null, 16)) : (n(), d(c, t({
164
+ onClose: l.close,
165
+ closeCallback: l.close
166
+ }) : (s(), m("div", n({
137
167
  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({
168
+ class: e.cx("wrapper")
169
+ }, e.ptm("wrapper")), [a(e.$slots, "messageicon", {
170
+ class: "p-message-icon"
171
+ }, function() {
172
+ return [(s(), p(T(e.icon ? "span" : l.iconComponent), n({
173
+ class: [e.cx("icon"), e.icon]
174
+ }, e.ptm("icon")), null, 16, ["class"]))];
175
+ }), g("div", n({
176
+ class: ["p-message-text", e.cx("text")]
177
+ }, e.ptm("text")), [a(e.$slots, "default")], 16), e.closable ? v((s(), m("button", n({
146
178
  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]]);
179
+ class: e.cx("closeButton"),
180
+ "aria-label": l.closeAriaLabel,
181
+ type: "button",
182
+ onClick: t[0] || (t[0] = function(w) {
183
+ return l.close(w);
184
+ })
185
+ }, i(i(i({}, e.closeButtonProps), e.ptm("button")), e.ptm("closeButton"))), [a(e.$slots, "closeicon", {}, function() {
186
+ return [e.closeIcon ? (s(), m("i", n({
187
+ key: 0,
188
+ class: [e.cx("closeIcon"), e.closeIcon]
189
+ }, i(i({}, e.ptm("buttonIcon")), e.ptm("closeIcon"))), null, 16)) : (s(), p(I, n({
190
+ key: 1,
191
+ class: [e.cx("closeIcon"), e.closeIcon]
192
+ }, i(i({}, e.ptm("buttonIcon")), e.ptm("closeIcon"))), null, 16, ["class"]))];
193
+ })], 16, R)), [[O]]) : A("", !0)], 16))], 16), [[E, u.visible]])];
194
+ }),
195
+ _: 3
196
+ }, 16);
159
197
  }
160
- C.render = A;
198
+ L.render = q;
161
199
  export {
162
- C as default
200
+ L as default
163
201
  };