@dxtmisha/d1 0.1.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/README.md +1 -0
- package/dist/App.vue.d.ts +3 -0
- package/dist/D1Accordion.js +396 -0
- package/dist/D1Image.js +4 -0
- package/dist/components/AiWiki.vue.d.ts +3 -0
- package/dist/components/Ui/Accordion/D1Accordion.vue.d.ts +43 -0
- package/dist/components/Ui/Accordion/index.d.ts +5 -0
- package/dist/components/Ui/Accordion/props.d.ts +20 -0
- package/dist/components/Ui/Accordion/wiki.d.ts +2 -0
- package/dist/components/Ui/ActionSheet/D1ActionSheet.vue.d.ts +44 -0
- package/dist/components/Ui/ActionSheet/index.d.ts +5 -0
- package/dist/components/Ui/ActionSheet/props.d.ts +21 -0
- package/dist/components/Ui/ActionSheet/wiki.d.ts +2 -0
- package/dist/components/Ui/Actions/D1Actions.vue.d.ts +25 -0
- package/dist/components/Ui/Actions/index.d.ts +5 -0
- package/dist/components/Ui/Actions/props.d.ts +21 -0
- package/dist/components/Ui/Actions/wiki.d.ts +2 -0
- package/dist/components/Ui/Anchor/D1Anchor.vue.d.ts +21 -0
- package/dist/components/Ui/Anchor/index.d.ts +5 -0
- package/dist/components/Ui/Anchor/props.d.ts +11 -0
- package/dist/components/Ui/Anchor/wiki.d.ts +2 -0
- package/dist/components/Ui/Arrow/D1Arrow.vue.d.ts +20 -0
- package/dist/components/Ui/Arrow/index.d.ts +5 -0
- package/dist/components/Ui/Arrow/props.d.ts +18 -0
- package/dist/components/Ui/Arrow/wiki.d.ts +2 -0
- package/dist/components/Ui/Badge/D1Badge.vue.d.ts +18 -0
- package/dist/components/Ui/Badge/index.d.ts +5 -0
- package/dist/components/Ui/Badge/props.d.ts +30 -0
- package/dist/components/Ui/Badge/wiki.d.ts +2 -0
- package/dist/components/Ui/Bars/D1Bars.vue.d.ts +32 -0
- package/dist/components/Ui/Bars/index.d.ts +5 -0
- package/dist/components/Ui/Bars/props.d.ts +18 -0
- package/dist/components/Ui/Bars/wiki.d.ts +2 -0
- package/dist/components/Ui/Block/D1Block.vue.d.ts +21 -0
- package/dist/components/Ui/Block/index.d.ts +5 -0
- package/dist/components/Ui/Block/props.d.ts +12 -0
- package/dist/components/Ui/Block/wiki.d.ts +2 -0
- package/dist/components/Ui/Button/D1Button.vue.d.ts +29 -0
- package/dist/components/Ui/Button/index.d.ts +5 -0
- package/dist/components/Ui/Button/props.d.ts +36 -0
- package/dist/components/Ui/Button/wiki.d.ts +2 -0
- package/dist/components/Ui/Cell/D1Cell.vue.d.ts +30 -0
- package/dist/components/Ui/Cell/index.d.ts +5 -0
- package/dist/components/Ui/Cell/props.d.ts +28 -0
- package/dist/components/Ui/Cell/wiki.d.ts +2 -0
- package/dist/components/Ui/Chip/D1Chip.vue.d.ts +29 -0
- package/dist/components/Ui/Chip/index.d.ts +5 -0
- package/dist/components/Ui/Chip/props.d.ts +34 -0
- package/dist/components/Ui/Chip/wiki.d.ts +2 -0
- package/dist/components/Ui/ChipGroup/D1ChipGroup.vue.d.ts +30 -0
- package/dist/components/Ui/ChipGroup/index.d.ts +5 -0
- package/dist/components/Ui/ChipGroup/props.d.ts +12 -0
- package/dist/components/Ui/ChipGroup/wiki.d.ts +2 -0
- package/dist/components/Ui/Dialog/D1Dialog.vue.d.ts +48 -0
- package/dist/components/Ui/Dialog/index.d.ts +5 -0
- package/dist/components/Ui/Dialog/props.d.ts +28 -0
- package/dist/components/Ui/Dialog/wiki.d.ts +2 -0
- package/dist/components/Ui/Field/D1Field.vue.d.ts +25 -0
- package/dist/components/Ui/Field/index.d.ts +5 -0
- package/dist/components/Ui/Field/props.d.ts +42 -0
- package/dist/components/Ui/Field/wiki.d.ts +2 -0
- package/dist/components/Ui/FieldCounter/D1FieldCounter.vue.d.ts +17 -0
- package/dist/components/Ui/FieldCounter/index.d.ts +5 -0
- package/dist/components/Ui/FieldCounter/props.d.ts +11 -0
- package/dist/components/Ui/FieldCounter/wiki.d.ts +2 -0
- package/dist/components/Ui/FieldLabel/D1FieldLabel.vue.d.ts +20 -0
- package/dist/components/Ui/FieldLabel/index.d.ts +5 -0
- package/dist/components/Ui/FieldLabel/props.d.ts +13 -0
- package/dist/components/Ui/FieldLabel/wiki.d.ts +2 -0
- package/dist/components/Ui/FieldMessage/D1FieldMessage.vue.d.ts +18 -0
- package/dist/components/Ui/FieldMessage/index.d.ts +5 -0
- package/dist/components/Ui/FieldMessage/props.d.ts +12 -0
- package/dist/components/Ui/FieldMessage/wiki.d.ts +2 -0
- package/dist/components/Ui/Icon/D1Icon.vue.d.ts +25 -0
- package/dist/components/Ui/Icon/index.d.ts +5 -0
- package/dist/components/Ui/Icon/props.d.ts +35 -0
- package/dist/components/Ui/Icon/wiki.d.ts +2 -0
- package/dist/components/Ui/Image/D1Image.vue.d.ts +25 -0
- package/dist/components/Ui/Image/D1ImageAiWiki.vue.d.ts +3 -0
- package/dist/components/Ui/Image/index.d.ts +5 -0
- package/dist/components/Ui/Image/props.d.ts +19 -0
- package/dist/components/Ui/Image/wiki.d.ts +2 -0
- package/dist/components/Ui/Input/D1Input.vue.d.ts +37 -0
- package/dist/components/Ui/Input/index.d.ts +5 -0
- package/dist/components/Ui/Input/props.d.ts +18 -0
- package/dist/components/Ui/Input/wiki.d.ts +2 -0
- package/dist/components/Ui/List/D1List.vue.d.ts +33 -0
- package/dist/components/Ui/List/index.d.ts +5 -0
- package/dist/components/Ui/List/props.d.ts +18 -0
- package/dist/components/Ui/List/wiki.d.ts +2 -0
- package/dist/components/Ui/ListGroup/D1ListGroup.vue.d.ts +20 -0
- package/dist/components/Ui/ListGroup/index.d.ts +5 -0
- package/dist/components/Ui/ListGroup/props.d.ts +14 -0
- package/dist/components/Ui/ListGroup/wiki.d.ts +2 -0
- package/dist/components/Ui/ListItem/D1ListItem.vue.d.ts +28 -0
- package/dist/components/Ui/ListItem/index.d.ts +5 -0
- package/dist/components/Ui/ListItem/props.d.ts +33 -0
- package/dist/components/Ui/ListItem/wiki.d.ts +2 -0
- package/dist/components/Ui/ListMenu/D1ListMenu.vue.d.ts +33 -0
- package/dist/components/Ui/ListMenu/index.d.ts +5 -0
- package/dist/components/Ui/ListMenu/props.d.ts +18 -0
- package/dist/components/Ui/ListMenu/wiki.d.ts +2 -0
- package/dist/components/Ui/Mask/D1Mask.vue.d.ts +48 -0
- package/dist/components/Ui/Mask/index.d.ts +5 -0
- package/dist/components/Ui/Mask/props.d.ts +19 -0
- package/dist/components/Ui/Mask/wiki.d.ts +2 -0
- package/dist/components/Ui/Menu/D1Menu.vue.d.ts +65 -0
- package/dist/components/Ui/Menu/index.d.ts +5 -0
- package/dist/components/Ui/Menu/props.d.ts +20 -0
- package/dist/components/Ui/Menu/wiki.d.ts +2 -0
- package/dist/components/Ui/Modal/D1Modal.vue.d.ts +44 -0
- package/dist/components/Ui/Modal/index.d.ts +5 -0
- package/dist/components/Ui/Modal/props.d.ts +24 -0
- package/dist/components/Ui/Modal/wiki.d.ts +2 -0
- package/dist/components/Ui/MotionTransform/D1MotionTransform.vue.d.ts +35 -0
- package/dist/components/Ui/MotionTransform/index.d.ts +5 -0
- package/dist/components/Ui/MotionTransform/props.d.ts +18 -0
- package/dist/components/Ui/MotionTransform/wiki.d.ts +2 -0
- package/dist/components/Ui/Page/D1Page.vue.d.ts +21 -0
- package/dist/components/Ui/Page/index.d.ts +5 -0
- package/dist/components/Ui/Page/props.d.ts +11 -0
- package/dist/components/Ui/Page/wiki.d.ts +2 -0
- package/dist/components/Ui/Progress/D1Progress.vue.d.ts +18 -0
- package/dist/components/Ui/Progress/index.d.ts +5 -0
- package/dist/components/Ui/Progress/props.d.ts +26 -0
- package/dist/components/Ui/Progress/wiki.d.ts +2 -0
- package/dist/components/Ui/Ripple/D1Ripple.vue.d.ts +17 -0
- package/dist/components/Ui/Ripple/index.d.ts +5 -0
- package/dist/components/Ui/Ripple/props.d.ts +11 -0
- package/dist/components/Ui/Ripple/wiki.d.ts +2 -0
- package/dist/components/Ui/Scrollbar/D1Scrollbar.vue.d.ts +34 -0
- package/dist/components/Ui/Scrollbar/index.d.ts +5 -0
- package/dist/components/Ui/Scrollbar/props.d.ts +19 -0
- package/dist/components/Ui/Scrollbar/wiki.d.ts +2 -0
- package/dist/components/Ui/Section/D1Section.vue.d.ts +21 -0
- package/dist/components/Ui/Section/index.d.ts +5 -0
- package/dist/components/Ui/Section/props.d.ts +11 -0
- package/dist/components/Ui/Section/wiki.d.ts +2 -0
- package/dist/components/Ui/Select/D1Select.vue.d.ts +45 -0
- package/dist/components/Ui/Select/index.d.ts +5 -0
- package/dist/components/Ui/Select/props.d.ts +19 -0
- package/dist/components/Ui/Select/wiki.d.ts +2 -0
- package/dist/components/Ui/SelectValue/D1SelectValue.vue.d.ts +25 -0
- package/dist/components/Ui/SelectValue/index.d.ts +5 -0
- package/dist/components/Ui/SelectValue/props.d.ts +13 -0
- package/dist/components/Ui/SelectValue/wiki.d.ts +2 -0
- package/dist/components/Ui/Skeleton/D1Skeleton.vue.d.ts +20 -0
- package/dist/components/Ui/Skeleton/index.d.ts +4 -0
- package/dist/components/Ui/Skeleton/props.d.ts +13 -0
- package/dist/components/Ui/Skeleton/wiki.d.ts +2 -0
- package/dist/components/Ui/TextareaAutosize/D1TextareaAutosize.vue.d.ts +24 -0
- package/dist/components/Ui/TextareaAutosize/index.d.ts +5 -0
- package/dist/components/Ui/TextareaAutosize/props.d.ts +15 -0
- package/dist/components/Ui/TextareaAutosize/wiki.d.ts +2 -0
- package/dist/components/Ui/Tooltip/D1Tooltip.vue.d.ts +24 -0
- package/dist/components/Ui/Tooltip/index.d.ts +5 -0
- package/dist/components/Ui/Tooltip/props.d.ts +15 -0
- package/dist/components/Ui/Tooltip/wiki.d.ts +2 -0
- package/dist/components/Ui/Window/D1Window.vue.d.ts +52 -0
- package/dist/components/Ui/Window/index.d.ts +5 -0
- package/dist/components/Ui/Window/props.d.ts +37 -0
- package/dist/components/Ui/Window/wiki.d.ts +2 -0
- package/dist/design.js +165 -0
- package/dist/index-BWyEZpKM.js +66 -0
- package/dist/library/D1Accordion.d.ts +1 -0
- package/dist/library/D1Image.d.ts +1 -0
- package/dist/library/ai-list.wiki.d.ts +1 -0
- package/dist/library/design.d.ts +6 -0
- package/dist/library/plugin.d.ts +9 -0
- package/dist/library/types.d.ts +82 -0
- package/dist/library.d.ts +0 -0
- package/dist/library.js +1 -0
- package/dist/main.d.ts +0 -0
- package/dist/plugin.js +16 -0
- package/dist/style.css +1 -0
- package/dist/types.js +1 -0
- package/dist/wiki/wiki.d.ts +2 -0
- package/package.json +75 -0
- package/src/styles/Ui/basic.scss +3 -0
- package/src/styles/Ui/classes/d1-background.scss +57 -0
- package/src/styles/Ui/classes/d1-border.scss +117 -0
- package/src/styles/Ui/classes/d1-color.scss +118 -0
- package/src/styles/Ui/classes/d1-dark.scss +396 -0
- package/src/styles/Ui/classes/d1-elevation.scss +61 -0
- package/src/styles/Ui/classes/d1-font.scss +243 -0
- package/src/styles/Ui/classes/d1-grid.scss +17 -0
- package/src/styles/Ui/classes/d1-main.scss +28 -0
- package/src/styles/Ui/classes/d1-margin-x.scss +31 -0
- package/src/styles/Ui/classes/d1-margin-y.scss +51 -0
- package/src/styles/Ui/classes/d1-margin.scss +55 -0
- package/src/styles/Ui/classes/d1-outline.scss +24 -0
- package/src/styles/Ui/classes/d1-padding-x.scss +31 -0
- package/src/styles/Ui/classes/d1-padding-y.scss +31 -0
- package/src/styles/Ui/classes/d1-padding.scss +51 -0
- package/src/styles/Ui/classes/d1-palette.scss +363 -0
- package/src/styles/Ui/classes/d1-system.scss +26 -0
- package/src/styles/Ui/classes.scss +17 -0
- package/src/styles/Ui/list.json +10984 -0
- package/src/styles/Ui/main.scss +6 -0
- package/src/styles/Ui/properties.scss +12584 -0
- package/src/styles/Ui/style.scss +6 -0
- package/src/styles/Ui/vars.scss +669 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# D1
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
import { defineComponent as c, mergeDefaults as m, computed as t, createBlock as y, openBlock as u, unref as g } from "vue";
|
|
2
|
+
import { inArray as n } from "@dxtmisha/functional";
|
|
3
|
+
import { defaultsAccordion as b, AccordionDesign as D } from "@dxtmisha/constructor/Accordion";
|
|
4
|
+
import { defaultsCell as k, CellDesign as $ } from "@dxtmisha/constructor/Cell";
|
|
5
|
+
import { defaultsIcon as h, IconDesign as w } from "@dxtmisha/constructor/Icon";
|
|
6
|
+
import { D as L } from "./index-BWyEZpKM.js";
|
|
7
|
+
import { defaultsProgress as P, ProgressDesign as z } from "@dxtmisha/constructor/Progress";
|
|
8
|
+
import { defaultsRipple as I, RippleDesign as A } from "@dxtmisha/constructor/Ripple";
|
|
9
|
+
import { defaultsMotionTransform as H, MotionTransformDesign as S } from "@dxtmisha/constructor/MotionTransform";
|
|
10
|
+
const T = {
|
|
11
|
+
// :values [!] System label / Системная метка
|
|
12
|
+
animationType: ["type1", "type2"],
|
|
13
|
+
size: ["auto", "x", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "7xl", "8xl", "9xl"],
|
|
14
|
+
rounded: ["auto", "sm", "md", "lg", "xl", "full"]
|
|
15
|
+
// :values [!] System label / Системная метка
|
|
16
|
+
}, M = {
|
|
17
|
+
...h,
|
|
18
|
+
// :default [!] System label / Системная метка
|
|
19
|
+
animationType: "type1",
|
|
20
|
+
square: !0,
|
|
21
|
+
size: "auto",
|
|
22
|
+
rounded: "auto"
|
|
23
|
+
}, O = /* @__PURE__ */ c({
|
|
24
|
+
name: "D1Icon",
|
|
25
|
+
__name: "D1Icon",
|
|
26
|
+
props: /* @__PURE__ */ m({
|
|
27
|
+
isSkeleton: { type: Boolean },
|
|
28
|
+
ariaLabel: {},
|
|
29
|
+
active: { type: Boolean },
|
|
30
|
+
icon: {},
|
|
31
|
+
iconActive: {},
|
|
32
|
+
role: {},
|
|
33
|
+
turn: { type: Boolean },
|
|
34
|
+
disabled: { type: Boolean },
|
|
35
|
+
hide: { type: Boolean },
|
|
36
|
+
asPalette: { type: Boolean },
|
|
37
|
+
dir: { type: Boolean },
|
|
38
|
+
overlay: { type: Boolean },
|
|
39
|
+
dynamic: { type: Boolean },
|
|
40
|
+
start: { type: Boolean },
|
|
41
|
+
end: { type: Boolean },
|
|
42
|
+
high: { type: Boolean },
|
|
43
|
+
animationType: {},
|
|
44
|
+
animationShow: { type: Boolean },
|
|
45
|
+
square: { type: Boolean },
|
|
46
|
+
circle: { type: Boolean },
|
|
47
|
+
rect: { type: Boolean },
|
|
48
|
+
size: {},
|
|
49
|
+
inverse: { type: Boolean },
|
|
50
|
+
rounded: {}
|
|
51
|
+
}, M),
|
|
52
|
+
emits: ["load"],
|
|
53
|
+
setup(i, { expose: a, emit: s }) {
|
|
54
|
+
const d = s, e = i, r = t(() => ({
|
|
55
|
+
main: {
|
|
56
|
+
// :classes-values [!] System label / Системная метка
|
|
57
|
+
"d1-icon": !0,
|
|
58
|
+
"d1-icon--turn": e.turn,
|
|
59
|
+
"d1-icon--disabled": e.disabled,
|
|
60
|
+
"d1-icon--hide": e.hide,
|
|
61
|
+
"d1-icon--asPalette": e.asPalette,
|
|
62
|
+
"d1-icon--dir": e.dir,
|
|
63
|
+
"d1-icon--overlay": e.overlay,
|
|
64
|
+
"d1-icon--dynamic": e.dynamic,
|
|
65
|
+
"d1-icon--start": e.start,
|
|
66
|
+
"d1-icon--end": e.end,
|
|
67
|
+
"d1-icon--high": e.high,
|
|
68
|
+
[`d1-icon--animationType--${e.animationType}`]: n(T.animationType, e.animationType),
|
|
69
|
+
"d1-icon--animationShow": e.animationShow,
|
|
70
|
+
"d1-icon--square": e.square && !e.circle && !e.rect,
|
|
71
|
+
"d1-icon--circle": e.circle,
|
|
72
|
+
"d1-icon--rect": e.rect,
|
|
73
|
+
[`d1-icon--size--${e.size}`]: n(T.size, e.size),
|
|
74
|
+
"d1-icon--inverse": e.inverse,
|
|
75
|
+
[`d1-icon--rounded--${e.rounded}`]: n(T.rounded, e.rounded)
|
|
76
|
+
// :classes-values [!] System label / Системная метка
|
|
77
|
+
}
|
|
78
|
+
})), l = t(() => ({
|
|
79
|
+
// :styles-values [!] System label / Системная метка
|
|
80
|
+
// :styles-values [!] System label / Системная метка
|
|
81
|
+
})), o = new w(
|
|
82
|
+
"d1.icon",
|
|
83
|
+
e,
|
|
84
|
+
{
|
|
85
|
+
emits: d,
|
|
86
|
+
components: {
|
|
87
|
+
image: L
|
|
88
|
+
},
|
|
89
|
+
classes: r,
|
|
90
|
+
styles: l
|
|
91
|
+
}
|
|
92
|
+
), p = o.render();
|
|
93
|
+
return a(o.expose()), (B, f) => (u(), y(g(p)));
|
|
94
|
+
}
|
|
95
|
+
}), v = {
|
|
96
|
+
// :values [!] System label / Системная метка
|
|
97
|
+
indeterminate: ["type1", "type2", "type3"],
|
|
98
|
+
position: ["top", "bottom", "static"],
|
|
99
|
+
size: ["sm", "md", "lg"],
|
|
100
|
+
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"]
|
|
101
|
+
// :values [!] System label / Системная метка
|
|
102
|
+
}, C = {
|
|
103
|
+
...P,
|
|
104
|
+
// :default [!] System label / Системная метка
|
|
105
|
+
linear: !0,
|
|
106
|
+
indeterminate: "type1",
|
|
107
|
+
position: "top",
|
|
108
|
+
size: "md"
|
|
109
|
+
}, V = /* @__PURE__ */ c({
|
|
110
|
+
name: "D1Progress",
|
|
111
|
+
__name: "D1Progress",
|
|
112
|
+
props: /* @__PURE__ */ m({
|
|
113
|
+
ariaLabel: {},
|
|
114
|
+
ariaLive: {},
|
|
115
|
+
visible: { type: Boolean },
|
|
116
|
+
value: {},
|
|
117
|
+
max: {},
|
|
118
|
+
linear: { type: Boolean },
|
|
119
|
+
circular: { type: Boolean },
|
|
120
|
+
point: { type: Boolean },
|
|
121
|
+
delay: {},
|
|
122
|
+
delayHide: {},
|
|
123
|
+
indeterminate: {},
|
|
124
|
+
position: {},
|
|
125
|
+
dense: { type: Boolean },
|
|
126
|
+
inverse: { type: Boolean },
|
|
127
|
+
size: {},
|
|
128
|
+
palette: {}
|
|
129
|
+
}, C),
|
|
130
|
+
setup(i, { expose: a, emit: s }) {
|
|
131
|
+
const d = s, e = i, r = t(() => ({
|
|
132
|
+
main: {
|
|
133
|
+
// :classes-values [!] System label / Системная метка
|
|
134
|
+
"d1-progress": !0,
|
|
135
|
+
"d1-progress--point": e.point,
|
|
136
|
+
"d1-progress--linear": e.linear && !e.circular,
|
|
137
|
+
"d1-progress--circular": e.circular,
|
|
138
|
+
[`d1-progress--indeterminate--${e.indeterminate}`]: n(v.indeterminate, e.indeterminate),
|
|
139
|
+
[`d1-progress--position--${e.position}`]: n(v.position, e.position),
|
|
140
|
+
"d1-progress--dense": e.dense,
|
|
141
|
+
"d1-progress--inverse": e.inverse,
|
|
142
|
+
[`d1-progress--size--${e.size}`]: n(v.size, e.size),
|
|
143
|
+
[`d1-palette d1-palette--${e.palette}`]: n(v.palette, e.palette)
|
|
144
|
+
// :classes-values [!] System label / Системная метка
|
|
145
|
+
}
|
|
146
|
+
})), l = t(() => ({
|
|
147
|
+
// :styles-values [!] System label / Системная метка
|
|
148
|
+
// :styles-values [!] System label / Системная метка
|
|
149
|
+
})), o = new z(
|
|
150
|
+
"d1.progress",
|
|
151
|
+
e,
|
|
152
|
+
{
|
|
153
|
+
emits: d,
|
|
154
|
+
classes: r,
|
|
155
|
+
styles: l
|
|
156
|
+
}
|
|
157
|
+
), p = o.render();
|
|
158
|
+
return a(o.expose()), (B, f) => (u(), y(g(p)));
|
|
159
|
+
}
|
|
160
|
+
}), q = {
|
|
161
|
+
...I
|
|
162
|
+
}, F = /* @__PURE__ */ c({
|
|
163
|
+
name: "D1Ripple",
|
|
164
|
+
__name: "D1Ripple",
|
|
165
|
+
props: /* @__PURE__ */ m({
|
|
166
|
+
disabled: { type: Boolean }
|
|
167
|
+
}, q),
|
|
168
|
+
setup(i, { expose: a, emit: s }) {
|
|
169
|
+
const d = s, e = i, r = t(() => ({
|
|
170
|
+
main: {
|
|
171
|
+
// :classes-values [!] System label / Системная метка
|
|
172
|
+
"d1-ripple": !0
|
|
173
|
+
// :classes-values [!] System label / Системная метка
|
|
174
|
+
}
|
|
175
|
+
})), l = t(() => ({
|
|
176
|
+
// :styles-values [!] System label / Системная метка
|
|
177
|
+
// :styles-values [!] System label / Системная метка
|
|
178
|
+
})), o = new A(
|
|
179
|
+
"d1.ripple",
|
|
180
|
+
e,
|
|
181
|
+
{
|
|
182
|
+
emits: d,
|
|
183
|
+
classes: r,
|
|
184
|
+
styles: l
|
|
185
|
+
}
|
|
186
|
+
), p = o.render();
|
|
187
|
+
return a(o.expose()), (B, f) => (u(), y(g(p)));
|
|
188
|
+
}
|
|
189
|
+
}), _ = {
|
|
190
|
+
// :values [!] System label / Системная метка
|
|
191
|
+
dividerLabel: ["always", "none", "adaptiveSm", "adaptiveMd", "adaptiveLg", "adaptiveXl", "adaptive2xl", "containerSm", "containerMd", "containerLg", "containerXl", "container2xl"],
|
|
192
|
+
padding: ["sm", "md", "lg", "ySm", "yMd", "yLg", "none"]
|
|
193
|
+
// :values [!] System label / Системная метка
|
|
194
|
+
}, R = {
|
|
195
|
+
...k,
|
|
196
|
+
// :default [!] System label / Системная метка
|
|
197
|
+
divider: !0,
|
|
198
|
+
padding: "none",
|
|
199
|
+
paddingByIndent: !0
|
|
200
|
+
}, U = /* @__PURE__ */ c({
|
|
201
|
+
name: "D1Cell",
|
|
202
|
+
__name: "D1Cell",
|
|
203
|
+
props: /* @__PURE__ */ m({
|
|
204
|
+
label: {},
|
|
205
|
+
labelId: {},
|
|
206
|
+
description: {},
|
|
207
|
+
caption: {},
|
|
208
|
+
readonly: { type: Boolean },
|
|
209
|
+
disabled: { type: Boolean },
|
|
210
|
+
icon: {},
|
|
211
|
+
selected: { type: Boolean },
|
|
212
|
+
iconTurn: { type: Boolean },
|
|
213
|
+
iconHide: { type: Boolean },
|
|
214
|
+
iconDir: { type: Boolean },
|
|
215
|
+
iconPalette: { type: Boolean },
|
|
216
|
+
iconAttrs: {},
|
|
217
|
+
iconTrailing: {},
|
|
218
|
+
iconTrailingTurnOnly: { type: Boolean },
|
|
219
|
+
iconTrailingDirOnly: { type: Boolean },
|
|
220
|
+
iconTrailingPalette: { type: Boolean },
|
|
221
|
+
loading: { type: [Boolean, Object] },
|
|
222
|
+
isSkeleton: { type: Boolean },
|
|
223
|
+
to: {},
|
|
224
|
+
value: {},
|
|
225
|
+
detail: {},
|
|
226
|
+
role: {},
|
|
227
|
+
tag: {},
|
|
228
|
+
divider: { type: Boolean },
|
|
229
|
+
dynamic: { type: Boolean },
|
|
230
|
+
focus: { type: Boolean },
|
|
231
|
+
dynamicHover: { type: Boolean },
|
|
232
|
+
dividerLabel: {},
|
|
233
|
+
iconTop: { type: Boolean },
|
|
234
|
+
padding: {},
|
|
235
|
+
paddingByIndent: { type: Boolean }
|
|
236
|
+
}, R),
|
|
237
|
+
emits: ["click", "clickLite"],
|
|
238
|
+
setup(i, { expose: a, emit: s }) {
|
|
239
|
+
const d = s, e = i, r = t(() => ({
|
|
240
|
+
main: {
|
|
241
|
+
// :classes-values [!] System label / Системная метка
|
|
242
|
+
"d1-cell": !0,
|
|
243
|
+
"d1-cell--focus": e.focus,
|
|
244
|
+
"d1-cell--selected": e.selected,
|
|
245
|
+
"d1-cell--readonly": e.readonly,
|
|
246
|
+
"d1-cell--disabled": e.disabled,
|
|
247
|
+
"d1-cell--dynamic": e.dynamic,
|
|
248
|
+
"d1-cell--dynamicHover": e.dynamicHover,
|
|
249
|
+
"d1-cell--divider": e.divider,
|
|
250
|
+
[`d1-cell--dividerLabel--${e.dividerLabel}`]: n(_.dividerLabel, e.dividerLabel),
|
|
251
|
+
"d1-cell--iconTop": e.iconTop,
|
|
252
|
+
[`d1-cell--padding--${e.padding}`]: n(_.padding, e.padding),
|
|
253
|
+
"d1-cell--paddingByIndent": e.paddingByIndent
|
|
254
|
+
// :classes-values [!] System label / Системная метка
|
|
255
|
+
}
|
|
256
|
+
})), l = t(() => ({
|
|
257
|
+
// :styles-values [!] System label / Системная метка
|
|
258
|
+
// :styles-values [!] System label / Системная метка
|
|
259
|
+
})), o = new $(
|
|
260
|
+
"d1.cell",
|
|
261
|
+
e,
|
|
262
|
+
{
|
|
263
|
+
emits: d,
|
|
264
|
+
classes: r,
|
|
265
|
+
styles: l,
|
|
266
|
+
components: {
|
|
267
|
+
icon: O,
|
|
268
|
+
progress: V,
|
|
269
|
+
ripple: F
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
), p = o.render();
|
|
273
|
+
return a(o.expose()), (B, f) => (u(), y(g(p)));
|
|
274
|
+
}
|
|
275
|
+
}), X = U, x = {
|
|
276
|
+
// :values [!] System label / Системная метка
|
|
277
|
+
animationHeadPosition: ["top", "toBottom"],
|
|
278
|
+
adaptive: ["planeAlways", "planeSm", "planeMd", "planeLg", "planeXl", "plane2xl"]
|
|
279
|
+
// :values [!] System label / Системная метка
|
|
280
|
+
}, j = {
|
|
281
|
+
...H,
|
|
282
|
+
// :default [!] System label / Системная метка
|
|
283
|
+
animationHeadPosition: "top",
|
|
284
|
+
adaptive: "planeMd"
|
|
285
|
+
}, E = /* @__PURE__ */ c({
|
|
286
|
+
name: "D1MotionTransform",
|
|
287
|
+
__name: "D1MotionTransform",
|
|
288
|
+
props: /* @__PURE__ */ m({
|
|
289
|
+
role: {},
|
|
290
|
+
ariaLabelledby: {},
|
|
291
|
+
ariaDescribedby: {},
|
|
292
|
+
open: { type: Boolean },
|
|
293
|
+
inDom: { type: Boolean },
|
|
294
|
+
ignore: {},
|
|
295
|
+
ignoreSelector: {},
|
|
296
|
+
clickOpen: { type: Boolean },
|
|
297
|
+
autoClose: { type: Boolean },
|
|
298
|
+
animationShow: { type: Boolean },
|
|
299
|
+
tagBody: {},
|
|
300
|
+
modelOpen: { type: Boolean },
|
|
301
|
+
"onUpdate:open": { type: Function },
|
|
302
|
+
"onUpdate:modelOpen": { type: Function },
|
|
303
|
+
section: { type: Boolean },
|
|
304
|
+
animationHeadPosition: {},
|
|
305
|
+
adaptive: {}
|
|
306
|
+
}, j),
|
|
307
|
+
emits: ["transform", "transformLite", "update:open", "update:modelOpen"],
|
|
308
|
+
setup(i, { expose: a, emit: s }) {
|
|
309
|
+
const d = s, e = i, r = t(() => ({
|
|
310
|
+
main: {
|
|
311
|
+
// :classes-values [!] System label / Системная метка
|
|
312
|
+
"d1-motionTransform": !0,
|
|
313
|
+
"d1-motionTransform--section": e.section,
|
|
314
|
+
[`d1-motionTransform--animationHeadPosition--${e.animationHeadPosition}`]: n(x.animationHeadPosition, e.animationHeadPosition),
|
|
315
|
+
[`d1-motionTransform--adaptive--${e.adaptive}`]: n(x.adaptive, e.adaptive)
|
|
316
|
+
// :classes-values [!] System label / Системная метка
|
|
317
|
+
}
|
|
318
|
+
})), l = t(() => ({
|
|
319
|
+
// :styles-values [!] System label / Системная метка
|
|
320
|
+
// :styles-values [!] System label / Системная метка
|
|
321
|
+
})), o = new S(
|
|
322
|
+
"d1.motionTransform",
|
|
323
|
+
e,
|
|
324
|
+
{
|
|
325
|
+
emits: d,
|
|
326
|
+
classes: r,
|
|
327
|
+
styles: l
|
|
328
|
+
}
|
|
329
|
+
), p = o.render();
|
|
330
|
+
return a(o.expose()), (B, f) => (u(), y(g(p)));
|
|
331
|
+
}
|
|
332
|
+
}), G = E, J = {
|
|
333
|
+
// :values [!] System label / Системная метка
|
|
334
|
+
padding: ["sm", "md", "lg", "ySm", "yMd", "yLg", "none"]
|
|
335
|
+
// :values [!] System label / Системная метка
|
|
336
|
+
}, K = {
|
|
337
|
+
...b,
|
|
338
|
+
iconArrowDown: "keyboard_arrow_down",
|
|
339
|
+
// :default [!] System label / Системная метка
|
|
340
|
+
divider: !0,
|
|
341
|
+
padding: "none",
|
|
342
|
+
paddingByIndent: !0
|
|
343
|
+
}, ie = /* @__PURE__ */ c({
|
|
344
|
+
name: "D1Accordion",
|
|
345
|
+
__name: "D1Accordion",
|
|
346
|
+
props: /* @__PURE__ */ m({
|
|
347
|
+
label: {},
|
|
348
|
+
labelId: {},
|
|
349
|
+
description: {},
|
|
350
|
+
icon: {},
|
|
351
|
+
open: { type: Boolean },
|
|
352
|
+
clickOpen: { type: Boolean },
|
|
353
|
+
autoClose: { type: Boolean },
|
|
354
|
+
motionTransformAttrs: {},
|
|
355
|
+
cellAttrs: {},
|
|
356
|
+
iconArrowDown: {},
|
|
357
|
+
modelOpen: { type: Boolean },
|
|
358
|
+
"onUpdate:open": { type: Function },
|
|
359
|
+
"onUpdate:modelOpen": { type: Function },
|
|
360
|
+
divider: { type: Boolean },
|
|
361
|
+
padding: {},
|
|
362
|
+
paddingByIndent: { type: Boolean }
|
|
363
|
+
}, K),
|
|
364
|
+
emits: ["click", "clickLite", "transform", "transformLite", "update:open", "update:modelOpen"],
|
|
365
|
+
setup(i, { expose: a, emit: s }) {
|
|
366
|
+
const d = s, e = i, r = t(() => ({
|
|
367
|
+
main: {
|
|
368
|
+
// :classes-values [!] System label / Системная метка
|
|
369
|
+
"d1-accordion": !0,
|
|
370
|
+
"d1-accordion--divider": e.divider,
|
|
371
|
+
[`d1-accordion--padding--${e.padding}`]: n(J.padding, e.padding),
|
|
372
|
+
"d1-accordion--paddingByIndent": e.paddingByIndent
|
|
373
|
+
// :classes-values [!] System label / Системная метка
|
|
374
|
+
}
|
|
375
|
+
})), l = t(() => ({
|
|
376
|
+
// :styles-values [!] System label / Системная метка
|
|
377
|
+
// :styles-values [!] System label / Системная метка
|
|
378
|
+
})), o = new D(
|
|
379
|
+
"d1.accordion",
|
|
380
|
+
e,
|
|
381
|
+
{
|
|
382
|
+
emits: d,
|
|
383
|
+
classes: r,
|
|
384
|
+
styles: l,
|
|
385
|
+
components: {
|
|
386
|
+
cell: X,
|
|
387
|
+
motionTransform: G
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
), p = o.render();
|
|
391
|
+
return a(o.expose()), (B, f) => (u(), y(g(p)));
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
export {
|
|
395
|
+
ie as D1Accordion
|
|
396
|
+
};
|
package/dist/D1Image.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AccordionSlots } from '@dxtmisha/constructor/Accordion';
|
|
2
|
+
import { AccordionProps } from './props';
|
|
3
|
+
import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { ConstrBind } from '@dxtmisha/functional';
|
|
5
|
+
import { MotionTransformExpose, MotionTransformEmitOptions } from '@dxtmisha/constructor/MotionTransform';
|
|
6
|
+
import { EventClickValue } from '@dxtmisha/constructor';
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: Readonly<AccordionSlots> & AccordionSlots;
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<AccordionProps, {
|
|
15
|
+
motionTransformElement: Ref< ConstrBind<MotionTransformExpose> | undefined>;
|
|
16
|
+
open: Ref<boolean>;
|
|
17
|
+
isShow: ComputedRef<boolean>;
|
|
18
|
+
setOpen(open: boolean): void;
|
|
19
|
+
toOpen(): void;
|
|
20
|
+
toClose(): void;
|
|
21
|
+
toggle(): void;
|
|
22
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
23
|
+
click: (event: MouseEvent, value: EventClickValue) => any;
|
|
24
|
+
clickLite: (value: EventClickValue) => any;
|
|
25
|
+
transform: (event: Event | undefined, options: MotionTransformEmitOptions) => any;
|
|
26
|
+
transformLite: (options: MotionTransformEmitOptions) => any;
|
|
27
|
+
"update:open": (value: boolean) => any;
|
|
28
|
+
"update:modelOpen": (value: boolean) => any;
|
|
29
|
+
}, string, PublicProps, Readonly<AccordionProps> & Readonly<{
|
|
30
|
+
onClick?: ((event: MouseEvent, value: EventClickValue) => any) | undefined;
|
|
31
|
+
onClickLite?: ((value: EventClickValue) => any) | undefined;
|
|
32
|
+
onTransform?: ((event: Event | undefined, options: MotionTransformEmitOptions) => any) | undefined;
|
|
33
|
+
onTransformLite?: ((options: MotionTransformEmitOptions) => any) | undefined;
|
|
34
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
"onUpdate:modelOpen"?: ((value: boolean) => any) | undefined;
|
|
36
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DefineSetupFnComponent, ShortEmitsToObject, SlotsType } from 'vue';
|
|
2
|
+
import { AccordionEmits, AccordionSlots } from '@dxtmisha/constructor/Accordion';
|
|
3
|
+
import { AccordionProps } from './props';
|
|
4
|
+
export type { AccordionProps } from './props';
|
|
5
|
+
export declare const D1Accordion: DefineSetupFnComponent<AccordionProps, ShortEmitsToObject<AccordionEmits>, SlotsType<AccordionSlots>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AccordionPropsBasic } from '@dxtmisha/constructor/Accordion';
|
|
2
|
+
import { IconProps } from '../Icon';
|
|
3
|
+
import { CellProps } from '../Cell';
|
|
4
|
+
import { MotionTransformProps } from '../MotionTransform';
|
|
5
|
+
export declare const propsValues: {
|
|
6
|
+
padding: string[];
|
|
7
|
+
};
|
|
8
|
+
export type PropsToken = {
|
|
9
|
+
divider?: boolean;
|
|
10
|
+
padding?: 'sm' | 'md' | 'lg' | 'ySm' | 'yMd' | 'yLg' | 'none';
|
|
11
|
+
paddingByIndent?: boolean;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
15
|
+
*/
|
|
16
|
+
export type AccordionProps = AccordionPropsBasic<IconProps, CellProps, MotionTransformProps> & PropsToken;
|
|
17
|
+
/**
|
|
18
|
+
* Default value for property/ Значение по умолчанию для свойства
|
|
19
|
+
*/
|
|
20
|
+
export declare const defaults: object;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ActionSheetSlots } from '@dxtmisha/constructor/ActionSheet';
|
|
2
|
+
import { ActionSheetProps } from './props';
|
|
3
|
+
import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { WindowControlItem, WindowExpose, WindowEmitOptions } from '@dxtmisha/constructor/Window';
|
|
5
|
+
import { ConstrBind } from '@dxtmisha/functional';
|
|
6
|
+
import { EventClickValue } from '@dxtmisha/constructor';
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: Readonly<ActionSheetSlots> & ActionSheetSlots;
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<ActionSheetProps, {
|
|
15
|
+
id: ComputedRef<string | undefined>;
|
|
16
|
+
open: ComputedRef<boolean>;
|
|
17
|
+
control: ComputedRef< WindowControlItem | undefined>;
|
|
18
|
+
setOpen: WindowExpose["setOpen"];
|
|
19
|
+
toOpen: WindowExpose["toOpen"];
|
|
20
|
+
toClose: WindowExpose["toClose"];
|
|
21
|
+
toggle: WindowExpose["toggle"];
|
|
22
|
+
windowElement: Ref< ConstrBind<WindowExpose> | undefined>;
|
|
23
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
|
+
window: (options: WindowEmitOptions) => any;
|
|
25
|
+
bars: (event: MouseEvent, value: EventClickValue) => any;
|
|
26
|
+
barsLite: (value: EventClickValue) => any;
|
|
27
|
+
barsBack: (value: EventClickValue) => any;
|
|
28
|
+
actions: (event: MouseEvent, value: EventClickValue) => any;
|
|
29
|
+
actionsLite: (value: EventClickValue) => any;
|
|
30
|
+
}, string, PublicProps, Readonly<ActionSheetProps> & Readonly<{
|
|
31
|
+
onWindow?: ((options: WindowEmitOptions) => any) | undefined;
|
|
32
|
+
onBars?: ((event: MouseEvent, value: EventClickValue) => any) | undefined;
|
|
33
|
+
onBarsLite?: ((value: EventClickValue) => any) | undefined;
|
|
34
|
+
onBarsBack?: ((value: EventClickValue) => any) | undefined;
|
|
35
|
+
onActions?: ((event: MouseEvent, value: EventClickValue) => any) | undefined;
|
|
36
|
+
onActionsLite?: ((value: EventClickValue) => any) | undefined;
|
|
37
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DefineSetupFnComponent, ShortEmitsToObject, SlotsType } from 'vue';
|
|
2
|
+
import { ActionSheetEmits, ActionSheetSlots } from '@dxtmisha/constructor/ActionSheet';
|
|
3
|
+
import { ActionSheetProps } from './props';
|
|
4
|
+
export type { ActionSheetProps } from './props';
|
|
5
|
+
export declare const D1ActionSheet: DefineSetupFnComponent<ActionSheetProps, ShortEmitsToObject<ActionSheetEmits>, SlotsType<ActionSheetSlots>>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { WindowProps } from '../Window';
|
|
2
|
+
import { BarsProps } from '../Bars';
|
|
3
|
+
import { ActionsProps } from '../Actions';
|
|
4
|
+
import { ActionSheetPropsBasic } from '@dxtmisha/constructor/ActionSheet';
|
|
5
|
+
export declare const propsValues: {
|
|
6
|
+
padding: string[];
|
|
7
|
+
width: string[];
|
|
8
|
+
};
|
|
9
|
+
export type PropsToken = {
|
|
10
|
+
padding?: 'sm' | 'md' | 'lg';
|
|
11
|
+
paddingByIndent?: boolean;
|
|
12
|
+
width?: 'sm' | 'md' | 'lg' | 'auto';
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
16
|
+
*/
|
|
17
|
+
export type ActionSheetProps = ActionSheetPropsBasic<WindowProps, BarsProps, ActionsProps> & PropsToken;
|
|
18
|
+
/**
|
|
19
|
+
* Default value for property/ Значение по умолчанию для свойства
|
|
20
|
+
*/
|
|
21
|
+
export declare const defaults: object;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ActionsSlots } from '@dxtmisha/constructor/Actions';
|
|
2
|
+
import { ActionsProps } from './props';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { EventClickValue } from '@dxtmisha/constructor';
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<ActionsSlots> & ActionsSlots;
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: DefineComponent<ActionsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
+
click: (event: MouseEvent, value: EventClickValue) => any;
|
|
14
|
+
clickLite: (value: EventClickValue) => any;
|
|
15
|
+
}, string, PublicProps, Readonly<ActionsProps> & Readonly<{
|
|
16
|
+
onClick?: ((event: MouseEvent, value: EventClickValue) => any) | undefined;
|
|
17
|
+
onClickLite?: ((value: EventClickValue) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DefineSetupFnComponent, ShortEmitsToObject, SlotsType } from 'vue';
|
|
2
|
+
import { ActionsEmits, ActionsSlots } from '@dxtmisha/constructor/Actions';
|
|
3
|
+
import { ActionsProps } from './props';
|
|
4
|
+
export type { ActionsProps } from './props';
|
|
5
|
+
export declare const D1Actions: DefineSetupFnComponent<ActionsProps, ShortEmitsToObject<ActionsEmits>, SlotsType<ActionsSlots>>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ActionsPropsBasic } from '@dxtmisha/constructor/Actions';
|
|
2
|
+
import { ButtonProps } from '../Button';
|
|
3
|
+
export declare const propsValues: {
|
|
4
|
+
align: string[];
|
|
5
|
+
flexible: string[];
|
|
6
|
+
padding: string[];
|
|
7
|
+
};
|
|
8
|
+
export type PropsToken = {
|
|
9
|
+
align?: 'none' | 'center' | 'left' | 'right' | 'block' | 'auto';
|
|
10
|
+
flexible?: 'adaptiveSm' | 'adaptiveMd' | 'adaptiveLg' | 'adaptiveXl' | 'adaptive2xl' | 'containerSm' | 'containerMd' | 'containerLg' | 'containerXl' | 'container2xl';
|
|
11
|
+
padding?: 'sm' | 'md' | 'lg' | 'ySm' | 'yMd' | 'yLg' | 'none';
|
|
12
|
+
paddingByIndent?: boolean;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
16
|
+
*/
|
|
17
|
+
export type ActionsProps = ActionsPropsBasic<ButtonProps> & PropsToken;
|
|
18
|
+
/**
|
|
19
|
+
* Default value for property/ Значение по умолчанию для свойства
|
|
20
|
+
*/
|
|
21
|
+
export declare const defaults: object;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AnchorSlots } from '@dxtmisha/constructor/Anchor';
|
|
2
|
+
import { AnchorProps } from './props';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: Readonly<AnchorSlots> & AnchorSlots;
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: DefineComponent<AnchorProps, {
|
|
12
|
+
go(): void;
|
|
13
|
+
labelId: string;
|
|
14
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DefineSetupFnComponent, ShortEmitsToObject, SlotsType } from 'vue';
|
|
2
|
+
import { AnchorEmits, AnchorSlots } from '@dxtmisha/constructor/Anchor';
|
|
3
|
+
import { AnchorProps } from './props';
|
|
4
|
+
export type { AnchorProps } from './props';
|
|
5
|
+
export declare const D1Anchor: DefineSetupFnComponent<AnchorProps, ShortEmitsToObject<AnchorEmits>, SlotsType<AnchorSlots>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AnchorPropsBasic } from '@dxtmisha/constructor/Anchor';
|
|
2
|
+
export declare const propsValues: {};
|
|
3
|
+
export type PropsToken = {};
|
|
4
|
+
/**
|
|
5
|
+
* Type describing incoming properties/ Тип, описывающий входящие свойства
|
|
6
|
+
*/
|
|
7
|
+
export type AnchorProps = AnchorPropsBasic & PropsToken;
|
|
8
|
+
/**
|
|
9
|
+
* Default value for property/ Значение по умолчанию для свойства
|
|
10
|
+
*/
|
|
11
|
+
export declare const defaults: object;
|