@quoreadmin/ui 1.10.23 → 1.10.24

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 (215) hide show
  1. package/README.md +30 -24
  2. package/dist/index147.js +1 -1
  3. package/dist/index182.js +14 -14
  4. package/dist/index183.js +3 -3
  5. package/dist/index186.js +4 -4
  6. package/dist/index193.js +10 -10
  7. package/dist/index195.js +10 -10
  8. package/dist/index198.js +17 -17
  9. package/dist/index201.js +28 -28
  10. package/dist/index202.js +2 -2
  11. package/dist/index203.js +2 -2
  12. package/dist/index204.js +1 -1
  13. package/dist/index206.js +2 -2
  14. package/dist/index208.js +14 -14
  15. package/dist/index209.js +1 -1
  16. package/dist/index210.js +1 -1
  17. package/dist/index211.js +3 -3
  18. package/dist/index212.js +14 -12
  19. package/dist/index213.js +29 -84
  20. package/dist/index214.js +109 -400
  21. package/dist/index215.js +36 -22
  22. package/dist/index216.js +26 -33
  23. package/dist/index217.js +31 -111
  24. package/dist/index218.js +50 -35
  25. package/dist/index219.js +43 -26
  26. package/dist/index220.js +3 -35
  27. package/dist/index221.js +9 -51
  28. package/dist/index222.js +18 -42
  29. package/dist/index223.js +10 -4
  30. package/dist/index224.js +10 -9
  31. package/dist/index225.js +38 -18
  32. package/dist/index226.js +21 -10
  33. package/dist/index227.js +88 -10
  34. package/dist/index228.js +403 -35
  35. package/dist/index229.js +22 -21
  36. package/dist/index230.js +159 -159
  37. package/dist/index231.js +20 -228
  38. package/dist/index232.js +19 -36
  39. package/dist/index233.js +22 -10
  40. package/dist/index234.js +167 -129
  41. package/dist/index235.js +69 -19
  42. package/dist/index236.js +34 -20
  43. package/dist/index237.js +39 -21
  44. package/dist/index238.js +156 -194
  45. package/dist/index239.js +224 -66
  46. package/dist/index240.js +37 -34
  47. package/dist/index241.js +9 -39
  48. package/dist/index242.js +109 -3618
  49. package/dist/index243.js +32 -49
  50. package/dist/index244.js +73 -70
  51. package/dist/index245.js +20 -52
  52. package/dist/index246.js +20 -215
  53. package/dist/index247.js +20 -10
  54. package/dist/index248.js +20 -57
  55. package/dist/index249.js +241 -49
  56. package/dist/index250.js +7 -53
  57. package/dist/index251.js +134 -71
  58. package/dist/index252.js +75 -718
  59. package/dist/index253.js +20 -42
  60. package/dist/index254.js +51 -61
  61. package/dist/index255.js +79 -11
  62. package/dist/index256.js +20 -705
  63. package/dist/index257.js +26 -820
  64. package/dist/index258.js +21 -126
  65. package/dist/index259.js +21 -37
  66. package/dist/index260.js +15 -79
  67. package/dist/index261.js +17 -20
  68. package/dist/index262.js +23 -20
  69. package/dist/index263.js +14 -12
  70. package/dist/index264.js +14 -12
  71. package/dist/index265.js +836 -22
  72. package/dist/index266.js +701 -21
  73. package/dist/index267.js +176 -20
  74. package/dist/index268.js +22 -836
  75. package/dist/index269.js +19 -701
  76. package/dist/index270.js +3 -176
  77. package/dist/index271.js +186 -21
  78. package/dist/index272.js +132 -19
  79. package/dist/index273.js +1223 -20
  80. package/dist/index274.js +20 -3
  81. package/dist/index275.js +21 -186
  82. package/dist/index276.js +21 -132
  83. package/dist/index277.js +29 -1223
  84. package/dist/index278.js +12 -12
  85. package/dist/index279.js +13 -15
  86. package/dist/index280.js +2 -22
  87. package/dist/index281.js +2 -29
  88. package/dist/index282.js +3709 -20
  89. package/dist/index283.js +60 -20
  90. package/dist/index284.js +83 -2
  91. package/dist/index285.js +52 -2
  92. package/dist/index286.js +198 -236
  93. package/dist/index287.js +9 -7
  94. package/dist/index288.js +54 -135
  95. package/dist/index289.js +60 -82
  96. package/dist/index290.js +51 -51
  97. package/dist/index291.js +78 -76
  98. package/dist/index292.js +727 -25
  99. package/dist/index293.js +47 -22
  100. package/dist/index294.js +64 -22
  101. package/dist/index295.js +10 -15
  102. package/dist/index296.js +704 -16
  103. package/dist/index297.js +820 -23
  104. package/dist/index298.js +2 -1534
  105. package/dist/index299.js +3 -386
  106. package/dist/index300.js +23 -2727
  107. package/dist/index301.js +255 -76
  108. package/dist/index302.js +4 -3790
  109. package/dist/index303.js +145 -55
  110. package/dist/index304.js +69 -15
  111. package/dist/index305.js +83 -76
  112. package/dist/index306.js +28 -201
  113. package/dist/index307.js +14 -244
  114. package/dist/index308.js +75 -2
  115. package/dist/index309.js +3 -78
  116. package/dist/index310.js +2 -22
  117. package/dist/index311.js +75 -926
  118. package/dist/index312.js +57 -21
  119. package/dist/index313.js +5 -19
  120. package/dist/index314.js +4 -19
  121. package/dist/index315.js +178 -61
  122. package/dist/index316.js +62 -18
  123. package/dist/index317.js +74 -18
  124. package/dist/index318.js +36 -21
  125. package/dist/index319.js +1534 -22
  126. package/dist/index320.js +386 -63
  127. package/dist/index321.js +2714 -245
  128. package/dist/index322.js +84 -4
  129. package/dist/index323.js +3791 -133
  130. package/dist/index324.js +57 -70
  131. package/dist/index325.js +75 -83
  132. package/dist/index326.js +21 -28
  133. package/dist/index327.js +933 -14
  134. package/dist/index328.js +21 -74
  135. package/dist/index329.js +19 -3
  136. package/dist/index330.js +20 -2
  137. package/dist/index331.js +66 -80
  138. package/dist/index332.js +19 -53
  139. package/dist/index333.js +19 -6
  140. package/dist/index334.js +21 -4
  141. package/dist/index335.js +21 -178
  142. package/dist/index336.js +62 -62
  143. package/dist/index337.js +14 -74
  144. package/dist/index338.js +84 -3
  145. package/dist/index339.js +197 -22
  146. package/dist/index340.js +240 -31
  147. package/dist/index341.js +8 -19
  148. package/dist/index342.js +12 -19
  149. package/dist/index343.js +51 -60
  150. package/dist/index344.js +12 -37
  151. package/dist/index345.js +13 -18
  152. package/dist/index346.js +55 -54
  153. package/dist/index347.js +50 -27
  154. package/dist/index348.js +30 -6
  155. package/dist/index349.js +2 -52
  156. package/dist/index350.js +4 -6
  157. package/dist/index351.js +2 -12
  158. package/dist/index352.js +22 -6
  159. package/dist/index353.js +40 -27
  160. package/dist/index354.js +2 -2
  161. package/dist/index355.js +10 -69
  162. package/dist/index356.js +18 -165
  163. package/dist/index357.js +10 -9
  164. package/dist/index358.js +10 -13
  165. package/dist/index359.js +15 -53
  166. package/dist/index360.js +2 -12
  167. package/dist/index361.js +9 -14
  168. package/dist/index362.js +9 -57
  169. package/dist/index363.js +14 -52
  170. package/dist/index364.js +16 -28
  171. package/dist/index365.js +57 -2
  172. package/dist/index366.js +25 -5
  173. package/dist/index367.js +7 -2
  174. package/dist/index368.js +53 -21
  175. package/dist/index369.js +6 -40
  176. package/dist/index370.js +12 -2
  177. package/dist/index371.js +6 -10
  178. package/dist/index372.js +28 -20
  179. package/dist/index373.js +2 -10
  180. package/dist/index374.js +81 -9
  181. package/dist/index375.js +178 -15
  182. package/dist/index376.js +20 -2
  183. package/dist/index377.js +20 -9
  184. package/dist/index378.js +63 -9
  185. package/dist/index379.js +37 -14
  186. package/dist/index380.js +28 -98
  187. package/dist/index381.js +10 -90
  188. package/dist/index382.js +4 -98
  189. package/dist/index383.js +4 -17
  190. package/dist/index384.js +12 -30
  191. package/dist/index385.js +7 -11
  192. package/dist/index386.js +13 -3
  193. package/dist/index387.js +4 -3
  194. package/dist/index388.js +36 -13
  195. package/dist/index389.js +37 -7
  196. package/dist/index390.js +30 -12
  197. package/dist/index391.js +64 -5
  198. package/dist/index392.js +17 -33
  199. package/dist/index393.js +99 -29
  200. package/dist/index394.js +91 -28
  201. package/dist/index395.js +96 -59
  202. package/dist/index396.js +1 -1
  203. package/dist/index401.js +1 -1
  204. package/dist/index402.js +2 -2
  205. package/dist/src/components/comment-section/comment-section.stories.d.ts +1 -0
  206. package/dist/src/components/data-filter/data-filter.d.ts +1 -1
  207. package/dist/src/components/data-list/data-list.d.ts +1 -1
  208. package/dist/src/components/grid/grid.stories.d.ts +1 -1
  209. package/dist/src/components/image-gallery/image-gallery.stories.d.ts +2 -0
  210. package/dist/src/components/pdf-viewer/pdf-viewer.stories.d.ts +1 -0
  211. package/dist/src/components/table/table.d.ts +1 -1
  212. package/dist/src/views/lists.vue.d.ts +2 -2
  213. package/dist/src/views/tables.vue.d.ts +1 -1
  214. package/package.json +137 -120
  215. package/dist/src/components/tour/tour.d.ts +0 -364
