@quoreadmin/ui 1.7.6 → 1.7.8
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/index115.js +24 -18
- package/dist/index140.js +374 -352
- package/dist/index142.js +10 -5
- package/dist/index171.js +14 -14
- package/dist/index172.js +3 -3
- package/dist/index175.js +4 -4
- package/dist/index182.js +10 -10
- package/dist/index184.js +10 -10
- package/dist/index190.js +9 -9
- package/dist/index191.js +1 -1
- package/dist/index192.js +1 -1
- package/dist/index193.js +1 -1
- package/dist/index20.js +26 -19
- package/dist/index201.js +4 -4
- package/dist/index202.js +84 -29
- package/dist/index203.js +400 -109
- package/dist/index204.js +22 -36
- package/dist/index205.js +161 -26
- package/dist/index206.js +225 -33
- package/dist/index207.js +37 -9
- package/dist/index208.js +10 -19
- package/dist/index209.js +33 -10
- package/dist/index210.js +116 -10
- package/dist/index211.js +35 -50
- package/dist/index212.js +26 -43
- package/dist/index213.js +35 -3
- package/dist/index214.js +9 -39
- package/dist/index215.js +19 -21
- package/dist/index216.js +10 -88
- package/dist/index217.js +9 -406
- package/dist/index218.js +51 -22
- package/dist/index219.js +39 -157
- package/dist/index220.js +3 -19
- package/dist/index221.js +38 -19
- package/dist/index222.js +21 -22
- package/dist/index223.js +113 -185
- package/dist/index224.js +25 -57
- package/dist/index225.js +77 -31
- package/dist/index226.js +19 -39
- package/dist/index227.js +19 -126
- package/dist/index228.js +16 -34
- package/dist/index229.js +20 -80
- package/dist/index230.js +10 -10
- package/dist/index231.js +160 -19
- package/dist/index232.js +10 -10
- package/dist/index233.js +15 -13
- package/dist/index234.js +194 -156
- package/dist/index235.js +66 -224
- package/dist/index236.js +34 -37
- package/dist/index237.js +39 -9
- package/dist/index241.js +8 -8
- package/dist/index242.js +2 -2
- package/dist/index248.js +2 -2
- package/dist/index249.js +2 -2
- package/dist/index250.js +8 -8
- package/dist/index259.js +6 -6
- package/dist/index260.js +1 -1
- package/dist/index261.js +1 -1
- package/dist/index274.js +2 -2
- package/dist/index279.js +2 -54
- package/dist/index280.js +1 -1
- package/dist/index281.js +3 -26
- package/dist/index282.js +26 -21
- package/dist/index283.js +53 -21
- package/dist/index284.js +26 -16
- package/dist/index285.js +22 -17
- package/dist/index286.js +21 -22
- package/dist/index287.js +16 -2
- package/dist/index288.js +17 -3
- package/dist/index289.js +23 -27
- package/dist/index290.js +1518 -79
- package/dist/index291.js +386 -22
- package/dist/index292.js +2698 -902
- package/dist/index293.js +85 -21
- package/dist/index294.js +3770 -20
- package/dist/index295.js +59 -19
- package/dist/index296.js +15 -69
- package/dist/index297.js +84 -19
- package/dist/index298.js +201 -18
- package/dist/index299.js +246 -22
- package/dist/index300.js +78 -21
- package/dist/index301.js +22 -63
- package/dist/index302.js +909 -1492
- package/dist/index303.js +22 -386
- package/dist/index304.js +20 -2731
- package/dist/index305.js +19 -85
- package/dist/index306.js +58 -3759
- package/dist/index307.js +19 -60
- package/dist/index308.js +19 -15
- package/dist/index309.js +21 -83
- package/dist/index31.js +34 -27
- package/dist/index310.js +22 -202
- package/dist/index311.js +63 -246
- package/dist/index332.js +1 -1
- package/dist/index337.js +1 -1
- package/dist/index342.js +2 -2
- package/dist/index347.js +1 -1
- package/dist/index348.js +2 -2
- package/dist/index355.js +2 -2
- package/dist/index369.js +100 -16
- package/dist/index370.js +90 -100
- package/dist/index371.js +98 -91
- package/dist/index372.js +16 -97
- package/dist/index43.js +535 -501
- package/dist/index44.js +100 -84
- package/dist/index95.js +23 -15
- package/dist/src/components/data-filter/data-filter.d.ts +10 -0
- package/dist/src/components/data-list/data-list.d.ts +10 -0
- package/dist/src/components/date-picker/date-picker.d.ts +10 -0
- package/dist/src/components/date-picker/date-picker.stories.d.ts +20 -0
- package/dist/src/components/form-group/form-group.stories.d.ts +10 -0
- package/dist/src/components/grid/grid.stories.d.ts +28 -0
- package/dist/src/components/input/input.d.ts +10 -0
- package/dist/src/components/input/input.stories.d.ts +40 -0
- package/dist/src/components/list/list.stories.d.ts +9 -0
- package/dist/src/components/modal/modal.stories.d.ts +9 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +24 -7
- package/dist/src/components/select/select.d.ts +9 -0
- package/dist/src/components/select/select.stories.d.ts +27 -0
- package/dist/src/views/lists.vue.d.ts +20 -0
- package/dist/src/views/tables.vue.d.ts +10 -0
- package/package.json +1 -1
package/dist/index142.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Multiselect as x } from "./index188.js";
|
|
|
3
3
|
import { useI18n as P } from "vue-i18n";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import H from "./index6.js";
|
|
6
|
-
const
|
|
6
|
+
const N = L({
|
|
7
7
|
name: "QSelect",
|
|
8
8
|
components: {
|
|
9
9
|
QBadge: H,
|
|
@@ -182,6 +182,11 @@ const q = L({
|
|
|
182
182
|
type: String,
|
|
183
183
|
default: "bottom"
|
|
184
184
|
},
|
|
185
|
+
// Shows "*Required" indicator next to placeholder with different styling
|
|
186
|
+
required: {
|
|
187
|
+
type: Boolean,
|
|
188
|
+
default: !1
|
|
189
|
+
},
|
|
185
190
|
// Use this with taggable = false, multiple = false, showTags = false to allow for adding options without tags.
|
|
186
191
|
useAddTagsOnly: {
|
|
187
192
|
type: Boolean,
|
|
@@ -198,7 +203,7 @@ const q = L({
|
|
|
198
203
|
},
|
|
199
204
|
emits: ["update:model-value"],
|
|
200
205
|
setup(l, { slots: v, emit: o }) {
|
|
201
|
-
const { t: s } = P(), r = n(null), f = n(null), t = n(l.modelValue), p = n(""), d = n(!1), c = n([]), y = a(() => Array.isArray(l.options) ? l.options.length : 0), h = a(() => !!v.action), m = a(() => l.noResultMessage || s("HC_PRESS_ENTER_TO_CREATE_A_TAG")), S = a(() => l.tagPlaceholder || s("HC_PRESS_ENTER_TO_CREATE_A_TAG")),
|
|
206
|
+
const { t: s } = P(), r = n(null), f = n(null), t = n(l.modelValue), p = n(""), d = n(!1), c = n([]), y = a(() => Array.isArray(l.options) ? l.options.length : 0), h = a(() => !!v.action), m = a(() => l.noResultMessage || s("HC_PRESS_ENTER_TO_CREATE_A_TAG")), S = a(() => l.tagPlaceholder || s("HC_PRESS_ENTER_TO_CREATE_A_TAG")), B = a(() => l.noOptionsMessage || s("HC_LIST_IS_EMPTY")), b = a(() => y.value === t.value.length ? s("HC_ALL") : t.value.length > 1 ? s("HC_MULTIPLE_SELECTED") : t.value[0].label || t.value[0].name || ""), _ = a(() => l.taggable || l.showTags), T = a(() => !!(l.groupValues && l.groupLabel && l.groupSelectable)), E = (e) => {
|
|
202
207
|
o("update:model-value", e);
|
|
203
208
|
}, A = (e) => {
|
|
204
209
|
p.value = e;
|
|
@@ -255,10 +260,10 @@ const q = L({
|
|
|
255
260
|
// computed
|
|
256
261
|
hasAction: h,
|
|
257
262
|
noResultsText: m,
|
|
258
|
-
noOptionsText:
|
|
263
|
+
noOptionsText: B,
|
|
259
264
|
noTagFound: S,
|
|
260
265
|
selectedCount: y,
|
|
261
|
-
selectedText:
|
|
266
|
+
selectedText: b,
|
|
262
267
|
useTags: _,
|
|
263
268
|
enableGroupSelect: T,
|
|
264
269
|
addTag: O,
|
|
@@ -273,5 +278,5 @@ const q = L({
|
|
|
273
278
|
}
|
|
274
279
|
});
|
|
275
280
|
export {
|
|
276
|
-
|
|
281
|
+
N as default
|
|
277
282
|
};
|
package/dist/index171.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import st from "./
|
|
1
|
+
import st from "./index209.js";
|
|
2
2
|
import { reactive as V, watch as h, ref as g, defineComponent as Z, useSlots as H, h as K, Fragment as at, inject as ct, computed as A, toRaw as lt, unref as x } from "vue";
|
|
3
|
-
import { unrefElement as ut, useIntersectionObserver as ft, useEventListener as m } from "./
|
|
4
|
-
import { tryOnUnmounted as pt, isObject as yt } from "./
|
|
5
|
-
import D, { getFrameData as dt } from "./
|
|
6
|
-
import { complex as $ } from "./
|
|
7
|
-
import { number as mt, alpha as C, scale as j } from "./
|
|
8
|
-
import { filter as P } from "./
|
|
9
|
-
import { px as c, progressPercentage as F, degrees as O } from "./
|
|
10
|
-
import { color as b } from "./
|
|
11
|
-
import { inertia as bt } from "./
|
|
12
|
-
import { animate as ht } from "./
|
|
13
|
-
import { velocityPerSecond as vt } from "./
|
|
14
|
-
import { cubicBezier as gt } from "./
|
|
15
|
-
import { bounceOut as Ot, bounceInOut as Tt, bounceIn as At, anticipate as xt, backOut as jt, backInOut as Vt, backIn as St, circOut as Ct, circInOut as Et, circIn as Nt, easeOut as Pt, easeInOut as _t, easeIn as wt, linear as Rt } from "./
|
|
3
|
+
import { unrefElement as ut, useIntersectionObserver as ft, useEventListener as m } from "./index210.js";
|
|
4
|
+
import { tryOnUnmounted as pt, isObject as yt } from "./index211.js";
|
|
5
|
+
import D, { getFrameData as dt } from "./index212.js";
|
|
6
|
+
import { complex as $ } from "./index213.js";
|
|
7
|
+
import { number as mt, alpha as C, scale as j } from "./index214.js";
|
|
8
|
+
import { filter as P } from "./index215.js";
|
|
9
|
+
import { px as c, progressPercentage as F, degrees as O } from "./index216.js";
|
|
10
|
+
import { color as b } from "./index217.js";
|
|
11
|
+
import { inertia as bt } from "./index218.js";
|
|
12
|
+
import { animate as ht } from "./index219.js";
|
|
13
|
+
import { velocityPerSecond as vt } from "./index220.js";
|
|
14
|
+
import { cubicBezier as gt } from "./index221.js";
|
|
15
|
+
import { bounceOut as Ot, bounceInOut as Tt, bounceIn as At, anticipate as xt, backOut as jt, backInOut as Vt, backIn as St, circOut as Ct, circInOut as Et, circIn as Nt, easeOut as Pt, easeInOut as _t, easeIn as wt, linear as Rt } from "./index222.js";
|
|
16
16
|
const R = {};
|
|
17
17
|
class Mt {
|
|
18
18
|
subscriptions = /* @__PURE__ */ new Set();
|
package/dist/index172.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import g from "./
|
|
1
|
+
import g from "./index202.js";
|
|
2
2
|
import { DomHandler as f, ObjectUtils as d } from "./index169.js";
|
|
3
|
-
import v from "./
|
|
4
|
-
import S from "./
|
|
3
|
+
import v from "./index203.js";
|
|
4
|
+
import S from "./index204.js";
|
|
5
5
|
import { resolveDirective as A, createElementBlock as h, openBlock as p, mergeProps as b, Fragment as E, renderList as O, withDirectives as w, renderSlot as x, normalizeClass as K, createElementVNode as I, toDisplayString as D } from "vue";
|
|
6
6
|
var V = {
|
|
7
7
|
name: "BaseSelectButton",
|
package/dist/index175.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createVNode as s, ref as k, watchEffect as Y, onMounted as me, watch as nt, computed as A, toRef as at, inject as ge, shallowRef as lt, defineComponent as ot, provide as ye, onUnmounted as rt, isVNode as st, Teleport as it, Transition as ut, createElementBlock as be, openBlock as we, createElementVNode as Z, h as Ye } from "vue";
|
|
2
|
-
import { format as Ce } from "./
|
|
3
|
-
import { parse as ct } from "./
|
|
4
|
-
import { getWeek as Ie } from "./
|
|
5
|
-
import dt from "./
|
|
2
|
+
import { format as Ce } from "./index205.js";
|
|
3
|
+
import { parse as ct } from "./index206.js";
|
|
4
|
+
import { getWeek as Ie } from "./index207.js";
|
|
5
|
+
import dt from "./index208.js";
|
|
6
6
|
var ft = Object.defineProperty, pt = Object.defineProperties, vt = Object.getOwnPropertyDescriptors, le = Object.getOwnPropertySymbols, Ue = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable, Se = (t, e, n) => e in t ? ft(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, M = (t, e) => {
|
|
7
7
|
for (var n in e || (e = {}))
|
|
8
8
|
Ue.call(e, n) && Se(t, n, e[n]);
|
package/dist/index182.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import A from "./
|
|
2
|
-
import O from "./
|
|
3
|
-
import V from "./
|
|
4
|
-
import R from "./
|
|
5
|
-
import j from "./
|
|
6
|
-
import K from "./
|
|
7
|
-
import H from "./
|
|
1
|
+
import A from "./index231.js";
|
|
2
|
+
import O from "./index232.js";
|
|
3
|
+
import V from "./index226.js";
|
|
4
|
+
import R from "./index233.js";
|
|
5
|
+
import j from "./index234.js";
|
|
6
|
+
import K from "./index235.js";
|
|
7
|
+
import H from "./index202.js";
|
|
8
8
|
import { DomHandler as w } from "./index169.js";
|
|
9
|
-
import W from "./
|
|
10
|
-
import G from "./
|
|
11
|
-
import Y from "./
|
|
9
|
+
import W from "./index203.js";
|
|
10
|
+
import G from "./index236.js";
|
|
11
|
+
import Y from "./index237.js";
|
|
12
12
|
import { resolveComponent as y, createElementBlock as f, openBlock as o, Fragment as U, renderList as E, mergeProps as r, createElementVNode as h, createVNode as L, toDisplayString as F, normalizeClass as B, withCtx as C, createBlock as m, resolveDynamicComponent as b, resolveDirective as Z, createCommentVNode as v, renderSlot as g, withDirectives as M, withKeys as T, createTextVNode as z } from "vue";
|
|
13
13
|
var q = {
|
|
14
14
|
name: "BaseFileUpload",
|
package/dist/index184.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import q from "./
|
|
2
|
-
import X from "./
|
|
1
|
+
import q from "./index223.js";
|
|
2
|
+
import X from "./index224.js";
|
|
3
3
|
import { ZIndexUtils as T, DomHandler as c, UniqueComponentId as k, ObjectUtils as $ } from "./index169.js";
|
|
4
|
-
import O from "./
|
|
5
|
-
import Y from "./
|
|
6
|
-
import J from "./
|
|
7
|
-
import L from "./
|
|
8
|
-
import H from "./
|
|
9
|
-
import M from "./
|
|
4
|
+
import O from "./index203.js";
|
|
5
|
+
import Y from "./index225.js";
|
|
6
|
+
import J from "./index226.js";
|
|
7
|
+
import L from "./index202.js";
|
|
8
|
+
import H from "./index227.js";
|
|
9
|
+
import M from "./index228.js";
|
|
10
10
|
import { resolveDirective as C, createElementBlock as d, openBlock as s, mergeProps as l, createElementVNode as b, createCommentVNode as h, withDirectives as y, createBlock as f, resolveDynamicComponent as p, Fragment as U, renderList as G, resolveComponent as A, createVNode as z, withCtx as D, Transition as Q } from "vue";
|
|
11
|
-
import ee from "./
|
|
12
|
-
import te from "./
|
|
11
|
+
import ee from "./index229.js";
|
|
12
|
+
import te from "./index230.js";
|
|
13
13
|
var ie = {
|
|
14
14
|
name: "BaseGalleria",
|
|
15
15
|
extends: O,
|
package/dist/index190.js
CHANGED
|
@@ -5,27 +5,27 @@ import at from "./index240.js";
|
|
|
5
5
|
import ut from "./index241.js";
|
|
6
6
|
import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as W, ConnectedOverlayScrollHandler as st, ZIndexUtils as ce } from "./index169.js";
|
|
7
7
|
import dt from "./index242.js";
|
|
8
|
-
import F from "./
|
|
8
|
+
import F from "./index203.js";
|
|
9
9
|
import ct from "./index243.js";
|
|
10
|
-
import We from "./
|
|
11
|
-
import Ue from "./
|
|
10
|
+
import We from "./index229.js";
|
|
11
|
+
import Ue from "./index228.js";
|
|
12
12
|
import { mergeProps as f, resolveComponent as R, createBlock as w, openBlock as u, withCtx as k, createCommentVNode as v, resolveDynamicComponent as C, normalizeClass as S, resolveDirective as qe, createElementBlock as p, withDirectives as q, toDisplayString as H, Fragment as P, createTextVNode as Xe, createElementVNode as T, withModifiers as Je, renderList as B, createVNode as z, normalizeProps as ue, guardReactiveProps as fe, Transition as ft, withKeys as me, renderSlot as O, createSlots as Ce } from "vue";
|
|
13
13
|
import mt from "./index244.js";
|
|
14
14
|
import pe from "./index245.js";
|
|
15
15
|
import ht from "./index246.js";
|
|
16
|
-
import pt from "./
|
|
16
|
+
import pt from "./index226.js";
|
|
17
17
|
import K from "./index247.js";
|
|
18
|
-
import gt from "./
|
|
18
|
+
import gt from "./index202.js";
|
|
19
19
|
import Ze from "./index248.js";
|
|
20
20
|
import yt from "./index249.js";
|
|
21
|
-
import wt from "./
|
|
21
|
+
import wt from "./index231.js";
|
|
22
22
|
import vt from "./index250.js";
|
|
23
|
-
import bt from "./
|
|
23
|
+
import bt from "./index223.js";
|
|
24
24
|
import Ct from "./index251.js";
|
|
25
25
|
import Rt from "./index252.js";
|
|
26
|
-
import St from "./
|
|
26
|
+
import St from "./index232.js";
|
|
27
27
|
import Pt from "./index253.js";
|
|
28
|
-
import Et from "./
|
|
28
|
+
import Et from "./index224.js";
|
|
29
29
|
import Re from "./index254.js";
|
|
30
30
|
import Se from "./index255.js";
|
|
31
31
|
import Pe from "./index256.js";
|
package/dist/index191.js
CHANGED
package/dist/index192.js
CHANGED
package/dist/index193.js
CHANGED
package/dist/index20.js
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as
|
|
1
|
+
import c from "./index95.js";
|
|
2
|
+
import { resolveComponent as n, createElementBlock as d, openBlock as i, createVNode as l, createCommentVNode as m, normalizeClass as u, withCtx as s, createTextVNode as f, createElementVNode as k, toDisplayString as t } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
import v from "./index62.js";
|
|
5
|
+
const $ = { class: "q-date-picker" }, b = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "custom-placeholder"
|
|
8
|
+
}, C = { class: "required-indicator" };
|
|
9
|
+
function g(e, o, y, h, q, D) {
|
|
10
|
+
const r = n("q-icon"), p = n("date-picker", !0);
|
|
11
|
+
return i(), d("div", $, [
|
|
12
|
+
l(p, {
|
|
10
13
|
id: e.id,
|
|
11
14
|
value: e.value,
|
|
12
15
|
"onUpdate:value": o[0] || (o[0] = (a) => e.value = a),
|
|
13
16
|
"append-to-body": !1,
|
|
14
|
-
class:
|
|
17
|
+
class: u([
|
|
15
18
|
`date-picker-${e.size}`,
|
|
16
19
|
`date-picker-on-${e.calendarPosition}`,
|
|
17
20
|
{ open: e.isOpen }
|
|
@@ -21,7 +24,7 @@ function u(e, o, k, b, v, $) {
|
|
|
21
24
|
"disabled-date": e.disabledDates,
|
|
22
25
|
format: e.format,
|
|
23
26
|
lang: e.locale,
|
|
24
|
-
placeholder: e.placeholder,
|
|
27
|
+
placeholder: e.required ? "" : e.placeholder,
|
|
25
28
|
range: e.range,
|
|
26
29
|
type: e.type,
|
|
27
30
|
ref: "datePicker",
|
|
@@ -29,25 +32,29 @@ function u(e, o, k, b, v, $) {
|
|
|
29
32
|
onClose: o[2] || (o[2] = (a) => e.isOpen = !1),
|
|
30
33
|
onOpen: o[3] || (o[3] = (a) => e.isOpen = !0)
|
|
31
34
|
}, {
|
|
32
|
-
"icon-clear":
|
|
33
|
-
l(
|
|
35
|
+
"icon-clear": s(() => [
|
|
36
|
+
l(r, {
|
|
34
37
|
icon: "close",
|
|
35
38
|
type: "",
|
|
36
|
-
color: "inkwell-
|
|
39
|
+
color: "inkwell-10",
|
|
37
40
|
size: "sm"
|
|
38
41
|
})
|
|
39
42
|
]),
|
|
40
|
-
"icon-calendar":
|
|
41
|
-
l(
|
|
43
|
+
"icon-calendar": s(() => [
|
|
44
|
+
l(r, {
|
|
42
45
|
icon: "calendar",
|
|
43
|
-
color: "inkwell-
|
|
46
|
+
color: "inkwell-10"
|
|
44
47
|
})
|
|
45
48
|
]),
|
|
46
49
|
_: 1
|
|
47
|
-
}, 8, ["id", "value", "class", "clearable", "disabled", "disabled-date", "format", "lang", "placeholder", "range", "type"])
|
|
50
|
+
}, 8, ["id", "value", "class", "clearable", "disabled", "disabled-date", "format", "lang", "placeholder", "range", "type"]),
|
|
51
|
+
e.showCustomPlaceholder ? (i(), d("div", b, [
|
|
52
|
+
f(t(e.placeholder), 1),
|
|
53
|
+
k("span", C, " *" + t(e.$t("HC_REQUIRED")), 1)
|
|
54
|
+
])) : m("", !0)
|
|
48
55
|
]);
|
|
49
56
|
}
|
|
50
|
-
const
|
|
57
|
+
const N = /* @__PURE__ */ v(c, [["render", g], ["__scopeId", "data-v-3742f0c0"]]);
|
|
51
58
|
export {
|
|
52
|
-
|
|
59
|
+
N as default
|
|
53
60
|
};
|
package/dist/index201.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Extension as u, isNodeEmpty as w, callOrReturn as v, getExtensionField as S, isNodeSelection as P } from "./index259.js";
|
|
2
2
|
import { Plugin as p, PluginKey as m } from "./index274.js";
|
|
3
|
-
import { dropCursor as z } from "./
|
|
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 "./
|
|
3
|
+
import { dropCursor as z } from "./index297.js";
|
|
4
|
+
import { Decoration as g, DecorationSet as f } from "./index294.js";
|
|
5
|
+
import { gapCursor as N } from "./index298.js";
|
|
6
|
+
import { history as E, redo as M, undo as O } from "./index299.js";
|
|
7
7
|
u.create({
|
|
8
8
|
name: "characterCount",
|
|
9
9
|
addOptions() {
|
package/dist/index202.js
CHANGED
|
@@ -1,35 +1,90 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { DomHandler as r } from "./index169.js";
|
|
2
|
+
import p from "./index275.js";
|
|
3
|
+
import c from "./index276.js";
|
|
4
|
+
var f = p.extend({
|
|
5
|
+
style: c
|
|
6
|
+
});
|
|
7
|
+
function m(e) {
|
|
8
|
+
return b(e) || y(e) || v(e) || h();
|
|
6
9
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
r[o],
|
|
18
|
-
(e ? `${e}.` : "") + o.toString(),
|
|
19
|
-
f
|
|
20
|
-
) : r[o] = i));
|
|
10
|
+
function h() {
|
|
11
|
+
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
12
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
13
|
+
}
|
|
14
|
+
function v(e, t) {
|
|
15
|
+
if (e) {
|
|
16
|
+
if (typeof e == "string") return a(e, t);
|
|
17
|
+
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
18
|
+
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
19
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return a(e, t);
|
|
21
20
|
}
|
|
22
|
-
return r;
|
|
23
21
|
}
|
|
24
|
-
function
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
);
|
|
22
|
+
function y(e) {
|
|
23
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
24
|
+
}
|
|
25
|
+
function b(e) {
|
|
26
|
+
if (Array.isArray(e)) return a(e);
|
|
29
27
|
}
|
|
30
|
-
|
|
28
|
+
function a(e, t) {
|
|
29
|
+
(t == null || t > e.length) && (t = e.length);
|
|
30
|
+
for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];
|
|
31
|
+
return o;
|
|
32
|
+
}
|
|
33
|
+
var E = f.extend("ripple", {
|
|
34
|
+
mounted: function(t) {
|
|
35
|
+
var n, o = t == null || (n = t.$instance) === null || n === void 0 ? void 0 : n.$primevueConfig;
|
|
36
|
+
o && o.ripple && (this.create(t), this.bindEvents(t), t.setAttribute("data-pd-ripple", !0));
|
|
37
|
+
},
|
|
38
|
+
unmounted: function(t) {
|
|
39
|
+
this.remove(t);
|
|
40
|
+
},
|
|
41
|
+
timeout: void 0,
|
|
42
|
+
methods: {
|
|
43
|
+
bindEvents: function(t) {
|
|
44
|
+
t.addEventListener("mousedown", this.onMouseDown.bind(this));
|
|
45
|
+
},
|
|
46
|
+
unbindEvents: function(t) {
|
|
47
|
+
t.removeEventListener("mousedown", this.onMouseDown.bind(this));
|
|
48
|
+
},
|
|
49
|
+
create: function(t) {
|
|
50
|
+
var n = r.createElement("span", {
|
|
51
|
+
role: "presentation",
|
|
52
|
+
"aria-hidden": !0,
|
|
53
|
+
"data-p-ink": !0,
|
|
54
|
+
"data-p-ink-active": !1,
|
|
55
|
+
class: !this.isUnstyled() && this.cx("root"),
|
|
56
|
+
onAnimationEnd: this.onAnimationEnd.bind(this),
|
|
57
|
+
"p-bind": this.ptm("root")
|
|
58
|
+
});
|
|
59
|
+
t.appendChild(n), this.$el = n;
|
|
60
|
+
},
|
|
61
|
+
remove: function(t) {
|
|
62
|
+
var n = this.getInk(t);
|
|
63
|
+
n && (this.unbindEvents(t), n.removeEventListener("animationend", this.onAnimationEnd), n.remove());
|
|
64
|
+
},
|
|
65
|
+
onMouseDown: function(t) {
|
|
66
|
+
var n = this, o = t.currentTarget, i = this.getInk(o);
|
|
67
|
+
if (!(!i || getComputedStyle(i, null).display === "none")) {
|
|
68
|
+
if (!this.isUnstyled() && r.removeClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"), !r.getHeight(i) && !r.getWidth(i)) {
|
|
69
|
+
var s = Math.max(r.getOuterWidth(o), r.getOuterHeight(o));
|
|
70
|
+
i.style.height = s + "px", i.style.width = s + "px";
|
|
71
|
+
}
|
|
72
|
+
var u = r.getOffset(o), d = t.pageX - u.left + document.body.scrollTop - r.getWidth(i) / 2, l = t.pageY - u.top + document.body.scrollLeft - r.getHeight(i) / 2;
|
|
73
|
+
i.style.top = l + "px", i.style.left = d + "px", !this.isUnstyled() && r.addClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
|
|
74
|
+
i && (!n.isUnstyled() && r.removeClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"));
|
|
75
|
+
}, 401);
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
onAnimationEnd: function(t) {
|
|
79
|
+
this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && r.removeClass(t.currentTarget, "p-ink-active"), t.currentTarget.setAttribute("data-p-ink-active", "false");
|
|
80
|
+
},
|
|
81
|
+
getInk: function(t) {
|
|
82
|
+
return t && t.children ? m(t.children).find(function(n) {
|
|
83
|
+
return r.getAttribute(n, "data-pc-name") === "ripple";
|
|
84
|
+
}) : void 0;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
});
|
|
31
88
|
export {
|
|
32
|
-
|
|
33
|
-
y as default,
|
|
34
|
-
y as defu
|
|
89
|
+
E as default
|
|
35
90
|
};
|