@astryx-vue/lab 0.5.1 → 0.5.2
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 +10 -10
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -183,11 +183,11 @@ type __VLS_Slots$6 = {} & {
|
|
|
183
183
|
};
|
|
184
184
|
declare const __VLS_base$6: import("vue").DefineComponent<CircularProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CircularProgressProps> & Readonly<{}>, {
|
|
185
185
|
value: number;
|
|
186
|
-
size: CircularProgressSize;
|
|
187
186
|
max: number;
|
|
188
187
|
isLabelHidden: boolean;
|
|
189
188
|
hasValueLabel: boolean;
|
|
190
189
|
formatValueLabel: (value: number, max: number) => string;
|
|
190
|
+
size: CircularProgressSize;
|
|
191
191
|
variant: keyof CircularProgressVariantMap;
|
|
192
192
|
isIndeterminate: boolean;
|
|
193
193
|
isDisabled: boolean;
|
|
@@ -665,15 +665,15 @@ interface ListInputEmits<T> {
|
|
|
665
665
|
//#region src/ListInput/ListInput.vue.d.ts
|
|
666
666
|
declare const __VLS_export$8: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
667
667
|
props: import("vue").PublicProps & __VLS_PrettifyLocal$3<ListInputProps<T> & {
|
|
668
|
-
onChange?: ((value: T[], change: ListInputChange<T>) => any) | undefined;
|
|
669
668
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
669
|
+
onChange?: ((value: T[], change: ListInputChange<T>) => any) | undefined;
|
|
670
670
|
}> & (typeof globalThis extends {
|
|
671
671
|
__VLS_PROPS_FALLBACK: infer P;
|
|
672
672
|
} ? P : {});
|
|
673
673
|
expose: (exposed: {}) => void;
|
|
674
674
|
attrs: any;
|
|
675
675
|
slots: {};
|
|
676
|
-
emit: ((evt: "
|
|
676
|
+
emit: ((evt: "update:modelValue", value: T[]) => void) & ((evt: "change", value: T[], change: ListInputChange<T>) => void);
|
|
677
677
|
}>) => import("vue").VNode & {
|
|
678
678
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
679
679
|
};
|
|
@@ -839,8 +839,8 @@ interface MobileTokenizerEmits<T extends SearchableItem = SearchableItem> {
|
|
|
839
839
|
//#region src/MobileTokenizer/MobileTokenizer.vue.d.ts
|
|
840
840
|
declare const __VLS_export$6: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
841
841
|
props: import("vue").PublicProps & __VLS_PrettifyLocal$2<MobileTokenizerProps<T> & {
|
|
842
|
-
onChange?: ((value: T[], change: MobileTokenizerChange<T>) => any) | undefined;
|
|
843
842
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
843
|
+
onChange?: ((value: T[], change: MobileTokenizerChange<T>) => any) | undefined;
|
|
844
844
|
"onUpdate:query"?: ((query: string) => any) | undefined;
|
|
845
845
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
846
846
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
@@ -850,7 +850,7 @@ declare const __VLS_export$6: <T extends SearchableItem>(__VLS_props: NonNullabl
|
|
|
850
850
|
expose: (exposed: {}) => void;
|
|
851
851
|
attrs: any;
|
|
852
852
|
slots: {};
|
|
853
|
-
emit: ((evt: "
|
|
853
|
+
emit: ((evt: "update:modelValue", value: T[]) => void) & ((evt: "change", value: T[], change: MobileTokenizerChange<T>) => void) & ((evt: "update:query", query: string) => void) & ((evt: "changeQuery", query: string) => void) & ((evt: "openChange", isOpen: boolean) => void);
|
|
854
854
|
}>) => import("vue").VNode & {
|
|
855
855
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
856
856
|
};
|
|
@@ -901,9 +901,9 @@ type __VLS_Slots$2 = {} & {
|
|
|
901
901
|
};
|
|
902
902
|
declare const __VLS_base$2: import("vue").DefineComponent<StatProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatProps> & Readonly<{}>, {
|
|
903
903
|
value: string;
|
|
904
|
+
size: StatSize;
|
|
904
905
|
delta: StatDelta;
|
|
905
906
|
description: string;
|
|
906
|
-
size: StatSize;
|
|
907
907
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
908
908
|
declare const __VLS_export$5: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
909
909
|
declare const _default$10: typeof __VLS_export$5;
|
|
@@ -1339,15 +1339,15 @@ interface PanelGroup<T extends string = string> {
|
|
|
1339
1339
|
//#region src/TransferList/TransferList.vue.d.ts
|
|
1340
1340
|
declare const __VLS_export$1: <T extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1341
1341
|
props: import("vue").PublicProps & __VLS_PrettifyLocal$1<TransferListProps<T> & {
|
|
1342
|
-
onChange?: ((value: readonly T[]) => any) | undefined;
|
|
1343
1342
|
"onUpdate:modelValue"?: ((value: readonly T[]) => any) | undefined;
|
|
1343
|
+
onChange?: ((value: readonly T[]) => any) | undefined;
|
|
1344
1344
|
}> & (typeof globalThis extends {
|
|
1345
1345
|
__VLS_PROPS_FALLBACK: infer P;
|
|
1346
1346
|
} ? P : {});
|
|
1347
1347
|
expose: (exposed: {}) => void;
|
|
1348
1348
|
attrs: any;
|
|
1349
1349
|
slots: TransferListSlots<T>;
|
|
1350
|
-
emit: ((evt: "
|
|
1350
|
+
emit: ((evt: "update:modelValue", value: readonly T[]) => void) & ((evt: "change", value: readonly T[]) => void);
|
|
1351
1351
|
}>) => import("vue").VNode & {
|
|
1352
1352
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1353
1353
|
};
|
|
@@ -1389,8 +1389,8 @@ declare const __VLS_export: <T extends string>(__VLS_props: NonNullable<Awaited<
|
|
|
1389
1389
|
applyLabel?: string;
|
|
1390
1390
|
cancelLabel?: string;
|
|
1391
1391
|
} & {
|
|
1392
|
-
onChange?: ((value: readonly T[]) => any) | undefined;
|
|
1393
1392
|
"onUpdate:modelValue"?: ((value: readonly T[]) => any) | undefined;
|
|
1393
|
+
onChange?: ((value: readonly T[]) => any) | undefined;
|
|
1394
1394
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
1395
1395
|
onChangeAction?: ((value: readonly T[]) => any) | undefined;
|
|
1396
1396
|
}> & (typeof globalThis extends {
|
|
@@ -1403,7 +1403,7 @@ declare const __VLS_export: <T extends string>(__VLS_props: NonNullable<Awaited<
|
|
|
1403
1403
|
option: TransferListOption<T>;
|
|
1404
1404
|
}) => any;
|
|
1405
1405
|
};
|
|
1406
|
-
emit: ((evt: "
|
|
1406
|
+
emit: ((evt: "update:modelValue", value: readonly T[]) => void) & ((evt: "change", value: readonly T[]) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "changeAction", value: readonly T[]) => void);
|
|
1407
1407
|
}>) => import("vue").VNode & {
|
|
1408
1408
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1409
1409
|
};
|
package/dist/index.js
CHANGED
|
@@ -5192,6 +5192,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
5192
5192
|
};
|
|
5193
5193
|
}
|
|
5194
5194
|
function stopMeasuring() {
|
|
5195
|
+
if (typeof window === "undefined") return;
|
|
5195
5196
|
window.removeEventListener("scroll", measure, true);
|
|
5196
5197
|
window.removeEventListener("resize", measure);
|
|
5197
5198
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryx-vue/lab",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.2",
|
|
5
5
|
"description": "Astryx lab components for Vue 3 — experimental components that may change. Ships only under the canary dist-tag.",
|
|
6
6
|
"author": "ShenQingchuan",
|
|
7
7
|
"license": "MIT",
|