@quoreadmin/ui 1.4.3 → 1.4.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 (120) hide show
  1. package/dist/index154.js +1 -0
  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 +9 -9
  7. package/dist/index185.js +1 -1
  8. package/dist/index186.js +1 -1
  9. package/dist/index187.js +1 -1
  10. package/dist/index199.js +2 -2
  11. package/dist/index200.js +1 -1
  12. package/dist/index201.js +1 -1
  13. package/dist/index202.js +1 -1
  14. package/dist/index203.js +1 -1
  15. package/dist/index204.js +4 -4
  16. package/dist/index206.js +4 -4
  17. package/dist/index209.js +1 -1
  18. package/dist/index210.js +156 -83
  19. package/dist/index211.js +20 -407
  20. package/dist/index212.js +20 -22
  21. package/dist/index213.js +21 -160
  22. package/dist/index214.js +198 -19
  23. package/dist/index215.js +69 -19
  24. package/dist/index216.js +87 -21
  25. package/dist/index217.js +386 -178
  26. package/dist/index218.js +33 -69
  27. package/dist/index219.js +39 -33
  28. package/dist/index220.js +158 -37
  29. package/dist/index221.js +218 -117
  30. package/dist/index222.js +36 -37
  31. package/dist/index223.js +10 -80
  32. package/dist/index224.js +22 -20
  33. package/dist/index225.js +126 -19
  34. package/dist/index226.js +34 -16
  35. package/dist/index227.js +80 -20
  36. package/dist/index228.js +19 -160
  37. package/dist/index229.js +20 -228
  38. package/dist/index230.js +19 -36
  39. package/dist/index231.js +20 -10
  40. package/dist/index232.js +1 -1
  41. package/dist/index233.js +1 -1
  42. package/dist/index234.js +1 -1
  43. package/dist/index235.js +2 -2
  44. package/dist/index236.js +1 -1
  45. package/dist/index237.js +1 -1
  46. package/dist/index238.js +1 -1
  47. package/dist/index239.js +1 -1
  48. package/dist/index240.js +1 -1
  49. package/dist/index242.js +1 -1
  50. package/dist/index243.js +1 -1
  51. package/dist/index244.js +5 -5
  52. package/dist/index245.js +1 -1
  53. package/dist/index246.js +1 -1
  54. package/dist/index247.js +1 -1
  55. package/dist/index248.js +1 -1
  56. package/dist/index249.js +1 -1
  57. package/dist/index250.js +1 -1
  58. package/dist/index269.js +50 -249
  59. package/dist/index270.js +79 -8
  60. package/dist/index271.js +26 -138
  61. package/dist/index272.js +22 -83
  62. package/dist/index273.js +22 -3
  63. package/dist/index274.js +16 -27
  64. package/dist/index275.js +14 -51
  65. package/dist/index276.js +232 -58
  66. package/dist/index277.js +8 -26
  67. package/dist/index278.js +138 -22
  68. package/dist/index279.js +83 -22
  69. package/dist/index280.js +22 -15
  70. package/dist/index281.js +2 -17
  71. package/dist/index282.js +3 -23
  72. package/dist/index283.js +27 -2
  73. package/dist/index301.js +1 -1
  74. package/dist/index302.js +1 -1
  75. package/dist/index303.js +2 -2
  76. package/dist/index304.js +1 -1
  77. package/dist/index305.js +1 -1
  78. package/dist/index306.js +1 -1
  79. package/dist/index307.js +1 -1
  80. package/dist/index308.js +1 -1
  81. package/dist/index309.js +1 -1
  82. package/dist/index310.js +1 -1
  83. package/dist/index311.js +1 -1
  84. package/dist/index312.js +1 -1
  85. package/dist/index323.js +36 -8
  86. package/dist/index324.js +8 -12
  87. package/dist/index325.js +12 -54
  88. package/dist/index326.js +52 -9
  89. package/dist/index327.js +11 -13
  90. package/dist/index328.js +9 -53
  91. package/dist/index329.js +55 -49
  92. package/dist/index330.js +49 -28
  93. package/dist/index331.js +31 -2
  94. package/dist/index332.js +2 -5
  95. package/dist/index333.js +5 -2
  96. package/dist/index334.js +2 -23
  97. package/dist/index335.js +21 -39
  98. package/dist/index336.js +41 -2
  99. package/dist/index337.js +2 -11
  100. package/dist/index338.js +11 -20
  101. package/dist/index339.js +18 -15
  102. package/dist/index340.js +16 -9
  103. package/dist/index341.js +9 -9
  104. package/dist/index342.js +10 -2
  105. package/dist/index343.js +2 -9
  106. package/dist/index344.js +9 -10
  107. package/dist/index345.js +10 -14
  108. package/dist/index346.js +14 -37
  109. package/dist/index359.js +1 -1
  110. package/dist/index360.js +1 -1
  111. package/dist/index361.js +1 -1
  112. package/dist/index362.js +1 -1
  113. package/dist/index375.js +1 -1
  114. package/dist/src/composables/filtering.d.ts +5 -1
  115. package/dist/src/index.d.ts +1 -0
  116. package/dist/src/views/lists.vue.d.ts +52 -12
  117. package/dist/src/views/showcase.vue.d.ts +130 -30
  118. package/dist/src/views/tables.vue.d.ts +52 -12
  119. package/package.json +1 -1
  120. package/tailwind.preset.ts +1 -0
