@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
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { defineComponent as u, computed as l, openBlock as y, createBlock as m, unref as f, mergeDefaults as g } from "vue";
|
|
2
|
+
import { inArray as t } from "@dxtmisha/functional";
|
|
3
|
+
import { defaultsButton as b, ButtonDesign as B } from "@dxtmisha/constructor/Button";
|
|
4
|
+
import { _ as x } from "./D1Icon.vue_vue_type_script_setup_true_lang-xas36wzc.js";
|
|
5
|
+
import { _ } from "./D1Progress.vue_vue_type_script_setup_true_lang-C7VFkdo_.js";
|
|
6
|
+
import { _ as k } from "./D1Ripple.vue_vue_type_script_setup_true_lang-BbVI6dIs.js";
|
|
7
|
+
const o = {
|
|
8
|
+
// :values [!] System label / Системная метка
|
|
9
|
+
adaptive: ["iconAlways", "block", "auto", "iconSm", "iconMd", "iconLg", "iconXl", "icon2xl", "fullSm", "fullMd", "fullLg", "fullXl", "full2xl"],
|
|
10
|
+
container: ["iconSm", "iconMd", "iconLg", "iconXl", "icon2xl", "fullSm", "fullMd", "fullLg", "fullXl", "full2xl"],
|
|
11
|
+
textAlign: ["left", "center", "right"],
|
|
12
|
+
size: ["xs", "sm", "md", "lg", "xl"],
|
|
13
|
+
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"]
|
|
14
|
+
// :values [!] System label / Системная метка
|
|
15
|
+
}, v = {
|
|
16
|
+
...b,
|
|
17
|
+
// :default [!] System label / Системная метка
|
|
18
|
+
primary: !0,
|
|
19
|
+
size: "md"
|
|
20
|
+
}, w = /* @__PURE__ */ u({
|
|
21
|
+
name: "D1Button",
|
|
22
|
+
__name: "D1Button",
|
|
23
|
+
props: /* @__PURE__ */ g({
|
|
24
|
+
label: {},
|
|
25
|
+
labelId: {},
|
|
26
|
+
readonly: { type: Boolean },
|
|
27
|
+
disabled: { type: Boolean },
|
|
28
|
+
icon: {},
|
|
29
|
+
selected: { type: Boolean },
|
|
30
|
+
iconTurn: { type: Boolean },
|
|
31
|
+
iconHide: { type: Boolean },
|
|
32
|
+
iconDir: { type: Boolean },
|
|
33
|
+
iconPalette: { type: Boolean },
|
|
34
|
+
iconAttrs: {},
|
|
35
|
+
iconTrailing: {},
|
|
36
|
+
iconTrailingTurnOnly: { type: Boolean },
|
|
37
|
+
iconTrailingDirOnly: { type: Boolean },
|
|
38
|
+
iconTrailingPalette: { type: Boolean },
|
|
39
|
+
loading: { type: [Boolean, Object] },
|
|
40
|
+
isSkeleton: { type: Boolean },
|
|
41
|
+
to: {},
|
|
42
|
+
value: {},
|
|
43
|
+
detail: {},
|
|
44
|
+
href: {},
|
|
45
|
+
ariaLabel: {},
|
|
46
|
+
tag: {},
|
|
47
|
+
type: {},
|
|
48
|
+
focus: { type: Boolean },
|
|
49
|
+
adaptive: {},
|
|
50
|
+
container: {},
|
|
51
|
+
inverse: { type: Boolean },
|
|
52
|
+
grid: { type: Boolean },
|
|
53
|
+
textAlign: {},
|
|
54
|
+
primary: { type: Boolean },
|
|
55
|
+
secondary: { type: Boolean },
|
|
56
|
+
outline: { type: Boolean },
|
|
57
|
+
text: { type: Boolean },
|
|
58
|
+
size: {},
|
|
59
|
+
roundedFull: { type: Boolean },
|
|
60
|
+
palette: {}
|
|
61
|
+
}, v),
|
|
62
|
+
emits: ["click", "clickLite"],
|
|
63
|
+
setup(i, { expose: a, emit: r }) {
|
|
64
|
+
const s = r, e = i, c = l(() => ({
|
|
65
|
+
main: {
|
|
66
|
+
// :classes-values [!] System label / Системная метка
|
|
67
|
+
"d1-button": !0,
|
|
68
|
+
"d1-button--focus": e.focus,
|
|
69
|
+
"d1-button--disabled": e.disabled,
|
|
70
|
+
"d1-button--selected": e.selected,
|
|
71
|
+
"d1-button--readonly": e.readonly,
|
|
72
|
+
[`d1-button--adaptive--${e.adaptive}`]: t(o.adaptive, e.adaptive),
|
|
73
|
+
[`d1-button--container--${e.container}`]: t(o.container, e.container),
|
|
74
|
+
"d1-button--inverse": e.inverse,
|
|
75
|
+
"d1-button--grid": e.grid,
|
|
76
|
+
[`d1-button--textAlign--${e.textAlign}`]: t(o.textAlign, e.textAlign),
|
|
77
|
+
"d1-button--primary": e.primary && !e.secondary && !e.outline && !e.text,
|
|
78
|
+
"d1-button--secondary": e.secondary,
|
|
79
|
+
"d1-button--outline": e.outline,
|
|
80
|
+
"d1-button--text": e.text,
|
|
81
|
+
[`d1-button--size--${e.size}`]: t(o.size, e.size),
|
|
82
|
+
"d1-button--roundedFull": e.roundedFull,
|
|
83
|
+
[`d1-palette d1-palette--${e.palette}`]: t(o.palette, e.palette)
|
|
84
|
+
// :classes-values [!] System label / Системная метка
|
|
85
|
+
}
|
|
86
|
+
})), d = l(() => ({
|
|
87
|
+
// :styles-values [!] System label / Системная метка
|
|
88
|
+
// :styles-values [!] System label / Системная метка
|
|
89
|
+
})), n = new B(
|
|
90
|
+
"d1.button",
|
|
91
|
+
e,
|
|
92
|
+
{
|
|
93
|
+
emits: s,
|
|
94
|
+
classes: c,
|
|
95
|
+
styles: d,
|
|
96
|
+
components: {
|
|
97
|
+
icon: x,
|
|
98
|
+
progress: _,
|
|
99
|
+
ripple: k
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
), p = n.render();
|
|
103
|
+
return a(n.expose()), (A, z) => (y(), m(f(p)));
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
export {
|
|
107
|
+
w as _
|
|
108
|
+
};
|
package/dist/D1Cell.d.ts
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { CellPropsBasic } from '@dxtmisha/constructor/Cell';
|
|
2
|
+
import { CellSlots } from '@dxtmisha/constructor/Cell';
|
|
3
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
4
|
+
import { ComponentProvideOptions } from 'vue';
|
|
5
|
+
import { DefineComponent } from 'vue';
|
|
6
|
+
import { EventClickValue } from '@dxtmisha/constructor';
|
|
7
|
+
import { IconPropsBasic } from '@dxtmisha/constructor/Icon';
|
|
8
|
+
import { ImagePropsBasic } from '@dxtmisha/constructor/Image';
|
|
9
|
+
import { ProgressPropsBasic } from '@dxtmisha/constructor/Progress';
|
|
10
|
+
import { PublicProps } from 'vue';
|
|
11
|
+
import { Ref } from 'vue';
|
|
12
|
+
|
|
13
|
+
declare const __VLS_component: DefineComponent<D1CellProps, {
|
|
14
|
+
value?: Ref< EventClickValue["value"]>;
|
|
15
|
+
detail?: Ref< EventClickValue["detail"]>;
|
|
16
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
+
click: (event: MouseEvent, value: EventClickValue) => any;
|
|
18
|
+
clickLite: (value: EventClickValue) => any;
|
|
19
|
+
}, string, PublicProps, Readonly<D1CellProps> & Readonly<{
|
|
20
|
+
onClick?: ((event: MouseEvent, value: EventClickValue) => any) | undefined;
|
|
21
|
+
onClickLite?: ((value: EventClickValue) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
|
|
24
|
+
declare function __VLS_template(): {
|
|
25
|
+
attrs: Partial<{}>;
|
|
26
|
+
slots: Readonly<CellSlots> & CellSlots;
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: any;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
32
|
+
|
|
33
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export declare const D1Cell: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
43
|
+
*/
|
|
44
|
+
export declare type D1CellProps = CellPropsBasic<IconProps, ProgressProps> & PropsToken_4;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
48
|
+
*/
|
|
49
|
+
declare type IconProps = IconPropsBasic<ImageProps> & PropsToken_2;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
53
|
+
*/
|
|
54
|
+
declare type ImageProps = ImagePropsBasic & PropsToken;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
58
|
+
*/
|
|
59
|
+
declare type ProgressProps = ProgressPropsBasic & PropsToken_3;
|
|
60
|
+
|
|
61
|
+
declare type PropsToken = {
|
|
62
|
+
turn?: boolean;
|
|
63
|
+
disabled?: boolean;
|
|
64
|
+
hide?: boolean;
|
|
65
|
+
adaptive?: boolean;
|
|
66
|
+
size?: 'auto' | 'contain' | 'cover';
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
declare type PropsToken_2 = {
|
|
70
|
+
turn?: boolean;
|
|
71
|
+
disabled?: boolean;
|
|
72
|
+
hide?: boolean;
|
|
73
|
+
asPalette?: boolean;
|
|
74
|
+
dir?: boolean;
|
|
75
|
+
overlay?: boolean;
|
|
76
|
+
dynamic?: boolean;
|
|
77
|
+
start?: boolean;
|
|
78
|
+
end?: boolean;
|
|
79
|
+
high?: boolean;
|
|
80
|
+
animationType?: 'type1' | 'type2';
|
|
81
|
+
animationShow?: boolean;
|
|
82
|
+
square?: boolean;
|
|
83
|
+
circle?: boolean;
|
|
84
|
+
rect?: boolean;
|
|
85
|
+
size?: 'auto' | 'x' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
|
|
86
|
+
inverse?: boolean;
|
|
87
|
+
rounded?: 'auto' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
declare type PropsToken_3 = {
|
|
91
|
+
point?: boolean;
|
|
92
|
+
linear?: boolean;
|
|
93
|
+
circular?: boolean;
|
|
94
|
+
indeterminate?: 'type1' | 'type2' | 'type3';
|
|
95
|
+
position?: 'top' | 'bottom' | 'static';
|
|
96
|
+
dense?: boolean;
|
|
97
|
+
inverse?: boolean;
|
|
98
|
+
size?: 'sm' | 'md' | 'lg';
|
|
99
|
+
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';
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
declare type PropsToken_4 = {
|
|
103
|
+
focus?: boolean;
|
|
104
|
+
selected?: boolean;
|
|
105
|
+
readonly?: boolean;
|
|
106
|
+
disabled?: boolean;
|
|
107
|
+
dynamic?: boolean;
|
|
108
|
+
dynamicHover?: boolean;
|
|
109
|
+
divider?: boolean;
|
|
110
|
+
dividerLabel?: 'always' | 'none' | 'adaptiveSm' | 'adaptiveMd' | 'adaptiveLg' | 'adaptiveXl' | 'adaptive2xl' | 'containerSm' | 'containerMd' | 'containerLg' | 'containerXl' | 'container2xl';
|
|
111
|
+
iconTop?: boolean;
|
|
112
|
+
padding?: 'sm' | 'md' | 'lg' | 'ySm' | 'yMd' | 'yLg' | 'none';
|
|
113
|
+
paddingByIndent?: boolean;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export { }
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
declare module '@vue/runtime-core' {
|
|
120
|
+
interface GlobalComponents {
|
|
121
|
+
D1Accordion: typeof D1Accordion;
|
|
122
|
+
D1ActionSheet: typeof D1ActionSheet;
|
|
123
|
+
D1Actions: typeof D1Actions;
|
|
124
|
+
D1Anchor: typeof D1Anchor;
|
|
125
|
+
D1Arrow: typeof D1Arrow;
|
|
126
|
+
D1Badge: typeof D1Badge;
|
|
127
|
+
D1Bars: typeof D1Bars;
|
|
128
|
+
D1Block: typeof D1Block;
|
|
129
|
+
D1Button: typeof D1Button;
|
|
130
|
+
D1Cell: typeof D1Cell;
|
|
131
|
+
D1Chip: typeof D1Chip;
|
|
132
|
+
D1ChipGroup: typeof D1ChipGroup;
|
|
133
|
+
D1Dialog: typeof D1Dialog;
|
|
134
|
+
D1Field: typeof D1Field;
|
|
135
|
+
D1FieldCounter: typeof D1FieldCounter;
|
|
136
|
+
D1FieldLabel: typeof D1FieldLabel;
|
|
137
|
+
D1FieldMessage: typeof D1FieldMessage;
|
|
138
|
+
D1Icon: typeof D1Icon;
|
|
139
|
+
D1Image: typeof D1Image;
|
|
140
|
+
D1Input: typeof D1Input;
|
|
141
|
+
D1List: typeof D1List;
|
|
142
|
+
D1ListGroup: typeof D1ListGroup;
|
|
143
|
+
D1ListItem: typeof D1ListItem;
|
|
144
|
+
D1ListMenu: typeof D1ListMenu;
|
|
145
|
+
D1Mask: typeof D1Mask;
|
|
146
|
+
D1Menu: typeof D1Menu;
|
|
147
|
+
D1Modal: typeof D1Modal;
|
|
148
|
+
D1MotionTransform: typeof D1MotionTransform;
|
|
149
|
+
D1Page: typeof D1Page;
|
|
150
|
+
D1Progress: typeof D1Progress;
|
|
151
|
+
D1Ripple: typeof D1Ripple;
|
|
152
|
+
D1Scrollbar: typeof D1Scrollbar;
|
|
153
|
+
D1Section: typeof D1Section;
|
|
154
|
+
D1Select: typeof D1Select;
|
|
155
|
+
D1SelectValue: typeof D1SelectValue;
|
|
156
|
+
D1Skeleton: typeof D1Skeleton;
|
|
157
|
+
D1TextareaAutosize: typeof D1TextareaAutosize;
|
|
158
|
+
D1Tooltip: typeof D1Tooltip;
|
|
159
|
+
D1Window: typeof D1Window;
|
|
160
|
+
}
|
|
161
|
+
}
|
package/dist/D1Cell.js
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { defineComponent as y, computed as o, openBlock as m, createBlock as g, unref as B, mergeDefaults as v } from "vue";
|
|
2
|
+
import { inArray as i } from "@dxtmisha/functional";
|
|
3
|
+
import { defaultsCell as f, CellDesign as u } from "@dxtmisha/constructor/Cell";
|
|
4
|
+
import { _ } from "./D1Icon.vue_vue_type_script_setup_true_lang-xas36wzc.js";
|
|
5
|
+
import { _ as b } from "./D1Progress.vue_vue_type_script_setup_true_lang-C7VFkdo_.js";
|
|
6
|
+
import { _ as T } from "./D1Ripple.vue_vue_type_script_setup_true_lang-BbVI6dIs.js";
|
|
7
|
+
const l = {
|
|
8
|
+
// :values [!] System label / Системная метка
|
|
9
|
+
dividerLabel: ["always", "none", "adaptiveSm", "adaptiveMd", "adaptiveLg", "adaptiveXl", "adaptive2xl", "containerSm", "containerMd", "containerLg", "containerXl", "container2xl"],
|
|
10
|
+
padding: ["sm", "md", "lg", "ySm", "yMd", "yLg", "none"]
|
|
11
|
+
// :values [!] System label / Системная метка
|
|
12
|
+
}, L = {
|
|
13
|
+
...f,
|
|
14
|
+
// :default [!] System label / Системная метка
|
|
15
|
+
divider: !0,
|
|
16
|
+
padding: "none",
|
|
17
|
+
paddingByIndent: !0
|
|
18
|
+
}, M = /* @__PURE__ */ y({
|
|
19
|
+
name: "D1Cell",
|
|
20
|
+
__name: "D1Cell",
|
|
21
|
+
props: /* @__PURE__ */ v({
|
|
22
|
+
label: {},
|
|
23
|
+
labelId: {},
|
|
24
|
+
description: {},
|
|
25
|
+
descriptionId: {},
|
|
26
|
+
caption: {},
|
|
27
|
+
captionDecorative: { type: Boolean },
|
|
28
|
+
readonly: { type: Boolean },
|
|
29
|
+
disabled: { type: Boolean },
|
|
30
|
+
icon: {},
|
|
31
|
+
selected: { type: Boolean },
|
|
32
|
+
iconTurn: { type: Boolean },
|
|
33
|
+
iconHide: { type: Boolean },
|
|
34
|
+
iconDir: { type: Boolean },
|
|
35
|
+
iconPalette: { type: Boolean },
|
|
36
|
+
iconAttrs: {},
|
|
37
|
+
iconTrailing: {},
|
|
38
|
+
iconTrailingTurnOnly: { type: Boolean },
|
|
39
|
+
iconTrailingDirOnly: { type: Boolean },
|
|
40
|
+
iconTrailingPalette: { type: Boolean },
|
|
41
|
+
loading: { type: [Boolean, Object] },
|
|
42
|
+
isSkeleton: { type: Boolean },
|
|
43
|
+
to: {},
|
|
44
|
+
value: {},
|
|
45
|
+
detail: {},
|
|
46
|
+
role: {},
|
|
47
|
+
tag: {},
|
|
48
|
+
divider: { type: Boolean },
|
|
49
|
+
dynamic: { type: Boolean },
|
|
50
|
+
focus: { type: Boolean },
|
|
51
|
+
dynamicHover: { type: Boolean },
|
|
52
|
+
dividerLabel: {},
|
|
53
|
+
iconTop: { type: Boolean },
|
|
54
|
+
padding: {},
|
|
55
|
+
paddingByIndent: { type: Boolean }
|
|
56
|
+
}, L),
|
|
57
|
+
emits: ["click", "clickLite"],
|
|
58
|
+
setup(a, { expose: d, emit: t }) {
|
|
59
|
+
const c = t, e = a, r = o(() => ({
|
|
60
|
+
main: {
|
|
61
|
+
// :classes-values [!] System label / Системная метка
|
|
62
|
+
"d1-cell": !0,
|
|
63
|
+
"d1-cell--focus": e.focus,
|
|
64
|
+
"d1-cell--selected": e.selected,
|
|
65
|
+
"d1-cell--readonly": e.readonly,
|
|
66
|
+
"d1-cell--disabled": e.disabled,
|
|
67
|
+
"d1-cell--dynamic": e.dynamic,
|
|
68
|
+
"d1-cell--dynamicHover": e.dynamicHover,
|
|
69
|
+
"d1-cell--divider": e.divider,
|
|
70
|
+
[`d1-cell--dividerLabel--${e.dividerLabel}`]: i(l.dividerLabel, e.dividerLabel),
|
|
71
|
+
"d1-cell--iconTop": e.iconTop,
|
|
72
|
+
[`d1-cell--padding--${e.padding}`]: i(l.padding, e.padding),
|
|
73
|
+
"d1-cell--paddingByIndent": e.paddingByIndent
|
|
74
|
+
// :classes-values [!] System label / Системная метка
|
|
75
|
+
}
|
|
76
|
+
})), p = o(() => ({
|
|
77
|
+
// :styles-values [!] System label / Системная метка
|
|
78
|
+
// :styles-values [!] System label / Системная метка
|
|
79
|
+
})), n = new u(
|
|
80
|
+
"d1.cell",
|
|
81
|
+
e,
|
|
82
|
+
{
|
|
83
|
+
emits: c,
|
|
84
|
+
classes: r,
|
|
85
|
+
styles: p,
|
|
86
|
+
components: {
|
|
87
|
+
icon: _,
|
|
88
|
+
progress: b,
|
|
89
|
+
ripple: T
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
), s = n.render();
|
|
93
|
+
return d(n.expose()), (k, D) => (m(), g(B(s)));
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
export {
|
|
97
|
+
M as _
|
|
98
|
+
};
|
package/dist/D1Chip.d.ts
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { ChipPropsBasic } from '@dxtmisha/constructor/Chip';
|
|
2
|
+
import { ChipSlots } from '@dxtmisha/constructor/Chip';
|
|
3
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
4
|
+
import { ComponentProvideOptions } from 'vue';
|
|
5
|
+
import { DefineComponent } from 'vue';
|
|
6
|
+
import { EventClickValue } from '@dxtmisha/constructor';
|
|
7
|
+
import { IconPropsBasic } from '@dxtmisha/constructor/Icon';
|
|
8
|
+
import { ImagePropsBasic } from '@dxtmisha/constructor/Image';
|
|
9
|
+
import { ProgressPropsBasic } from '@dxtmisha/constructor/Progress';
|
|
10
|
+
import { PublicProps } from 'vue';
|
|
11
|
+
import { Ref } from 'vue';
|
|
12
|
+
|
|
13
|
+
declare const __VLS_component: DefineComponent<D1ChipProps, {
|
|
14
|
+
value?: Ref< EventClickValue["value"]>;
|
|
15
|
+
detail?: Ref< EventClickValue["detail"]>;
|
|
16
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
+
click: (event: MouseEvent, value: EventClickValue) => any;
|
|
18
|
+
clickLite: (value: EventClickValue) => any;
|
|
19
|
+
}, string, PublicProps, Readonly<D1ChipProps> & Readonly<{
|
|
20
|
+
onClick?: ((event: MouseEvent, value: EventClickValue) => any) | undefined;
|
|
21
|
+
onClickLite?: ((value: EventClickValue) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
|
|
24
|
+
declare function __VLS_template(): {
|
|
25
|
+
attrs: Partial<{}>;
|
|
26
|
+
slots: Readonly<ChipSlots> & ChipSlots;
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: any;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
32
|
+
|
|
33
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export declare const D1Chip: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
43
|
+
*/
|
|
44
|
+
export declare type D1ChipProps = ChipPropsBasic<IconProps, ProgressProps> & PropsToken_4;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
48
|
+
*/
|
|
49
|
+
declare type IconProps = IconPropsBasic<ImageProps> & PropsToken_2;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
53
|
+
*/
|
|
54
|
+
declare type ImageProps = ImagePropsBasic & PropsToken;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
58
|
+
*/
|
|
59
|
+
declare type ProgressProps = ProgressPropsBasic & PropsToken_3;
|
|
60
|
+
|
|
61
|
+
declare type PropsToken = {
|
|
62
|
+
turn?: boolean;
|
|
63
|
+
disabled?: boolean;
|
|
64
|
+
hide?: boolean;
|
|
65
|
+
adaptive?: boolean;
|
|
66
|
+
size?: 'auto' | 'contain' | 'cover';
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
declare type PropsToken_2 = {
|
|
70
|
+
turn?: boolean;
|
|
71
|
+
disabled?: boolean;
|
|
72
|
+
hide?: boolean;
|
|
73
|
+
asPalette?: boolean;
|
|
74
|
+
dir?: boolean;
|
|
75
|
+
overlay?: boolean;
|
|
76
|
+
dynamic?: boolean;
|
|
77
|
+
start?: boolean;
|
|
78
|
+
end?: boolean;
|
|
79
|
+
high?: boolean;
|
|
80
|
+
animationType?: 'type1' | 'type2';
|
|
81
|
+
animationShow?: boolean;
|
|
82
|
+
square?: boolean;
|
|
83
|
+
circle?: boolean;
|
|
84
|
+
rect?: boolean;
|
|
85
|
+
size?: 'auto' | 'x' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
|
|
86
|
+
inverse?: boolean;
|
|
87
|
+
rounded?: 'auto' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
declare type PropsToken_3 = {
|
|
91
|
+
point?: boolean;
|
|
92
|
+
linear?: boolean;
|
|
93
|
+
circular?: boolean;
|
|
94
|
+
indeterminate?: 'type1' | 'type2' | 'type3';
|
|
95
|
+
position?: 'top' | 'bottom' | 'static';
|
|
96
|
+
dense?: boolean;
|
|
97
|
+
inverse?: boolean;
|
|
98
|
+
size?: 'sm' | 'md' | 'lg';
|
|
99
|
+
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';
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
declare type PropsToken_4 = {
|
|
103
|
+
focus?: boolean;
|
|
104
|
+
disabled?: boolean;
|
|
105
|
+
selected?: boolean;
|
|
106
|
+
readonly?: boolean;
|
|
107
|
+
adaptive?: 'iconAlways' | 'block' | 'auto' | 'iconSm' | 'iconMd' | 'iconLg' | 'iconXl' | 'icon2xl' | 'fullSm' | 'fullMd' | 'fullLg' | 'fullXl' | 'full2xl';
|
|
108
|
+
container?: 'iconSm' | 'iconMd' | 'iconLg' | 'iconXl' | 'icon2xl' | 'fullSm' | 'fullMd' | 'fullLg' | 'fullXl' | 'full2xl';
|
|
109
|
+
inverse?: boolean;
|
|
110
|
+
grid?: boolean;
|
|
111
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
112
|
+
input?: boolean;
|
|
113
|
+
assistive?: boolean;
|
|
114
|
+
size?: 'sm' | 'md' | 'lg';
|
|
115
|
+
roundedFull?: boolean;
|
|
116
|
+
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';
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
export { }
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
declare module '@vue/runtime-core' {
|
|
123
|
+
interface GlobalComponents {
|
|
124
|
+
D1Accordion: typeof D1Accordion;
|
|
125
|
+
D1ActionSheet: typeof D1ActionSheet;
|
|
126
|
+
D1Actions: typeof D1Actions;
|
|
127
|
+
D1Anchor: typeof D1Anchor;
|
|
128
|
+
D1Arrow: typeof D1Arrow;
|
|
129
|
+
D1Badge: typeof D1Badge;
|
|
130
|
+
D1Bars: typeof D1Bars;
|
|
131
|
+
D1Block: typeof D1Block;
|
|
132
|
+
D1Button: typeof D1Button;
|
|
133
|
+
D1Cell: typeof D1Cell;
|
|
134
|
+
D1Chip: typeof D1Chip;
|
|
135
|
+
D1ChipGroup: typeof D1ChipGroup;
|
|
136
|
+
D1Dialog: typeof D1Dialog;
|
|
137
|
+
D1Field: typeof D1Field;
|
|
138
|
+
D1FieldCounter: typeof D1FieldCounter;
|
|
139
|
+
D1FieldLabel: typeof D1FieldLabel;
|
|
140
|
+
D1FieldMessage: typeof D1FieldMessage;
|
|
141
|
+
D1Icon: typeof D1Icon;
|
|
142
|
+
D1Image: typeof D1Image;
|
|
143
|
+
D1Input: typeof D1Input;
|
|
144
|
+
D1List: typeof D1List;
|
|
145
|
+
D1ListGroup: typeof D1ListGroup;
|
|
146
|
+
D1ListItem: typeof D1ListItem;
|
|
147
|
+
D1ListMenu: typeof D1ListMenu;
|
|
148
|
+
D1Mask: typeof D1Mask;
|
|
149
|
+
D1Menu: typeof D1Menu;
|
|
150
|
+
D1Modal: typeof D1Modal;
|
|
151
|
+
D1MotionTransform: typeof D1MotionTransform;
|
|
152
|
+
D1Page: typeof D1Page;
|
|
153
|
+
D1Progress: typeof D1Progress;
|
|
154
|
+
D1Ripple: typeof D1Ripple;
|
|
155
|
+
D1Scrollbar: typeof D1Scrollbar;
|
|
156
|
+
D1Section: typeof D1Section;
|
|
157
|
+
D1Select: typeof D1Select;
|
|
158
|
+
D1SelectValue: typeof D1SelectValue;
|
|
159
|
+
D1Skeleton: typeof D1Skeleton;
|
|
160
|
+
D1TextareaAutosize: typeof D1TextareaAutosize;
|
|
161
|
+
D1Tooltip: typeof D1Tooltip;
|
|
162
|
+
D1Window: typeof D1Window;
|
|
163
|
+
}
|
|
164
|
+
}
|
package/dist/D1Chip.js
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { defineComponent as u, computed as o, openBlock as m, createBlock as y, unref as f, mergeDefaults as g } from "vue";
|
|
2
|
+
import { inArray as i } from "@dxtmisha/functional";
|
|
3
|
+
import { defaultsChip as h, ChipDesign as B } from "@dxtmisha/constructor/Chip";
|
|
4
|
+
import { _ } from "./D1Icon.vue_vue_type_script_setup_true_lang-xas36wzc.js";
|
|
5
|
+
import { _ as v } from "./D1Progress.vue_vue_type_script_setup_true_lang-C7VFkdo_.js";
|
|
6
|
+
import { _ as x } from "./D1Ripple.vue_vue_type_script_setup_true_lang-BbVI6dIs.js";
|
|
7
|
+
const t = {
|
|
8
|
+
// :values [!] System label / Системная метка
|
|
9
|
+
adaptive: ["iconAlways", "block", "auto", "iconSm", "iconMd", "iconLg", "iconXl", "icon2xl", "fullSm", "fullMd", "fullLg", "fullXl", "full2xl"],
|
|
10
|
+
container: ["iconSm", "iconMd", "iconLg", "iconXl", "icon2xl", "fullSm", "fullMd", "fullLg", "fullXl", "full2xl"],
|
|
11
|
+
textAlign: ["left", "center", "right"],
|
|
12
|
+
size: ["sm", "md", "lg"],
|
|
13
|
+
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"]
|
|
14
|
+
// :values [!] System label / Системная метка
|
|
15
|
+
}, b = {
|
|
16
|
+
...h,
|
|
17
|
+
// :default [!] System label / Системная метка
|
|
18
|
+
input: !0,
|
|
19
|
+
size: "md"
|
|
20
|
+
}, S = /* @__PURE__ */ u({
|
|
21
|
+
name: "D1Chip",
|
|
22
|
+
__name: "D1Chip",
|
|
23
|
+
props: /* @__PURE__ */ g({
|
|
24
|
+
label: {},
|
|
25
|
+
labelId: {},
|
|
26
|
+
readonly: { type: Boolean },
|
|
27
|
+
disabled: { type: Boolean },
|
|
28
|
+
icon: {},
|
|
29
|
+
selected: { type: Boolean },
|
|
30
|
+
iconTurn: { type: Boolean },
|
|
31
|
+
iconHide: { type: Boolean },
|
|
32
|
+
iconDir: { type: Boolean },
|
|
33
|
+
iconPalette: { type: Boolean },
|
|
34
|
+
iconAttrs: {},
|
|
35
|
+
iconTrailing: {},
|
|
36
|
+
iconTrailingTurnOnly: { type: Boolean },
|
|
37
|
+
iconTrailingDirOnly: { type: Boolean },
|
|
38
|
+
iconTrailingPalette: { type: Boolean },
|
|
39
|
+
loading: { type: [Boolean, Object] },
|
|
40
|
+
isSkeleton: { type: Boolean },
|
|
41
|
+
to: {},
|
|
42
|
+
value: {},
|
|
43
|
+
detail: {},
|
|
44
|
+
href: {},
|
|
45
|
+
ariaLabel: {},
|
|
46
|
+
tag: {},
|
|
47
|
+
type: {},
|
|
48
|
+
focus: { type: Boolean },
|
|
49
|
+
adaptive: {},
|
|
50
|
+
container: {},
|
|
51
|
+
inverse: { type: Boolean },
|
|
52
|
+
grid: { type: Boolean },
|
|
53
|
+
textAlign: {},
|
|
54
|
+
input: { type: Boolean },
|
|
55
|
+
assistive: { type: Boolean },
|
|
56
|
+
size: {},
|
|
57
|
+
roundedFull: { type: Boolean },
|
|
58
|
+
palette: {}
|
|
59
|
+
}, b),
|
|
60
|
+
emits: ["click", "clickLite"],
|
|
61
|
+
setup(l, { expose: a, emit: s }) {
|
|
62
|
+
const c = s, e = l, p = o(() => ({
|
|
63
|
+
main: {
|
|
64
|
+
// :classes-values [!] System label / Системная метка
|
|
65
|
+
"d1-chip": !0,
|
|
66
|
+
"d1-chip--focus": e.focus,
|
|
67
|
+
"d1-chip--disabled": e.disabled,
|
|
68
|
+
"d1-chip--selected": e.selected,
|
|
69
|
+
"d1-chip--readonly": e.readonly,
|
|
70
|
+
[`d1-chip--adaptive--${e.adaptive}`]: i(t.adaptive, e.adaptive),
|
|
71
|
+
[`d1-chip--container--${e.container}`]: i(t.container, e.container),
|
|
72
|
+
"d1-chip--inverse": e.inverse,
|
|
73
|
+
"d1-chip--grid": e.grid,
|
|
74
|
+
[`d1-chip--textAlign--${e.textAlign}`]: i(t.textAlign, e.textAlign),
|
|
75
|
+
"d1-chip--input": e.input && !e.assistive,
|
|
76
|
+
"d1-chip--assistive": e.assistive,
|
|
77
|
+
[`d1-chip--size--${e.size}`]: i(t.size, e.size),
|
|
78
|
+
"d1-chip--roundedFull": e.roundedFull,
|
|
79
|
+
[`d1-palette d1-palette--${e.palette}`]: i(t.palette, e.palette)
|
|
80
|
+
// :classes-values [!] System label / Системная метка
|
|
81
|
+
}
|
|
82
|
+
})), r = o(() => ({
|
|
83
|
+
// :styles-values [!] System label / Системная метка
|
|
84
|
+
// :styles-values [!] System label / Системная метка
|
|
85
|
+
})), n = new B(
|
|
86
|
+
"d1.chip",
|
|
87
|
+
e,
|
|
88
|
+
{
|
|
89
|
+
emits: c,
|
|
90
|
+
classes: p,
|
|
91
|
+
styles: r,
|
|
92
|
+
components: {
|
|
93
|
+
icon: _,
|
|
94
|
+
progress: v,
|
|
95
|
+
ripple: x
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
), d = n.render();
|
|
99
|
+
return a(n.expose()), (k, A) => (m(), y(f(d)));
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
export {
|
|
103
|
+
S as _
|
|
104
|
+
};
|