@quoreadmin/ui 1.8.1 → 1.8.3

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 (209) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index10.js +1 -1
  3. package/dist/index11.js +1 -1
  4. package/dist/index12.js +17 -17
  5. package/dist/index127.js +2 -2
  6. package/dist/index13.js +3 -3
  7. package/dist/index14.js +2 -2
  8. package/dist/index142.js +2 -2
  9. package/dist/index144.js +1 -1
  10. package/dist/index15.js +1 -1
  11. package/dist/index16.js +15 -15
  12. package/dist/index161.js +1 -1
  13. package/dist/index17.js +1 -1
  14. package/dist/index174.js +17 -17
  15. package/dist/index175.js +7 -7
  16. package/dist/index176.js +4 -4
  17. package/dist/index178.js +19 -19
  18. package/dist/index18.js +3 -3
  19. package/dist/index185.js +11 -11
  20. package/dist/index187.js +11 -11
  21. package/dist/index189.js +36 -1190
  22. package/dist/index19.js +1 -1
  23. package/dist/index191.js +1190 -36
  24. package/dist/index193.js +30 -30
  25. package/dist/index194.js +2 -2
  26. package/dist/index195.js +2 -2
  27. package/dist/index196.js +1 -1
  28. package/dist/index198.js +2 -2
  29. package/dist/index199.js +1 -1
  30. package/dist/index2.js +11 -11
  31. package/dist/index20.js +5 -5
  32. package/dist/index200.js +14 -14
  33. package/dist/index201.js +1 -1
  34. package/dist/index202.js +1 -1
  35. package/dist/index203.js +83 -80
  36. package/dist/index204.js +89 -82
  37. package/dist/index205.js +123 -29
  38. package/dist/index206.js +36 -114
  39. package/dist/index207.js +404 -33
  40. package/dist/index208.js +80 -26
  41. package/dist/index209.js +19 -35
  42. package/dist/index21.js +5 -5
  43. package/dist/index210.js +88 -9
  44. package/dist/index211.js +19 -18
  45. package/dist/index212.js +20 -10
  46. package/dist/index213.js +20 -10
  47. package/dist/index214.js +19 -50
  48. package/dist/index215.js +31 -41
  49. package/dist/index216.js +115 -3
  50. package/dist/index217.js +33 -36
  51. package/dist/index218.js +26 -21
  52. package/dist/index219.js +35 -160
  53. package/dist/index22.js +5 -5
  54. package/dist/index220.js +50 -19
  55. package/dist/index221.js +42 -19
  56. package/dist/index222.js +3 -21
  57. package/dist/index223.js +9 -199
  58. package/dist/index224.js +18 -69
  59. package/dist/index225.js +10 -88
  60. package/dist/index226.js +9 -406
  61. package/dist/index227.js +39 -34
  62. package/dist/index228.js +21 -40
  63. package/dist/index229.js +159 -159
  64. package/dist/index23.js +3 -3
  65. package/dist/index230.js +20 -228
  66. package/dist/index231.js +21 -36
  67. package/dist/index232.js +198 -9
  68. package/dist/index233.js +69 -21
  69. package/dist/index234.js +31 -124
  70. package/dist/index235.js +31 -29
  71. package/dist/index236.js +17 -75
  72. package/dist/index237.js +160 -19
  73. package/dist/index238.js +228 -20
  74. package/dist/index239.js +36 -19
  75. package/dist/index24.js +3 -3
  76. package/dist/index240.js +10 -20
  77. package/dist/index241.js +3636 -22
  78. package/dist/index242.js +55 -22
  79. package/dist/index243.js +77 -20
  80. package/dist/index244.js +39 -823
  81. package/dist/index245.js +198 -685
  82. package/dist/index246.js +9 -175
  83. package/dist/index247.js +57 -22
  84. package/dist/index248.js +61 -20
  85. package/dist/index249.js +54 -20
  86. package/dist/index25.js +3 -3
  87. package/dist/index250.js +75 -3
  88. package/dist/index251.js +709 -170
  89. package/dist/index252.js +37 -128
  90. package/dist/index253.js +55 -1214
  91. package/dist/index254.js +11 -20
  92. package/dist/index255.js +705 -22
  93. package/dist/index256.js +820 -22
  94. package/dist/index257.js +15 -22
  95. package/dist/index258.js +15 -13
  96. package/dist/index259.js +12 -12
  97. package/dist/index26.js +1 -1
  98. package/dist/index260.js +836 -2
  99. package/dist/index261.js +702 -2
  100. package/dist/index262.js +170 -3626
  101. package/dist/index263.js +22 -55
  102. package/dist/index264.js +20 -77
  103. package/dist/index265.js +20 -52
  104. package/dist/index266.js +3 -215
  105. package/dist/index267.js +187 -10
  106. package/dist/index268.js +128 -52
  107. package/dist/index269.js +1214 -52
  108. package/dist/index27.js +11 -11
  109. package/dist/index270.js +20 -54
  110. package/dist/index271.js +22 -75
  111. package/dist/index272.js +21 -722
  112. package/dist/index273.js +29 -39
  113. package/dist/index274.js +20 -64
  114. package/dist/index275.js +20 -11
  115. package/dist/index276.js +2 -705
  116. package/dist/index277.js +2 -820
  117. package/dist/index278.js +249 -50
  118. package/dist/index279.js +2 -79
  119. package/dist/index28.js +5 -5
  120. package/dist/index280.js +138 -26
  121. package/dist/index281.js +83 -22
  122. package/dist/index282.js +78 -21
  123. package/dist/index283.js +5 -13
  124. package/dist/index284.js +51 -14
  125. package/dist/index285.js +26 -253
  126. package/dist/index286.js +21 -7
  127. package/dist/index287.js +22 -138
  128. package/dist/index288.js +16 -83
  129. package/dist/index289.js +15 -21
  130. package/dist/index29.js +1 -1
  131. package/dist/index290.js +23 -3
  132. package/dist/index291.js +3 -27
  133. package/dist/index292.js +27 -2
  134. package/dist/index3.js +7 -7
  135. package/dist/index30.js +1 -1
  136. package/dist/index31.js +1 -1
  137. package/dist/index310.js +1534 -79
  138. package/dist/index311.js +386 -22
  139. package/dist/index312.js +2698 -902
  140. package/dist/index313.js +85 -21
  141. package/dist/index314.js +3792 -20
  142. package/dist/index315.js +59 -19
  143. package/dist/index316.js +15 -69
  144. package/dist/index317.js +84 -19
  145. package/dist/index318.js +201 -18
  146. package/dist/index319.js +246 -22
  147. package/dist/index32.js +9 -9
  148. package/dist/index320.js +78 -21
  149. package/dist/index321.js +22 -63
  150. package/dist/index322.js +909 -1492
  151. package/dist/index323.js +22 -386
  152. package/dist/index324.js +20 -2731
  153. package/dist/index325.js +19 -85
  154. package/dist/index326.js +58 -3759
  155. package/dist/index327.js +19 -60
  156. package/dist/index328.js +19 -15
  157. package/dist/index329.js +21 -83
  158. package/dist/index33.js +4 -4
  159. package/dist/index330.js +22 -202
  160. package/dist/index331.js +63 -246
  161. package/dist/index332.js +1 -1
  162. package/dist/index335.js +1 -1
  163. package/dist/index34.js +5 -5
  164. package/dist/index340.js +1 -1
  165. package/dist/index344.js +5 -5
  166. package/dist/index345.js +2 -2
  167. package/dist/index349.js +9 -16
  168. package/dist/index35.js +8 -8
  169. package/dist/index350.js +4 -4
  170. package/dist/index351.js +16 -9
  171. package/dist/index355.js +3 -3
  172. package/dist/index36.js +2 -2
  173. package/dist/index368.js +3 -3
  174. package/dist/index369.js +3 -3
  175. package/dist/index37.js +2 -2
  176. package/dist/index370.js +4 -4
  177. package/dist/index371.js +1 -1
  178. package/dist/index38.js +2 -2
  179. package/dist/index384.js +100 -16
  180. package/dist/index385.js +90 -100
  181. package/dist/index386.js +98 -91
  182. package/dist/index387.js +16 -97
  183. package/dist/index39.js +4 -4
  184. package/dist/index4.js +5 -5
  185. package/dist/index40.js +7 -7
  186. package/dist/index41.js +7 -7
  187. package/dist/index42.js +5 -5
  188. package/dist/index43.js +5 -5
  189. package/dist/index44.js +1 -1
  190. package/dist/index45.js +1 -1
  191. package/dist/index46.js +1 -1
  192. package/dist/index47.js +2 -2
  193. package/dist/index48.js +5 -5
  194. package/dist/index49.js +1 -1
  195. package/dist/index5.js +2 -2
  196. package/dist/index50.js +3 -3
  197. package/dist/index51.js +1 -1
  198. package/dist/index52.js +3 -3
  199. package/dist/index53.js +1 -1
  200. package/dist/index6.js +3 -3
  201. package/dist/index7.js +4 -4
  202. package/dist/index8.js +4 -4
  203. package/dist/index9.js +1 -1
  204. package/dist/src/components/data-table/data-table.d.ts +4 -4
  205. package/dist/src/views/tables.vue.d.ts +4 -4
  206. package/package.json +1 -1
  207. package/src/assets/illustrations/news-placeholder-image.svg +10 -0
  208. package/src/assets/illustrations/app-icon-news.svg +0 -1
  209. /package/dist/{index192.js → index190.js} +0 -0
