@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/index218.js CHANGED
@@ -1,72 +1,36 @@
1
- import i from "./index211.js";
2
- import o from "./index281.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";
4
- var p = {
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
- }
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")];
20
6
  },
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);
68
- }
69
- v.render = f;
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
+ });
70
34
  export {
71
- v as default
35
+ n as default
72
36
  };
package/dist/index219.js CHANGED
@@ -1,36 +1,42 @@
1
- import t from "./index271.js";
2
- var a = {
3
- root: function(e) {
4
- var o = e.props;
5
- return ["p-fileupload p-fileupload-".concat(o.mode, " p-component")];
1
+ import t from "./index280.js";
2
+ import r from "./index217.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,
7
+ props: {
8
+ value: {
9
+ type: [String, Number],
10
+ default: null
11
+ },
12
+ severity: {
13
+ type: String,
14
+ default: null
15
+ },
16
+ size: {
17
+ type: String,
18
+ default: null
19
+ }
6
20
  },
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
- });
21
+ style: t,
22
+ provide: function() {
23
+ return {
24
+ $parentInstance: this
25
+ };
26
+ }
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);
38
+ }
39
+ u.render = d;
34
40
  export {
35
- n as default
41
+ u as default
36
42
  };
package/dist/index220.js CHANGED
@@ -1,42 +1,163 @@
1
- import t from "./index282.js";
2
- import r from "./index211.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,
7
- props: {
8
- value: {
9
- type: [String, Number],
10
- default: null
11
- },
12
- severity: {
13
- type: String,
14
- default: null
15
- },
16
- size: {
17
- type: String,
18
- default: null
19
- }
20
- },
21
- style: t,
22
- provide: function() {
23
- return {
24
- $parentInstance: this
25
- };
1
+ import { toDate as m, isValidDate as M, getWeek as l } from "./index222.js";
2
+ import h from "./index223.js";
3
+ var Y = /\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;
4
+ function r(n) {
5
+ for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2, e = "".concat(Math.abs(n)), u = n < 0 ? "-" : ""; e.length < t; )
6
+ e = "0".concat(e);
7
+ return u + e;
8
+ }
9
+ function c(n) {
10
+ return Math.round(n.getTimezoneOffset() / 15) * 15;
11
+ }
12
+ function g(n) {
13
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", e = n > 0 ? "-" : "+", u = Math.abs(n), o = Math.floor(u / 60), a = u % 60;
14
+ return e + r(o, 2) + t + r(a, 2);
15
+ }
16
+ var d = function(t, e, u) {
17
+ var o = t < 12 ? "AM" : "PM";
18
+ return u ? o.toLocaleLowerCase() : o;
19
+ }, i = {
20
+ Y: function(t) {
21
+ var e = t.getFullYear();
22
+ return e <= 9999 ? "".concat(e) : "+".concat(e);
23
+ },
24
+ // Year: 00, 01, ..., 99
25
+ YY: function(t) {
26
+ return r(t.getFullYear(), 4).substr(2);
27
+ },
28
+ // Year: 1900, 1901, ..., 2099
29
+ YYYY: function(t) {
30
+ return r(t.getFullYear(), 4);
31
+ },
32
+ // Month: 1, 2, ..., 12
33
+ M: function(t) {
34
+ return t.getMonth() + 1;
35
+ },
36
+ // Month: 01, 02, ..., 12
37
+ MM: function(t) {
38
+ return r(t.getMonth() + 1, 2);
39
+ },
40
+ MMM: function(t, e) {
41
+ return e.monthsShort[t.getMonth()];
42
+ },
43
+ MMMM: function(t, e) {
44
+ return e.months[t.getMonth()];
45
+ },
46
+ // Day of month: 1, 2, ..., 31
47
+ D: function(t) {
48
+ return t.getDate();
49
+ },
50
+ // Day of month: 01, 02, ..., 31
51
+ DD: function(t) {
52
+ return r(t.getDate(), 2);
53
+ },
54
+ // Hour: 0, 1, ... 23
55
+ H: function(t) {
56
+ return t.getHours();
57
+ },
58
+ // Hour: 00, 01, ..., 23
59
+ HH: function(t) {
60
+ return r(t.getHours(), 2);
61
+ },
62
+ // Hour: 1, 2, ..., 12
63
+ h: function(t) {
64
+ var e = t.getHours();
65
+ return e === 0 ? 12 : e > 12 ? e % 12 : e;
66
+ },
67
+ // Hour: 01, 02, ..., 12
68
+ hh: function() {
69
+ var t = i.h.apply(i, arguments);
70
+ return r(t, 2);
71
+ },
72
+ // Minute: 0, 1, ..., 59
73
+ m: function(t) {
74
+ return t.getMinutes();
75
+ },
76
+ // Minute: 00, 01, ..., 59
77
+ mm: function(t) {
78
+ return r(t.getMinutes(), 2);
79
+ },
80
+ // Second: 0, 1, ..., 59
81
+ s: function(t) {
82
+ return t.getSeconds();
83
+ },
84
+ // Second: 00, 01, ..., 59
85
+ ss: function(t) {
86
+ return r(t.getSeconds(), 2);
87
+ },
88
+ // 1/10 of second: 0, 1, ..., 9
89
+ S: function(t) {
90
+ return Math.floor(t.getMilliseconds() / 100);
91
+ },
92
+ // 1/100 of second: 00, 01, ..., 99
93
+ SS: function(t) {
94
+ return r(Math.floor(t.getMilliseconds() / 10), 2);
95
+ },
96
+ // Millisecond: 000, 001, ..., 999
97
+ SSS: function(t) {
98
+ return r(t.getMilliseconds(), 3);
99
+ },
100
+ // Day of week: 0, 1, ..., 6
101
+ d: function(t) {
102
+ return t.getDay();
103
+ },
104
+ // Day of week: 'Su', 'Mo', ..., 'Sa'
105
+ dd: function(t, e) {
106
+ return e.weekdaysMin[t.getDay()];
107
+ },
108
+ // Day of week: 'Sun', 'Mon',..., 'Sat'
109
+ ddd: function(t, e) {
110
+ return e.weekdaysShort[t.getDay()];
111
+ },
112
+ // Day of week: 'Sunday', 'Monday', ...,'Saturday'
113
+ dddd: function(t, e) {
114
+ return e.weekdays[t.getDay()];
115
+ },
116
+ // AM, PM
117
+ A: function(t, e) {
118
+ var u = e.meridiem || d;
119
+ return u(t.getHours(), t.getMinutes(), !1);
120
+ },
121
+ // am, pm
122
+ a: function(t, e) {
123
+ var u = e.meridiem || d;
124
+ return u(t.getHours(), t.getMinutes(), !0);
125
+ },
126
+ // Timezone: -01:00, +00:00, ... +12:00
127
+ Z: function(t) {
128
+ return g(c(t), ":");
129
+ },
130
+ // Timezone: -0100, +0000, ... +1200
131
+ ZZ: function(t) {
132
+ return g(c(t));
133
+ },
134
+ // Seconds timestamp: 512969520
135
+ X: function(t) {
136
+ return Math.floor(t.getTime() / 1e3);
137
+ },
138
+ // Milliseconds timestamp: 512969520900
139
+ x: function(t) {
140
+ return t.getTime();
141
+ },
142
+ w: function(t, e) {
143
+ return l(t, {
144
+ firstDayOfWeek: e.firstDayOfWeek,
145
+ firstWeekContainsDate: e.firstWeekContainsDate
146
+ });
147
+ },
148
+ ww: function(t, e) {
149
+ return r(i.w(t, e), 2);
26
150
  }
27
- }, u = {
28
- name: "Badge",
29
- extends: l,
30
- inheritAttrs: !1
31
151
  };
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);
152
+ function v(n, t) {
153
+ var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, u = t ? String(t) : "YYYY-MM-DDTHH:mm:ss.SSSZ", o = m(n);
154
+ if (!M(o))
155
+ return "Invalid Date";
156
+ var a = e.locale || h;
157
+ return u.replace(Y, function(f, s) {
158
+ return s || (typeof i[f] == "function" ? "".concat(i[f](o, a)) : f);
159
+ });
38
160
  }
39
- u.render = d;
40
161
  export {
41
- u as default
162
+ v as format
42
163
  };