@volverjs/ui-vue 0.0.3 → 0.0.5-beta.1
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/LICENSE +1 -1
- package/README.md +54 -15
- package/auto-imports.d.ts +12 -3
- package/bin/icons.cjs +1 -73
- package/dist/Volver.d.ts +23 -11
- package/dist/components/VvAccordion/VvAccordion.es.js +180 -74
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +4 -1
- package/dist/components/VvAccordion/index.d.ts +8 -3
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +280 -122
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +15 -12
- package/dist/components/VvAccordionGroup/index.d.ts +8 -0
- package/dist/components/VvAction/VvAction.es.js +338 -0
- package/dist/components/VvAction/VvAction.umd.js +1 -0
- package/dist/components/VvAction/VvAction.vue.d.ts +63 -0
- package/dist/components/VvAction/index.d.ts +24 -0
- package/dist/components/VvBadge/VvBadge.es.js +251 -22
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.vue.d.ts +2 -2
- package/dist/components/VvBadge/index.d.ts +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +280 -62
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +11 -11
- package/dist/components/VvBreadcrumb/index.d.ts +1 -1
- package/dist/components/VvButton/VvButton.es.js +720 -261
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +54 -54
- package/dist/components/VvButton/index.d.ts +30 -75
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +296 -49
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +2 -2
- package/dist/components/VvButtonGroup/index.d.ts +1 -1
- package/dist/components/VvCard/VvCard.es.js +60 -28
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +630 -172
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +4 -4
- package/dist/components/VvCheckbox/index.d.ts +6 -6
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +736 -228
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +9 -9
- package/dist/components/VvCheckboxGroup/index.d.ts +4 -4
- package/dist/components/VvCombobox/VvCombobox.es.js +1673 -768
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +159 -61
- package/dist/components/VvCombobox/index.d.ts +54 -23
- package/dist/components/VvDialog/VvDialog.es.js +426 -115
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +12 -3
- package/dist/components/VvDialog/index.d.ts +4 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +504 -190
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +114 -42
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +61 -0
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +52 -0
- package/dist/components/VvDropdown/index.d.ts +35 -14
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +454 -0
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -0
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +48 -18
- package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +361 -0
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -0
- package/dist/components/VvIcon/VvIcon.es.js +116 -52
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.vue.d.ts +7 -7
- package/dist/components/VvIcon/index.d.ts +2 -2
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +2 -2
- package/dist/components/VvInputText/VvInputStepAction.d.ts +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +1054 -376
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +107 -20
- package/dist/components/VvInputText/VvInputTextActions.d.ts +1 -1
- package/dist/components/VvInputText/index.d.ts +67 -3
- package/dist/components/VvProgress/VvProgress.es.js +254 -23
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.vue.d.ts +2 -2
- package/dist/components/VvProgress/index.d.ts +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +568 -137
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +4 -4
- package/dist/components/VvRadio/index.d.ts +6 -6
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +674 -193
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +9 -9
- package/dist/components/VvRadioGroup/index.d.ts +4 -4
- package/dist/components/VvSelect/VvSelect.es.js +703 -251
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +24 -17
- package/dist/components/VvSelect/index.d.ts +8 -8
- package/dist/components/VvTextarea/VvTextarea.es.js +747 -272
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +21 -14
- package/dist/components/VvTextarea/index.d.ts +7 -7
- package/dist/components/VvTooltip/VvTooltip.es.js +252 -24
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +7 -7
- package/dist/components/VvTooltip/index.d.ts +2 -2
- package/dist/components/index.es.js +3676 -2007
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/dropdown/useInjectDropdown.d.ts +1 -1
- package/dist/composables/dropdown/useProvideDropdown.d.ts +3 -3
- package/dist/composables/group/useInjectedGroupState.d.ts +2 -2
- package/dist/composables/group/useProvideGroupState.d.ts +1 -1
- package/dist/composables/useComponentFocus.d.ts +1 -1
- package/dist/composables/useComponentIcon.d.ts +7 -7
- package/dist/composables/useDebouncedInput.d.ts +4 -1
- package/dist/composables/useDefaults.d.ts +2 -0
- package/dist/composables/useModifiers.d.ts +1 -1
- package/dist/composables/useOptions.d.ts +2 -2
- package/dist/composables/useTextCount.d.ts +3 -3
- package/dist/composables/useUniqueId.d.ts +1 -1
- package/dist/composables/useVolver.d.ts +1 -1
- package/dist/constants.d.ts +30 -0
- package/dist/directives/index.es.js +288 -0
- package/dist/directives/index.umd.js +1 -0
- package/dist/directives/v-tooltip.es.js +285 -0
- package/dist/directives/v-tooltip.umd.js +1 -0
- package/dist/icons.es.js +38 -23
- package/dist/icons.umd.js +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +115 -3269
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +215 -23
- package/dist/resolvers/unplugin.d.ts +14 -8
- package/dist/resolvers/unplugin.es.js +94 -33
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/dist/stories/Combobox/Combobox.settings.d.ts +44 -0
- package/dist/stories/Dropdown/Dropdown.settings.d.ts +3 -2
- package/dist/stories/InputText/InputText.settings.d.ts +53 -0
- package/dist/stories/argTypes.d.ts +1 -1
- package/package.json +167 -63
- package/src/Volver.ts +60 -26
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvAccordion/VvAccordion.vue +19 -22
- package/src/components/VvAccordion/index.ts +12 -4
- package/src/components/VvAccordionGroup/VvAccordionGroup.vue +19 -10
- package/src/components/VvAccordionGroup/index.ts +8 -0
- package/src/components/VvAction/VvAction.vue +144 -0
- package/src/components/VvAction/index.ts +5 -0
- package/src/components/VvBadge/VvBadge.vue +2 -2
- package/src/components/VvBadge/index.ts +1 -1
- package/src/components/VvBreadcrumb/VvBreadcrumb.vue +3 -3
- package/src/components/VvButton/VvButton.vue +41 -124
- package/src/components/VvButton/index.ts +16 -88
- package/src/components/VvButtonGroup/VvButtonGroup.vue +4 -7
- package/src/components/VvButtonGroup/index.ts +1 -1
- package/src/components/VvCard/VvCard.vue +2 -2
- package/src/components/VvCheckbox/VvCheckbox.vue +3 -7
- package/src/components/VvCheckbox/index.ts +11 -7
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +7 -10
- package/src/components/VvCheckboxGroup/index.ts +1 -1
- package/src/components/VvCombobox/VvCombobox.vue +85 -57
- package/src/components/VvCombobox/index.ts +12 -10
- package/src/components/VvDialog/VvDialog.vue +28 -11
- package/src/components/VvDialog/index.ts +5 -2
- package/src/components/VvDropdown/VvDropdown.vue +6 -5
- package/src/components/VvDropdown/VvDropdownAction.vue +46 -0
- package/src/components/VvDropdown/VvDropdownOption.vue +72 -0
- package/src/components/VvDropdown/index.ts +6 -11
- package/src/components/VvIcon/VvIcon.vue +3 -3
- package/src/components/VvIcon/index.ts +3 -3
- package/src/components/VvInputText/VvInputClearAction.ts +2 -2
- package/src/components/VvInputText/VvInputPasswordAction.ts +3 -4
- package/src/components/VvInputText/VvInputStepAction.ts +3 -2
- package/src/components/VvInputText/VvInputText.vue +128 -35
- package/src/components/VvInputText/VvInputTextActions.ts +5 -8
- package/src/components/VvInputText/index.ts +62 -1
- package/src/components/VvProgress/VvProgress.vue +2 -2
- package/src/components/VvProgress/index.ts +1 -1
- package/src/components/VvRadio/VvRadio.vue +3 -7
- package/src/components/VvRadio/index.ts +11 -7
- package/src/components/VvRadioGroup/VvRadioGroup.vue +7 -10
- package/src/components/VvRadioGroup/index.ts +1 -1
- package/src/components/VvSelect/VvSelect.vue +4 -4
- package/src/components/VvSelect/index.ts +3 -5
- package/src/components/VvTextarea/VvTextarea.vue +4 -4
- package/src/components/VvTextarea/index.ts +1 -1
- package/src/components/VvTooltip/VvTooltip.vue +2 -2
- package/src/components/VvTooltip/index.ts +3 -3
- package/src/composables/dropdown/useInjectDropdown.ts +2 -2
- package/src/composables/dropdown/useProvideDropdown.ts +9 -11
- package/src/composables/group/useInjectedGroupState.ts +1 -1
- package/src/composables/group/useProvideGroupState.ts +1 -1
- package/src/composables/useComponentIcon.ts +1 -1
- package/src/composables/useDebouncedInput.ts +10 -3
- package/src/composables/useDefaults.ts +89 -0
- package/src/composables/useModifiers.ts +8 -9
- package/src/composables/useOptions.ts +1 -1
- package/src/composables/useVolver.ts +2 -2
- package/src/constants.ts +36 -0
- package/src/directives/index.ts +1 -1
- package/src/directives/v-tooltip.ts +2 -2
- package/src/index.ts +0 -2
- package/src/props/index.ts +111 -19
- package/src/resolvers/unplugin.ts +96 -49
- package/src/stories/Accordion/Accordion.stories.mdx +8 -2
- package/src/stories/Accordion/Accordion.test.ts +21 -15
- package/src/stories/Accordion/AccordionSlots.stories.mdx +8 -8
- package/src/stories/AccordionGroup/AccordionGroup.stories.mdx +17 -1
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +18 -12
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.mdx +3 -2
- package/src/stories/Breadcrumb/Breadcrumb.stories.mdx +2 -1
- package/src/stories/Button/Button.stories.mdx +4 -2
- package/src/stories/Button/Button.test.ts +3 -1
- package/src/stories/Button/ButtonModifiers.stories.mdx +2 -2
- package/src/stories/Button/ButtonSlots.stories.mdx +8 -7
- package/src/stories/Button/ButtonState.stories.mdx +2 -11
- package/src/stories/Card/Card.stories.mdx +2 -1
- package/src/stories/Checkbox/Checkbox.stories.mdx +2 -1
- package/src/stories/CheckboxGroup/CheckboxGroup.stories.mdx +2 -1
- package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.mdx +2 -1
- package/src/stories/Combobox/Combobox.settings.ts +44 -0
- package/src/stories/Combobox/Combobox.stories.mdx +40 -1
- package/src/stories/Dialog/Dialog.stories.mdx +2 -1
- package/src/stories/Dropdown/Dropdown.settings.ts +3 -2
- package/src/stories/Dropdown/Dropdown.stories.mdx +14 -12
- package/src/stories/Dropdown/DropdownMultilevel.stories.mdx +56 -0
- package/src/stories/Dropdown/DropdownSlots.stories.mdx +14 -13
- package/src/stories/Icon/Icon.stories.mdx +2 -1
- package/src/stories/Icon/IconsCollection.stories.mdx +2 -1
- package/src/stories/InputText/InputText.settings.ts +53 -0
- package/src/stories/InputText/InputText.stories.mdx +42 -1
- package/src/stories/InputText/InputText.test.ts +5 -2
- package/src/stories/Progress/Progress.stories.mdx +2 -1
- package/src/stories/Radio/Radio.stories.mdx +2 -1
- package/src/stories/RadioGroup/RadioGroup.stories.mdx +2 -1
- package/src/stories/RadioGroup/RadioGroupSlots.stories.mdx +2 -1
- package/src/stories/Select/Select.stories.mdx +2 -1
- package/src/stories/Textarea/Textarea.stories.mdx +2 -1
- package/src/stories/Tooltip/Tooltip.stories.mdx +2 -1
- package/src/stories/Tooltip/TooltipDirective.stories.mdx +2 -1
- package/src/stories/argTypes.ts +2 -2
- package/src/types/group.d.ts +5 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import { computed, unref, defineComponent, toRefs, openBlock, createElementBlock, normalizeClass, renderSlot, createTextVNode, toDisplayString, h, render } from "vue";
|
|
2
|
+
var Side = /* @__PURE__ */ ((Side2) => {
|
|
3
|
+
Side2["left"] = "left";
|
|
4
|
+
Side2["right"] = "right";
|
|
5
|
+
Side2["top"] = "top";
|
|
6
|
+
Side2["bottom"] = "bottom";
|
|
7
|
+
return Side2;
|
|
8
|
+
})(Side || {});
|
|
9
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
10
|
+
Placement2["topStart"] = "top-start";
|
|
11
|
+
Placement2["topEnd"] = "top-end";
|
|
12
|
+
Placement2["bottomStart"] = "bottom-start";
|
|
13
|
+
Placement2["bottomEnd"] = "bottom-end";
|
|
14
|
+
Placement2["leftStart"] = "left-start";
|
|
15
|
+
Placement2["leftEnd"] = "left-end";
|
|
16
|
+
Placement2["rightStart"] = "right-start";
|
|
17
|
+
Placement2["rightEnd"] = "right-end";
|
|
18
|
+
return Placement2;
|
|
19
|
+
})(Placement || {});
|
|
20
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
21
|
+
Position2["before"] = "before";
|
|
22
|
+
Position2["after"] = "after";
|
|
23
|
+
return Position2;
|
|
24
|
+
})(Position || {});
|
|
25
|
+
var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
|
|
26
|
+
ButtonType2["button"] = "button";
|
|
27
|
+
ButtonType2["submit"] = "submit";
|
|
28
|
+
ButtonType2["reset"] = "reset";
|
|
29
|
+
return ButtonType2;
|
|
30
|
+
})(ButtonType || {});
|
|
31
|
+
var AnchorTarget = /* @__PURE__ */ ((AnchorTarget2) => {
|
|
32
|
+
AnchorTarget2["_blank"] = "_blank";
|
|
33
|
+
AnchorTarget2["_self"] = "_self";
|
|
34
|
+
AnchorTarget2["_parent"] = "_parent";
|
|
35
|
+
AnchorTarget2["_top"] = "_top";
|
|
36
|
+
return AnchorTarget2;
|
|
37
|
+
})(AnchorTarget || {});
|
|
38
|
+
const LinkProps = {
|
|
39
|
+
/**
|
|
40
|
+
* The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
|
|
41
|
+
* @see Documentation of [router-link](https://router.vuejs.org/api/#router-link) and [nuxt-link](https://nuxtjs.org/api/components-nuxt-link/)
|
|
42
|
+
*/
|
|
43
|
+
to: {
|
|
44
|
+
type: [String, Object]
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
* Anchor href
|
|
48
|
+
*/
|
|
49
|
+
href: String,
|
|
50
|
+
/**
|
|
51
|
+
* Anchor target
|
|
52
|
+
*/
|
|
53
|
+
target: {
|
|
54
|
+
type: String,
|
|
55
|
+
validator: (value) => Object.values(AnchorTarget).includes(value)
|
|
56
|
+
},
|
|
57
|
+
/**
|
|
58
|
+
* Anchor rel
|
|
59
|
+
*/
|
|
60
|
+
rel: {
|
|
61
|
+
type: String,
|
|
62
|
+
default: "noopener noreferrer"
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
const DisabledProps = {
|
|
66
|
+
/**
|
|
67
|
+
* Whether the form control is disabled
|
|
68
|
+
*/
|
|
69
|
+
disabled: Boolean
|
|
70
|
+
};
|
|
71
|
+
const ActiveProps = {
|
|
72
|
+
/**
|
|
73
|
+
* Whether the item is active
|
|
74
|
+
*/
|
|
75
|
+
active: Boolean
|
|
76
|
+
};
|
|
77
|
+
const PressedProps = {
|
|
78
|
+
/**
|
|
79
|
+
* Whether the item is pressed
|
|
80
|
+
*/
|
|
81
|
+
pressed: Boolean
|
|
82
|
+
};
|
|
83
|
+
const LabelProps = {
|
|
84
|
+
/**
|
|
85
|
+
* The item label
|
|
86
|
+
*/
|
|
87
|
+
label: [String, Number]
|
|
88
|
+
};
|
|
89
|
+
const ModifiersProps = {
|
|
90
|
+
/**
|
|
91
|
+
* Component BEM modifiers
|
|
92
|
+
*/
|
|
93
|
+
modifiers: [String, Array]
|
|
94
|
+
};
|
|
95
|
+
({
|
|
96
|
+
/**
|
|
97
|
+
* VvIcon name or props
|
|
98
|
+
* @see VVIcon
|
|
99
|
+
*/
|
|
100
|
+
icon: { type: [String, Object] },
|
|
101
|
+
/**
|
|
102
|
+
* VvIcon position
|
|
103
|
+
*/
|
|
104
|
+
iconPosition: {
|
|
105
|
+
type: String,
|
|
106
|
+
default: Position.before,
|
|
107
|
+
validation: (value) => Object.values(Position).includes(value)
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
({
|
|
111
|
+
/**
|
|
112
|
+
* Dropdown placement
|
|
113
|
+
*/
|
|
114
|
+
placement: {
|
|
115
|
+
type: String,
|
|
116
|
+
default: Side.bottom,
|
|
117
|
+
validator: (value) => {
|
|
118
|
+
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
/**
|
|
122
|
+
* Dropdown show / hide transition name
|
|
123
|
+
*/
|
|
124
|
+
transitionName: {
|
|
125
|
+
type: String
|
|
126
|
+
},
|
|
127
|
+
/**
|
|
128
|
+
* Offset of the dropdown from the trigger
|
|
129
|
+
* @see https://floating-ui.com/docs/offset
|
|
130
|
+
*/
|
|
131
|
+
offset: {
|
|
132
|
+
type: [Number, String, Object],
|
|
133
|
+
default: 0
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* Move dropdown to the side if there is no space in the default position
|
|
137
|
+
* @see https://floating-ui.com/docs/shift
|
|
138
|
+
*/
|
|
139
|
+
shift: {
|
|
140
|
+
type: [Boolean, Object],
|
|
141
|
+
default: false
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* Flip dropdown position if there is no space in the default position
|
|
145
|
+
* @see https://floating-ui.com/docs/flip
|
|
146
|
+
*/
|
|
147
|
+
flip: {
|
|
148
|
+
type: [Boolean, Object],
|
|
149
|
+
default: true
|
|
150
|
+
},
|
|
151
|
+
/**
|
|
152
|
+
* Size of the dropdown
|
|
153
|
+
* @see https://floating-ui.com/docs/size
|
|
154
|
+
*/
|
|
155
|
+
size: {
|
|
156
|
+
type: [Boolean, Object],
|
|
157
|
+
default: () => ({ padding: 10 })
|
|
158
|
+
},
|
|
159
|
+
/**
|
|
160
|
+
* Automatically change the position of the dropdown
|
|
161
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
|
162
|
+
*/
|
|
163
|
+
autoPlacement: {
|
|
164
|
+
type: [Boolean, Object],
|
|
165
|
+
default: false
|
|
166
|
+
},
|
|
167
|
+
/**
|
|
168
|
+
* Add arrow to the dropdown
|
|
169
|
+
* @see https://floating-ui.com/docs/arrow
|
|
170
|
+
*/
|
|
171
|
+
arrow: {
|
|
172
|
+
type: Boolean,
|
|
173
|
+
default: false
|
|
174
|
+
},
|
|
175
|
+
/**
|
|
176
|
+
* Close dropdown on click outside
|
|
177
|
+
*/
|
|
178
|
+
autoClose: {
|
|
179
|
+
type: Boolean,
|
|
180
|
+
default: true
|
|
181
|
+
},
|
|
182
|
+
/**
|
|
183
|
+
* Autofocus first item on dropdown open
|
|
184
|
+
*/
|
|
185
|
+
autofocusFirst: {
|
|
186
|
+
type: Boolean,
|
|
187
|
+
default: true
|
|
188
|
+
},
|
|
189
|
+
/**
|
|
190
|
+
* Set dropdown width to the same as the trigger
|
|
191
|
+
*/
|
|
192
|
+
triggerWidth: {
|
|
193
|
+
type: Boolean
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
({
|
|
197
|
+
...DisabledProps,
|
|
198
|
+
...LabelProps,
|
|
199
|
+
...PressedProps,
|
|
200
|
+
...ActiveProps,
|
|
201
|
+
...LinkProps,
|
|
202
|
+
/**
|
|
203
|
+
* Button type
|
|
204
|
+
*/
|
|
205
|
+
type: {
|
|
206
|
+
type: String,
|
|
207
|
+
default: ButtonType.button,
|
|
208
|
+
validator: (value) => Object.values(ButtonType).includes(value)
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
const VvTooltipProps = {
|
|
212
|
+
...ModifiersProps,
|
|
213
|
+
/**
|
|
214
|
+
* Define the tooltip position
|
|
215
|
+
* @default Side.bottom
|
|
216
|
+
*/
|
|
217
|
+
position: {
|
|
218
|
+
type: String,
|
|
219
|
+
default: Side.bottom
|
|
220
|
+
},
|
|
221
|
+
value: {
|
|
222
|
+
type: String
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
function useModifiers(prefix, modifiers, others) {
|
|
226
|
+
return computed(() => {
|
|
227
|
+
const toReturn = {
|
|
228
|
+
[prefix]: true
|
|
229
|
+
};
|
|
230
|
+
const modifiersArray = typeof (modifiers == null ? void 0 : modifiers.value) === "string" ? modifiers.value.split(" ") : modifiers == null ? void 0 : modifiers.value;
|
|
231
|
+
if (modifiersArray) {
|
|
232
|
+
if (Array.isArray(modifiersArray)) {
|
|
233
|
+
modifiersArray.forEach((modifier) => {
|
|
234
|
+
if (modifier) {
|
|
235
|
+
toReturn[`${prefix}--${modifier}`] = true;
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
if (others) {
|
|
241
|
+
Object.keys(others.value).forEach((key) => {
|
|
242
|
+
toReturn[`${prefix}--${key}`] = unref(others.value[key]);
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
return toReturn;
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
249
|
+
__name: "VvTooltip",
|
|
250
|
+
props: VvTooltipProps,
|
|
251
|
+
setup(__props) {
|
|
252
|
+
const props = __props;
|
|
253
|
+
const { modifiers } = toRefs(props);
|
|
254
|
+
const bemCssClasses = useModifiers(
|
|
255
|
+
"vv-tooltip",
|
|
256
|
+
modifiers,
|
|
257
|
+
computed(() => ({
|
|
258
|
+
[props.position]: true
|
|
259
|
+
}))
|
|
260
|
+
);
|
|
261
|
+
return (_ctx, _cache) => {
|
|
262
|
+
return openBlock(), createElementBlock("span", {
|
|
263
|
+
class: normalizeClass(unref(bemCssClasses)),
|
|
264
|
+
role: "tooltip",
|
|
265
|
+
inert: ""
|
|
266
|
+
}, [
|
|
267
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
268
|
+
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
269
|
+
])
|
|
270
|
+
], 2);
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
const tooltip = {
|
|
275
|
+
beforeMount(el, binding) {
|
|
276
|
+
const tooltip2 = h(_sfc_main, {
|
|
277
|
+
value: binding.value,
|
|
278
|
+
position: binding.arg
|
|
279
|
+
});
|
|
280
|
+
render(tooltip2, el);
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
const index = {
|
|
284
|
+
tooltip
|
|
285
|
+
};
|
|
286
|
+
export {
|
|
287
|
+
index as default
|
|
288
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("vue")):"function"==typeof define&&define.amd?define(["vue"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).directives=o(e.vue)}(this,(function(e){"use strict";var o=(e=>(e.left="left",e.right="right",e.top="top",e.bottom="bottom",e))(o||{}),t=(e=>(e.before="before",e.after="after",e))(t||{}),n=(e=>(e.button="button",e.submit="submit",e.reset="reset",e))(n||{});Boolean,Boolean,Boolean;const r={modifiers:[String,Array]};t.before,o.bottom,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,n.button;const l={...r,position:{type:String,default:o.bottom},value:{type:String}};const i=e.defineComponent({__name:"VvTooltip",props:l,setup(o){const t=o,{modifiers:n}=e.toRefs(t),r=function(o,t,n){return e.computed((()=>{const r={[o]:!0},l="string"==typeof(null==t?void 0:t.value)?t.value.split(" "):null==t?void 0:t.value;return l&&Array.isArray(l)&&l.forEach((e=>{e&&(r[`${o}--${e}`]=!0)})),n&&Object.keys(n.value).forEach((t=>{r[`${o}--${t}`]=e.unref(n.value[t])})),r}))}("vv-tooltip",n,e.computed((()=>({[t.position]:!0}))));return(o,t)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(r)),role:"tooltip",inert:""},[e.renderSlot(o.$slots,"default",{},(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]))],2))}});return{tooltip:{beforeMount(o,t){const n=e.h(i,{value:t.value,position:t.arg});e.render(n,o)}}}}));
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { computed, unref, defineComponent, toRefs, openBlock, createElementBlock, normalizeClass, renderSlot, createTextVNode, toDisplayString, h, render } from "vue";
|
|
2
|
+
var Side = /* @__PURE__ */ ((Side2) => {
|
|
3
|
+
Side2["left"] = "left";
|
|
4
|
+
Side2["right"] = "right";
|
|
5
|
+
Side2["top"] = "top";
|
|
6
|
+
Side2["bottom"] = "bottom";
|
|
7
|
+
return Side2;
|
|
8
|
+
})(Side || {});
|
|
9
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
10
|
+
Placement2["topStart"] = "top-start";
|
|
11
|
+
Placement2["topEnd"] = "top-end";
|
|
12
|
+
Placement2["bottomStart"] = "bottom-start";
|
|
13
|
+
Placement2["bottomEnd"] = "bottom-end";
|
|
14
|
+
Placement2["leftStart"] = "left-start";
|
|
15
|
+
Placement2["leftEnd"] = "left-end";
|
|
16
|
+
Placement2["rightStart"] = "right-start";
|
|
17
|
+
Placement2["rightEnd"] = "right-end";
|
|
18
|
+
return Placement2;
|
|
19
|
+
})(Placement || {});
|
|
20
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
21
|
+
Position2["before"] = "before";
|
|
22
|
+
Position2["after"] = "after";
|
|
23
|
+
return Position2;
|
|
24
|
+
})(Position || {});
|
|
25
|
+
var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
|
|
26
|
+
ButtonType2["button"] = "button";
|
|
27
|
+
ButtonType2["submit"] = "submit";
|
|
28
|
+
ButtonType2["reset"] = "reset";
|
|
29
|
+
return ButtonType2;
|
|
30
|
+
})(ButtonType || {});
|
|
31
|
+
var AnchorTarget = /* @__PURE__ */ ((AnchorTarget2) => {
|
|
32
|
+
AnchorTarget2["_blank"] = "_blank";
|
|
33
|
+
AnchorTarget2["_self"] = "_self";
|
|
34
|
+
AnchorTarget2["_parent"] = "_parent";
|
|
35
|
+
AnchorTarget2["_top"] = "_top";
|
|
36
|
+
return AnchorTarget2;
|
|
37
|
+
})(AnchorTarget || {});
|
|
38
|
+
const LinkProps = {
|
|
39
|
+
/**
|
|
40
|
+
* The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
|
|
41
|
+
* @see Documentation of [router-link](https://router.vuejs.org/api/#router-link) and [nuxt-link](https://nuxtjs.org/api/components-nuxt-link/)
|
|
42
|
+
*/
|
|
43
|
+
to: {
|
|
44
|
+
type: [String, Object]
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
* Anchor href
|
|
48
|
+
*/
|
|
49
|
+
href: String,
|
|
50
|
+
/**
|
|
51
|
+
* Anchor target
|
|
52
|
+
*/
|
|
53
|
+
target: {
|
|
54
|
+
type: String,
|
|
55
|
+
validator: (value) => Object.values(AnchorTarget).includes(value)
|
|
56
|
+
},
|
|
57
|
+
/**
|
|
58
|
+
* Anchor rel
|
|
59
|
+
*/
|
|
60
|
+
rel: {
|
|
61
|
+
type: String,
|
|
62
|
+
default: "noopener noreferrer"
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
const DisabledProps = {
|
|
66
|
+
/**
|
|
67
|
+
* Whether the form control is disabled
|
|
68
|
+
*/
|
|
69
|
+
disabled: Boolean
|
|
70
|
+
};
|
|
71
|
+
const ActiveProps = {
|
|
72
|
+
/**
|
|
73
|
+
* Whether the item is active
|
|
74
|
+
*/
|
|
75
|
+
active: Boolean
|
|
76
|
+
};
|
|
77
|
+
const PressedProps = {
|
|
78
|
+
/**
|
|
79
|
+
* Whether the item is pressed
|
|
80
|
+
*/
|
|
81
|
+
pressed: Boolean
|
|
82
|
+
};
|
|
83
|
+
const LabelProps = {
|
|
84
|
+
/**
|
|
85
|
+
* The item label
|
|
86
|
+
*/
|
|
87
|
+
label: [String, Number]
|
|
88
|
+
};
|
|
89
|
+
const ModifiersProps = {
|
|
90
|
+
/**
|
|
91
|
+
* Component BEM modifiers
|
|
92
|
+
*/
|
|
93
|
+
modifiers: [String, Array]
|
|
94
|
+
};
|
|
95
|
+
({
|
|
96
|
+
/**
|
|
97
|
+
* VvIcon name or props
|
|
98
|
+
* @see VVIcon
|
|
99
|
+
*/
|
|
100
|
+
icon: { type: [String, Object] },
|
|
101
|
+
/**
|
|
102
|
+
* VvIcon position
|
|
103
|
+
*/
|
|
104
|
+
iconPosition: {
|
|
105
|
+
type: String,
|
|
106
|
+
default: Position.before,
|
|
107
|
+
validation: (value) => Object.values(Position).includes(value)
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
({
|
|
111
|
+
/**
|
|
112
|
+
* Dropdown placement
|
|
113
|
+
*/
|
|
114
|
+
placement: {
|
|
115
|
+
type: String,
|
|
116
|
+
default: Side.bottom,
|
|
117
|
+
validator: (value) => {
|
|
118
|
+
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
/**
|
|
122
|
+
* Dropdown show / hide transition name
|
|
123
|
+
*/
|
|
124
|
+
transitionName: {
|
|
125
|
+
type: String
|
|
126
|
+
},
|
|
127
|
+
/**
|
|
128
|
+
* Offset of the dropdown from the trigger
|
|
129
|
+
* @see https://floating-ui.com/docs/offset
|
|
130
|
+
*/
|
|
131
|
+
offset: {
|
|
132
|
+
type: [Number, String, Object],
|
|
133
|
+
default: 0
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* Move dropdown to the side if there is no space in the default position
|
|
137
|
+
* @see https://floating-ui.com/docs/shift
|
|
138
|
+
*/
|
|
139
|
+
shift: {
|
|
140
|
+
type: [Boolean, Object],
|
|
141
|
+
default: false
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* Flip dropdown position if there is no space in the default position
|
|
145
|
+
* @see https://floating-ui.com/docs/flip
|
|
146
|
+
*/
|
|
147
|
+
flip: {
|
|
148
|
+
type: [Boolean, Object],
|
|
149
|
+
default: true
|
|
150
|
+
},
|
|
151
|
+
/**
|
|
152
|
+
* Size of the dropdown
|
|
153
|
+
* @see https://floating-ui.com/docs/size
|
|
154
|
+
*/
|
|
155
|
+
size: {
|
|
156
|
+
type: [Boolean, Object],
|
|
157
|
+
default: () => ({ padding: 10 })
|
|
158
|
+
},
|
|
159
|
+
/**
|
|
160
|
+
* Automatically change the position of the dropdown
|
|
161
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
|
162
|
+
*/
|
|
163
|
+
autoPlacement: {
|
|
164
|
+
type: [Boolean, Object],
|
|
165
|
+
default: false
|
|
166
|
+
},
|
|
167
|
+
/**
|
|
168
|
+
* Add arrow to the dropdown
|
|
169
|
+
* @see https://floating-ui.com/docs/arrow
|
|
170
|
+
*/
|
|
171
|
+
arrow: {
|
|
172
|
+
type: Boolean,
|
|
173
|
+
default: false
|
|
174
|
+
},
|
|
175
|
+
/**
|
|
176
|
+
* Close dropdown on click outside
|
|
177
|
+
*/
|
|
178
|
+
autoClose: {
|
|
179
|
+
type: Boolean,
|
|
180
|
+
default: true
|
|
181
|
+
},
|
|
182
|
+
/**
|
|
183
|
+
* Autofocus first item on dropdown open
|
|
184
|
+
*/
|
|
185
|
+
autofocusFirst: {
|
|
186
|
+
type: Boolean,
|
|
187
|
+
default: true
|
|
188
|
+
},
|
|
189
|
+
/**
|
|
190
|
+
* Set dropdown width to the same as the trigger
|
|
191
|
+
*/
|
|
192
|
+
triggerWidth: {
|
|
193
|
+
type: Boolean
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
({
|
|
197
|
+
...DisabledProps,
|
|
198
|
+
...LabelProps,
|
|
199
|
+
...PressedProps,
|
|
200
|
+
...ActiveProps,
|
|
201
|
+
...LinkProps,
|
|
202
|
+
/**
|
|
203
|
+
* Button type
|
|
204
|
+
*/
|
|
205
|
+
type: {
|
|
206
|
+
type: String,
|
|
207
|
+
default: ButtonType.button,
|
|
208
|
+
validator: (value) => Object.values(ButtonType).includes(value)
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
const VvTooltipProps = {
|
|
212
|
+
...ModifiersProps,
|
|
213
|
+
/**
|
|
214
|
+
* Define the tooltip position
|
|
215
|
+
* @default Side.bottom
|
|
216
|
+
*/
|
|
217
|
+
position: {
|
|
218
|
+
type: String,
|
|
219
|
+
default: Side.bottom
|
|
220
|
+
},
|
|
221
|
+
value: {
|
|
222
|
+
type: String
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
function useModifiers(prefix, modifiers, others) {
|
|
226
|
+
return computed(() => {
|
|
227
|
+
const toReturn = {
|
|
228
|
+
[prefix]: true
|
|
229
|
+
};
|
|
230
|
+
const modifiersArray = typeof (modifiers == null ? void 0 : modifiers.value) === "string" ? modifiers.value.split(" ") : modifiers == null ? void 0 : modifiers.value;
|
|
231
|
+
if (modifiersArray) {
|
|
232
|
+
if (Array.isArray(modifiersArray)) {
|
|
233
|
+
modifiersArray.forEach((modifier) => {
|
|
234
|
+
if (modifier) {
|
|
235
|
+
toReturn[`${prefix}--${modifier}`] = true;
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
if (others) {
|
|
241
|
+
Object.keys(others.value).forEach((key) => {
|
|
242
|
+
toReturn[`${prefix}--${key}`] = unref(others.value[key]);
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
return toReturn;
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
249
|
+
__name: "VvTooltip",
|
|
250
|
+
props: VvTooltipProps,
|
|
251
|
+
setup(__props) {
|
|
252
|
+
const props = __props;
|
|
253
|
+
const { modifiers } = toRefs(props);
|
|
254
|
+
const bemCssClasses = useModifiers(
|
|
255
|
+
"vv-tooltip",
|
|
256
|
+
modifiers,
|
|
257
|
+
computed(() => ({
|
|
258
|
+
[props.position]: true
|
|
259
|
+
}))
|
|
260
|
+
);
|
|
261
|
+
return (_ctx, _cache) => {
|
|
262
|
+
return openBlock(), createElementBlock("span", {
|
|
263
|
+
class: normalizeClass(unref(bemCssClasses)),
|
|
264
|
+
role: "tooltip",
|
|
265
|
+
inert: ""
|
|
266
|
+
}, [
|
|
267
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
268
|
+
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
269
|
+
])
|
|
270
|
+
], 2);
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
const tooltip = {
|
|
275
|
+
beforeMount(el, binding) {
|
|
276
|
+
const tooltip2 = h(_sfc_main, {
|
|
277
|
+
value: binding.value,
|
|
278
|
+
position: binding.arg
|
|
279
|
+
});
|
|
280
|
+
render(tooltip2, el);
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
export {
|
|
284
|
+
tooltip as default
|
|
285
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("vue")):"function"==typeof define&&define.amd?define(["vue"],o):(e="undefined"!=typeof globalThis?globalThis:e||self)["v-tooltip"]=o(e.vue)}(this,(function(e){"use strict";var o=(e=>(e.left="left",e.right="right",e.top="top",e.bottom="bottom",e))(o||{}),t=(e=>(e.before="before",e.after="after",e))(t||{}),n=(e=>(e.button="button",e.submit="submit",e.reset="reset",e))(n||{});Boolean,Boolean,Boolean;const r={modifiers:[String,Array]};t.before,o.bottom,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,n.button;const l={...r,position:{type:String,default:o.bottom},value:{type:String}};const i=e.defineComponent({__name:"VvTooltip",props:l,setup(o){const t=o,{modifiers:n}=e.toRefs(t),r=function(o,t,n){return e.computed((()=>{const r={[o]:!0},l="string"==typeof(null==t?void 0:t.value)?t.value.split(" "):null==t?void 0:t.value;return l&&Array.isArray(l)&&l.forEach((e=>{e&&(r[`${o}--${e}`]=!0)})),n&&Object.keys(n.value).forEach((t=>{r[`${o}--${t}`]=e.unref(n.value[t])})),r}))}("vv-tooltip",n,e.computed((()=>({[t.position]:!0}))));return(o,t)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(r)),role:"tooltip",inert:""},[e.renderSlot(o.$slots,"default",{},(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]))],2))}});return{beforeMount(o,t){const n=e.h(i,{value:t.value,position:t.arg});e.render(n,o)}}}));
|
package/dist/icons.es.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const prefix$2 = "normal";
|
|
2
|
+
const lastModified$2 = 1678182049;
|
|
3
|
+
const icons$3 = {
|
|
3
4
|
add: {
|
|
4
5
|
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 12h16m-8-8v16"/>'
|
|
5
6
|
},
|
|
@@ -602,13 +603,19 @@ const t = {
|
|
|
602
603
|
"zoom-out": {
|
|
603
604
|
body: '<g stroke="currentColor" stroke-miterlimit="10" stroke-width="2"><path fill="currentColor" stroke-linecap="round" d="m15 15 6 6"/><g fill="none" transform="translate(3 3)"><circle cx="7" cy="7" r="7" stroke="none"/><circle cx="7" cy="7" r="6"/></g><path fill="none" stroke-linecap="round" d="M8 10h4"/></g>'
|
|
604
605
|
}
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
606
|
+
};
|
|
607
|
+
const width$1 = 24;
|
|
608
|
+
const height$1 = 24;
|
|
609
|
+
const normal = {
|
|
610
|
+
prefix: prefix$2,
|
|
611
|
+
lastModified: lastModified$2,
|
|
612
|
+
icons: icons$3,
|
|
613
|
+
width: width$1,
|
|
614
|
+
height: height$1
|
|
615
|
+
};
|
|
616
|
+
const prefix$1 = "detailed";
|
|
617
|
+
const lastModified$1 = 1678182049;
|
|
618
|
+
const icons$2 = {
|
|
612
619
|
add: {
|
|
613
620
|
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 15.999h24m-12-12v24"/>'
|
|
614
621
|
},
|
|
@@ -1209,13 +1216,19 @@ const t = {
|
|
|
1209
1216
|
"zoom-out": {
|
|
1210
1217
|
body: '<g stroke="currentColor" stroke-miterlimit="10" stroke-width="2"><path fill="currentColor" stroke-linecap="round" d="m18 18 10 10"/><g fill="none" transform="translate(3 3)"><circle cx="9" cy="9" r="9" stroke="none"/><circle cx="9" cy="9" r="8"/></g></g><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M9 11.999h6"/>'
|
|
1211
1218
|
}
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
+
};
|
|
1220
|
+
const width = 32;
|
|
1221
|
+
const height = 32;
|
|
1222
|
+
const detailed = {
|
|
1223
|
+
prefix: prefix$1,
|
|
1224
|
+
lastModified: lastModified$1,
|
|
1225
|
+
icons: icons$2,
|
|
1226
|
+
width,
|
|
1227
|
+
height
|
|
1228
|
+
};
|
|
1229
|
+
const prefix = "simple";
|
|
1230
|
+
const lastModified = 1678182049;
|
|
1231
|
+
const icons$1 = {
|
|
1219
1232
|
add: {
|
|
1220
1233
|
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" d="M.5 8h15M8 .5v15"/>'
|
|
1221
1234
|
},
|
|
@@ -1881,12 +1894,14 @@ const t = {
|
|
|
1881
1894
|
"zoom-out": {
|
|
1882
1895
|
body: '<g stroke="currentColor" stroke-miterlimit="10"><path fill="currentColor" stroke-linecap="round" d="m9 9 6 6"/><g fill="none"><circle cx="5.5" cy="5.5" r="5.5" stroke="none"/><circle cx="5.5" cy="5.5" r="5"/></g></g><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" d="M2.5 5.5h6"/>'
|
|
1883
1896
|
}
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1897
|
+
};
|
|
1898
|
+
const simple = {
|
|
1899
|
+
prefix,
|
|
1900
|
+
lastModified,
|
|
1901
|
+
icons: icons$1
|
|
1902
|
+
};
|
|
1903
|
+
const icons = [normal, detailed, simple];
|
|
1889
1904
|
export {
|
|
1890
|
-
|
|
1891
|
-
|
|
1905
|
+
icons as default,
|
|
1906
|
+
normal
|
|
1892
1907
|
};
|