@quoreadmin/ui 1.4.4 → 1.4.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 (131) 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/index176.js +273 -2
  6. package/dist/index177.js +3 -3
  7. package/dist/index181.js +17 -17
  8. package/dist/index184.js +5 -5
  9. package/dist/index185.js +1 -1
  10. package/dist/index186.js +1 -1
  11. package/dist/index187.js +1 -1
  12. package/dist/index195.js +4 -4
  13. package/dist/index196.js +158 -30
  14. package/dist/index197.js +224 -112
  15. package/dist/index198.js +32 -31
  16. package/dist/index199.js +10 -26
  17. package/dist/index200.js +30 -33
  18. package/dist/index201.js +116 -9
  19. package/dist/index202.js +35 -18
  20. package/dist/index203.js +26 -10
  21. package/dist/index204.js +36 -10
  22. package/dist/index205.js +9 -51
  23. package/dist/index206.js +18 -42
  24. package/dist/index207.js +10 -4
  25. package/dist/index208.js +10 -39
  26. package/dist/index209.js +51 -21
  27. package/dist/index210.js +39 -157
  28. package/dist/index211.js +3 -19
  29. package/dist/index212.js +38 -19
  30. package/dist/index213.js +21 -22
  31. package/dist/index214.js +80 -191
  32. package/dist/index215.js +394 -57
  33. package/dist/index216.js +19 -85
  34. package/dist/index217.js +137 -383
  35. package/dist/index218.js +20 -34
  36. package/dist/index219.js +19 -39
  37. package/dist/index220.js +21 -160
  38. package/dist/index221.js +189 -218
  39. package/dist/index222.js +69 -36
  40. package/dist/index223.js +34 -10
  41. package/dist/index224.js +39 -21
  42. package/dist/index235.js +8 -8
  43. package/dist/index236.js +2 -2
  44. package/dist/index242.js +2 -2
  45. package/dist/index243.js +2 -2
  46. package/dist/index244.js +6 -6
  47. package/dist/index253.js +6 -6
  48. package/dist/index254.js +1 -1
  49. package/dist/index255.js +1 -1
  50. package/dist/index268.js +2 -2
  51. package/dist/index270.js +1 -1
  52. package/dist/index284.js +1504 -221
  53. package/dist/index285.js +384 -4
  54. package/dist/index286.js +2715 -118
  55. package/dist/index287.js +83 -65
  56. package/dist/index288.js +3768 -85
  57. package/dist/index289.js +57 -26
  58. package/dist/index290.js +77 -7
  59. package/dist/index291.js +21 -74
  60. package/dist/index292.js +934 -3
  61. package/dist/index293.js +22 -2
  62. package/dist/index294.js +19 -82
  63. package/dist/index295.js +19 -53
  64. package/dist/index296.js +68 -5
  65. package/dist/index297.js +19 -5
  66. package/dist/index298.js +18 -178
  67. package/dist/index299.js +21 -62
  68. package/dist/index300.js +22 -75
  69. package/dist/index301.js +52 -68
  70. package/dist/index302.js +15 -22
  71. package/dist/index303.js +72 -923
  72. package/dist/index304.js +202 -22
  73. package/dist/index305.js +246 -20
  74. package/dist/index306.js +234 -19
  75. package/dist/index307.js +5 -68
  76. package/dist/index308.js +133 -18
  77. package/dist/index309.js +68 -19
  78. package/dist/index310.js +85 -20
  79. package/dist/index311.js +28 -21
  80. package/dist/index312.js +8 -62
  81. package/dist/index313.js +64 -1507
  82. package/dist/index314.js +3 -385
  83. package/dist/index315.js +2 -2731
  84. package/dist/index316.js +77 -80
  85. package/dist/index317.js +53 -3769
  86. package/dist/index318.js +4 -58
  87. package/dist/index319.js +5 -15
  88. package/dist/index320.js +166 -71
  89. package/dist/index321.js +57 -196
  90. package/dist/index322.js +75 -246
  91. package/dist/index326.js +1 -1
  92. package/dist/index331.js +1 -1
  93. package/dist/index336.js +2 -2
  94. package/dist/index341.js +1 -1
  95. package/dist/index342.js +2 -2
  96. package/dist/index347.js +19 -20
  97. package/dist/index348.js +19 -55
  98. package/dist/index349.js +63 -28
  99. package/dist/index350.js +37 -7
  100. package/dist/index351.js +18 -49
  101. package/dist/index352.js +56 -6
  102. package/dist/index353.js +27 -10
  103. package/dist/index354.js +7 -7
  104. package/dist/index355.js +51 -27
  105. package/dist/index356.js +6 -2
  106. package/dist/index357.js +11 -69
  107. package/dist/index358.js +6 -166
  108. package/dist/index359.js +28 -20
  109. package/dist/index360.js +2 -20
  110. package/dist/index361.js +67 -61
  111. package/dist/index362.js +166 -36
  112. package/dist/index363.js +17 -31
  113. package/dist/index364.js +100 -10
  114. package/dist/index365.js +90 -3
  115. package/dist/index366.js +98 -4
  116. package/dist/index367.js +30 -12
  117. package/dist/index368.js +11 -7
  118. package/dist/index369.js +3 -11
  119. package/dist/index370.js +3 -4
  120. package/dist/index371.js +13 -33
  121. package/dist/index372.js +7 -31
  122. package/dist/index373.js +12 -28
  123. package/dist/index374.js +5 -61
  124. package/dist/index375.js +33 -17
  125. package/dist/index376.js +29 -99
  126. package/dist/index377.js +28 -91
  127. package/dist/index378.js +59 -96
  128. package/dist/index379.js +1 -1
  129. package/dist/index384.js +1 -1
  130. package/dist/index385.js +2 -2
  131. package/package.json +3 -3