package/README.md CHANGED
@@ -4,17 +4,13 @@ This project utilizes Vue 3 with Vite & Typescript. See IDE recommendations & pr
4
4
 
5
5
  ## Project Setup
6
6
 
7
- We have included a .nvmrc file so we are all on the same node version.
7
+ We have included a .nvmrc file so we are all on the same node version. This project uses pnpm as its package manager (activated via Corepack).
8
8
 
9
9
  ```
10
- // Get the correct version of node
11
- $ nvm use
12
-
13
- // Install all of the packages needed for the project
14
- $ npm install
15
-
16
- // Serve up on local
17
- $ npm run dev
10
+ nvm use
11
+ corepack enable
12
+ pnpm install
13
+ pnpm dev
18
14
  ```
19
15
 
20
16
  ## Storybook
@@ -22,27 +18,37 @@ $ npm run dev
22
18
  We have all of our components in Storybook. When making an update to a component, check Storybook to see if anything needs to be added to the component story file.
23
19
 
24
20
  ```
25
- // Serve up Storybook
26
- $ npm run storybook
21
+ pnpm storybook
22
+ pnpm build-storybook
23
+ ```
24
+
25
+ ## Testing
26
+
27
+ See [TESTING_PLAN.md](TESTING_PLAN.md) for the full strategy and [TESTING_CHECKLIST.md](TESTING_CHECKLIST.md) for per-component coverage tracking.
27
28
 