package/dist/index193.js CHANGED
@@ -1,34 +1,34 @@
1
- import { FilterMatchMode as ve, FilterService as be, FilterOperator as se } from "./index60.js";
2
- import it from "./index241.js";
3
- import lt from "./index242.js";
4
- import at from "./index243.js";
5
- import ut from "./index244.js";
1
+ import { FilterMatchMode as ve, FilterOperator as se, FilterService as be } from "./index60.js";
2
+ import it from "./index257.js";
3
+ import lt from "./index258.js";
4
+ import at from "./index259.js";
5
+ import ut from "./index260.js";
6
6
  import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as W, ConnectedOverlayScrollHandler as st, ZIndexUtils as ce } from "./index172.js";
7
- import dt from "./index245.js";
8
- import F from "./index226.js";
9
- import ct from "./index246.js";
10
- import We from "./index239.js";
11
- import Ue from "./index238.js";
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
- import mt from "./index247.js";
14
- import pe from "./index248.js";
15
- import ht from "./index249.js";
16
- import pt from "./index221.js";
17
- import K from "./index250.js";
18
- import gt from "./index225.js";
19
- import Ze from "./index251.js";
20
- import yt from "./index252.js";
21
- import wt from "./index219.js";
22
- import vt from "./index253.js";
23
- import bt from "./index234.js";
24
- import Ct from "./index254.js";
25
- import Rt from "./index255.js";
26
- import St from "./index220.js";
27
- import Pt from "./index256.js";
28
- import Et from "./index235.js";
29
- import Re from "./index257.js";
30
- import Se from "./index258.js";
31
- import Pe from "./index259.js";
7
+ import dt from "./index261.js";
8
+ import F from "./index207.js";
9
+ import ct from "./index262.js";
10
+ import We from "./index213.js";
11
+ import Ue from "./index212.js";
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 "./index263.js";
14
+ import pe from "./index264.js";
15
+ import ht from "./index265.js";
16
+ import pt from "./index209.js";
17
+ import K from "./index266.js";
18
+ import gt from "./index210.js";
19
+ import Ze from "./index267.js";
20
+ import yt from "./index268.js";
21
+ import wt from "./index229.js";
22
+ import vt from "./index269.js";
23
+ import bt from "./index205.js";
24
+ import Ct from "./index270.js";
25
+ import Rt from "./index271.js";
26
+ import St from "./index230.js";
27
+ import Pt from "./index272.js";
28
+ import Et from "./index206.js";
29
+ import Re from "./index273.js";
30
+ import Se from "./index274.js";
31
+ import Pe from "./index275.js";
32
32
  var kt = {
33
33
  name: "BaseDataTable",
34
34
  extends: F,
package/dist/index194.js CHANGED
@@ -1,5 +1,5 @@
1
- import l from "./index226.js";
2
- import n from "./index260.js";
1
+ import l from "./index207.js";
2
+ import n from "./index276.js";
3
3
  var u = {
4
4
  name: "BaseColumn",
5
5
  extends: l,
package/dist/index195.js CHANGED
@@ -1,5 +1,5 @@
1
- import r from "./index226.js";
2
- import e from "./index261.js";
1
+ import r from "./index207.js";
2
+ import e from "./index277.js";
3
3
  var o = {
4
4
  name: "BaseColumnGroup",
5
5
  extends: r,
package/dist/index196.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index226.js";
1
+ import r from "./index207.js";
2
2
  var o = {
3
3
  name: "Row",
4
4
  extends: r,
package/dist/index198.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Editor as p } from "./index262.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 "./index262.js";
1
+ import { Editor as p } from "./index241.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 "./index241.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/index199.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as vf, inject as Yf, ref as H, computed as L, getCurrentInstance as an, toRaw as ze, watch as Oe, onMounted as tn, onBeforeUnmount as on, provide as rn, reactive as un, readonly as cn, resolveComponent as Of, createBlock as dn, openBlock as h, createElementBlock as v, createElementVNode as T, createCommentVNode as nf, normalizeClass as $, toDisplayString as pf, Fragment as yf, renderList as Uf, withDirectives as Zf, vShow as ye, vModelText as sn, createVNode as ef } from "vue";
1
+ import { defineComponent as vf, inject as Yf, ref as H, computed as L, getCurrentInstance as an, toRaw as ze, watch as Oe, onMounted as tn, onBeforeUnmount as on, provide as rn, reactive as un, readonly as cn, resolveComponent as Of, openBlock as h, createBlock as dn, createElementBlock as v, createElementVNode as T, normalizeClass as $, toDisplayString as pf, Fragment as yf, renderList as Uf, createCommentVNode as nf, withDirectives as Zf, vShow as ye, vModelText as sn, createVNode as ef } from "vue";
2
2
  const Se = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", Le = {
3
3
  recent: "Recently used",
4
4
  smileys_people: "Smiles & People",
package/dist/index2.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import u from "./index61.js";
2
- import { resolveComponent as g, createElementBlock as r, openBlock as s, normalizeClass as o, renderSlot as n, createVNode as d, normalizeProps as p, guardReactiveProps as m, createElementVNode as a, createCommentVNode as i, toDisplayString as b, Transition as f, withCtx as v } from "vue";
2
+ import { resolveComponent as g, openBlock as r, createElementBlock as s, normalizeClass as o, renderSlot as n, normalizeProps as p, guardReactiveProps as m, createElementVNode as d, createCommentVNode as i, toDisplayString as b, createVNode as a, Transition as f, withCtx as v } from "vue";
3
3
  /* empty css */
4
4
  import y from "./index63.js";
5
5
  const h = ["value"], C = {
@@ -11,7 +11,7 @@ const h = ["value"], C = {
11
11
  };
12
12
  function w(e, l, T, $, A, B) {
13
13
  const t = g("q-icon");
14
- return s(), r("div", {
14
+ return r(), s("div", {
15
15
  value: e.modelValue,
16
16
  class: o([
17
17
  "accordion",
@@ -20,7 +20,7 @@ function w(e, l, T, $, A, B) {
20
20
  ])
21
21
  }, [
22
22
  n(e.$slots, "toggle", p(m({ onToggle: e.onToggle })), () => [
23
- a("div", {
23
+ d("div", {
24
24
  class: o([
25
25
  "accordion-trigger",
26
26
  e.triggerClass,
@@ -28,8 +28,8 @@ function w(e, l, T, $, A, B) {
28
28
  ]),
29
29
  onClick: l[0] || (l[0] = (...c) => e.onToggle && e.onToggle(...c))
30
30
  }, [
31
- e.isBubbleAccordion ? (s(), r("div", C)) : i("", !0),
32
- a("div", {
31
+ e.isBubbleAccordion ? (r(), s("div", C)) : i("", !0),
32
+ d("div", {
33
33
  class: o([
34
34
  "flex items-center",
35
35
  { "w-full": !e.isBubbleAccordion },
@@ -38,17 +38,17 @@ function w(e, l, T, $, A, B) {
38
38
  }
39
39
  ])
40
40
  }, [
41
- e.hasTextSlot ? (s(), r("div", {
41
+ e.hasTextSlot ? (r(), s("div", {
42
42
  key: 0,
43
43
  class: o(e.triggerTextClasses)
44
44
  }, [
45
45
  n(e.$slots, "text", {}, void 0, !0)
46
- ], 2)) : (s(), r("h4", {
46
+ ], 2)) : (r(), s("h4", {
47
47
  key: 1,
48
48
  class: o(e.triggerTextClasses)
49
49
  }, b(e.triggerTextValue), 3)),
50
50
  n(e.$slots, "additionalInfo", {}, void 0, !0),
51
- d(t, {
51
+ a(t, {
52
52
  icon: "chevron-down",
53
53
  color: "gray-40",
54
54
  size: e.triggerIconSize,
@@ -60,12 +60,12 @@ function w(e, l, T, $, A, B) {
60
60
  ])
61
61
  }, null, 8, ["size", "class"])
62
62
  ], 2),
63
- e.isBubbleAccordion ? (s(), r("div", k)) : i("", !0)
63
+ e.isBubbleAccordion ? (r(), s("div", k)) : i("", !0)
64
64
  ], 2)
65
65
  ], !0),
66
- d(f, { name: "slide-down" }, {
66
+ a(f, { name: "slide-down" }, {
67
67
  default: v(() => [
68
- e.show ? (s(), r("div", {
68
+ e.show ? (r(), s("div", {
69
69
  key: 0,
70
70
  class: o([
71
71
  "accordion-content",
package/dist/index20.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import b from "./index96.js";
2
- import { resolveComponent as t, createElementBlock as l, openBlock as r, normalizeClass as p, createVNode as s, createCommentVNode as i, withCtx as m, createElementVNode as c, toDisplayString as n, createTextVNode as f } from "vue";
2
+ import { resolveComponent as t, openBlock as l, createElementBlock as r, normalizeClass as p, createVNode as s, withCtx as m, createElementVNode as c, toDisplayString as n, createCommentVNode as i, createTextVNode as f } from "vue";
3
3
  /* empty css */
4
4
  import k from "./index63.js";
5
5
  const g = {
@@ -14,7 +14,7 @@ const g = {
14
14
  }, y = { class: "required-indicator" };
15
15
  function C(e, a, q, D, E, w) {
16
16
  const d = t("q-icon"), u = t("date-picker", !0);
17
- return r(), l("div", {
17
+ return l(), r("div", {
18
18
  class: p(["q-date-picker", { "has-floating-label": e.floatingLabel }, { "label-floated": e.isLabelFloated }, { "calendar-open": e.isOpen }])
19
19
  }, [
20
20
  s(u, {
@@ -57,11 +57,11 @@ function C(e, a, q, D, E, w) {
57
57
  ]),
58
58
  _: 1
59
59
  }, 8, ["id", "value", "class", "clearable", "disabled", "disabled-date", "format", "lang", "placeholder", "range", "type"]),
60
- e.showFloatingLabel ? (r(), l("div", g, [
60
+ e.showFloatingLabel ? (l(), r("div", g, [
61
61
  c("span", v, n(e.placeholder), 1),
62
- e.required ? (r(), l("span", $, "*" + n(e.$t("HC_REQUIRED")), 1)) : i("", !0)
62
+ e.required ? (l(), r("span", $, "*" + n(e.$t("HC_REQUIRED")), 1)) : i("", !0)
63
63
  ])) : i("", !0),
64
- e.showCustomPlaceholder ? (r(), l("div", h, [
64
+ e.showCustomPlaceholder ? (l(), r("div", h, [
65
65
  f(n(e.placeholder), 1),
66
66
  c("span", y, " *" + n(e.$t("HC_REQUIRED")), 1)
67
67
  ])) : i("", !0)
package/dist/index200.js CHANGED
@@ -1,18 +1,18 @@
1
- import { Extension as r } from "./index262.js";
2
- import { Blockquote as n } from "./index263.js";
3
- import { Bold as p } from "./index264.js";
4
- import { Code as f } from "./index265.js";
5
- import { CodeBlock as h } from "./index266.js";
6
- import { Document as u } from "./index267.js";
7
- import { HardBreak as l } from "./index268.js";
8
- import { Heading as a } from "./index269.js";
9
- import { HorizontalRule as c } from "./index270.js";
10
- import { Italic as d } from "./index271.js";
1
+ import { Extension as r } from "./index241.js";
2
+ import { Blockquote as n } from "./index242.js";
3
+ import { Bold as p } from "./index243.js";
4
+ import { Code as f } from "./index244.js";
5
+ import { CodeBlock as h } from "./index245.js";
6
+ import { Document as u } from "./index246.js";
7
+ import { HardBreak as l } from "./index247.js";
8
+ import { Heading as a } from "./index248.js";
9
+ import { HorizontalRule as c } from "./index249.js";
10
+ import { Italic as d } from "./index250.js";
11
11
  import { Link as m } from "./index203.js";
12
- import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index272.js";
13
- import { Paragraph as x } from "./index273.js";
14
- import { Strike as b } from "./index274.js";
15
- import { Text as v } from "./index275.js";
12
+ import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index251.js";
13
+ import { Paragraph as x } from "./index252.js";
14
+ import { Strike as b } from "./index253.js";
15
+ import { Text as v } from "./index254.js";
16
16
  import { Underline as R } from "./index201.js";
17
17
  import { Dropcursor as K, Gapcursor as _, UndoRedo as I, TrailingNode as q } from "./index204.js";
18
18
  var y = r.create({
package/dist/index201.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Mark as s, mergeAttributes as d } from "./index262.js";
1
+ import { Mark as s, mergeAttributes as d } from "./index241.js";
2
2
  var u = s.create({
3
3
  name: "underline",
4
4
  addOptions() {
package/dist/index202.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Mark as y, Extension as l, mergeAttributes as p } from "./index262.js";
1
+ import { Mark as y, mergeAttributes as p, Extension as l } from "./index241.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/index203.js CHANGED
@@ -1,121 +1,121 @@
1
- import { Mark as x, markPasteRule as b, mergeAttributes as v, combineTransactionSteps as w, getChangedRanges as T, findChildrenInRange as O, getMarksBetween as R, getAttributes as _ } from "./index262.js";
2
- import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index276.js";
3
- import { Plugin as g, PluginKey as A } from "./index277.js";
4
- var P = "[\0-   ᠎ -\u2029  ]", I = new RegExp(P), B = new RegExp(`${P}$`), N = new RegExp(P, "g");
5
- function W(t) {
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 "./index241.js";
2
+ import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index255.js";
3
+ import { Plugin as g, PluginKey as A } from "./index256.js";
4
+ var P = "[\0-   ᠎ -\u2029  ]", B = new RegExp(P), I = new RegExp(`${P}$`), W = new RegExp(P, "g");
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;
7
7
  }
8
8
  function z(t) {
9
9
  return new g({
10
10
  key: new A("autolink"),
11
11
  appendTransaction: (e, r, o) => {
12
- const s = e.some((i) => i.docChanged) && !r.doc.eq(o.doc), l = e.some((i) => i.getMeta("preventAutolink"));
13
- if (!s || l)
12
+ const n = e.some((a) => a.docChanged) && !r.doc.eq(o.doc), l = e.some((a) => a.getMeta("preventAutolink"));
13
+ if (!n || l)
14
14
  return;
15
- const { tr: d } = o, a = w(r.doc, [...e]);
16
- if (T(a).forEach(({ newRange: i }) => {
17
- const f = O(o.doc, i, (c) => c.isTextblock);
18
- let u, p;
15
+ const { tr: i } = o, d = w(r.doc, [...e]);
16
+ if (T(d).forEach(({ newRange: a }) => {
17
+ const f = _(o.doc, a, (h) => h.isTextblock);
18
+ let c, k;
19
19
  if (f.length > 1)
20
- u = f[0], p = o.doc.textBetween(
21
- u.pos,
22
- u.pos + u.node.nodeSize,
20
+ c = f[0], k = o.doc.textBetween(
21
+ c.pos,
22
+ c.pos + c.node.nodeSize,
23
23
  void 0,
24
24
  " "
25
25
  );
26
26
  else if (f.length) {
27
- const c = o.doc.textBetween(i.from, i.to, " ", " ");
28
- if (!B.test(c))
27
+ const h = o.doc.textBetween(a.from, a.to, " ", " ");
28
+ if (!I.test(h))
29
29
  return;
30
- u = f[0], p = o.doc.textBetween(u.pos, i.to, void 0, " ");
30
+ c = f[0], k = o.doc.textBetween(c.pos, a.to, void 0, " ");
31
31
  }
32
- if (u && p) {
33
- const c = p.split(I).filter(Boolean);
34
- if (c.length <= 0)
32
+ if (c && k) {
33
+ const h = k.split(B).filter(Boolean);
34
+ if (h.length <= 0)
35
35
  return !1;
36
- const m = c[c.length - 1], E = u.pos + p.lastIndexOf(m);
36
+ const m = h[h.length - 1], E = c.pos + k.lastIndexOf(m);
37
37
  if (!m)
38
38
  return !1;
39
- const L = H(m).map((n) => n.toObject(t.defaultProtocol));
40
- if (!W(L))
39
+ const L = H(m).map((s) => s.toObject(t.defaultProtocol));
40
+ if (!$(L))
41
41
  return !1;
42
- L.filter((n) => n.isLink).map((n) => ({
43
- ...n,
44
- from: E + n.start + 1,
45
- to: E + n.end + 1
46
- })).filter((n) => o.schema.marks.code ? !o.doc.rangeHasMark(n.from, n.to, o.schema.marks.code) : !0).filter((n) => t.validate(n.value)).filter((n) => t.shouldAutoLink(n.value)).forEach((n) => {
47
- R(n.from, n.to, o.doc).some((y) => y.mark.type === t.type) || d.addMark(
48
- n.from,
49
- n.to,
42
+ L.filter((s) => s.isLink).map((s) => ({
43
+ ...s,
44
+ from: E + s.start + 1,
45
+ to: E + s.end + 1
46
+ })).filter((s) => o.schema.marks.code ? !o.doc.rangeHasMark(s.from, s.to, o.schema.marks.code) : !0).filter((s) => t.validate(s.value)).filter((s) => t.shouldAutoLink(s.value)).forEach((s) => {
47
+ O(s.from, s.to, o.doc).some((y) => y.mark.type === t.type) || i.addMark(
48
+ s.from,
49
+ s.to,
50
50
  t.type.create({
51
- href: n.href
51
+ href: s.href
52
52
  })
53
53
  );
54
54
  });
55
55
  }
56
- }), !!d.steps.length)
57
- return d;
56
+ }), !!i.steps.length)
57
+ return i;
58
58
  }
59
59
  });
60
60
  }
61
- function V(t) {
61
+ function N(t) {
62
62
  return new g({
63
63
  key: new A("handleClickLink"),
64
64
  props: {
65
65
  handleClick: (e, r, o) => {
66
- var s, l;
66
+ var n, l;
67
67
  if (o.button !== 0 || !e.editable)
68
68
  return !1;
69
+ let i = null;
70
+ if (o.target instanceof HTMLAnchorElement)
71
+ i = o.target;
72
+ else {
73
+ const u = o.target;
74
+ if (!u)
75
+ return !1;
76
+ const a = t.editor.view.dom;
77
+ i = u.closest("a"), i && !a.contains(i) && (i = null);
78
+ }
79
+ if (!i)
80
+ return !1;
69
81
  let d = !1;
70
82
  if (t.enableClickSelection && (d = t.editor.commands.extendMarkRange(t.type.name)), t.openOnClick) {
71
- let a = null;
72
- if (o.target instanceof HTMLAnchorElement)
73
- a = o.target;
74
- else {
75
- let u = o.target;
76
- const p = [];
77
- for (; u.nodeName !== "DIV"; )
78
- p.push(u), u = u.parentNode;
79
- a = p.find((c) => c.nodeName === "A");
80
- }
81
- if (!a)
82
- return d;
83
- const h = _(e.state, t.type.name), i = (s = a?.href) != null ? s : h.href, f = (l = a?.target) != null ? l : h.target;
84
- a && i && (window.open(i, f), d = !0);
83
+ const u = R(e.state, t.type.name), a = (n = i.href) != null ? n : u.href, f = (l = i.target) != null ? l : u.target;
84
+ a && (window.open(a, f), d = !0);
85
85
  }
86
86
  return d;
87
87
  }
88
88
  }
89
89
  });
90
90
  }
91
- function D(t) {
91
+ function V(t) {
92
92
  return new g({
93
93
  key: new A("handlePasteLink"),
94
94
  props: {
95
95
  handlePaste: (e, r, o) => {
96
- const { shouldAutoLink: s } = t, { state: l } = e, { selection: d } = l, { empty: a } = d;
97
- if (a)
96
+ const { shouldAutoLink: n } = t, { state: l } = e, { selection: i } = l, { empty: d } = i;
97
+ if (d)
98
98
  return !1;
99
- let h = "";
99
+ let u = "";
100
100
  o.content.forEach((f) => {
101
- h += f.textContent;
101
+ u += f.textContent;
102
102
  });
103
- const i = M(h, { defaultProtocol: t.defaultProtocol }).find(
104
- (f) => f.isLink && f.value === h
103
+ const a = M(u, { defaultProtocol: t.defaultProtocol }).find(
104
+ (f) => f.isLink && f.value === u
105
105
  );
106
- return !h || !i || s !== void 0 && !s(i.value) ? !1 : t.editor.commands.setMark(t.type, {
107
- href: i.href
106
+ return !u || !a || n !== void 0 && !n(a.value) ? !1 : t.editor.commands.setMark(t.type, {
107
+ href: a.href
108
108
  });
109
109
  }
110
110
  }
111
111
  });
112
112
  }
113
- function k(t, e) {
113
+ function p(t, e) {
114
114
  const r = ["http", "https", "ftp", "ftps", "mailto", "tel", "callto", "sms", "cid", "xmpp"];
115
115
  return e && e.forEach((o) => {
116
- const s = typeof o == "string" ? o : o.scheme;
117
- s && r.push(s);
118
- }), !t || t.replace(N, "").match(
116
+ const n = typeof o == "string" ? o : o.scheme;
117
+ n && r.push(n);
118
+ }), !t || t.replace(W, "").match(
119
119
  new RegExp(
120
120
  // eslint-disable-next-line no-useless-escape
121
121
  `^(?:(?:${r.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,
@@ -156,14 +156,14 @@ var X = x.create({
156
156
  rel: "noopener noreferrer nofollow",
157
157
  class: null
158
158
  },
159
- isAllowedUri: (t, e) => !!k(t, e.protocols),
159
+ isAllowedUri: (t, e) => !!p(t, e.protocols),
160
160
  validate: (t) => !!t,
161
161
  shouldAutoLink: (t) => {
162
162
  const e = /^[a-z][a-z0-9+.-]*:\/\//i.test(t), r = /^[a-z][a-z0-9+.-]*:/i.test(t);
163
163
  if (e || r && !t.includes("@"))
164
164
  return !0;
165
- const s = (t.includes("@") ? t.split("@").pop() : t).split(/[/?#:]/)[0];
166
- return !(/^\d{1,3}(\.\d{1,3}){3}$/.test(s) || !/\./.test(s));
165
+ const n = (t.includes("@") ? t.split("@").pop() : t).split(/[/?#:]/)[0];
166
+ return !(/^\d{1,3}(\.\d{1,3}){3}$/.test(n) || !/\./.test(n));
167
167
  }
168
168
  };
169
169
  },
@@ -183,6 +183,9 @@ var X = x.create({
183
183
  },
184
184
  class: {
185
185
  default: this.options.HTMLAttributes.class
186
+ },
187
+ title: {
188
+ default: null
186
189
  }
187
190
  };
188
191
  },
@@ -193,7 +196,7 @@ var X = x.create({
193
196
  getAttrs: (t) => {
194
197
  const e = t.getAttribute("href");
195
198
  return !e || !this.options.isAllowedUri(e, {
196
- defaultValidate: (r) => !!k(r, this.options.protocols),
199
+ defaultValidate: (r) => !!p(r, this.options.protocols),
197
200
  protocols: this.options.protocols,
198
201
  defaultProtocol: this.options.defaultProtocol
199
202
  }) ? !1 : null;
@@ -203,7 +206,7 @@ var X = x.create({
203
206
  },
204
207
  renderHTML({ HTMLAttributes: t }) {
205
208
  return this.options.isAllowedUri(t.href, {
206
- defaultValidate: (e) => !!k(e, this.options.protocols),
209
+ defaultValidate: (e) => !!p(e, this.options.protocols),
207
210
  protocols: this.options.protocols,
208
211
  defaultProtocol: this.options.defaultProtocol
209
212
  }) ? ["a", v(this.options.HTMLAttributes, t), 0] : ["a", v(this.options.HTMLAttributes, { ...t, href: "" }), 0];
@@ -214,16 +217,16 @@ var X = x.create({
214
217
  title: t.title || null
215
218
  }),
216
219
  renderMarkdown: (t, e) => {
217
- var r;
218
- const o = ((r = t.attrs) == null ? void 0 : r.href) || "";
219
- return `[${e.renderChildren(t)}](${o})`;
220
+ var r, o, n, l;
221
+ const i = (o = (r = t.attrs) == null ? void 0 : r.href) != null ? o : "", d = (l = (n = t.attrs) == null ? void 0 : n.title) != null ? l : "", u = e.renderChildren(t);
222
+ return d ? `[${u}](${i} "${d}")` : `[${u}](${i})`;
220
223
  },
221
224
  addCommands() {
222
225
  return {
223
226
  setLink: (t) => ({ chain: e }) => {
224
227
  const { href: r } = t;
225
228
  return this.options.isAllowedUri(r, {
226
- defaultValidate: (o) => !!k(o, this.options.protocols),
229
+ defaultValidate: (o) => !!p(o, this.options.protocols),
227
230
  protocols: this.options.protocols,
228
231
  defaultProtocol: this.options.defaultProtocol
229
232
  }) ? e().setMark(this.name, t).setMeta("preventAutolink", !0).run() : !1;
@@ -231,7 +234,7 @@ var X = x.create({
231
234
  toggleLink: (t) => ({ chain: e }) => {
232
235
  const { href: r } = t || {};
233
236
  return r && !this.options.isAllowedUri(r, {
234
- defaultValidate: (o) => !!k(o, this.options.protocols),
237
+ defaultValidate: (o) => !!p(o, this.options.protocols),
235
238
  protocols: this.options.protocols,
236
239
  defaultProtocol: this.options.defaultProtocol
237
240
  }) ? !1 : e().toggleMark(this.name, t, { extendEmptyMarkRange: !0 }).setMeta("preventAutolink", !0).run();
@@ -245,14 +248,14 @@ var X = x.create({
245
248
  find: (t) => {
246
249
  const e = [];
247
250
  if (t) {
248
- const { protocols: r, defaultProtocol: o } = this.options, s = M(t).filter(
251
+ const { protocols: r, defaultProtocol: o } = this.options, n = M(t).filter(
249
252
  (l) => l.isLink && this.options.isAllowedUri(l.value, {
250
- defaultValidate: (d) => !!k(d, r),
253
+ defaultValidate: (i) => !!p(i, r),
251
254
  protocols: r,
252
255
  defaultProtocol: o
253
256
  })
254
257
  );
255
- s.length && s.forEach((l) => {
258
+ n.length && n.forEach((l) => {
256
259
  this.options.shouldAutoLink(l.value) && e.push({
257
260
  text: l.value,
258
261
  data: {
@@ -281,21 +284,21 @@ var X = x.create({
281
284
  type: this.type,
282
285
  defaultProtocol: this.options.defaultProtocol,
283
286
  validate: (o) => this.options.isAllowedUri(o, {
284
- defaultValidate: (s) => !!k(s, e),
287
+ defaultValidate: (n) => !!p(n, e),
285
288
  protocols: e,
286
289
  defaultProtocol: r
287
290
  }),
288
291
  shouldAutoLink: this.options.shouldAutoLink
289
292
  })
290
293
  ), t.push(
291
- V({
294
+ N({
292
295
  type: this.type,
293
296
  editor: this.editor,
294
297
  openOnClick: this.options.openOnClick === "whenNotEditable" ? !0 : this.options.openOnClick,
295
298
  enableClickSelection: this.options.enableClickSelection
296
299
  })
297
300
  ), this.options.linkOnPaste && t.push(
298
- D({
301
+ V({
299
302
  editor: this.editor,
300
303
  defaultProtocol: this.options.defaultProtocol,
301
304
  type: this.type,
@@ -306,5 +309,5 @@ var X = x.create({
306
309
  });
307
310
  export {
308
311
  X as Link,
309
- k as isAllowedUri
312
+ p as isAllowedUri
310
313
  };