package/dist/index222.js CHANGED
@@ -1,39 +1,72 @@
1
- function g(e) {
2
- return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
3
- }
4
- function D(e) {
5
- return g(e) ? new Date(e.getTime()) : e == null ? /* @__PURE__ */ new Date(NaN) : new Date(e);
6
- }
7
- function d(e) {
8
- return g(e) && !isNaN(e.getTime());
9
- }
10
- function k(e) {
11
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
12
- if (!(r >= 0 && r <= 6))
13
- throw new RangeError("weekStartsOn must be between 0 and 6");
14
- var t = D(e), i = t.getDay(), n = (i + 7 - r) % 7;
15
- return t.setDate(t.getDate() - n), t.setHours(0, 0, 0, 0), t;
16
- }
17
- function W(e) {
18
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = r.firstDayOfWeek, i = t === void 0 ? 0 : t, n = r.firstWeekContainsDate, f = n === void 0 ? 1 : n;
19
- if (!(f >= 1 && f <= 7))
20
- throw new RangeError("firstWeekContainsDate must be between 1 and 7");
21
- for (var s = D(e), u = s.getFullYear(), a = /* @__PURE__ */ new Date(0), o = u + 1; o >= u - 1 && (a.setFullYear(o, 0, f), a.setHours(0, 0, 0, 0), a = k(a, i), !(s.getTime() >= a.getTime())); o--)
22
- ;
23
- return a;
24
- }
25
- function m(e) {
26
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = r.firstDayOfWeek, i = t === void 0 ? 0 : t, n = r.firstWeekContainsDate, f = n === void 0 ? 1 : n, s = D(e), u = k(s, i), a = W(s, {
27
- firstDayOfWeek: i,
28
- firstWeekContainsDate: f
29
- }), o = u.getTime() - a.getTime();
30
- return Math.round(o / (168 * 3600 * 1e3)) + 1;
1
+ import i from "./index215.js";
2
+ import o from "./index275.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
+ }
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);
31
68
  }
69
+ v.render = f;
32
70
  export {
33
- m as getWeek,
34
- g as isDate,
35
- d as isValidDate,
36
- k as startOfWeek,
37
- W as startOfWeekYear,
38
- D as toDate
71
+ v as default
39
72
  };
package/dist/index223.js CHANGED
@@ -1,12 +1,36 @@
1
- var e = {
2
- months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
3
- monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
4
- weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
5
- weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
6
- weekdaysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
7
- firstDayOfWeek: 0,
8
- firstWeekContainsDate: 1
9
- };
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
+ });
10
34
  export {
11
- e as default
35
+ n as default
12
36
  };
package/dist/index224.js CHANGED
@@ -1,24 +1,42 @@
1
- import p from "./index278.js";
2
- var a = {
3
- root: function(e) {
4
- var t = e.props;
5
- return ["p-selectbutton p-button-group p-component", {
6
- "p-disabled": t.disabled,
7
- "p-invalid": t.invalid
8
- }];
1
+ import t from "./index280.js";
2
+ import r from "./index215.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
+ }
9
20
  },
