bonkers-ui 1.0.64 → 1.0.66
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/LICENCE +21 -0
- package/_utils/debounce.d.ts +2 -0
- package/_utils/debounce.d.ts.map +1 -0
- package/_utils/debounce.js +12 -0
- package/_utils/debounce.js.map +1 -0
- 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 +8 -6
- package/components/ui-alert/index.d.ts.map +1 -0
- package/components/ui-alert/ui-alert.vue.d.ts +7 -5
- 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 +8 -18
- package/components/ui-badge/index.d.ts.map +1 -0
- package/components/ui-badge/ui-badge.vue.d.ts +7 -7
- 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 +3 -1
- package/components/ui-ber-rank/_types.d.ts.map +1 -0
- package/components/ui-ber-rank/index.d.ts +6 -4
- package/components/ui-ber-rank/index.d.ts.map +1 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +5 -3
- 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 +8 -6
- package/components/ui-button/index.d.ts.map +1 -0
- package/components/ui-button/ui-button.vue.d.ts +6 -4
- package/components/ui-button/ui-button.vue.d.ts.map +1 -0
- package/components/ui-card-cta/index.d.ts +7 -5
- package/components/ui-card-cta/index.d.ts.map +1 -0
- package/components/ui-card-cta/ui-card-cta.vue.d.ts +6 -4
- package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +1 -0
- package/components/ui-card-result/index.d.ts +7 -5
- package/components/ui-card-result/index.d.ts.map +1 -0
- package/components/ui-card-result/ui-card-result.vue.d.ts +4 -3
- 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 +6 -4
- 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 +13 -11
- package/components/ui-checkbox/index.d.ts.map +1 -0
- package/components/ui-checkbox/ui-checkbox.vue.d.ts +8 -6
- 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 +8 -6
- package/components/ui-dropdown/index.d.ts.map +1 -0
- package/components/ui-dropdown/ui-dropdown.vue.d.ts +7 -5
- package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +1 -0
- package/components/ui-dropdown/ui-dropdown.vue.js +45 -43
- 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 +8 -6
- package/components/ui-icon/index.d.ts.map +1 -0
- package/components/ui-icon/ui-icon.vue.d.ts +6 -4
- 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 +8 -6
- package/components/ui-icon-wrapper/index.d.ts.map +1 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +6 -4
- 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 +1 -0
- package/components/ui-input/_typings.d.ts.map +1 -0
- package/components/ui-input/index.d.ts +15 -6
- package/components/ui-input/index.d.ts.map +1 -0
- package/components/ui-input/ui-input.vue.d.ts +9 -4
- 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 +7 -5
- 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 +8 -6
- package/components/ui-list-item/index.d.ts.map +1 -0
- package/components/ui-list-item/ui-list-item.vue.d.ts +7 -5
- 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 +8 -6
- package/components/ui-modal/index.d.ts.map +1 -0
- package/components/ui-modal/ui-backdrop/index.d.ts +6 -4
- 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 +6 -4
- 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 +8 -6
- package/components/ui-notification-badge/index.d.ts.map +1 -0
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +6 -4
- 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 +7 -5
- package/components/ui-order-card/index.d.ts.map +1 -0
- package/components/ui-order-card/ui-order-card.vue.d.ts +7 -5
- package/components/ui-order-card/ui-order-card.vue.d.ts.map +1 -0
- package/components/ui-plain-radio/index.d.ts +7 -5
- package/components/ui-plain-radio/index.d.ts.map +1 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +4 -3
- 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 +5 -3
- 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 +7 -5
- package/components/ui-radio/index.d.ts.map +1 -0
- package/components/ui-radio/ui-radio.vue.d.ts +6 -4
- 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 +11 -6
- 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 +4 -3
- 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 +7 -5
- package/components/ui-radio-fancy/index.d.ts.map +1 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +7 -5
- 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 +7 -29
- 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 +6 -8
- 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 +6 -4
- 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 +7 -5
- package/components/ui-select/index.d.ts.map +1 -0
- package/components/ui-select/ui-select.vue.d.ts +4 -3
- 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 +5 -3
- package/components/ui-skeleton/index.d.ts.map +1 -0
- package/components/ui-skeleton/ui-skeleton.vue.d.ts +5 -3
- 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 +8 -6
- package/components/ui-snackbar/index.d.ts.map +1 -0
- package/components/ui-snackbar/ui-snackbar.vue.d.ts +6 -4
- 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 +11 -9
- package/components/ui-table/index.d.ts.map +1 -0
- package/components/ui-table/ui-table-cell/index.d.ts +7 -5
- 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 +6 -4
- 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 +8 -6
- 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 +6 -4
- 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 +6 -4
- package/components/ui-table/ui-table.vue.d.ts.map +1 -0
- package/components/ui-tabs/index.d.ts +5 -3
- 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 +13 -11
- package/components/ui-toggle/index.d.ts.map +1 -0
- package/components/ui-toggle/ui-toggle.vue.d.ts +6 -5
- 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 +9 -7
- package/components/ui-typography/index.d.ts.map +1 -0
- package/components/ui-typography/ui-typography.vue.d.ts +7 -5
- package/components/ui-typography/ui-typography.vue.d.ts.map +1 -0
- package/components/ui-verification-input/index.d.ts +7 -5
- package/components/ui-verification-input/index.d.ts.map +1 -0
- package/components/ui-verification-input/ui-verification-input.vue.d.ts +4 -3
- package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +1 -0
- package/index.d.ts +38 -36
- package/index.d.ts.map +1 -0
- package/index.js +117 -116
- package/index.js.map +1 -1
- package/package.json +40 -38
- package/types.d.ts +21 -20
- package/types.d.ts.map +1 -0
- package/types.js +6 -6
- package/postcss.config.js +0 -8
- package/tsconfig.json +0 -56
- package/tsconfig.node.json +0 -12
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
2
|
-
import UiCardResult from
|
|
2
|
+
import { default as UiCardResult } from './ui-card-result.vue';
|
|
3
|
+
|
|
3
4
|
export { UiCardResult };
|
|
4
5
|
/**
|
|
5
6
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
6
7
|
*/
|
|
7
8
|
declare const deprecatedDefault: {
|
|
8
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
|
|
9
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
9
10
|
header: {
|
|
10
11
|
type: PropType<string>;
|
|
11
12
|
};
|
|
@@ -21,7 +22,7 @@ declare const deprecatedDefault: {
|
|
|
21
22
|
exclusiveBottomClickAction: {
|
|
22
23
|
type: PropType<() => void>;
|
|
23
24
|
};
|
|
24
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
25
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
25
26
|
header: {
|
|
26
27
|
type: PropType<string>;
|
|
27
28
|
};
|
|
@@ -44,7 +45,7 @@ declare const deprecatedDefault: {
|
|
|
44
45
|
C: {};
|
|
45
46
|
M: {};
|
|
46
47
|
Defaults: {};
|
|
47
|
-
}, Readonly<ExtractPropTypes<{
|
|
48
|
+
}, Readonly< ExtractPropTypes<{
|
|
48
49
|
header: {
|
|
49
50
|
type: PropType<string>;
|
|
50
51
|
};
|
|
@@ -64,7 +65,7 @@ declare const deprecatedDefault: {
|
|
|
64
65
|
__isFragment?: undefined;
|
|
65
66
|
__isTeleport?: undefined;
|
|
66
67
|
__isSuspense?: undefined;
|
|
67
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
68
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
68
69
|
header: {
|
|
69
70
|
type: PropType<string>;
|
|
70
71
|
};
|
|
@@ -87,3 +88,4 @@ declare const deprecatedDefault: {
|
|
|
87
88
|
};
|
|
88
89
|
});
|
|
89
90
|
export default deprecatedDefault;
|
|
91
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-result/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAe,CAAC;AACvC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
header?: string | undefined;
|
|
4
4
|
exclusiveText?: string | undefined;
|
|
5
5
|
exclusiveTextBottom?: string | undefined;
|
|
6
6
|
exclusiveClickAction?: (() => void) | undefined;
|
|
7
7
|
exclusiveBottomClickAction?: (() => void) | undefined;
|
|
8
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string,
|
|
8
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
header?: string | undefined;
|
|
10
10
|
exclusiveText?: string | undefined;
|
|
11
11
|
exclusiveTextBottom?: string | undefined;
|
|
@@ -30,3 +30,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
30
30
|
$slots: S;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
+
//# sourceMappingURL=ui-card-result.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-card-result.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-result/ui-card-result.vue"],"names":[],"mappings":"AAsEA;;;;;;;;;;;;;;;;;AAkPA,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,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-card-result__header[data-v-
|
|
2
|
-
import
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-card-result__header[data-v-c7aa8ae2]{grid-template-columns:1fr auto}.line-clamp[data-v-c7aa8ae2]{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import a from "./ui-card-result.vue2.js";
|
|
3
3
|
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const m = /* @__PURE__ */ o(a, [["__scopeId", "data-v-c7aa8ae2"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=ui-card-result.vue.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as k, openBlock as o, createElementBlock as
|
|
2
|
-
import u from "../ui-typography/
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { defineComponent as k, openBlock as o, createElementBlock as l, createVNode as g, unref as e, withCtx as r, createTextVNode as n, toDisplayString as d, createCommentVNode as a, createElementVNode as c, createBlock as f, renderSlot as x } from "vue";
|
|
2
|
+
import u from "../ui-typography/ui-typography.vue.js";
|
|
3
|
+
import { ETypographySizes as m, ETextAlign as h, ETextWeight as v } from "../ui-typography/_typings.js";
|
|
4
|
+
import { EColors as p } from "../../_types/colors.js";
|
|
5
5
|
const y = { class: "ui-card-result" }, C = { class: "relative grid overflow-hidden rounded-2xl border border-secondary-alt-400 bg-white" }, b = { class: "ui-card-result__header m-xs mb-sm grid items-center justify-between gap-xs rounded-lg bg-secondary-alt-200 p-xs" }, E = { class: "w-full overflow-hidden bg-white p-sm pt-0" }, N = /* @__PURE__ */ k({
|
|
6
6
|
__name: "ui-card-result",
|
|
7
7
|
props: {
|
|
@@ -12,23 +12,23 @@ const y = { class: "ui-card-result" }, C = { class: "relative grid overflow-hidd
|
|
|
12
12
|
exclusiveBottomClickAction: { type: Function }
|
|
13
13
|
},
|
|
14
14
|
setup(T) {
|
|
15
|
-
return (i, t) => (o(),
|
|
16
|
-
i.exclusiveText ? (o(),
|
|
15
|
+
return (i, t) => (o(), l("div", y, [
|
|
16
|
+
i.exclusiveText ? (o(), l("div", {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "-mb-lg rounded-2xl bg-primary px-sm pb-lg",
|
|
19
19
|
onClick: t[0] || (t[0] = //@ts-ignore
|
|
20
|
-
(...
|
|
20
|
+
(...s) => i.exclusiveClickAction && i.exclusiveClickAction(...s))
|
|
21
21
|
}, [
|
|
22
22
|
g(e(u), {
|
|
23
23
|
class: "py-xs",
|
|
24
24
|
"line-height": "",
|
|
25
|
-
size: e(
|
|
26
|
-
kind: e(
|
|
25
|
+
size: e(m).XXS,
|
|
26
|
+
kind: e(p).WHITE,
|
|
27
27
|
align: e(h).CENTER,
|
|
28
28
|
weight: e(v).SEMI_BOLD
|
|
29
29
|
}, {
|
|
30
30
|
default: r(() => [
|
|
31
|
-
d(
|
|
31
|
+
n(d(i.exclusiveText), 1)
|
|
32
32
|
]),
|
|
33
33
|
_: 1
|
|
34
34
|
}, 8, ["size", "kind", "align", "weight"])
|
|
@@ -39,12 +39,12 @@ const y = { class: "ui-card-result" }, C = { class: "relative grid overflow-hidd
|
|
|
39
39
|
key: 0,
|
|
40
40
|
"line-height": "",
|
|
41
41
|
class: "line-clamp flex-1",
|
|
42
|
-
size: e(
|
|
42
|
+
size: e(m).SM,
|
|
43
43
|
weight: e(v).BOLD,
|
|
44
|
-
kind: e(
|
|
44
|
+
kind: e(p).SECONDARY
|
|
45
45
|
}, {
|
|
46
46
|
default: r(() => [
|
|
47
|
-
d(
|
|
47
|
+
n(d(i.header), 1)
|
|
48
48
|
]),
|
|
49
49
|
_: 1
|
|
50
50
|
}, 8, ["size", "weight", "kind"])) : a("", !0),
|
|
@@ -54,21 +54,21 @@ const y = { class: "ui-card-result" }, C = { class: "relative grid overflow-hidd
|
|
|
54
54
|
x(i.$slots, "default", {}, void 0, !0)
|
|
55
55
|
])
|
|
56
56
|
]),
|
|
57
|
-
i.exclusiveTextBottom ? (o(),
|
|
57
|
+
i.exclusiveTextBottom ? (o(), l("div", {
|
|
58
58
|
key: 1,
|
|
59
59
|
class: "-mt-lg rounded-2xl border border-secondary-alt-400 bg-secondary-alt-200 px-sm pt-lg",
|
|
60
60
|
onClick: t[1] || (t[1] = //@ts-ignore
|
|
61
|
-
(...
|
|
61
|
+
(...s) => i.exclusiveBottomClickAction && i.exclusiveBottomClickAction(...s))
|
|
62
62
|
}, [
|
|
63
63
|
g(e(u), {
|
|
64
64
|
class: "py-xs",
|
|
65
|
-
size: e(
|
|
66
|
-
kind: e(
|
|
65
|
+
size: e(m).XXS,
|
|
66
|
+
kind: e(p).SECONDARY,
|
|
67
67
|
align: e(h).CENTER,
|
|
68
68
|
"line-height": ""
|
|
69
69
|
}, {
|
|
70
70
|
default: r(() => [
|
|
71
|
-
d(
|
|
71
|
+
n(d(i.exclusiveTextBottom), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 1
|
|
74
74
|
}, 8, ["size", "kind", "align"])
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
2
|
-
import UiCardSimple from
|
|
2
|
+
import { default as UiCardSimple } from './ui-card-simple.vue';
|
|
3
|
+
|
|
3
4
|
export { UiCardSimple };
|
|
4
5
|
/**
|
|
5
6
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
6
7
|
*/
|
|
7
8
|
declare const deprecatedDefault: {
|
|
8
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
9
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
9
10
|
P: {};
|
|
10
11
|
B: {};
|
|
11
12
|
D: {};
|
|
12
13
|
C: {};
|
|
13
14
|
M: {};
|
|
14
15
|
Defaults: {};
|
|
15
|
-
}, Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
16
|
+
}, Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
16
17
|
__isFragment?: undefined;
|
|
17
18
|
__isTeleport?: undefined;
|
|
18
19
|
__isSuspense?: undefined;
|
|
19
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
20
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
20
21
|
$slots: {
|
|
21
22
|
title?(_: {}): any;
|
|
22
23
|
default?(_: {}): any;
|
|
@@ -24,3 +25,4 @@ declare const deprecatedDefault: {
|
|
|
24
25
|
};
|
|
25
26
|
});
|
|
26
27
|
export default deprecatedDefault;
|
|
28
|
+
//# 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,12 +1,13 @@
|
|
|
1
1
|
import { EJustify } from '../../types';
|
|
2
2
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
-
import UiCheckbox from
|
|
3
|
+
import { default as UiCheckbox } from './ui-checkbox.vue';
|
|
4
|
+
|
|
4
5
|
export { UiCheckbox };
|
|
5
6
|
/**
|
|
6
7
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
7
8
|
*/
|
|
8
9
|
declare const deprecatedDefault: {
|
|
9
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
|
|
10
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
10
11
|
modelValue: {
|
|
11
12
|
type: PropType<boolean | unknown[]>;
|
|
12
13
|
required: true;
|
|
@@ -24,10 +25,10 @@ declare const deprecatedDefault: {
|
|
|
24
25
|
type: PropType<string>;
|
|
25
26
|
};
|
|
26
27
|
}>> & {
|
|
27
|
-
"onUpdate:modelValue"?: ((
|
|
28
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
28
29
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
29
|
-
"update:modelValue": (
|
|
30
|
-
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
30
|
+
"update:modelValue": (...args: any[]) => void;
|
|
31
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
31
32
|
modelValue: {
|
|
32
33
|
type: PropType<boolean | unknown[]>;
|
|
33
34
|
required: true;
|
|
@@ -45,7 +46,7 @@ declare const deprecatedDefault: {
|
|
|
45
46
|
type: PropType<string>;
|
|
46
47
|
};
|
|
47
48
|
}>> & {
|
|
48
|
-
"onUpdate:modelValue"?: ((
|
|
49
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
50
|
}, {}, true, {}, {}, {
|
|
50
51
|
P: {};
|
|
51
52
|
B: {};
|
|
@@ -53,7 +54,7 @@ declare const deprecatedDefault: {
|
|
|
53
54
|
C: {};
|
|
54
55
|
M: {};
|
|
55
56
|
Defaults: {};
|
|
56
|
-
}, Readonly<ExtractPropTypes<{
|
|
57
|
+
}, Readonly< ExtractPropTypes<{
|
|
57
58
|
modelValue: {
|
|
58
59
|
type: PropType<boolean | unknown[]>;
|
|
59
60
|
required: true;
|
|
@@ -71,12 +72,12 @@ declare const deprecatedDefault: {
|
|
|
71
72
|
type: PropType<string>;
|
|
72
73
|
};
|
|
73
74
|
}>> & {
|
|
74
|
-
"onUpdate:modelValue"?: ((
|
|
75
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
76
|
}, {}, {}, {}, {}, {}>;
|
|
76
77
|
__isFragment?: undefined;
|
|
77
78
|
__isTeleport?: undefined;
|
|
78
79
|
__isSuspense?: undefined;
|
|
79
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
80
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
80
81
|
modelValue: {
|
|
81
82
|
type: PropType<boolean | unknown[]>;
|
|
82
83
|
required: true;
|
|
@@ -94,12 +95,13 @@ declare const deprecatedDefault: {
|
|
|
94
95
|
type: PropType<string>;
|
|
95
96
|
};
|
|
96
97
|
}>> & {
|
|
97
|
-
"onUpdate:modelValue"?: ((
|
|
98
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
98
99
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
99
|
-
"update:modelValue": (
|
|
100
|
+
"update:modelValue": (...args: any[]) => void;
|
|
100
101
|
}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
101
102
|
$slots: {
|
|
102
103
|
default?(_: {}): any;
|
|
103
104
|
};
|
|
104
105
|
});
|
|
105
106
|
export default deprecatedDefault;
|
|
107
|
+
//# 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,21 +1,22 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
2
|
-
import { EJustify } from
|
|
3
|
-
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { EJustify } from '../../_types/align';
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
5
|
modelValue: boolean | unknown[];
|
|
5
6
|
justify?: EJustify | undefined;
|
|
6
7
|
invertOrder?: boolean | undefined;
|
|
7
8
|
disabled?: boolean | undefined;
|
|
8
9
|
value?: string | undefined;
|
|
9
10
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
-
"update:modelValue": (
|
|
11
|
-
}, string,
|
|
11
|
+
"update:modelValue": (...args: any[]) => void;
|
|
12
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
13
|
modelValue: boolean | unknown[];
|
|
13
14
|
justify?: EJustify | undefined;
|
|
14
15
|
invertOrder?: boolean | undefined;
|
|
15
16
|
disabled?: boolean | undefined;
|
|
16
17
|
value?: string | undefined;
|
|
17
18
|
}>>> & {
|
|
18
|
-
"onUpdate:modelValue"?: ((
|
|
19
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
19
20
|
}, {}, {}>, {
|
|
20
21
|
default?(_: {}): any;
|
|
21
22
|
}>;
|
|
@@ -34,3 +35,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
34
35
|
$slots: S;
|
|
35
36
|
};
|
|
36
37
|
};
|
|
38
|
+
//# 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,14 +1,15 @@
|
|
|
1
1
|
import { TIconName } from '../ui-icon/_typings.ts';
|
|
2
2
|
import { EDropdownKinds } from './_typings.ts';
|
|
3
3
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
4
|
-
import UiDropdown from
|
|
4
|
+
import { default as UiDropdown } from './ui-dropdown.vue';
|
|
5
|
+
|
|
5
6
|
export { UiDropdown };
|
|
6
|
-
export { EDropdownKinds } from
|
|
7
|
+
export { EDropdownKinds } from './_typings.ts';
|
|
7
8
|
/**
|
|
8
9
|
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
9
10
|
*/
|
|
10
11
|
declare const deprecatedDefault: {
|
|
11
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
|
|
12
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
12
13
|
header: {
|
|
13
14
|
type: PropType<string>;
|
|
14
15
|
};
|
|
@@ -26,7 +27,7 @@ declare const deprecatedDefault: {
|
|
|
26
27
|
active: {
|
|
27
28
|
type: PropType<boolean>;
|
|
28
29
|
};
|
|
29
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
30
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
30
31
|
header: {
|
|
31
32
|
type: PropType<string>;
|
|
32
33
|
};
|
|
@@ -53,7 +54,7 @@ declare const deprecatedDefault: {
|
|
|
53
54
|
C: {};
|
|
54
55
|
M: {};
|
|
55
56
|
Defaults: {};
|
|
56
|
-
}, Readonly<ExtractPropTypes<{
|
|
57
|
+
}, Readonly< ExtractPropTypes<{
|
|
57
58
|
header: {
|
|
58
59
|
type: PropType<string>;
|
|
59
60
|
};
|
|
@@ -77,7 +78,7 @@ declare const deprecatedDefault: {
|
|
|
77
78
|
__isFragment?: undefined;
|
|
78
79
|
__isTeleport?: undefined;
|
|
79
80
|
__isSuspense?: undefined;
|
|
80
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
81
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
81
82
|
header: {
|
|
82
83
|
type: PropType<string>;
|
|
83
84
|
};
|
|
@@ -103,3 +104,4 @@ declare const deprecatedDefault: {
|
|
|
103
104
|
};
|
|
104
105
|
});
|
|
105
106
|
export default deprecatedDefault;
|
|
107
|
+
//# 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,7 +1,8 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { EDropdownKinds } from './_typings';
|
|
3
|
+
import { TIconName } from '../ui-icon';
|
|
4
|
+
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
6
|
header?: string | undefined;
|
|
6
7
|
iconName: TIconName;
|
|
7
8
|
subText?: string | undefined;
|
|
@@ -9,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
9
10
|
active?: boolean | undefined;
|
|
10
11
|
}>, {
|
|
11
12
|
kind: EDropdownKinds;
|
|
12
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string,
|
|
13
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
14
|
header?: string | undefined;
|
|
14
15
|
iconName: TIconName;
|
|
15
16
|
subText?: string | undefined;
|
|
@@ -45,3 +46,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
45
46
|
$slots: S;
|
|
46
47
|
};
|
|
47
48
|
};
|
|
49
|
+
//# 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":"AA2DA;AAIC,OAAe,EAAE,KAAK,SAAS,EAAS,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;AA0M7C,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"}
|