@namba_one/ui-kit-2 1.0.167 → 1.0.169
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.d.ts +12 -7
- package/dist/index.es.js +12 -3
- package/dist/index.umd.js +1 -1
- package/dist/namba-one-uikit.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -431,15 +431,15 @@ click: (isOpen: boolean) => any;
|
|
|
431
431
|
onClick?: ((isOpen: boolean) => any) | undefined;
|
|
432
432
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
433
433
|
|
|
434
|
-
declare const __VLS_component_8: DefineComponent<
|
|
434
|
+
declare const __VLS_component_8: DefineComponent<DynamicVisibleAreaProps, {
|
|
435
435
|
close: typeof close_2;
|
|
436
436
|
toggle: typeof toggle;
|
|
437
437
|
open: typeof open_2;
|
|
438
438
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
439
439
|
close: () => any;
|
|
440
|
-
}, string, PublicProps, Readonly<
|
|
440
|
+
}, string, PublicProps, Readonly<DynamicVisibleAreaProps> & Readonly<{
|
|
441
441
|
onClose?: (() => any) | undefined;
|
|
442
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions,
|
|
442
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
443
443
|
|
|
444
444
|
declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
445
445
|
"update:value": (value: string | null | undefined) => any;
|
|
@@ -2205,6 +2205,10 @@ export declare type DynamicVisibleAreaEmits = {
|
|
|
2205
2205
|
(event: 'close'): void;
|
|
2206
2206
|
};
|
|
2207
2207
|
|
|
2208
|
+
declare type DynamicVisibleAreaProps = {
|
|
2209
|
+
isShowOverlay?: boolean;
|
|
2210
|
+
};
|
|
2211
|
+
|
|
2208
2212
|
export declare type DynamicVisibleAreaProvider = () => void;
|
|
2209
2213
|
|
|
2210
2214
|
export declare const Editor: DefineComponent<__VLS_PublicProps_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -2605,9 +2609,10 @@ onConfirm?: (() => any) | undefined;
|
|
|
2605
2609
|
ModalConfirmation: ({
|
|
2606
2610
|
$: ComponentInternalInstance;
|
|
2607
2611
|
$data: {};
|
|
2608
|
-
$props:
|
|
2612
|
+
$props: {
|
|
2613
|
+
readonly isShowOverlay?: boolean | undefined;
|
|
2609
2614
|
readonly onClose?: (() => any) | undefined;
|
|
2610
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps
|
|
2615
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
2611
2616
|
$attrs: {
|
|
2612
2617
|
[x: string]: unknown;
|
|
2613
2618
|
};
|
|
@@ -2622,7 +2627,7 @@ $parent: ComponentPublicInstance | null;
|
|
|
2622
2627
|
$host: Element | null;
|
|
2623
2628
|
$emit: (event: "close") => void;
|
|
2624
2629
|
$el: any;
|
|
2625
|
-
$options: ComponentOptionsBase<Readonly<
|
|
2630
|
+
$options: ComponentOptionsBase<Readonly<DynamicVisibleAreaProps> & Readonly<{
|
|
2626
2631
|
onClose?: (() => any) | undefined;
|
|
2627
2632
|
}>, {
|
|
2628
2633
|
close: () => void;
|
|
@@ -2650,7 +2655,7 @@ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info:
|
|
|
2650
2655
|
$forceUpdate: () => void;
|
|
2651
2656
|
$nextTick: nextTick;
|
|
2652
2657
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2653
|
-
} & Readonly<{}> & Omit<Readonly<
|
|
2658
|
+
} & Readonly<{}> & Omit<Readonly<DynamicVisibleAreaProps> & Readonly<{
|
|
2654
2659
|
onClose?: (() => any) | undefined;
|
|
2655
2660
|
}>, "close" | "toggle" | "open"> & ShallowUnwrapRef< {
|
|
2656
2661
|
close: () => void;
|
package/dist/index.es.js
CHANGED
|
@@ -4073,6 +4073,9 @@ Available fill gap methods: `).concat(ve, "."));
|
|
|
4073
4073
|
var Wd = s1();
|
|
4074
4074
|
const a1 = /* @__PURE__ */ ue({
|
|
4075
4075
|
__name: "DynamicVisibleArea",
|
|
4076
|
+
props: {
|
|
4077
|
+
isShowOverlay: { type: Boolean, default: !0 }
|
|
4078
|
+
},
|
|
4076
4079
|
emits: ["close"],
|
|
4077
4080
|
setup(n, { expose: e, emit: t }) {
|
|
4078
4081
|
Qo(yp, l);
|
|
@@ -4108,12 +4111,17 @@ const a1 = /* @__PURE__ */ ue({
|
|
|
4108
4111
|
}), (c, h) => (v(), re(ia, { to: "#teleports" }, [
|
|
4109
4112
|
o.value ? (v(), S("div", {
|
|
4110
4113
|
key: 0,
|
|
4111
|
-
class: y(c.$style.root)
|
|
4114
|
+
class: y([c.$style.root, c.$attrs.class])
|
|
4112
4115
|
}, [
|
|
4113
4116
|
H(p(cn), { appear: "" }, {
|
|
4114
4117
|
default: P(() => [
|
|
4115
4118
|
W("div", {
|
|
4116
|
-
class: y(
|
|
4119
|
+
class: y([
|
|
4120
|
+
c.$style.overlay,
|
|
4121
|
+
{
|
|
4122
|
+
[c.$style["is-show-overlay"]]: c.isShowOverlay
|
|
4123
|
+
}
|
|
4124
|
+
]),
|
|
4117
4125
|
onClick: l
|
|
4118
4126
|
}, null, 2)
|
|
4119
4127
|
]),
|
|
@@ -4125,7 +4133,8 @@ const a1 = /* @__PURE__ */ ue({
|
|
|
4125
4133
|
}
|
|
4126
4134
|
}), l1 = "DynamicVisibleArea__root_4ca5d", u1 = "DynamicVisibleArea__overlay_01f51", c1 = {
|
|
4127
4135
|
root: l1,
|
|
4128
|
-
overlay: u1
|
|
4136
|
+
overlay: u1,
|
|
4137
|
+
"overlay_is-show-overlay": "DynamicVisibleArea__overlay_is-show-overlay_60c15"
|
|
4129
4138
|
}, d1 = {
|
|
4130
4139
|
$style: c1
|
|
4131
4140
|
}, h1 = /* @__PURE__ */ ge(a1, [["__cssModules", d1]]);
|