10
- button: function(e) {
11
- var t = e.instance, n = e.option;
12
- return ["p-button p-component", {
13
- "p-highlight": t.isSelected(n),
14
- "p-disabled": t.isOptionDisabled(n)
15
- }];
16
- },
17
- label: "p-button-label"
18
- }, l = p.extend({
19
- name: "selectbutton",
20
- classes: a
21
- });
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;
22
40
  export {
23
- l as default
41
+ u as default
24
42
  };
package/dist/index235.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { UniqueComponentId as X, DomHandler as Y } from "./index162.js";
2
- import h from "./index217.js";
3
- import Z from "./index301.js";
2
+ import h from "./index215.js";
3
+ import Z from "./index290.js";
4
4
  import { createElementBlock as g, openBlock as o, mergeProps as d, toDisplayString as E, resolveDirective as T, withDirectives as A, createBlock as p, resolveDynamicComponent as v, resolveComponent as c, normalizeClass as C, createSlots as x, withCtx as V, Fragment as O, renderList as R, createTextVNode as ee, createCommentVNode as S, normalizeProps as te, renderSlot as F } from "vue";
5
- import ae from "./index302.js";
6
- import I from "./index216.js";
5
+ import ae from "./index291.js";
6
+ import I from "./index214.js";
7
7
  import U from "./index244.js";
