@quoreadmin/ui 1.6.4 → 1.6.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 (171) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index139.js +386 -347
  3. package/dist/index15.js +19 -19
  4. package/dist/index181.js +8 -8
  5. package/dist/index183.js +8 -8
  6. package/dist/index187.js +17 -17
  7. package/dist/index190.js +7 -7
  8. package/dist/index201.js +4 -4
  9. package/dist/index205.js +2 -2
  10. package/dist/index206.js +1 -1
  11. package/dist/index207.js +1 -1
  12. package/dist/index208.js +1 -1
  13. package/dist/index209.js +1 -1
  14. package/dist/index210.js +4 -4
  15. package/dist/index212.js +4 -4
  16. package/dist/index215.js +1 -1
  17. package/dist/index223.js +121 -155
  18. package/dist/index224.js +37 -19
  19. package/dist/index225.js +80 -20
  20. package/dist/index226.js +13 -15
  21. package/dist/index227.js +19 -198
  22. package/dist/index228.js +18 -68
  23. package/dist/index229.js +20 -34
  24. package/dist/index23.js +7 -6
  25. package/dist/index230.js +19 -39
  26. package/dist/index231.js +155 -121
  27. package/dist/index232.js +19 -37
  28. package/dist/index233.js +22 -80
  29. package/dist/index234.js +198 -19
  30. package/dist/index235.js +68 -18
  31. package/dist/index236.js +34 -20
  32. package/dist/index237.js +39 -19
  33. package/dist/index238.js +1 -1
  34. package/dist/index239.js +1 -1
  35. package/dist/index240.js +1 -1
  36. package/dist/index241.js +6 -6
  37. package/dist/index242.js +1 -1
  38. package/dist/index244.js +1 -1
  39. package/dist/index245.js +1 -1
  40. package/dist/index246.js +1 -1
  41. package/dist/index248.js +1 -1
  42. package/dist/index249.js +1 -1
  43. package/dist/index250.js +6 -6
  44. package/dist/index251.js +1 -1
  45. package/dist/index252.js +1 -1
  46. package/dist/index253.js +1 -1
  47. package/dist/index254.js +1 -1
  48. package/dist/index255.js +1 -1
  49. package/dist/index256.js +1 -1
  50. package/dist/index259.js +6 -6
  51. package/dist/index260.js +1 -1
  52. package/dist/index261.js +1 -1
  53. package/dist/index274.js +2 -2
  54. package/dist/index279.js +3 -54
  55. package/dist/index280.js +25 -77
  56. package/dist/index281.js +2 -26
  57. package/dist/index282.js +78 -21
  58. package/dist/index283.js +53 -21
  59. package/dist/index284.js +26 -16
  60. package/dist/index285.js +22 -17
  61. package/dist/index286.js +21 -22
  62. package/dist/index287.js +16 -2
  63. package/dist/index288.js +17 -235
  64. package/dist/index289.js +23 -6
  65. package/dist/index290.js +76 -131
  66. package/dist/index291.js +21 -67
  67. package/dist/index292.js +926 -78
  68. package/dist/index293.js +21 -28
  69. package/dist/index294.js +18 -7
  70. package/dist/index295.js +19 -74
  71. package/dist/index296.js +68 -3
  72. package/dist/index297.js +19 -2
  73. package/dist/index298.js +18 -82
  74. package/dist/index299.js +21 -53
  75. package/dist/index300.js +21 -5
  76. package/dist/index301.js +63 -5
  77. package/dist/index302.js +1488 -149
  78. package/dist/index303.js +378 -55
  79. package/dist/index304.js +2731 -75
  80. package/dist/index305.js +86 -3
  81. package/dist/index306.js +3764 -21
  82. package/dist/index307.js +55 -1513
  83. package/dist/index308.js +14 -385
  84. package/dist/index309.js +67 -2714
  85. package/dist/index310.js +189 -73
  86. package/dist/index311.js +222 -3746
  87. package/dist/index312.js +227 -52
  88. package/dist/index313.js +5 -78
  89. package/dist/index314.js +133 -21
  90. package/dist/index315.js +62 -929
  91. package/dist/index316.js +86 -21
  92. package/dist/index317.js +28 -19
  93. package/dist/index318.js +7 -18
  94. package/dist/index319.js +73 -67
  95. package/dist/index320.js +4 -19
  96. package/dist/index321.js +2 -19
  97. package/dist/index322.js +82 -21
  98. package/dist/index323.js +53 -21
  99. package/dist/index324.js +6 -63
  100. package/dist/index325.js +5 -15
  101. package/dist/index326.js +166 -71
  102. package/dist/index327.js +57 -196
  103. package/dist/index328.js +75 -246
  104. package/dist/index329.js +8 -36
  105. package/dist/index330.js +12 -20
  106. package/dist/index331.js +53 -54
  107. package/dist/index332.js +10 -27
  108. package/dist/index333.js +13 -6
  109. package/dist/index334.js +54 -48
  110. package/dist/index335.js +52 -6
  111. package/dist/index336.js +30 -11
  112. package/dist/index337.js +2 -7
  113. package/dist/index338.js +4 -27
  114. package/dist/index339.js +2 -2
  115. package/dist/index340.js +22 -69
  116. package/dist/index341.js +38 -164
  117. package/dist/index342.js +2 -9
  118. package/dist/index343.js +11 -13
  119. package/dist/index344.js +16 -51
  120. package/dist/index345.js +16 -11
  121. package/dist/index346.js +10 -14
  122. package/dist/index347.js +10 -58
  123. package/dist/index348.js +2 -52
  124. package/dist/index349.js +9 -31
  125. package/dist/index350.js +10 -2
  126. package/dist/index351.js +13 -4
  127. package/dist/index352.js +37 -2
  128. package/dist/index353.js +20 -23
  129. package/dist/index354.js +19 -40
  130. package/dist/index355.js +64 -2
  131. package/dist/index356.js +36 -10
  132. package/dist/index357.js +18 -17
  133. package/dist/index358.js +55 -16
  134. package/dist/index359.js +29 -10
  135. package/dist/index360.js +7 -10
  136. package/dist/index361.js +52 -2
  137. package/dist/index362.js +5 -8
  138. package/dist/index363.js +11 -9
  139. package/dist/index364.js +6 -13
  140. package/dist/index365.js +28 -20
  141. package/dist/index366.js +2 -20
  142. package/dist/index367.js +67 -61
  143. package/dist/index368.js +166 -36
  144. package/dist/index369.js +17 -31
  145. package/dist/index370.js +100 -10
  146. package/dist/index371.js +90 -3
  147. package/dist/index372.js +98 -4
  148. package/dist/index373.js +30 -12
  149. package/dist/index374.js +11 -7
  150. package/dist/index375.js +3 -11
  151. package/dist/index376.js +3 -4
  152. package/dist/index377.js +13 -33
  153. package/dist/index378.js +7 -31
  154. package/dist/index379.js +12 -28
  155. package/dist/index380.js +5 -61
  156. package/dist/index381.js +33 -91
  157. package/dist/index382.js +29 -99
  158. package/dist/index383.js +27 -16
  159. package/dist/index384.js +59 -96
  160. package/dist/index385.js +1 -1
  161. package/dist/index390.js +1 -1
  162. package/dist/index391.js +2 -2
  163. package/dist/index43.js +247 -217
  164. package/dist/index85.js +21 -17
  165. package/dist/src/components/data-filter/data-filter.d.ts +9 -0
  166. package/dist/src/components/data-list/data-list.d.ts +9 -0
  167. package/dist/src/components/grid/grid.stories.d.ts +9 -0
  168. package/dist/src/components/room-details-popover/room-details-popover.d.ts +18 -3
  169. package/dist/src/views/lists.vue.d.ts +18 -0
  170. package/dist/src/views/tables.vue.d.ts +9 -0
  171. package/package.json +1 -1
