bonkers-ui 1.0.63 → 1.0.65
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/CONSTANTS.d.ts +1 -0
- package/CONSTANTS.d.ts.map +1 -0
- package/_types/sizing.js.map +1 -1
- package/bonkers-ui.umd.js +3 -3
- package/bonkers-ui.umd.js.map +1 -1
- package/components/ui-alert/_types.d.ts +1 -0
- package/components/ui-alert/_types.d.ts.map +1 -0
- package/components/ui-alert/index.d.ts +24 -56
- package/components/ui-alert/index.d.ts.map +1 -0
- package/components/ui-alert/ui-alert.vue.d.ts +3 -2
- package/components/ui-alert/ui-alert.vue.d.ts.map +1 -0
- package/components/ui-badge/_typings.d.ts +1 -0
- package/components/ui-badge/_typings.d.ts.map +1 -0
- package/components/ui-badge/index.d.ts +27 -73
- package/components/ui-badge/index.d.ts.map +1 -0
- package/components/ui-badge/ui-badge.vue.d.ts +3 -4
- package/components/ui-badge/ui-badge.vue.d.ts.map +1 -0
- package/components/ui-badge/ui-badge.vue.js +33 -37
- package/components/ui-badge/ui-badge.vue.js.map +1 -1
- package/components/ui-ber-rank/_types.d.ts +1 -0
- package/components/ui-ber-rank/_types.d.ts.map +1 -0
- package/components/ui-ber-rank/index.d.ts +3 -2
- package/components/ui-ber-rank/index.d.ts.map +1 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +3 -2
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +1 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.js +6 -6
- package/components/ui-ber-rank/ui-ber-rank.vue.js.map +1 -1
- package/components/ui-button/_typings.d.ts +1 -0
- package/components/ui-button/_typings.d.ts.map +1 -0
- package/components/ui-button/index.d.ts +52 -86
- package/components/ui-button/index.d.ts.map +1 -0
- package/components/ui-button/ui-button.vue.d.ts +3 -2
- package/components/ui-button/ui-button.vue.d.ts.map +1 -0
- package/components/ui-card-cta/index.d.ts +40 -75
- package/components/ui-card-cta/index.d.ts.map +1 -0
- package/components/ui-card-cta/ui-card-cta.vue.d.ts +3 -2
- package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +1 -0
- package/components/ui-card-result/index.d.ts +40 -75
- package/components/ui-card-result/index.d.ts.map +1 -0
- package/components/ui-card-result/ui-card-result.vue.d.ts +3 -2
- package/components/ui-card-result/ui-card-result.vue.d.ts.map +1 -0
- package/components/ui-card-result/ui-card-result.vue.js +5 -5
- package/components/ui-card-result/ui-card-result.vue2.js +18 -18
- package/components/ui-card-simple/index.d.ts +10 -39
- package/components/ui-card-simple/index.d.ts.map +1 -0
- package/components/ui-card-simple/ui-card-simple.vue.d.ts +3 -2
- package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +1 -0
- package/components/ui-checkbox/index.d.ts +51 -87
- package/components/ui-checkbox/index.d.ts.map +1 -0
- package/components/ui-checkbox/ui-checkbox.vue.d.ts +5 -4
- package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +1 -0
- package/components/ui-checkbox/ui-checkbox.vue.js +2 -2
- package/components/ui-checkbox/ui-checkbox.vue2.js +8 -8
- package/components/ui-checkbox/ui-checkbox.vue2.js.map +1 -1
- package/components/ui-dropdown/_typings.d.ts +1 -0
- package/components/ui-dropdown/_typings.d.ts.map +1 -0
- package/components/ui-dropdown/index.d.ts +48 -90
- package/components/ui-dropdown/index.d.ts.map +1 -0
- package/components/ui-dropdown/ui-dropdown.vue.d.ts +3 -5
- package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +1 -0
- package/components/ui-dropdown/ui-dropdown.vue.js +19 -20
- package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -1
- package/components/ui-icon/_typings.d.ts +1 -0
- package/components/ui-icon/_typings.d.ts.map +1 -0
- package/components/ui-icon/index.d.ts +3 -2
- package/components/ui-icon/index.d.ts.map +1 -0
- package/components/ui-icon/ui-icon.vue.d.ts +3 -2
- package/components/ui-icon/ui-icon.vue.d.ts.map +1 -0
- package/components/ui-icon/ui-icon.vue.js +15 -15
- package/components/ui-icon-wrapper/_typings.d.ts +1 -0
- package/components/ui-icon-wrapper/_typings.d.ts.map +1 -0
- package/components/ui-icon-wrapper/index.d.ts +32 -64
- package/components/ui-icon-wrapper/index.d.ts.map +1 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +3 -2
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +1 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +3 -3
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +3 -3
- package/components/ui-input/_typings.d.ts +3 -2
- package/components/ui-input/_typings.d.ts.map +1 -0
- package/components/ui-input/index.d.ts +156 -193
- package/components/ui-input/index.d.ts.map +1 -0
- package/components/ui-input/ui-input.vue.d.ts +6 -2
- package/components/ui-input/ui-input.vue.d.ts.map +1 -0
- package/components/ui-input/ui-input.vue.js +29 -25
- package/components/ui-input/ui-input.vue.js.map +1 -1
- package/components/ui-input-range/index.d.ts +5 -4
- package/components/ui-input-range/index.d.ts.map +1 -0
- package/components/ui-input-range/ui-input-range.vue.d.ts +5 -4
- package/components/ui-input-range/ui-input-range.vue.d.ts.map +1 -0
- package/components/ui-input-range/ui-input-range.vue.js +2 -2
- package/components/ui-input-range/ui-input-range.vue2.js +19 -19
- package/components/ui-input-range/ui-input-range.vue2.js.map +1 -1
- package/components/ui-list-item/_types.d.ts +1 -0
- package/components/ui-list-item/_types.d.ts.map +1 -0
- package/components/ui-list-item/index.d.ts +75 -111
- package/components/ui-list-item/index.d.ts.map +1 -0
- package/components/ui-list-item/ui-list-item.vue.d.ts +3 -2
- package/components/ui-list-item/ui-list-item.vue.d.ts.map +1 -0
- package/components/ui-list-item/ui-list-item.vue.js +14 -14
- package/components/ui-modal/_typings.d.ts +1 -0
- package/components/ui-modal/_typings.d.ts.map +1 -0
- package/components/ui-modal/index.d.ts +32 -64
- package/components/ui-modal/index.d.ts.map +1 -0
- package/components/ui-modal/ui-backdrop/index.d.ts +10 -39
- package/components/ui-modal/ui-backdrop/index.d.ts.map +1 -0
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +3 -2
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts.map +1 -0
- package/components/ui-modal/ui-modal.vue.d.ts +3 -2
- package/components/ui-modal/ui-modal.vue.d.ts.map +1 -0
- package/components/ui-notification-badge/_types.d.ts +1 -0
- package/components/ui-notification-badge/_types.d.ts.map +1 -0
- package/components/ui-notification-badge/index.d.ts +23 -54
- package/components/ui-notification-badge/index.d.ts.map +1 -0
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +3 -2
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +1 -0
- package/components/ui-order-card/_types.d.ts +1 -0
- package/components/ui-order-card/_types.d.ts.map +1 -0
- package/components/ui-order-card/index.d.ts +30 -62
- package/components/ui-order-card/index.d.ts.map +1 -0
- package/components/ui-order-card/ui-order-card.vue.d.ts +3 -2
- package/components/ui-order-card/ui-order-card.vue.d.ts.map +1 -0
- package/components/ui-plain-radio/index.d.ts +61 -98
- package/components/ui-plain-radio/index.d.ts.map +1 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +3 -2
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +1 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.js +5 -5
- package/components/ui-plain-radio/ui-plain-radio.vue.js.map +1 -1
- package/components/ui-progress/_types.d.ts +1 -0
- package/components/ui-progress/_types.d.ts.map +1 -0
- package/components/ui-progress/index.d.ts +3 -2
- package/components/ui-progress/index.d.ts.map +1 -0
- package/components/ui-progress/ui-progress.vue.d.ts +3 -2
- package/components/ui-progress/ui-progress.vue.d.ts.map +1 -0
- package/components/ui-radio/index.d.ts +61 -98
- package/components/ui-radio/index.d.ts.map +1 -0
- package/components/ui-radio/ui-radio.vue.d.ts +3 -2
- package/components/ui-radio/ui-radio.vue.d.ts.map +1 -0
- package/components/ui-radio/ui-radio.vue.js +2 -2
- package/components/ui-radio/ui-radio.vue2.js +12 -12
- package/components/ui-radio/ui-radio.vue2.js.map +1 -1
- package/components/ui-radio-compact/index.d.ts +50 -82
- package/components/ui-radio-compact/index.d.ts.map +1 -0
- package/components/ui-radio-compact/index.js.map +1 -1
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +3 -2
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +1 -0
- package/components/ui-radio-fancy/_typings.d.ts +1 -0
- package/components/ui-radio-fancy/_typings.d.ts.map +1 -0
- package/components/ui-radio-fancy/index.d.ts +71 -108
- package/components/ui-radio-fancy/index.d.ts.map +1 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +3 -2
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +1 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js +15 -15
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +1 -1
- package/components/ui-result-card-range/_types.d.ts +1 -0
- package/components/ui-result-card-range/_types.d.ts.map +1 -0
- package/components/ui-result-card-range/index.d.ts +20 -78
- package/components/ui-result-card-range/index.d.ts.map +1 -0
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +3 -6
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +1 -0
- package/components/ui-result-card-range/ui-result-card-range.vue.js +9 -11
- package/components/ui-result-card-range/ui-result-card-range.vue.js.map +1 -1
- package/components/ui-ripple/index.d.ts +10 -39
- package/components/ui-ripple/index.d.ts.map +1 -0
- package/components/ui-ripple/ui-ripple.vue.d.ts +3 -2
- package/components/ui-ripple/ui-ripple.vue.d.ts.map +1 -0
- package/components/ui-select/index.d.ts +42 -77
- package/components/ui-select/index.d.ts.map +1 -0
- package/components/ui-select/ui-select.vue.d.ts +3 -2
- package/components/ui-select/ui-select.vue.d.ts.map +1 -0
- package/components/ui-skeleton/_typings.d.ts +1 -0
- package/components/ui-skeleton/_typings.d.ts.map +1 -0
- package/components/ui-skeleton/index.d.ts +3 -2
- package/components/ui-skeleton/index.d.ts.map +1 -0
- package/components/ui-skeleton/ui-skeleton.vue.d.ts +3 -2
- package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +1 -0
- package/components/ui-snackbar/_types.d.ts +1 -0
- package/components/ui-snackbar/_types.d.ts.map +1 -0
- package/components/ui-snackbar/index.d.ts +30 -62
- package/components/ui-snackbar/index.d.ts.map +1 -0
- package/components/ui-snackbar/ui-snackbar.vue.d.ts +3 -2
- package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +1 -0
- package/components/ui-table/_types.d.ts +1 -0
- package/components/ui-table/_types.d.ts.map +1 -0
- package/components/ui-table/index.d.ts +23 -54
- package/components/ui-table/index.d.ts.map +1 -0
- package/components/ui-table/ui-table-cell/index.d.ts +22 -54
- package/components/ui-table/ui-table-cell/index.d.ts.map +1 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +3 -2
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +1 -0
- package/components/ui-table/ui-table-row/_typings.d.ts +1 -0
- package/components/ui-table/ui-table-row/_typings.d.ts.map +1 -0
- package/components/ui-table/ui-table-row/index.d.ts +17 -48
- package/components/ui-table/ui-table-row/index.d.ts.map +1 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +3 -2
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +1 -0
- package/components/ui-table/ui-table.vue.d.ts +3 -2
- package/components/ui-table/ui-table.vue.d.ts.map +1 -0
- package/components/ui-tabs/index.d.ts +3 -2
- package/components/ui-tabs/index.d.ts.map +1 -0
- package/components/ui-tabs/ui-tabs.vue.d.ts +3 -2
- package/components/ui-tabs/ui-tabs.vue.d.ts.map +1 -0
- package/components/ui-toggle/index.d.ts +66 -104
- package/components/ui-toggle/index.d.ts.map +1 -0
- package/components/ui-toggle/ui-toggle.vue.d.ts +5 -4
- package/components/ui-toggle/ui-toggle.vue.d.ts.map +1 -0
- package/components/ui-toggle/ui-toggle.vue.js +3 -3
- package/components/ui-toggle/ui-toggle.vue2.js +10 -10
- package/components/ui-toggle/ui-toggle.vue2.js.map +1 -1
- package/components/ui-typography/_typings.d.ts +1 -0
- package/components/ui-typography/_typings.d.ts.map +1 -0
- package/components/ui-typography/index.d.ts +62 -100
- package/components/ui-typography/index.d.ts.map +1 -0
- package/components/ui-typography/ui-typography.vue.d.ts +3 -2
- package/components/ui-typography/ui-typography.vue.d.ts.map +1 -0
- package/components/ui-typography/ui-typography.vue.js +2 -2
- package/components/ui-verification-input/index.d.ts +30 -63
- package/components/ui-verification-input/index.d.ts.map +1 -0
- package/components/ui-verification-input/ui-verification-input.vue.d.ts +3 -2
- package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +1 -0
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -0
- package/index.js +117 -116
- package/index.js.map +1 -1
- package/package.json +42 -41
- package/tsconfig.json +4 -0
- package/types.d.ts +1 -0
- package/types.d.ts.map +1 -0
- package/types.js +6 -6
|
@@ -1,48 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
2
2
|
import UiCardSimple from "./ui-card-simple.vue";
|
|
3
3
|
export { UiCardSimple };
|
|
4
4
|
/**
|
|
5
5
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
6
6
|
*/
|
|
7
7
|
declare const deprecatedDefault: {
|
|
8
|
-
new (...args: any[]): {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
};
|
|
18
|
-
$slots: Readonly<{
|
|
19
|
-
[name: string]: Slot<any> | undefined;
|
|
20
|
-
}>;
|
|
21
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
22
|
-
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
23
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
24
|
-
$el: any;
|
|
25
|
-
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
26
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
27
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
-
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
39
|
-
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
40
|
-
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
41
|
-
};
|
|
42
|
-
$forceUpdate: () => void;
|
|
43
|
-
$nextTick: typeof nextTick;
|
|
44
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
45
|
-
} & Readonly<ExtractPropTypes<{}>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
|
|
8
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
9
|
+
P: {};
|
|
10
|
+
B: {};
|
|
11
|
+
D: {};
|
|
12
|
+
C: {};
|
|
13
|
+
M: {};
|
|
14
|
+
Defaults: {};
|
|
15
|
+
}, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
46
16
|
__isFragment?: undefined;
|
|
47
17
|
__isTeleport?: undefined;
|
|
48
18
|
__isSuspense?: undefined;
|
|
@@ -54,3 +24,4 @@ declare const deprecatedDefault: {
|
|
|
54
24
|
};
|
|
55
25
|
});
|
|
56
26
|
export default deprecatedDefault;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-simple/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAAe,CAAC;AACvC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>, {
|
|
3
3
|
title?(_: {}): any;
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
footerSubtitle?(_: {}): any;
|
|
@@ -10,3 +10,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
10
10
|
$slots: S;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
+
//# sourceMappingURL=ui-card-simple.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-card-simple.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-simple/ui-card-simple.vue"],"names":[],"mappings":"AAuBA;;;;;;AAwHA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,96 +1,59 @@
|
|
|
1
1
|
import { EJustify } from '../../types';
|
|
2
|
-
import {
|
|
2
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
3
|
import UiCheckbox from "./ui-checkbox.vue";
|
|
4
4
|
export { UiCheckbox };
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
7
7
|
*/
|
|
8
8
|
declare const deprecatedDefault: {
|
|
9
|
-
new (...args: any[]): {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
20
|
-
modelValue: {
|
|
21
|
-
type: PropType<boolean | unknown[]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
justify: {
|
|
25
|
-
type: PropType<EJustify>;
|
|
26
|
-
};
|
|
27
|
-
invertOrder: {
|
|
28
|
-
type: PropType<boolean>;
|
|
29
|
-
};
|
|
30
|
-
disabled: {
|
|
31
|
-
type: PropType<boolean>;
|
|
32
|
-
};
|
|
33
|
-
value: {
|
|
34
|
-
type: PropType<string>;
|
|
35
|
-
};
|
|
36
|
-
}>> & {
|
|
37
|
-
"onUpdate:modelValue"?: ((state: boolean | unknown[]) => any) | undefined;
|
|
38
|
-
}, never>;
|
|
39
|
-
$attrs: {
|
|
40
|
-
[x: string]: unknown;
|
|
9
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: PropType<boolean | unknown[]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
justify: {
|
|
15
|
+
type: PropType<EJustify>;
|
|
16
|
+
};
|
|
17
|
+
invertOrder: {
|
|
18
|
+
type: PropType<boolean>;
|
|
41
19
|
};
|
|
42
|
-
|
|
43
|
-
|
|
20
|
+
disabled: {
|
|
21
|
+
type: PropType<boolean>;
|
|
44
22
|
};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}>;
|
|
48
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
49
|
-
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
50
|
-
$emit: (event: "update:modelValue", state: boolean | unknown[]) => void;
|
|
51
|
-
$el: any;
|
|
52
|
-
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
53
|
-
modelValue: {
|
|
54
|
-
type: PropType<boolean | unknown[]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
justify: {
|
|
58
|
-
type: PropType<EJustify>;
|
|
59
|
-
};
|
|
60
|
-
invertOrder: {
|
|
61
|
-
type: PropType<boolean>;
|
|
62
|
-
};
|
|
63
|
-
disabled: {
|
|
64
|
-
type: PropType<boolean>;
|
|
65
|
-
};
|
|
66
|
-
value: {
|
|
67
|
-
type: PropType<string>;
|
|
68
|
-
};
|
|
69
|
-
}>> & {
|
|
70
|
-
"onUpdate:modelValue"?: ((state: boolean | unknown[]) => any) | undefined;
|
|
71
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
72
|
-
"update:modelValue": (state: boolean | unknown[]) => void;
|
|
73
|
-
}, string, {}, {}, string, {}> & {
|
|
74
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
80
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
82
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
83
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
84
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
85
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
86
|
-
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
87
|
-
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
88
|
-
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
23
|
+
value: {
|
|
24
|
+
type: PropType<string>;
|
|
89
25
|
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
26
|
+
}>> & {
|
|
27
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
29
|
+
"update:modelValue": (...args: any[]) => void;
|
|
30
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: PropType<boolean | unknown[]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
justify: {
|
|
36
|
+
type: PropType<EJustify>;
|
|
37
|
+
};
|
|
38
|
+
invertOrder: {
|
|
39
|
+
type: PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
disabled: {
|
|
42
|
+
type: PropType<boolean>;
|
|
43
|
+
};
|
|
44
|
+
value: {
|
|
45
|
+
type: PropType<string>;
|
|
46
|
+
};
|
|
47
|
+
}>> & {
|
|
48
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}, {}, true, {}, {}, {
|
|
50
|
+
P: {};
|
|
51
|
+
B: {};
|
|
52
|
+
D: {};
|
|
53
|
+
C: {};
|
|
54
|
+
M: {};
|
|
55
|
+
Defaults: {};
|
|
56
|
+
}, Readonly<ExtractPropTypes<{
|
|
94
57
|
modelValue: {
|
|
95
58
|
type: PropType<boolean | unknown[]>;
|
|
96
59
|
required: true;
|
|
@@ -108,8 +71,8 @@ declare const deprecatedDefault: {
|
|
|
108
71
|
type: PropType<string>;
|
|
109
72
|
};
|
|
110
73
|
}>> & {
|
|
111
|
-
"onUpdate:modelValue"?: ((
|
|
112
|
-
}
|
|
74
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
}, {}, {}, {}, {}, {}>;
|
|
113
76
|
__isFragment?: undefined;
|
|
114
77
|
__isTeleport?: undefined;
|
|
115
78
|
__isSuspense?: undefined;
|
|
@@ -131,12 +94,13 @@ declare const deprecatedDefault: {
|
|
|
131
94
|
type: PropType<string>;
|
|
132
95
|
};
|
|
133
96
|
}>> & {
|
|
134
|
-
"onUpdate:modelValue"?: ((
|
|
97
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
135
98
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
136
|
-
"update:modelValue": (
|
|
99
|
+
"update:modelValue": (...args: any[]) => void;
|
|
137
100
|
}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
138
101
|
$slots: {
|
|
139
102
|
default?(_: {}): any;
|
|
140
103
|
};
|
|
141
104
|
});
|
|
142
105
|
export default deprecatedDefault;
|
|
106
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAa,CAAC;AACrC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { EJustify } from "../../_types/align";
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
modelValue: boolean | unknown[];
|
|
@@ -7,15 +7,15 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsT
|
|
|
7
7
|
disabled?: boolean | undefined;
|
|
8
8
|
value?: string | undefined;
|
|
9
9
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
-
"update:modelValue": (
|
|
11
|
-
}, string,
|
|
10
|
+
"update:modelValue": (...args: any[]) => void;
|
|
11
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
12
|
modelValue: boolean | unknown[];
|
|
13
13
|
justify?: EJustify | undefined;
|
|
14
14
|
invertOrder?: boolean | undefined;
|
|
15
15
|
disabled?: boolean | undefined;
|
|
16
16
|
value?: string | undefined;
|
|
17
17
|
}>>> & {
|
|
18
|
-
"onUpdate:modelValue"?: ((
|
|
18
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
19
19
|
}, {}, {}>, {
|
|
20
20
|
default?(_: {}): any;
|
|
21
21
|
}>;
|
|
@@ -34,3 +34,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
34
34
|
$slots: S;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
+
//# sourceMappingURL=ui-checkbox.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-checkbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-checkbox/ui-checkbox.vue"],"names":[],"mappings":"AA6DA;AAGC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;AA+M/C,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(".ui-checkbox[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(".ui-checkbox[data-v-19ebb4f7]{grid-template-columns:auto auto}.ui-checkbox_custom[data-v-19ebb4f7]{transition:background-color ease-in-out .3s .3s,border-width ease-in-out .2s}.ui-checkbox__icon[data-v-19ebb4f7]{stroke-dasharray:70;stroke-dashoffset:70;transition:stroke-dashoffset .3s ease-in-out}input+.ui-checkbox_custom[data-v-19ebb4f7]:active{transition:background-color ease-in-out .1s;background-color:var(--color-secondary-alt-200)}input+.ui-checkbox_custom[data-v-19ebb4f7]:active,input:focus+.ui-checkbox_custom[data-v-19ebb4f7]{box-shadow:var(--shadow-border-primary)}input:disabled+.ui-checkbox_custom[data-v-19ebb4f7]{background-color:var(--color-secondary-alt-200);border-color:var(--color-secondary-alt-400)}input:checked+.ui-checkbox_custom .ui-checkbox__icon[data-v-19ebb4f7]{stroke-dashoffset:0}input:checked+.ui-checkbox_custom>svg[data-v-19ebb4f7]{opacity:1}input:checked+.ui-checkbox_custom[data-v-19ebb4f7]{border-width:0;background-color:var(--color-primary);transition:background-color ease-in-out .1s,border-width ease-in-out .1s,box-shadow ease-in-out .2s;animation:cb-pop-19ebb4f7 .5s ease-in-out}input:checked+.ui-checkbox_custom[data-v-19ebb4f7]:hover{background-color:var(--color-primary-600)}input:checked+.ui-checkbox_custom[data-v-19ebb4f7]:active{background-color:var(--color-primary-700)}input:checked:disabled+.ui-checkbox_custom[data-v-19ebb4f7]{background-color:var(--color-primary-300);border:1px solid var(--color-primary-400)}.ui-checkbox_disabled[data-v-19ebb4f7]{pointer-events:none;cursor:default}@keyframes cb-pop-19ebb4f7{0%{transform:scale(1)}33%{transform:scale(.95)}66%{transform:scale(1.05)}to{transform:scale(1)}}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
import o from "./ui-checkbox.vue2.js";
|
|
3
3
|
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-19ebb4f7"]]);
|
|
6
6
|
export {
|
|
7
7
|
m as default
|
|
8
8
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as y, useSlots as
|
|
1
|
+
import { defineComponent as y, useSlots as b, computed as h, openBlock as d, createElementBlock as u, normalizeClass as n, unref as t, withDirectives as v, createElementVNode as r, vModelCheckbox as j, renderSlot as k, createCommentVNode as w, pushScopeId as E, popScopeId as V } from "vue";
|
|
2
2
|
import { EJustify as o } from "../../_types/align.js";
|
|
3
|
-
const g = (s) => (E("data-v-
|
|
3
|
+
const g = (s) => (E("data-v-19ebb4f7"), s = s(), V(), s), B = ["value", "disabled"], N = /* @__PURE__ */ g(() => /* @__PURE__ */ r("svg", {
|
|
4
4
|
class: "ui-checkbox__icon text-white",
|
|
5
5
|
width: "16",
|
|
6
6
|
height: "12",
|
|
@@ -30,15 +30,15 @@ const g = (s) => (E("data-v-1bc5e146"), s = s(), V(), s), B = ["value", "disable
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["update:modelValue"],
|
|
32
32
|
setup(s, { emit: c }) {
|
|
33
|
-
const l =
|
|
33
|
+
const l = b(), p = s, f = c, i = h({
|
|
34
34
|
get() {
|
|
35
35
|
return p.modelValue;
|
|
36
36
|
},
|
|
37
37
|
set(e) {
|
|
38
|
-
|
|
38
|
+
f("update:modelValue", e);
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
-
return (e,
|
|
41
|
+
return (e, a) => (d(), u("label", {
|
|
42
42
|
class: n(["ui-checkbox grid cursor-pointer", [
|
|
43
43
|
t(l).default && "items-center gap-sm",
|
|
44
44
|
(!e.justify || e.justify === t(o).START) && "justify-start",
|
|
@@ -51,16 +51,16 @@ const g = (s) => (E("data-v-1bc5e146"), s = s(), V(), s), B = ["value", "disable
|
|
|
51
51
|
]])
|
|
52
52
|
}, [
|
|
53
53
|
v(r("input", {
|
|
54
|
-
"onUpdate:modelValue":
|
|
54
|
+
"onUpdate:modelValue": a[0] || (a[0] = (m) => i.value = m),
|
|
55
55
|
class: "absolute appearance-none",
|
|
56
56
|
type: "checkbox",
|
|
57
57
|
value: e.value,
|
|
58
58
|
disabled: e.disabled
|
|
59
59
|
}, null, 8, B), [
|
|
60
|
-
[j,
|
|
60
|
+
[j, i.value]
|
|
61
61
|
]),
|
|
62
62
|
r("span", {
|
|
63
|
-
class: n(["ui-checkbox_custom relative flex
|
|
63
|
+
class: n(["ui-checkbox_custom relative flex size-md items-center justify-center rounded border border-secondary-alt-500 hover:border-secondary-alt-700", e.invertOrder && "order-last"])
|
|
64
64
|
}, _, 2),
|
|
65
65
|
t(l).default ? (d(), u("span", C, [
|
|
66
66
|
k(e.$slots, "default", {}, void 0, !0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-checkbox.vue2.js","sources":["../../../src/components/ui-checkbox/ui-checkbox.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-checkbox grid cursor-pointer\"\n\t\t:class=\"[\n\t\t\tslots.default && 'items-center gap-sm',\n\t\t\t(!justify || justify === EJustify.START) && 'justify-start',\n\t\t\tjustify === EJustify.END && 'justify-end',\n\t\t\tjustify === EJustify.AROUND && 'justify-around',\n\t\t\tjustify === EJustify.BETWEEN && 'justify-between',\n\t\t\tjustify === EJustify.EVENLY && 'justify-evenly',\n\t\t\tjustify === EJustify.CENTER && 'justify-center',\n\t\t\tdisabled && 'ui-checkbox_disabled',\n\t\t]\"\n\t>\n\t\t<input\n\t\t\tv-model=\"checkboxModel\"\n\t\t\tclass=\"absolute appearance-none\"\n\t\t\ttype=\"checkbox\"\n\t\t\t:value=\"value\"\n\t\t\t:disabled=\"disabled\"\n\t\t>\n\t\t<span\n\t\t\tclass=\"\n\t\t\t\tui-checkbox_custom\n\t\t\t\trelative\n\t\t\t\tflex\n\t\t\t\
|
|
1
|
+
{"version":3,"file":"ui-checkbox.vue2.js","sources":["../../../src/components/ui-checkbox/ui-checkbox.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-checkbox grid cursor-pointer\"\n\t\t:class=\"[\n\t\t\tslots.default && 'items-center gap-sm',\n\t\t\t(!justify || justify === EJustify.START) && 'justify-start',\n\t\t\tjustify === EJustify.END && 'justify-end',\n\t\t\tjustify === EJustify.AROUND && 'justify-around',\n\t\t\tjustify === EJustify.BETWEEN && 'justify-between',\n\t\t\tjustify === EJustify.EVENLY && 'justify-evenly',\n\t\t\tjustify === EJustify.CENTER && 'justify-center',\n\t\t\tdisabled && 'ui-checkbox_disabled',\n\t\t]\"\n\t>\n\t\t<input\n\t\t\tv-model=\"checkboxModel\"\n\t\t\tclass=\"absolute appearance-none\"\n\t\t\ttype=\"checkbox\"\n\t\t\t:value=\"value\"\n\t\t\t:disabled=\"disabled\"\n\t\t>\n\t\t<span\n\t\t\tclass=\"\n\t\t\t\tui-checkbox_custom\n\t\t\t\trelative\n\t\t\t\tflex\n\t\t\t\tsize-md\n\t\t\t\titems-center\n\t\t\t\tjustify-center\n\t\t\t\trounded\n\t\t\t\tborder\n\t\t\t\tborder-secondary-alt-500\n\t\t\t\thover:border-secondary-alt-700\n\t\t\t\t\"\n\t\t\t:class=\"invertOrder && 'order-last'\"\n\t\t>\n\t\t\t<svg\n\t\t\t\tclass=\"ui-checkbox__icon text-white\"\n\t\t\t\twidth=\"16\"\n\t\t\t\theight=\"12\"\n\t\t\t\tviewBox=\"0 0 16 12\"\n\t\t\t\tfill=\"none\"\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"M1 4.40106L6.60071 10.1135L15.1694 1.71245\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"1.6\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t/>\n\t\t\t</svg>\n\n\t\t</span>\n\t\t<span\n\t\t\tv-if=\"slots.default\"\n\t\t\tclass=\"ui-checkbox__slot-wrapper\"\n\t\t>\n\t\t\t<slot />\n\t\t</span>\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { useSlots, computed } from \"vue\";\n\timport { EJustify } from \"../../_types/align\";\n\n\tconst slots = useSlots();\n\n\tconst props = defineProps<{\n\t\tmodelValue: boolean | unknown[];\n\t\tjustify?: EJustify;\n\t\tinvertOrder?: boolean;\n\t\tdisabled?: boolean;\n\t\tvalue?: string;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst checkboxModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n\n</script>\n\n<style scoped>\n\t.ui-checkbox {\n\t\tgrid-template-columns: auto auto;\n\t}\n\n\t.ui-checkbox_custom {\n\t\ttransition: background-color ease-in-out 0.3s 0.3s, border-width ease-in-out 0.2s;\n\t}\n\n\t.ui-checkbox__icon {\n\t\tstroke-dasharray: 70;\n\t\tstroke-dashoffset: 70;\n\t\ttransition: stroke-dashoffset 0.3s ease-in-out;\n\t}\n\n\tinput + .ui-checkbox_custom:active {\n\t\ttransition: background-color ease-in-out 0.1s;\n\t\tbackground-color: var(--color-secondary-alt-200);\n\t}\n\n\tinput + .ui-checkbox_custom:active,\n\tinput:focus + .ui-checkbox_custom {\n\t\tbox-shadow: var(--shadow-border-primary);\n\t}\n\n\tinput:disabled + .ui-checkbox_custom {\n\t\tbackground-color: var(--color-secondary-alt-200);\n\t\tborder-color: var(--color-secondary-alt-400);\n\t}\n\n\tinput:checked + .ui-checkbox_custom .ui-checkbox__icon {\n\t\tstroke-dashoffset: 0;\n\t}\n\n\tinput:checked + .ui-checkbox_custom > svg {\n\t\topacity: 1;\n\t}\n\n\tinput:checked + .ui-checkbox_custom {\n\t\tborder-width: 0;\n\t\tbackground-color: var(--color-primary);\n\t\ttransition: background-color ease-in-out 0.1s, border-width ease-in-out 0.1s, box-shadow ease-in-out 0.2s;\n\t\tanimation: cb-pop 0.5s ease-in-out;\n\t}\n\n\tinput:checked + .ui-checkbox_custom:hover {\n\t\tbackground-color: var(--color-primary-600);\n\t}\n\n\tinput:checked + .ui-checkbox_custom:active {\n\t\tbackground-color: var(--color-primary-700);\n\t}\n\n\tinput:checked:disabled + .ui-checkbox_custom {\n\t\tbackground-color: var(--color-primary-300);\n\t\tborder: 1px solid var(--color-primary-400);\n\t}\n\n\t.ui-checkbox_disabled {\n\t\tpointer-events: none;\n\t\tcursor: default;\n\t}\n\n\t@keyframes cb-pop {\n\t\t0% {\n\t\t\ttransform: scale(1);\n\t\t}\n\n\t\t33% {\n\t\t\ttransform: scale(0.95);\n\t\t}\n\n\t\t66% {\n\t\t\ttransform: scale(1.05);\n\t\t}\n\n\t\t100% {\n\t\t\ttransform: scale(1);\n\t\t}\n\t}\n</style>\n"],"names":["slots","useSlots","props","__props","emit","__emit","checkboxModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEC,UAAMA,IAAQC,KAERC,IAAQC,GAQRC,IAAOC,GAEPC,IAAgBC,EAAS;AAAA,MAC9B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_typings.d.ts","sourceRoot":"","sources":["../../../src/components/ui-dropdown/_typings.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACzB,OAAO,YAAY;IACnB,SAAS,cAAc;CAEvB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TIconName } from '../ui-icon/_typings.ts';
|
|
2
2
|
import { EDropdownKinds } from './_typings.ts';
|
|
3
|
-
import {
|
|
3
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
4
4
|
import UiDropdown from "./ui-dropdown.vue";
|
|
5
5
|
export { UiDropdown };
|
|
6
6
|
export { EDropdownKinds } from "./_typings.ts";
|
|
@@ -8,94 +8,52 @@ export { EDropdownKinds } from "./_typings.ts";
|
|
|
8
8
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
9
9
|
*/
|
|
10
10
|
declare const deprecatedDefault: {
|
|
11
|
-
new (...args: any[]): {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
type: PropType<string>;
|
|
26
|
-
};
|
|
27
|
-
kind: {
|
|
28
|
-
type: PropType<EDropdownKinds>;
|
|
29
|
-
default: EDropdownKinds;
|
|
30
|
-
};
|
|
31
|
-
iconName: {
|
|
32
|
-
type: PropType<TIconName>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
subText: {
|
|
36
|
-
type: PropType<string>;
|
|
37
|
-
};
|
|
38
|
-
active: {
|
|
39
|
-
type: PropType<boolean>;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
}>>, "kind" | "active">;
|
|
43
|
-
$attrs: {
|
|
44
|
-
[x: string]: unknown;
|
|
11
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
|
|
12
|
+
header: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
};
|
|
15
|
+
kind: {
|
|
16
|
+
type: PropType<EDropdownKinds>;
|
|
17
|
+
default: EDropdownKinds;
|
|
18
|
+
};
|
|
19
|
+
iconName: {
|
|
20
|
+
type: PropType<TIconName>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
subText: {
|
|
24
|
+
type: PropType<string>;
|
|
45
25
|
};
|
|
46
|
-
|
|
47
|
-
|
|
26
|
+
active: {
|
|
27
|
+
type: PropType<boolean>;
|
|
48
28
|
};
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
subText: {
|
|
69
|
-
type: PropType<string>;
|
|
70
|
-
};
|
|
71
|
-
active: {
|
|
72
|
-
type: PropType<boolean>;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
76
|
-
kind: EDropdownKinds;
|
|
77
|
-
active: boolean;
|
|
78
|
-
}, {}, string, {}> & {
|
|
79
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
80
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
82
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
83
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
84
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
85
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
86
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
87
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
88
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
89
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
90
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
91
|
-
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
92
|
-
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
93
|
-
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
29
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
30
|
+
header: {
|
|
31
|
+
type: PropType<string>;
|
|
32
|
+
};
|
|
33
|
+
kind: {
|
|
34
|
+
type: PropType<EDropdownKinds>;
|
|
35
|
+
default: EDropdownKinds;
|
|
36
|
+
};
|
|
37
|
+
iconName: {
|
|
38
|
+
type: PropType<TIconName>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
subText: {
|
|
42
|
+
type: PropType<string>;
|
|
43
|
+
};
|
|
44
|
+
active: {
|
|
45
|
+
type: PropType<boolean>;
|
|
94
46
|
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
47
|
+
}>>, {
|
|
48
|
+
kind: EDropdownKinds;
|
|
49
|
+
}, true, {}, {}, {
|
|
50
|
+
P: {};
|
|
51
|
+
B: {};
|
|
52
|
+
D: {};
|
|
53
|
+
C: {};
|
|
54
|
+
M: {};
|
|
55
|
+
Defaults: {};
|
|
56
|
+
}, Readonly<ExtractPropTypes<{
|
|
99
57
|
header: {
|
|
100
58
|
type: PropType<string>;
|
|
101
59
|
};
|
|
@@ -112,9 +70,10 @@ declare const deprecatedDefault: {
|
|
|
112
70
|
};
|
|
113
71
|
active: {
|
|
114
72
|
type: PropType<boolean>;
|
|
115
|
-
default: boolean;
|
|
116
73
|
};
|
|
117
|
-
}
|
|
74
|
+
}>>, {}, {}, {}, {}, {
|
|
75
|
+
kind: EDropdownKinds;
|
|
76
|
+
}>;
|
|
118
77
|
__isFragment?: undefined;
|
|
119
78
|
__isTeleport?: undefined;
|
|
120
79
|
__isSuspense?: undefined;
|
|
@@ -135,14 +94,13 @@ declare const deprecatedDefault: {
|
|
|
135
94
|
};
|
|
136
95
|
active: {
|
|
137
96
|
type: PropType<boolean>;
|
|
138
|
-
default: boolean;
|
|
139
97
|
};
|
|
140
98
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
141
99
|
kind: EDropdownKinds;
|
|
142
|
-
active: boolean;
|
|
143
100
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
144
101
|
$slots: {
|
|
145
102
|
default?(_: {}): any;
|
|
146
103
|
};
|
|
147
104
|
});
|
|
148
105
|
export default deprecatedDefault;
|
|
106
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAa,CAAC;AACrC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { type TIconName } from "../ui-icon";
|
|
3
3
|
import { EDropdownKinds } from "./_typings";
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -9,8 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
9
9
|
active?: boolean | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
kind: EDropdownKinds;
|
|
12
|
-
|
|
13
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
13
|
header?: string | undefined;
|
|
15
14
|
iconName: TIconName;
|
|
16
15
|
subText?: string | undefined;
|
|
@@ -18,10 +17,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
18
17
|
active?: boolean | undefined;
|
|
19
18
|
}>, {
|
|
20
19
|
kind: EDropdownKinds;
|
|
21
|
-
active: boolean;
|
|
22
20
|
}>>>, {
|
|
23
21
|
kind: EDropdownKinds;
|
|
24
|
-
active: boolean;
|
|
25
22
|
}, {}>, {
|
|
26
23
|
default?(_: {}): any;
|
|
27
24
|
}>;
|
|
@@ -48,3 +45,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
48
45
|
$slots: S;
|
|
49
46
|
};
|
|
50
47
|
};
|
|
48
|
+
//# sourceMappingURL=ui-dropdown.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-dropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-dropdown/ui-dropdown.vue"],"names":[],"mappings":"AA6DA;AAIC,OAAe,EAAE,KAAK,SAAS,EAAS,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;AA6M7C,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|