@wow-two-beta/fe 0.0.33 → 0.0.35
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/chunks/{BackToTopButton.vue_vue_type_script_setup_true_lang-dmN5MH2T.js → BackToTopButton.vue_vue_type_script_setup_true_lang-DHSpEajG.js} +74 -31
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-DHSpEajG.js.map +1 -0
- package/dist/chunks/{KanbanCard.vue_vue_type_script_setup_true_lang-BrQFyOiU.js → KanbanCard.vue_vue_type_script_setup_true_lang-akNFA0JK.js} +545 -312
- package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-akNFA0JK.js.map +1 -0
- package/dist/chunks/{UseTypedConfirmation-CvY2T4Up.js → RowsField.vue_vue_type_script_setup_true_lang-C0L-DjCW.js} +967 -840
- package/dist/chunks/RowsField.vue_vue_type_script_setup_true_lang-C0L-DjCW.js.map +1 -0
- package/dist/chunks/{TypedConfirmModal.vue_vue_type_script_setup_true_lang-CoIaH_xx.js → TypedConfirmModal.vue_vue_type_script_setup_true_lang-3Sdgh0cV.js} +26 -13
- package/dist/chunks/{TypedConfirmModal.vue_vue_type_script_setup_true_lang-CoIaH_xx.js.map → TypedConfirmModal.vue_vue_type_script_setup_true_lang-3Sdgh0cV.js.map} +1 -1
- package/dist/foundation/device/hooks/UseBreakpointRange.d.ts +21 -0
- package/dist/foundation/device/index.d.ts +1 -0
- package/dist/foundation/device/index.js +13 -0
- package/dist/foundation/device/index.js.map +1 -1
- package/dist/foundation/storage/PersistentRef.d.ts +25 -0
- package/dist/foundation/storage/index.d.ts +1 -0
- package/dist/foundation/storage/index.js +46 -1
- package/dist/foundation/storage/index.js.map +1 -1
- package/dist/index.js +232 -228
- package/dist/presentation/actions/index.d.ts +1 -0
- package/dist/presentation/actions/index.js +12 -11
- package/dist/presentation/actions/refreshButton/RefreshButton.vue.d.ts +26 -0
- package/dist/presentation/actions/refreshButton/index.d.ts +1 -0
- package/dist/presentation/display/badge/Badge.variants.d.ts +77 -10
- package/dist/presentation/display/badge/Badge.vue.d.ts +18 -1
- package/dist/presentation/display/badge/index.d.ts +1 -1
- package/dist/presentation/display/card/CardLink.vue.d.ts +19 -0
- package/dist/presentation/display/card/index.d.ts +1 -0
- package/dist/presentation/display/index.js +152 -150
- package/dist/presentation/display/listGroup/ListGroupItem.vue.d.ts +17 -0
- package/dist/presentation/display/sparkline/Sparkline.vue.d.ts +32 -2
- package/dist/presentation/display/sparkline/index.d.ts +1 -1
- package/dist/presentation/feedback/dataRegion/DataRegion.vue.d.ts +1 -1
- package/dist/presentation/forms/index.d.ts +1 -0
- package/dist/presentation/forms/index.js +59 -58
- package/dist/presentation/forms/rowsField/RowsField.vue.d.ts +56 -0
- package/dist/presentation/forms/rowsField/index.d.ts +1 -0
- package/dist/presentation/overlays/index.js +1 -1
- package/dist/presentation/overlays/typedConfirmModal/TypedConfirmModal.vue.d.ts +20 -4
- package/dist/router/adapters/vueRouter/hooks/UseListDetailRoute.d.ts +28 -0
- package/dist/router/adapters/vueRouter/index.d.ts +1 -0
- package/dist/router/index.js +34 -0
- package/dist/router/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-dmN5MH2T.js.map +0 -1
- package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BrQFyOiU.js.map +0 -1
- package/dist/chunks/UseTypedConfirmation-CvY2T4Up.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, useTemplateRef, watch, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, createElementVNode, useSlots, shallowRef, onScopeDispose, createVNode, toDisplayString, createTextVNode, createCommentVNode, provide, inject, ref, normalizeStyle, withModifiers, normalizeClass } from "vue";
|
|
1
|
+
import { defineComponent, useAttrs, useTemplateRef, watch, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, createElementVNode, useSlots, shallowRef, onScopeDispose, createVNode, toDisplayString, createTextVNode, createCommentVNode, provide, inject, ref, normalizeStyle, withModifiers, normalizeClass, createSlots } from "vue";
|
|
2
2
|
import { r as resolveElement } from "./ResolveElement-CyRfM82x.js";
|
|
3
3
|
import { O as OverlayExtensions, _ as _sfc_main$y, b as _sfc_main$z, a as _sfc_main$A } from "./PopoverContent.vue_vue_type_script_setup_true_lang-iUlvOlO9.js";
|
|
4
4
|
import { u as useModalContext, a as _sfc_main$u, M as ModalPhoneLayout, c as _sfc_main$v, b as _sfc_main$w, _ as _sfc_main$G } from "./OverlayCloseButton.vue_vue_type_script_setup_true_lang-D0f_usZ9.js";
|
|
@@ -1843,7 +1843,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1843
1843
|
defaultOpen: { type: Boolean, default: false },
|
|
1844
1844
|
title: {},
|
|
1845
1845
|
description: { default: void 0 },
|
|
1846
|
-
expected: {},
|
|
1846
|
+
expected: { default: void 0 },
|
|
1847
|
+
canConfirm: { type: Boolean, default: true },
|
|
1847
1848
|
label: { default: void 0 },
|
|
1848
1849
|
helper: { default: void 0 },
|
|
1849
1850
|
error: { default: void 0 },
|
|
@@ -1873,7 +1874,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1873
1874
|
const typed = shallowRef("");
|
|
1874
1875
|
const isPending = shallowRef(false);
|
|
1875
1876
|
let attempt = 0;
|
|
1876
|
-
const
|
|
1877
|
+
const isTyped = computed(() => props.expected !== void 0);
|
|
1878
|
+
const isConfirmed = computed(
|
|
1879
|
+
() => props.canConfirm && (!isTyped.value || props.expected.length > 0 && typed.value === props.expected)
|
|
1880
|
+
);
|
|
1877
1881
|
const hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));
|
|
1878
1882
|
watch(isOpen, (open) => {
|
|
1879
1883
|
if (!open) return;
|
|
@@ -1961,16 +1965,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1961
1965
|
createVNode(_sfc_main$q, { class: "flex flex-col gap-4" }, {
|
|
1962
1966
|
default: withCtx(() => [
|
|
1963
1967
|
renderSlot(_ctx.$slots, "default"),
|
|
1964
|
-
|
|
1968
|
+
isTyped.value ? (openBlock(), createBlock(_sfc_main$M, {
|
|
1969
|
+
key: 0,
|
|
1965
1970
|
modelValue: typed.value,
|
|
1966
1971
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => typed.value = $event),
|
|
1967
|
-
expected: unref(props).expected,
|
|
1972
|
+
expected: unref(props).expected ?? "",
|
|
1968
1973
|
label: unref(props).label,
|
|
1969
1974
|
helper: unref(props).helper,
|
|
1970
1975
|
"is-read-only": isPending.value
|
|
1971
|
-
}, null, 8, ["modelValue", "expected", "label", "helper", "is-read-only"]),
|
|
1976
|
+
}, null, 8, ["modelValue", "expected", "label", "helper", "is-read-only"])) : createCommentVNode("", true),
|
|
1972
1977
|
unref(props).error ? (openBlock(), createBlock(_sfc_main$N, {
|
|
1973
|
-
key:
|
|
1978
|
+
key: 1,
|
|
1974
1979
|
role: "alert",
|
|
1975
1980
|
severity: "danger",
|
|
1976
1981
|
description: unref(props).error
|
|
@@ -1998,14 +2003,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1998
2003
|
tone: unref(props).tone,
|
|
1999
2004
|
"is-disabled": !isConfirmed.value,
|
|
2000
2005
|
"is-loading": isPending.value
|
|
2001
|
-
}, {
|
|
2006
|
+
}, createSlots({
|
|
2002
2007
|
default: withCtx(() => [
|
|
2003
|
-
createTextVNode(toDisplayString(unref(props).confirmLabel), 1)
|
|
2008
|
+
createTextVNode(" " + toDisplayString(unref(props).confirmLabel), 1)
|
|
2004
2009
|
]),
|
|
2005
|
-
_:
|
|
2006
|
-
},
|
|
2010
|
+
_: 2
|
|
2011
|
+
}, [
|
|
2012
|
+
unref(slots)["confirm-icon"] ? {
|
|
2013
|
+
name: "leading",
|
|
2014
|
+
fn: withCtx(() => [
|
|
2015
|
+
renderSlot(_ctx.$slots, "confirm-icon")
|
|
2016
|
+
]),
|
|
2017
|
+
key: "0"
|
|
2018
|
+
} : void 0
|
|
2019
|
+
]), 1032, ["type", "tone", "is-disabled", "is-loading"])
|
|
2007
2020
|
]),
|
|
2008
|
-
_:
|
|
2021
|
+
_: 3
|
|
2009
2022
|
})
|
|
2010
2023
|
], 32)
|
|
2011
2024
|
]),
|
|
@@ -2053,4 +2066,4 @@ export {
|
|
|
2053
2066
|
_sfc_main$f as y,
|
|
2054
2067
|
_sfc_main$g as z
|
|
2055
2068
|
};
|
|
2056
|
-
//# sourceMappingURL=TypedConfirmModal.vue_vue_type_script_setup_true_lang-
|
|
2069
|
+
//# sourceMappingURL=TypedConfirmModal.vue_vue_type_script_setup_true_lang-3Sdgh0cV.js.map
|