bitboss-ui 0.1.66 → 0.1.67
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/components/BbTextInput/BbTextInput.vue.d.ts +3 -13
- package/dist/index102.js.map +1 -1
- package/dist/index104.js +1 -1
- package/dist/index106.js +2 -2
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index119.js +1 -1
- package/dist/index12.js +8 -8
- package/dist/index120.js +1 -1
- package/dist/index14.js +9 -9
- package/dist/index16.js +3 -3
- package/dist/index18.js +2 -2
- package/dist/index189.js +5 -2
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +16 -2
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +14 -348
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +19 -2
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +20 -2
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +29 -6
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +8 -331
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +2 -3
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +3 -35
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +3 -3
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +3 -3
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +35 -5
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -16
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +348 -14
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +132 -17
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +2 -20
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +184 -27
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +23 -8
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +323 -126
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +226 -177
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +2 -23
- package/dist/index209.js.map +1 -1
- package/dist/index211.js +2 -235
- package/dist/index211.js.map +1 -1
- package/dist/index213.js +2 -2
- package/dist/index214.js +1 -1
- package/dist/index217.js +294 -10
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +5 -434
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +2 -9
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +2 -89
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +2 -200
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +2 -117
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +2 -106
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +2 -224
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +19 -53
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +253 -74
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +10 -294
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +434 -5
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +9 -2
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +89 -2
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +2 -2
- package/dist/index232.js +117 -2
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +106 -2
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +79 -2
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +200 -2
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +69 -9
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +8 -5
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +6 -2
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +2 -69
- package/dist/index239.js.map +1 -1
- package/dist/index243.js +1 -1
- package/dist/index244.js +1 -1
- package/dist/index26.js +2 -2
- package/dist/index28.js +5 -5
- package/dist/index62.js +3 -3
- package/dist/index69.js +1 -1
- package/dist/index72.js +1 -1
- package/dist/index74.js +1 -1
- package/dist/index76.js +3 -3
- package/dist/index96.js +2 -2
- package/dist/index98.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Simplify } from '../../types/Simplify';
|
|
2
1
|
import { BaseInputContainerSlots } from "../BaseInputContainer/BaseInputContainer.vue";
|
|
3
2
|
import type { BaseTextInputEvents, BaseTextInputSlots } from "../BaseTextInput/BaseTextInput.vue";
|
|
4
3
|
export interface BbTextInputProps {
|
|
@@ -17,10 +16,10 @@ export interface BbTextInputProps {
|
|
|
17
16
|
placeholder?: string;
|
|
18
17
|
readonly?: boolean;
|
|
19
18
|
reverse?: boolean;
|
|
20
|
-
type?: HTMLInputElement[
|
|
19
|
+
type?: HTMLInputElement["type"];
|
|
21
20
|
}
|
|
22
21
|
export type BbTextInputEvents = BaseTextInputEvents;
|
|
23
|
-
export type BbTextInputSlots =
|
|
22
|
+
export type BbTextInputSlots = BaseTextInputSlots & Pick<BaseInputContainerSlots, "label">;
|
|
24
23
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<BbTextInputProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
24
|
blur: (event: FocusEvent) => void;
|
|
26
25
|
change: (event: Event) => void;
|
|
@@ -41,16 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
41
40
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
42
41
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
43
42
|
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
44
|
-
}, {}, {}>, Readonly<
|
|
45
|
-
'prepend-outer'?: ((props: {}) => any) | undefined;
|
|
46
|
-
prepend?: ((props: {}) => any) | undefined;
|
|
47
|
-
append?: ((props: {}) => any) | undefined;
|
|
48
|
-
'append-outer'?: ((props: {}) => any) | undefined;
|
|
49
|
-
label?: ((props: {
|
|
50
|
-
text: string;
|
|
51
|
-
hasErrors: boolean;
|
|
52
|
-
}) => any) | undefined;
|
|
53
|
-
}>>;
|
|
43
|
+
}, {}, {}>, Readonly<BaseTextInputSlots & Pick<BaseInputContainerSlots, "label">>>;
|
|
54
44
|
export default _default;
|
|
55
45
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
46
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
package/dist/index102.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index102.js","sources":["../src/components/BbTextInput/BbTextInput.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { Simplify } from \"@/types/Simplify\";\nimport BaseInputContainer, {\n BaseInputContainerSlots,\n} from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseTextInput from \"../BaseTextInput/BaseTextInput.vue\";\nimport type {\n BaseTextInputEvents,\n BaseTextInputSlots,\n} from \"../BaseTextInput/BaseTextInput.vue\";\n\nexport interface BbTextInputProps {\n autocomplete?: string;\n autofocus?: boolean;\n direction?: \"horizontal\" | \"vertical\" | \"auto\" | string;\n disabled?: boolean;\n errors?: string | string[];\n hasErrors?: boolean;\n hideLabel?: boolean;\n id?: string;\n label: string;\n labelPosition?: \"left\" | \"center\" | \"right\";\n modelValue?: any;\n name?: string;\n placeholder?: string;\n readonly?: boolean;\n reverse?: boolean;\n type?: HTMLInputElement[
|
|
1
|
+
{"version":3,"file":"index102.js","sources":["../src/components/BbTextInput/BbTextInput.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { Simplify } from \"@/types/Simplify\";\nimport BaseInputContainer, {\n BaseInputContainerSlots,\n} from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseTextInput from \"../BaseTextInput/BaseTextInput.vue\";\nimport type {\n BaseTextInputEvents,\n BaseTextInputSlots,\n} from \"../BaseTextInput/BaseTextInput.vue\";\n\nexport interface BbTextInputProps {\n autocomplete?: string;\n autofocus?: boolean;\n direction?: \"horizontal\" | \"vertical\" | \"auto\" | string;\n disabled?: boolean;\n errors?: string | string[];\n hasErrors?: boolean;\n hideLabel?: boolean;\n id?: string;\n label: string;\n labelPosition?: \"left\" | \"center\" | \"right\";\n modelValue?: any;\n name?: string;\n placeholder?: string;\n readonly?: boolean;\n reverse?: boolean;\n type?: HTMLInputElement[\"type\"];\n}\n\nexport type BbTextInputEvents = BaseTextInputEvents;\nexport type BbTextInputSlots = BaseTextInputSlots &\n Pick<BaseInputContainerSlots, \"label\">;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTextInput',\n props: {\n autocomplete: {},\n autofocus: { type: Boolean },\n direction: {},\n disabled: { type: Boolean },\n errors: {},\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n label: {},\n labelPosition: {},\n modelValue: {},\n name: {},\n placeholder: {},\n readonly: { type: Boolean },\n reverse: { type: Boolean },\n type: {}\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\n/**\n * These events are just propagated\n */\nconst eventListeners = {\n onBlur: (event: FocusEvent) => emit(\"blur\", event),\n onChange: (event: Event) => emit(\"change\", event),\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus: (event: FocusEvent) => emit(\"focus\", event),\n onInput: (event: Event) => emit(\"input\", event),\n onKeydown: (event: KeyboardEvent) => emit(\"keydown\", event),\n onMousedown: (event: MouseEvent) => emit(\"mousedown\", event),\n onMouseup: (event: MouseEvent) => emit(\"mouseup\", event),\n \"onUpdate:modelValue\": (value: string | null) =>\n emit(\"update:modelValue\", value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n class: \"bb-text-input\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n hasErrors: _ctx.hasErrors,\n hideLabel: _ctx.hideLabel,\n id: _ctx.id,\n label: _ctx.label,\n labelPosition: _ctx.labelPosition,\n modelValue: _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseTextInput, _mergeProps({\n autocomplete: _ctx.autocomplete,\n autofocus: _ctx.autofocus,\n disabled: _ctx.disabled,\n hasErrors: hasErrors,\n id: id,\n modelValue: _ctx.modelValue,\n name: name,\n placeholder: _ctx.placeholder,\n readonly: _ctx.readonly,\n type: _ctx.type\n }, eventListeners), {\n \"append-outer\": _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append-outer\")\n ]),\n append: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append\")\n ]),\n prepend: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"prepend\")\n ]),\n \"prepend-outer\": _withCtx(() => [\n _renderSlot(_ctx.$slots, \"prepend-outer\")\n ]),\n _: 2\n }, 1040, [\"autocomplete\", \"autofocus\", \"disabled\", \"hasErrors\", \"id\", \"modelValue\", \"name\", \"placeholder\", \"readonly\", \"type\"])\n ]),\n _: 3\n }, 8, [\"direction\", \"errors\", \"hasErrors\", \"hideLabel\", \"id\", \"label\", \"labelPosition\", \"modelValue\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseTextInput","_mergeProps"],"mappings":"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"}
|
package/dist/index104.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as e, createBlock as o, Teleport as l, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as p, withCtx as u, createElementBlock as d, Fragment as f, renderList as _, unref as r, mergeProps as b } from "vue";
|
|
2
2
|
import { state as k, useToast as C } from "./index4.js";
|
|
3
|
-
import B from "./
|
|
3
|
+
import B from "./index236.js";
|
|
4
4
|
const N = /* @__PURE__ */ s({
|
|
5
5
|
__name: "BbToast",
|
|
6
6
|
props: {
|
package/dist/index106.js
CHANGED
|
@@ -4,8 +4,8 @@ import { useId as j } from "./index118.js";
|
|
|
4
4
|
import { wait as C } from "./index117.js";
|
|
5
5
|
import q from "./index6.js";
|
|
6
6
|
import "./index7.js";
|
|
7
|
-
import { autoUpdate as A } from "./
|
|
8
|
-
import { flip as G, shift as J } from "./
|
|
7
|
+
import { autoUpdate as A } from "./index202.js";
|
|
8
|
+
import { flip as G, shift as J } from "./index207.js";
|
|
9
9
|
const K = /* @__PURE__ */ l("span", { class: "bb-tooltip__arrow" }, null, -1), Q = { class: "bb-tooltip__bubble" }, W = /* @__PURE__ */ l("svg", {
|
|
10
10
|
viewBox: "0 0 24 24",
|
|
11
11
|
fill: "none",
|
package/dist/index111.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, ref as a, watch as s, computed as u, openBlock as c, createElementBlock as p, normalizeProps as d, guardReactiveProps as m, createElementVNode as b, renderSlot as v, createCommentVNode as f } from "vue";
|
|
2
2
|
import { wait as V } from "./index117.js";
|
|
3
|
-
import { throttle as _ } from "./
|
|
3
|
+
import { throttle as _ } from "./index199.js";
|
|
4
4
|
const h = { class: "bb-collapsible__content" }, k = /* @__PURE__ */ i({
|
|
5
5
|
__name: "BbCollapsible",
|
|
6
6
|
props: {
|
package/dist/index113.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
|
|
2
|
-
import { throttle as g } from "./
|
|
2
|
+
import { throttle as g } from "./index199.js";
|
|
3
3
|
const O = /* @__PURE__ */ v({
|
|
4
4
|
__name: "BbSmoothHeight",
|
|
5
5
|
props: {
|
package/dist/index119.js
CHANGED
package/dist/index12.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as de, ref as k, computed as h, watch as ue, openBlock as d, createElementBlock as u, mergeProps as ce, createElementVNode as i, createTextVNode as be, toDisplayString as f, unref as p, withDirectives as L, createVNode as g, Transition as V, withCtx as w, vShow as z, createCommentVNode as A, normalizeClass as x, Fragment as O, renderList as S, renderSlot as R, nextTick as me } from "vue";
|
|
2
|
-
import c from "./
|
|
3
|
-
import fe from "./
|
|
4
|
-
import pe from "./
|
|
5
|
-
import he from "./
|
|
6
|
-
import ye from "./
|
|
7
|
-
import _e from "./
|
|
8
|
-
import { groupBy as W } from "./
|
|
2
|
+
import c from "./index189.js";
|
|
3
|
+
import fe from "./index190.js";
|
|
4
|
+
import pe from "./index191.js";
|
|
5
|
+
import he from "./index192.js";
|
|
6
|
+
import ye from "./index193.js";
|
|
7
|
+
import _e from "./index194.js";
|
|
8
|
+
import { groupBy as W } from "./index195.js";
|
|
9
9
|
import { isNil as ve } from "./index115.js";
|
|
10
|
-
import { last as $ } from "./
|
|
10
|
+
import { last as $ } from "./index196.js";
|
|
11
11
|
const ke = { class: "bb-base-date-picker__header" }, ge = ["disabled"], Ve = /* @__PURE__ */ i("span", null, null, -1), we = {
|
|
12
12
|
class: "bb-base-date-picker__selected-day-label",
|
|
13
13
|
"aria-live": "polite"
|
package/dist/index120.js
CHANGED
package/dist/index14.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as R, ref as l, computed as Y, watch as J, onMounted as Q, onBeforeUnmount as X, openBlock as B, createElementBlock as Z, normalizeClass as C, renderSlot as u, createElementVNode as g, withDirectives as x, mergeProps as T, unref as d, toDisplayString as ee, createBlock as ae, Teleport as te, createVNode as ne, createSlots as oe, renderList as le, withCtx as ie, normalizeProps as re, guardReactiveProps as se } from "vue";
|
|
2
|
-
import { autoUpdate as ue, computePosition as de } from "./
|
|
3
|
-
import ce from "./
|
|
4
|
-
import c from "./
|
|
5
|
-
import fe from "./
|
|
6
|
-
import { identity as pe } from "./
|
|
7
|
-
import { last as me } from "./
|
|
8
|
-
import { vMaska as be } from "./
|
|
2
|
+
import { autoUpdate as ue, computePosition as de } from "./index202.js";
|
|
3
|
+
import ce from "./index203.js";
|
|
4
|
+
import c from "./index189.js";
|
|
5
|
+
import fe from "./index192.js";
|
|
6
|
+
import { identity as pe } from "./index204.js";
|
|
7
|
+
import { last as me } from "./index196.js";
|
|
8
|
+
import { vMaska as be } from "./index205.js";
|
|
9
9
|
import { wait as I } from "./index117.js";
|
|
10
10
|
import ve from "./index12.js";
|
|
11
11
|
import "./index13.js";
|
|
12
|
-
import O from "./
|
|
12
|
+
import O from "./index206.js";
|
|
13
13
|
import { useId as ye } from "./index118.js";
|
|
14
|
-
import { offset as ge, flip as he, shift as ke } from "./
|
|
14
|
+
import { offset as ge, flip as he, shift as ke } from "./index207.js";
|
|
15
15
|
const we = ["autocomplete", "autofocus", "data-maska", "disabled", "id", "name", "placeholder", "readonly", "value", "aria-describedby"], Ee = ["id"], Pe = /* @__PURE__ */ R({
|
|
16
16
|
__name: "BaseDatePickerInput",
|
|
17
17
|
props: {
|
package/dist/index16.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as J, ref as o, useAttrs as Q, computed as m, onMounted as A, onBeforeUnmount as X, watch as Y, nextTick as E, openBlock as y, createBlock as Z, Teleport as ee, createElementVNode as l, mergeProps as H, createElementBlock as V, renderSlot as i, createTextVNode as te, toDisplayString as D, createCommentVNode as M } from "vue";
|
|
2
|
-
import { throttle as oe } from "./
|
|
3
|
-
import { useFocusTrap as le } from "./
|
|
2
|
+
import { throttle as oe } from "./index199.js";
|
|
3
|
+
import { useFocusTrap as le } from "./index200.js";
|
|
4
4
|
import { useId as N } from "./index118.js";
|
|
5
5
|
import { wait as W } from "./index117.js";
|
|
6
|
-
import { waitFor as ae } from "./
|
|
6
|
+
import { waitFor as ae } from "./index201.js";
|
|
7
7
|
const se = { class: "bb-base-dialog-close" }, ne = { class: "bb-base-dialog-close__content" }, ie = { class: "bb-base-dialog-close__label" }, re = /* @__PURE__ */ l("span", { class: "bb-base-dialog-close__icon" }, [
|
|
8
8
|
/* @__PURE__ */ l("svg", {
|
|
9
9
|
viewBox: "0 0 24 24",
|
package/dist/index18.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as $, computed as n, openBlock as i, createElementBlock as b, createBlock as h, resolveDynamicComponent as v, normalizeProps as o, guardReactiveProps as l, withCtx as c, renderSlot as _, createTextVNode as A, toDisplayString as g, createElementVNode as E, unref as z, createVNode as S, Fragment as T, renderList as V } from "vue";
|
|
2
|
-
import { deburr as N } from "./
|
|
2
|
+
import { deburr as N } from "./index197.js";
|
|
3
3
|
import { getAsPercentage as P } from "./index116.js";
|
|
4
|
-
import { snakeCase as D } from "./
|
|
4
|
+
import { snakeCase as D } from "./index198.js";
|
|
5
5
|
import { useId as I } from "./index118.js";
|
|
6
6
|
import F from "./index113.js";
|
|
7
7
|
import "./index174.js";
|
package/dist/index189.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index218.js";
|
|
2
|
+
import { __require as o } from "./index217.js";
|
|
3
|
+
var t = o();
|
|
4
|
+
const s = /* @__PURE__ */ r(t);
|
|
2
5
|
export {
|
|
3
|
-
|
|
6
|
+
s as default
|
|
4
7
|
};
|
|
5
8
|
//# sourceMappingURL=index189.js.map
|
package/dist/index189.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index189.js","sources":[
|
|
1
|
+
{"version":3,"file":"index189.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/index190.js
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index218.js";
|
|
2
|
+
import { __module as e } from "./index220.js";
|
|
3
|
+
(function(s, a) {
|
|
4
|
+
(function(i, t) {
|
|
5
|
+
s.exports = t();
|
|
6
|
+
})(n, function() {
|
|
7
|
+
return function(i, t) {
|
|
8
|
+
t.prototype.isSameOrAfter = function(r, o) {
|
|
9
|
+
return this.isSame(r, o) || this.isAfter(r, o);
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
});
|
|
13
|
+
})(e);
|
|
14
|
+
var m = e.exports;
|
|
15
|
+
const c = /* @__PURE__ */ f(m);
|
|
2
16
|
export {
|
|
3
|
-
|
|
17
|
+
c as default
|
|
4
18
|
};
|
|
5
19
|
//# sourceMappingURL=index190.js.map
|
package/dist/index190.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index190.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index190.js","sources":["../node_modules/dayjs/plugin/isSameOrAfter.js"],"sourcesContent":["!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrAfter=t()}(this,(function(){\"use strict\";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}));"],"names":["e","module","this","t"],"mappings":";;;AAAA,GAAC,SAASA,GAAE,GAAE;AAAsD,IAAAC,EAAe,UAAA,EAAwI;AAAA,EAAA,GAAEC,GAAM,WAAU;AAAc,WAAO,SAASF,GAAE,GAAE;AAAC,QAAE,UAAU,gBAAc,SAASA,GAAEG,GAAE;AAAC,eAAO,KAAK,OAAOH,GAAEG,CAAC,KAAG,KAAK,QAAQH,GAAEG,CAAC;AAAA,MAAC;AAAA,IAAC;AAAA,EAAC,CAAC;;;;","x_google_ignoreList":[0]}
|
package/dist/index191.js
CHANGED
|
@@ -1,353 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
height: i,
|
|
12
|
-
$: r
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function M(t) {
|
|
16
|
-
return y(t) ? t : t.contextElement;
|
|
17
|
-
}
|
|
18
|
-
function L(t) {
|
|
19
|
-
const e = M(t);
|
|
20
|
-
if (!v(e))
|
|
21
|
-
return x(1);
|
|
22
|
-
const o = e.getBoundingClientRect(), {
|
|
23
|
-
width: i,
|
|
24
|
-
height: n,
|
|
25
|
-
$: c
|
|
26
|
-
} = j(e);
|
|
27
|
-
let s = (c ? A(o.width) : o.width) / i, r = (c ? A(o.height) : o.height) / n;
|
|
28
|
-
return (!s || !Number.isFinite(s)) && (s = 1), (!r || !Number.isFinite(r)) && (r = 1), {
|
|
29
|
-
x: s,
|
|
30
|
-
y: r
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
const et = /* @__PURE__ */ x(0);
|
|
34
|
-
function G(t) {
|
|
35
|
-
const e = E(t);
|
|
36
|
-
return !_() || !e.visualViewport ? et : {
|
|
37
|
-
x: e.visualViewport.offsetLeft,
|
|
38
|
-
y: e.visualViewport.offsetTop
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function ot(t, e, o) {
|
|
42
|
-
return e === void 0 && (e = !1), !o || e && o !== E(t) ? !1 : e;
|
|
43
|
-
}
|
|
44
|
-
function O(t, e, o, i) {
|
|
45
|
-
e === void 0 && (e = !1), o === void 0 && (o = !1);
|
|
46
|
-
const n = t.getBoundingClientRect(), c = M(t);
|
|
47
|
-
let s = x(1);
|
|
48
|
-
e && (i ? y(i) && (s = L(i)) : s = L(t));
|
|
49
|
-
const r = ot(c, o, i) ? G(c) : x(0);
|
|
50
|
-
let l = (n.left + r.x) / s.x, f = (n.top + r.y) / s.y, p = n.width / s.x, d = n.height / s.y;
|
|
51
|
-
if (c) {
|
|
52
|
-
const w = E(c), a = i && y(i) ? E(i) : i;
|
|
53
|
-
let g = w.frameElement;
|
|
54
|
-
for (; g && i && a !== w; ) {
|
|
55
|
-
const h = L(g), R = g.getBoundingClientRect(), u = m(g), C = R.left + (g.clientLeft + parseFloat(u.paddingLeft)) * h.x, W = R.top + (g.clientTop + parseFloat(u.paddingTop)) * h.y;
|
|
56
|
-
l *= h.x, f *= h.y, p *= h.x, d *= h.y, l += C, f += W, g = E(g).frameElement;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return U({
|
|
60
|
-
width: p,
|
|
61
|
-
height: d,
|
|
62
|
-
x: l,
|
|
63
|
-
y: f
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
function it(t) {
|
|
67
|
-
let {
|
|
68
|
-
rect: e,
|
|
69
|
-
offsetParent: o,
|
|
70
|
-
strategy: i
|
|
71
|
-
} = t;
|
|
72
|
-
const n = v(o), c = b(o);
|
|
73
|
-
if (o === c)
|
|
74
|
-
return e;
|
|
75
|
-
let s = {
|
|
76
|
-
scrollLeft: 0,
|
|
77
|
-
scrollTop: 0
|
|
78
|
-
}, r = x(1);
|
|
79
|
-
const l = x(0);
|
|
80
|
-
if ((n || !n && i !== "fixed") && ((F(o) !== "body" || z(c)) && (s = N(o)), v(o))) {
|
|
81
|
-
const f = O(o);
|
|
82
|
-
r = L(o), l.x = f.x + o.clientLeft, l.y = f.y + o.clientTop;
|
|
83
|
-
}
|
|
84
|
-
return {
|
|
85
|
-
width: e.width * r.x,
|
|
86
|
-
height: e.height * r.y,
|
|
87
|
-
x: e.x * r.x - s.scrollLeft * r.x + l.x,
|
|
88
|
-
y: e.y * r.y - s.scrollTop * r.y + l.y
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
function nt(t) {
|
|
92
|
-
return Array.from(t.getClientRects());
|
|
93
|
-
}
|
|
94
|
-
function J(t) {
|
|
95
|
-
return O(b(t)).left + N(t).scrollLeft;
|
|
96
|
-
}
|
|
97
|
-
function st(t) {
|
|
98
|
-
const e = b(t), o = N(t), i = t.ownerDocument.body, n = T(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), c = T(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
|
|
99
|
-
let s = -o.scrollLeft + J(t);
|
|
100
|
-
const r = -o.scrollTop;
|
|
101
|
-
return m(i).direction === "rtl" && (s += T(e.clientWidth, i.clientWidth) - n), {
|
|
102
|
-
width: n,
|
|
103
|
-
height: c,
|
|
104
|
-
x: s,
|
|
105
|
-
y: r
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
function rt(t, e) {
|
|
109
|
-
const o = E(t), i = b(t), n = o.visualViewport;
|
|
110
|
-
let c = i.clientWidth, s = i.clientHeight, r = 0, l = 0;
|
|
111
|
-
if (n) {
|
|
112
|
-
c = n.width, s = n.height;
|
|
113
|
-
const f = _();
|
|
114
|
-
(!f || f && e === "fixed") && (r = n.offsetLeft, l = n.offsetTop);
|
|
115
|
-
}
|
|
116
|
-
return {
|
|
117
|
-
width: c,
|
|
118
|
-
height: s,
|
|
119
|
-
x: r,
|
|
120
|
-
y: l
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
function ct(t, e) {
|
|
124
|
-
const o = O(t, !0, e === "fixed"), i = o.top + t.clientTop, n = o.left + t.clientLeft, c = v(t) ? L(t) : x(1), s = t.clientWidth * c.x, r = t.clientHeight * c.y, l = n * c.x, f = i * c.y;
|
|
125
|
-
return {
|
|
126
|
-
width: s,
|
|
127
|
-
height: r,
|
|
128
|
-
x: l,
|
|
129
|
-
y: f
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
function k(t, e, o) {
|
|
133
|
-
let i;
|
|
134
|
-
if (e === "viewport")
|
|
135
|
-
i = rt(t, o);
|
|
136
|
-
else if (e === "document")
|
|
137
|
-
i = st(b(t));
|
|
138
|
-
else if (y(e))
|
|
139
|
-
i = ct(e, o);
|
|
140
|
-
else {
|
|
141
|
-
const n = G(t);
|
|
142
|
-
i = {
|
|
143
|
-
...e,
|
|
144
|
-
x: e.x - n.x,
|
|
145
|
-
y: e.y - n.y
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
return U(i);
|
|
149
|
-
}
|
|
150
|
-
function Q(t, e) {
|
|
151
|
-
const o = V(t);
|
|
152
|
-
return o === e || !y(o) || X(o) ? !1 : m(o).position === "fixed" || Q(o, e);
|
|
153
|
-
}
|
|
154
|
-
function lt(t, e) {
|
|
155
|
-
const o = e.get(t);
|
|
156
|
-
if (o)
|
|
157
|
-
return o;
|
|
158
|
-
let i = I(t, [], !1).filter((r) => y(r) && F(r) !== "body"), n = null;
|
|
159
|
-
const c = m(t).position === "fixed";
|
|
160
|
-
let s = c ? V(t) : t;
|
|
161
|
-
for (; y(s) && !X(s); ) {
|
|
162
|
-
const r = m(s), l = K(s);
|
|
163
|
-
!l && r.position === "fixed" && (n = null), (c ? !l && !n : !l && r.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || z(s) && !l && Q(t, s)) ? i = i.filter((p) => p !== s) : n = r, s = V(s);
|
|
164
|
-
}
|
|
165
|
-
return e.set(t, i), i;
|
|
166
|
-
}
|
|
167
|
-
function ft(t) {
|
|
168
|
-
let {
|
|
169
|
-
element: e,
|
|
170
|
-
boundary: o,
|
|
171
|
-
rootBoundary: i,
|
|
172
|
-
strategy: n
|
|
173
|
-
} = t;
|
|
174
|
-
const s = [...o === "clippingAncestors" ? lt(e, this._c) : [].concat(o), i], r = s[0], l = s.reduce((f, p) => {
|
|
175
|
-
const d = k(e, p, n);
|
|
176
|
-
return f.top = T(d.top, f.top), f.right = H(d.right, f.right), f.bottom = H(d.bottom, f.bottom), f.left = T(d.left, f.left), f;
|
|
177
|
-
}, k(e, r, n));
|
|
178
|
-
return {
|
|
179
|
-
width: l.right - l.left,
|
|
180
|
-
height: l.bottom - l.top,
|
|
181
|
-
x: l.left,
|
|
182
|
-
y: l.top
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
function ut(t) {
|
|
186
|
-
return j(t);
|
|
187
|
-
}
|
|
188
|
-
function ht(t, e, o) {
|
|
189
|
-
const i = v(e), n = b(e), c = o === "fixed", s = O(t, !0, c, e);
|
|
190
|
-
let r = {
|
|
191
|
-
scrollLeft: 0,
|
|
192
|
-
scrollTop: 0
|
|
193
|
-
};
|
|
194
|
-
const l = x(0);
|
|
195
|
-
if (i || !i && !c)
|
|
196
|
-
if ((F(e) !== "body" || z(n)) && (r = N(e)), i) {
|
|
197
|
-
const f = O(e, !0, c, e);
|
|
198
|
-
l.x = f.x + e.clientLeft, l.y = f.y + e.clientTop;
|
|
199
|
-
} else
|
|
200
|
-
n && (l.x = J(n));
|
|
201
|
-
return {
|
|
202
|
-
x: s.left + r.scrollLeft - l.x,
|
|
203
|
-
y: s.top + r.scrollTop - l.y,
|
|
204
|
-
width: s.width,
|
|
205
|
-
height: s.height
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
function q(t, e) {
|
|
209
|
-
return !v(t) || m(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
210
|
-
}
|
|
211
|
-
function Y(t, e) {
|
|
212
|
-
const o = E(t);
|
|
213
|
-
if (!v(t))
|
|
214
|
-
return o;
|
|
215
|
-
let i = q(t, e);
|
|
216
|
-
for (; i && P(i) && m(i).position === "static"; )
|
|
217
|
-
i = q(i, e);
|
|
218
|
-
return i && (F(i) === "html" || F(i) === "body" && m(i).position === "static" && !K(i)) ? o : i || tt(t) || o;
|
|
219
|
-
}
|
|
220
|
-
const at = async function(t) {
|
|
221
|
-
let {
|
|
222
|
-
reference: e,
|
|
223
|
-
floating: o,
|
|
224
|
-
strategy: i
|
|
225
|
-
} = t;
|
|
226
|
-
const n = this.getOffsetParent || Y, c = this.getDimensions;
|
|
227
|
-
return {
|
|
228
|
-
reference: ht(e, await n(o), i),
|
|
229
|
-
floating: {
|
|
230
|
-
x: 0,
|
|
231
|
-
y: 0,
|
|
232
|
-
...await c(o)
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
function dt(t) {
|
|
237
|
-
return m(t).direction === "rtl";
|
|
238
|
-
}
|
|
239
|
-
const gt = {
|
|
240
|
-
convertOffsetParentRelativeRectToViewportRelativeRect: it,
|
|
241
|
-
getDocumentElement: b,
|
|
242
|
-
getClippingRect: ft,
|
|
243
|
-
getOffsetParent: Y,
|
|
244
|
-
getElementRects: at,
|
|
245
|
-
getClientRects: nt,
|
|
246
|
-
getDimensions: ut,
|
|
247
|
-
getScale: L,
|
|
248
|
-
isElement: y,
|
|
249
|
-
isRTL: dt
|
|
250
|
-
};
|
|
251
|
-
function pt(t, e) {
|
|
252
|
-
let o = null, i;
|
|
253
|
-
const n = b(t);
|
|
254
|
-
function c() {
|
|
255
|
-
clearTimeout(i), o && o.disconnect(), o = null;
|
|
256
|
-
}
|
|
257
|
-
function s(r, l) {
|
|
258
|
-
r === void 0 && (r = !1), l === void 0 && (l = 1), c();
|
|
259
|
-
const {
|
|
260
|
-
left: f,
|
|
261
|
-
top: p,
|
|
262
|
-
width: d,
|
|
263
|
-
height: w
|
|
264
|
-
} = t.getBoundingClientRect();
|
|
265
|
-
if (r || e(), !d || !w)
|
|
266
|
-
return;
|
|
267
|
-
const a = B(p), g = B(n.clientWidth - (f + d)), h = B(n.clientHeight - (p + w)), R = B(f), C = {
|
|
268
|
-
rootMargin: -a + "px " + -g + "px " + -h + "px " + -R + "px",
|
|
269
|
-
threshold: T(0, H(1, l)) || 1
|
|
1
|
+
import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index218.js";
|
|
2
|
+
import { __module as t } from "./index221.js";
|
|
3
|
+
(function(s, a) {
|
|
4
|
+
(function(f, o) {
|
|
5
|
+
s.exports = o();
|
|
6
|
+
})(n, function() {
|
|
7
|
+
return function(f, o) {
|
|
8
|
+
o.prototype.isSameOrBefore = function(e, r) {
|
|
9
|
+
return this.isSame(e, r) || this.isBefore(e, r);
|
|
10
|
+
};
|
|
270
11
|
};
|
|
271
|
-
let W = !0;
|
|
272
|
-
function S($) {
|
|
273
|
-
const D = $[0].intersectionRatio;
|
|
274
|
-
if (D !== l) {
|
|
275
|
-
if (!W)
|
|
276
|
-
return s();
|
|
277
|
-
D ? s(!1, D) : i = setTimeout(() => {
|
|
278
|
-
s(!1, 1e-7);
|
|
279
|
-
}, 100);
|
|
280
|
-
}
|
|
281
|
-
W = !1;
|
|
282
|
-
}
|
|
283
|
-
try {
|
|
284
|
-
o = new IntersectionObserver(S, {
|
|
285
|
-
...C,
|
|
286
|
-
// Handle <iframe>s
|
|
287
|
-
root: n.ownerDocument
|
|
288
|
-
});
|
|
289
|
-
} catch {
|
|
290
|
-
o = new IntersectionObserver(S, C);
|
|
291
|
-
}
|
|
292
|
-
o.observe(t);
|
|
293
|
-
}
|
|
294
|
-
return s(!0), c;
|
|
295
|
-
}
|
|
296
|
-
function yt(t, e, o, i) {
|
|
297
|
-
i === void 0 && (i = {});
|
|
298
|
-
const {
|
|
299
|
-
ancestorScroll: n = !0,
|
|
300
|
-
ancestorResize: c = !0,
|
|
301
|
-
elementResize: s = typeof ResizeObserver == "function",
|
|
302
|
-
layoutShift: r = typeof IntersectionObserver == "function",
|
|
303
|
-
animationFrame: l = !1
|
|
304
|
-
} = i, f = M(t), p = n || c ? [...f ? I(f) : [], ...I(e)] : [];
|
|
305
|
-
p.forEach((u) => {
|
|
306
|
-
n && u.addEventListener("scroll", o, {
|
|
307
|
-
passive: !0
|
|
308
|
-
}), c && u.addEventListener("resize", o);
|
|
309
|
-
});
|
|
310
|
-
const d = f && r ? pt(f, o) : null;
|
|
311
|
-
let w = -1, a = null;
|
|
312
|
-
s && (a = new ResizeObserver((u) => {
|
|
313
|
-
let [C] = u;
|
|
314
|
-
C && C.target === f && a && (a.unobserve(e), cancelAnimationFrame(w), w = requestAnimationFrame(() => {
|
|
315
|
-
a && a.observe(e);
|
|
316
|
-
})), o();
|
|
317
|
-
}), f && !l && a.observe(f), a.observe(e));
|
|
318
|
-
let g, h = l ? O(t) : null;
|
|
319
|
-
l && R();
|
|
320
|
-
function R() {
|
|
321
|
-
const u = O(t);
|
|
322
|
-
h && (u.x !== h.x || u.y !== h.y || u.width !== h.width || u.height !== h.height) && o(), h = u, g = requestAnimationFrame(R);
|
|
323
|
-
}
|
|
324
|
-
return o(), () => {
|
|
325
|
-
p.forEach((u) => {
|
|
326
|
-
n && u.removeEventListener("scroll", o), c && u.removeEventListener("resize", o);
|
|
327
|
-
}), d && d(), a && a.disconnect(), a = null, l && cancelAnimationFrame(g);
|
|
328
|
-
};
|
|
329
|
-
}
|
|
330
|
-
const vt = (t, e, o) => {
|
|
331
|
-
const i = /* @__PURE__ */ new Map(), n = {
|
|
332
|
-
platform: gt,
|
|
333
|
-
...o
|
|
334
|
-
}, c = {
|
|
335
|
-
...n.platform,
|
|
336
|
-
_c: i
|
|
337
|
-
};
|
|
338
|
-
return Z(t, e, {
|
|
339
|
-
...n,
|
|
340
|
-
platform: c
|
|
341
12
|
});
|
|
342
|
-
};
|
|
13
|
+
})(t);
|
|
14
|
+
var m = t.exports;
|
|
15
|
+
const c = /* @__PURE__ */ i(m);
|
|
343
16
|
export {
|
|
344
|
-
|
|
345
|
-
vt as computePosition,
|
|
346
|
-
Ct as detectOverflow,
|
|
347
|
-
Et as flip,
|
|
348
|
-
I as getOverflowAncestors,
|
|
349
|
-
Ot as offset,
|
|
350
|
-
gt as platform,
|
|
351
|
-
Tt as shift
|
|
17
|
+
c as default
|
|
352
18
|
};
|
|
353
19
|
//# sourceMappingURL=index191.js.map
|