@dxtmisha/d1 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/D1Accordion.d.ts +200 -0
- package/dist/D1Accordion.js +2 -394
- package/dist/D1Accordion.vue_vue_type_script_setup_true_lang-ZmnMZM7M.js +61 -0
- package/dist/D1ActionSheet.d.ts +260 -0
- package/dist/D1ActionSheet.js +4 -0
- package/dist/D1ActionSheet.vue_vue_type_script_setup_true_lang-B1c7IkCD.js +72 -0
- package/dist/D1Actions.d.ts +176 -0
- package/dist/D1Actions.js +4 -0
- package/dist/D1Actions.vue_vue_type_script_setup_true_lang-DGLk9Bkq.js +67 -0
- package/dist/D1Anchor.d.ts +134 -0
- package/dist/D1Anchor.js +4 -0
- package/dist/D1Anchor.vue_vue_type_script_setup_true_lang-ByIV_iXR.js +59 -0
- package/dist/D1Arrow.d.ts +85 -0
- package/dist/D1Arrow.js +4 -0
- package/dist/D1Arrow.vue_vue_type_script_setup_true_lang-CL7CgsNP.js +50 -0
- package/dist/D1Badge.d.ts +132 -0
- package/dist/D1Badge.js +4 -0
- package/dist/D1Badge.vue_vue_type_script_setup_true_lang-Bk5Zjd0a.js +86 -0
- package/dist/D1Bars.d.ts +177 -0
- package/dist/D1Bars.js +4 -0
- package/dist/D1Bars.vue_vue_type_script_setup_true_lang-Bwvd00nT.js +79 -0
- package/dist/D1Block.d.ts +120 -0
- package/dist/D1Block.js +4 -0
- package/dist/D1Block.vue_vue_type_script_setup_true_lang-C1ayfcdv.js +55 -0
- package/dist/D1Button.d.ts +166 -0
- package/dist/D1Button.js +4 -0
- package/dist/D1Button.vue_vue_type_script_setup_true_lang-D41llYta.js +108 -0
- package/dist/D1Cell.d.ts +161 -0
- package/dist/D1Cell.js +4 -0
- package/dist/D1Cell.vue_vue_type_script_setup_true_lang-DUsqN8j7.js +98 -0
- package/dist/D1Chip.d.ts +164 -0
- package/dist/D1Chip.js +4 -0
- package/dist/D1Chip.vue_vue_type_script_setup_true_lang-BIUMGfw3.js +104 -0
- package/dist/D1ChipGroup.d.ts +173 -0
- package/dist/D1ChipGroup.js +4 -0
- package/dist/D1ChipGroup.vue_vue_type_script_setup_true_lang-QVI8C5ye.js +50 -0
- package/dist/D1Dialog.d.ts +267 -0
- package/dist/D1Dialog.js +4 -0
- package/dist/D1Dialog.vue_vue_type_script_setup_true_lang-0AMBJ7It.js +99 -0
- package/dist/D1Field.d.ts +189 -0
- package/dist/D1Field.js +4 -0
- package/dist/D1Field.vue_vue_type_script_setup_true_lang-BJhBWGUy.js +170 -0
- package/dist/D1FieldCounter.d.ts +79 -0
- package/dist/D1FieldCounter.js +4 -0
- package/dist/D1FieldCounter.vue_vue_type_script_setup_true_lang-BzDNKHQa.js +42 -0
- package/dist/D1FieldLabel.d.ts +105 -0
- package/dist/D1FieldLabel.js +4 -0
- package/dist/D1FieldLabel.vue_vue_type_script_setup_true_lang-BNUuk2qa.js +54 -0
- package/dist/D1FieldMessage.d.ts +87 -0
- package/dist/D1FieldMessage.js +4 -0
- package/dist/D1FieldMessage.vue_vue_type_script_setup_true_lang-BwscBukK.js +52 -0
- package/dist/D1Icon.d.ts +128 -0
- package/dist/D1Icon.js +4 -0
- package/dist/D1Icon.vue_vue_type_script_setup_true_lang-xas36wzc.js +97 -0
- package/dist/D1Image.d.ts +97 -0
- package/dist/D1Image.js +1 -1
- package/dist/{index-BHi6Xmck.js → D1Image.vue_vue_type_script_setup_true_lang-DNSEm9t1.js} +6 -6
- package/dist/D1Input.d.ts +224 -0
- package/dist/D1Input.js +4 -0
- package/dist/D1Input.vue_vue_type_script_setup_true_lang-BtKtLPy3.js +124 -0
- package/dist/D1List.d.ts +200 -0
- package/dist/D1List.js +4 -0
- package/dist/D1List.vue_vue_type_script_setup_true_lang-ys_l-2Q9.js +79 -0
- package/dist/D1ListGroup.d.ts +85 -0
- package/dist/D1ListGroup.js +4 -0
- package/dist/D1ListGroup.vue_vue_type_script_setup_true_lang-C_u-9aGr.js +43 -0
- package/dist/D1ListItem.d.ts +183 -0
- package/dist/D1ListItem.js +4 -0
- package/dist/D1ListItem.vue_vue_type_script_setup_true_lang-iPuUcwIy.js +125 -0
- package/dist/D1ListMenu.d.ts +183 -0
- package/dist/D1ListMenu.js +4 -0
- package/dist/D1ListMenu.vue_vue_type_script_setup_true_lang-RqCdMNKM.js +53 -0
- package/dist/D1Mask.d.ts +115 -0
- package/dist/D1Mask.js +4 -0
- package/dist/D1Mask.vue_vue_type_script_setup_true_lang-D8k5XAko.js +68 -0
- package/dist/D1Menu.d.ts +324 -0
- package/dist/D1Menu.js +4 -0
- package/dist/D1Menu.vue_vue_type_script_setup_true_lang-CX9mv1RX.js +84 -0
- package/dist/D1Modal.d.ts +261 -0
- package/dist/D1Modal.js +4 -0
- package/dist/D1Modal.vue_vue_type_script_setup_true_lang-CdFWqEF2.js +71 -0
- package/dist/D1MotionTransform.d.ts +103 -0
- package/dist/D1MotionTransform.js +4 -0
- package/dist/D1MotionTransform.vue_vue_type_script_setup_true_lang-BsfcAXYR.js +63 -0
- package/dist/D1Page.d.ts +79 -0
- package/dist/D1Page.js +4 -0
- package/dist/D1Page.vue_vue_type_script_setup_true_lang-C01oeN5E.js +51 -0
- package/dist/D1Progress.d.ts +89 -0
- package/dist/D1Progress.js +4 -0
- package/dist/D1Progress.vue_vue_type_script_setup_true_lang-C7VFkdo_.js +72 -0
- package/dist/D1Ripple.d.ts +79 -0
- package/dist/D1Ripple.js +4 -0
- package/dist/D1Ripple.vue_vue_type_script_setup_true_lang-BbVI6dIs.js +36 -0
- package/dist/D1Scrollbar.d.ts +104 -0
- package/dist/D1Scrollbar.js +4 -0
- package/dist/D1Scrollbar.vue_vue_type_script_setup_true_lang-C4sfvVou.js +51 -0
- package/dist/D1Section.d.ts +79 -0
- package/dist/D1Section.js +4 -0
- package/dist/D1Section.vue_vue_type_script_setup_true_lang-1Mv3Zzq6.js +51 -0
- package/dist/D1Select.d.ts +381 -0
- package/dist/D1Select.js +4 -0
- package/dist/D1Select.vue_vue_type_script_setup_true_lang-Fyi1FvD_.js +130 -0
- package/dist/D1SelectValue.d.ts +168 -0
- package/dist/D1SelectValue.js +4 -0
- package/dist/D1SelectValue.vue_vue_type_script_setup_true_lang-CMmmYTxu.js +53 -0
- package/dist/D1Skeleton.d.ts +84 -0
- package/dist/D1Skeleton.js +4 -0
- package/dist/D1Skeleton.vue_vue_type_script_setup_true_lang-DQ8Fj5xO.js +37 -0
- package/dist/D1TextareaAutosize.d.ts +88 -0
- package/dist/D1TextareaAutosize.js +4 -0
- package/dist/D1TextareaAutosize.vue_vue_type_script_setup_true_lang-DjisVn_e.js +47 -0
- package/dist/D1Tooltip.d.ts +89 -0
- package/dist/D1Tooltip.js +4 -0
- package/dist/D1Tooltip.vue_vue_type_script_setup_true_lang-CYtDl5uG.js +67 -0
- package/dist/D1Window.d.ts +190 -0
- package/dist/D1Window.js +4 -0
- package/dist/D1Window.vue_vue_type_script_setup_true_lang-Bhz5VvjK.js +138 -0
- package/dist/design.d.ts +58 -0
- package/dist/index-B34F7SrR.js +5 -0
- package/dist/index-B921j10s.js +5 -0
- package/dist/index-BS9sgqvG.js +5 -0
- package/dist/index-BWfsjhQo.js +5 -0
- package/dist/index-CItcax-E.js +5 -0
- package/dist/index-D387qGGl.js +5 -0
- package/dist/index-Dike0osZ.js +5 -0
- package/dist/index-RVXlLQ5Y.js +5 -0
- package/dist/plugin.d.ts +57 -0
- package/dist/style.css +1 -1
- package/dist/types.d.ts +2333 -0
- package/dist/types.js +81 -1
- package/package.json +161 -7
- package/src/styles/Ui/icon.css +2 -0
- package/src/styles/Ui/list.json +58 -206
- package/src/styles/Ui/main.scss +5 -5
- package/src/styles/Ui/properties.scss +12 -0
- package/src/styles/Ui/vars.scss +2 -0
- package/dist/App.vue.d.ts +0 -3
- package/dist/components/AiWiki.vue.d.ts +0 -3
- package/dist/components/Ui/Accordion/D1Accordion.vue.d.ts +0 -43
- package/dist/components/Ui/Accordion/index.d.ts +0 -5
- package/dist/components/Ui/Accordion/props.d.ts +0 -20
- package/dist/components/Ui/Accordion/wiki.d.ts +0 -2
- package/dist/components/Ui/ActionSheet/D1ActionSheet.vue.d.ts +0 -44
- package/dist/components/Ui/ActionSheet/index.d.ts +0 -5
- package/dist/components/Ui/ActionSheet/props.d.ts +0 -21
- package/dist/components/Ui/ActionSheet/wiki.d.ts +0 -2
- package/dist/components/Ui/Actions/D1Actions.vue.d.ts +0 -25
- package/dist/components/Ui/Actions/index.d.ts +0 -5
- package/dist/components/Ui/Actions/props.d.ts +0 -21
- package/dist/components/Ui/Actions/wiki.d.ts +0 -2
- package/dist/components/Ui/Anchor/D1Anchor.vue.d.ts +0 -21
- package/dist/components/Ui/Anchor/index.d.ts +0 -5
- package/dist/components/Ui/Anchor/props.d.ts +0 -11
- package/dist/components/Ui/Anchor/wiki.d.ts +0 -2
- package/dist/components/Ui/Arrow/D1Arrow.vue.d.ts +0 -20
- package/dist/components/Ui/Arrow/index.d.ts +0 -5
- package/dist/components/Ui/Arrow/props.d.ts +0 -18
- package/dist/components/Ui/Arrow/wiki.d.ts +0 -2
- package/dist/components/Ui/Badge/D1Badge.vue.d.ts +0 -18
- package/dist/components/Ui/Badge/index.d.ts +0 -5
- package/dist/components/Ui/Badge/props.d.ts +0 -30
- package/dist/components/Ui/Badge/wiki.d.ts +0 -2
- package/dist/components/Ui/Bars/D1Bars.vue.d.ts +0 -32
- package/dist/components/Ui/Bars/index.d.ts +0 -5
- package/dist/components/Ui/Bars/props.d.ts +0 -18
- package/dist/components/Ui/Bars/wiki.d.ts +0 -2
- package/dist/components/Ui/Block/D1Block.vue.d.ts +0 -21
- package/dist/components/Ui/Block/index.d.ts +0 -5
- package/dist/components/Ui/Block/props.d.ts +0 -12
- package/dist/components/Ui/Block/wiki.d.ts +0 -2
- package/dist/components/Ui/Button/D1Button.vue.d.ts +0 -29
- package/dist/components/Ui/Button/index.d.ts +0 -5
- package/dist/components/Ui/Button/props.d.ts +0 -36
- package/dist/components/Ui/Button/wiki.d.ts +0 -2
- package/dist/components/Ui/Cell/D1Cell.vue.d.ts +0 -30
- package/dist/components/Ui/Cell/index.d.ts +0 -5
- package/dist/components/Ui/Cell/props.d.ts +0 -28
- package/dist/components/Ui/Cell/wiki.d.ts +0 -2
- package/dist/components/Ui/Chip/D1Chip.vue.d.ts +0 -29
- package/dist/components/Ui/Chip/index.d.ts +0 -5
- package/dist/components/Ui/Chip/props.d.ts +0 -34
- package/dist/components/Ui/Chip/wiki.d.ts +0 -2
- package/dist/components/Ui/ChipGroup/D1ChipGroup.vue.d.ts +0 -30
- package/dist/components/Ui/ChipGroup/index.d.ts +0 -5
- package/dist/components/Ui/ChipGroup/props.d.ts +0 -12
- package/dist/components/Ui/ChipGroup/wiki.d.ts +0 -2
- package/dist/components/Ui/Dialog/D1Dialog.vue.d.ts +0 -48
- package/dist/components/Ui/Dialog/index.d.ts +0 -5
- package/dist/components/Ui/Dialog/props.d.ts +0 -28
- package/dist/components/Ui/Dialog/wiki.d.ts +0 -2
- package/dist/components/Ui/Field/D1Field.vue.d.ts +0 -25
- package/dist/components/Ui/Field/index.d.ts +0 -5
- package/dist/components/Ui/Field/props.d.ts +0 -42
- package/dist/components/Ui/Field/wiki.d.ts +0 -2
- package/dist/components/Ui/FieldCounter/D1FieldCounter.vue.d.ts +0 -17
- package/dist/components/Ui/FieldCounter/index.d.ts +0 -5
- package/dist/components/Ui/FieldCounter/props.d.ts +0 -11
- package/dist/components/Ui/FieldCounter/wiki.d.ts +0 -2
- package/dist/components/Ui/FieldLabel/D1FieldLabel.vue.d.ts +0 -20
- package/dist/components/Ui/FieldLabel/index.d.ts +0 -5
- package/dist/components/Ui/FieldLabel/props.d.ts +0 -13
- package/dist/components/Ui/FieldLabel/wiki.d.ts +0 -2
- package/dist/components/Ui/FieldMessage/D1FieldMessage.vue.d.ts +0 -18
- package/dist/components/Ui/FieldMessage/index.d.ts +0 -5
- package/dist/components/Ui/FieldMessage/props.d.ts +0 -12
- package/dist/components/Ui/FieldMessage/wiki.d.ts +0 -2
- package/dist/components/Ui/Icon/D1Icon.vue.d.ts +0 -25
- package/dist/components/Ui/Icon/index.d.ts +0 -5
- package/dist/components/Ui/Icon/props.d.ts +0 -35
- package/dist/components/Ui/Icon/wiki.d.ts +0 -2
- package/dist/components/Ui/Image/D1Image.vue.d.ts +0 -25
- package/dist/components/Ui/Image/D1ImageAiWiki.vue.d.ts +0 -3
- package/dist/components/Ui/Image/index.d.ts +0 -38
- package/dist/components/Ui/Image/props.d.ts +0 -19
- package/dist/components/Ui/Image/wiki.d.ts +0 -2
- package/dist/components/Ui/Input/D1Input.vue.d.ts +0 -37
- package/dist/components/Ui/Input/index.d.ts +0 -5
- package/dist/components/Ui/Input/props.d.ts +0 -18
- package/dist/components/Ui/Input/wiki.d.ts +0 -2
- package/dist/components/Ui/List/D1List.vue.d.ts +0 -33
- package/dist/components/Ui/List/index.d.ts +0 -5
- package/dist/components/Ui/List/props.d.ts +0 -18
- package/dist/components/Ui/List/wiki.d.ts +0 -2
- package/dist/components/Ui/ListGroup/D1ListGroup.vue.d.ts +0 -20
- package/dist/components/Ui/ListGroup/index.d.ts +0 -5
- package/dist/components/Ui/ListGroup/props.d.ts +0 -14
- package/dist/components/Ui/ListGroup/wiki.d.ts +0 -2
- package/dist/components/Ui/ListItem/D1ListItem.vue.d.ts +0 -28
- package/dist/components/Ui/ListItem/index.d.ts +0 -5
- package/dist/components/Ui/ListItem/props.d.ts +0 -33
- package/dist/components/Ui/ListItem/wiki.d.ts +0 -2
- package/dist/components/Ui/ListMenu/D1ListMenu.vue.d.ts +0 -33
- package/dist/components/Ui/ListMenu/index.d.ts +0 -5
- package/dist/components/Ui/ListMenu/props.d.ts +0 -18
- package/dist/components/Ui/ListMenu/wiki.d.ts +0 -2
- package/dist/components/Ui/Mask/D1Mask.vue.d.ts +0 -48
- package/dist/components/Ui/Mask/index.d.ts +0 -5
- package/dist/components/Ui/Mask/props.d.ts +0 -19
- package/dist/components/Ui/Mask/wiki.d.ts +0 -2
- package/dist/components/Ui/Menu/D1Menu.vue.d.ts +0 -65
- package/dist/components/Ui/Menu/index.d.ts +0 -5
- package/dist/components/Ui/Menu/props.d.ts +0 -20
- package/dist/components/Ui/Menu/wiki.d.ts +0 -2
- package/dist/components/Ui/Modal/D1Modal.vue.d.ts +0 -44
- package/dist/components/Ui/Modal/index.d.ts +0 -5
- package/dist/components/Ui/Modal/props.d.ts +0 -24
- package/dist/components/Ui/Modal/wiki.d.ts +0 -2
- package/dist/components/Ui/MotionTransform/D1MotionTransform.vue.d.ts +0 -35
- package/dist/components/Ui/MotionTransform/index.d.ts +0 -5
- package/dist/components/Ui/MotionTransform/props.d.ts +0 -18
- package/dist/components/Ui/MotionTransform/wiki.d.ts +0 -2
- package/dist/components/Ui/Page/D1Page.vue.d.ts +0 -21
- package/dist/components/Ui/Page/index.d.ts +0 -5
- package/dist/components/Ui/Page/props.d.ts +0 -11
- package/dist/components/Ui/Page/wiki.d.ts +0 -2
- package/dist/components/Ui/Progress/D1Progress.vue.d.ts +0 -18
- package/dist/components/Ui/Progress/index.d.ts +0 -5
- package/dist/components/Ui/Progress/props.d.ts +0 -26
- package/dist/components/Ui/Progress/wiki.d.ts +0 -2
- package/dist/components/Ui/Ripple/D1Ripple.vue.d.ts +0 -17
- package/dist/components/Ui/Ripple/index.d.ts +0 -5
- package/dist/components/Ui/Ripple/props.d.ts +0 -11
- package/dist/components/Ui/Ripple/wiki.d.ts +0 -2
- package/dist/components/Ui/Scrollbar/D1Scrollbar.vue.d.ts +0 -34
- package/dist/components/Ui/Scrollbar/index.d.ts +0 -5
- package/dist/components/Ui/Scrollbar/props.d.ts +0 -19
- package/dist/components/Ui/Scrollbar/wiki.d.ts +0 -2
- package/dist/components/Ui/Section/D1Section.vue.d.ts +0 -21
- package/dist/components/Ui/Section/index.d.ts +0 -5
- package/dist/components/Ui/Section/props.d.ts +0 -11
- package/dist/components/Ui/Section/wiki.d.ts +0 -2
- package/dist/components/Ui/Select/D1Select.vue.d.ts +0 -45
- package/dist/components/Ui/Select/index.d.ts +0 -5
- package/dist/components/Ui/Select/props.d.ts +0 -19
- package/dist/components/Ui/Select/wiki.d.ts +0 -2
- package/dist/components/Ui/SelectValue/D1SelectValue.vue.d.ts +0 -25
- package/dist/components/Ui/SelectValue/index.d.ts +0 -5
- package/dist/components/Ui/SelectValue/props.d.ts +0 -13
- package/dist/components/Ui/SelectValue/wiki.d.ts +0 -2
- package/dist/components/Ui/Skeleton/D1Skeleton.vue.d.ts +0 -20
- package/dist/components/Ui/Skeleton/index.d.ts +0 -4
- package/dist/components/Ui/Skeleton/props.d.ts +0 -13
- package/dist/components/Ui/Skeleton/wiki.d.ts +0 -2
- package/dist/components/Ui/TextareaAutosize/D1TextareaAutosize.vue.d.ts +0 -24
- package/dist/components/Ui/TextareaAutosize/index.d.ts +0 -5
- package/dist/components/Ui/TextareaAutosize/props.d.ts +0 -15
- package/dist/components/Ui/TextareaAutosize/wiki.d.ts +0 -2
- package/dist/components/Ui/Tooltip/D1Tooltip.vue.d.ts +0 -24
- package/dist/components/Ui/Tooltip/index.d.ts +0 -5
- package/dist/components/Ui/Tooltip/props.d.ts +0 -15
- package/dist/components/Ui/Tooltip/wiki.d.ts +0 -2
- package/dist/components/Ui/Window/D1Window.vue.d.ts +0 -52
- package/dist/components/Ui/Window/index.d.ts +0 -5
- package/dist/components/Ui/Window/props.d.ts +0 -37
- package/dist/components/Ui/Window/wiki.d.ts +0 -2
- package/dist/library/D1Accordion.d.ts +0 -1
- package/dist/library/D1Image.d.ts +0 -1
- package/dist/library/ai-list.wiki.d.ts +0 -1
- package/dist/library/design.d.ts +0 -6
- package/dist/library/plugin.d.ts +0 -9
- package/dist/library/types.d.ts +0 -82
- package/dist/library.d.ts +0 -0
- package/dist/library.js +0 -1
- package/dist/main.d.ts +0 -0
- package/dist/wiki/wiki.d.ts +0 -2
package/dist/D1Mask.d.ts
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
2
|
+
import { ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { ComputedRef } from 'vue';
|
|
4
|
+
import { DefineComponent } from 'vue';
|
|
5
|
+
import { FieldValidationItem } from '@dxtmisha/constructor';
|
|
6
|
+
import { MaskPropsBasic } from '@dxtmisha/constructor/Mask';
|
|
7
|
+
import { MaskSlots } from '@dxtmisha/constructor/Mask';
|
|
8
|
+
import { PublicProps } from 'vue';
|
|
9
|
+
|
|
10
|
+
declare const __VLS_component: DefineComponent<D1MaskProps, {
|
|
11
|
+
valueBasic: ComputedRef<string>;
|
|
12
|
+
value: ComputedRef<string>;
|
|
13
|
+
setValue(value: string): boolean;
|
|
14
|
+
clear(): boolean;
|
|
15
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16
|
+
blur: (event: FocusEvent) => any;
|
|
17
|
+
focus: (event: FocusEvent) => any;
|
|
18
|
+
input: (event: InputEvent, value: FieldValidationItem) => any;
|
|
19
|
+
reset: (event: Event) => any;
|
|
20
|
+
keydown: (event: KeyboardEvent) => any;
|
|
21
|
+
keyup: (event: KeyboardEvent) => any;
|
|
22
|
+
beforeinput: (event: InputEvent) => any;
|
|
23
|
+
inputLite: (value: FieldValidationItem) => any;
|
|
24
|
+
change: (event: InputEvent, value: FieldValidationItem) => any;
|
|
25
|
+
changeLite: (value: FieldValidationItem) => any;
|
|
26
|
+
paste: (event: ClipboardEvent) => any;
|
|
27
|
+
}, string, PublicProps, Readonly<D1MaskProps> & Readonly<{
|
|
28
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
29
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
30
|
+
onInput?: ((event: InputEvent, value: FieldValidationItem) => any) | undefined;
|
|
31
|
+
onReset?: ((event: Event) => any) | undefined;
|
|
32
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
33
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
34
|
+
onBeforeinput?: ((event: InputEvent) => any) | undefined;
|
|
35
|
+
onInputLite?: ((value: FieldValidationItem) => any) | undefined;
|
|
36
|
+
onChange?: ((event: InputEvent, value: FieldValidationItem) => any) | undefined;
|
|
37
|
+
onChangeLite?: ((value: FieldValidationItem) => any) | undefined;
|
|
38
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
39
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
|
|
41
|
+
declare function __VLS_template(): {
|
|
42
|
+
attrs: Partial<{}>;
|
|
43
|
+
slots: Readonly<MaskSlots> & MaskSlots;
|
|
44
|
+
refs: {};
|
|
45
|
+
rootEl: any;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
49
|
+
|
|
50
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export declare const D1Mask: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
60
|
+
*/
|
|
61
|
+
export declare type D1MaskProps = MaskPropsBasic & PropsToken;
|
|
62
|
+
|
|
63
|
+
declare type PropsToken = {
|
|
64
|
+
visible?: boolean;
|
|
65
|
+
visiblePartly?: boolean;
|
|
66
|
+
align?: 'center' | 'left' | 'right';
|
|
67
|
+
dir?: 'ltr' | 'rtl';
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export { }
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
declare module '@vue/runtime-core' {
|
|
74
|
+
interface GlobalComponents {
|
|
75
|
+
D1Accordion: typeof D1Accordion;
|
|
76
|
+
D1ActionSheet: typeof D1ActionSheet;
|
|
77
|
+
D1Actions: typeof D1Actions;
|
|
78
|
+
D1Anchor: typeof D1Anchor;
|
|
79
|
+
D1Arrow: typeof D1Arrow;
|
|
80
|
+
D1Badge: typeof D1Badge;
|
|
81
|
+
D1Bars: typeof D1Bars;
|
|
82
|
+
D1Block: typeof D1Block;
|
|
83
|
+
D1Button: typeof D1Button;
|
|
84
|
+
D1Cell: typeof D1Cell;
|
|
85
|
+
D1Chip: typeof D1Chip;
|
|
86
|
+
D1ChipGroup: typeof D1ChipGroup;
|
|
87
|
+
D1Dialog: typeof D1Dialog;
|
|
88
|
+
D1Field: typeof D1Field;
|
|
89
|
+
D1FieldCounter: typeof D1FieldCounter;
|
|
90
|
+
D1FieldLabel: typeof D1FieldLabel;
|
|
91
|
+
D1FieldMessage: typeof D1FieldMessage;
|
|
92
|
+
D1Icon: typeof D1Icon;
|
|
93
|
+
D1Image: typeof D1Image;
|
|
94
|
+
D1Input: typeof D1Input;
|
|
95
|
+
D1List: typeof D1List;
|
|
96
|
+
D1ListGroup: typeof D1ListGroup;
|
|
97
|
+
D1ListItem: typeof D1ListItem;
|
|
98
|
+
D1ListMenu: typeof D1ListMenu;
|
|
99
|
+
D1Mask: typeof D1Mask;
|
|
100
|
+
D1Menu: typeof D1Menu;
|
|
101
|
+
D1Modal: typeof D1Modal;
|
|
102
|
+
D1MotionTransform: typeof D1MotionTransform;
|
|
103
|
+
D1Page: typeof D1Page;
|
|
104
|
+
D1Progress: typeof D1Progress;
|
|
105
|
+
D1Ripple: typeof D1Ripple;
|
|
106
|
+
D1Scrollbar: typeof D1Scrollbar;
|
|
107
|
+
D1Section: typeof D1Section;
|
|
108
|
+
D1Select: typeof D1Select;
|
|
109
|
+
D1SelectValue: typeof D1SelectValue;
|
|
110
|
+
D1Skeleton: typeof D1Skeleton;
|
|
111
|
+
D1TextareaAutosize: typeof D1TextareaAutosize;
|
|
112
|
+
D1Tooltip: typeof D1Tooltip;
|
|
113
|
+
D1Window: typeof D1Window;
|
|
114
|
+
}
|
|
115
|
+
}
|
package/dist/D1Mask.js
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { defineComponent as m, computed as n, openBlock as d, createBlock as y, unref as g, mergeDefaults as k } from "vue";
|
|
2
|
+
import { inArray as s } from "@dxtmisha/functional";
|
|
3
|
+
import { defaultsMask as f, MaskDesign as b } from "@dxtmisha/constructor/Mask";
|
|
4
|
+
const a = {
|
|
5
|
+
// :values [!] System label / Системная метка
|
|
6
|
+
align: ["center", "left", "right"],
|
|
7
|
+
dir: ["ltr", "rtl"]
|
|
8
|
+
// :values [!] System label / Системная метка
|
|
9
|
+
}, v = {
|
|
10
|
+
...f,
|
|
11
|
+
// :default [!] System label / Системная метка
|
|
12
|
+
visible: !0
|
|
13
|
+
}, M = /* @__PURE__ */ m({
|
|
14
|
+
name: "D1Mask",
|
|
15
|
+
__name: "D1Mask",
|
|
16
|
+
props: /* @__PURE__ */ k({
|
|
17
|
+
name: {},
|
|
18
|
+
value: {},
|
|
19
|
+
valueDefault: {},
|
|
20
|
+
currency: {},
|
|
21
|
+
currencyHide: { type: Boolean },
|
|
22
|
+
fullOnly: { type: Boolean },
|
|
23
|
+
mask: {},
|
|
24
|
+
special: {},
|
|
25
|
+
match: {},
|
|
26
|
+
groupSave: { type: Boolean },
|
|
27
|
+
pattern: { type: [String, Object, Function] },
|
|
28
|
+
check: { type: [String, Object, Function] },
|
|
29
|
+
fraction: { type: [String, Boolean, Number] },
|
|
30
|
+
type: {},
|
|
31
|
+
view: {},
|
|
32
|
+
inputAttrs: {},
|
|
33
|
+
language: {},
|
|
34
|
+
visible: { type: Boolean },
|
|
35
|
+
visiblePartly: { type: Boolean },
|
|
36
|
+
align: {},
|
|
37
|
+
dir: {}
|
|
38
|
+
}, v),
|
|
39
|
+
emits: ["focus", "blur", "keydown", "keyup", "beforeinput", "input", "inputLite", "change", "changeLite", "paste", "reset"],
|
|
40
|
+
setup(i, { expose: r, emit: o }) {
|
|
41
|
+
const l = o, e = i, c = n(() => ({
|
|
42
|
+
main: {
|
|
43
|
+
// :classes-values [!] System label / Системная метка
|
|
44
|
+
"d1-mask": !0,
|
|
45
|
+
"d1-mask--visible": e.visible,
|
|
46
|
+
"d1-mask--visiblePartly": e.visiblePartly,
|
|
47
|
+
[`d1-mask--align--${e.align}`]: s(a.align, e.align),
|
|
48
|
+
[`d1-mask--dir--${e.dir}`]: s(a.dir, e.dir)
|
|
49
|
+
// :classes-values [!] System label / Системная метка
|
|
50
|
+
}
|
|
51
|
+
})), p = n(() => ({
|
|
52
|
+
// :styles-values [!] System label / Системная метка
|
|
53
|
+
// :styles-values [!] System label / Системная метка
|
|
54
|
+
})), t = new b(
|
|
55
|
+
"d1.mask",
|
|
56
|
+
e,
|
|
57
|
+
{
|
|
58
|
+
emits: l,
|
|
59
|
+
classes: c,
|
|
60
|
+
styles: p
|
|
61
|
+
}
|
|
62
|
+
), u = t.render();
|
|
63
|
+
return r(t.expose()), (B, _) => (d(), y(g(u)));
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
export {
|
|
67
|
+
M as _
|
|
68
|
+
};
|
package/dist/D1Menu.d.ts
ADDED
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
import { BadgePropsBasic } from '@dxtmisha/constructor/Badge';
|
|
2
|
+
import { BarsPropsBasic } from '@dxtmisha/constructor/Bars';
|
|
3
|
+
import { ButtonPropsBasic } from '@dxtmisha/constructor/Button';
|
|
4
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
5
|
+
import { ComponentProvideOptions } from 'vue';
|
|
6
|
+
import { ComputedRef } from 'vue';
|
|
7
|
+
import { ConstrBind } from '@dxtmisha/functional';
|
|
8
|
+
import { DefineComponent } from 'vue';
|
|
9
|
+
import { EventClickValue } from '@dxtmisha/constructor';
|
|
10
|
+
import { IconPropsBasic } from '@dxtmisha/constructor/Icon';
|
|
11
|
+
import { ImagePropsBasic } from '@dxtmisha/constructor/Image';
|
|
12
|
+
import { ListItemPropsBasic } from '@dxtmisha/constructor/ListItem';
|
|
13
|
+
import { ListList } from '@dxtmisha/functional';
|
|
14
|
+
import { ListNames } from '@dxtmisha/functional';
|
|
15
|
+
import { ListPropsBasic } from '@dxtmisha/constructor/List';
|
|
16
|
+
import { ListSlots } from '@dxtmisha/constructor/List';
|
|
17
|
+
import { MenuControlItem } from '@dxtmisha/constructor/Menu';
|
|
18
|
+
import { MenuPropsBasic } from '@dxtmisha/constructor/Menu';
|
|
19
|
+
import { MenuSlotInclude } from '@dxtmisha/constructor/Menu';
|
|
20
|
+
import { NumberOrStringOrBoolean } from '@dxtmisha/functional-basic';
|
|
21
|
+
import { ProgressPropsBasic } from '@dxtmisha/constructor/Progress';
|
|
22
|
+
import { PublicProps } from 'vue';
|
|
23
|
+
import { Ref } from 'vue';
|
|
24
|
+
import { ScrollbarPropsBasic } from '@dxtmisha/constructor/Scrollbar';
|
|
25
|
+
import { WindowControlItem } from '@dxtmisha/constructor/Window';
|
|
26
|
+
import { WindowEmitOptions } from '@dxtmisha/constructor/Window';
|
|
27
|
+
import { WindowExpose } from '@dxtmisha/constructor/Window';
|
|
28
|
+
import { WindowPropsBasic } from '@dxtmisha/constructor/Window';
|
|
29
|
+
|
|
30
|
+
declare const __VLS_component: DefineComponent<D1MenuProps, {
|
|
31
|
+
id: ComputedRef<string | undefined>;
|
|
32
|
+
open: ComputedRef<boolean>;
|
|
33
|
+
control: ComputedRef< WindowControlItem | undefined>;
|
|
34
|
+
setOpen: WindowExpose["setOpen"];
|
|
35
|
+
toOpen: WindowExpose["toOpen"];
|
|
36
|
+
toClose: WindowExpose["toClose"];
|
|
37
|
+
toggle: WindowExpose["toggle"];
|
|
38
|
+
windowElement: Ref< ConstrBind<WindowExpose> | undefined>;
|
|
39
|
+
isSelected: ComputedRef<boolean>;
|
|
40
|
+
selectedList: ComputedRef<ListList>;
|
|
41
|
+
selectedNames: ComputedRef<ListNames>;
|
|
42
|
+
selectedValues: ComputedRef<any[]>;
|
|
43
|
+
loading: Ref<boolean>;
|
|
44
|
+
previous(): NumberOrStringOrBoolean | undefined;
|
|
45
|
+
next(): NumberOrStringOrBoolean | undefined;
|
|
46
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
47
|
+
click: (event: MouseEvent, value: EventClickValue) => any;
|
|
48
|
+
clickLite: (value: EventClickValue) => any;
|
|
49
|
+
window: (options: WindowEmitOptions) => any;
|
|
50
|
+
bars: (event: MouseEvent, value: EventClickValue) => any;
|
|
51
|
+
barsLite: (value: EventClickValue) => any;
|
|
52
|
+
barsBack: (value: EventClickValue) => any;
|
|
53
|
+
"update:selected": (value: string) => any;
|
|
54
|
+
"update:modelSelected": (value: string) => any;
|
|
55
|
+
updateValue: (value?: NumberOrStringOrBoolean | undefined) => any;
|
|
56
|
+
clickSlot: (value?: string | undefined) => any;
|
|
57
|
+
}, string, PublicProps, Readonly<D1MenuProps> & Readonly<{
|
|
58
|
+
onClick?: ((event: MouseEvent, value: EventClickValue) => any) | undefined;
|
|
59
|
+
onClickLite?: ((value: EventClickValue) => any) | undefined;
|
|
60
|
+
onWindow?: ((options: WindowEmitOptions) => any) | undefined;
|
|
61
|
+
onBars?: ((event: MouseEvent, value: EventClickValue) => any) | undefined;
|
|
62
|
+
onBarsLite?: ((value: EventClickValue) => any) | undefined;
|
|
63
|
+
onBarsBack?: ((value: EventClickValue) => any) | undefined;
|
|
64
|
+
"onUpdate:selected"?: ((value: string) => any) | undefined;
|
|
65
|
+
"onUpdate:modelSelected"?: ((value: string) => any) | undefined;
|
|
66
|
+
onUpdateValue?: ((value?: NumberOrStringOrBoolean | undefined) => any) | undefined;
|
|
67
|
+
onClickSlot?: ((value?: string | undefined) => any) | undefined;
|
|
68
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
69
|
+
|
|
70
|
+
declare function __VLS_template(): {
|
|
71
|
+
attrs: Partial<{}>;
|
|
72
|
+
slots: Readonly< ListSlots & MenuSlotInclude & {
|
|
73
|
+
control?(props: MenuControlItem): any;
|
|
74
|
+
}> & ListSlots & MenuSlotInclude & {
|
|
75
|
+
control?(props: MenuControlItem): any;
|
|
76
|
+
};
|
|
77
|
+
refs: {};
|
|
78
|
+
rootEl: any;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
82
|
+
|
|
83
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
|
+
new (): {
|
|
85
|
+
$slots: S;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
91
|
+
*/
|
|
92
|
+
declare type BadgeProps = BadgePropsBasic<IconProps> & PropsToken_3;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
96
|
+
*/
|
|
97
|
+
declare type BarsProps = BarsPropsBasic<ButtonProps> & PropsToken_8;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
101
|
+
*/
|
|
102
|
+
declare type ButtonProps = ButtonPropsBasic<IconProps, ProgressProps> & PropsToken_7;
|
|
103
|
+
|
|
104
|
+
export declare const D1Menu: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
108
|
+
*/
|
|
109
|
+
export declare type D1MenuProps = MenuPropsBasic<ListProps, ListItemProps, BarsProps, WindowProps> & PropsToken_11;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
113
|
+
*/
|
|
114
|
+
declare type IconProps = IconPropsBasic<ImageProps> & PropsToken_2;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
118
|
+
*/
|
|
119
|
+
declare type ImageProps = ImagePropsBasic & PropsToken;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
123
|
+
*/
|
|
124
|
+
declare type ListItemProps = ListItemPropsBasic<IconProps, BadgeProps, ProgressProps> & PropsToken_5;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
128
|
+
*/
|
|
129
|
+
declare type ListProps = ListPropsBasic<IconProps, ListItemProps> & PropsToken_6;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
133
|
+
*/
|
|
134
|
+
declare type ProgressProps = ProgressPropsBasic & PropsToken_4;
|
|
135
|
+
|
|
136
|
+
declare type PropsToken = {
|
|
137
|
+
turn?: boolean;
|
|
138
|
+
disabled?: boolean;
|
|
139
|
+
hide?: boolean;
|
|
140
|
+
adaptive?: boolean;
|
|
141
|
+
size?: 'auto' | 'contain' | 'cover';
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
declare type PropsToken_10 = {
|
|
145
|
+
width?: string | 'auto' | 'max' | 'sm' | 'md' | 'lg' | 'custom';
|
|
146
|
+
height?: string | 'auto' | 'max' | 'sm' | 'md' | 'lg' | 'custom';
|
|
147
|
+
hide?: boolean;
|
|
148
|
+
axis?: 'x' | 'y' | 'on';
|
|
149
|
+
imagePosition?: 'top' | 'left';
|
|
150
|
+
dense?: boolean;
|
|
151
|
+
alignment?: 'center' | 'top' | 'topRight' | 'topLeft' | 'topFull' | 'right' | 'rightFull' | 'bottom' | 'bottomRight' | 'bottomLeft' | 'bottomFull' | 'left' | 'leftFull';
|
|
152
|
+
origin?: 'center' | 'top' | 'right' | 'bottom' | 'left' | 'topToBottom' | 'rightToLeft' | 'bottomToTop' | 'leftToRight';
|
|
153
|
+
adaptive?: 'menu' | 'menuWindow' | 'modal' | 'modalDynamic' | 'actionSheetRight' | 'actionSheetBottom' | 'static' | 'actionSheet' | 'actionSheetToModal' | 'autoStaticSm' | 'autoStaticMd' | 'autoStaticLg' | 'autoStaticXl' | 'autoStatic2xl';
|
|
154
|
+
fullscreen?: boolean;
|
|
155
|
+
overscroll?: boolean;
|
|
156
|
+
closeButton?: boolean;
|
|
157
|
+
closeMobileHide?: boolean;
|
|
158
|
+
widthMatch?: boolean;
|
|
159
|
+
imageSize?: 'sm' | 'md' | 'lg' | 'quarter' | 'half';
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
declare type PropsToken_11 = {
|
|
163
|
+
hideList?: boolean;
|
|
164
|
+
barsAdaptive?: 'showAlways' | 'showSm' | 'showMd' | 'showLg' | 'showXl' | 'show2xl';
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
declare type PropsToken_2 = {
|
|
168
|
+
turn?: boolean;
|
|
169
|
+
disabled?: boolean;
|
|
170
|
+
hide?: boolean;
|
|
171
|
+
asPalette?: boolean;
|
|
172
|
+
dir?: boolean;
|
|
173
|
+
overlay?: boolean;
|
|
174
|
+
dynamic?: boolean;
|
|
175
|
+
start?: boolean;
|
|
176
|
+
end?: boolean;
|
|
177
|
+
high?: boolean;
|
|
178
|
+
animationType?: 'type1' | 'type2';
|
|
179
|
+
animationShow?: boolean;
|
|
180
|
+
square?: boolean;
|
|
181
|
+
circle?: boolean;
|
|
182
|
+
rect?: boolean;
|
|
183
|
+
size?: 'auto' | 'x' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
|
|
184
|
+
inverse?: boolean;
|
|
185
|
+
rounded?: 'auto' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
declare type PropsToken_3 = {
|
|
189
|
+
selected?: boolean;
|
|
190
|
+
hide?: boolean;
|
|
191
|
+
dot?: boolean;
|
|
192
|
+
overlap?: 'rectangular' | 'circular' | 'static';
|
|
193
|
+
vertical?: 'top' | 'center' | 'bottom';
|
|
194
|
+
horizontal?: 'right' | 'center' | 'left';
|
|
195
|
+
primary?: boolean;
|
|
196
|
+
secondary?: boolean;
|
|
197
|
+
outline?: boolean;
|
|
198
|
+
size?: 'sm' | 'md' | 'lg' | 'none';
|
|
199
|
+
palette?: 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | 'black' | 'white';
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
declare type PropsToken_4 = {
|
|
203
|
+
point?: boolean;
|
|
204
|
+
linear?: boolean;
|
|
205
|
+
circular?: boolean;
|
|
206
|
+
indeterminate?: 'type1' | 'type2' | 'type3';
|
|
207
|
+
position?: 'top' | 'bottom' | 'static';
|
|
208
|
+
dense?: boolean;
|
|
209
|
+
inverse?: boolean;
|
|
210
|
+
size?: 'sm' | 'md' | 'lg';
|
|
211
|
+
palette?: 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | 'black' | 'white';
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
declare type PropsToken_5 = {
|
|
215
|
+
focus?: boolean;
|
|
216
|
+
open?: boolean;
|
|
217
|
+
selected?: boolean;
|
|
218
|
+
selectedChild?: boolean;
|
|
219
|
+
readonly?: boolean;
|
|
220
|
+
disabled?: boolean;
|
|
221
|
+
iconTop?: boolean;
|
|
222
|
+
iconAlign?: 'center' | 'edge';
|
|
223
|
+
fill?: string | 'custom';
|
|
224
|
+
divider?: boolean;
|
|
225
|
+
size?: 'sm' | 'md' | 'lg';
|
|
226
|
+
dense?: boolean;
|
|
227
|
+
palette?: 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | 'black' | 'white';
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
declare type PropsToken_6 = {
|
|
231
|
+
axis?: 'x' | 'y';
|
|
232
|
+
divider?: boolean;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
declare type PropsToken_7 = {
|
|
236
|
+
focus?: boolean;
|
|
237
|
+
disabled?: boolean;
|
|
238
|
+
selected?: boolean;
|
|
239
|
+
readonly?: boolean;
|
|
240
|
+
adaptive?: 'iconAlways' | 'block' | 'auto' | 'iconSm' | 'iconMd' | 'iconLg' | 'iconXl' | 'icon2xl' | 'fullSm' | 'fullMd' | 'fullLg' | 'fullXl' | 'full2xl';
|
|
241
|
+
container?: 'iconSm' | 'iconMd' | 'iconLg' | 'iconXl' | 'icon2xl' | 'fullSm' | 'fullMd' | 'fullLg' | 'fullXl' | 'full2xl';
|
|
242
|
+
inverse?: boolean;
|
|
243
|
+
grid?: boolean;
|
|
244
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
245
|
+
primary?: boolean;
|
|
246
|
+
secondary?: boolean;
|
|
247
|
+
outline?: boolean;
|
|
248
|
+
text?: boolean;
|
|
249
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
250
|
+
roundedFull?: boolean;
|
|
251
|
+
palette?: 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | 'black' | 'white';
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
declare type PropsToken_8 = {
|
|
255
|
+
padding?: 'sm' | 'md' | 'lg' | 'ySm' | 'yMd' | 'yLg' | 'none';
|
|
256
|
+
paddingByIndent?: boolean;
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
declare type PropsToken_9 = {
|
|
260
|
+
visible?: boolean;
|
|
261
|
+
divider?: boolean;
|
|
262
|
+
dividerTop?: boolean;
|
|
263
|
+
dividerBottom?: boolean;
|
|
264
|
+
dividerHide?: boolean;
|
|
265
|
+
inverse?: boolean;
|
|
266
|
+
standard?: boolean;
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
271
|
+
*/
|
|
272
|
+
declare type ScrollbarProps = ScrollbarPropsBasic & PropsToken_9;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
276
|
+
*/
|
|
277
|
+
declare type WindowProps = WindowPropsBasic<ScrollbarProps, IconProps, ImageProps> & PropsToken_10;
|
|
278
|
+
|
|
279
|
+
export { }
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
declare module '@vue/runtime-core' {
|
|
283
|
+
interface GlobalComponents {
|
|
284
|
+
D1Accordion: typeof D1Accordion;
|
|
285
|
+
D1ActionSheet: typeof D1ActionSheet;
|
|
286
|
+
D1Actions: typeof D1Actions;
|
|
287
|
+
D1Anchor: typeof D1Anchor;
|
|
288
|
+
D1Arrow: typeof D1Arrow;
|
|
289
|
+
D1Badge: typeof D1Badge;
|
|
290
|
+
D1Bars: typeof D1Bars;
|
|
291
|
+
D1Block: typeof D1Block;
|
|
292
|
+
D1Button: typeof D1Button;
|
|
293
|
+
D1Cell: typeof D1Cell;
|
|
294
|
+
D1Chip: typeof D1Chip;
|
|
295
|
+
D1ChipGroup: typeof D1ChipGroup;
|
|
296
|
+
D1Dialog: typeof D1Dialog;
|
|
297
|
+
D1Field: typeof D1Field;
|
|
298
|
+
D1FieldCounter: typeof D1FieldCounter;
|
|
299
|
+
D1FieldLabel: typeof D1FieldLabel;
|
|
300
|
+
D1FieldMessage: typeof D1FieldMessage;
|
|
301
|
+
D1Icon: typeof D1Icon;
|
|
302
|
+
D1Image: typeof D1Image;
|
|
303
|
+
D1Input: typeof D1Input;
|
|
304
|
+
D1List: typeof D1List;
|
|
305
|
+
D1ListGroup: typeof D1ListGroup;
|
|
306
|
+
D1ListItem: typeof D1ListItem;
|
|
307
|
+
D1ListMenu: typeof D1ListMenu;
|
|
308
|
+
D1Mask: typeof D1Mask;
|
|
309
|
+
D1Menu: typeof D1Menu;
|
|
310
|
+
D1Modal: typeof D1Modal;
|
|
311
|
+
D1MotionTransform: typeof D1MotionTransform;
|
|
312
|
+
D1Page: typeof D1Page;
|
|
313
|
+
D1Progress: typeof D1Progress;
|
|
314
|
+
D1Ripple: typeof D1Ripple;
|
|
315
|
+
D1Scrollbar: typeof D1Scrollbar;
|
|
316
|
+
D1Section: typeof D1Section;
|
|
317
|
+
D1Select: typeof D1Select;
|
|
318
|
+
D1SelectValue: typeof D1SelectValue;
|
|
319
|
+
D1Skeleton: typeof D1Skeleton;
|
|
320
|
+
D1TextareaAutosize: typeof D1TextareaAutosize;
|
|
321
|
+
D1Tooltip: typeof D1Tooltip;
|
|
322
|
+
D1Window: typeof D1Window;
|
|
323
|
+
}
|
|
324
|
+
}
|
package/dist/D1Menu.js
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { defineComponent as p, computed as s, openBlock as c, createBlock as m, unref as u, mergeDefaults as b } from "vue";
|
|
2
|
+
import { inArray as y } from "@dxtmisha/functional";
|
|
3
|
+
import { defaultsMenu as h, MenuDesign as B } from "@dxtmisha/constructor/Menu";
|
|
4
|
+
import { _ as w } from "./D1List.vue_vue_type_script_setup_true_lang-ys_l-2Q9.js";
|
|
5
|
+
import { D as f } from "./index-RVXlLQ5Y.js";
|
|
6
|
+
import { D as A } from "./index-Dike0osZ.js";
|
|
7
|
+
const g = w, L = {
|
|
8
|
+
// :values [!] System label / Системная метка
|
|
9
|
+
barsAdaptive: ["showAlways", "showSm", "showMd", "showLg", "showXl", "show2xl"]
|
|
10
|
+
// :values [!] System label / Системная метка
|
|
11
|
+
}, k = {
|
|
12
|
+
...h
|
|
13
|
+
}, T = /* @__PURE__ */ p({
|
|
14
|
+
name: "D1Menu",
|
|
15
|
+
__name: "D1Menu",
|
|
16
|
+
props: /* @__PURE__ */ b({
|
|
17
|
+
barsLabel: {},
|
|
18
|
+
barsDescription: {},
|
|
19
|
+
barsBackHide: { type: Boolean },
|
|
20
|
+
barsHide: { type: Boolean },
|
|
21
|
+
barsList: {},
|
|
22
|
+
barsAttrs: {},
|
|
23
|
+
disabled: { type: Boolean },
|
|
24
|
+
autoClose: { type: Boolean },
|
|
25
|
+
windowAttrs: {},
|
|
26
|
+
modelSelected: {},
|
|
27
|
+
"onUpdate:selected": { type: Function },
|
|
28
|
+
"onUpdate:modelSelected": { type: Function },
|
|
29
|
+
selected: { type: [Number, String, Boolean, Array] },
|
|
30
|
+
hideList: { type: Boolean },
|
|
31
|
+
list: {},
|
|
32
|
+
liteThreshold: {},
|
|
33
|
+
highlight: {},
|
|
34
|
+
highlightLengthStart: {},
|
|
35
|
+
filterMode: { type: Boolean },
|
|
36
|
+
ajax: { type: [String, Function] },
|
|
37
|
+
request: {},
|
|
38
|
+
cache: { type: Boolean },
|
|
39
|
+
keyLabel: {},
|
|
40
|
+
keyValue: {},
|
|
41
|
+
max: {},
|
|
42
|
+
tag: {},
|
|
43
|
+
step: {},
|
|
44
|
+
listAttrs: {},
|
|
45
|
+
itemAttrs: {},
|
|
46
|
+
roleList: {},
|
|
47
|
+
roleItem: {},
|
|
48
|
+
isSelectedByValue: { type: Boolean },
|
|
49
|
+
embedded: { type: Boolean },
|
|
50
|
+
barsAdaptive: {}
|
|
51
|
+
}, k),
|
|
52
|
+
emits: ["bars", "barsLite", "barsBack", "click", "clickLite", "window", "update:selected", "update:modelSelected", "updateValue", "clickSlot"],
|
|
53
|
+
setup(o, { expose: a, emit: n }) {
|
|
54
|
+
const r = n, e = o, i = s(() => ({
|
|
55
|
+
main: {
|
|
56
|
+
// :classes-values [!] System label / Системная метка
|
|
57
|
+
"d1-menu": !0,
|
|
58
|
+
"d1-menu--hideList": e.hideList,
|
|
59
|
+
[`d1-menu--barsAdaptive--${e.barsAdaptive}`]: y(L.barsAdaptive, e.barsAdaptive)
|
|
60
|
+
// :classes-values [!] System label / Системная метка
|
|
61
|
+
}
|
|
62
|
+
})), l = s(() => ({
|
|
63
|
+
// :styles-values [!] System label / Системная метка
|
|
64
|
+
// :styles-values [!] System label / Системная метка
|
|
65
|
+
})), t = new B(
|
|
66
|
+
"d1.menu",
|
|
67
|
+
e,
|
|
68
|
+
{
|
|
69
|
+
emits: r,
|
|
70
|
+
classes: i,
|
|
71
|
+
styles: l,
|
|
72
|
+
components: {
|
|
73
|
+
list: g,
|
|
74
|
+
bars: f,
|
|
75
|
+
window: A
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
), d = t.render();
|
|
79
|
+
return a(t.expose()), (D, _) => (c(), m(u(d)));
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
export {
|
|
83
|
+
T as _
|
|
84
|
+
};
|