@wikicasa-dev/components 0.1.4 → 1.0.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 +39 -11
- package/dist/BaseSnackbar-BiEYmHwi.js +78 -0
- package/dist/components.js +31 -6899
- package/dist/components.umd.cjs +30 -12
- package/dist/main-hMfaViVU.js +8193 -0
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/UIKit/AccessibleSelect.vue.d.ts +74 -0
- package/dist/src/UIKit/Accordion/BaseAccordion.vue.d.ts +45 -0
- package/dist/src/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +59 -0
- package/dist/src/UIKit/Accordion/BaseAccordionContent.vue.d.ts +29 -0
- package/dist/src/UIKit/Accordion/BaseAccordionItem.vue.d.ts +71 -0
- package/dist/src/UIKit/BaseAlert.vue.d.ts +41 -0
- package/dist/src/UIKit/BaseAutocomplete.vue.d.ts +109 -0
- package/dist/src/UIKit/BaseBadge.vue.d.ts +36 -0
- package/dist/src/UIKit/BaseBtModal.vue.d.ts +172 -0
- package/dist/src/UIKit/BaseButton.vue.d.ts +87 -0
- package/dist/src/UIKit/BaseCard.vue.d.ts +41 -0
- package/dist/{UIKit → src/UIKit}/BaseComplexToggle.vue.d.ts +2 -2
- package/dist/src/UIKit/BaseDropDown.vue.d.ts +123 -0
- package/dist/{UIKit → src/UIKit}/BaseFloatingLabel.vue.d.ts +4 -4
- package/dist/{UIKit → src/UIKit}/BaseIcon.vue.d.ts +1 -3
- package/dist/{UIKit → src/UIKit}/BaseInput.vue.d.ts +16 -6
- package/dist/{UIKit → src/UIKit}/BaseNavItem.vue.d.ts +1 -1
- package/dist/{UIKit → src/UIKit}/BasePagination.vue.d.ts +2 -4
- package/dist/src/UIKit/BasePaper.vue.d.ts +2 -0
- package/dist/src/UIKit/BaseSelect/SelectItem.vue.d.ts +54 -0
- package/dist/{UIKit → src/UIKit}/BaseSlider.vue.d.ts +4 -4
- package/dist/src/UIKit/BaseSnackbar.vue.d.ts +56 -0
- package/dist/{UIKit → src/UIKit}/BaseTab.vue.d.ts +1 -1
- package/dist/{UIKit → src/UIKit}/BaseTextarea.vue.d.ts +4 -4
- package/dist/{UIKit → src/UIKit}/BaseToggle.vue.d.ts +1 -1
- package/dist/{UIKit → src/UIKit}/BaseTooltip.vue.d.ts +2 -2
- package/dist/{UIKit → src/UIKit}/BaseUploadFile.vue.d.ts +1 -1
- package/dist/src/UIKit/Checkbox/CheckboxBtn.vue.d.ts +92 -0
- package/dist/src/UIKit/Checkbox/CheckboxGroup.vue.d.ts +78 -0
- package/dist/{UIKit → src/UIKit}/Radio/RadioButton.vue.d.ts +3 -3
- package/dist/{UIKit → src/UIKit}/Radio/RadioGroup.vue.d.ts +3 -2
- package/dist/src/UIKit/StaticSpinner.vue.d.ts +34 -0
- package/dist/src/Views/AccordionSection.vue.d.ts +2 -0
- package/dist/src/Views/AlertSection.vue.d.ts +2 -0
- package/dist/src/Views/AutocompleteSection.vue.d.ts +2 -0
- package/dist/src/Views/BadgeSection.vue.d.ts +2 -0
- package/dist/src/Views/ButtonsSection.vue.d.ts +2 -0
- package/dist/src/Views/CardSection.vue.d.ts +2 -0
- package/dist/src/Views/CheckboxSection.vue.d.ts +6 -0
- package/dist/src/Views/DropdownSection.vue.d.ts +35 -0
- package/dist/src/Views/ModalSection.vue.d.ts +4 -0
- package/dist/src/Views/PaginationSection.vue.d.ts +2 -0
- package/dist/src/Views/PaperSection.vue.d.ts +2 -0
- package/dist/src/Views/RadioSection.vue.d.ts +9 -0
- package/dist/src/Views/SliderSection.vue.d.ts +9 -0
- package/dist/src/Views/SnackbarSection.vue.d.ts +2 -0
- package/dist/src/Views/TabSection.vue.d.ts +2 -0
- package/dist/src/Views/TextInputSection.vue.d.ts +2 -0
- package/dist/src/Views/TextareaSection.vue.d.ts +6 -0
- package/dist/src/Views/ToggleSection.vue.d.ts +2 -0
- package/dist/src/Views/TooltipSection.vue.d.ts +2 -0
- package/dist/src/Views/UiKitSidebar.vue.d.ts +18 -0
- package/dist/src/Views/UploadBtnSection.vue.d.ts +2 -0
- package/dist/src/Views/WikicasaUiKit.vue.d.ts +19 -0
- package/dist/src/composables/useBreakpoints.d.ts +10 -0
- package/dist/{composables → src/composables}/useFloatingLabel.d.ts +1 -1
- package/dist/src/composables/useKeyboardController.d.ts +11 -0
- package/dist/{main.d.ts → src/main.d.ts} +12 -12
- package/dist/{stories → src/stories}/Button.stories.d.ts +2 -2
- package/dist/{stories → src/stories}/Header.stories.d.ts +3 -3
- package/dist/{stories → src/stories}/Page.stories.d.ts +3 -3
- package/dist/src/svgIcons/AboutUsIcon.d.ts +3 -0
- package/dist/src/svgIcons/ArrowIcon.d.ts +3 -0
- package/dist/src/svgIcons/BarChartIcon.d.ts +3 -0
- package/dist/src/svgIcons/BellIcon.d.ts +3 -0
- package/dist/src/svgIcons/BulbIcon.d.ts +3 -0
- package/dist/src/svgIcons/CloseIcon.d.ts +3 -0
- package/dist/src/svgIcons/DefaultValues.d.ts +8 -0
- package/dist/src/svgIcons/DeleteIcon.d.ts +3 -0
- package/dist/src/svgIcons/DrawIcon.d.ts +3 -0
- package/dist/src/svgIcons/GermanyFlagIcon.d.ts +3 -0
- package/dist/src/svgIcons/HeartIcon.d.ts +3 -0
- package/dist/src/svgIcons/HidePswIcon.d.ts +3 -0
- package/dist/src/svgIcons/ItalyFlagIcon.d.ts +3 -0
- package/dist/src/svgIcons/LocationIcon.d.ts +3 -0
- package/dist/src/svgIcons/LogoutIcon.d.ts +3 -0
- package/dist/src/svgIcons/MailIcon.d.ts +3 -0
- package/dist/src/svgIcons/MapIcon.d.ts +3 -0
- package/dist/src/svgIcons/NewsIcon.d.ts +3 -0
- package/dist/src/svgIcons/NotesIcon.d.ts +3 -0
- package/dist/src/svgIcons/PhoneIcon.d.ts +3 -0
- package/dist/src/svgIcons/PhotoIcon.d.ts +3 -0
- package/dist/src/svgIcons/PinIcon.d.ts +3 -0
- package/dist/src/svgIcons/PlanIcon.d.ts +3 -0
- package/dist/src/svgIcons/PlusIcon.d.ts +3 -0
- package/dist/src/svgIcons/PrestigeIcon.d.ts +3 -0
- package/dist/src/svgIcons/PrintIcon.d.ts +3 -0
- package/dist/src/svgIcons/ProfileIcon.d.ts +3 -0
- package/dist/src/svgIcons/QuotesIcon.d.ts +3 -0
- package/dist/src/svgIcons/RequestIcon.d.ts +3 -0
- package/dist/src/svgIcons/SearchIcon.d.ts +3 -0
- package/dist/src/svgIcons/ShareIcon.d.ts +3 -0
- package/dist/src/svgIcons/SuitcaseIcon.d.ts +3 -0
- package/dist/src/svgIcons/TieIcon.d.ts +3 -0
- package/dist/src/svgIcons/TourIcon.d.ts +3 -0
- package/dist/src/svgIcons/UkFlagIcon.d.ts +3 -0
- package/dist/src/svgIcons/ValuationIcon.d.ts +3 -0
- package/dist/src/svgIcons/VideoIcon.d.ts +3 -0
- package/dist/src/svgIcons/ViewPswIcon.d.ts +3 -0
- package/dist/src/svgIcons/WarningIcon.d.ts +3 -0
- package/dist/src/svgIcons/WarningIconRounded.d.ts +3 -0
- package/dist/src/svgIcons/WikiNerdIcon.d.ts +3 -0
- package/dist/src/svgIcons/WkAppIcon.d.ts +3 -0
- package/dist/style.css +1 -1
- package/package.json +35 -30
- package/dist/App.vue.d.ts +0 -2
- package/dist/UIKit/BaseAccordion.vue.d.ts +0 -25
- package/dist/UIKit/BaseAlert.vue.d.ts +0 -16
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +0 -103
- package/dist/UIKit/BaseBadge.vue.d.ts +0 -14
- package/dist/UIKit/BaseButton.stories.d.ts +0 -10
- package/dist/UIKit/BaseButton.vue.d.ts +0 -90
- package/dist/UIKit/BaseCloseButton.vue.d.ts +0 -2
- package/dist/UIKit/BaseDropDown.vue.d.ts +0 -78
- package/dist/UIKit/BaseInput.stories.d.ts +0 -6
- package/dist/UIKit/BasePaper.vue.d.ts +0 -2
- package/dist/UIKit/BaseSearchBox.vue.d.ts +0 -4
- package/dist/UIKit/BaseSelect.vue.d.ts +0 -150
- package/dist/UIKit/BaseToggle.stories.d.ts +0 -7
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +0 -101
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +0 -55
- package/dist/components/HelloWorld.vue.d.ts +0 -2
- package/dist/components/base/StaticSpinner.vue.d.ts +0 -23
- /package/dist/{components → src/components}/Pera.stories.d.ts +0 -0
- /package/dist/{components → src/components}/base/BaseEmptyButton.stories.d.ts +0 -0
- /package/dist/{components → src/components}/base/StaticSpinner.stories.d.ts +0 -0
- /package/dist/{components → src/components}/input/TripleSelect.stories.d.ts +0 -0
- /package/dist/{components → src/components}/insert/QualityScore.stories.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wikicasa-dev/components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Wikicasa frontend components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/components.cjs",
|
|
7
|
-
"module": "./dist/components.
|
|
7
|
+
"module": "./dist/components.js",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"require": "./dist/components.cjs",
|
|
11
|
-
"import": "./dist/components.
|
|
11
|
+
"import": "./dist/components.js"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"types": "./dist/main.d.ts",
|
|
@@ -26,38 +26,42 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://bitbucket.org/wikicasa/wikicasa-fe#readme",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vue": "^3.
|
|
29
|
+
"vue": "^3.4.0",
|
|
30
|
+
"vue-router": "4"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
|
-
"@
|
|
33
|
-
"@storybook/addon-
|
|
34
|
-
"@storybook/addon-
|
|
35
|
-
"@storybook/addon-
|
|
33
|
+
"@babel/eslint-parser": "^7.24.1",
|
|
34
|
+
"@storybook/addon-essentials": "^8.0.2",
|
|
35
|
+
"@storybook/addon-interactions": "^8.0.2",
|
|
36
|
+
"@storybook/addon-links": "^8.0.2",
|
|
37
|
+
"@storybook/addon-mdx-gfm": "^8.0.2",
|
|
36
38
|
"@storybook/addon-styling": "^1.3.7",
|
|
37
|
-
"@storybook/blocks": "^
|
|
38
|
-
"@storybook/
|
|
39
|
-
"@storybook/
|
|
40
|
-
"@storybook/
|
|
41
|
-
"@
|
|
39
|
+
"@storybook/blocks": "^8.0.2",
|
|
40
|
+
"@storybook/manager-api": "^8.0.2",
|
|
41
|
+
"@storybook/testing-library": "^0.2.1",
|
|
42
|
+
"@storybook/theming": "^8.0.2",
|
|
43
|
+
"@storybook/vue3": "^8.0.2",
|
|
44
|
+
"@storybook/vue3-vite": "^8.0.2",
|
|
42
45
|
"@types/node": "^20.5.0",
|
|
43
|
-
"@vitejs/plugin-vue": "^
|
|
44
|
-
"@storybook/addon-postcss": "^2.0.0",
|
|
46
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
45
47
|
"autoprefixer": "^10.4.15",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
+
"chromatic": "^11.2.0",
|
|
49
|
+
"eslint": "^8.57.0",
|
|
50
|
+
"eslint-config-prettier": "^9.1.0",
|
|
51
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
52
|
+
"eslint-plugin-prettier-vue": "^5.0.0",
|
|
53
|
+
"eslint-plugin-vue": "^9.23.0",
|
|
48
54
|
"postcss": "^8.4.28",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"@wikicasa-dev/utilities": "^0.1.2",
|
|
60
|
-
"@wikicasa-dev/types": "^0.0.12"
|
|
55
|
+
"prettier": "^3.2.5",
|
|
56
|
+
"prettier-plugin-tailwindcss": "^0.5.12",
|
|
57
|
+
"storybook": "^7.4.5",
|
|
58
|
+
"tailwindcss": "^3.4.1",
|
|
59
|
+
"typescript": "^5.4.3",
|
|
60
|
+
"vite": "^5.2.2",
|
|
61
|
+
"vite-plugin-dts": "^3.7.3",
|
|
62
|
+
"vue-tsc": "^2.0.7",
|
|
63
|
+
"@wikicasa-dev/types": "^0.8.0",
|
|
64
|
+
"@wikicasa-dev/utilities": "^0.1.2"
|
|
61
65
|
},
|
|
62
66
|
"readme": "ERROR: No README data found!",
|
|
63
67
|
"scripts": {
|
|
@@ -66,6 +70,7 @@
|
|
|
66
70
|
"preview": "vite preview",
|
|
67
71
|
"storybook": "storybook dev -p 6006",
|
|
68
72
|
"build-storybook": "storybook build",
|
|
69
|
-
"chromatic": "npx chromatic --project-token
|
|
73
|
+
"chromatic": "npx chromatic --project-token chpt_f2628e4ff2a4de6",
|
|
74
|
+
"prepublish": "pnpm build"
|
|
70
75
|
}
|
|
71
76
|
}
|
package/dist/App.vue.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
interface IAccordion {
|
|
2
|
-
id?: string;
|
|
3
|
-
summary?: string;
|
|
4
|
-
}
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
6
|
-
items: {
|
|
7
|
-
type: import("vue").PropType<IAccordion>;
|
|
8
|
-
default: () => {};
|
|
9
|
-
};
|
|
10
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
items: {
|
|
12
|
-
type: import("vue").PropType<IAccordion>;
|
|
13
|
-
default: () => {};
|
|
14
|
-
};
|
|
15
|
-
}>>, {
|
|
16
|
-
items: IAccordion;
|
|
17
|
-
}, {}>, {
|
|
18
|
-
custom?(_: {}): any;
|
|
19
|
-
}>;
|
|
20
|
-
export default _default;
|
|
21
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
-
new (): {
|
|
23
|
-
$slots: S;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
text: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
};
|
|
5
|
-
alrtClass: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
};
|
|
8
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
text: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
};
|
|
12
|
-
alrtClass: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
};
|
|
15
|
-
}>>, {}, {}>;
|
|
16
|
-
export default _default;
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { SelectOptions } from "@wikicasa-dev/types";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
border: {
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
7
|
-
isValid: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: null;
|
|
10
|
-
};
|
|
11
|
-
theme: {
|
|
12
|
-
type: () => "bordered" | "all-bordered" | "all-bordered-thick";
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
modelValue: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
labelText: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
disableCb: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
onInputChangeCb: {
|
|
28
|
-
type: FunctionConstructor;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
onOptionSelectedCb: {
|
|
32
|
-
type: FunctionConstructor;
|
|
33
|
-
default: null;
|
|
34
|
-
};
|
|
35
|
-
manualClose: {
|
|
36
|
-
type: BooleanConstructor;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
}, unknown, {
|
|
40
|
-
curValue: string;
|
|
41
|
-
options: SelectOptions[];
|
|
42
|
-
debouncedCallback: any;
|
|
43
|
-
selection: boolean;
|
|
44
|
-
}, {
|
|
45
|
-
openDropdown(): boolean;
|
|
46
|
-
isAnyBorderedTheme(): boolean;
|
|
47
|
-
themeClasses(): string;
|
|
48
|
-
}, {
|
|
49
|
-
handleChangedValue(v: string): Promise<void>;
|
|
50
|
-
handleSelection(opt: SelectOptions): void;
|
|
51
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:modelValue" | "changed-value" | "dropdown-closed")[], "click" | "update:modelValue" | "changed-value" | "dropdown-closed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
-
border: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
isValid: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: null;
|
|
59
|
-
};
|
|
60
|
-
theme: {
|
|
61
|
-
type: () => "bordered" | "all-bordered" | "all-bordered-thick";
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
modelValue: {
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
labelText: {
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
disableCb: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
onInputChangeCb: {
|
|
77
|
-
type: FunctionConstructor;
|
|
78
|
-
required: true;
|
|
79
|
-
};
|
|
80
|
-
onOptionSelectedCb: {
|
|
81
|
-
type: FunctionConstructor;
|
|
82
|
-
default: null;
|
|
83
|
-
};
|
|
84
|
-
manualClose: {
|
|
85
|
-
type: BooleanConstructor;
|
|
86
|
-
default: boolean;
|
|
87
|
-
};
|
|
88
|
-
}>> & {
|
|
89
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
90
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
91
|
-
"onChanged-value"?: ((...args: any[]) => any) | undefined;
|
|
92
|
-
"onDropdown-closed"?: ((...args: any[]) => any) | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
isValid: boolean;
|
|
95
|
-
labelText: string;
|
|
96
|
-
modelValue: string;
|
|
97
|
-
border: boolean;
|
|
98
|
-
manualClose: boolean;
|
|
99
|
-
theme: "bordered" | "all-bordered" | "all-bordered-thick";
|
|
100
|
-
disableCb: boolean;
|
|
101
|
-
onOptionSelectedCb: Function;
|
|
102
|
-
}, {}>;
|
|
103
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
badgeClass: {
|
|
3
|
-
type: () => "tw-badge-w-warning";
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
badgeClass: {
|
|
8
|
-
type: () => "tw-badge-w-warning";
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
}>>, {
|
|
12
|
-
badgeClass: "tw-badge-w-warning";
|
|
13
|
-
}, {}>;
|
|
14
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/vue3";
|
|
2
|
-
import BaseButton from "./BaseButton.vue";
|
|
3
|
-
declare const meta: Meta<typeof BaseButton>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof BaseButton>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Light: Story;
|
|
8
|
-
export declare const Warning: Story;
|
|
9
|
-
export declare const Disabled: Story;
|
|
10
|
-
export declare const Loading: Story;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
lazyLoadIcon: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
btnClass: {
|
|
7
|
-
type: () => "tw-btn-w-primary" | "tw-btn-transparent" | "tw-btn-lg" | "tw-btn-sm" | "tw-btn-light" | "tw-btn-w-warning" | "tw-btn-w-danger" | "tw-btn-outline-w-danger" | "tw-btn-show-more" | "tw-btn-multi-selection" | "tw-btn-single-selection" | "tw-btn-facile" | string;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
iconName: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
iconNameHovering: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
iconClass: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
isEmpty: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
keepActive: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
isLoading: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
}, unknown, {
|
|
35
|
-
hover: boolean;
|
|
36
|
-
currentIcon: string;
|
|
37
|
-
}, {
|
|
38
|
-
cdn(): string;
|
|
39
|
-
}, {
|
|
40
|
-
handleMouseHover(): void;
|
|
41
|
-
handleMouseOut(): void;
|
|
42
|
-
changeIcon(newIconName: string): void;
|
|
43
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mouseout" | "mouseover")[], "click" | "mouseout" | "mouseover", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
-
lazyLoadIcon: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
btnClass: {
|
|
49
|
-
type: () => "tw-btn-w-primary" | "tw-btn-transparent" | "tw-btn-lg" | "tw-btn-sm" | "tw-btn-light" | "tw-btn-w-warning" | "tw-btn-w-danger" | "tw-btn-outline-w-danger" | "tw-btn-show-more" | "tw-btn-multi-selection" | "tw-btn-single-selection" | "tw-btn-facile" | string;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
iconName: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
iconNameHovering: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
iconClass: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
isEmpty: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
keepActive: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
isLoading: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
}>> & {
|
|
77
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
78
|
-
onMouseout?: ((...args: any[]) => any) | undefined;
|
|
79
|
-
onMouseover?: ((...args: any[]) => any) | undefined;
|
|
80
|
-
}, {
|
|
81
|
-
iconName: string;
|
|
82
|
-
iconClass: string;
|
|
83
|
-
lazyLoadIcon: boolean;
|
|
84
|
-
btnClass: string;
|
|
85
|
-
iconNameHovering: string;
|
|
86
|
-
isEmpty: boolean;
|
|
87
|
-
keepActive: boolean;
|
|
88
|
-
isLoading: boolean;
|
|
89
|
-
}, {}>;
|
|
90
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
id: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
required: true;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
dropdownClasses: {
|
|
8
|
-
type: import("vue").PropType<string>;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
iconName: {
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
containerDropdownClasses: {
|
|
16
|
-
type: import("vue").PropType<string>;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
iconClasses: {
|
|
20
|
-
type: import("vue").PropType<string>;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
btnClasses: {
|
|
24
|
-
type: import("vue").PropType<string>;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
withArrowIcon: {
|
|
28
|
-
type: import("vue").PropType<boolean>;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
id: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
required: true;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
dropdownClasses: {
|
|
38
|
-
type: import("vue").PropType<string>;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
iconName: {
|
|
42
|
-
type: import("vue").PropType<string>;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
containerDropdownClasses: {
|
|
46
|
-
type: import("vue").PropType<string>;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
iconClasses: {
|
|
50
|
-
type: import("vue").PropType<string>;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
btnClasses: {
|
|
54
|
-
type: import("vue").PropType<string>;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
withArrowIcon: {
|
|
58
|
-
type: import("vue").PropType<boolean>;
|
|
59
|
-
default: boolean;
|
|
60
|
-
};
|
|
61
|
-
}>>, {
|
|
62
|
-
id: string;
|
|
63
|
-
dropdownClasses: string;
|
|
64
|
-
iconName: string;
|
|
65
|
-
containerDropdownClasses: string;
|
|
66
|
-
iconClasses: string;
|
|
67
|
-
btnClasses: string;
|
|
68
|
-
withArrowIcon: boolean;
|
|
69
|
-
}, {}>, {
|
|
70
|
-
btn_slot?(_: {}): any;
|
|
71
|
-
default?(_: {}): any;
|
|
72
|
-
}>;
|
|
73
|
-
export default _default;
|
|
74
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
75
|
-
new (): {
|
|
76
|
-
$slots: S;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
-
multiTypologyCheckboxValue: never[];
|
|
3
|
-
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
4
|
-
export default _default;
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { FeedbackLabels, SelectOptions, Nullable } from "@wikicasa-dev/types";
|
|
3
|
-
import { decodeTextWithEntities } from "@wikicasa-dev/utilities";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
type: {
|
|
6
|
-
type: () => "select" | "autocomplete";
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
modelValue: PropType<string | SelectOptions>;
|
|
10
|
-
feedback: {
|
|
11
|
-
type: () => FeedbackLabels;
|
|
12
|
-
};
|
|
13
|
-
isValid: {
|
|
14
|
-
type: () => Nullable<boolean>;
|
|
15
|
-
default: null;
|
|
16
|
-
};
|
|
17
|
-
options: {
|
|
18
|
-
type: () => SelectOptions[];
|
|
19
|
-
};
|
|
20
|
-
withCustomLi: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
manualOpenDropdown: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
manualCloseDropdown: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
dropdownBorder: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
border: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
leftIcon: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
required: false;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
labelText: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
required: false;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
dropdownPosition: {
|
|
51
|
-
type: () => "down" | "up";
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
|
-
writable: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
|
-
}, unknown, {
|
|
59
|
-
openDropdown: boolean;
|
|
60
|
-
handleCloseDropdownOnBodyClick: Nullable<() => void>;
|
|
61
|
-
keepFloatingLabel: boolean;
|
|
62
|
-
firstUpdate: boolean;
|
|
63
|
-
selectedValue: Nullable<SelectOptions>;
|
|
64
|
-
}, {
|
|
65
|
-
selectEl(): HTMLElement | null;
|
|
66
|
-
curValue(): Nullable<string>;
|
|
67
|
-
}, {
|
|
68
|
-
decodeTextWithEntities: typeof decodeTextWithEntities;
|
|
69
|
-
handleFocusIn(): void;
|
|
70
|
-
handleOptionSelect(opt: SelectOptions): void;
|
|
71
|
-
handleOnSelectClick(e: Event): void;
|
|
72
|
-
showOpenDropdownArrow(): void;
|
|
73
|
-
showCloseDropdownArrow(): void;
|
|
74
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "input" | "focusin" | "update:modelValue" | "mouseleave" | "changed-value" | "dropdown-closed" | "close-dropdown")[], "click" | "input" | "focusin" | "update:modelValue" | "mouseleave" | "changed-value" | "dropdown-closed" | "close-dropdown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
-
type: {
|
|
76
|
-
type: () => "select" | "autocomplete";
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
modelValue: PropType<string | SelectOptions>;
|
|
80
|
-
feedback: {
|
|
81
|
-
type: () => FeedbackLabels;
|
|
82
|
-
};
|
|
83
|
-
isValid: {
|
|
84
|
-
type: () => Nullable<boolean>;
|
|
85
|
-
default: null;
|
|
86
|
-
};
|
|
87
|
-
options: {
|
|
88
|
-
type: () => SelectOptions[];
|
|
89
|
-
};
|
|
90
|
-
withCustomLi: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
manualOpenDropdown: {
|
|
95
|
-
type: BooleanConstructor;
|
|
96
|
-
default: boolean;
|
|
97
|
-
};
|
|
98
|
-
manualCloseDropdown: {
|
|
99
|
-
type: BooleanConstructor;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
|
-
dropdownBorder: {
|
|
103
|
-
type: BooleanConstructor;
|
|
104
|
-
default: boolean;
|
|
105
|
-
};
|
|
106
|
-
border: {
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
default: boolean;
|
|
109
|
-
};
|
|
110
|
-
leftIcon: {
|
|
111
|
-
type: StringConstructor;
|
|
112
|
-
required: false;
|
|
113
|
-
default: string;
|
|
114
|
-
};
|
|
115
|
-
labelText: {
|
|
116
|
-
type: StringConstructor;
|
|
117
|
-
required: false;
|
|
118
|
-
default: string;
|
|
119
|
-
};
|
|
120
|
-
dropdownPosition: {
|
|
121
|
-
type: () => "down" | "up";
|
|
122
|
-
default: string;
|
|
123
|
-
};
|
|
124
|
-
writable: {
|
|
125
|
-
type: BooleanConstructor;
|
|
126
|
-
default: boolean;
|
|
127
|
-
};
|
|
128
|
-
}>> & {
|
|
129
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
130
|
-
onFocusin?: ((...args: any[]) => any) | undefined;
|
|
131
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
132
|
-
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
133
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
134
|
-
"onChanged-value"?: ((...args: any[]) => any) | undefined;
|
|
135
|
-
"onDropdown-closed"?: ((...args: any[]) => any) | undefined;
|
|
136
|
-
"onClose-dropdown"?: ((...args: any[]) => any) | undefined;
|
|
137
|
-
}, {
|
|
138
|
-
isValid: Nullable<boolean>;
|
|
139
|
-
labelText: string;
|
|
140
|
-
type: "select" | "autocomplete";
|
|
141
|
-
border: boolean;
|
|
142
|
-
leftIcon: string;
|
|
143
|
-
manualCloseDropdown: boolean;
|
|
144
|
-
withCustomLi: boolean;
|
|
145
|
-
manualOpenDropdown: boolean;
|
|
146
|
-
dropdownBorder: boolean;
|
|
147
|
-
dropdownPosition: "down" | "up";
|
|
148
|
-
writable: boolean;
|
|
149
|
-
}, {}>;
|
|
150
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/vue3";
|
|
2
|
-
import BaseToggle from "./BaseToggle.vue";
|
|
3
|
-
declare const meta: Meta<typeof BaseToggle>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof BaseToggle>;
|
|
6
|
-
export declare const WithLabel: Story;
|
|
7
|
-
export declare const WithoutLabel: Story;
|