@quoreadmin/ui 1.4.6 → 1.4.8

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 (148) hide show
  1. package/dist/index164.js +14 -14
  2. package/dist/index165.js +3 -3
  3. package/dist/index168.js +4 -4
  4. package/dist/index175.js +10 -10
  5. package/dist/index177.js +10 -10
  6. package/dist/index184.js +28 -28
  7. package/dist/index185.js +2 -2
  8. package/dist/index186.js +2 -2
  9. package/dist/index187.js +1 -1
  10. package/dist/index189.js +2 -2
  11. package/dist/index191.js +14 -14
  12. package/dist/index192.js +1 -1
  13. package/dist/index193.js +1 -1
  14. package/dist/index194.js +3 -3
  15. package/dist/index195.js +3 -3
  16. package/dist/index196.js +84 -157
  17. package/dist/index197.js +384 -205
  18. package/dist/index198.js +22 -37
  19. package/dist/index199.js +33 -10
  20. package/dist/index200.js +113 -30
  21. package/dist/index201.js +30 -110
  22. package/dist/index202.js +26 -36
  23. package/dist/index203.js +36 -26
  24. package/dist/index204.js +9 -36
  25. package/dist/index205.js +19 -9
  26. package/dist/index206.js +10 -19
  27. package/dist/index207.js +10 -10
  28. package/dist/index208.js +51 -10
  29. package/dist/index209.js +37 -45
  30. package/dist/index210.js +3 -42
  31. package/dist/index211.js +38 -3
  32. package/dist/index212.js +21 -39
  33. package/dist/index213.js +161 -21
  34. package/dist/index214.js +19 -87
  35. package/dist/index215.js +20 -407
  36. package/dist/index216.js +22 -22
  37. package/dist/index217.js +167 -129
  38. package/dist/index218.js +69 -19
  39. package/dist/index219.js +34 -20
  40. package/dist/index22.js +15 -14
  41. package/dist/index220.js +39 -21
  42. package/dist/index221.js +21 -198
  43. package/dist/index222.js +21 -69
  44. package/dist/index223.js +20 -34
  45. package/dist/index224.js +823 -27
  46. package/dist/index225.js +679 -104
  47. package/dist/index226.js +174 -36
  48. package/dist/index227.js +20 -80
  49. package/dist/index228.js +3 -3
  50. package/dist/index229.js +14 -12
  51. package/dist/index230.js +10 -10
  52. package/dist/index231.js +9 -9
  53. package/dist/index232.js +3 -22
  54. package/dist/index233.js +186 -21
  55. package/dist/index234.js +132 -19
  56. package/dist/index235.js +1131 -744
  57. package/dist/index236.js +104 -679
  58. package/dist/index237.js +20 -176
  59. package/dist/index238.js +11 -11
  60. package/dist/index239.js +15 -13
  61. package/dist/index240.js +37 -19
  62. package/dist/index241.js +29 -3
  63. package/dist/index242.js +19 -186
  64. package/dist/index243.js +18 -131
  65. package/dist/index244.js +2 -1223
  66. package/dist/index245.js +2 -20
  67. package/dist/index246.js +3632 -22
  68. package/dist/index247.js +55 -22
  69. package/dist/index248.js +77 -29
  70. package/dist/index249.js +52 -20
  71. package/dist/index250.js +215 -20
  72. package/dist/index251.js +10 -2
  73. package/dist/index252.js +57 -2
  74. package/dist/index253.js +46 -3617
  75. package/dist/index254.js +35 -36
  76. package/dist/index255.js +28 -30
  77. package/dist/index256.js +699 -28
  78. package/dist/index257.js +21 -197
  79. package/dist/index258.js +63 -9
  80. package/dist/index259.js +8 -54
  81. package/dist/index260.js +695 -51
  82. package/dist/index261.js +815 -49
  83. package/dist/index262.js +160 -74
  84. package/dist/index263.js +212 -707
  85. package/dist/index264.js +37 -39
  86. package/dist/index265.js +10 -64
  87. package/dist/index266.js +79 -10
  88. package/dist/index267.js +20 -705
  89. package/dist/index268.js +20 -820
  90. package/dist/index269.js +249 -50
  91. package/dist/index270.js +8 -79
  92. package/dist/index271.js +138 -26
  93. package/dist/index272.js +83 -22
  94. package/dist/index273.js +53 -21
  95. package/dist/index274.js +78 -15
  96. package/dist/index275.js +26 -17
  97. package/dist/index276.js +22 -253
  98. package/dist/index277.js +22 -8
  99. package/dist/index278.js +15 -137
  100. package/dist/index279.js +17 -83
  101. package/dist/index280.js +1 -1
  102. package/dist/index281.js +3 -2
  103. package/dist/index282.js +27 -3
  104. package/dist/index283.js +1515 -24
  105. package/dist/index284.js +346 -1478
  106. package/dist/index285.js +2675 -330
  107. package/dist/index286.js +72 -2717
  108. package/dist/index287.js +3760 -76
  109. package/dist/index288.js +49 -3759
  110. package/dist/index289.js +75 -56
  111. package/dist/index290.js +21 -78
  112. package/dist/index291.js +935 -22
  113. package/dist/index292.js +22 -935
  114. package/dist/index293.js +13 -15
  115. package/dist/index294.js +5 -5
  116. package/dist/index295.js +68 -19
  117. package/dist/index296.js +18 -68
  118. package/dist/index297.js +14 -14
  119. package/dist/index298.js +22 -19
  120. package/dist/index299.js +14 -14
  121. package/dist/index300.js +62 -21
  122. package/dist/index301.js +2 -63
  123. package/dist/index303.js +2 -2
  124. package/dist/index304.js +4 -4
  125. package/dist/index305.js +2 -2
  126. package/dist/index323.js +1 -1
  127. package/dist/index326.js +1 -1
  128. package/dist/index331.js +1 -1
  129. package/dist/index336.js +2 -2
  130. package/dist/index341.js +1 -1
  131. package/dist/index342.js +2 -2
  132. package/dist/index347.js +1 -1
  133. package/dist/index348.js +1 -1
  134. package/dist/index349.js +1 -1
  135. package/dist/index350.js +1 -1
  136. package/dist/index363.js +1 -1
  137. package/dist/index96.js +23 -19
  138. package/dist/src/components/comment/comment.d.ts +9 -0
  139. package/dist/src/components/comment/comment.stories.d.ts +9 -0
  140. package/dist/src/components/comment-section/comment-section.d.ts +18 -0
  141. package/dist/src/components/comment-section/comment-section.stories.d.ts +27 -0
  142. package/dist/src/components/file-upload/file-upload.d.ts +9 -0
  143. package/dist/src/components/file-upload/file-upload.stories.d.ts +45 -0
  144. package/dist/src/components/room-details-popover/room-details-popover.d.ts +18 -0
  145. package/dist/src/components/wysiwyg/wysiwyg.d.ts +9 -0
  146. package/dist/src/components/wysiwyg/wysiwyg.stories.d.ts +9 -0
  147. package/package.json +2 -2
  148. package/tailwind.preset.ts +1 -1
