bitboss-ui 2.0.37 → 2.0.39
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/BaseButton/BaseButton.vue.d.ts +14 -31
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +19 -50
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +28 -244
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +100 -0
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +6 -28
- package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +5 -15
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +30 -31
- package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +4 -14
- package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +4 -14
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +168 -52
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +25 -45
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +10 -35
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +16 -49
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +15 -34
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +28 -247
- package/dist/components/BaseRating/BaseRating.vue.d.ts +15 -46
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +348 -59
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +19 -53
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +15 -46
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +32 -244
- package/dist/components/BaseTag/BaseTag.vue.d.ts +214 -50
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +15 -44
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +13 -30
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +31 -45
- package/dist/components/BbAlert/BbAlert.vue.d.ts +26 -43
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +15 -28
- package/dist/components/BbBadge/BbBadge.vue.d.ts +13 -24
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +51 -66
- package/dist/components/BbButton/BbButton.vue.d.ts +13 -31
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +30 -65
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +36 -279
- package/dist/components/BbChip/BbChip.vue.d.ts +15 -32
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +13 -30
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +124 -0
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +24 -17
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +36 -51
- package/dist/components/BbDialog/BbDialog.vue.d.ts +14 -29
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +169 -193
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +190 -209
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +32 -45
- package/dist/components/BbIcon/BbIcon.vue.d.ts +2 -24
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +27 -50
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +102 -54
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +26 -48
- package/dist/components/BbPagination/BbPagination.vue.d.ts +35 -55
- package/dist/components/BbPopover/BbPopover.vue.d.ts +71 -93
- package/dist/components/BbProgress/BbProgress.vue.d.ts +2 -27
- package/dist/components/BbRadio/BbRadio.vue.d.ts +30 -63
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +38 -281
- package/dist/components/BbRating/BbRating.vue.d.ts +23 -56
- package/dist/components/BbRatio/BbRatio.vue.d.ts +14 -31
- package/dist/components/BbSelect/BbSelect.vue.d.ts +16 -158
- package/dist/components/BbSlider/BbSlider.vue.d.ts +23 -54
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +12 -34
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +2 -24
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +30 -63
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +38 -278
- package/dist/components/BbTab/BbTab.vue.d.ts +92 -107
- package/dist/components/BbTable/BbTable.vue.d.ts +93 -134
- package/dist/components/BbTable/types.d.ts +0 -1
- package/dist/components/BbTag/BbTag.vue.d.ts +13 -46
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +21 -40
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +21 -40
- package/dist/components/BbToast/BbToast.vue.d.ts +3 -24
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +5 -27
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +15 -36
- package/dist/components/BbTree/BbTree.vue.d.ts +9 -29
- package/dist/components/ChipsBox.vue.d.ts +6 -16
- package/dist/components/CommaBox.vue.d.ts +6 -16
- package/dist/components/CommonFloating.vue.d.ts +14 -26
- package/dist/components/CommonInputInnerContainer.vue.d.ts +16 -15
- package/dist/components/CommonInputOuterContainer.vue.d.ts +12 -5
- package/dist/components/ErrorIcon.vue.d.ts +1 -1
- package/dist/components/ListBox.vue.d.ts +30 -47
- package/dist/components/OptionsContainer.vue.d.ts +30 -90
- package/dist/components/Transitions/Slide.vue.d.ts +12 -30
- package/dist/components/Transitions/SlideBack.vue.d.ts +12 -30
- package/dist/composables/useArray.d.ts +0 -1
- package/dist/composables/useBroadcastChannelInstance.d.ts +2 -2
- package/dist/composables/useConfirm.d.ts +0 -1
- package/dist/composables/useOptions.d.ts +0 -1
- package/dist/composables/useRoute.d.ts +0 -1
- package/dist/composables/useRouter.d.ts +0 -1
- package/dist/composables/useToast.d.ts +1 -2
- package/dist/composables/useWizard.d.ts +1 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +142 -136
- package/dist/index100.js +129 -54
- package/dist/index102.js +66 -79
- package/dist/index104.js +85 -280
- package/dist/index106.js +108 -390
- package/dist/index108.js +280 -102
- package/dist/index11.js +1 -1
- package/dist/index110.js +391 -95
- package/dist/index112.js +55 -50
- package/dist/index114.js +106 -23
- package/dist/index116.js +101 -156
- package/dist/index118.js +22 -114
- package/dist/index12.js +6 -6
- package/dist/index120.js +143 -34
- package/dist/index122.js +116 -40
- package/dist/index124.js +36 -31
- package/dist/index125.js +44 -2
- package/dist/index126.js +44 -21
- package/dist/index127.js +47 -2
- package/dist/index128.js +32 -313
- package/dist/index129.js +2 -24
- package/dist/index13.js +1 -1
- package/dist/index130.js +21 -2
- package/dist/index131.js +2 -5
- package/dist/index132.js +315 -7
- package/dist/index133.js +24 -5
- package/dist/index134.js +2 -3
- package/dist/index135.js +5 -3
- package/dist/index136.js +9 -3
- package/dist/index137.js +6 -3
- package/dist/index138.js +1 -1
- package/dist/index139.js +1 -1
- package/dist/index140.js +1 -1
- package/dist/index141.js +1 -1
- package/dist/index142.js +1 -1
- package/dist/index143.js +1 -1
- package/dist/index144.js +1 -1
- package/dist/index145.js +1 -1
- package/dist/index146.js +1 -1
- package/dist/index147.js +1 -1
- package/dist/index148.js +1 -1
- package/dist/index149.js +1 -1
- package/dist/index15.js +122 -117
- package/dist/index150.js +1 -1
- package/dist/index151.js +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.js +1 -1
- package/dist/index154.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.js +1 -1
- package/dist/index159.js +1 -1
- package/dist/index160.js +2 -2
- package/dist/{index177.js → index161.js} +1 -1
- package/dist/index162.js +2 -2
- package/dist/{index166.js → index163.js} +1 -1
- package/dist/index165.js +2 -2
- package/dist/index167.js +2 -2
- package/dist/index169.js +1 -1
- package/dist/index17.js +119 -118
- package/dist/index170.js +2 -2
- package/dist/{index168.js → index171.js} +1 -1
- package/dist/index172.js +3 -2
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +2 -2
- package/dist/index178.js +2 -3
- package/dist/index179.js +1 -1
- package/dist/index180.js +1 -1
- package/dist/index181.js +1 -1
- package/dist/index182.js +1 -1
- package/dist/index183.js +1 -1
- package/dist/index184.js +2 -2
- package/dist/index185.js +5 -0
- package/dist/index186.js +2 -2
- package/dist/index187.js +5 -0
- package/dist/index19.js +121 -211
- package/dist/index190.js +1 -1
- package/dist/index192.js +1 -1
- package/dist/index194.js +1 -1
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index197.js +1 -1
- package/dist/index198.js +3 -2
- package/dist/index199.js +3 -116
- package/dist/index200.js +3 -126
- package/dist/index201.js +3 -5
- package/dist/index202.js +3 -123
- package/dist/index203.js +3 -19
- package/dist/index204.js +2 -16
- package/dist/index205.js +116 -16
- package/dist/index206.js +53 -2
- package/dist/index208.js +12 -34
- package/dist/index209.js +152 -168
- package/dist/index21.js +197 -279
- package/dist/index210.js +83 -5
- package/dist/index212.js +4 -0
- package/dist/index213.js +4 -13
- package/dist/index214.js +2 -5
- package/dist/index215.js +110 -353
- package/dist/index216.js +5 -2
- package/dist/index217.js +125 -4
- package/dist/index218.js +19 -8
- package/dist/index219.js +14 -156
- package/dist/index220.js +16 -84
- package/dist/index221.js +4 -0
- package/dist/index222.js +2 -19
- package/dist/index223.js +40 -26
- package/dist/index224.js +20 -3
- package/dist/index225.js +5 -248
- package/dist/index226.js +5 -52
- package/dist/index227.js +369 -44
- package/dist/index228.js +8 -5
- package/dist/index229.js +19 -49
- package/dist/index23.js +287 -245
- package/dist/index230.js +27 -3
- package/dist/index231.js +3 -7
- package/dist/index232.js +249 -3
- package/dist/index233.js +52 -2
- package/dist/index234.js +44 -2
- package/dist/index235.js +5 -18
- package/dist/index236.js +44 -101
- package/dist/index237.js +5 -0
- package/dist/index238.js +7 -100
- package/dist/index239.js +6 -0
- package/dist/index241.js +2 -10
- package/dist/index242.js +17 -2
- package/dist/index243.js +105 -2
- package/dist/index245.js +100 -23
- package/dist/index247.js +3 -6
- package/dist/index248.js +10 -16
- package/dist/index249.js +2 -3
- package/dist/index25.js +249 -120
- package/dist/index250.js +3 -281
- package/dist/index251.js +12 -6
- package/dist/index252.js +9 -2
- package/dist/index253.js +9 -2
- package/dist/index254.js +17 -2
- package/dist/index255.js +3 -2
- package/dist/index257.js +7 -126
- package/dist/index258.js +3 -430
- package/dist/index259.js +281 -3
- package/dist/index260.js +8 -0
- package/dist/index261.js +2 -7
- package/dist/index262.js +2 -22
- package/dist/index264.js +2 -3
- package/dist/index265.js +2 -12
- package/dist/index266.js +124 -7
- package/dist/index267.js +431 -9
- package/dist/index268.js +174 -15
- package/dist/index269.js +21 -435
- package/dist/index27.js +119 -142
- package/dist/index271.js +2 -200
- package/dist/index273.js +2 -2
- package/dist/index274.js +1 -1
- package/dist/index275.js +1 -1
- package/dist/index276.js +1 -1
- package/dist/index277.js +28 -2
- package/dist/index278.js +21 -27
- package/dist/index280.js +8 -0
- package/dist/index281.js +16 -89
- package/dist/index282.js +3 -224
- package/dist/index283.js +9 -3
- package/dist/index284.js +23 -3
- package/dist/index285.js +88 -210
- package/dist/index286.js +198 -77
- package/dist/index287.js +438 -0
- package/dist/index288.js +126 -65
- package/dist/index289.js +9 -5
- package/dist/index29.js +139 -84
- package/dist/index290.js +3 -2
- package/dist/index291.js +3 -4
- package/dist/index292.js +211 -4
- package/dist/index293.js +223 -58
- package/dist/index294.js +34 -14
- package/dist/index295.js +65 -34
- package/dist/index296.js +2 -47
- package/dist/index297.js +4 -6
- package/dist/index298.js +7 -6
- package/dist/index299.js +10 -18
- package/dist/index300.js +5 -11
- package/dist/index301.js +4 -2
- package/dist/index302.js +4 -480
- package/dist/index303.js +6 -0
- package/dist/index304.js +53 -415
- package/dist/index305.js +6 -46
- package/dist/index306.js +19 -2
- package/dist/index307.js +9 -0
- package/dist/index308.js +81 -0
- package/dist/index31.js +85 -115
- package/dist/index310.js +49 -0
- package/dist/index311.js +4 -0
- package/dist/index313.js +482 -0
- package/dist/index314.js +426 -0
- package/dist/index315.js +49 -0
- package/dist/index316.js +4 -0
- package/dist/index33.js +111 -113
- package/dist/index35.js +114 -366
- package/dist/index37.js +361 -284
- package/dist/index39.js +288 -107
- package/dist/index41.js +114 -121
- package/dist/index43.js +113 -201
- package/dist/index45.js +182 -92
- package/dist/index47.js +110 -78
- package/dist/index49.js +89 -54
- package/dist/index51.js +54 -78
- package/dist/index53.js +83 -61
- package/dist/index55.js +59 -40
- package/dist/index57.js +42 -55
- package/dist/index59.js +53 -106
- package/dist/index6.js +1 -1
- package/dist/index61.js +104 -89
- package/dist/index63.js +61 -88
- package/dist/index65.js +119 -77
- package/dist/index67.js +56 -45
- package/dist/index69.js +79 -54
- package/dist/index7.js +2 -2
- package/dist/index71.js +88 -268
- package/dist/index73.js +49 -148
- package/dist/index75.js +259 -204
- package/dist/index77.js +152 -39
- package/dist/index79.js +224 -0
- package/dist/index8.js +6 -14
- package/dist/index81.js +46 -0
- package/dist/index82.js +116 -166
- package/dist/index84.js +222 -171
- package/dist/index86.js +171 -25
- package/dist/index88.js +177 -84
- package/dist/index9.js +1 -1
- package/dist/index90.js +27 -123
- package/dist/index92.js +47 -51
- package/dist/index94.js +120 -15
- package/dist/index96.js +55 -132
- package/dist/index98.js +15 -105
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +0 -1
- package/dist/types/ExtractGenericFromComputedRef.d.ts +0 -1
- package/dist/types/ExtractGenericFromRef.d.ts +0 -1
- package/dist/utilities/functions/booleanishToBoolean.d.ts +1 -1
- package/dist/utilities/functions/deburr.d.ts +1 -1
- package/dist/utilities/functions/flattenTree.d.ts +1 -1
- package/dist/utilities/functions/groupBy.d.ts +1 -1
- package/dist/utilities/functions/indexBy.d.ts +1 -1
- package/dist/utilities/functions/isHex.d.ts +1 -0
- package/dist/utilities/functions/mapValues.d.ts +1 -1
- package/dist/utilities/functions/millisecondsTo.d.ts +1 -1
- package/dist/utilities/functions/replace.d.ts +1 -1
- package/dist/utilities/functions/retry.d.ts +1 -1
- package/dist/utilities/functions/throttle.d.ts +2 -2
- package/dist/utilities/functions/tryTo.d.ts +0 -1
- package/package.json +29 -29
- package/dist/index121.js +0 -46
- package/dist/index123.js +0 -49
- package/dist/index191.js +0 -5
- package/dist/index193.js +0 -5
- package/dist/index207.js +0 -4
- package/dist/index211.js +0 -45
- package/dist/index244.js +0 -11
- package/dist/index246.js +0 -11
- package/dist/index270.js +0 -129
- package/dist/index279.js +0 -24
- package/dist/index78.js +0 -129
- package/dist/index80.js +0 -238
- /package/dist/{index256.js → index263.js} +0 -0
package/dist/index25.js
CHANGED
@@ -1,132 +1,261 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import { useId as
|
5
|
-
import
|
6
|
-
|
7
|
-
import
|
8
|
-
|
9
|
-
const
|
10
|
-
__name: "
|
1
|
+
import { defineComponent as ae, ref as o, getCurrentInstance as se, computed as m, nextTick as N, useAttrs as ne, onMounted as ie, onBeforeUnmount as F, watch as re, openBlock as k, createBlock as ue, Teleport as de, createElementVNode as a, mergeProps as G, createElementBlock as T, renderSlot as u, createTextVNode as ce, toDisplayString as P, createCommentVNode as z } from "vue";
|
2
|
+
import { throttle as ve } from "./index237.js";
|
3
|
+
import { useFocusTrap as fe } from "./index223.js";
|
4
|
+
import { useId as K } from "./index8.js";
|
5
|
+
import { wait as H } from "./index131.js";
|
6
|
+
import { waitFor as be } from "./index225.js";
|
7
|
+
import { useModalsState as C } from "./index238.js";
|
8
|
+
import { useLogger as pe } from "./index228.js";
|
9
|
+
const me = { class: "bb-base-dialog-close" }, ge = ["aria-label"], De = /* @__PURE__ */ ae({
|
10
|
+
__name: "BaseDialog",
|
11
11
|
props: {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
12
|
+
closeLabel: { default: "Chiudi modale" },
|
13
|
+
compact: { type: Boolean },
|
14
|
+
disabled: { type: Boolean },
|
15
|
+
eager: { type: Boolean },
|
16
|
+
panelClasses: { default: () => [] },
|
17
|
+
overlayClasses: { default: () => [] },
|
18
|
+
persistent: { type: Boolean },
|
19
|
+
showClose: { type: Boolean, default: !0 },
|
20
|
+
title: {},
|
21
|
+
transition: { default: "fade" },
|
22
|
+
transitionDuration: { default: 350 },
|
23
|
+
size: { default: "sm" },
|
24
|
+
description: {},
|
25
|
+
focusTarget: {},
|
26
|
+
fullscreen: { type: Boolean },
|
27
|
+
modelValue: { type: [Boolean, null] }
|
27
28
|
},
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
29
|
+
emits: ["shown", "hidden", "update:modelValue"],
|
30
|
+
setup(U, { emit: j }) {
|
31
|
+
var I, R;
|
32
|
+
const t = U, d = j, _ = `title_${K().id.value}`, B = `description_${K().id.value}`, g = o(null), c = o(null), $ = o(null), y = o(null), v = o(null), s = o(null), f = o(null), q = o(null), L = !!((R = (I = se()) == null ? void 0 : I.proxy) != null && R.$nuxt), h = o(0), J = m(() => {
|
33
|
+
const { openedModals: e } = C();
|
34
|
+
return e.value && e.value === h.value;
|
35
|
+
}), { activate: Q, deactivate: M } = fe($, {
|
36
|
+
initialFocus: t.focusTarget ?? void 0,
|
37
|
+
clickOutsideDeactivates: (e) => e.target === c.value,
|
38
|
+
allowOutsideClick: !0,
|
39
|
+
/* On esc deactivate the trap, return focus and then close the modal */
|
40
|
+
escapeDeactivates: () => (N(() => {
|
41
|
+
d("update:modelValue", !1);
|
42
|
+
}), !0)
|
43
|
+
}), X = ne(), Y = m(() => t.closeLabel);
|
44
|
+
ie(async () => {
|
45
|
+
s.value && (g.value = new ResizeObserver(r), g.value.observe(s.value)), window.addEventListener("resize", r), r(), !(!t.modelValue && !i.value) && (L && !globalThis.document || S());
|
46
|
+
}), F(() => {
|
47
|
+
window.removeEventListener("resize", r);
|
48
|
+
});
|
49
|
+
const V = o(!1), b = o(!1), D = o(!0), p = o(!1), i = o(t.eager || t.modelValue), O = m(() => b.value || p.value), Z = () => {
|
50
|
+
if (!globalThis.document) return;
|
51
|
+
const e = window.innerWidth - document.documentElement.clientWidth;
|
52
|
+
document.body.style.overflow = "hidden", document.body.style.paddingRight = `${e}px`;
|
53
|
+
}, x = () => {
|
54
|
+
globalThis.document && (document.body.style.overflow = "auto", document.body.style.paddingRight = "0px");
|
55
|
+
};
|
56
|
+
F(() => {
|
57
|
+
if (t.modelValue) {
|
58
|
+
const { openedModals: e, modalHasClosed: l } = C();
|
59
|
+
e.value && (l(), h.value = 0, x());
|
60
|
+
}
|
61
|
+
});
|
62
|
+
const S = async () => {
|
63
|
+
if (t.modelValue) {
|
64
|
+
i.value || (i.value = !0, await be(() => !!s.value), await N(), s.value && (g.value = new ResizeObserver(r), g.value.observe(s.value))), D.value = !1, p.value = !1, b.value = !0;
|
65
|
+
const { modalHasOpened: e, openedModals: l } = C();
|
66
|
+
e(), h.value = l.value, Z(), await H(t.transitionDuration), b.value = !1, V.value = !0, d("shown"), Q();
|
67
|
+
} else {
|
68
|
+
M(), b.value = !1, V.value = !1, p.value = !0, await H(t.transitionDuration), p.value = !1, D.value = !0;
|
69
|
+
const { modalHasClosed: e, openedModals: l } = C();
|
70
|
+
e(), h.value = 0, l.value || x(), d("hidden");
|
71
|
+
}
|
72
|
+
};
|
73
|
+
re(
|
74
|
+
() => t.modelValue,
|
75
|
+
() => {
|
76
|
+
!t.modelValue && !i.value || L && !globalThis.document || S();
|
77
|
+
},
|
78
|
+
{ flush: "post" }
|
79
|
+
);
|
80
|
+
const w = (e) => {
|
81
|
+
e.target === c.value && e.preventDefault();
|
82
|
+
}, ee = (e) => {
|
83
|
+
t.disabled || O.value || c.value && e.target === c.value && (t.persistent || d("update:modelValue", !1));
|
84
|
+
}, A = () => {
|
85
|
+
t.disabled || O.value || (M(), d("update:modelValue", !1));
|
86
|
+
}, te = m(() => {
|
87
|
+
const e = [
|
88
|
+
{
|
89
|
+
"bb-base-dialog bb-base-dialog__overlay": !0,
|
90
|
+
"bb-base-dialog--fullscreen": t.fullscreen,
|
91
|
+
"bb-base-dialog--faded": !J.value,
|
92
|
+
"bb-base-dialog--open": V.value,
|
93
|
+
"bb-base-dialog--opening": b.value,
|
94
|
+
"bb-base-dialog--closed": D.value,
|
95
|
+
"bb-base-dialog--closing": p.value,
|
96
|
+
[`bb-base-dialog--transition-${t.transition}`]: !0
|
97
|
+
},
|
98
|
+
t.overlayClasses
|
99
|
+
].flat(), l = {
|
100
|
+
onClick: ee,
|
101
|
+
onScroll: w,
|
102
|
+
onTouchmove: w,
|
103
|
+
onWheel: w,
|
104
|
+
onKeydown: w
|
105
|
+
}, n = {
|
106
|
+
transitionDuration: t.transitionDuration / 1e3 + "s"
|
39
107
|
};
|
40
|
-
return
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
108
|
+
return {
|
109
|
+
class: e,
|
110
|
+
style: n,
|
111
|
+
...l,
|
112
|
+
...X
|
113
|
+
};
|
114
|
+
}), le = m(() => {
|
115
|
+
const e = [
|
116
|
+
{
|
117
|
+
"bb-base-dialog__panel": !0,
|
118
|
+
"bb-base-dialog__panel--compact": t.compact
|
47
119
|
},
|
48
|
-
|
49
|
-
|
50
|
-
|
120
|
+
t.panelClasses
|
121
|
+
].flat(), l = {
|
122
|
+
role: "dialog",
|
123
|
+
"aria-modal": !0
|
51
124
|
};
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
125
|
+
i.value && (t.title && (l["aria-labelledby"] = _), t.description && (l["aria-describedby"] = B));
|
126
|
+
let n;
|
127
|
+
const W = {
|
128
|
+
sm: 384,
|
129
|
+
md: 652,
|
130
|
+
lg: 896
|
131
|
+
};
|
132
|
+
t.fullscreen ? n = "100%" : typeof t.size == "number" ? n = t.size + "px" : t.size in W ? n = W[t.size] + "px" : n = t.size + "px";
|
133
|
+
const oe = {
|
134
|
+
maxWidth: n,
|
135
|
+
transitionDuration: t.transitionDuration / 1e3 + "s"
|
136
|
+
};
|
137
|
+
return {
|
138
|
+
class: e,
|
139
|
+
style: oe,
|
140
|
+
...l
|
65
141
|
};
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
142
|
+
});
|
143
|
+
let E = 0;
|
144
|
+
const r = ve(
|
145
|
+
async () => {
|
146
|
+
if (E++, E === 100) {
|
147
|
+
const { error: e } = pe();
|
148
|
+
e(
|
149
|
+
"Dialog is updating its height too often. Please check the content is reliably sized."
|
150
|
+
);
|
151
|
+
}
|
152
|
+
if (t.fullscreen) {
|
153
|
+
q.value = window.innerHeight;
|
154
|
+
return;
|
155
|
+
}
|
156
|
+
if (v.value && s.value && f.value) {
|
157
|
+
const e = v.value.scrollHeight + s.value.scrollHeight + f.value.scrollHeight + 2;
|
158
|
+
if (y.value && (y.value.style.height = "0px", y.value.style.height = `${e + 2}px`, await H(30), v.value && s.value && f.value)) {
|
159
|
+
const l = v.value.scrollHeight + s.value.scrollHeight + f.value.scrollHeight + 2;
|
160
|
+
e !== l && r();
|
161
|
+
}
|
162
|
+
}
|
163
|
+
},
|
164
|
+
200,
|
165
|
+
{ trailing: !0 }
|
78
166
|
);
|
79
|
-
return (
|
80
|
-
|
81
|
-
"
|
82
|
-
|
83
|
-
}
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
167
|
+
return (e, l) => (k(), ue(de, { to: "body" }, [
|
168
|
+
a("div", G(te.value, {
|
169
|
+
ref_key: "overlay",
|
170
|
+
ref: c
|
171
|
+
}), [
|
172
|
+
a("div", G(le.value, {
|
173
|
+
ref_key: "panel",
|
174
|
+
ref: $
|
175
|
+
}), [
|
176
|
+
i.value ? (k(), T("div", {
|
177
|
+
key: 0,
|
178
|
+
ref_key: "content",
|
179
|
+
ref: y,
|
180
|
+
class: "bb-base-dialog__content"
|
181
|
+
}, [
|
182
|
+
a("div", {
|
183
|
+
ref_key: "header",
|
184
|
+
ref: v,
|
185
|
+
class: "bb-base-dialog__header"
|
186
|
+
}, [
|
187
|
+
u(e.$slots, "header", {
|
188
|
+
close: A,
|
189
|
+
title: e.title,
|
190
|
+
titleId: _
|
191
|
+
}, () => [
|
192
|
+
a("span", {
|
193
|
+
id: _,
|
194
|
+
class: "bb-base-dialog__title"
|
195
|
+
}, [
|
196
|
+
u(e.$slots, "title", { text: e.title }, () => [
|
197
|
+
ce(P(e.title), 1)
|
198
|
+
])
|
199
|
+
]),
|
200
|
+
a("span", me, [
|
201
|
+
e.showClose ? (k(), T("button", {
|
202
|
+
key: 0,
|
203
|
+
"aria-label": Y.value,
|
204
|
+
type: "button",
|
205
|
+
onClick: A
|
206
|
+
}, [
|
207
|
+
u(e.$slots, "close", {}, () => [
|
208
|
+
l[0] || (l[0] = a("span", { class: "bb-base-dialog-close__icon" }, [
|
209
|
+
a("svg", {
|
210
|
+
"aria-hidden": "true",
|
211
|
+
fill: "none",
|
212
|
+
viewBox: "0 0 24 24",
|
213
|
+
xmlns: "http://www.w3.org/2000/svg"
|
214
|
+
}, [
|
215
|
+
a("path", {
|
216
|
+
d: "M23 23L1 1M23 1L1 23",
|
217
|
+
stroke: "currentColor",
|
218
|
+
"stroke-linecap": "round",
|
219
|
+
"stroke-width": "2"
|
220
|
+
})
|
221
|
+
])
|
222
|
+
], -1))
|
223
|
+
])
|
224
|
+
], 8, ge)) : z("", !0)
|
225
|
+
])
|
91
226
|
])
|
92
|
-
]),
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
}, p(a), 1))), 128))
|
123
|
-
]),
|
124
|
-
_: 1
|
125
|
-
})
|
126
|
-
])
|
127
|
-
], 2));
|
227
|
+
], 512),
|
228
|
+
a("div", {
|
229
|
+
ref_key: "body",
|
230
|
+
ref: s,
|
231
|
+
class: "bb-base-dialog__body scrollbar-border"
|
232
|
+
}, [
|
233
|
+
u(e.$slots, "description", {
|
234
|
+
descriptionId: B,
|
235
|
+
text: e.description
|
236
|
+
}, () => [
|
237
|
+
e.description ? (k(), T("div", {
|
238
|
+
key: 0,
|
239
|
+
id: B,
|
240
|
+
class: "bb-base-dialog__description sr-only"
|
241
|
+
}, P(e.description), 1)) : z("", !0)
|
242
|
+
]),
|
243
|
+
u(e.$slots, "default")
|
244
|
+
], 512),
|
245
|
+
l[1] || (l[1] = a("div", { style: { flex: "10000 10000 0%" } }, null, -1)),
|
246
|
+
a("div", {
|
247
|
+
ref_key: "footer",
|
248
|
+
ref: f,
|
249
|
+
class: "bb-base-dialog__footer"
|
250
|
+
}, [
|
251
|
+
u(e.$slots, "footer")
|
252
|
+
], 512)
|
253
|
+
], 512)) : z("", !0)
|
254
|
+
], 16)
|
255
|
+
], 16)
|
256
|
+
]));
|
128
257
|
}
|
129
258
|
});
|
130
259
|
export {
|
131
|
-
|
260
|
+
De as default
|
132
261
|
};
|
package/dist/index250.js
CHANGED
@@ -1,283 +1,5 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
var V;
|
4
|
-
function et() {
|
5
|
-
return V ? U.exports : (V = 1, function(B, K) {
|
6
|
-
(function(C, k) {
|
7
|
-
B.exports = k();
|
8
|
-
})(R, function() {
|
9
|
-
var C = 1e3, k = 6e4, q = 36e5, A = "millisecond", S = "second", w = "minute", _ = "hour", M = "day", T = "week", m = "month", F = "quarter", y = "year", O = "date", J = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(i) {
|
10
|
-
var n = ["th", "st", "nd", "rd"], t = i % 100;
|
11
|
-
return "[" + i + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
|
12
|
-
} }, I = function(i, n, t) {
|
13
|
-
var r = String(i);
|
14
|
-
return !r || r.length >= n ? i : "" + Array(n + 1 - r.length).join(t) + i;
|
15
|
-
}, Q = { s: I, z: function(i) {
|
16
|
-
var n = -i.utcOffset(), t = Math.abs(n), r = Math.floor(t / 60), e = t % 60;
|
17
|
-
return (n <= 0 ? "+" : "-") + I(r, 2, "0") + ":" + I(e, 2, "0");
|
18
|
-
}, m: function i(n, t) {
|
19
|
-
if (n.date() < t.date()) return -i(t, n);
|
20
|
-
var r = 12 * (t.year() - n.year()) + (t.month() - n.month()), e = n.clone().add(r, m), s = t - e < 0, u = n.clone().add(r + (s ? -1 : 1), m);
|
21
|
-
return +(-(r + (t - e) / (s ? e - u : u - e)) || 0);
|
22
|
-
}, a: function(i) {
|
23
|
-
return i < 0 ? Math.ceil(i) || 0 : Math.floor(i);
|
24
|
-
}, p: function(i) {
|
25
|
-
return { M: m, y, w: T, d: M, D: O, h: _, m: w, s: S, ms: A, Q: F }[i] || String(i || "").toLowerCase().replace(/s$/, "");
|
26
|
-
}, u: function(i) {
|
27
|
-
return i === void 0;
|
28
|
-
} }, x = "en", D = {};
|
29
|
-
D[x] = P;
|
30
|
-
var Z = "$isDayjsObject", N = function(i) {
|
31
|
-
return i instanceof L || !(!i || !i[Z]);
|
32
|
-
}, j = function i(n, t, r) {
|
33
|
-
var e;
|
34
|
-
if (!n) return x;
|
35
|
-
if (typeof n == "string") {
|
36
|
-
var s = n.toLowerCase();
|
37
|
-
D[s] && (e = s), t && (D[s] = t, e = s);
|
38
|
-
var u = n.split("-");
|
39
|
-
if (!e && u.length > 1) return i(u[0]);
|
40
|
-
} else {
|
41
|
-
var o = n.name;
|
42
|
-
D[o] = n, e = o;
|
43
|
-
}
|
44
|
-
return !r && e && (x = e), e || !r && x;
|
45
|
-
}, f = function(i, n) {
|
46
|
-
if (N(i)) return i.clone();
|
47
|
-
var t = typeof n == "object" ? n : {};
|
48
|
-
return t.date = i, t.args = arguments, new L(t);
|
49
|
-
}, a = Q;
|
50
|
-
a.l = j, a.i = N, a.w = function(i, n) {
|
51
|
-
return f(i, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
|
52
|
-
};
|
53
|
-
var L = function() {
|
54
|
-
function i(t) {
|
55
|
-
this.$L = j(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[Z] = !0;
|
56
|
-
}
|
57
|
-
var n = i.prototype;
|
58
|
-
return n.parse = function(t) {
|
59
|
-
this.$d = function(r) {
|
60
|
-
var e = r.date, s = r.utc;
|
61
|
-
if (e === null) return /* @__PURE__ */ new Date(NaN);
|
62
|
-
if (a.u(e)) return /* @__PURE__ */ new Date();
|
63
|
-
if (e instanceof Date) return new Date(e);
|
64
|
-
if (typeof e == "string" && !/Z$/i.test(e)) {
|
65
|
-
var u = e.match(E);
|
66
|
-
if (u) {
|
67
|
-
var o = u[2] - 1 || 0, c = (u[7] || "0").substring(0, 3);
|
68
|
-
return s ? new Date(Date.UTC(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, c)) : new Date(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, c);
|
69
|
-
}
|
70
|
-
}
|
71
|
-
return new Date(e);
|
72
|
-
}(t), this.init();
|
73
|
-
}, n.init = function() {
|
74
|
-
var t = this.$d;
|
75
|
-
this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
|
76
|
-
}, n.$utils = function() {
|
77
|
-
return a;
|
78
|
-
}, n.isValid = function() {
|
79
|
-
return this.$d.toString() !== J;
|
80
|
-
}, n.isSame = function(t, r) {
|
81
|
-
var e = f(t);
|
82
|
-
return this.startOf(r) <= e && e <= this.endOf(r);
|
83
|
-
}, n.isAfter = function(t, r) {
|
84
|
-
return f(t) < this.startOf(r);
|
85
|
-
}, n.isBefore = function(t, r) {
|
86
|
-
return this.endOf(r) < f(t);
|
87
|
-
}, n.$g = function(t, r, e) {
|
88
|
-
return a.u(t) ? this[r] : this.set(e, t);
|
89
|
-
}, n.unix = function() {
|
90
|
-
return Math.floor(this.valueOf() / 1e3);
|
91
|
-
}, n.valueOf = function() {
|
92
|
-
return this.$d.getTime();
|
93
|
-
}, n.startOf = function(t, r) {
|
94
|
-
var e = this, s = !!a.u(r) || r, u = a.p(t), o = function(p, $) {
|
95
|
-
var v = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
|
96
|
-
return s ? v : v.endOf(M);
|
97
|
-
}, c = function(p, $) {
|
98
|
-
return a.w(e.toDate()[p].apply(e.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), e);
|
99
|
-
}, h = this.$W, d = this.$M, l = this.$D, b = "set" + (this.$u ? "UTC" : "");
|
100
|
-
switch (u) {
|
101
|
-
case y:
|
102
|
-
return s ? o(1, 0) : o(31, 11);
|
103
|
-
case m:
|
104
|
-
return s ? o(1, d) : o(0, d + 1);
|
105
|
-
case T:
|
106
|
-
var g = this.$locale().weekStart || 0, Y = (h < g ? h + 7 : h) - g;
|
107
|
-
return o(s ? l - Y : l + (6 - Y), d);
|
108
|
-
case M:
|
109
|
-
case O:
|
110
|
-
return c(b + "Hours", 0);
|
111
|
-
case _:
|
112
|
-
return c(b + "Minutes", 1);
|
113
|
-
case w:
|
114
|
-
return c(b + "Seconds", 2);
|
115
|
-
case S:
|
116
|
-
return c(b + "Milliseconds", 3);
|
117
|
-
default:
|
118
|
-
return this.clone();
|
119
|
-
}
|
120
|
-
}, n.endOf = function(t) {
|
121
|
-
return this.startOf(t, !1);
|
122
|
-
}, n.$set = function(t, r) {
|
123
|
-
var e, s = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = u + "Date", e[O] = u + "Date", e[m] = u + "Month", e[y] = u + "FullYear", e[_] = u + "Hours", e[w] = u + "Minutes", e[S] = u + "Seconds", e[A] = u + "Milliseconds", e)[s], c = s === M ? this.$D + (r - this.$W) : r;
|
124
|
-
if (s === m || s === y) {
|
125
|
-
var h = this.clone().set(O, 1);
|
126
|
-
h.$d[o](c), h.init(), this.$d = h.set(O, Math.min(this.$D, h.daysInMonth())).$d;
|
127
|
-
} else o && this.$d[o](c);
|
128
|
-
return this.init(), this;
|
129
|
-
}, n.set = function(t, r) {
|
130
|
-
return this.clone().$set(t, r);
|
131
|
-
}, n.get = function(t) {
|
132
|
-
return this[a.p(t)]();
|
133
|
-
}, n.add = function(t, r) {
|
134
|
-
var e, s = this;
|
135
|
-
t = Number(t);
|
136
|
-
var u = a.p(r), o = function(d) {
|
137
|
-
var l = f(s);
|
138
|
-
return a.w(l.date(l.date() + Math.round(d * t)), s);
|
139
|
-
};
|
140
|
-
if (u === m) return this.set(m, this.$M + t);
|
141
|
-
if (u === y) return this.set(y, this.$y + t);
|
142
|
-
if (u === M) return o(1);
|
143
|
-
if (u === T) return o(7);
|
144
|
-
var c = (e = {}, e[w] = k, e[_] = q, e[S] = C, e)[u] || 1, h = this.$d.getTime() + t * c;
|
145
|
-
return a.w(h, this);
|
146
|
-
}, n.subtract = function(t, r) {
|
147
|
-
return this.add(-1 * t, r);
|
148
|
-
}, n.format = function(t) {
|
149
|
-
var r = this, e = this.$locale();
|
150
|
-
if (!this.isValid()) return e.invalidDate || J;
|
151
|
-
var s = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, l = e.months, b = e.meridiem, g = function($, v, H, W) {
|
152
|
-
return $ && ($[v] || $(r, s)) || H[v].slice(0, W);
|
153
|
-
}, Y = function($) {
|
154
|
-
return a.s(o % 12 || 12, $, "0");
|
155
|
-
}, p = b || function($, v, H) {
|
156
|
-
var W = $ < 12 ? "AM" : "PM";
|
157
|
-
return H ? W.toLowerCase() : W;
|
158
|
-
};
|
159
|
-
return s.replace(G, function($, v) {
|
160
|
-
return v || function(H) {
|
161
|
-
switch (H) {
|
162
|
-
case "YY":
|
163
|
-
return String(r.$y).slice(-2);
|
164
|
-
case "YYYY":
|
165
|
-
return a.s(r.$y, 4, "0");
|
166
|
-
case "M":
|
167
|
-
return h + 1;
|
168
|
-
case "MM":
|
169
|
-
return a.s(h + 1, 2, "0");
|
170
|
-
case "MMM":
|
171
|
-
return g(e.monthsShort, h, l, 3);
|
172
|
-
case "MMMM":
|
173
|
-
return g(l, h);
|
174
|
-
case "D":
|
175
|
-
return r.$D;
|
176
|
-
case "DD":
|
177
|
-
return a.s(r.$D, 2, "0");
|
178
|
-
case "d":
|
179
|
-
return String(r.$W);
|
180
|
-
case "dd":
|
181
|
-
return g(e.weekdaysMin, r.$W, d, 2);
|
182
|
-
case "ddd":
|
183
|
-
return g(e.weekdaysShort, r.$W, d, 3);
|
184
|
-
case "dddd":
|
185
|
-
return d[r.$W];
|
186
|
-
case "H":
|
187
|
-
return String(o);
|
188
|
-
case "HH":
|
189
|
-
return a.s(o, 2, "0");
|
190
|
-
case "h":
|
191
|
-
return Y(1);
|
192
|
-
case "hh":
|
193
|
-
return Y(2);
|
194
|
-
case "a":
|
195
|
-
return p(o, c, !0);
|
196
|
-
case "A":
|
197
|
-
return p(o, c, !1);
|
198
|
-
case "m":
|
199
|
-
return String(c);
|
200
|
-
case "mm":
|
201
|
-
return a.s(c, 2, "0");
|
202
|
-
case "s":
|
203
|
-
return String(r.$s);
|
204
|
-
case "ss":
|
205
|
-
return a.s(r.$s, 2, "0");
|
206
|
-
case "SSS":
|
207
|
-
return a.s(r.$ms, 3, "0");
|
208
|
-
case "Z":
|
209
|
-
return u;
|
210
|
-
}
|
211
|
-
return null;
|
212
|
-
}($) || u.replace(":", "");
|
213
|
-
});
|
214
|
-
}, n.utcOffset = function() {
|
215
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
216
|
-
}, n.diff = function(t, r, e) {
|
217
|
-
var s, u = this, o = a.p(r), c = f(t), h = (c.utcOffset() - this.utcOffset()) * k, d = this - c, l = function() {
|
218
|
-
return a.m(u, c);
|
219
|
-
};
|
220
|
-
switch (o) {
|
221
|
-
case y:
|
222
|
-
s = l() / 12;
|
223
|
-
break;
|
224
|
-
case m:
|
225
|
-
s = l();
|
226
|
-
break;
|
227
|
-
case F:
|
228
|
-
s = l() / 3;
|
229
|
-
break;
|
230
|
-
case T:
|
231
|
-
s = (d - h) / 6048e5;
|
232
|
-
break;
|
233
|
-
case M:
|
234
|
-
s = (d - h) / 864e5;
|
235
|
-
break;
|
236
|
-
case _:
|
237
|
-
s = d / q;
|
238
|
-
break;
|
239
|
-
case w:
|
240
|
-
s = d / k;
|
241
|
-
break;
|
242
|
-
case S:
|
243
|
-
s = d / C;
|
244
|
-
break;
|
245
|
-
default:
|
246
|
-
s = d;
|
247
|
-
}
|
248
|
-
return e ? s : a.a(s);
|
249
|
-
}, n.daysInMonth = function() {
|
250
|
-
return this.endOf(m).$D;
|
251
|
-
}, n.$locale = function() {
|
252
|
-
return D[this.$L];
|
253
|
-
}, n.locale = function(t, r) {
|
254
|
-
if (!t) return this.$L;
|
255
|
-
var e = this.clone(), s = j(t, r, !0);
|
256
|
-
return s && (e.$L = s), e;
|
257
|
-
}, n.clone = function() {
|
258
|
-
return a.w(this.$d, this);
|
259
|
-
}, n.toDate = function() {
|
260
|
-
return new Date(this.valueOf());
|
261
|
-
}, n.toJSON = function() {
|
262
|
-
return this.isValid() ? this.toISOString() : null;
|
263
|
-
}, n.toISOString = function() {
|
264
|
-
return this.$d.toISOString();
|
265
|
-
}, n.toString = function() {
|
266
|
-
return this.$d.toUTCString();
|
267
|
-
}, i;
|
268
|
-
}(), z = L.prototype;
|
269
|
-
return f.prototype = z, [["$ms", A], ["$s", S], ["$m", w], ["$H", _], ["$W", M], ["$M", m], ["$y", y], ["$D", O]].forEach(function(i) {
|
270
|
-
z[i[1]] = function(n) {
|
271
|
-
return this.$g(n, i[0], i[1]);
|
272
|
-
};
|
273
|
-
}), f.extend = function(i, n) {
|
274
|
-
return i.$i || (i(n, L, f), i.$i = !0), f;
|
275
|
-
}, f.locale = j, f.isDayjs = N, f.unix = function(i) {
|
276
|
-
return f(1e3 * i);
|
277
|
-
}, f.en = D[x], f.Ls = D, f.p = {}, f;
|
278
|
-
});
|
279
|
-
}(U), U.exports);
|
280
|
-
}
|
1
|
+
import o from "./index210.js";
|
2
|
+
/* empty css */
|
281
3
|
export {
|
282
|
-
|
4
|
+
o as default
|
283
5
|
};
|