@quoreadmin/ui 1.10.4 → 1.10.6

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 (205) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index131.js +59 -54
  3. package/dist/index138.js +145 -96
  4. package/dist/index147.js +1 -1
  5. package/dist/index182.js +14 -14
  6. package/dist/index183.js +3 -3
  7. package/dist/index186.js +4 -4
  8. package/dist/index193.js +10 -10
  9. package/dist/index195.js +9 -9
  10. package/dist/index198.js +17 -17
  11. package/dist/index201.js +27 -27
  12. package/dist/index202.js +2 -2
  13. package/dist/index203.js +2 -2
  14. package/dist/index204.js +1 -1
  15. package/dist/index206.js +2 -2
  16. package/dist/index208.js +14 -14
  17. package/dist/index209.js +1 -1
  18. package/dist/index210.js +1 -1
  19. package/dist/index211.js +3 -3
  20. package/dist/index212.js +6 -6
  21. package/dist/index213.js +84 -29
  22. package/dist/index214.js +400 -109
  23. package/dist/index215.js +22 -36
  24. package/dist/index216.js +33 -26
  25. package/dist/index217.js +111 -31
  26. package/dist/index218.js +35 -50
  27. package/dist/index219.js +26 -43
  28. package/dist/index220.js +35 -3
  29. package/dist/index221.js +51 -9
  30. package/dist/index222.js +42 -18
  31. package/dist/index223.js +4 -10
  32. package/dist/index224.js +9 -10
  33. package/dist/index225.js +18 -38
  34. package/dist/index226.js +10 -21
  35. package/dist/index227.js +10 -88
  36. package/dist/index228.js +35 -403
  37. package/dist/index229.js +21 -22
  38. package/dist/index230.js +21 -126
  39. package/dist/index231.js +21 -37
  40. package/dist/index232.js +20 -80
  41. package/dist/index233.js +836 -20
  42. package/dist/index234.js +701 -19
  43. package/dist/index235.js +175 -19
  44. package/dist/index236.js +1 -1
  45. package/dist/index237.js +11 -11
  46. package/dist/index238.js +21 -160
  47. package/dist/index239.js +20 -228
  48. package/dist/index240.js +19 -36
  49. package/dist/index241.js +20 -10
  50. package/dist/index242.js +3 -161
  51. package/dist/index243.js +186 -19
  52. package/dist/index244.js +132 -21
  53. package/dist/index245.js +129 -167
  54. package/dist/index246.js +1199 -46
  55. package/dist/index247.js +124 -31
  56. package/dist/index248.js +19 -39
  57. package/dist/index249.js +11 -11
  58. package/dist/index250.js +11 -13
  59. package/dist/index251.js +13 -11
  60. package/dist/index252.js +21 -819
  61. package/dist/index253.js +28 -701
  62. package/dist/index254.js +20 -176
  63. package/dist/index255.js +12 -14
  64. package/dist/index256.js +2 -20
  65. package/dist/index257.js +2 -20
  66. package/dist/index258.js +3636 -3
  67. package/dist/index259.js +49 -181
  68. package/dist/index260.js +72 -128
  69. package/dist/index261.js +45 -1216
  70. package/dist/index262.js +215 -20
  71. package/dist/index263.js +10 -22
  72. package/dist/index264.js +57 -22
  73. package/dist/index265.js +61 -29
  74. package/dist/index266.js +54 -20
  75. package/dist/index267.js +75 -20
  76. package/dist/index268.js +726 -2
  77. package/dist/index269.js +42 -2
  78. package/dist/index270.js +42 -3614
  79. package/dist/index271.js +10 -54
  80. package/dist/index272.js +696 -68
  81. package/dist/index273.js +819 -51
  82. package/dist/index274.js +71 -206
  83. package/dist/index275.js +20 -10
  84. package/dist/index276.js +20 -57
  85. package/dist/index277.js +160 -60
  86. package/dist/index278.js +225 -51
  87. package/dist/index279.js +37 -75
  88. package/dist/index280.js +10 -726
  89. package/dist/index281.js +22 -42
  90. package/dist/index282.js +190 -55
  91. package/dist/index283.js +70 -11
  92. package/dist/index284.js +33 -704
  93. package/dist/index285.js +37 -817
  94. package/dist/index290.js +1534 -3
  95. package/dist/index291.js +382 -23
  96. package/dist/index292.js +2731 -2
  97. package/dist/index293.js +78 -71
  98. package/dist/index294.js +3792 -54
  99. package/dist/index295.js +59 -25
  100. package/dist/index296.js +15 -22
  101. package/dist/index297.js +83 -21
  102. package/dist/index298.js +201 -15
  103. package/dist/index299.js +246 -17
  104. package/dist/index300.js +78 -22
  105. package/dist/index301.js +73 -256
  106. package/dist/index302.js +21 -5
  107. package/dist/index303.js +925 -130
  108. package/dist/index304.js +21 -72
  109. package/dist/index305.js +18 -85
  110. package/dist/index306.js +19 -28
  111. package/dist/index307.js +68 -15
  112. package/dist/index308.js +19 -75
  113. package/dist/index309.js +19 -4
  114. package/dist/index310.js +54 -2
  115. package/dist/index311.js +21 -82
  116. package/dist/index312.js +21 -52
  117. package/dist/index313.js +63 -6
  118. package/dist/index314.js +2 -5
  119. package/dist/index315.js +3 -179
  120. package/dist/index316.js +25 -61
  121. package/dist/index317.js +261 -74
  122. package/dist/index318.js +5 -1533
  123. package/dist/index319.js +125 -371
  124. package/dist/index320.js +70 -2728
  125. package/dist/index321.js +85 -84
  126. package/dist/index322.js +26 -3789
  127. package/dist/index323.js +14 -58
  128. package/dist/index324.js +72 -76
  129. package/dist/index325.js +3 -21
  130. package/dist/index326.js +2 -935
  131. package/dist/index327.js +82 -21
  132. package/dist/index328.js +52 -19
  133. package/dist/index329.js +5 -19
  134. package/dist/index330.js +4 -68
  135. package/dist/index331.js +178 -18
  136. package/dist/index332.js +62 -18
  137. package/dist/index333.js +75 -22
  138. package/dist/index334.js +19 -15
  139. package/dist/index335.js +21 -62
  140. package/dist/index336.js +22 -15
  141. package/dist/index337.js +16 -84
  142. package/dist/index338.js +16 -201
  143. package/dist/index339.js +23 -246
  144. package/dist/index340.js +36 -9
  145. package/dist/index341.js +20 -10
  146. package/dist/index342.js +20 -14
  147. package/dist/index343.js +64 -10
  148. package/dist/index344.js +37 -17
  149. package/dist/index347.js +1 -1
  150. package/dist/index352.js +1 -1
  151. package/dist/index356.js +3 -3
  152. package/dist/index357.js +3 -3
  153. package/dist/index361.js +10 -2
  154. package/dist/index362.js +9 -8
  155. package/dist/index363.js +16 -36
  156. package/dist/index364.js +2 -19
  157. package/dist/index365.js +9 -57
  158. package/dist/index366.js +9 -28
  159. package/dist/index367.js +14 -7
  160. package/dist/index368.js +16 -49
  161. package/dist/index369.js +57 -7
  162. package/dist/index370.js +27 -10
  163. package/dist/index371.js +7 -7
  164. package/dist/index372.js +51 -27
  165. package/dist/index373.js +7 -2
  166. package/dist/index374.js +11 -69
  167. package/dist/index375.js +6 -166
  168. package/dist/index376.js +28 -20
  169. package/dist/index377.js +2 -20
  170. package/dist/index378.js +67 -61
  171. package/dist/index379.js +166 -36
  172. package/dist/index38.js +1 -1
  173. package/dist/index380.js +98 -28
  174. package/dist/index381.js +90 -10
  175. package/dist/index382.js +98 -4
  176. package/dist/index383.js +17 -4
  177. package/dist/index384.js +30 -12
  178. package/dist/index385.js +11 -7
  179. package/dist/index386.js +3 -11
  180. package/dist/index387.js +3 -4
  181. package/dist/index388.js +13 -33
  182. package/dist/index389.js +7 -31
  183. package/dist/index390.js +12 -28
  184. package/dist/index391.js +5 -61
  185. package/dist/index392.js +33 -17
  186. package/dist/index393.js +29 -99
  187. package/dist/index394.js +28 -91
  188. package/dist/index395.js +59 -96
  189. package/dist/index396.js +1 -1
  190. package/dist/index401.js +1 -1
  191. package/dist/index402.js +2 -2
  192. package/dist/index41.js +5 -5
  193. package/dist/src/components/comment/comment.d.ts +6 -0
  194. package/dist/src/components/comment/comment.stories.d.ts +6 -0
  195. package/dist/src/components/comment-section/comment-section.d.ts +6 -0
  196. package/dist/src/components/comment-section/comment-section.stories.d.ts +6 -0
  197. package/dist/src/components/data-filter/data-filter.d.ts +6 -0
  198. package/dist/src/components/data-list/data-list.d.ts +6 -0
  199. package/dist/src/components/grid/grid.stories.d.ts +12 -0
  200. package/dist/src/components/popover/popover.d.ts +6 -0
  201. package/dist/src/components/popover/popover.stories.d.ts +42 -0
  202. package/dist/src/components/room-details-popover/room-details-popover.d.ts +6 -0
  203. package/dist/src/views/lists.vue.d.ts +12 -0
  204. package/dist/src/views/tables.vue.d.ts +6 -0
  205. package/package.json +1 -1