package/dist/index340.js CHANGED
@@ -1,12 +1,19 @@
1
- import { alpha as s, number as m } from "./index201.js";
2
- import { sanitize as e, clamp as i } from "./index344.js";
3
- import { isColorString as p, splitColor as b } from "./index345.js";
4
- const f = i(0, 255), t = Object.assign(Object.assign({}, m), { transform: (r) => Math.round(f(r)) }), d = {
5
- test: p("rgb", "red"),
6
- parse: b("red", "green", "blue"),
7
- transform: ({ red: r, green: o, blue: a, alpha: n = 1 }) => "rgba(" + t.transform(r) + ", " + t.transform(o) + ", " + t.transform(a) + ", " + e(s.transform(n)) + ")"
1
+ import { rgba as a } from "./index341.js";
2
+ import { isColorString as b } from "./index346.js";
3
+ function o(r) {
4
+ let t = "", e = "", n = "", s = "";
5
+ return r.length > 5 ? (t = r.substr(1, 2), e = r.substr(3, 2), n = r.substr(5, 2), s = r.substr(7, 2)) : (t = r.substr(1, 1), e = r.substr(2, 1), n = r.substr(3, 1), s = r.substr(4, 1), t += t, e += e, n += n, s += s), {
6
+ red: parseInt(t, 16),
7
+ green: parseInt(e, 16),
8
+ blue: parseInt(n, 16),
9
+ alpha: s ? parseInt(s, 16) / 255 : 1
10
+ };
11
+ }
12
+ const l = {
13
+ test: b("#"),
14
+ parse: o,
15
+ transform: a.transform
8
16
  };
9
17
  export {
10
- t as rgbUnit,
11
- d as rgba
18
+ l as hex
12
19
  };
package/dist/index341.js CHANGED
@@ -1,12 +1,12 @@
1
- import { alpha as n } from "./index201.js";
2
- import { percent as t } from "./index203.js";
3
- import { sanitize as r } from "./index344.js";
4
- import { isColorString as i, splitColor as e } from "./index345.js";
5
- const u = {
6
- test: i("hsl", "hue"),
7
- parse: e("hue", "saturation", "lightness"),
8
- transform: ({ hue: o, saturation: s, lightness: a, alpha: m = 1 }) => "hsla(" + Math.round(o) + ", " + t.transform(r(s)) + ", " + t.transform(r(a)) + ", " + r(n.transform(m)) + ")"
1
+ import { alpha as s, number as m } from "./index201.js";
2
+ import { sanitize as e, clamp as i } from "./index345.js";
3
+ import { isColorString as p, splitColor as b } from "./index346.js";
4
+ const f = i(0, 255), t = Object.assign(Object.assign({}, m), { transform: (r) => Math.round(f(r)) }), d = {
5
+ test: p("rgb", "red"),
6
+ parse: b("red", "green", "blue"),
7
+ transform: ({ red: r, green: o, blue: a, alpha: n = 1 }) => "rgba(" + t.transform(r) + ", " + t.transform(o) + ", " + t.transform(a) + ", " + e(s.transform(n)) + ")"
9
8
  };
10
9
  export {
11
- u as hsla
10
+ t as rgbUnit,
11
+ d as rgba
12
12
  };
package/dist/index342.js CHANGED
@@ -1,4 +1,12 @@
1
- const o = (e) => typeof e == "number";
1
+ import { alpha as n } from "./index201.js";
2
+ import { percent as t } from "./index203.js";
3
+ import { sanitize as r } from "./index345.js";
4
+ import { isColorString as i, splitColor as e } from "./index346.js";
5
+ const u = {
6
+ test: i("hsl", "hue"),
7
+ parse: e("hue", "saturation", "lightness"),
8
+ transform: ({ hue: o, saturation: s, lightness: a, alpha: m = 1 }) => "hsla(" + Math.round(o) + ", " + t.transform(r(s)) + ", " + t.transform(r(a)) + ", " + r(n.transform(m)) + ")"
9
+ };
2
10
  export {
3
- o as isNum
11
+ u as hsla
4
12
  };
package/dist/index343.js CHANGED
@@ -1,11 +1,4 @@
1
- const e = (c) => (t) => 1 - c(1 - t), o = (c) => (t) => t <= 0.5 ? c(2 * t) / 2 : (2 - c(2 * (1 - t))) / 2, r = (c) => (t) => Math.pow(t, c), a = (c) => (t) => t * t * ((c + 1) * t - c), s = (c) => {
2
- const t = a(c);
3
- return (n) => (n *= 2) < 1 ? 0.5 * t(n) : 0.5 * (2 - Math.pow(2, -10 * (n - 1)));
4
- };
1
+ const o = (e) => typeof e == "number";
5
2
  export {
6
- s as createAnticipate,
7
- a as createBackIn,
8
- r as createExpoIn,
9
- o as mirrorEasing,
10
- e as reverseEasing
3
+ o as isNum
11
4
  };
package/dist/index344.js CHANGED
@@ -1,12 +1,11 @@
1
- const a = (s, t) => (o) => Math.max(Math.min(o, t), s), e = (s) => s % 1 ? Number(s.toFixed(5)) : s, n = /(-)?([\d]*\.?[\d])+/g, i = /(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, g = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
2
- function r(s) {
3
- return typeof s == "string";
4
- }
1
+ const e = (c) => (t) => 1 - c(1 - t), o = (c) => (t) => t <= 0.5 ? c(2 * t) / 2 : (2 - c(2 * (1 - t))) / 2, r = (c) => (t) => Math.pow(t, c), a = (c) => (t) => t * t * ((c + 1) * t - c), s = (c) => {
2
+ const t = a(c);
3
+ return (n) => (n *= 2) < 1 ? 0.5 * t(n) : 0.5 * (2 - Math.pow(2, -10 * (n - 1)));
4
+ };
5
5
  export {
6
- a as clamp,
7
- i as colorRegex,
8
- n as floatRegex,
9
- r as isString,
10
- e as sanitize,
11
- g as singleColorRegex
6
+ s as createAnticipate,
7
+ a as createBackIn,
8
+ r as createExpoIn,
9
+ o as mirrorEasing,
10
+ e as reverseEasing
12
11
  };
package/dist/index345.js CHANGED
@@ -1,16 +1,12 @@
1
- import { isString as l, singleColorRegex as i, floatRegex as c } from "./index344.js";
2
- const h = (r, o) => (t) => !!(l(t) && i.test(t) && t.startsWith(r) || o && Object.prototype.hasOwnProperty.call(t, o)), f = (r, o, t) => (a) => {
3
- if (!l(a))
4
- return a;
5
- const [s, n, p, e] = a.match(c);
6
- return {
7
- [r]: parseFloat(s),
8
- [o]: parseFloat(n),
9
- [t]: parseFloat(p),
10
- alpha: e !== void 0 ? parseFloat(e) : 1
11
- };
12
- };
1
+ const a = (s, t) => (o) => Math.max(Math.min(o, t), s), e = (s) => s % 1 ? Number(s.toFixed(5)) : s, n = /(-)?([\d]*\.?[\d])+/g, i = /(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, g = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
2
+ function r(s) {
3
+ return typeof s == "string";
4
+ }
13
5
  export {
14
- h as isColorString,
15
- f as splitColor
6
+ a as clamp,
7
+ i as colorRegex,
8
+ n as floatRegex,
9
+ r as isString,
10
+ e as sanitize,
11
+ g as singleColorRegex
16
12
  };
package/dist/index346.js CHANGED
@@ -1,39 +1,16 @@
1
- import n from "./index271.js";
2
- var e = `
3
- .p-icon {
4
- display: inline-block;
5
- }
6
-
7
- .p-icon-spin {
8
- -webkit-animation: p-icon-spin 2s infinite linear;
9
- animation: p-icon-spin 2s infinite linear;
10
- }
11
-
12
- @-webkit-keyframes p-icon-spin {
13
- 0% {
14
- -webkit-transform: rotate(0deg);
15
- transform: rotate(0deg);
16
- }
17
- 100% {
18
- -webkit-transform: rotate(359deg);
19
- transform: rotate(359deg);
20
- }
21
- }
22
-
23
- @keyframes p-icon-spin {
24
- 0% {
25
- -webkit-transform: rotate(0deg);
26
- transform: rotate(0deg);
27
- }
28
- 100% {
29
- -webkit-transform: rotate(359deg);
30
- transform: rotate(359deg);
31
- }
32
- }
33
- `, i = n.extend({
34
- name: "baseicon",
35
- css: e
36
- });
1
+ import { isString as l, singleColorRegex as i, floatRegex as c } from "./index345.js";
2
+ const h = (r, o) => (t) => !!(l(t) && i.test(t) && t.startsWith(r) || o && Object.prototype.hasOwnProperty.call(t, o)), f = (r, o, t) => (a) => {
3
+ if (!l(a))
4
+ return a;
5
+ const [s, n, p, e] = a.match(c);
6
+ return {
7
+ [r]: parseFloat(s),
8
+ [o]: parseFloat(n),
9
+ [t]: parseFloat(p),
10
+ alpha: e !== void 0 ? parseFloat(e) : 1
11
+ };
12
+ };
37
13
  export {
38
- i as default
14
+ h as isColorString,
15
+ f as splitColor
39
16
  };
package/dist/index359.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index276.js";
1
+ import r from "./index270.js";
2
2
  import { createElementBlock as t, openBlock as o, mergeProps as n, createElementVNode as i } from "vue";
3
3
  var l = {
4
4
  name: "AngleDownIcon",
package/dist/index360.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index276.js";
1
+ import r from "./index270.js";
2
2
  import { createElementBlock as t, openBlock as o, mergeProps as n, createElementVNode as p } from "vue";
3
3
  var i = {
4
4
  name: "AngleUpIcon",
package/dist/index361.js CHANGED
@@ -1,4 +1,4 @@
1
- import i from "./index211.js";
1
+ import i from "./index217.js";
2
2
  import r from "./index375.js";
3
3
  import { createElementBlock as a, openBlock as u, mergeProps as o } from "vue";
4
4
  var d = {
package/dist/index362.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index271.js";
1
+ import o from "./index278.js";
2
2
  var e = {
3
3
  root: function(t) {
4
4
  var u = t.instance, n = t.props;
package/dist/index375.js CHANGED
@@ -1,4 +1,4 @@
1
- import n from "./index271.js";
1
+ import n from "./index278.js";
2
2
  var l = {
3
3
  root: function(e) {
4
4
  var i = e.instance, t = e.props;
@@ -1,11 +1,15 @@
1
1
  export interface FilterOption {
2
- id?: number | string;
2
+ id?: number | string | boolean;
3
3
  key?: string;
4
4
  name: string;
5
5
  value?: number | string | boolean;
6
6
  checked?: boolean;
7
+ optionClass?: string;
8
+ tagClass?: string;
9
+ closeTagClass?: string;
7
10
  }
8
11
  export interface FilterObject {
12
+ attribute?: string;
9
13
  key?: string;
10
14
  message?: string;
11
15
  name?: string;
@@ -49,6 +49,7 @@ export { default as QWarningModal } from './components/modal/variants/warning-mo
49
49
  export { default as QWysiwyg } from './components/wysiwyg/wysiwyg.vue';
50
50
  export type { MenuItem } from './components/menu/menu';
51
51
  export type { IconActionOption } from './components/icon-action-group/icon-action-group';
52
+ export type { QTourStep } from './components/tour/tour';
52
53
  export { filterData } from './composables/filtering';
53
54
  export type { FilterObject, FilterOption } from './composables/filtering';
54
55
  export { default as mq } from './composables/mq';
@@ -145,53 +145,73 @@ declare const _default: import('vue').DefineComponent<{}, {
145
145
  filteredData: import('vue').Ref<any[], any[]>;
146
146
  filteredPropertyData: import('vue').Ref<any[], any[]>;
147
147
  filters: import('vue').Ref<{
148
+ attribute?: string | undefined;
148
149
  key?: string | undefined;
149
150
  message?: string | undefined;
150
151
  name?: string | undefined;
151
152
  options: {
152
- id?: number | string | undefined;
153
+ id?: number | string | boolean | undefined;
153
154
  key?: string | undefined;
154
155
  name: string;
155
156
  value?: number | string | boolean | undefined;
156
157
  checked?: boolean | undefined;
158
+ optionClass?: string | undefined;
159
+ tagClass?: string | undefined;
160
+ closeTagClass?: string | undefined;
157
161
  }[];
158
162
  selected: {
159
- id?: number | string | undefined;
163
+ id?: number | string | boolean | undefined;
160
164
  key?: string | undefined;
161
165
  name: string;
162
166
  value?: number | string | boolean | undefined;
163
167
  checked?: boolean | undefined;
168
+ optionClass?: string | undefined;
169
+ tagClass?: string | undefined;
170
+ closeTagClass?: string | undefined;
164
171
  } | {
165
- id?: number | string | undefined;
172
+ id?: number | string | boolean | undefined;
166
173
  key?: string | undefined;
167
174
  name: string;
168
175
  value?: number | string | boolean | undefined;
169
176
  checked?: boolean | undefined;
177
+ optionClass?: string | undefined;
178
+ tagClass?: string | undefined;
179
+ closeTagClass?: string | undefined;
170
180
  }[] | null;
171
181
  required?: boolean | undefined;
172
182
  }[], FilterObject[] | {
183
+ attribute?: string | undefined;
173
184
  key?: string | undefined;
174
185
  message?: string | undefined;
175
186
  name?: string | undefined;
176
187
  options: {
177
- id?: number | string | undefined;
188
+ id?: number | string | boolean | undefined;
178
189
  key?: string | undefined;
179
190
  name: string;
180
191
  value?: number | string | boolean | undefined;
181
192
  checked?: boolean | undefined;
193
+ optionClass?: string | undefined;
194
+ tagClass?: string | undefined;
195
+ closeTagClass?: string | undefined;
182
196
  }[];
183
197
  selected: {
184
- id?: number | string | undefined;
198
+ id?: number | string | boolean | undefined;
185
199
  key?: string | undefined;
186
200
  name: string;
187
201
  value?: number | string | boolean | undefined;
188
202
  checked?: boolean | undefined;
203
+ optionClass?: string | undefined;
204
+ tagClass?: string | undefined;
205
+ closeTagClass?: string | undefined;
189
206
  } | {
190
- id?: number | string | undefined;
207
+ id?: number | string | boolean | undefined;
191
208
  key?: string | undefined;
192
209
  name: string;
193
210
  value?: number | string | boolean | undefined;
194
211
  checked?: boolean | undefined;
212
+ optionClass?: string | undefined;
213
+ tagClass?: string | undefined;
214
+ closeTagClass?: string | undefined;
195
215
  }[] | null;
196
216
  required?: boolean | undefined;
197
217
  }[]>;
@@ -199,53 +219,73 @@ declare const _default: import('vue').DefineComponent<{}, {
199
219
  loading: import('vue').Ref<boolean, boolean>;
200
220
  propertyData: import('vue').Ref<any[], any[]>;
201
221
  propertyFilters: import('vue').Ref<{
222
+ attribute?: string | undefined;
202
223
  key?: string | undefined;
203
224
  message?: string | undefined;
204
225
  name?: string | undefined;
205
226
  options: {
206
- id?: number | string | undefined;
227
+ id?: number | string | boolean | undefined;
207
228
  key?: string | undefined;
208
229
  name: string;
209
230
  value?: number | string | boolean | undefined;
210
231
  checked?: boolean | undefined;
232
+ optionClass?: string | undefined;
233
+ tagClass?: string | undefined;
234
+ closeTagClass?: string | undefined;
211
235
  }[];
212
236
  selected: {
213
- id?: number | string | undefined;
237
+ id?: number | string | boolean | undefined;
214
238
  key?: string | undefined;
215
239
  name: string;
216
240
  value?: number | string | boolean | undefined;
217
241
  checked?: boolean | undefined;
242
+ optionClass?: string | undefined;
243
+ tagClass?: string | undefined;
244
+ closeTagClass?: string | undefined;
218
245
  } | {
219
- id?: number | string | undefined;
246
+ id?: number | string | boolean | undefined;
220
247
  key?: string | undefined;
221
248
  name: string;
222
249
  value?: number | string | boolean | undefined;
223
250
  checked?: boolean | undefined;
251
+ optionClass?: string | undefined;
252
+ tagClass?: string | undefined;
253
+ closeTagClass?: string | undefined;
224
254
  }[] | null;
225
255
  required?: boolean | undefined;
226
256
  }[], FilterObject[] | {
257
+ attribute?: string | undefined;
227
258
  key?: string | undefined;
228
259
  message?: string | undefined;
229
260
  name?: string | undefined;
230
261
  options: {
231
- id?: number | string | undefined;
262
+ id?: number | string | boolean | undefined;
232
263
  key?: string | undefined;
233
264
  name: string;
234
265
  value?: number | string | boolean | undefined;
235
266
  checked?: boolean | undefined;
267
+ optionClass?: string | undefined;
268
+ tagClass?: string | undefined;
269
+ closeTagClass?: string | undefined;
236
270
  }[];
237
271
  selected: {
238
- id?: number | string | undefined;
272
+ id?: number | string | boolean | undefined;
239
273
  key?: string | undefined;
240
274
  name: string;
241
275
  value?: number | string | boolean | undefined;
242
276
  checked?: boolean | undefined;
277
+ optionClass?: string | undefined;
278
+ tagClass?: string | undefined;
279
+ closeTagClass?: string | undefined;
243
280
  } | {
244
- id?: number | string | undefined;
281
+ id?: number | string | boolean | undefined;
245
282
  key?: string | undefined;
246
283
  name: string;
247
284
  value?: number | string | boolean | undefined;
248
285
  checked?: boolean | undefined;
286
+ optionClass?: string | undefined;
287
+ tagClass?: string | undefined;
288
+ closeTagClass?: string | undefined;
249
289
  }[] | null;
250
290
  required?: boolean | undefined;
251
291
  }[]>;