@quoreadmin/ui 1.7.16 → 1.7.18
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/index131.js +151 -90
- package/dist/index140.js +291 -281
- package/dist/index185.js +7 -7
- package/dist/index191.js +23 -23
- package/dist/index192.js +1 -1
- package/dist/index193.js +1 -1
- package/dist/index196.js +2 -2
- package/dist/index198.js +14 -14
- package/dist/index199.js +1 -1
- package/dist/index200.js +1 -1
- package/dist/index201.js +3 -3
- package/dist/index202.js +6 -6
- package/dist/index203.js +2 -2
- package/dist/index204.js +2 -2
- package/dist/index205.js +1 -1
- package/dist/index220.js +1 -1
- package/dist/index224.js +1 -1
- package/dist/index226.js +1 -1
- package/dist/index232.js +105 -231
- package/dist/index233.js +38 -8
- package/dist/index234.js +78 -136
- package/dist/index235.js +20 -83
- package/dist/index236.js +20 -3632
- package/dist/index237.js +20 -55
- package/dist/index238.js +20 -77
- package/dist/index239.js +22 -52
- package/dist/index240.js +22 -215
- package/dist/index241.js +20 -10
- package/dist/index242.js +827 -48
- package/dist/index243.js +691 -50
- package/dist/index244.js +174 -52
- package/dist/index245.js +22 -75
- package/dist/index246.js +19 -722
- package/dist/index247.js +20 -39
- package/dist/index248.js +3 -64
- package/dist/index249.js +187 -11
- package/dist/index250.js +124 -696
- package/dist/index251.js +1189 -786
- package/dist/index252.js +19 -126
- package/dist/index253.js +21 -37
- package/dist/index254.js +22 -80
- package/dist/index255.js +22 -13
- package/dist/index256.js +12 -12
- package/dist/index257.js +9 -9
- package/dist/index258.js +2 -20
- package/dist/index259.js +2 -22
- package/dist/index260.js +3632 -22
- package/dist/index261.js +55 -20
- package/dist/index262.js +64 -823
- package/dist/index263.js +43 -693
- package/dist/index264.js +204 -165
- package/dist/index265.js +10 -22
- package/dist/index266.js +57 -20
- package/dist/index267.js +61 -20
- package/dist/index268.js +54 -3
- package/dist/index269.js +69 -181
- package/dist/index270.js +710 -120
- package/dist/index271.js +33 -1217
- package/dist/index272.js +64 -20
- package/dist/index273.js +11 -22
- package/dist/index274.js +705 -22
- package/dist/index275.js +820 -29
- package/dist/index276.js +253 -20
- package/dist/index277.js +8 -20
- package/dist/index278.js +138 -2
- package/dist/index279.js +83 -2
- package/dist/index280.js +1 -1
- package/dist/index285.js +1 -1
- package/dist/index286.js +1 -1
- package/dist/index287.js +1 -1
- package/dist/index288.js +137 -110
- package/dist/index290.js +62 -56
- package/dist/index291.js +31 -26
- package/dist/index294.js +15 -8
- package/dist/index297.js +1 -1
- package/dist/index299.js +36 -37
- package/dist/index305.js +2 -1518
- package/dist/index306.js +1478 -346
- package/dist/index307.js +330 -2675
- package/dist/index308.js +2717 -72
- package/dist/index309.js +75 -3759
- package/dist/index310.js +3758 -48
- package/dist/index311.js +60 -15
- package/dist/index312.js +76 -81
- package/dist/index313.js +22 -202
- package/dist/index314.js +915 -226
- package/dist/index315.js +22 -2
- package/dist/index316.js +19 -78
- package/dist/index317.js +13 -15
- package/dist/index318.js +64 -930
- package/dist/index319.js +18 -21
- package/dist/index320.js +19 -20
- package/dist/index321.js +12 -10
- package/dist/index322.js +21 -68
- package/dist/index323.js +60 -16
- package/dist/index324.js +15 -19
- package/dist/index325.js +83 -21
- package/dist/index326.js +202 -22
- package/dist/index327.js +246 -63
- package/dist/index330.js +1 -1
- package/dist/index331.js +12 -14
- package/dist/index332.js +1 -0
- package/dist/index336.js +4 -3
- package/dist/index342.js +27 -27
- package/dist/index345.js +1 -1
- package/dist/index346.js +1 -1
- package/dist/index372.js +1 -1
- package/dist/index380.js +1 -1
- package/dist/index382.js +16 -100
- package/dist/index383.js +100 -90
- package/dist/index384.js +91 -98
- package/dist/index385.js +97 -16
- package/dist/index43.js +160 -158
- package/dist/src/components/comment/comment.d.ts +27 -0
- package/dist/src/components/comment/comment.stories.d.ts +27 -0
- package/dist/src/components/comment-section/comment-section.d.ts +27 -0
- package/dist/src/components/comment-section/comment-section.stories.d.ts +27 -0
- package/dist/src/components/data-filter/data-filter.d.ts +27 -0
- package/dist/src/components/data-list/data-list.d.ts +27 -0
- package/dist/src/components/grid/grid.stories.d.ts +54 -0
- package/dist/src/components/popover/popover.d.ts +37 -0
- package/dist/src/components/popover/popover.stories.d.ts +189 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +60 -2
- package/dist/src/views/lists.vue.d.ts +54 -0
- package/dist/src/views/tables.vue.d.ts +27 -0
- package/package.json +1 -1
package/dist/index185.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import q from "./
|
|
2
|
-
import X from "./
|
|
1
|
+
import q from "./index232.js";
|
|
2
|
+
import X from "./index233.js";
|
|
3
3
|
import { ZIndexUtils as T, DomHandler as c, UniqueComponentId as k, ObjectUtils as $ } from "./index170.js";
|
|
4
4
|
import O from "./index204.js";
|
|
5
|
-
import Y from "./
|
|
5
|
+
import Y from "./index234.js";
|
|
6
6
|
import J from "./index222.js";
|
|
7
7
|
import L from "./index203.js";
|
|
8
|
-
import H from "./
|
|
9
|
-
import M from "./
|
|
8
|
+
import H from "./index235.js";
|
|
9
|
+
import M from "./index236.js";
|
|
10
10
|
import { resolveDirective as C, createElementBlock as d, openBlock as s, mergeProps as l, createElementVNode as b, createCommentVNode as h, withDirectives as y, createBlock as f, resolveDynamicComponent as p, Fragment as U, renderList as G, resolveComponent as A, createVNode as z, withCtx as D, Transition as Q } from "vue";
|
|
11
|
-
import ee from "./
|
|
12
|
-
import te from "./
|
|
11
|
+
import ee from "./index237.js";
|
|
12
|
+
import te from "./index238.js";
|
|
13
13
|
var ie = {
|
|
14
14
|
name: "BaseGalleria",
|
|
15
15
|
extends: O,
|
package/dist/index191.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { FilterMatchMode as ve, FilterService as be, FilterOperator as se } from "./index59.js";
|
|
2
|
-
import it from "./
|
|
3
|
-
import lt from "./
|
|
4
|
-
import at from "./
|
|
5
|
-
import ut from "./
|
|
2
|
+
import it from "./index239.js";
|
|
3
|
+
import lt from "./index240.js";
|
|
4
|
+
import at from "./index241.js";
|
|
5
|
+
import ut from "./index242.js";
|
|
6
6
|
import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as W, ConnectedOverlayScrollHandler as st, ZIndexUtils as ce } from "./index170.js";
|
|
7
|
-
import dt from "./
|
|
7
|
+
import dt from "./index243.js";
|
|
8
8
|
import F from "./index204.js";
|
|
9
|
-
import ct from "./
|
|
10
|
-
import We from "./
|
|
11
|
-
import Ue from "./
|
|
9
|
+
import ct from "./index244.js";
|
|
10
|
+
import We from "./index237.js";
|
|
11
|
+
import Ue from "./index236.js";
|
|
12
12
|
import { mergeProps as f, resolveComponent as R, createBlock as w, openBlock as u, withCtx as k, createCommentVNode as v, resolveDynamicComponent as C, normalizeClass as S, resolveDirective as qe, createElementBlock as p, withDirectives as q, toDisplayString as H, Fragment as P, createTextVNode as Xe, createElementVNode as T, withModifiers as Je, renderList as B, createVNode as z, normalizeProps as ue, guardReactiveProps as fe, Transition as ft, withKeys as me, renderSlot as O, createSlots as Ce } from "vue";
|
|
13
|
-
import mt from "./
|
|
14
|
-
import pe from "./
|
|
15
|
-
import ht from "./
|
|
13
|
+
import mt from "./index245.js";
|
|
14
|
+
import pe from "./index246.js";
|
|
15
|
+
import ht from "./index247.js";
|
|
16
16
|
import pt from "./index222.js";
|
|
17
|
-
import K from "./
|
|
17
|
+
import K from "./index248.js";
|
|
18
18
|
import gt from "./index203.js";
|
|
19
|
-
import Ze from "./
|
|
20
|
-
import yt from "./
|
|
19
|
+
import Ze from "./index249.js";
|
|
20
|
+
import yt from "./index250.js";
|
|
21
21
|
import wt from "./index220.js";
|
|
22
|
-
import vt from "./
|
|
23
|
-
import bt from "./
|
|
24
|
-
import Ct from "./
|
|
25
|
-
import Rt from "./
|
|
22
|
+
import vt from "./index251.js";
|
|
23
|
+
import bt from "./index232.js";
|
|
24
|
+
import Ct from "./index252.js";
|
|
25
|
+
import Rt from "./index253.js";
|
|
26
26
|
import St from "./index221.js";
|
|
27
|
-
import Pt from "./
|
|
28
|
-
import Et from "./
|
|
29
|
-
import Re from "./
|
|
30
|
-
import Se from "./
|
|
31
|
-
import Pe from "./
|
|
27
|
+
import Pt from "./index254.js";
|
|
28
|
+
import Et from "./index233.js";
|
|
29
|
+
import Re from "./index255.js";
|
|
30
|
+
import Se from "./index256.js";
|
|
31
|
+
import Pe from "./index257.js";
|
|
32
32
|
var kt = {
|
|
33
33
|
name: "BaseDataTable",
|
|
34
34
|
extends: F,
|
package/dist/index192.js
CHANGED
package/dist/index193.js
CHANGED
package/dist/index196.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 "./index260.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 "./index260.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/index198.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 "./index260.js";
|
|
2
|
+
import { Blockquote as n } from "./index261.js";
|
|
3
|
+
import { Bold as p } from "./index262.js";
|
|
4
|
+
import { Code as f } from "./index263.js";
|
|
5
|
+
import { CodeBlock as h } from "./index264.js";
|
|
6
|
+
import { Document as u } from "./index265.js";
|
|
7
|
+
import { HardBreak as l } from "./index266.js";
|
|
8
|
+
import { Heading as a } from "./index267.js";
|
|
9
|
+
import { HorizontalRule as c } from "./index268.js";
|
|
10
|
+
import { Italic as d } from "./index269.js";
|
|
11
11
|
import { Link as m } from "./index201.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 "./index270.js";
|
|
13
|
+
import { Paragraph as x } from "./index271.js";
|
|
14
|
+
import { Strike as b } from "./index272.js";
|
|
15
|
+
import { Text as v } from "./index273.js";
|
|
16
16
|
import { Underline as R } from "./index199.js";
|
|
17
17
|
import { Dropcursor as K, Gapcursor as _, UndoRedo as I, TrailingNode as q } from "./index202.js";
|
|
18
18
|
var y = r.create({
|
package/dist/index199.js
CHANGED
package/dist/index200.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Mark as y, Extension as l, mergeAttributes as p } from "./
|
|
1
|
+
import { Mark as y, Extension as l, mergeAttributes as p } from "./index260.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/index201.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 O, getMarksBetween as R, getAttributes as _ } from "./
|
|
2
|
-
import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./
|
|
3
|
-
import { Plugin as g, PluginKey as A } from "./
|
|
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 "./index260.js";
|
|
2
|
+
import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index274.js";
|
|
3
|
+
import { Plugin as g, PluginKey as A } from "./index275.js";
|
|
4
4
|
var P = "[\0- -\u2029 ]", I = new RegExp(P), B = new RegExp(`${P}$`), N = new RegExp(P, "g");
|
|
5
5
|
function W(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/index202.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Extension as u, isNodeEmpty as w, callOrReturn as v, getExtensionField as S, isNodeSelection as P } from "./
|
|
2
|
-
import { Plugin as p, PluginKey as m } from "./
|
|
3
|
-
import { dropCursor as z } from "./
|
|
4
|
-
import { Decoration as g, DecorationSet as f } from "./
|
|
5
|
-
import { gapCursor as N } from "./
|
|
6
|
-
import { history as E, redo as M, undo as O } from "./
|
|
1
|
+
import { Extension as u, isNodeEmpty as w, callOrReturn as v, getExtensionField as S, isNodeSelection as P } from "./index260.js";
|
|
2
|
+
import { Plugin as p, PluginKey as m } from "./index275.js";
|
|
3
|
+
import { dropCursor as z } from "./index325.js";
|
|
4
|
+
import { Decoration as g, DecorationSet as f } from "./index310.js";
|
|
5
|
+
import { gapCursor as N } from "./index326.js";
|
|
6
|
+
import { history as E, redo as M, undo as O } from "./index327.js";
|
|
7
7
|
u.create({
|
|
8
8
|
name: "characterCount",
|
|
9
9
|
addOptions() {
|
package/dist/index203.js
CHANGED
package/dist/index204.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import C from "./
|
|
1
|
+
import C from "./index278.js";
|
|
2
2
|
import { ObjectUtils as p } from "./index170.js";
|
|
3
3
|
import { mergeProps as $ } from "vue";
|
|
4
|
-
import { useStyle as D } from "./
|
|
4
|
+
import { useStyle as D } from "./index279.js";
|
|
5
5
|
function h(n) {
|
|
6
6
|
"@babel/helpers - typeof";
|
|
7
7
|
return h = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
package/dist/index205.js
CHANGED
package/dist/index220.js
CHANGED
package/dist/index224.js
CHANGED
package/dist/index226.js
CHANGED
package/dist/index232.js
CHANGED
|
@@ -1,255 +1,129 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { DomHandler as s, ObjectUtils as h } from "./index170.js";
|
|
2
|
+
import E from "./index276.js";
|
|
3
|
+
import $ from "./index305.js";
|
|
4
|
+
var g = E.extend({
|
|
5
|
+
style: $
|
|
6
|
+
});
|
|
7
|
+
function m(o) {
|
|
5
8
|
"@babel/helpers - typeof";
|
|
6
|
-
return
|
|
9
|
+
return m = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
7
10
|
return typeof e;
|
|
8
11
|
} : function(e) {
|
|
9
12
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
10
|
-
},
|
|
13
|
+
}, m(o);
|
|
11
14
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
function x() {
|
|
16
|
-
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
17
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
18
|
-
}
|
|
19
|
-
function C(r, e) {
|
|
20
|
-
if (r) {
|
|
21
|
-
if (typeof r == "string") return k(r, e);
|
|
22
|
-
var n = Object.prototype.toString.call(r).slice(8, -1);
|
|
23
|
-
if (n === "Object" && r.constructor && (n = r.constructor.name), n === "Map" || n === "Set") return Array.from(r);
|
|
24
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return k(r, e);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function k(r, e) {
|
|
28
|
-
(e == null || e > r.length) && (e = r.length);
|
|
29
|
-
for (var n = 0, t = new Array(e); n < e; n++) t[n] = r[n];
|
|
30
|
-
return t;
|
|
31
|
-
}
|
|
32
|
-
function D(r, e) {
|
|
33
|
-
var n = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
|
|
34
|
-
if (n != null) {
|
|
35
|
-
var t, o, a, u, i = [], l = !0, v = !1;
|
|
36
|
-
try {
|
|
37
|
-
if (a = (n = n.call(r)).next, e !== 0) for (; !(l = (t = a.call(n)).done) && (i.push(t.value), i.length !== e); l = !0) ;
|
|
38
|
-
} catch (p) {
|
|
39
|
-
v = !0, o = p;
|
|
40
|
-
} finally {
|
|
41
|
-
try {
|
|
42
|
-
if (!l && n.return != null && (u = n.return(), Object(u) !== u)) return;
|
|
43
|
-
} finally {
|
|
44
|
-
if (v) throw o;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
return i;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
function U(r) {
|
|
51
|
-
if (Array.isArray(r)) return r;
|
|
52
|
-
}
|
|
53
|
-
function V(r, e) {
|
|
54
|
-
var n = Object.keys(r);
|
|
15
|
+
function v(o, e) {
|
|
16
|
+
var t = Object.keys(o);
|
|
55
17
|
if (Object.getOwnPropertySymbols) {
|
|
56
|
-
var
|
|
57
|
-
e && (
|
|
58
|
-
return Object.getOwnPropertyDescriptor(
|
|
59
|
-
})),
|
|
18
|
+
var r = Object.getOwnPropertySymbols(o);
|
|
19
|
+
e && (r = r.filter(function(n) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(o, n).enumerable;
|
|
21
|
+
})), t.push.apply(t, r);
|
|
60
22
|
}
|
|
61
|
-
return
|
|
23
|
+
return t;
|
|
62
24
|
}
|
|
63
|
-
function
|
|
25
|
+
function F(o) {
|
|
64
26
|
for (var e = 1; e < arguments.length; e++) {
|
|
65
|
-
var
|
|
66
|
-
e % 2 ?
|
|
67
|
-
|
|
68
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
69
|
-
Object.defineProperty(
|
|
27
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
|
28
|
+
e % 2 ? v(Object(t), !0).forEach(function(r) {
|
|
29
|
+
S(o, r, t[r]);
|
|
30
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : v(Object(t)).forEach(function(r) {
|
|
31
|
+
Object.defineProperty(o, r, Object.getOwnPropertyDescriptor(t, r));
|
|
70
32
|
});
|
|
71
33
|
}
|
|
72
|
-
return
|
|
34
|
+
return o;
|
|
73
35
|
}
|
|
74
|
-
function
|
|
75
|
-
return e =
|
|
36
|
+
function S(o, e, t) {
|
|
37
|
+
return e = y(e), e in o ? Object.defineProperty(o, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = t, o;
|
|
76
38
|
}
|
|
77
|
-
function
|
|
78
|
-
var e =
|
|
79
|
-
return
|
|
39
|
+
function y(o) {
|
|
40
|
+
var e = O(o, "string");
|
|
41
|
+
return m(e) == "symbol" ? e : String(e);
|
|
80
42
|
}
|
|
81
|
-
function
|
|
82
|
-
if (
|
|
83
|
-
var
|
|
84
|
-
if (
|
|
85
|
-
var
|
|
86
|
-
if (
|
|
43
|
+
function O(o, e) {
|
|
44
|
+
if (m(o) != "object" || !o) return o;
|
|
45
|
+
var t = o[Symbol.toPrimitive];
|
|
46
|
+
if (t !== void 0) {
|
|
47
|
+
var r = t.call(o, e);
|
|
48
|
+
if (m(r) != "object") return r;
|
|
87
49
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
88
50
|
}
|
|
89
|
-
return (e === "string" ? String : Number)(
|
|
51
|
+
return (e === "string" ? String : Number)(o);
|
|
90
52
|
}
|
|
91
|
-
var
|
|
92
|
-
|
|
93
|
-
|
|
53
|
+
var x = g.extend("focustrap", {
|
|
54
|
+
mounted: function(e, t) {
|
|
55
|
+
var r = t.value || {}, n = r.disabled;
|
|
56
|
+
n || (this.createHiddenFocusableElements(e, t), this.bind(e, t), this.autoElementFocus(e, t)), e.setAttribute("data-pd-focustrap", !0), this.$el = e;
|
|
94
57
|
},
|
|
95
|
-
|
|
96
|
-
var t
|
|
97
|
-
|
|
58
|
+
updated: function(e, t) {
|
|
59
|
+
var r = t.value || {}, n = r.disabled;
|
|
60
|
+
n && this.unbind(e);
|
|
98
61
|
},
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return a ? y.isObject(e) ? d._getOptionValue(y.getItemValue(e[Object.keys(e).find(function(u) {
|
|
102
|
-
return y.toFlatCase(u) === a;
|
|
103
|
-
}) || ""], t), o.join("."), t) : void 0 : y.getItemValue(e, t);
|
|
62
|
+
unmounted: function(e) {
|
|
63
|
+
this.unbind(e);
|
|
104
64
|
},
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
},
|
|
120
|
-
_getPT: function(e) {
|
|
121
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", t = arguments.length > 2 ? arguments[2] : void 0, o = function(u) {
|
|
122
|
-
var i, l = t ? t(u) : u, v = y.toFlatCase(n);
|
|
123
|
-
return (i = l?.[v]) !== null && i !== void 0 ? i : l;
|
|
124
|
-
};
|
|
125
|
-
return e != null && e.hasOwnProperty("_usept") ? {
|
|
126
|
-
_usept: e._usept,
|
|
127
|
-
originalValue: o(e.originalValue),
|
|
128
|
-
value: o(e.value)
|
|
129
|
-
} : o(e);
|
|
130
|
-
},
|
|
131
|
-
_usePT: function() {
|
|
132
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, t = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, a = arguments.length > 4 ? arguments[4] : void 0, u = function(s) {
|
|
133
|
-
return t(s, o, a);
|
|
134
|
-
};
|
|
135
|
-
if (n != null && n.hasOwnProperty("_usept")) {
|
|
136
|
-
var i, l = n._usept || ((i = e.$primevueConfig) === null || i === void 0 ? void 0 : i.ptOptions) || {}, v = l.mergeSections, p = v === void 0 ? !0 : v, c = l.mergeProps, m = c === void 0 ? !1 : c, g = u(n.originalValue), $ = u(n.value);
|
|
137
|
-
return g === void 0 && $ === void 0 ? void 0 : y.isString($) ? $ : y.isString(g) ? g : p || !p && $ ? m ? d._mergeProps(e, m, g, $) : _(_({}, g), $) : $;
|
|
138
|
-
}
|
|
139
|
-
return u(n);
|
|
140
|
-
},
|
|
141
|
-
_useDefaultPT: function() {
|
|
142
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, a = arguments.length > 4 ? arguments[4] : void 0;
|
|
143
|
-
return d._usePT(e, n, t, o, a);
|
|
144
|
-
},
|
|
145
|
-
_hook: function(e, n, t, o, a, u) {
|
|
146
|
-
var i, l, v = "on".concat(y.toCapitalCase(n)), p = d._getConfig(o, a), c = t?.$instance, m = d._usePT(c, d._getPT(o == null || (i = o.value) === null || i === void 0 ? void 0 : i.pt, e), d._getOptionValue, "hooks.".concat(v)), g = d._useDefaultPT(c, p == null || (l = p.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], d._getOptionValue, "hooks.".concat(v)), $ = {
|
|
147
|
-
el: t,
|
|
148
|
-
binding: o,
|
|
149
|
-
vnode: a,
|
|
150
|
-
prevVnode: u
|
|
151
|
-
};
|
|
152
|
-
m?.(c, $), g?.(c, $);
|
|
153
|
-
},
|
|
154
|
-
_mergeProps: function() {
|
|
155
|
-
for (var e = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length, t = new Array(n > 2 ? n - 2 : 0), o = 2; o < n; o++)
|
|
156
|
-
t[o - 2] = arguments[o];
|
|
157
|
-
return y.isFunction(e) ? e.apply(void 0, t) : w.apply(void 0, t);
|
|
158
|
-
},
|
|
159
|
-
_extend: function(e) {
|
|
160
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = function(a, u, i, l, v) {
|
|
161
|
-
var p, c;
|
|
162
|
-
u._$instances = u._$instances || {};
|
|
163
|
-
var m = d._getConfig(i, l), g = u._$instances[e] || {}, $ = y.isEmpty(g) ? _(_({}, n), n?.methods) : {};
|
|
164
|
-
u._$instances[e] = _(_({}, g), {}, {
|
|
165
|
-
/* new instance variables to pass in directive methods */
|
|
166
|
-
$name: e,
|
|
167
|
-
$host: u,
|
|
168
|
-
$binding: i,
|
|
169
|
-
$modifiers: i?.modifiers,
|
|
170
|
-
$value: i?.value,
|
|
171
|
-
$el: g.$el || u || void 0,
|
|
172
|
-
$style: _({
|
|
173
|
-
classes: void 0,
|
|
174
|
-
inlineStyles: void 0,
|
|
175
|
-
loadStyle: function() {
|
|
65
|
+
methods: {
|
|
66
|
+
getComputedSelector: function(e) {
|
|
67
|
+
return ':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(e ?? "");
|
|
68
|
+
},
|
|
69
|
+
bind: function(e, t) {
|
|
70
|
+
var r = this, n = t.value || {}, u = n.onFocusIn, l = n.onFocusOut;
|
|
71
|
+
e.$_pfocustrap_mutationobserver = new MutationObserver(function(c) {
|
|
72
|
+
c.forEach(function(f) {
|
|
73
|
+
if (f.type === "childList" && !e.contains(document.activeElement)) {
|
|
74
|
+
var d = function p(a) {
|
|
75
|
+
var i = s.isFocusableElement(a) ? s.isFocusableElement(a, r.getComputedSelector(e.$_pfocustrap_focusableselector)) ? a : s.getFirstFocusableElement(e, r.getComputedSelector(e.$_pfocustrap_focusableselector)) : s.getFirstFocusableElement(a);
|
|
76
|
+
return h.isNotEmpty(i) ? i : a.nextSibling && p(a.nextSibling);
|
|
77
|
+
};
|
|
78
|
+
s.focus(d(f.nextSibling));
|
|
176
79
|
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
var v, p, c, m, g = d._getConfig(u, i);
|
|
223
|
-
S.loadStyle({
|
|
224
|
-
nonce: g == null || (v = g.csp) === null || v === void 0 ? void 0 : v.nonce
|
|
225
|
-
}), !((p = a.$instance) !== null && p !== void 0 && p.isUnstyled()) && ((c = a.$instance) === null || c === void 0 || (c = c.$style) === null || c === void 0 || c.loadStyle({
|
|
226
|
-
nonce: g == null || (m = g.csp) === null || m === void 0 ? void 0 : m.nonce
|
|
227
|
-
})), t("mounted", a, u, i, l);
|
|
228
|
-
},
|
|
229
|
-
beforeUpdate: function(a, u, i, l) {
|
|
230
|
-
t("beforeUpdate", a, u, i, l);
|
|
231
|
-
},
|
|
232
|
-
updated: function(a, u, i, l) {
|
|
233
|
-
t("updated", a, u, i, l);
|
|
234
|
-
},
|
|
235
|
-
beforeUnmount: function(a, u, i, l) {
|
|
236
|
-
t("beforeUnmount", a, u, i, l);
|
|
237
|
-
},
|
|
238
|
-
unmounted: function(a, u, i, l) {
|
|
239
|
-
t("unmounted", a, u, i, l);
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
},
|
|
243
|
-
extend: function() {
|
|
244
|
-
var e = d._getMeta.apply(d, arguments), n = j(e, 2), t = n[0], o = n[1];
|
|
245
|
-
return _({
|
|
246
|
-
extend: function() {
|
|
247
|
-
var u = d._getMeta.apply(d, arguments), i = j(u, 2), l = i[0], v = i[1];
|
|
248
|
-
return d.extend(l, _(_(_({}, o), o?.methods), v));
|
|
249
|
-
}
|
|
250
|
-
}, d._extend(t, o));
|
|
80
|
+
});
|
|
81
|
+
}), e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_mutationobserver.observe(e, {
|
|
82
|
+
childList: !0
|
|
83
|
+
}), e.$_pfocustrap_focusinlistener = function(c) {
|
|
84
|
+
return u && u(c);
|
|
85
|
+
}, e.$_pfocustrap_focusoutlistener = function(c) {
|
|
86
|
+
return l && l(c);
|
|
87
|
+
}, e.addEventListener("focusin", e.$_pfocustrap_focusinlistener), e.addEventListener("focusout", e.$_pfocustrap_focusoutlistener);
|
|
88
|
+
},
|
|
89
|
+
unbind: function(e) {
|
|
90
|
+
e.$_pfocustrap_mutationobserver && e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_focusinlistener && e.removeEventListener("focusin", e.$_pfocustrap_focusinlistener) && (e.$_pfocustrap_focusinlistener = null), e.$_pfocustrap_focusoutlistener && e.removeEventListener("focusout", e.$_pfocustrap_focusoutlistener) && (e.$_pfocustrap_focusoutlistener = null);
|
|
91
|
+
},
|
|
92
|
+
autoFocus: function(e) {
|
|
93
|
+
this.autoElementFocus(this.$el, {
|
|
94
|
+
value: F(F({}, e), {}, {
|
|
95
|
+
autoFocus: !0
|
|
96
|
+
})
|
|
97
|
+
});
|
|
98
|
+
},
|
|
99
|
+
autoElementFocus: function(e, t) {
|
|
100
|
+
var r = t.value || {}, n = r.autoFocusSelector, u = n === void 0 ? "" : n, l = r.firstFocusableSelector, c = l === void 0 ? "" : l, f = r.autoFocus, d = f === void 0 ? !1 : f, p = s.getFirstFocusableElement(e, "[autofocus]".concat(this.getComputedSelector(u)));
|
|
101
|
+
d && !p && (p = s.getFirstFocusableElement(e, this.getComputedSelector(c))), s.focus(p);
|
|
102
|
+
},
|
|
103
|
+
onFirstHiddenElementFocus: function(e) {
|
|
104
|
+
var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_lasthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getFirstFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_lasthiddenfocusableelement;
|
|
105
|
+
s.focus(u);
|
|
106
|
+
},
|
|
107
|
+
onLastHiddenElementFocus: function(e) {
|
|
108
|
+
var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_firsthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getLastFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_firsthiddenfocusableelement;
|
|
109
|
+
s.focus(u);
|
|
110
|
+
},
|
|
111
|
+
createHiddenFocusableElements: function(e, t) {
|
|
112
|
+
var r = this, n = t.value || {}, u = n.tabIndex, l = u === void 0 ? 0 : u, c = n.firstFocusableSelector, f = c === void 0 ? "" : c, d = n.lastFocusableSelector, p = d === void 0 ? "" : d, a = function(_) {
|
|
113
|
+
return s.createElement("span", {
|
|
114
|
+
class: "p-hidden-accessible p-hidden-focusable",
|
|
115
|
+
tabIndex: l,
|
|
116
|
+
role: "presentation",
|
|
117
|
+
"aria-hidden": !0,
|
|
118
|
+
"data-p-hidden-accessible": !0,
|
|
119
|
+
"data-p-hidden-focusable": !0,
|
|
120
|
+
onFocus: _?.bind(r)
|
|
121
|
+
});
|
|
122
|
+
}, i = a(this.onFirstHiddenElementFocus), b = a(this.onLastHiddenElementFocus);
|
|
123
|
+
i.$_pfocustrap_lasthiddenfocusableelement = b, i.$_pfocustrap_focusableselector = f, i.setAttribute("data-pc-section", "firstfocusableelement"), b.$_pfocustrap_firsthiddenfocusableelement = i, b.$_pfocustrap_focusableselector = p, b.setAttribute("data-pc-section", "lastfocusableelement"), e.prepend(i), e.append(b);
|
|
124
|
+
}
|
|
251
125
|
}
|
|
252
|
-
};
|
|
126
|
+
});
|
|
253
127
|
export {
|
|
254
|
-
|
|
128
|
+
x as default
|
|
255
129
|
};
|