@quoreadmin/ui 1.7.5 → 1.7.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 (83) hide show
  1. package/dist/index140.js +298 -296
  2. package/dist/index171.js +14 -14
  3. package/dist/index172.js +3 -3
  4. package/dist/index175.js +4 -4
  5. package/dist/index182.js +10 -10
  6. package/dist/index184.js +10 -10
  7. package/dist/index190.js +9 -9
  8. package/dist/index191.js +1 -1
  9. package/dist/index192.js +1 -1
  10. package/dist/index193.js +1 -1
  11. package/dist/index201.js +1 -1
  12. package/dist/index202.js +29 -84
  13. package/dist/index203.js +109 -400
  14. package/dist/index204.js +36 -22
  15. package/dist/index205.js +26 -33
  16. package/dist/index206.js +31 -111
  17. package/dist/index207.js +9 -36
  18. package/dist/index208.js +19 -26
  19. package/dist/index209.js +10 -36
  20. package/dist/index210.js +10 -9
  21. package/dist/index211.js +50 -18
  22. package/dist/index212.js +43 -10
  23. package/dist/index213.js +4 -10
  24. package/dist/index214.js +36 -48
  25. package/dist/index215.js +21 -43
  26. package/dist/index216.js +87 -3
  27. package/dist/index217.js +403 -35
  28. package/dist/index218.js +22 -21
  29. package/dist/index219.js +159 -159
  30. package/dist/index220.js +20 -228
  31. package/dist/index221.js +19 -36
  32. package/dist/index222.js +22 -10
  33. package/dist/index223.js +167 -129
  34. package/dist/index224.js +69 -19
  35. package/dist/index225.js +34 -20
  36. package/dist/index226.js +39 -21
  37. package/dist/index227.js +113 -185
  38. package/dist/index228.js +25 -57
  39. package/dist/index229.js +77 -31
  40. package/dist/index230.js +19 -39
  41. package/dist/index231.js +19 -126
  42. package/dist/index232.js +16 -34
  43. package/dist/index233.js +20 -80
  44. package/dist/index234.js +160 -19
  45. package/dist/index235.js +228 -20
  46. package/dist/index236.js +36 -19
  47. package/dist/index237.js +10 -20
  48. package/dist/index241.js +8 -8
  49. package/dist/index242.js +2 -2
  50. package/dist/index248.js +2 -2
  51. package/dist/index249.js +2 -2
  52. package/dist/index250.js +8 -8
  53. package/dist/index259.js +6 -6
  54. package/dist/index274.js +2 -2
  55. package/dist/index280.js +1 -1
  56. package/dist/index290.js +79 -1518
  57. package/dist/index291.js +22 -386
  58. package/dist/index292.js +902 -2698
  59. package/dist/index293.js +21 -85
  60. package/dist/index294.js +20 -3770
  61. package/dist/index295.js +19 -59
  62. package/dist/index296.js +67 -77
  63. package/dist/index297.js +18 -21
  64. package/dist/index298.js +18 -934
  65. package/dist/index299.js +16 -16
  66. package/dist/index300.js +13 -11
  67. package/dist/index301.js +62 -19
  68. package/dist/index302.js +1518 -69
  69. package/dist/index303.js +386 -19
  70. package/dist/index304.js +2731 -19
  71. package/dist/index305.js +85 -21
  72. package/dist/index306.js +3770 -22
  73. package/dist/index307.js +60 -63
  74. package/dist/index309.js +1 -1
  75. package/dist/index310.js +3 -3
  76. package/dist/index311.js +1 -1
  77. package/dist/index332.js +1 -1
  78. package/dist/index337.js +1 -1
  79. package/dist/index342.js +2 -2
  80. package/dist/index347.js +1 -1
  81. package/dist/index348.js +2 -2
  82. package/dist/index355.js +1 -1
  83. package/package.json +1 -1
