@quoreadmin/ui 1.7.7 → 1.7.9

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 (286) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index102.js +2 -2
  3. package/dist/index109.js +1 -1
  4. package/dist/index113.js +2 -2
  5. package/dist/index115.js +42 -33
  6. package/dist/index117.js +3 -3
  7. package/dist/index129.js +1 -1
  8. package/dist/index131.js +2 -2
  9. package/dist/index140.js +3 -3
  10. package/dist/index142.js +72 -60
  11. package/dist/index144.js +6 -6
  12. package/dist/index148.js +44 -30
  13. package/dist/index152.js +1 -1
  14. package/dist/{index154.js → index155.js} +1 -1
  15. package/dist/{index158.js → index159.js} +9 -9
  16. package/dist/index162.js +111 -492
  17. package/dist/index163.js +471 -5498
  18. package/dist/index164.js +5511 -80
  19. package/dist/index165.js +86 -856
  20. package/dist/index166.js +844 -21
  21. package/dist/index167.js +23 -265
  22. package/dist/index168.js +256 -126
  23. package/dist/index169.js +146 -1195
  24. package/dist/index170.js +1139 -712
  25. package/dist/index171.js +704 -1240
  26. package/dist/index172.js +1280 -248
  27. package/dist/index173.js +266 -96
  28. package/dist/index174.js +106 -2
  29. package/dist/index175.js +2 -1376
  30. package/dist/index176.js +1378 -0
  31. package/dist/index178.js +12 -12
  32. package/dist/index179.js +10 -10
  33. package/dist/index180.js +12 -12
  34. package/dist/index181.js +14 -21
  35. package/dist/index182.js +23 -757
  36. package/dist/index183.js +759 -1117
  37. package/dist/index184.js +1117 -1234
  38. package/dist/index185.js +1205 -11248
  39. package/dist/index186.js +11277 -36
  40. package/dist/index187.js +36 -44
  41. package/dist/index188.js +42 -1188
  42. package/dist/index189.js +1192 -0
  43. package/dist/index191.js +5830 -99
  44. package/dist/index192.js +188 -16
  45. package/dist/index193.js +25 -8
  46. package/dist/index194.js +16 -76
  47. package/dist/index195.js +74 -249
  48. package/dist/index196.js +229 -13660
  49. package/dist/index197.js +13684 -27
  50. package/dist/index198.js +26 -62
  51. package/dist/index199.js +40 -215
  52. package/dist/index20.js +38 -26
  53. package/dist/index200.js +206 -276
  54. package/dist/index201.js +278 -258
  55. package/dist/index202.js +287 -32
  56. package/dist/index203.js +81 -109
  57. package/dist/index204.js +404 -33
  58. package/dist/index205.js +22 -26
  59. package/dist/index206.js +30 -33
  60. package/dist/index207.js +116 -9
  61. package/dist/index208.js +35 -18
  62. package/dist/index209.js +26 -10
  63. package/dist/index210.js +36 -10
  64. package/dist/index211.js +9 -51
  65. package/dist/index212.js +18 -42
  66. package/dist/index213.js +10 -4
  67. package/dist/index214.js +10 -39
  68. package/dist/index215.js +51 -21
  69. package/dist/index216.js +40 -85
  70. package/dist/index217.js +3 -406
  71. package/dist/index218.js +39 -22
  72. package/dist/index219.js +21 -127
  73. package/dist/index220.js +148 -25
  74. package/dist/index221.js +20 -80
  75. package/dist/index222.js +1 -1
  76. package/dist/index223.js +15 -13
  77. package/dist/index224.js +198 -19
  78. package/dist/index225.js +68 -18
  79. package/dist/index226.js +34 -20
  80. package/dist/index227.js +22 -143
  81. package/dist/index228.js +160 -19
  82. package/dist/index229.js +228 -22
  83. package/dist/index230.js +31 -193
  84. package/dist/index231.js +10 -70
  85. package/dist/index232.js +124 -31
  86. package/dist/index233.js +29 -31
  87. package/dist/index234.js +80 -161
  88. package/dist/index235.js +20 -228
  89. package/dist/index236.js +19 -36
  90. package/dist/index237.js +20 -10
  91. package/dist/index238.js +20 -3632
  92. package/dist/index239.js +22 -55
  93. package/dist/index240.js +22 -77
  94. package/dist/index241.js +20 -52
  95. package/dist/index242.js +822 -201
  96. package/dist/index243.js +702 -10
  97. package/dist/index244.js +174 -55
  98. package/dist/index245.js +22 -61
  99. package/dist/index246.js +20 -54
  100. package/dist/index247.js +20 -75
  101. package/dist/index248.js +3 -723
  102. package/dist/index249.js +182 -34
  103. package/dist/index250.js +128 -59
  104. package/dist/index251.js +1222 -10
  105. package/dist/index252.js +20 -705
  106. package/dist/index253.js +22 -820
  107. package/dist/index254.js +9 -9
  108. package/dist/index255.js +22 -15
  109. package/dist/index256.js +6 -6
  110. package/dist/index257.js +20 -836
  111. package/dist/index258.js +2 -702
  112. package/dist/index259.js +2 -176
  113. package/dist/index260.js +3632 -22
  114. package/dist/index261.js +55 -20
  115. package/dist/index262.js +77 -20
  116. package/dist/index263.js +52 -3
  117. package/dist/index264.js +208 -180
  118. package/dist/index265.js +10 -133
  119. package/dist/index266.js +51 -1217
  120. package/dist/index267.js +61 -20
  121. package/dist/index268.js +54 -22
  122. package/dist/index269.js +75 -22
  123. package/dist/index270.js +722 -28
  124. package/dist/index271.js +39 -20
  125. package/dist/index272.js +64 -20
  126. package/dist/index273.js +11 -2
  127. package/dist/index274.js +705 -2
  128. package/dist/index275.js +820 -3
  129. package/dist/index276.js +250 -24
  130. package/dist/index277.js +8 -253
  131. package/dist/index278.js +138 -8
  132. package/dist/index279.js +68 -123
  133. package/dist/index280.js +3 -83
  134. package/dist/index281.js +27 -2
  135. package/dist/index282.js +46 -71
  136. package/dist/index283.js +71 -46
  137. package/dist/index284.js +1 -1
  138. package/dist/index285.js +1 -1
  139. package/dist/index286.js +1 -1
  140. package/dist/index287.js +1 -1
  141. package/dist/index288.js +1 -1
  142. package/dist/index289.js +2 -2
  143. package/dist/index290.js +2 -1518
  144. package/dist/index291.js +215 -366
  145. package/dist/index292.js +4 -2729
  146. package/dist/index293.js +131 -83
  147. package/dist/index294.js +66 -3768
  148. package/dist/index295.js +83 -56
  149. package/dist/index296.js +29 -15
  150. package/dist/index297.js +8 -83
  151. package/dist/index298.js +64 -191
  152. package/dist/index299.js +3 -245
  153. package/dist/index300.js +2 -235
  154. package/dist/index301.js +82 -5
  155. package/dist/index302.js +50 -130
  156. package/dist/index303.js +4 -66
  157. package/dist/index304.js +4 -86
  158. package/dist/index305.js +176 -26
  159. package/dist/index306.js +62 -8
  160. package/dist/index307.js +75 -75
  161. package/dist/index308.js +1517 -3
  162. package/dist/index309.js +386 -2
  163. package/dist/index31.js +46 -36
  164. package/dist/index310.js +2730 -82
  165. package/dist/index311.js +84 -52
  166. package/dist/index312.js +3768 -4
  167. package/dist/index313.js +59 -4
  168. package/dist/index314.js +74 -174
  169. package/dist/index315.js +21 -62
  170. package/dist/index316.js +934 -74
  171. package/dist/index317.js +21 -78
  172. package/dist/index318.js +13 -15
  173. package/dist/index319.js +20 -935
  174. package/dist/index320.js +68 -21
  175. package/dist/index321.js +19 -20
  176. package/dist/index322.js +19 -20
  177. package/dist/index323.js +21 -68
  178. package/dist/index324.js +22 -19
  179. package/dist/index325.js +60 -16
  180. package/dist/index326.js +15 -22
  181. package/dist/index327.js +83 -21
  182. package/dist/index328.js +201 -62
  183. package/dist/index329.js +245 -9
  184. package/dist/index330.js +9 -10
  185. package/dist/index331.js +13 -14
  186. package/dist/index332.js +55 -10
  187. package/dist/index333.js +11 -16
  188. package/dist/index334.js +13 -8
  189. package/dist/index335.js +57 -12
  190. package/dist/index336.js +48 -51
  191. package/dist/index337.js +28 -9
  192. package/dist/index338.js +2 -14
  193. package/dist/index339.js +5 -58
  194. package/dist/index340.js +2 -52
  195. package/dist/index341.js +22 -30
  196. package/dist/index342.js +41 -2
  197. package/dist/index343.js +2 -5
  198. package/dist/index344.js +11 -2
  199. package/dist/index345.js +19 -22
  200. package/dist/index346.js +14 -38
  201. package/dist/index347.js +10 -2
  202. package/dist/index348.js +9 -10
  203. package/dist/index349.js +2 -20
  204. package/dist/index350.js +9 -2
  205. package/dist/index351.js +10 -9
  206. package/dist/index352.js +14 -37
  207. package/dist/index353.js +35 -19
  208. package/dist/index354.js +19 -54
  209. package/dist/index355.js +55 -28
  210. package/dist/index356.js +28 -6
  211. package/dist/index357.js +6 -51
  212. package/dist/index358.js +51 -5
  213. package/dist/index359.js +6 -12
  214. package/dist/index360.js +12 -7
  215. package/dist/index361.js +6 -27
  216. package/dist/index362.js +28 -2
  217. package/dist/index363.js +2 -70
  218. package/dist/index364.js +67 -164
  219. package/dist/index365.js +167 -20
  220. package/dist/index366.js +9 -9
  221. package/dist/index367.js +19 -63
  222. package/dist/index368.js +61 -34
  223. package/dist/index369.js +36 -100
  224. package/dist/index370.js +30 -90
  225. package/dist/index371.js +11 -98
  226. package/dist/index372.js +3 -30
  227. package/dist/index373.js +3 -10
  228. package/dist/index374.js +13 -4
  229. package/dist/index375.js +7 -4
  230. package/dist/index376.js +12 -13
  231. package/dist/index377.js +5 -7
  232. package/dist/index378.js +33 -12
  233. package/dist/index379.js +31 -5
  234. package/dist/index380.js +27 -32
  235. package/dist/index381.js +58 -28
  236. package/dist/index382.js +99 -26
  237. package/dist/index383.js +91 -61
  238. package/dist/index384.js +1 -1
  239. package/dist/index385.js +98 -3
  240. package/dist/index386.js +3 -2
  241. package/dist/index387.js +2 -2
  242. package/dist/index388.js +2 -17
  243. package/dist/index389.js +15 -11
  244. package/dist/index390.js +13 -6
  245. package/dist/index391.js +6 -32
  246. package/dist/index392.js +34 -0
  247. package/dist/index43.js +206 -201
  248. package/dist/index44.js +90 -75
  249. package/dist/index47.js +26 -20
  250. package/dist/index49.js +11 -10
  251. package/dist/index50.js +1 -1
  252. package/dist/index51.js +1 -1
  253. package/dist/index52.js +1 -1
  254. package/dist/index54.js +2 -2
  255. package/dist/index56.js +1 -1
  256. package/dist/index58.js +5 -5
  257. package/dist/index59.js +1 -1
  258. package/dist/index71.js +2 -2
  259. package/dist/index75.js +1 -1
  260. package/dist/index80.js +1 -1
  261. package/dist/index85.js +1 -1
  262. package/dist/index87.js +3 -3
  263. package/dist/index89.js +2 -2
  264. package/dist/index95.js +25 -18
  265. package/dist/src/components/data-filter/data-filter.d.ts +33 -0
  266. package/dist/src/components/data-list/data-list.d.ts +33 -0
  267. package/dist/src/components/date-picker/date-picker.d.ts +11 -0
  268. package/dist/src/components/date-picker/date-picker.stories.d.ts +1376 -0
  269. package/dist/src/components/form-group/form-group.stories.d.ts +33 -0
  270. package/dist/src/components/grid/grid.stories.d.ts +61 -0
  271. package/dist/src/components/input/input.d.ts +33 -0
  272. package/dist/src/components/input/input.stories.d.ts +615 -0
  273. package/dist/src/components/list/list.stories.d.ts +14 -0
  274. package/dist/src/components/modal/modal.stories.d.ts +14 -0
  275. package/dist/src/components/room-details-popover/room-details-popover.d.ts +31 -0
  276. package/dist/src/components/select/select.d.ts +14 -0
  277. package/dist/src/components/select/select.stories.d.ts +44 -0
  278. package/dist/src/components/textarea/textarea.d.ts +20 -0
  279. package/dist/src/components/textarea/textarea.stories.d.ts +22 -0
  280. package/dist/src/views/lists.vue.d.ts +66 -0
  281. package/dist/src/views/tables.vue.d.ts +33 -0
  282. package/package.json +1 -1
  283. package/dist/index161.js +0 -116
  284. package/dist/index177.js +0 -20
  285. package/dist/index190.js +0 -5940
  286. /package/dist/{index156.js → index157.js} +0 -0