28
- // To test static storybook site
29
- $ npm run build-storybook
29
+ ### Unit Tests (Vitest + Vue Test Utils)
30
30
 
31
- // Serve up static generated site
32
- npx serve storybook-static
31
+ Component-level tests that validate props, emits, slots, and conditional rendering. Tests are co-located with their component (`*.test.ts` alongside `*.vue`).
32
+
33
+ ```
34
+ pnpm test # run all unit tests once
35
+ pnpm test:watch # run in watch mode during development
36
+ pnpm test:coverage # run with v8 coverage report
33
37
  ```
34
38
 
35
- ## Recommended IDE Setup
39
+ ### Visual Regression Tests (Storybook Test Runner + Playwright)
36
40
 
37
- - [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
41
+ Screenshots every Storybook story and diffs against committed baselines in `__visual_snapshots__/`. Catches CSS regressions, layout shifts, and unintended visual changes.
38
42
 
39
- ### Type Support For `.vue` Imports in TS
43
+ Requires Playwright Chromium to be installed (`pnpm dlx playwright install --with-deps chromium`) and Docker for baseline generation.
40
44
 
41
- TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
45
+ ```
46
+ pnpm test:visual # run against a running Storybook instance
47
+ pnpm test:visual:update # regenerate baselines locally (macOS -- not for CI baselines)
48
+ pnpm test:visual:ci # build Storybook, serve it, then run visual tests
49
+ pnpm test:visual:docker-update # regenerate baselines inside Docker (matches CI)
50
+ ```
42
51
 
43
- If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
52
+ **Updating baselines:** Baselines must be generated inside the same `node:24.4.1` Docker image used by CI to avoid cross-OS font rendering differences. Run `pnpm test:visual:docker-update`, then commit the updated `.png` files in `__visual_snapshots__/`. Do **not** use `pnpm test:visual:update` on macOS for baselines that will be verified in CI.
44
53
 
45
- 1. Disable the built-in TypeScript Extension
46
- 2. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
47
- 3. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
48
- 4. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
54
+ **Reviewing failures:** Diff images are written to `__visual_snapshots__/__diff_output__/` (gitignored). In CI (Bitbucket Pipelines), diff images are exported as step artifacts and can be downloaded from the pipeline UI.
package/dist/index147.js CHANGED
@@ -175,7 +175,7 @@ const Pt = 996, Zt = It({
175
175
  const { t: c } = Ot(), Te = () => {
176
176
  const e = /* @__PURE__ */ new Date(), t = e.getHours() * 60 + e.getMinutes(), a = Math.round(t / 15) * 15, o = Math.floor(a / 60) % 24, n = a % 60, r = o >= 12 ? "PM" : "AM";
177
177
  return `${o % 12 || 12}:${String(n).padStart(2, "0")} ${r}`;
178
- }, De = "11:59 PM", l = i(null), ie = i(!1), ue = i("left"), Z = i([
178
+ }, De = "11:59 PM", l = i(s.room), ie = i(!1), ue = i("left"), Z = i([
179
179
  {
180
180
  id: 1,
181
181
  label: c("HC_DEPARTMENT")
package/dist/index182.js CHANGED
@@ -1,18 +1,18 @@
1
- import st from "./index216.js";
1
+ import st from "./index213.js";
2
2
  import { reactive as V, watch as h, ref as g, defineComponent as Z, useSlots as H, h as K, Fragment as at, inject as ct, computed as A, toRaw as lt, unref as x } from "vue";
3
- import { unrefElement as ut, useIntersectionObserver as ft, useEventListener as m } from "./index217.js";
4
- import { tryOnUnmounted as pt, isObject as yt } from "./index218.js";
5
- import D, { getFrameData as dt } from "./index219.js";
6
- import { complex as $ } from "./index220.js";
7
- import { inertia as mt } from "./index221.js";
8
- import { animate as bt } from "./index222.js";
9
- import { velocityPerSecond as ht } from "./index223.js";
10
- import { number as vt, alpha as C, scale as j } from "./index224.js";
11
- import { filter as P } from "./index225.js";
12
- import { px as c, progressPercentage as F, degrees as O } from "./index226.js";
13
- import { color as b } from "./index227.js";
14
- import { cubicBezier as gt } from "./index228.js";
15
- import { bounceOut as Ot, bounceInOut as Tt, bounceIn as At, anticipate as xt, backOut as jt, backInOut as Vt, backIn as St, circOut as Ct, circInOut as Et, circIn as Nt, easeOut as Pt, easeInOut as _t, easeIn as wt, linear as Rt } from "./index229.js";
3
+ import { unrefElement as ut, useIntersectionObserver as ft, useEventListener as m } from "./index214.js";
4
+ import { tryOnUnmounted as pt, isObject as yt } from "./index215.js";
5
+ import D, { getFrameData as dt } from "./index216.js";
6
+ import { complex as $ } from "./index217.js";
7
+ import { inertia as mt } from "./index218.js";
8
+ import { animate as bt } from "./index219.js";
9
+ import { velocityPerSecond as ht } from "./index220.js";
10
+ import { number as vt, alpha as C, scale as j } from "./index221.js";
11
+ import { filter as P } from "./index222.js";
12
+ import { px as c, progressPercentage as F, degrees as O } from "./index223.js";
13
+ import { color as b } from "./index224.js";
14
+ import { cubicBezier as gt } from "./index225.js";
15
+ import { bounceOut as Ot, bounceInOut as Tt, bounceIn as At, anticipate as xt, backOut as jt, backInOut as Vt, backIn as St, circOut as Ct, circInOut as Et, circIn as Nt, easeOut as Pt, easeInOut as _t, easeIn as wt, linear as Rt } from "./index226.js";
16
16
  const R = {};
17
17
  class Mt {
18
18
  subscriptions = /* @__PURE__ */ new Set();
package/dist/index183.js CHANGED
@@ -1,7 +1,7 @@
1
- import g from "./index213.js";
1
+ import g from "./index227.js";
2
2
  import { DomHandler as f, ObjectUtils as d } from "./index180.js";
3
- import v from "./index214.js";
4
- import S from "./index215.js";
3
+ import v from "./index228.js";
4
+ import S from "./index229.js";
5
5
  import { resolveDirective as A, openBlock as h, createElementBlock as p, mergeProps as b, Fragment as E, renderList as O, withDirectives as w, renderSlot as x, normalizeClass as K, createElementVNode as I, toDisplayString as D } from "vue";
6
6
  var V = {
7
7
  name: "BaseSelectButton",
package/dist/index186.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { createVNode as s, defineComponent as nt, ref as k, onMounted as me, onUnmounted as at, h as Ye, watchEffect as Y, Teleport as lt, Transition as ot, computed as A, toRef as rt, inject as ge, watch as st, openBlock as ye, createElementBlock as be, provide as we, shallowRef as it, createElementVNode as Z, isVNode as ut } from "vue";
2
- import { format as Ce } from "./index230.js";
3
- import { parse as ct } from "./index231.js";
4
- import { getWeek as Ie } from "./index232.js";
5
- import dt from "./index233.js";
2
+ import { format as Ce } from "./index238.js";
3
+ import { parse as ct } from "./index239.js";
4
+ import { getWeek as Ie } from "./index240.js";
5
+ import dt from "./index241.js";
6
6
  var ft = Object.defineProperty, pt = Object.defineProperties, vt = Object.getOwnPropertyDescriptors, le = Object.getOwnPropertySymbols, Ue = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable, Se = (t, e, n) => e in t ? ft(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, M = (t, e) => {
7
7
  for (var n in e || (e = {}))
8
8
  Ue.call(e, n) && Se(t, n, e[n]);
package/dist/index193.js CHANGED
@@ -1,14 +1,14 @@
1
- import A from "./index234.js";
2
- import O from "./index235.js";
3
- import V from "./index236.js";
4
- import R from "./index237.js";
5
- import j from "./index238.js";
6
- import K from "./index239.js";
7
- import H from "./index213.js";
1
+ import A from "./index230.js";
2
+ import O from "./index231.js";
3
+ import V from "./index232.js";
4
+ import R from "./index233.js";
5
+ import j from "./index234.js";
6
+ import K from "./index235.js";
7
+ import H from "./index227.js";
8
8
  import { DomHandler as w } from "./index180.js";
9
- import W from "./index214.js";
10
- import G from "./index240.js";
11
- import Y from "./index241.js";
9
+ import W from "./index228.js";
10
+ import G from "./index236.js";
11
+ import Y from "./index237.js";
12
12
  import { resolveComponent as y, openBlock as o, createElementBlock as f, Fragment as U, renderList as E, mergeProps as r, createElementVNode as h, toDisplayString as F, createVNode as L, normalizeClass as B, withCtx as C, createBlock as m, resolveDynamicComponent as b, resolveDirective as Z, renderSlot as g, withDirectives as M, withKeys as T, createCommentVNode as v, createTextVNode as z } from "vue";
13
13
  var q = {
14
14
  name: "BaseFileUpload",
package/dist/index195.js CHANGED
@@ -1,15 +1,15 @@
1
- import q from "./index258.js";
2
- import X from "./index259.js";
1
+ import q from "./index242.js";
2
+ import X from "./index243.js";
3
3
  import { ZIndexUtils as T, DomHandler as c, UniqueComponentId as k, ObjectUtils as $ } from "./index180.js";
4
- import O from "./index214.js";
5
- import Y from "./index260.js";
6
- import J from "./index236.js";
7
- import L from "./index213.js";
8
- import H from "./index261.js";
9
- import M from "./index262.js";
4
+ import O from "./index228.js";
5
+ import Y from "./index244.js";
6
+ import J from "./index232.js";
7
+ import L from "./index227.js";
8
+ import H from "./index245.js";
9
+ import M from "./index246.js";
10
10
  import { resolveDirective as C, openBlock as s, createElementBlock as d, mergeProps as l, createElementVNode as b, withDirectives as y, createBlock as f, resolveDynamicComponent as p, createCommentVNode as h, Fragment as U, renderList as G, resolveComponent as A, createVNode as z, withCtx as D, Transition as Q } from "vue";
11
- import ee from "./index263.js";
12
- import te from "./index264.js";
11
+ import ee from "./index247.js";
12
+ import te from "./index248.js";
13
13
  var ie = {
14
14
  name: "BaseGalleria",
15
15
  extends: O,
package/dist/index198.js CHANGED
@@ -1,20 +1,20 @@
1
- import a from "./index321.js";
2
- import p from "./index322.js";
3
- import m from "./index323.js";
4
- import i from "./index324.js";
5
- import f from "./index325.js";
6
- import l from "./index326.js";
7
- import c from "./index327.js";
8
- import d from "./index328.js";
9
- import u from "./index329.js";
10
- import { VERSION as x } from "./index330.js";
11
- import C from "./index331.js";
12
- import A from "./index332.js";
13
- import E from "./index333.js";
14
- import O from "./index334.js";
15
- import S from "./index335.js";
16
- import H from "./index336.js";
17
- import T from "./index337.js";
1
+ import a from "./index301.js";
2
+ import p from "./index302.js";
3
+ import m from "./index303.js";
4
+ import i from "./index304.js";
5
+ import f from "./index305.js";
6
+ import l from "./index306.js";
7
+ import c from "./index307.js";
8
+ import d from "./index308.js";
9
+ import u from "./index309.js";
10
+ import { VERSION as x } from "./index310.js";
11
+ import C from "./index311.js";
12
+ import A from "./index312.js";
13
+ import E from "./index313.js";
14
+ import O from "./index314.js";
15
+ import S from "./index315.js";
16
+ import H from "./index316.js";
17
+ import T from "./index317.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/index201.js CHANGED
@@ -1,34 +1,34 @@
1
1
  import { FilterMatchMode as ve, FilterOperator as se, FilterService as be } from "./index62.js";
2
- import it from "./index265.js";
3
- import lt from "./index266.js";
4
- import at from "./index267.js";
5
- import ut from "./index268.js";
2
+ import it from "./index263.js";
3
+ import lt from "./index264.js";
4
+ import at from "./index253.js";
5
+ import ut from "./index265.js";
6
6
  import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as W, ConnectedOverlayScrollHandler as st, ZIndexUtils as ce } from "./index180.js";
7
- import dt from "./index269.js";
8
- import F from "./index214.js";
9
- import ct from "./index270.js";
10
- import We from "./index263.js";
11
- import Ue from "./index262.js";
7
+ import dt from "./index266.js";
8
+ import F from "./index228.js";
9
+ import ct from "./index267.js";
10
+ import We from "./index247.js";
11
+ import Ue from "./index246.js";
12
12
  import { mergeProps as f, resolveComponent as R, openBlock as u, createBlock as w, withCtx as k, resolveDynamicComponent as C, normalizeClass as S, createCommentVNode as v, resolveDirective as qe, createElementBlock as p, toDisplayString as H, Fragment as P, withDirectives as q, createTextVNode as Xe, createElementVNode as T, withModifiers as Je, renderList as B, normalizeProps as ue, guardReactiveProps as fe, createVNode as z, Transition as ft, withKeys as me, renderSlot as O, createSlots as Ce } from "vue";
13
- import mt from "./index271.js";
14
- import pe from "./index272.js";
15
- import ht from "./index273.js";
16
- import pt from "./index236.js";
17
- import K from "./index274.js";
18
- import gt from "./index213.js";
19
- import Ze from "./index275.js";
20
- import yt from "./index276.js";
21
- import wt from "./index234.js";
22
- import vt from "./index277.js";
23
- import bt from "./index258.js";
24
- import Ct from "./index278.js";
25
- import Rt from "./index279.js";
26
- import St from "./index235.js";
27
- import Pt from "./index280.js";
28
- import Et from "./index259.js";
29
- import Re from "./index281.js";
30
- import Se from "./index282.js";
31
- import Pe from "./index283.js";
13
+ import mt from "./index268.js";
14
+ import pe from "./index256.js";
15
+ import ht from "./index269.js";
16
+ import pt from "./index232.js";
17
+ import K from "./index270.js";
18
+ import gt from "./index227.js";
19
+ import Ze from "./index271.js";
20
+ import yt from "./index272.js";
21
+ import wt from "./index230.js";
22
+ import vt from "./index273.js";
23
+ import bt from "./index242.js";
24
+ import Ct from "./index274.js";
25
+ import Rt from "./index275.js";
26
+ import St from "./index231.js";
27
+ import Pt from "./index276.js";
28
+ import Et from "./index243.js";
29
+ import Re from "./index277.js";
30
+ import Se from "./index278.js";
31
+ import Pe from "./index279.js";
32
32
  var kt = {
33
33
  name: "BaseDataTable",
34
34
  extends: F,
package/dist/index202.js CHANGED
@@ -1,5 +1,5 @@
1
- import l from "./index214.js";
2
- import n from "./index284.js";
1
+ import l from "./index228.js";
2
+ import n from "./index280.js";
3
3
  var u = {
4
4
  name: "BaseColumn",
5
5
  extends: l,
package/dist/index203.js CHANGED
@@ -1,5 +1,5 @@
1
- import r from "./index214.js";
2
- import e from "./index285.js";
1
+ import r from "./index228.js";
2
+ import e from "./index281.js";
3
3
  var o = {
4
4
  name: "BaseColumnGroup",
5
5
  extends: r,
package/dist/index204.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index214.js";
1
+ import r from "./index228.js";
2
2
  var o = {
3
3
  name: "Row",
4
4
  extends: r,
package/dist/index206.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Editor as p } from "./index242.js";
2
- import { CommandManager as y, Extendable as M, Extension as T, InputRule as F, MappablePosition as I, Mark as B, Node as O, NodePos as D, PasteRule as _, callOrReturn as j, canInsertNode as V, combineTransactionSteps as q, commands as z, createAtomBlockMarkdownSpec as L, createBlockMarkdownSpec as U, createChainableState as $, createDocument as H, createInlineMarkdownSpec as W, createMappablePosition as G, createNodeFromContent as J, createStyleTag as K, defaultBlockAt as Q, deleteProps as X, elementFromString as Y, extensions as Z, findChildrenInRange as ee, findDuplicates as te, findParentNode as ne, findParentNodeClosestToPos as re, flattenExtensions as ie, fromString as oe, getAttributes as ae, getAttributesFromExtensions as se, getChangedRanges as le, getExtensionField as de, getHTMLFromFragment as ue, getMarkAttributes as ce, getMarkRange as pe, getMarkType as ge, getMarksBetween as me, getNodeAtPosition as ve, getNodeAttributes as Se, getNodeType as he, getRenderedAttributes as xe, getSchemaByResolvedExtensions as fe, getSchemaTypeByName as we, getSchemaTypeNameByName as Ee, getSplittedAttributes as Ne, getText as be, getTextBetween as Ce, getTextContentFromNodes as ke, getTextSerializersFromSchema as Ae, getUpdatedPosition as Re, injectExtensionAttributesToParseRule as Pe, inputRulesPlugin as ye, isActive as Me, isAndroid as Te, isAtEndOfNode as Fe, isAtStartOfNode as Ie, isEmptyObject as Be, isExtensionRulesEnabled as Oe, isFunction as De, isList as _e, isMacOS as je, isMarkActive as Ve, isNodeActive as qe, isNodeEmpty as ze, isNodeSelection as Le, isNumber as Ue, isPlainObject as $e, isRegExp as He, isSafari as We, isTextSelection as Ge, isiOS as Je, markInputRule as Ke, markPasteRule as Qe, markdown as Xe, mergeAttributes as Ye, mergeDeep as Ze, minMax as et, nodeInputRule as tt, objectIncludes as nt, parseAttributes as rt, parseIndentedBlocks as it, pasteRulesPlugin as ot, removeDuplicates as at, renderNestedMarkdownContent as st, resolveExtensions as lt, resolveFocusPosition as dt, selectionToInsertionEnd as ut, serializeAttributes as ct, sortExtensions as pt, splitExtensions as gt, textblockTypeInputRule as mt, updateMarkViewAttributes as vt, wrappingInputRule as St } from "./index242.js";
1
+ import { Editor as p } from "./index282.js";
2
+ import { CommandManager as y, Extendable as M, Extension as T, InputRule as F, MappablePosition as I, Mark as B, Node as O, NodePos as D, PasteRule as _, callOrReturn as j, canInsertNode as V, combineTransactionSteps as q, commands as z, createAtomBlockMarkdownSpec as L, createBlockMarkdownSpec as U, createChainableState as $, createDocument as H, createInlineMarkdownSpec as W, createMappablePosition as G, createNodeFromContent as J, createStyleTag as K, defaultBlockAt as Q, deleteProps as X, elementFromString as Y, extensions as Z, findChildrenInRange as ee, findDuplicates as te, findParentNode as ne, findParentNodeClosestToPos as re, flattenExtensions as ie, fromString as oe, getAttributes as ae, getAttributesFromExtensions as se, getChangedRanges as le, getExtensionField as de, getHTMLFromFragment as ue, getMarkAttributes as ce, getMarkRange as pe, getMarkType as ge, getMarksBetween as me, getNodeAtPosition as ve, getNodeAttributes as Se, getNodeType as he, getRenderedAttributes as xe, getSchemaByResolvedExtensions as fe, getSchemaTypeByName as we, getSchemaTypeNameByName as Ee, getSplittedAttributes as Ne, getText as be, getTextBetween as Ce, getTextContentFromNodes as ke, getTextSerializersFromSchema as Ae, getUpdatedPosition as Re, injectExtensionAttributesToParseRule as Pe, inputRulesPlugin as ye, isActive as Me, isAndroid as Te, isAtEndOfNode as Fe, isAtStartOfNode as Ie, isEmptyObject as Be, isExtensionRulesEnabled as Oe, isFunction as De, isList as _e, isMacOS as je, isMarkActive as Ve, isNodeActive as qe, isNodeEmpty as ze, isNodeSelection as Le, isNumber as Ue, isPlainObject as $e, isRegExp as He, isSafari as We, isTextSelection as Ge, isiOS as Je, markInputRule as Ke, markPasteRule as Qe, markdown as Xe, mergeAttributes as Ye, mergeDeep as Ze, minMax as et, nodeInputRule as tt, objectIncludes as nt, parseAttributes as rt, parseIndentedBlocks as it, pasteRulesPlugin as ot, removeDuplicates as at, renderNestedMarkdownContent as st, resolveExtensions as lt, resolveFocusPosition as dt, selectionToInsertionEnd as ut, serializeAttributes as ct, sortExtensions as pt, splitExtensions as gt, textblockTypeInputRule as mt, updateMarkViewAttributes as vt, wrappingInputRule as St } from "./index282.js";
3
3
  import { defineComponent as s, h as l, ref as g, getCurrentInstance as m, watchEffect as v, nextTick as S, unref as h, onBeforeUnmount as u, shallowRef as x, onMounted as f, markRaw as w, customRef as E } from "vue";
4
4
  function d(t) {
5
5
  return E((e, r) => ({
package/dist/index208.js CHANGED
@@ -1,18 +1,18 @@
1
- import { Extension as r } from "./index242.js";
2
- import { Blockquote as n } from "./index243.js";
3
- import { Bold as p } from "./index244.js";
4
- import { Code as f } from "./index245.js";
5
- import { CodeBlock as h } from "./index246.js";
6
- import { Document as u } from "./index247.js";
7
- import { HardBreak as l } from "./index248.js";
8
- import { Heading as a } from "./index249.js";
9
- import { HorizontalRule as c } from "./index250.js";
10
- import { Italic as d } from "./index251.js";
1
+ import { Extension as r } from "./index282.js";
2
+ import { Blockquote as n } from "./index283.js";
3
+ import { Bold as p } from "./index284.js";
4
+ import { Code as f } from "./index285.js";
5
+ import { CodeBlock as h } from "./index286.js";
6
+ import { Document as u } from "./index287.js";
7
+ import { HardBreak as l } from "./index288.js";
8
+ import { Heading as a } from "./index289.js";
9
+ import { HorizontalRule as c } from "./index290.js";
10
+ import { Italic as d } from "./index291.js";
11
11
  import { Link as m } from "./index211.js";
12
- import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index252.js";
13
- import { Paragraph as x } from "./index253.js";
14
- import { Strike as b } from "./index254.js";
15
- import { Text as v } from "./index255.js";
12
+ import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index292.js";
13
+ import { Paragraph as x } from "./index293.js";
14
+ import { Strike as b } from "./index294.js";
15
+ import { Text as v } from "./index295.js";
16
16
  import { Underline as R } from "./index209.js";
17
17
  import { Dropcursor as K, Gapcursor as _, UndoRedo as I, TrailingNode as q } from "./index212.js";
18
18
  var y = r.create({
package/dist/index209.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Mark as s, mergeAttributes as d } from "./index242.js";
1
+ import { Mark as s, mergeAttributes as d } from "./index282.js";
2
2
  var u = s.create({
3
3
  name: "underline",
4
4
  addOptions() {
package/dist/index210.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Mark as y, mergeAttributes as p, Extension as l } from "./index242.js";
1
+ import { Mark as y, mergeAttributes as p, Extension as l } from "./index282.js";
2
2
  var d = 20, u = (t, e = 0) => {
3
3
  const r = [];
4
4
  return !t.children.length || e > d || Array.from(t.children).forEach((o) => {
package/dist/index211.js CHANGED
@@ -1,6 +1,6 @@
1
- import { Mark as x, markPasteRule as b, mergeAttributes as v, combineTransactionSteps as w, getChangedRanges as T, findChildrenInRange as _, getMarksBetween as O, getAttributes as R } from "./index242.js";
2
- import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index256.js";
3
- import { Plugin as g, PluginKey as A } from "./index257.js";
1
+ import { Mark as x, markPasteRule as b, mergeAttributes as v, combineTransactionSteps as w, getChangedRanges as T, findChildrenInRange as _, getMarksBetween as O, getAttributes as R } from "./index282.js";
2
+ import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index296.js";
3
+ import { Plugin as g, PluginKey as A } from "./index297.js";
4
4
  var P = "[\0-   ᠎ -\u2029  ]", B = new RegExp(P), I = new RegExp(`${P}$`), W = new RegExp(P, "g");
5
5
  function $(t) {
6
6
  return t.length === 1 ? t[0].isLink : t.length === 3 && t[1].isLink ? ["()", "[]"].includes(t[0].value + t[2].value) : !1;
package/dist/index212.js CHANGED
@@ -1,9 +1,9 @@
1
- import { Extension as l, isNodeEmpty as v, callOrReturn as P, getExtensionField as S, isNodeSelection as z } from "./index242.js";
2
- import { Plugin as p, PluginKey as m } from "./index257.js";
3
- import { dropCursor as E } from "./index305.js";
4
- import { Decoration as y, DecorationSet as f } from "./index302.js";
5
- import { gapCursor as N } from "./index306.js";
6
- import { history as A, redo as M, undo as O } from "./index307.js";
1
+ import { Extension as l, isNodeEmpty as v, callOrReturn as P, getExtensionField as S, isNodeSelection as z } from "./index282.js";
2
+ import { Plugin as p, PluginKey as m } from "./index297.js";
3
+ import { dropCursor as E } from "./index338.js";
4
+ import { Decoration as y, DecorationSet as f } from "./index323.js";
5
+ import { gapCursor as N } from "./index339.js";
6
+ import { history as A, redo as M, undo as T } from "./index340.js";
7
7
  l.create({
8
8
  name: "characterCount",
9
9
  addOptions() {
@@ -73,7 +73,7 @@ l.create({
73
73
  ];
74
74
  }
75
75
  });
76
- var k = l.create({
76
+ var R = l.create({
77
77
  name: "dropCursor",
78
78
  addOptions() {
79
79
  return {
@@ -146,7 +146,7 @@ var L = l.create({
146
146
  };
147
147
  }
148
148
  }), C = "placeholder";
149
- function T(e) {
149
+ function x(e) {
150
150
  return e.replace(/\s+/g, "-").replace(/[^a-zA-Z0-9-]/g, "").replace(/^[0-9-]+/, "").replace(/^-+/, "").toLowerCase();
151
151
  }
152
152
  var B = l.create({
@@ -163,7 +163,7 @@ var B = l.create({
163
163
  };
164
164
  },
165
165
  addProseMirrorPlugins() {
166
- const e = this.options.dataAttribute ? `data-${T(this.options.dataAttribute)}` : `data-${C}`;
166
+ const e = this.options.dataAttribute ? `data-${x(this.options.dataAttribute)}` : `data-${C}`;
167
167
  return [
168
168
  new p({
169
169
  key: new m("placeholder"),
@@ -175,6 +175,8 @@ var B = l.create({
175
175
  const c = this.editor.isEmpty;
176
176
  return t.descendants((a, i) => {
177
177
  const d = o >= i && o <= i + a.nodeSize, u = !a.isLeaf && v(a);
178
+ if (!a.type.isTextblock)
179
+ return this.options.includeChildren;
178
180
  if ((d || !this.options.showOnlyCurrent) && u) {
179
181
  const h = [this.options.emptyNodeClass];
180
182
  c && h.push(this.options.emptyEditorClass);
@@ -269,7 +271,7 @@ var G = l.create({
269
271
  },
270
272
  addCommands() {
271
273
  return {
272
- undo: () => ({ state: e, dispatch: t }) => O(e, t),
274
+ undo: () => ({ state: e, dispatch: t }) => T(e, t),
273
275
  redo: () => ({ state: e, dispatch: t }) => M(e, t)
274
276
  };
275
277
  },
@@ -288,10 +290,10 @@ var G = l.create({
288
290
  }
289
291
  });
290
292
  export {
291
- k as Dropcursor,
293
+ R as Dropcursor,
292
294
  L as Gapcursor,
293
295
  B as Placeholder,
294
296
  G as TrailingNode,
295
297
  I as UndoRedo,
296
- T as preparePlaceholderAttribute
298
+ x as preparePlaceholderAttribute
297
299
  };
package/dist/index213.js CHANGED
@@ -1,90 +1,35 @@
1
- import { DomHandler as r } from "./index180.js";
2
- import p from "./index286.js";
3
- import c from "./index287.js";
4
- var f = p.extend({
5
- style: c
6
- });
7
- function m(e) {
8
- return b(e) || y(e) || v(e) || h();
1
+ function u(t) {
2
+ if (t === null || typeof t != "object")
3
+ return !1;
4
+ const n = Object.getPrototypeOf(t);
5
+ return n !== null && n !== Object.prototype && Object.getPrototypeOf(n) !== null || Symbol.iterator in t ? !1 : Symbol.toStringTag in t ? Object.prototype.toString.call(t) === "[object Module]" : !0;
9
6
  }
10
- function h() {
11
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
12
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
13
- }
14
- function v(e, t) {
15
- if (e) {
16
- if (typeof e == "string") return a(e, t);
17
- var n = Object.prototype.toString.call(e).slice(8, -1);
18
- if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
19
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return a(e, t);
7
+ function c(t, n, e = ".", f) {
8
+ if (!u(n))
9
+ return c(t, {}, e, f);
10
+ const r = Object.assign({}, n);
11
+ for (const o in t) {
12
+ if (o === "__proto__" || o === "constructor")
13
+ continue;
14
+ const i = t[o];
15
+ i != null && (f && f(r, o, i, e) || (Array.isArray(i) && Array.isArray(r[o]) ? r[o] = [...i, ...r[o]] : u(i) && u(r[o]) ? r[o] = c(
16
+ i,
17
+ r[o],
18
+ (e ? `${e}.` : "") + o.toString(),
19
+ f
20
+ ) : r[o] = i));
20
21
  }
22
+ return r;
21
23
  }
22
- function y(e) {
23
- if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
24
- }
25
- function b(e) {
26
- if (Array.isArray(e)) return a(e);
24
+ function l(t) {
25
+ return (...n) => (
26
+ // eslint-disable-next-line unicorn/no-array-reduce
27
+ n.reduce((e, f) => c(e, f, "", t), {})
28
+ );
27
29
  }
28
- function a(e, t) {
29
- (t == null || t > e.length) && (t = e.length);
30
- for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];
31
- return o;
32
- }
33
- var E = f.extend("ripple", {
34
- mounted: function(t) {
35
- var n, o = t == null || (n = t.$instance) === null || n === void 0 ? void 0 : n.$primevueConfig;
36
- o && o.ripple && (this.create(t), this.bindEvents(t), t.setAttribute("data-pd-ripple", !0));
37
- },
38
- unmounted: function(t) {
39
- this.remove(t);
40
- },
41
- timeout: void 0,
42
- methods: {
43
- bindEvents: function(t) {
44
- t.addEventListener("mousedown", this.onMouseDown.bind(this));
45
- },
46
- unbindEvents: function(t) {
47
- t.removeEventListener("mousedown", this.onMouseDown.bind(this));
48
- },
49
- create: function(t) {
50
- var n = r.createElement("span", {
51
- role: "presentation",
52
- "aria-hidden": !0,
53
- "data-p-ink": !0,
54
- "data-p-ink-active": !1,
55
- class: !this.isUnstyled() && this.cx("root"),
56
- onAnimationEnd: this.onAnimationEnd.bind(this),
57
- "p-bind": this.ptm("root")
58
- });
59
- t.appendChild(n), this.$el = n;
60
- },
61
- remove: function(t) {
62
- var n = this.getInk(t);
63
- n && (this.unbindEvents(t), n.removeEventListener("animationend", this.onAnimationEnd), n.remove());
64
- },
65
- onMouseDown: function(t) {
66
- var n = this, o = t.currentTarget, i = this.getInk(o);
67
- if (!(!i || getComputedStyle(i, null).display === "none")) {
68
- if (!this.isUnstyled() && r.removeClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"), !r.getHeight(i) && !r.getWidth(i)) {
69
- var s = Math.max(r.getOuterWidth(o), r.getOuterHeight(o));
70
- i.style.height = s + "px", i.style.width = s + "px";
71
- }
72
- var u = r.getOffset(o), d = t.pageX - u.left + document.body.scrollTop - r.getWidth(i) / 2, l = t.pageY - u.top + document.body.scrollLeft - r.getHeight(i) / 2;
73
- i.style.top = l + "px", i.style.left = d + "px", !this.isUnstyled() && r.addClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
74
- i && (!n.isUnstyled() && r.removeClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"));
75
- }, 401);
76
- }
77
- },
78
- onAnimationEnd: function(t) {
79
- this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && r.removeClass(t.currentTarget, "p-ink-active"), t.currentTarget.setAttribute("data-p-ink-active", "false");
80
- },
81
- getInk: function(t) {
82
- return t && t.children ? m(t.children).find(function(n) {
83
- return r.getAttribute(n, "data-pc-name") === "ripple";
84
- }) : void 0;
85
- }
86
- }
87
- });
30
+ const y = l();
88
31
  export {
89
- E as default
32
+ l as createDefu,
33
+ y as default,
34
+ y as defu
90
35
  };