package/dist/index15.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import y from "./index85.js";
2
- import { resolveComponent as d, createElementBlock as f, openBlock as t, createElementVNode as l, renderSlot as s, createCommentVNode as i, createVNode as a, toDisplayString as u, normalizeProps as m, guardReactiveProps as h, createBlock as c, withCtx as o, createTextVNode as b, normalizeClass as g, Transition as w } from "vue";
2
+ import { resolveComponent as d, createElementBlock as f, openBlock as t, createElementVNode as l, renderSlot as s, createCommentVNode as i, createVNode as a, toDisplayString as u, normalizeProps as m, guardReactiveProps as h, createBlock as c, withCtx as o, createTextVNode as k, normalizeClass as v, Transition as w } from "vue";
3
3
  /* empty css */
4
4
  import q from "./index62.js";
5
- const B = ["id"], F = { class: "search grow" }, V = {
5
+ const B = ["id"], F = { class: "search grow" }, z = {
6
6
  class: "search-label flex items-center",
7
7
  for: "search"
8
- }, z = { class: "results-count mx-1 shrink-0 text-xs text-gray-40 capitalize" }, P = {
8
+ }, V = { class: "results-count mx-1 shrink-0 text-xs text-gray-40 capitalize" }, P = {
9
9
  key: 1,
10
10
  class: "filters shrink-0 h-6"
11
11
  }, H = { class: "flex relative" }, E = { class: "!text-blue-20 text-tiny font-bold" }, R = { key: 1 }, A = { class: "flex relative" }, T = { class: "!text-blue-20 text-tiny font-bold" }, U = { class: "flex relative" }, _ = { class: "!text-blue-20 text-tiny font-bold" }, L = {
@@ -13,14 +13,14 @@ const B = ["id"], F = { class: "search grow" }, V = {
13
13
  class: "actions shrink-0 flex items-center h-6"
14
14
  };
15
15
  function N(e, r, D, I, Q, X) {
16
- const p = d("q-icon"), k = d("q-input"), C = d("q-badge"), v = d("q-tooltip"), $ = d("q-popover"), S = d("q-bottom-sheet");
16
+ const p = d("q-icon"), S = d("q-input"), C = d("q-badge"), g = d("q-tooltip"), $ = d("q-popover"), b = d("q-bottom-sheet");
17
17
  return t(), f("div", {
18
18
  id: e.id,
19
19
  class: "data-filter flex items-center p-4 bg-white"
20
20
  }, [
21
21
  l("div", F, [
22
22
  e.hasSearch ? s(e.$slots, "search", { key: 0 }, () => [
23
- l("label", V, [
23
+ l("label", z, [
24
24
  a(p, {
25
25
  class: "mr-2 shrink-0",
26
26
  color: "gray-40",
@@ -28,7 +28,7 @@ function N(e, r, D, I, Q, X) {
28
28
  size: "md",
29
29
  type: ""
30
30
  }),
31
- a(k, {
31
+ a(S, {
32
32
  id: "search",
33
33
  "model-value": e.search,
34
34
  "hide-clear": e.mq.md,
@@ -42,7 +42,7 @@ function N(e, r, D, I, Q, X) {
42
42
  ], !0) : i("", !0)
43
43
  ]),
44
44
  e.showResultsCount ? s(e.$slots, "resultsCount", { key: 0 }, () => [
45
- l("div", z, u(e.filteredCount === 1 ? "1 " + e.$t("HC_RESULT") : e.$t("HC_X_RESULTS", { count: e.filteredCount })), 1)
45
+ l("div", V, u(e.filteredCount === 1 ? "1 " + e.$t("HC_RESULT") : e.$t("HC_X_RESULTS", { count: e.filteredCount })), 1)
46
46
  ], !0) : i("", !0),
47
47
  s(e.$slots, "beforeFilters", {}, void 0, !0),
48
48
  e.filters?.length ? (t(), f("div", P, [
@@ -52,13 +52,13 @@ function N(e, r, D, I, Q, X) {
52
52
  modelValue: e.showFilterPopover,
53
53
  "onUpdate:modelValue": r[0] || (r[0] = (n) => e.showFilterPopover = n),
54
54
  reposition: e.repositionPopover,
55
+ size: e.filtersPopoverSize,
55
56
  position: "bottom",
56
57
  align: "right",
57
- trigger: "click",
58
- size: "lg"
58
+ trigger: "click"
59
59
  }, {
60
60
  trigger: o(({ onClick: n }) => [
61
- a(v, { class: "z-[45] ml-2" }, {
61
+ a(g, { class: "z-[45] ml-2" }, {
62
62
  trigger: o(() => [
63
63
  l("div", H, [
64
64
  a(p, {
@@ -70,7 +70,7 @@ function N(e, r, D, I, Q, X) {
70
70
  }, null, 8, ["color", "onClick"]),
71
71
  e.filtersCount ? (t(), c(C, {
72
72
  key: 0,
73
- class: g([
73
+ class: v([
74
74
  "filters-count absolute !h-4 !w-4",
75
75
  "-top-[0.3125rem] -right-[0.375rem]"
76
76
  ]),
@@ -84,7 +84,7 @@ function N(e, r, D, I, Q, X) {
84
84
  ])
85
85
  ]),
86
86
  content: o(() => [
87
- b(u(e.$t("HC_FILTERS")), 1)
87
+ k(u(e.$t("HC_FILTERS")), 1)
88
88
  ]),
89
89
  _: 2
90
90
  }, 1024)
@@ -93,7 +93,7 @@ function N(e, r, D, I, Q, X) {
93
93
  s(e.$slots, "filterContent", m(h({ closePopover: e.closePopover })), void 0, !0)
94
94
  ]),
95
95
  _: 3
96
- }, 8, ["modelValue", "reposition"])) : e.$slots.filterSheetContent && !e.mq.md ? (t(), f("div", R, [
96
+ }, 8, ["modelValue", "reposition", "size"])) : e.$slots.filterSheetContent && !e.mq.md ? (t(), f("div", R, [
97
97
  l("div", A, [
98
98
  a(p, {
99
99
  class: "filters-icon ml-0 cursor-pointer",
@@ -104,7 +104,7 @@ function N(e, r, D, I, Q, X) {
104
104
  }, null, 8, ["color"]),
105
105
  e.filtersCount ? (t(), c(C, {
106
106
  key: 0,
107
- class: g([
107
+ class: v([
108
108
  "filters-count absolute !h-4 !w-4",
109
109
  "-top-[0.3125rem] -right-[0.375rem]"
110
110
  ]),
@@ -121,7 +121,7 @@ function N(e, r, D, I, Q, X) {
121
121
  appear: ""
122
122
  }, {
123
123
  default: o(() => [
124
- e.showFilterBottomSheet ? (t(), c(S, {
124
+ e.showFilterBottomSheet ? (t(), c(b, {
125
125
  key: 0,
126
126
  modelValue: e.showFilterBottomSheet,
127
127
  "onUpdate:modelValue": r[2] || (r[2] = (n) => e.showFilterBottomSheet = n),
@@ -144,7 +144,7 @@ function N(e, r, D, I, Q, X) {
144
144
  ]),
145
145
  _: 3
146
146
  })
147
- ])) : (t(), c(v, {
147
+ ])) : (t(), c(g, {
148
148
  key: 2,
149
149
  class: "z-[45] ml-2"
150
150
  }, {
@@ -159,7 +159,7 @@ function N(e, r, D, I, Q, X) {
159
159
  }, null, 8, ["color"]),
160
160
  e.filtersCount ? (t(), c(C, {
161
161
  key: 0,
162
- class: g([
162
+ class: v([
163
163
  "filters-count absolute !h-4 !w-4",
164
164
  "-top-[0.3125rem] -right-[0.375rem]"
165
165
  ]),
@@ -173,7 +173,7 @@ function N(e, r, D, I, Q, X) {
173
173
  ])
174
174
  ]),
175
175
  content: o(() => [
176
- b(u(e.$t("HC_FILTERS")), 1)
176
+ k(u(e.$t("HC_FILTERS")), 1)
177
177
  ]),
178
178
  _: 1
179
179
  }))
@@ -184,7 +184,7 @@ function N(e, r, D, I, Q, X) {
184
184
  ])) : i("", !0)
185
185
  ], 8, B);
186
186
  }
187
- const O = /* @__PURE__ */ q(y, [["render", N], ["__scopeId", "data-v-a0babcc4"]]);
187
+ const O = /* @__PURE__ */ q(y, [["render", N], ["__scopeId", "data-v-0e8ea36d"]]);
188
188
  export {
189
189
  O as default
190
190
  };
package/dist/index181.js CHANGED
@@ -1,14 +1,14 @@
1
- import A from "./index223.js";
2
- import O from "./index224.js";
3
- import V from "./index225.js";
4
- import R from "./index226.js";
5
- import j from "./index227.js";
6
- import K from "./index228.js";
1
+ import A from "./index231.js";
2
+ import O from "./index232.js";
3
+ import V from "./index226.js";
4
+ import R from "./index233.js";
5
+ import j from "./index234.js";
6
+ import K from "./index235.js";
7
7
  import H from "./index216.js";
8
8
  import { DomHandler as w } from "./index168.js";
9
9
  import W from "./index217.js";
10
- import G from "./index229.js";
11
- import Y from "./index230.js";
10
+ import G from "./index236.js";
11
+ import Y from "./index237.js";
12
12
  import { resolveComponent as y, createElementBlock as f, openBlock as o, Fragment as U, renderList as E, mergeProps as r, createElementVNode as h, createVNode as L, toDisplayString as F, normalizeClass as B, withCtx as C, createBlock as m, resolveDynamicComponent as b, resolveDirective as Z, createCommentVNode as v, renderSlot as g, withDirectives as M, withKeys as T, createTextVNode as z } from "vue";
13
13
  var q = {
14
14
  name: "BaseFileUpload",
package/dist/index183.js CHANGED
@@ -1,15 +1,15 @@
1
- import q from "./index231.js";
2
- import X from "./index232.js";
1
+ import q from "./index223.js";
2
+ import X from "./index224.js";
3
3
  import { ZIndexUtils as T, DomHandler as c, UniqueComponentId as k, ObjectUtils as $ } from "./index168.js";
4
4
  import O from "./index217.js";
5
- import Y from "./index233.js";
6
- import J from "./index225.js";
5
+ import Y from "./index225.js";
6
+ import J from "./index226.js";
7
7
  import L from "./index216.js";
8
- import H from "./index234.js";
9
- import M from "./index235.js";
8
+ import H from "./index227.js";
9
+ import M from "./index228.js";
10
10
  import { resolveDirective as C, createElementBlock as d, openBlock as s, mergeProps as l, createElementVNode as b, createCommentVNode as h, withDirectives as y, createBlock as f, resolveDynamicComponent as p, Fragment as U, renderList as G, resolveComponent as A, createVNode as z, withCtx as D, Transition as Q } from "vue";
11
- import ee from "./index236.js";
12
- import te from "./index237.js";
11
+ import ee from "./index229.js";
12
+ import te from "./index230.js";
13
13
  var ie = {
14
14
  name: "BaseGalleria",
15
15
  extends: O,
package/dist/index187.js CHANGED
@@ -1,20 +1,20 @@
1
- import a from "./index288.js";
2
- import p from "./index289.js";
3
- import m from "./index290.js";
4
- import i from "./index291.js";
5
- import f from "./index292.js";
6
- import l from "./index293.js";
7
- import c from "./index294.js";
8
- import d from "./index295.js";
9
- import u from "./index296.js";
10
- import { VERSION as x } from "./index297.js";
11
- import C from "./index298.js";
12
- import A from "./index299.js";
13
- import E from "./index300.js";
14
- import O from "./index301.js";
15
- import S from "./index302.js";
16
- import H from "./index303.js";
17
- import T from "./index304.js";
1
+ import a from "./index312.js";
2
+ import p from "./index313.js";
3
+ import m from "./index314.js";
4
+ import i from "./index315.js";
5
+ import f from "./index316.js";
6
+ import l from "./index317.js";
7
+ import c from "./index318.js";
8
+ import d from "./index319.js";
9
+ import u from "./index320.js";
10
+ import { VERSION as x } from "./index321.js";
11
+ import C from "./index322.js";
12
+ import A from "./index323.js";
13
+ import E from "./index324.js";
14
+ import O from "./index325.js";
15
+ import S from "./index326.js";
16
+ import H from "./index327.js";
17
+ import T from "./index328.js";
18
18
  function n(o) {
19
19
  const t = new m(o), e = p(m.prototype.request, t);
20
20
  return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
package/dist/index190.js CHANGED
@@ -7,25 +7,25 @@ import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as
7
7
  import dt from "./index242.js";
8
8
  import F from "./index217.js";
9
9
  import ct from "./index243.js";
10
- import We from "./index236.js";
11
- import Ue from "./index235.js";
10
+ import We from "./index229.js";
11
+ import Ue from "./index228.js";
12
12
  import { mergeProps as f, resolveComponent as R, createBlock as w, openBlock as u, withCtx as k, createCommentVNode as v, resolveDynamicComponent as C, normalizeClass as S, resolveDirective as qe, createElementBlock as p, withDirectives as q, toDisplayString as H, Fragment as P, createTextVNode as Xe, createElementVNode as T, withModifiers as Je, renderList as B, createVNode as z, normalizeProps as ue, guardReactiveProps as fe, Transition as ft, withKeys as me, renderSlot as O, createSlots as Ce } from "vue";
13
13
  import mt from "./index244.js";
14
14
  import pe from "./index245.js";
15
15
  import ht from "./index246.js";
16
- import pt from "./index225.js";
16
+ import pt from "./index226.js";
17
17
  import K from "./index247.js";
18
18
  import gt from "./index216.js";
19
19
  import Ze from "./index248.js";
20
20
  import yt from "./index249.js";
21
- import wt from "./index223.js";
21
+ import wt from "./index231.js";
22
22
  import vt from "./index250.js";
23
- import bt from "./index231.js";
23
+ import bt from "./index223.js";
24
24
  import Ct from "./index251.js";
25
25
  import Rt from "./index252.js";
26
- import St from "./index224.js";
26
+ import St from "./index232.js";
27
27
  import Pt from "./index253.js";
28
- import Et from "./index232.js";
28
+ import Et from "./index224.js";
29
29
  import Re from "./index254.js";
30
30
  import Se from "./index255.js";
31
31
  import Pe from "./index256.js";
package/dist/index201.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Extension as u, isNodeEmpty as w, callOrReturn as v, getExtensionField as S, isNodeSelection as P } from "./index259.js";
2
2
  import { Plugin as p, PluginKey as m } from "./index274.js";
3
- import { dropCursor as z } from "./index326.js";
4
- import { Decoration as g, DecorationSet as f } from "./index311.js";
5
- import { gapCursor as N } from "./index327.js";
6
- import { history as E, redo as M, undo as O } from "./index328.js";
3
+ import { dropCursor as z } from "./index309.js";
4
+ import { Decoration as g, DecorationSet as f } from "./index306.js";
5
+ import { gapCursor as N } from "./index310.js";
6
+ import { history as E, redo as M, undo as O } from "./index311.js";
7
7
  u.create({
8
8
  name: "characterCount",
9
9
  addOptions() {
package/dist/index205.js CHANGED
@@ -1,5 +1,5 @@
1
- import { onNextFrame as p, defaultTimestep as i } from "./index305.js";
2
- import { createRenderStep as x } from "./index306.js";
1
+ import { onNextFrame as p, defaultTimestep as i } from "./index279.js";
2
+ import { createRenderStep as x } from "./index280.js";
3
3
  const h = 40;
4
4
  let o = !0, s = !1, c = !1;
5
5
  const r = {
package/dist/index206.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { color as m } from "./index210.js";
2
2
  import { number as b } from "./index207.js";
3
- import { isString as g, floatRegex as c, colorRegex as l, sanitize as k } from "./index363.js";
3
+ import { isString as g, floatRegex as c, colorRegex as l, sanitize as k } from "./index350.js";
4
4
  const i = "${c}", p = "${n}";
5
5
  function x(e) {
6
6
  var o, n, r, t;
package/dist/index207.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as a } from "./index363.js";
1
+ import { clamp as a } from "./index350.js";
2
2
  const t = {
3
3
  test: (s) => typeof s == "number",
4
4
  parse: parseFloat,
package/dist/index208.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { complex as s } from "./index206.js";
2
- import { floatRegex as i } from "./index363.js";
2
+ import { floatRegex as i } from "./index350.js";
3
3
  const c = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
4
4
  function l(t) {
5
5
  let [e, n] = t.slice(0, -1).split("(");
package/dist/index209.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isString as n } from "./index363.js";
1
+ import { isString as n } from "./index350.js";
2
2
  const r = (e) => ({
3
3
  test: (s) => n(s) && s.endsWith(e) && s.split(" ").length === 1,
4
4
  parse: parseFloat,
package/dist/index210.js CHANGED
@@ -1,7 +1,7 @@
1
- import { isString as o } from "./index363.js";
2
- import { hex as s } from "./index358.js";
3
- import { hsla as t } from "./index360.js";
4
- import { rgba as e } from "./index359.js";
1
+ import { isString as o } from "./index350.js";
2
+ import { hex as s } from "./index345.js";
3
+ import { hsla as t } from "./index347.js";
4
+ import { rgba as e } from "./index346.js";
5
5
  const f = {
6
6
  test: (r) => e.test(r) || s.test(r) || t.test(r),
7
7
  parse: (r) => e.test(r) ? e.parse(r) : t.test(r) ? t.parse(r) : s.parse(r),
package/dist/index212.js CHANGED
@@ -1,8 +1,8 @@
1
- import { __rest as M } from "./index342.js";
2
- import { detectAnimationFromOptions as U } from "./index343.js";
1
+ import { __rest as M } from "./index329.js";
2
+ import { detectAnimationFromOptions as U } from "./index330.js";
3
3
  import k, { cancelSync as w } from "./index205.js";
4
- import { interpolate as A } from "./index344.js";
5
- import { hasRepeatDelayElapsed as I, reverseElapsed as N, loopElapsed as q } from "./index345.js";
4
+ import { interpolate as A } from "./index331.js";
5
+ import { hasRepeatDelayElapsed as I, reverseElapsed as N, loopElapsed as q } from "./index332.js";
6
6
  const z = (n) => {
7
7
  const o = ({ delta: a }) => n(a);
8
8
  return {
package/dist/index215.js CHANGED
@@ -1,4 +1,4 @@
1
- import { reverseEasing as n, createAnticipate as O, mirrorEasing as s, createBackIn as i, createExpoIn as u } from "./index362.js";
1
+ import { reverseEasing as n, createAnticipate as O, mirrorEasing as s, createBackIn as i, createExpoIn as u } from "./index349.js";
2
2
  const e = 1.525, E = 4 / 11, I = 8 / 11, H = 9 / 10, N = (c) => c, a = u(2), k = n(a), B = s(a), T = (c) => 1 - Math.sin(Math.acos(c)), _ = n(T), C = s(_), r = i(e), L = n(r), U = s(r), m = O(e), b = 4356 / 361, R = 35442 / 1805, S = 16061 / 1805, o = (c) => {
3
3
  if (c === 1 || c === 0)
4
4
  return c;
package/dist/index223.js CHANGED
@@ -1,163 +1,129 @@
1
- import y from "./index230.js";
2
- import m from "./index240.js";
3
- import b from "./index216.js";
4
- import v from "./index217.js";
5
- import h from "./index279.js";
6
- import { resolveComponent as r, resolveDirective as S, withDirectives as B, createElementBlock as i, openBlock as n, mergeProps as t, renderSlot as o, createElementVNode as I, createBlock as d, createCommentVNode as p, normalizeClass as u, toDisplayString as $ } from "vue";
7
- var k = {
8
- name: "BaseButton",
9
- extends: v,
10
- props: {
11
- label: {
12
- type: String,
13
- default: null
14
- },
15
- icon: {
16
- type: String,
17
- default: null
18
- },
19
- iconPos: {
20
- type: String,
21
- default: "left"
22
- },
23
- iconClass: {
24
- type: String,
25
- default: null
26
- },
27
- badge: {
28
- type: String,
29
- default: null
30
- },
31
- badgeClass: {
32
- type: String,
33
- default: null
34
- },
35
- badgeSeverity: {
36
- type: String,
37
- default: null
38
- },
39
- loading: {
40
- type: Boolean,
41
- default: !1
42
- },
43
- loadingIcon: {
44
- type: String,
45
- default: void 0
46
- },
47
- link: {
48
- type: Boolean,
49
- default: !1
50
- },
51
- severity: {
52
- type: String,
53
- default: null
54
- },
55
- raised: {
56
- type: Boolean,
57
- default: !1
58
- },
59
- rounded: {
60
- type: Boolean,
61
- default: !1
62
- },
63
- text: {
64
- type: Boolean,
65
- default: !1
66
- },
67
- outlined: {
68
- type: Boolean,
69
- default: !1
70
- },
71
- size: {
72
- type: String,
73
- default: null
74
- },
75
- plain: {
76
- type: Boolean,
77
- default: !1
78
- }
79
- },
80
- style: h,
81
- provide: function() {
82
- return {
83
- $parentInstance: this
84
- };
1
+ import { DomHandler as s, ObjectUtils as h } from "./index168.js";
2
+ import E from "./index275.js";
3
+ import $ from "./index281.js";
4
+ var g = E.extend({
5
+ style: $
6
+ });
7
+ function m(o) {
8
+ "@babel/helpers - typeof";
9
+ return m = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
10
+ return typeof e;
11
+ } : function(e) {
12
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
13
+ }, m(o);
14
+ }
15
+ function v(o, e) {
16
+ var t = Object.keys(o);
17
+ if (Object.getOwnPropertySymbols) {
18
+ var r = Object.getOwnPropertySymbols(o);
19
+ e && (r = r.filter(function(n) {
20
+ return Object.getOwnPropertyDescriptor(o, n).enumerable;
21
+ })), t.push.apply(t, r);
22
+ }
23
+ return t;
24
+ }
25
+ function F(o) {
26
+ for (var e = 1; e < arguments.length; e++) {
27
+ var t = arguments[e] != null ? arguments[e] : {};
28
+ e % 2 ? v(Object(t), !0).forEach(function(r) {
29
+ S(o, r, t[r]);
30
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : v(Object(t)).forEach(function(r) {
31
+ Object.defineProperty(o, r, Object.getOwnPropertyDescriptor(t, r));
32
+ });
85
33
  }
86
- }, C = {
87
- name: "Button",
88
- extends: k,
89
- inheritAttrs: !1,
34
+ return o;
35
+ }
36
+ function S(o, e, t) {
37
+ return e = y(e), e in o ? Object.defineProperty(o, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = t, o;
38
+ }
39
+ function y(o) {
40
+ var e = O(o, "string");
41
+ return m(e) == "symbol" ? e : String(e);
42
+ }
43
+ function O(o, e) {
44
+ if (m(o) != "object" || !o) return o;
45
+ var t = o[Symbol.toPrimitive];
46
+ if (t !== void 0) {
47
+ var r = t.call(o, e);
48
+ if (m(r) != "object") return r;
49
+ throw new TypeError("@@toPrimitive must return a primitive value.");
50
+ }
51
+ return (e === "string" ? String : Number)(o);
52
+ }
53
+ var x = g.extend("focustrap", {
54
+ mounted: function(e, t) {
55
+ var r = t.value || {}, n = r.disabled;
56
+ n || (this.createHiddenFocusableElements(e, t), this.bind(e, t), this.autoElementFocus(e, t)), e.setAttribute("data-pd-focustrap", !0), this.$el = e;
57
+ },
58
+ updated: function(e, t) {
59
+ var r = t.value || {}, n = r.disabled;
60
+ n && this.unbind(e);
61
+ },
62
+ unmounted: function(e) {
63
+ this.unbind(e);
64
+ },
90
65
  methods: {
91
- getPTOptions: function(l) {
92
- var s = l === "root" ? this.ptmi : this.ptm;
93
- return s(l, {
94
- context: {
95
- disabled: this.disabled
96
- }
66
+ getComputedSelector: function(e) {
67
+ return ':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(e ?? "");
68
+ },
69
+ bind: function(e, t) {
70
+ var r = this, n = t.value || {}, u = n.onFocusIn, l = n.onFocusOut;
71
+ e.$_pfocustrap_mutationobserver = new MutationObserver(function(c) {
72
+ c.forEach(function(f) {
73
+ if (f.type === "childList" && !e.contains(document.activeElement)) {
74
+ var d = function p(a) {
75
+ var i = s.isFocusableElement(a) ? s.isFocusableElement(a, r.getComputedSelector(e.$_pfocustrap_focusableselector)) ? a : s.getFirstFocusableElement(e, r.getComputedSelector(e.$_pfocustrap_focusableselector)) : s.getFirstFocusableElement(a);
76
+ return h.isNotEmpty(i) ? i : a.nextSibling && p(a.nextSibling);
77
+ };
78
+ s.focus(d(f.nextSibling));
79
+ }
80
+ });
81
+ }), e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_mutationobserver.observe(e, {
82
+ childList: !0
83
+ }), e.$_pfocustrap_focusinlistener = function(c) {
84
+ return u && u(c);
85
+ }, e.$_pfocustrap_focusoutlistener = function(c) {
86
+ return l && l(c);
87
+ }, e.addEventListener("focusin", e.$_pfocustrap_focusinlistener), e.addEventListener("focusout", e.$_pfocustrap_focusoutlistener);
88
+ },
89
+ unbind: function(e) {
90
+ e.$_pfocustrap_mutationobserver && e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_focusinlistener && e.removeEventListener("focusin", e.$_pfocustrap_focusinlistener) && (e.$_pfocustrap_focusinlistener = null), e.$_pfocustrap_focusoutlistener && e.removeEventListener("focusout", e.$_pfocustrap_focusoutlistener) && (e.$_pfocustrap_focusoutlistener = null);
91
+ },
92
+ autoFocus: function(e) {
93
+ this.autoElementFocus(this.$el, {
94
+ value: F(F({}, e), {}, {
95
+ autoFocus: !0
96
+ })
97
97
  });
98
- }
99
- },
100
- computed: {
101
- disabled: function() {
102
- return this.$attrs.disabled || this.$attrs.disabled === "" || this.loading;
103
98
  },
104
- defaultAriaLabel: function() {
105
- return this.label ? this.label + (this.badge ? " " + this.badge : "") : this.$attrs.ariaLabel;
106
- },
107
- hasIcon: function() {
108
- return this.icon || this.$slots.icon;
99
+ autoElementFocus: function(e, t) {
100
+ var r = t.value || {}, n = r.autoFocusSelector, u = n === void 0 ? "" : n, l = r.firstFocusableSelector, c = l === void 0 ? "" : l, f = r.autoFocus, d = f === void 0 ? !1 : f, p = s.getFirstFocusableElement(e, "[autofocus]".concat(this.getComputedSelector(u)));
101
+ d && !p && (p = s.getFirstFocusableElement(e, this.getComputedSelector(c))), s.focus(p);
102
+ },
103
+ onFirstHiddenElementFocus: function(e) {
104
+ var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_lasthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getFirstFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_lasthiddenfocusableelement;
105
+ s.focus(u);
106
+ },
107
+ onLastHiddenElementFocus: function(e) {
108
+ var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_firsthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getLastFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_firsthiddenfocusableelement;
109
+ s.focus(u);
110
+ },
111
+ createHiddenFocusableElements: function(e, t) {
112
+ var r = this, n = t.value || {}, u = n.tabIndex, l = u === void 0 ? 0 : u, c = n.firstFocusableSelector, f = c === void 0 ? "" : c, d = n.lastFocusableSelector, p = d === void 0 ? "" : d, a = function(_) {
113
+ return s.createElement("span", {
114
+ class: "p-hidden-accessible p-hidden-focusable",
115
+ tabIndex: l,
116
+ role: "presentation",
117
+ "aria-hidden": !0,
118
+ "data-p-hidden-accessible": !0,
119
+ "data-p-hidden-focusable": !0,
120
+ onFocus: _?.bind(r)
121
+ });
122
+ }, i = a(this.onFirstHiddenElementFocus), b = a(this.onLastHiddenElementFocus);
123
+ i.$_pfocustrap_lasthiddenfocusableelement = b, i.$_pfocustrap_focusableselector = f, i.setAttribute("data-pc-section", "firstfocusableelement"), b.$_pfocustrap_firsthiddenfocusableelement = i, b.$_pfocustrap_focusableselector = p, b.setAttribute("data-pc-section", "lastfocusableelement"), e.prepend(i), e.append(b);
109
124
  }
110
- },
111
- components: {
112
- SpinnerIcon: m,
113
- Badge: y
114
- },
115
- directives: {
116
- ripple: b
117
125
  }
118
- }, P = ["aria-label", "disabled", "data-p-severity"];
119
- function A(e, l, s, L, D, a) {
120
- var c = r("SpinnerIcon"), f = r("Badge"), g = S("ripple");
121
- return B((n(), i("button", t({
122
- class: e.cx("root"),
123
- type: "button",
124
- "aria-label": a.defaultAriaLabel,
125
- disabled: a.disabled
126
- }, a.getPTOptions("root"), {
127
- "data-p-severity": e.severity
128
- }), [o(e.$slots, "default", {}, function() {
129
- return [e.loading ? o(e.$slots, "loadingicon", {
130
- key: 0,
131
- class: u([e.cx("loadingIcon"), e.cx("icon")])
132
- }, function() {
133
- return [e.loadingIcon ? (n(), i("span", t({
134
- key: 0,
135
- class: [e.cx("loadingIcon"), e.cx("icon"), e.loadingIcon]
136
- }, e.ptm("loadingIcon")), null, 16)) : (n(), d(c, t({
137
- key: 1,
138
- class: [e.cx("loadingIcon"), e.cx("icon")],
139
- spin: ""
140
- }, e.ptm("loadingIcon")), null, 16, ["class"]))];
141
- }) : o(e.$slots, "icon", {
142
- key: 1,
143
- class: u([e.cx("icon")])
144
- }, function() {
145
- return [e.icon ? (n(), i("span", t({
146
- key: 0,
147
- class: [e.cx("icon"), e.icon, e.iconClass]
148
- }, e.ptm("icon")), null, 16)) : p("", !0)];
149
- }), I("span", t({
150
- class: e.cx("label")
151
- }, e.ptm("label")), $(e.label || " "), 17), e.badge ? (n(), d(f, t({
152
- key: 2,
153
- value: e.badge,
154
- class: e.badgeClass,
155
- severity: e.badgeSeverity,
156
- unstyled: e.unstyled
157
- }, e.ptm("badge")), null, 16, ["value", "class", "severity", "unstyled"])) : p("", !0)];
158
- })], 16, P)), [[g]]);
159
- }
160
- C.render = A;
126
+ });
161
127
  export {
162
- C as default
128
+ x as default
163
129
  };