package/dist/index245.js CHANGED
@@ -1,201 +1,163 @@
1
- import f from "./index256.js";
2
- import y from "./index295.js";
3
- import b from "./index296.js";
4
- import P from "./index233.js";
5
- import d from "./index297.js";
6
- import S from "./index227.js";
7
- import $ from "./index228.js";
8
- import C from "./index298.js";
9
- import { resolveComponent as j, resolveDirective as k, openBlock as s, createBlock as p, Transition as D, mergeProps as n, withCtx as B, withDirectives as v, createElementVNode as g, renderSlot as a, createElementBlock as m, resolveDynamicComponent as A, createCommentVNode as T, vShow as E } from "vue";
10
- var N = {
11
- name: "BaseMessage",
12
- extends: $,
1
+ import y from "./index285.js";
2
+ import m from "./index232.js";
3
+ import b from "./index213.js";
4
+ import v from "./index214.js";
5
+ import h from "./index310.js";
6
+ import { resolveComponent as r, resolveDirective as S, withDirectives as B, openBlock as n, createElementBlock as i, mergeProps as t, renderSlot as o, normalizeClass as d, createBlock as p, createCommentVNode as u, createElementVNode as I, toDisplayString as $ } from "vue";
7
+ var k = {
8
+ name: "BaseButton",
9
+ extends: v,
13
10
  props: {
14
- severity: {
11
+ label: {
15
12
  type: String,
16
- default: "info"
13
+ default: null
17
14
  },
18
- closable: {
19
- type: Boolean,
20
- default: !0
15
+ icon: {
16
+ type: String,
17
+ default: null
21
18
  },
22
- sticky: {
23
- type: Boolean,
24
- default: !0
19
+ iconPos: {
20
+ type: String,
21
+ default: "left"
25
22
  },
26
- life: {
27
- type: Number,
28
- default: 3e3
23
+ iconClass: {
24
+ type: String,
25
+ default: null
29
26
  },
30
- icon: {
27
+ badge: {
31
28
  type: String,
32
- default: void 0
29
+ default: null
30
+ },
31
+ badgeClass: {
32
+ type: String,
33
+ default: null
34
+ },
35
+ badgeSeverity: {
36
+ type: String,
37
+ default: null
33
38
  },
34
- closeIcon: {
39
+ loading: {
40
+ type: Boolean,
41
+ default: !1
42
+ },
43
+ loadingIcon: {
35
44
  type: String,
36
45
  default: void 0
37
46
  },
38
- closeButtonProps: {
39
- type: null,
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,
40
73
  default: null
74
+ },
75
+ plain: {
76
+ type: Boolean,
77
+ default: !1
41
78
  }
42
79
  },
43
- style: C,
80
+ style: h,
44
81
  provide: function() {
45
82
  return {
46
83
  $parentInstance: this
47
84
  };
48
85
  }
49
- }, L = {
50
- name: "Message",
51
- extends: N,
86
+ }, C = {
87
+ name: "Button",
88
+ extends: k,
52
89
  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
90
  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);
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
+ });
77
98
  }
78
99
  },
79
100
  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;
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;
90
109
  }
91
110
  },
92
- directives: {
93
- ripple: S
94
- },
95
111
  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.");
112
+ SpinnerIcon: m,
113
+ Badge: y
114
+ },
115
+ directives: {
116
+ ripple: b
146
117
  }
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", {
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: d([e.cx("loadingIcon"), e.cx("icon")])
132
+ }, function() {
133
+ return [e.loadingIcon ? (n(), i("span", t({
163
134
  key: 0,
164
- onClose: l.close,
165
- closeCallback: l.close
166
- }) : (s(), m("div", n({
135
+ class: [e.cx("loadingIcon"), e.cx("icon"), e.loadingIcon]
136
+ }, e.ptm("loadingIcon")), null, 16)) : (n(), p(c, t({
167
137
  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(A(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({
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: d([e.cx("icon")])
144
+ }, function() {
145
+ return [e.icon ? (n(), i("span", t({
178
146
  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]]) : T("", !0)], 16))], 16), [[E, u.visible]])];
194
- }),
195
- _: 3
196
- }, 16);
147
+ class: [e.cx("icon"), e.icon, e.iconClass]
148
+ }, e.ptm("icon")), null, 16)) : u("", !0)];
149
+ }), I("span", t({
150
+ class: e.cx("label")
151
+ }, e.ptm("label")), $(e.label || " "), 17), e.badge ? (n(), p(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"])) : u("", !0)];
158
+ })], 16, P)), [[g]]);
197
159
  }
198
- L.render = q;
160
+ C.render = A;
199
161
  export {
200
- L as default
162
+ C as default
201
163
  };