package/dist/index224.js CHANGED
@@ -1,22 +1,201 @@
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: "ChevronRightIcon",
5
- extends: r
6
- }, C = /* @__PURE__ */ i("path", {
7
- d: "M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 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 f from "./index246.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 "./index203.js";
7
+ import $ from "./index204.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: $,
13
+ props: {
14
+ severity: {
15
+ type: String,
16
+ default: "info"
17
+ },
18
+ closable: {
19
+ type: Boolean,
20
+ default: !0
21
+ },
22
+ sticky: {
23
+ type: Boolean,
24
+ default: !0
25
+ },
26
+ life: {
27
+ type: Number,
28
+ default: 3e3
29
+ },
30
+ icon: {
31
+ type: String,
32
+ default: void 0
33
+ },
34
+ closeIcon: {
35
+ type: String,
36
+ default: void 0
37
+ },
38
+ closeButtonProps: {
39
+ type: null,
40
+ default: null
41
+ }
42
+ },
43
+ style: C,
44
+ provide: function() {
45
+ return {
46
+ $parentInstance: this
47
+ };
48
+ }
49
+ }, L = {
50
+ name: "Message",
51
+ extends: N,
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
+ },
68
+ methods: {
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);
77
+ }
78
+ },
79
+ computed: {
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;
90
+ }
91
+ },
92
+ directives: {
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);
118
+ }
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", {
163
+ key: 0,
164
+ onClose: l.close,
165
+ closeCallback: l.close
166
+ }) : (s(), m("div", n({
167
+ key: 1,
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({
178
+ key: 0,
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);
18
197
  }
19
- p.render = s;
198
+ L.render = q;
20
199
  export {
21
- p as default
200
+ L as default
22
201
  };
package/dist/index225.js CHANGED
@@ -1,22 +1,72 @@
1
- import r from "./index282.js";
2
- import { createElementBlock as t, openBlock as o, mergeProps as n, createElementVNode as i } from "vue";
1
+ import i from "./index204.js";
2
+ import o from "./index288.js";
3
+ import { createElementBlock as t, openBlock as a, mergeProps as r, createCommentVNode as l, renderSlot as s, createTextVNode as u, toDisplayString as d, createElementVNode as m } from "vue";
3
4
  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);
5
+ name: "BaseProgressBar",
6
+ extends: i,
7
+ props: {
8
+ value: {
9
+ type: Number,
10
+ default: null
11
+ },
12
+ mode: {
13
+ type: String,
14
+ default: "determinate"
15
+ },
16
+ showValue: {
17
+ type: Boolean,
18
+ default: !0
19
+ }
20
+ },
21
+ style: o,
22
+ provide: function() {
23
+ return {
24
+ $parentInstance: this
25
+ };
26
+ }
27
+ }, v = {
28
+ name: "ProgressBar",
29
+ extends: p,
30
+ inheritAttrs: !1,
31
+ computed: {
32
+ progressStyle: function() {
33
+ return {
34
+ width: this.value + "%",
35
+ display: "flex"
36
+ };
37
+ },
38
+ indeterminate: function() {
39
+ return this.mode === "indeterminate";
40
+ },
41
+ determinate: function() {
42
+ return this.mode === "determinate";
43
+ }
44
+ }
45
+ }, c = ["aria-valuenow"];
46
+ function f(e, y, g, h, B, n) {
47
+ return a(), t("div", r({
48
+ role: "progressbar",
49
+ class: e.cx("root"),
50
+ "aria-valuemin": "0",
51
+ "aria-valuenow": e.value,
52
+ "aria-valuemax": "100"
53
+ }, e.ptmi("root")), [n.determinate ? (a(), t("div", r({
54
+ key: 0,
55
+ class: e.cx("value"),
56
+ style: n.progressStyle
57
+ }, e.ptm("value")), [e.value != null && e.value !== 0 && e.showValue ? (a(), t("div", r({
58
+ key: 0,
59
+ class: e.cx("label")
60
+ }, e.ptm("label")), [s(e.$slots, "default", {}, function() {
61
+ return [u(d(e.value + "%"), 1)];
62
+ })], 16)) : l("", !0)], 16)) : l("", !0), n.indeterminate ? (a(), t("div", r({
63
+ key: 1,
64
+ class: e.cx("container")
65
+ }, e.ptm("container")), [m("div", r({
66
+ class: e.cx("value")
67
+ }, e.ptm("value")), null, 16)], 16)) : l("", !0)], 16, c);
18
68
  }
19
- p.render = s;
69
+ v.render = f;
20
70
  export {
21
- p as default
71
+ v as default
22
72
  };
package/dist/index226.js CHANGED
@@ -1,22 +1,36 @@
1
- import r from "./index282.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);
18
- }
19
- i.render = C;
1
+ import t from "./index278.js";
2
+ var a = {
3
+ root: function(e) {
4
+ var o = e.props;
5
+ return ["p-fileupload p-fileupload-".concat(o.mode, " p-component")];
6
+ },
7
+ buttonbar: "p-fileupload-buttonbar",
8
+ chooseButton: function(e) {
9
+ var o = e.instance, l = e.props;
10
+ return ["p-button p-component p-fileupload-choose", {
11
+ "p-fileupload-choose-selected": l.mode === "basic" && o.hasFiles,
12
+ "p-disabled": l.disabled,
13
+ "p-focus": o.focused
14
+ }];
15
+ },
16
+ chooseIcon: "p-button-icon p-button-icon-left",
17
+ chooseButtonLabel: "p-button-label",
18
+ content: "p-fileupload-content",
19
+ empty: "p-fileupload-empty",
20
+ uploadIcon: "p-button-icon p-button-icon-left",
21
+ label: "p-button-label",
22
+ file: "p-fileupload-file",
23
+ thumbnail: "p-fileupload-file-thumbnail",
24
+ details: "p-fileupload-file-details",
25
+ fileName: "p-fileupload-file-name",
26
+ fileSize: "p-fileupload-file-size",
27
+ badge: "p-fileupload-file-badge",
28
+ actions: "p-fileupload-file-actions",
29
+ removeButton: "p-fileupload-file-remove"
30
+ }, n = t.extend({
31
+ name: "fileupload",
32
+ classes: a
33
+ });
20
34
  export {
21
- i as default
35
+ n as default
22
36
  };
package/dist/index227.js CHANGED
@@ -1,163 +1,42 @@
1
- import y from "./index233.js";
2
- import m from "./index256.js";
3
- import b from "./index216.js";
4
- import v from "./index217.js";
5
- import h from "./index283.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 t from "./index289.js";
2
+ import r from "./index204.js";
3
+ import { createElementBlock as n, openBlock as o, mergeProps as a, renderSlot as s, createTextVNode as p, toDisplayString as i } from "vue";
4
+ var l = {
5
+ name: "BaseBadge",
6
+ extends: r,
10
7
  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,
8
+ value: {
9
+ type: [String, Number],
37
10
  default: null
38
11
  },
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
12
  severity: {
52
13
  type: String,
53
14
  default: null
54
15
  },
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
16
  size: {
72
17
  type: String,
73
18
  default: null
74
- },
75
- plain: {
76
- type: Boolean,
77
- default: !1
78
19
  }
79
20
  },
80
- style: h,
21
+ style: t,
81
22
  provide: function() {
82
23
  return {
83
24
  $parentInstance: this
84
25
  };
85
26
  }
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]]);
27
+ }, u = {
28
+ name: "Badge",
29
+ extends: l,
30
+ inheritAttrs: !1
31
+ };
32
+ function d(e, c, f, m, g, $) {
33
+ return o(), n("span", a({
34
+ class: e.cx("root")
35
+ }, e.ptmi("root")), [s(e.$slots, "default", {}, function() {
36
+ return [p(i(e.value), 1)];
37
+ })], 16);
159
38
  }
160
- C.render = A;
39
+ u.render = d;
161
40
  export {
162
- C as default
41
+ u as default
163
42
  };