@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.
- package/dist/index.css +1 -1
- package/dist/index10.js +1 -1
- package/dist/index11.js +1 -1
- package/dist/index12.js +17 -17
- package/dist/index127.js +2 -2
- package/dist/index13.js +3 -3
- package/dist/index14.js +2 -2
- package/dist/index142.js +2 -2
- package/dist/index144.js +1 -1
- package/dist/index15.js +1 -1
- package/dist/index16.js +15 -15
- package/dist/index161.js +1 -1
- package/dist/index17.js +1 -1
- package/dist/index174.js +17 -17
- package/dist/index175.js +7 -7
- package/dist/index176.js +4 -4
- package/dist/index178.js +19 -19
- package/dist/index18.js +3 -3
- package/dist/index185.js +11 -11
- package/dist/index187.js +11 -11
- package/dist/index189.js +36 -1190
- package/dist/index19.js +1 -1
- package/dist/index191.js +1190 -36
- package/dist/index193.js +30 -30
- package/dist/index194.js +2 -2
- package/dist/index195.js +2 -2
- package/dist/index196.js +1 -1
- package/dist/index198.js +2 -2
- package/dist/index199.js +1 -1
- package/dist/index2.js +11 -11
- package/dist/index20.js +5 -5
- package/dist/index200.js +14 -14
- package/dist/index201.js +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.js +83 -80
- package/dist/index204.js +89 -82
- package/dist/index205.js +123 -29
- package/dist/index206.js +36 -114
- package/dist/index207.js +404 -33
- package/dist/index208.js +80 -26
- package/dist/index209.js +19 -35
- package/dist/index21.js +5 -5
- package/dist/index210.js +88 -9
- package/dist/index211.js +19 -18
- package/dist/index212.js +20 -10
- package/dist/index213.js +20 -10
- package/dist/index214.js +19 -50
- package/dist/index215.js +31 -41
- package/dist/index216.js +115 -3
- package/dist/index217.js +33 -36
- package/dist/index218.js +26 -21
- package/dist/index219.js +35 -160
- package/dist/index22.js +5 -5
- package/dist/index220.js +50 -19
- package/dist/index221.js +42 -19
- package/dist/index222.js +3 -21
- package/dist/index223.js +9 -199
- package/dist/index224.js +18 -69
- package/dist/index225.js +10 -88
- package/dist/index226.js +9 -406
- package/dist/index227.js +39 -34
- package/dist/index228.js +21 -40
- package/dist/index229.js +159 -159
- package/dist/index23.js +3 -3
- package/dist/index230.js +20 -228
- package/dist/index231.js +21 -36
- package/dist/index232.js +198 -9
- package/dist/index233.js +69 -21
- package/dist/index234.js +31 -124
- package/dist/index235.js +31 -29
- package/dist/index236.js +17 -75
- package/dist/index237.js +160 -19
- package/dist/index238.js +228 -20
- package/dist/index239.js +36 -19
- package/dist/index24.js +3 -3
- package/dist/index240.js +10 -20
- package/dist/index241.js +3636 -22
- package/dist/index242.js +55 -22
- package/dist/index243.js +77 -20
- package/dist/index244.js +39 -823
- package/dist/index245.js +198 -685
- package/dist/index246.js +9 -175
- package/dist/index247.js +57 -22
- package/dist/index248.js +61 -20
- package/dist/index249.js +54 -20
- package/dist/index25.js +3 -3
- package/dist/index250.js +75 -3
- package/dist/index251.js +709 -170
- package/dist/index252.js +37 -128
- package/dist/index253.js +55 -1214
- package/dist/index254.js +11 -20
- package/dist/index255.js +705 -22
- package/dist/index256.js +820 -22
- package/dist/index257.js +15 -22
- package/dist/index258.js +15 -13
- package/dist/index259.js +12 -12
- package/dist/index26.js +1 -1
- package/dist/index260.js +836 -2
- package/dist/index261.js +702 -2
- package/dist/index262.js +170 -3626
- package/dist/index263.js +22 -55
- package/dist/index264.js +20 -77
- package/dist/index265.js +20 -52
- package/dist/index266.js +3 -215
- package/dist/index267.js +187 -10
- package/dist/index268.js +128 -52
- package/dist/index269.js +1214 -52
- package/dist/index27.js +11 -11
- package/dist/index270.js +20 -54
- package/dist/index271.js +22 -75
- package/dist/index272.js +21 -722
- package/dist/index273.js +29 -39
- package/dist/index274.js +20 -64
- package/dist/index275.js +20 -11
- package/dist/index276.js +2 -705
- package/dist/index277.js +2 -820
- package/dist/index278.js +249 -50
- package/dist/index279.js +2 -79
- package/dist/index28.js +5 -5
- package/dist/index280.js +138 -26
- package/dist/index281.js +83 -22
- package/dist/index282.js +78 -21
- package/dist/index283.js +5 -13
- package/dist/index284.js +51 -14
- package/dist/index285.js +26 -253
- package/dist/index286.js +21 -7
- package/dist/index287.js +22 -138
- package/dist/index288.js +16 -83
- package/dist/index289.js +15 -21
- package/dist/index29.js +1 -1
- package/dist/index290.js +23 -3
- package/dist/index291.js +3 -27
- package/dist/index292.js +27 -2
- package/dist/index3.js +7 -7
- package/dist/index30.js +1 -1
- package/dist/index31.js +1 -1
- package/dist/index310.js +1534 -79
- package/dist/index311.js +386 -22
- package/dist/index312.js +2698 -902
- package/dist/index313.js +85 -21
- package/dist/index314.js +3792 -20
- package/dist/index315.js +59 -19
- package/dist/index316.js +15 -69
- package/dist/index317.js +84 -19
- package/dist/index318.js +201 -18
- package/dist/index319.js +246 -22
- package/dist/index32.js +9 -9
- package/dist/index320.js +78 -21
- package/dist/index321.js +22 -63
- package/dist/index322.js +909 -1492
- package/dist/index323.js +22 -386
- package/dist/index324.js +20 -2731
- package/dist/index325.js +19 -85
- package/dist/index326.js +58 -3759
- package/dist/index327.js +19 -60
- package/dist/index328.js +19 -15
- package/dist/index329.js +21 -83
- package/dist/index33.js +4 -4
- package/dist/index330.js +22 -202
- package/dist/index331.js +63 -246
- package/dist/index332.js +1 -1
- package/dist/index335.js +1 -1
- package/dist/index34.js +5 -5
- package/dist/index340.js +1 -1
- package/dist/index344.js +5 -5
- package/dist/index345.js +2 -2
- package/dist/index349.js +9 -16
- package/dist/index35.js +8 -8
- package/dist/index350.js +4 -4
- package/dist/index351.js +16 -9
- package/dist/index355.js +3 -3
- package/dist/index36.js +2 -2
- package/dist/index368.js +3 -3
- package/dist/index369.js +3 -3
- package/dist/index37.js +2 -2
- package/dist/index370.js +4 -4
- package/dist/index371.js +1 -1
- package/dist/index38.js +2 -2
- package/dist/index384.js +100 -16
- package/dist/index385.js +90 -100
- package/dist/index386.js +98 -91
- package/dist/index387.js +16 -97
- package/dist/index39.js +4 -4
- package/dist/index4.js +5 -5
- package/dist/index40.js +7 -7
- package/dist/index41.js +7 -7
- package/dist/index42.js +5 -5
- package/dist/index43.js +5 -5
- package/dist/index44.js +1 -1
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.js +2 -2
- package/dist/index48.js +5 -5
- package/dist/index49.js +1 -1
- package/dist/index5.js +2 -2
- package/dist/index50.js +3 -3
- package/dist/index51.js +1 -1
- package/dist/index52.js +3 -3
- package/dist/index53.js +1 -1
- package/dist/index6.js +3 -3
- package/dist/index7.js +4 -4
- package/dist/index8.js +4 -4
- package/dist/index9.js +1 -1
- package/dist/src/components/data-table/data-table.d.ts +4 -4
- package/dist/src/views/tables.vue.d.ts +4 -4
- package/package.json +1 -1
- package/src/assets/illustrations/news-placeholder-image.svg +10 -0
- package/src/assets/illustrations/app-icon-news.svg +0 -1
- /package/dist/{index192.js → index190.js} +0 -0
package/dist/index193.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { FilterMatchMode as ve,
|
|
2
|
-
import it from "./
|
|
3
|
-
import lt from "./
|
|
4
|
-
import at from "./
|
|
5
|
-
import ut from "./
|
|
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 "./
|
|
8
|
-
import F from "./
|
|
9
|
-
import ct from "./
|
|
10
|
-
import We from "./
|
|
11
|
-
import Ue from "./
|
|
12
|
-
import { mergeProps as f, resolveComponent as R,
|
|
13
|
-
import mt from "./
|
|
14
|
-
import pe from "./
|
|
15
|
-
import ht from "./
|
|
16
|
-
import pt from "./
|
|
17
|
-
import K from "./
|
|
18
|
-
import gt from "./
|
|
19
|
-
import Ze from "./
|
|
20
|
-
import yt from "./
|
|
21
|
-
import wt from "./
|
|
22
|
-
import vt from "./
|
|
23
|
-
import bt from "./
|
|
24
|
-
import Ct from "./
|
|
25
|
-
import Rt from "./
|
|
26
|
-
import St from "./
|
|
27
|
-
import Pt from "./
|
|
28
|
-
import Et from "./
|
|
29
|
-
import Re from "./
|
|
30
|
-
import Se from "./
|
|
31
|
-
import Pe from "./
|
|
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
package/dist/index195.js
CHANGED
package/dist/index196.js
CHANGED
package/dist/index198.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Editor as p } from "./
|
|
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 "./
|
|
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,
|
|
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,
|
|
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
|
|
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
|
-
|
|
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 ? (
|
|
32
|
-
|
|
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 ? (
|
|
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)) : (
|
|
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
|
-
|
|
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 ? (
|
|
63
|
+
e.isBubbleAccordion ? (r(), s("div", k)) : i("", !0)
|
|
64
64
|
], 2)
|
|
65
65
|
], !0),
|
|
66
|
-
|
|
66
|
+
a(f, { name: "slide-down" }, {
|
|
67
67
|
default: v(() => [
|
|
68
|
-
e.show ? (
|
|
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,
|
|
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
|
|
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 ? (
|
|
60
|
+
e.showFloatingLabel ? (l(), r("div", g, [
|
|
61
61
|
c("span", v, n(e.placeholder), 1),
|
|
62
|
-
e.required ? (
|
|
62
|
+
e.required ? (l(), r("span", $, "*" + n(e.$t("HC_REQUIRED")), 1)) : i("", !0)
|
|
63
63
|
])) : i("", !0),
|
|
64
|
-
e.showCustomPlaceholder ? (
|
|
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 "./
|
|
2
|
-
import { Blockquote as n } from "./
|
|
3
|
-
import { Bold as p } from "./
|
|
4
|
-
import { Code as f } from "./
|
|
5
|
-
import { CodeBlock as h } from "./
|
|
6
|
-
import { Document as u } from "./
|
|
7
|
-
import { HardBreak as l } from "./
|
|
8
|
-
import { Heading as a } from "./
|
|
9
|
-
import { HorizontalRule as c } from "./
|
|
10
|
-
import { Italic as d } from "./
|
|
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 "./
|
|
13
|
-
import { Paragraph as x } from "./
|
|
14
|
-
import { Strike as b } from "./
|
|
15
|
-
import { Text as v } from "./
|
|
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
package/dist/index202.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Mark as y,
|
|
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
|
|
2
|
-
import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./
|
|
3
|
-
import { Plugin as g, PluginKey as A } from "./
|
|
4
|
-
var P = "[\0- -\u2029 ]",
|
|
5
|
-
function
|
|
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
|
|
13
|
-
if (!
|
|
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:
|
|
16
|
-
if (T(
|
|
17
|
-
const f =
|
|
18
|
-
let
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
|
28
|
-
if (!
|
|
27
|
+
const h = o.doc.textBetween(a.from, a.to, " ", " ");
|
|
28
|
+
if (!I.test(h))
|
|
29
29
|
return;
|
|
30
|
-
|
|
30
|
+
c = f[0], k = o.doc.textBetween(c.pos, a.to, void 0, " ");
|
|
31
31
|
}
|
|
32
|
-
if (
|
|
33
|
-
const
|
|
34
|
-
if (
|
|
32
|
+
if (c && k) {
|
|
33
|
+
const h = k.split(B).filter(Boolean);
|
|
34
|
+
if (h.length <= 0)
|
|
35
35
|
return !1;
|
|
36
|
-
const 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((
|
|
40
|
-
if (
|
|
39
|
+
const L = H(m).map((s) => s.toObject(t.defaultProtocol));
|
|
40
|
+
if (!$(L))
|
|
41
41
|
return !1;
|
|
42
|
-
L.filter((
|
|
43
|
-
...
|
|
44
|
-
from: E +
|
|
45
|
-
to: E +
|
|
46
|
-
})).filter((
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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:
|
|
51
|
+
href: s.href
|
|
52
52
|
})
|
|
53
53
|
);
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
}), !!
|
|
57
|
-
return
|
|
56
|
+
}), !!i.steps.length)
|
|
57
|
+
return i;
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
function
|
|
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
|
|
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
|
-
|
|
72
|
-
|
|
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
|
|
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:
|
|
97
|
-
if (
|
|
96
|
+
const { shouldAutoLink: n } = t, { state: l } = e, { selection: i } = l, { empty: d } = i;
|
|
97
|
+
if (d)
|
|
98
98
|
return !1;
|
|
99
|
-
let
|
|
99
|
+
let u = "";
|
|
100
100
|
o.content.forEach((f) => {
|
|
101
|
-
|
|
101
|
+
u += f.textContent;
|
|
102
102
|
});
|
|
103
|
-
const
|
|
104
|
-
(f) => f.isLink && f.value ===
|
|
103
|
+
const a = M(u, { defaultProtocol: t.defaultProtocol }).find(
|
|
104
|
+
(f) => f.isLink && f.value === u
|
|
105
105
|
);
|
|
106
|
-
return !
|
|
107
|
-
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
|
|
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
|
|
117
|
-
|
|
118
|
-
}), !t || t.replace(
|
|
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) => !!
|
|
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
|
|
166
|
-
return !(/^\d{1,3}(\.\d{1,3}){3}$/.test(
|
|
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) => !!
|
|
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) => !!
|
|
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 = (
|
|
219
|
-
return `[${
|
|
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) => !!
|
|
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) => !!
|
|
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,
|
|
251
|
+
const { protocols: r, defaultProtocol: o } = this.options, n = M(t).filter(
|
|
249
252
|
(l) => l.isLink && this.options.isAllowedUri(l.value, {
|
|
250
|
-
defaultValidate: (
|
|
253
|
+
defaultValidate: (i) => !!p(i, r),
|
|
251
254
|
protocols: r,
|
|
252
255
|
defaultProtocol: o
|
|
253
256
|
})
|
|
254
257
|
);
|
|
255
|
-
|
|
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: (
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
312
|
+
p as isAllowedUri
|
|
310
313
|
};
|