8
- import ne from "./index303.js";
9
- import re from "./index304.js";
10
- import oe from "./index305.js";
11
- import ie from "./index306.js";
8
+ import ne from "./index292.js";
9
+ import re from "./index293.js";
10
+ import oe from "./index294.js";
11
+ import ie from "./index295.js";
12
12
  var se = {
13
13
  name: "BasePaginator",
14
14
  extends: h,
package/dist/index236.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import Q from "./index234.js";
2
2
  import { DomHandler as p } from "./index162.js";
3
- import U from "./index217.js";
4
- import K from "./index307.js";
3
+ import U from "./index215.js";
4
+ import K from "./index296.js";
5
5
  import { resolveComponent as X, createElementBlock as R, openBlock as W, mergeProps as M, renderSlot as A, createCommentVNode as k, createElementVNode as Y, Fragment as D, renderList as q, createVNode as Z } from "vue";
6
6
  var $ = {
7
7
  name: "BaseVirtualScroller",
package/dist/index242.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import f from "./index239.js";
2
2
  import { ObjectUtils as o } from "./index162.js";
3
- import h from "./index217.js";
4
- import p from "./index308.js";
3
+ import h from "./index215.js";
4
+ import p from "./index297.js";
5
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
6
  var C = {
7
7
  name: "BaseCheckbox",
package/dist/index243.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ObjectUtils as d } from "./index162.js";
2
- import u from "./index217.js";
3
- import r from "./index309.js";
2
+ import u from "./index215.js";
3
+ import r from "./index298.js";
4
4
  import { createElementBlock as o, openBlock as s, mergeProps as n, createElementVNode as i } from "vue";
5
5
  var p = {
6
6
  name: "BaseRadioButton",
package/dist/index244.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { FilterService as X } from "./index57.js";
2
- import Y from "./index310.js";
2
+ import Y from "./index299.js";
3
3
  import $ from "./index239.js";
4
4
  import _ from "./index230.js";
5
- import ee from "./index311.js";
5
+ import ee from "./index300.js";
6
6
  import te from "./index234.js";
7
- import ie from "./index212.js";
7
+ import ie from "./index219.js";
8
8
  import ne from "./index241.js";
9
9
  import re from "./index226.js";
10
- import se from "./index216.js";
10
+ import se from "./index214.js";
11
11
  import { ObjectUtils as d, DomHandler as a, ConnectedOverlayScrollHandler as le, ZIndexUtils as T, UniqueComponentId as G } from "./index162.js";
12
12
  import oe from "./index236.js";
13
- import ae from "./index217.js";
14
- import ue from "./index312.js";
13
+ import ae from "./index215.js";
14
+ import ue from "./index301.js";
15
15
  import { resolveComponent as L, resolveDirective as de, createElementBlock as c, openBlock as o, mergeProps as l, renderSlot as h, createCommentVNode as v, createElementVNode as y, createVNode as P, createTextVNode as A, toDisplayString as O, normalizeClass as K, createBlock as I, resolveDynamicComponent as B, withCtx as x, Transition as ce, createSlots as pe, Fragment as H, renderList as fe, withDirectives as he } from "vue";
16
16
  var ye = {
17
17
  name: "BaseDropdown",
package/dist/index253.js CHANGED
@@ -1,10 +1,10 @@
1
- import { findWrapping as me, canJoin as gt, Transform as he, RemoveMarkStep as ge, liftTarget as ve, joinPoint as Ot, canSplit as Q, ReplaceStep as be, ReplaceAroundStep as ke } from "./index313.js";
2
- import { createParagraphNear as ye, deleteSelection as we, exitCode as Me, joinUp as xe, joinDown as Se, joinBackward as Ee, joinForward as Te, joinTextblockBackward as Ae, joinTextblockForward as Ce, lift as $e, liftEmptyBlock as Pe, newlineInCode as Ne, selectNodeBackward as Ie, selectNodeForward as Re, selectParentNode as Be, selectTextblockEnd as je, selectTextblockStart as Oe, setBlockType as Tt, wrapIn as De } from "./index314.js";
1
+ import { findWrapping as me, canJoin as gt, Transform as he, RemoveMarkStep as ge, liftTarget as ve, joinPoint as Ot, canSplit as Q, ReplaceStep as be, ReplaceAroundStep as ke } from "./index284.js";
2
+ import { createParagraphNear as ye, deleteSelection as we, exitCode as Me, joinUp as xe, joinDown as Se, joinBackward as Ee, joinForward as Te, joinTextblockBackward as Ae, joinTextblockForward as Ce, lift as $e, liftEmptyBlock as Pe, newlineInCode as Ne, selectNodeBackward as Ie, selectNodeForward as Re, selectParentNode as Be, selectTextblockEnd as je, selectTextblockStart as Oe, setBlockType as Tt, wrapIn as De } from "./index285.js";
3
3
  import { EditorState as _e, NodeSelection as nt, Selection as F, TextSelection as $, Plugin as P, PluginKey as O, AllSelection as ze } from "./index268.js";
4
- import { DOMSerializer as Fe, Schema as Dt, Fragment as j, Node as Le, DOMParser as ut, Slice as Ve } from "./index315.js";
5
- import { liftListItem as He, sinkListItem as Ue, wrapInList as We } from "./index316.js";
6
- import { EditorView as qe } from "./index317.js";
7
- import { keymap as Ke } from "./index318.js";
4
+ import { DOMSerializer as Fe, Schema as Dt, Fragment as j, Node as Le, DOMParser as ut, Slice as Ve } from "./index286.js";
5
+ import { liftListItem as He, sinkListItem as Ue, wrapInList as We } from "./index287.js";
6
+ import { EditorView as qe } from "./index288.js";
7
+ import { keymap as Ke } from "./index289.js";
8
8
  var Je = Object.defineProperty, vt = (e, t) => {
9
9
  for (var n in t)
10
10
  Je(e, n, { get: t[n], enumerable: !0 });
package/dist/index254.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Node as a, wrappingInputRule as c, mergeAttributes as d } from "./index253.js";
2
- import { createElement as i } from "./index319.js";
2
+ import { createElement as i } from "./index302.js";
3
3
  var l = /^\s*>\s$/, g = a.create({
4
4
  name: "blockquote",
5
5
  addOptions() {
package/dist/index255.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Mark as a, markPasteRule as r, markInputRule as s, mergeAttributes as o } from "./index253.js";
2
- import { createElement as n } from "./index319.js";
2
+ import { createElement as n } from "./index302.js";
3
3
  var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, i = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, u = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, p = a.create({
4
4
  name: "bold",
5
5
  addOptions() {
package/dist/index268.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Slice as m, Fragment as B, Node as x, Mark as R } from "./index315.js";
2
- import { ReplaceStep as P, ReplaceAroundStep as K, Transform as $ } from "./index313.js";
1
+ import { Slice as m, Fragment as B, Node as x, Mark as R } from "./index286.js";
2
+ import { ReplaceStep as P, ReplaceAroundStep as K, Transform as $ } from "./index284.js";
3
3
  const O = /* @__PURE__ */ Object.create(null);
4
4
  class l {
5
5
  /**
package/dist/index270.js CHANGED
@@ -1,4 +1,4 @@
1
- import s from "./index217.js";
1
+ import s from "./index215.js";
2
2
  import c from "./index323.js";
3
3
  import { ObjectUtils as l } from "./index162.js";
4
4
  function i(t) {