package/dist/index307.js CHANGED
@@ -1,65 +1,62 @@
1
- import a from "./index277.js";
2
- var l = {
3
- root: function(e) {
4
- var p = e.instance, n = e.props, o = e.state;
5
- return ["p-dropdown p-component p-inputwrapper", {
6
- "p-disabled": n.disabled,
7
- "p-invalid": n.invalid,
8
- "p-variant-filled": n.variant ? n.variant === "filled" : p.$primevue.config.inputStyle === "filled",
9
- "p-dropdown-clearable": n.showClear,
10
- "p-focus": o.focused,
11
- "p-inputwrapper-filled": p.hasSelectedOption,
12
- "p-inputwrapper-focus": o.focused || o.overlayVisible,
13
- "p-overlay-open": o.overlayVisible
14
- }];
15
- },
16
- input: function(e) {
17
- var p, n = e.instance, o = e.props;
18
- return ["p-dropdown-label p-inputtext", {
19
- "p-placeholder": !o.editable && n.label === o.placeholder,
20
- "p-dropdown-label-empty": !o.editable && !n.$slots.value && (n.label === "p-emptylabel" || ((p = n.label) === null || p === void 0 ? void 0 : p.length) === 0)
21
- }];
22
- },
23
- clearIcon: "p-dropdown-clear-icon",
24
- trigger: "p-dropdown-trigger",
25
- loadingicon: "p-dropdown-trigger-icon",
26
- dropdownIcon: "p-dropdown-trigger-icon",
27
- panel: function(e) {
28
- e.props;
29
- var p = e.instance;
30
- return ["p-dropdown-panel p-component", {
31
- "p-ripple-disabled": p.$primevue.config.ripple === !1
32
- }];
33
- },
34
- header: "p-dropdown-header",
35
- filterContainer: "p-dropdown-filter-container",
36
- filterInput: function(e) {
37
- var p = e.props, n = e.instance;
38
- return ["p-dropdown-filter p-inputtext p-component", {
39
- "p-variant-filled": p.variant ? p.variant === "filled" : n.$primevue.config.inputStyle === "filled"
40
- }];
41
- },
42
- filterIcon: "p-dropdown-filter-icon",
43
- wrapper: "p-dropdown-items-wrapper",
44
- list: "p-dropdown-items",
45
- itemGroup: "p-dropdown-item-group",
46
- itemGroupLabel: "p-dropdown-item-group-label",
47
- item: function(e) {
48
- var p = e.instance, n = e.props, o = e.state, t = e.option, r = e.focusedOption;
49
- return ["p-dropdown-item", {
50
- "p-highlight": p.isSelected(t) && n.highlightOnSelect,
51
- "p-focus": o.focusedOptionIndex === r,
52
- "p-disabled": p.isOptionDisabled(t)
53
- }];
54
- },
55
- itemLabel: "p-dropdown-item-label",
56
- checkIcon: "p-dropdown-check-icon",
57
- blankIcon: "p-dropdown-blank-icon",
58
- emptyMessage: "p-dropdown-empty-message"
59
- }, s = a.extend({
60
- name: "dropdown",
61
- classes: l
62
- });
1
+ import { keyName as u, base as c } from "./index371.js";
2
+ import { Plugin as d } from "./index274.js";
3
+ const p = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), y = typeof navigator < "u" && /Win/.test(navigator.platform);
4
+ function m(e) {
5
+ let r = e.split(/-(?!$)/), t = r[r.length - 1];
6
+ t == "Space" && (t = " ");
7
+ let i, f, o, a;
8
+ for (let l = 0; l < r.length - 1; l++) {
9
+ let s = r[l];
10
+ if (/^(cmd|meta|m)$/i.test(s))
11
+ a = !0;
12
+ else if (/^a(lt)?$/i.test(s))
13
+ i = !0;
14
+ else if (/^(c|ctrl|control)$/i.test(s))
15
+ f = !0;
16
+ else if (/^s(hift)?$/i.test(s))
17
+ o = !0;
18
+ else if (/^mod$/i.test(s))
19
+ p ? a = !0 : f = !0;
20
+ else
21
+ throw new Error("Unrecognized modifier name: " + s);
22
+ }
23
+ return i && (t = "Alt-" + t), f && (t = "Ctrl-" + t), a && (t = "Meta-" + t), o && (t = "Shift-" + t), t;
24
+ }
25
+ function h(e) {
26
+ let r = /* @__PURE__ */ Object.create(null);
27
+ for (let t in e)
28
+ r[m(t)] = e[t];
29
+ return r;
30
+ }
31
+ function n(e, r, t = !0) {
32
+ return r.altKey && (e = "Alt-" + e), r.ctrlKey && (e = "Ctrl-" + e), r.metaKey && (e = "Meta-" + e), t && r.shiftKey && (e = "Shift-" + e), e;
33
+ }
34
+ function k(e) {
35
+ return new d({ props: { handleKeyDown: K(e) } });
36
+ }
37
+ function K(e) {
38
+ let r = h(e);
39
+ return function(t, i) {
40
+ let f = u(i), o, a = r[n(f, i)];
41
+ if (a && a(t.state, t.dispatch, t))
42
+ return !0;
43
+ if (f.length == 1 && f != " ") {
44
+ if (i.shiftKey) {
45
+ let l = r[n(f, i, !1)];
46
+ if (l && l(t.state, t.dispatch, t))
47
+ return !0;
48
+ }
49
+ if ((i.altKey || i.metaKey || i.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
50
+ !(y && i.ctrlKey && i.altKey) && (o = c[i.keyCode]) && o != f) {
51
+ let l = r[n(o, i)];
52
+ if (l && l(t.state, t.dispatch, t))
53
+ return !0;
54
+ }
55
+ }
56
+ return !1;
57
+ };
58
+ }
63
59
  export {
64
- s as default
60
+ K as keydownHandler,
61
+ k as keymap
65
62
  };
package/dist/index309.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Plugin as w } from "./index274.js";
2
- import { dropPoint as v } from "./index290.js";
2
+ import { dropPoint as v } from "./index302.js";
3
3
  function y(m = {}) {
4
4
  return new w({
5
5
  view(e) {
package/dist/index310.js CHANGED
@@ -1,7 +1,7 @@
1
- import { keydownHandler as v } from "./index295.js";
1
+ import { keydownHandler as v } from "./index307.js";
2
2
  import { Plugin as w, TextSelection as m, NodeSelection as x, Selection as u } from "./index274.js";
3
- import { Fragment as h, Slice as g } from "./index292.js";
4
- import { DecorationSet as S, Decoration as A } from "./index294.js";
3
+ import { Fragment as h, Slice as g } from "./index304.js";
4
+ import { DecorationSet as S, Decoration as A } from "./index306.js";
5
5
  class i extends u {
6
6
  /**
7
7
  Create a gap cursor.
package/dist/index311.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import P from "./index372.js";
2
- import { Mapping as k } from "./index290.js";
2
+ import { Mapping as k } from "./index302.js";
3
3
  import { Plugin as H, PluginKey as O } from "./index274.js";
4
4
  const D = 500;
5
5
  class c {
package/dist/index332.js CHANGED
@@ -5,7 +5,7 @@ import { mixComplex as g, mixArray as h, mixObject as y } from "./index342.js";
5
5
  import { clamp as p } from "./index338.js";
6
6
  import { pipe as b } from "./index343.js";
7
7
  import { invariant as l } from "./index344.js";
8
- import { color as d } from "./index213.js";
8
+ import { color as d } from "./index210.js";
9
9
  const A = (r, e) => (i) => a(r, e, i);
10
10
  function u(r) {
11
11
  if (typeof r == "number")
package/dist/index337.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { interpolate as f } from "./index332.js";
2
- import { easeInOut as p } from "./index218.js";
2
+ import { easeInOut as p } from "./index215.js";
3
3
  function m(e, t) {
4
4
  return e.map(() => t || p).splice(0, e.length - 1);
5
5
  }
package/dist/index342.js CHANGED
@@ -3,8 +3,8 @@ import { mixColor as f } from "./index341.js";
3
3
  import { isNum as i } from "./index349.js";
4
4
  import { pipe as p } from "./index343.js";
5
5
  import { warning as d } from "./index344.js";
6
- import { complex as a } from "./index209.js";
7
- import { color as b } from "./index213.js";
6
+ import { complex as a } from "./index206.js";
7
+ import { color as b } from "./index210.js";
8
8
  function l(n, e) {
9
9
  return i(n) ? (r) => c(n, e, r) : b.test(n) ? f(n, e) : h(n, e);
10
10
  }
package/dist/index347.js CHANGED
@@ -1,4 +1,4 @@
1
- import { alpha as s, number as m } from "./index210.js";
1
+ import { alpha as s, number as m } from "./index207.js";
2
2
  import { sanitize as e, clamp as i } from "./index351.js";
3
3
  import { isColorString as p, splitColor as b } from "./index352.js";
4
4
  const f = i(0, 255), t = Object.assign(Object.assign({}, m), { transform: (r) => Math.round(f(r)) }), d = {
package/dist/index348.js CHANGED
@@ -1,5 +1,5 @@
1
- import { alpha as n } from "./index210.js";
2
- import { percent as t } from "./index212.js";
1
+ import { alpha as n } from "./index207.js";
2
+ import { percent as t } from "./index209.js";
3
3
  import { sanitize as r } from "./index351.js";
4
4
  import { isColorString as i, splitColor as e } from "./index352.js";
5
5
  const u = {
package/dist/index355.js CHANGED
@@ -1,4 +1,4 @@
1
- import i from "./index203.js";
1
+ import i from "./index217.js";
2
2
  import r from "./index369.js";
3
3
  import { createElementBlock as a, openBlock as u, mergeProps as o } from "vue";
4
4
  var d = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quoreadmin/ui",
3
3
  "private": false,
4
- "version": "1.7.5",
4
+ "version": "1.7.6",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "**/*.css",