package/dist/index233.js CHANGED
@@ -1,24 +1,189 @@
1
- import r from "./index270.js";
2
- import { createElementBlock as o, openBlock as t, mergeProps as n, createElementVNode as C } from "vue";
3
- var l = {
4
- name: "ArrowUpIcon",
5
- extends: r
6
- }, i = /* @__PURE__ */ C("path", {
7
- "fill-rule": "evenodd",
8
- "clip-rule": "evenodd",
9
- d: "M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z",
10
- fill: "currentColor"
11
- }, null, -1), p = [i];
12
- function d(e, s, a, c, m, h) {
13
- return t(), o("svg", n({
14
- width: "14",
15
- height: "14",
16
- viewBox: "0 0 14 14",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg"
19
- }, e.pti()), p, 16);
1
+ import f from "./index230.js";
2
+ import { ObjectUtils as o } from "./index162.js";
3
+ import h from "./index197.js";
4
+ import p from "./index296.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,
9
+ props: {
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
32
+ },
33
+ disabled: {
34
+ type: Boolean,
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
68
+ }
69
+ },
70
+ style: p,
71
+ provide: function() {
72
+ return {
73
+ $parentInstance: this
74
+ };
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
+ }
133
+ },
134
+ computed: {
135
+ checked: function() {
136
+ return this.binary ? this.modelValue === this.trueValue : o.contains(this.value, this.modelValue);
137
+ }
138
+ },
139
+ components: {
140
+ CheckIcon: f
141
+ }
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);
20
185
  }
21
- l.render = d;
186
+ O.render = j;
22
187
  export {
23
- l as default
188
+ O as default
24
189
  };
package/dist/index234.js CHANGED
@@ -1,22 +1,135 @@
1
- import C from "./index270.js";
2
- import { createElementBlock as r, openBlock as t, mergeProps as o, createElementVNode as n } from "vue";
3
- var i = {
4
- name: "SpinnerIcon",
5
- extends: C
6
- }, p = /* @__PURE__ */ n("path", {
7
- d: "M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",
8
- fill: "currentColor"
9
- }, null, -1), l = [p];
10
- function s(e, a, c, d, m, h) {
11
- return t(), r("svg", o({
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 { ObjectUtils as d } from "./index162.js";
2
+ import u from "./index197.js";
3
+ import r from "./index297.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
+ }
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
- i.render = s;
132
+ h.render = c;
20
133
  export {
21
- i as default
134
+ h as default
22
135
  };