@agrotools1/at-components 0.6.25 → 0.6.26
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 +7 -7
- package/dist/Accordion/Accordion.d.ts +4 -4
- package/dist/Accordion/Accordion.vue.js +4 -4
- package/dist/Accordion/Accordion.vue3.js +2 -2
- package/dist/Accordion/index.d.ts +1 -1
- package/dist/Avatar/Avatar.d.ts +4 -4
- package/dist/Avatar/Avatar.vue.js +1 -1
- package/dist/Avatar/Avatar.vue3.js +2 -2
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Button/Button.d.ts +4 -4
- package/dist/Button/Button.vue.js +1 -1
- package/dist/Button/Button.vue3.js +2 -2
- package/dist/Button/index.d.ts +1 -1
- package/dist/CardWithInsights/CardWithInsights.vue.js +6 -6
- package/dist/CardWithInsights/CardWithInsights.vue4.js +2 -2
- package/dist/CardWithInsights/index.d.ts +1 -1
- package/dist/Checkbox/Checkbox.d.ts +8 -9
- package/dist/Checkbox/Checkbox.vue.js +1 -1
- package/dist/Checkbox/img/checkmarck.svg.js +1 -1
- package/dist/Checkbox/index.d.ts +1 -1
- package/dist/Chips/index.d.ts +1 -1
- package/dist/ColorPicker/ColorPicker.Saturation.d.ts +8 -8
- package/dist/ColorPicker/ColorPicker.Saturation.vue.js +10 -10
- package/dist/ColorPicker/ColorPicker.Saturation.vue3.js +2 -2
- package/dist/ColorPicker/ColorPicker.vue.js +4 -4
- package/dist/ColorPicker/index.d.ts +1 -1
- package/dist/DataTable/Column/Column.d.ts +3 -4
- package/dist/DataTable/Column/Column.vue.js +6 -6
- package/dist/DataTable/Column/Column.vue3.js +2 -2
- package/dist/DataTable/Column/imgs/filter.svg.js +1 -1
- package/dist/DataTable/Counters/Counters.d.ts +6 -6
- package/dist/DataTable/Counters/Counters.vue.js +1 -1
- package/dist/DataTable/Counters/imgs/close.svg.js +1 -1
- package/dist/DataTable/DataTable.d.ts +8 -9
- package/dist/DataTable/DataTable.vue.js +5 -5
- package/dist/DataTable/index.d.ts +37 -37
- package/dist/DatePicker/DatePicker.d.ts +21 -22
- package/dist/DatePicker/DatePicker.scss.js +2 -2
- package/dist/DatePicker/DatePicker.vue.js +4 -4
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.d.ts +6 -6
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.helper.d.ts +1 -2
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.vue.js +3 -3
- package/dist/DatePicker/DatePickerHeader/DatePickerHeader.d.ts +2 -2
- package/dist/DatePicker/DatePickerHeader/DatePickerHeader.scss.js +2 -2
- package/dist/DatePicker/DatePickerHeader/DatePickerHeader.vue.js +4 -4
- package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.d.ts +5 -5
- package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.vue.js +5 -5
- package/dist/DatePicker/DatePickerTime/DatePickerTime.d.ts +6 -7
- package/dist/DatePicker/DatePickerTime/DatePickerTime.scss.js +2 -2
- package/dist/DatePicker/DatePickerTime/DatePickerTime.vue.js +8 -8
- package/dist/DatePicker/index.d.ts +2 -2
- package/dist/Dropdown/Checklist/Dropdown.Checklist.d.ts +12 -13
- package/dist/Dropdown/Checklist/Dropdown.Checklist.vue.js +20 -20
- package/dist/Dropdown/Checklist/draggable.d.ts +1 -2
- package/dist/Dropdown/Dropdown.core.d.ts +8 -9
- package/dist/Dropdown/Dropdown.core.vue.js +2 -2
- package/dist/Dropdown/Dropdown.types.d.ts +1 -1
- package/dist/Dropdown/DropdownContent/DropdownContent.d.ts +1 -1
- package/dist/Faq/Faq.vue.js +5 -5
- package/dist/Faq/FaqItem/FaqItem.d.ts +4 -5
- package/dist/Faq/FaqItem/FaqItem.vue.js +1 -1
- package/dist/Faq/FaqItem/index.d.ts +1 -1
- package/dist/Faq/index.d.ts +1 -1
- package/dist/Filter/components/Filter.types.d.ts +1 -2
- package/dist/Filter/components/Filter.vue.js +19 -19
- package/dist/Filter/index.d.ts +3 -4
- package/dist/Filter/tests/mocks.d.ts +2 -3
- package/dist/Icons/icons.d.ts +1860 -1860
- package/dist/Illustration/Illustration.vue.js +5 -5
- package/dist/Illustration/images/renovabio-illustrations/biomass.svg.js +1 -1
- package/dist/Illustration/images/renovabio-illustrations/volume.svg.js +1 -1
- package/dist/Illustration/images/system-images/add-file.svg.js +1 -1
- package/dist/Illustration/images/system-images/cloud-connection.svg.js +1 -1
- package/dist/Illustration/images/system-images/cloud-download.svg.js +1 -1
- package/dist/Illustration/images/system-images/cloud-upload.svg.js +1 -1
- package/dist/Illustration/images/system-images/corrupted-file.svg.js +1 -1
- package/dist/Illustration/images/system-images/empty-box.svg.js +1 -1
- package/dist/Illustration/images/system-images/empty-folder-2.svg.js +1 -1
- package/dist/Illustration/images/system-images/empty-folder.svg.js +1 -1
- package/dist/Illustration/images/system-images/empty.svg.js +1 -1
- package/dist/Illustration/images/system-images/error-illustration.svg.js +1 -1
- package/dist/Illustration/images/system-images/file-backup-2.svg.js +1 -1
- package/dist/Illustration/images/system-images/file-backup.svg.js +1 -1
- package/dist/Illustration/images/system-images/filtering-upload.svg.js +1 -1
- package/dist/Illustration/images/system-images/flight.svg.js +1 -1
- package/dist/Illustration/images/system-images/fly.svg.js +1 -1
- package/dist/Illustration/images/system-images/movies.svg.js +1 -1
- package/dist/Illustration/images/system-images/multimedia.svg.js +1 -1
- package/dist/Illustration/images/system-images/notification-bell.svg.js +1 -1
- package/dist/Illustration/images/system-images/page-2.svg.js +1 -1
- package/dist/Illustration/images/system-images/page.svg.js +1 -1
- package/dist/Illustration/images/system-images/photos.svg.js +1 -1
- package/dist/Illustration/images/system-images/recycle-bin.svg.js +1 -1
- package/dist/Illustration/images/system-images/rocket-launch.svg.js +1 -1
- package/dist/Illustration/images/system-images/signal.svg.js +1 -1
- package/dist/Illustration/images/system-images/wrong.svg.js +1 -1
- package/dist/Illustration/images/tools-images/advanced-analysis.svg.js +1 -1
- package/dist/Illustration/images/tools-images/agriculture.svg.js +1 -1
- package/dist/Illustration/images/tools-images/alert-center.svg.js +1 -1
- package/dist/Illustration/images/tools-images/area.svg.js +1 -1
- package/dist/Illustration/images/tools-images/at-insights.svg.js +1 -1
- package/dist/Illustration/images/tools-images/conservation-unit.svg.js +1 -1
- package/dist/Illustration/images/tools-images/credit.svg.js +2 -2
- package/dist/Illustration/images/tools-images/deforestation.svg.js +1 -1
- package/dist/Illustration/images/tools-images/distance-proximity-rivers.svg.js +1 -1
- package/dist/Illustration/images/tools-images/estimated-productivity-penalty.svg.js +1 -1
- package/dist/Illustration/images/tools-images/extract.svg.js +1 -1
- package/dist/Illustration/images/tools-images/farm.svg.js +1 -1
- package/dist/Illustration/images/tools-images/geographical-consultation-municipalities.svg.js +1 -1
- package/dist/Illustration/images/tools-images/gix.svg.js +1 -1
- package/dist/Illustration/images/tools-images/insurance.svg.js +1 -1
- package/dist/Illustration/images/tools-images/land-appreciation.svg.js +1 -1
- package/dist/Illustration/images/tools-images/lockdown.svg.js +1 -1
- package/dist/Illustration/images/tools-images/map.svg.js +1 -1
- package/dist/Illustration/images/tools-images/pasture.svg.js +1 -1
- package/dist/Illustration/images/tools-images/rating-2.svg.js +1 -1
- package/dist/Illustration/images/tools-images/rating.svg.js +1 -1
- package/dist/Illustration/images/tools-images/recurrence.svg.js +1 -1
- package/dist/Illustration/images/tools-images/refrigerators.svg.js +1 -1
- package/dist/Illustration/images/tools-images/settings.svg.js +1 -1
- package/dist/Illustration/images/tools-images/socio-environmental-analysis.svg.js +1 -1
- package/dist/Illustration/images/tools-images/soil-use.svg.js +1 -1
- package/dist/Illustration/images/tools-images/storm.svg.js +1 -1
- package/dist/Illustration/images/tools-images/territory-details.svg.js +1 -1
- package/dist/Illustration/images/tools-images/timeline.svg.js +1 -1
- package/dist/Illustration/index.d.ts +1 -1
- package/dist/Input/Input.core.d.ts +355 -356
- package/dist/Input/Input.core.vue.js +6 -6
- package/dist/Input/Input.core.vue3.js +2 -2
- package/dist/Input/imgs/error.svg.js +2 -2
- package/dist/Input/index.d.ts +1694 -1695
- package/dist/Legend/Legend.d.ts +3 -3
- package/dist/Legend/Legend.vue.js +1 -1
- package/dist/Legend/index.d.ts +1 -1
- package/dist/List/components/List.d.ts +9 -9
- package/dist/List/components/List.types.d.ts +1 -2
- package/dist/List/components/List.vue.js +2 -2
- package/dist/List/index.d.ts +3 -4
- package/dist/List/tests/mocks.d.ts +1 -2
- package/dist/Loading/Loading.d.ts +2 -2
- package/dist/Loading/index.d.ts +1 -1
- package/dist/Menu/Menu.d.ts +3 -4
- package/dist/Menu/Menu.vue.js +2 -2
- package/dist/Menu/assets/agrotools.svg.js +1 -1
- package/dist/Menu/assets/at.svg.js +1 -1
- package/dist/Menu/index.d.ts +1 -1
- package/dist/Modal/Modal.d.ts +8 -9
- package/dist/Modal/Modal.vue.js +16 -16
- package/dist/Modal/Modal.vue3.js +2 -2
- package/dist/Modal/images/cross.svg.js +1 -1
- package/dist/Modal/index.d.ts +1 -1
- package/dist/Notifications/Notification/Notification.d.ts +50 -50
- package/dist/Notifications/Notification/Notification.vue.js +4 -4
- package/dist/Notifications/Notifications.d.ts +9 -9
- package/dist/Notifications/Notifications.vue.js +6 -6
- package/dist/Notifications/Notifications.vue3.js +2 -2
- package/dist/Notifications/index.d.ts +1 -1
- package/dist/Paginator/Paginator.d.ts +7 -7
- package/dist/Paginator/Paginator.vue.js +2 -2
- package/dist/Paginator/imgs/double-left-arrow.svg.js +1 -1
- package/dist/Paginator/imgs/double-right-arrow.svg.js +1 -1
- package/dist/Paginator/imgs/left-arrow.svg.js +1 -1
- package/dist/Paginator/imgs/right-arrow.svg.js +1 -1
- package/dist/Paginator/index.d.ts +1 -1
- package/dist/ProgressBar/ProgressBar.d.ts +3 -4
- package/dist/ProgressBar/ProgressBar.vue.js +2 -2
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/RadioButton/RadioButton.d.ts +3 -3
- package/dist/RadioButton/RadioButton.vue.js +1 -1
- package/dist/RadioButton/RadioButton.vue3.js +2 -2
- package/dist/RadioButton/index.d.ts +1 -1
- package/dist/Search/Search.d.ts +6 -7
- package/dist/Search/Search.vue.js +4 -4
- package/dist/Search/index.d.ts +1 -1
- package/dist/Search/test.mocks.d.ts +1 -2
- package/dist/Search/utils.d.ts +1 -2
- package/dist/Select/Item/Item.d.ts +3 -3
- package/dist/Select/Item/Item.vue.js +16 -16
- package/dist/Select/Multiple/Select.multiple.d.ts +13 -14
- package/dist/Select/Multiple/Select.multiple.vue.js +14 -14
- package/dist/Select/Multiple/Select.multiple.vue2.js +14 -14
- package/dist/Select/Select.core.d.ts +7 -8
- package/dist/Select/Single/Select.single.d.ts +11 -12
- package/dist/Select/Single/Select.single.vue.js +6 -6
- package/dist/Select/imgs/indicator.svg.js +1 -1
- package/dist/Select/index.d.ts +24 -25
- package/dist/Skeleton/Skeleton.d.ts +2 -2
- package/dist/Skeleton/index.d.ts +1 -1
- package/dist/Stepper/Stepper.vue.js +2 -2
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/TableConfig/TableConfig.d.ts +10 -11
- package/dist/TableConfig/TableConfig.vue.js +2 -2
- package/dist/TableConfig/index.d.ts +1 -1
- package/dist/TableConfig/test/mocks.d.ts +1 -2
- package/dist/Tabs/Tab/Tab.d.ts +4 -4
- package/dist/Tabs/Tab/Tab.vue.js +1 -1
- package/dist/Tabs/Tab/Tab.vue3.js +2 -2
- package/dist/Tabs/Tabs.d.ts +8 -9
- package/dist/Tabs/Tabs.vue.js +7 -7
- package/dist/Tabs/Tabs.vue3.js +2 -2
- package/dist/Tabs/index.d.ts +1 -1
- package/dist/Tag/Tag.d.ts +6 -7
- package/dist/Tag/Tag.vue.js +1 -1
- package/dist/Tag/index.d.ts +1 -1
- package/dist/Tipograph/Paragraph/Paragraph.d.ts +2 -2
- package/dist/Tipograph/Paragraph/Paragraph.vue.js +2 -2
- package/dist/Tipograph/Paragraph/Paragraph.vue3.js +2 -2
- package/dist/Tipograph/Title/Title.d.ts +2 -2
- package/dist/Tipograph/Title/Title.vue.js +2 -2
- package/dist/Tipograph/index.d.ts +4 -4
- package/dist/Toggle/Toggle.d.ts +5 -5
- package/dist/Toggle/Toggle.vue.js +2 -2
- package/dist/Toggle/index.d.ts +1 -1
- package/dist/Tooltip/Tooltip.d.ts +11 -12
- package/dist/Tooltip/Tooltip.vue.js +2 -2
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Upload/MultipleUpload/MultipleUpload.d.ts +7 -8
- package/dist/Upload/MultipleUpload/MultipleUpload.vue.js +5 -5
- package/dist/Upload/SingleUpload/SingleUpload.d.ts +5 -6
- package/dist/Upload/SingleUpload/SingleUpload.vue.js +1 -1
- package/dist/Upload/Upload.d.ts +3 -4
- package/dist/Upload/Upload.vue.js +1 -1
- package/dist/Upload/UploaderHeader/UploaderHeader.d.ts +2 -2
- package/dist/Upload/UploaderHeader/UploaderHeader.vue.js +1 -1
- package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.d.ts +2 -2
- package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.vue.js +1 -1
- package/dist/Upload/UploaderInput/UploaderInput.d.ts +5 -6
- package/dist/Upload/UploaderInput/UploaderInput.vue.js +1 -1
- package/dist/Upload/index.d.ts +1 -1
- package/dist/index.d.ts +32 -32
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/Search/utils.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DropdownListItem } from '../Dropdown/Dropdown.types';
|
|
2
|
-
|
|
1
|
+
import type { DropdownListItem } from '../Dropdown/Dropdown.types';
|
|
3
2
|
declare function filterAutoCompleteList(autoCompleteList: DropdownListItem[] | undefined, value: string): DropdownListItem[] | undefined;
|
|
4
3
|
export { filterAutoCompleteList };
|
|
@@ -16,7 +16,7 @@ export interface SelectItemProps {
|
|
|
16
16
|
type?: "text" | "multiple" | "with-icon";
|
|
17
17
|
icon?: string;
|
|
18
18
|
}
|
|
19
|
-
declare const _default: import(
|
|
19
|
+
declare const _default: import("vue").DefineComponent<{
|
|
20
20
|
text: {
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
required: true;
|
|
@@ -55,8 +55,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
55
55
|
validator: (value: string) => boolean;
|
|
56
56
|
};
|
|
57
57
|
}, {
|
|
58
|
-
checkboxRef: import(
|
|
59
|
-
}, unknown, {}, {}, import(
|
|
58
|
+
checkboxRef: import("vue").Ref<null>;
|
|
59
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
60
|
text: {
|
|
61
61
|
type: StringConstructor;
|
|
62
62
|
required: true;
|
|
@@ -3,50 +3,50 @@ import { resolveComponent as m, openBlock as l, createElementBlock as i, createE
|
|
|
3
3
|
import "./Item.vue3.js";
|
|
4
4
|
import k from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const d = ["src"];
|
|
6
|
-
function C(
|
|
6
|
+
function C(e, o, c, u, f, v) {
|
|
7
7
|
const s = m("AtCheckbox");
|
|
8
|
-
return
|
|
8
|
+
return e.type === "text" ? (l(), i("div", {
|
|
9
9
|
key: 0,
|
|
10
10
|
role: "option",
|
|
11
11
|
class: "AT-Item_container",
|
|
12
|
-
onClick:
|
|
12
|
+
onClick: o[0] || (o[0] = (...n) => e.onClick && e.onClick(...n))
|
|
13
13
|
}, [
|
|
14
|
-
t("span", null, r(
|
|
15
|
-
])) :
|
|
14
|
+
t("span", null, r(e.text), 1)
|
|
15
|
+
])) : e.type === "with-icon" ? (l(), i("div", {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "AT-Item_container",
|
|
18
18
|
role: "option",
|
|
19
|
-
onClick:
|
|
19
|
+
onClick: o[1] || (o[1] = (...n) => e.onClick && e.onClick(...n))
|
|
20
20
|
}, [
|
|
21
21
|
t("img", {
|
|
22
22
|
alt: "ícone do item",
|
|
23
|
-
src:
|
|
23
|
+
src: e.icon
|
|
24
24
|
}, null, 8, d),
|
|
25
|
-
t("span", null, r(
|
|
25
|
+
t("span", null, r(e.text), 1)
|
|
26
26
|
])) : (l(), i("div", {
|
|
27
27
|
key: 2,
|
|
28
28
|
role: "option",
|
|
29
29
|
class: "AT-Item_container",
|
|
30
|
-
onClick:
|
|
30
|
+
onClick: o[3] || (o[3] = (...n) => e.onClick && e.onClick(...n))
|
|
31
31
|
}, [
|
|
32
32
|
a(s, {
|
|
33
33
|
ref: "checkboxRef",
|
|
34
34
|
size: "12",
|
|
35
|
-
"model-value":
|
|
36
|
-
onClick:
|
|
37
|
-
|
|
35
|
+
"model-value": e.checkboxValue,
|
|
36
|
+
onClick: o[2] || (o[2] = (n) => {
|
|
37
|
+
e.onCheckboxChange({
|
|
38
38
|
...n,
|
|
39
39
|
item: {
|
|
40
|
-
text:
|
|
41
|
-
value:
|
|
40
|
+
text: e.text,
|
|
41
|
+
value: e.value
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
})
|
|
45
45
|
}, null, 8, ["model-value"]),
|
|
46
|
-
t("span", null, r(
|
|
46
|
+
t("span", null, r(e.text), 1)
|
|
47
47
|
]));
|
|
48
48
|
}
|
|
49
|
-
const $ = /* @__PURE__ */ k(p, [["render", C], ["__scopeId", "data-v-
|
|
49
|
+
const $ = /* @__PURE__ */ k(p, [["render", C], ["__scopeId", "data-v-d5eecf5e"]]);
|
|
50
50
|
export {
|
|
51
51
|
$ as default
|
|
52
52
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { PropType } from
|
|
2
|
-
import { SelectItemProps } from
|
|
3
|
-
import { SelectCoreProps } from
|
|
4
|
-
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
import type { SelectItemProps } from "../Item/Item";
|
|
3
|
+
import type { SelectCoreProps } from "../Select.core";
|
|
5
4
|
export interface SelectMultipleProps extends SelectCoreProps {
|
|
6
5
|
}
|
|
7
|
-
declare const _default: import(
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
7
|
label: {
|
|
9
8
|
type: StringConstructor;
|
|
10
9
|
default: string;
|
|
@@ -43,34 +42,34 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
42
|
onSelectedValueChange: (item: SelectItemProps, isChecked: boolean) => void;
|
|
44
43
|
onSelectedItemClick: (selectedValue: string, isOpen?: boolean) => void;
|
|
45
44
|
rotateIcon: () => void;
|
|
46
|
-
myItems: import(
|
|
45
|
+
myItems: import("vue").Ref<{
|
|
47
46
|
text: string;
|
|
48
47
|
value: string;
|
|
49
48
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
50
|
-
onCheckboxChange?: ((payload: import(
|
|
49
|
+
onCheckboxChange?: ((payload: import("../Item/Item").CheckboxProps) => void) | undefined;
|
|
51
50
|
checkboxValue?: boolean | undefined;
|
|
52
51
|
isSelected?: boolean | undefined;
|
|
53
52
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
54
53
|
icon?: string | undefined;
|
|
55
54
|
}[]>;
|
|
56
|
-
values: import(
|
|
57
|
-
selectedValues: import(
|
|
55
|
+
values: import("vue").ComputedRef<string>;
|
|
56
|
+
selectedValues: import("vue").Ref<{
|
|
58
57
|
text: string;
|
|
59
58
|
value: string;
|
|
60
59
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
61
|
-
onCheckboxChange?: ((payload: import(
|
|
60
|
+
onCheckboxChange?: ((payload: import("../Item/Item").CheckboxProps) => void) | undefined;
|
|
62
61
|
checkboxValue?: boolean | undefined;
|
|
63
62
|
isSelected?: boolean | undefined;
|
|
64
63
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
65
64
|
icon?: string | undefined;
|
|
66
65
|
}[]>;
|
|
67
|
-
isInternalChange: import(
|
|
68
|
-
isOpen: import(
|
|
69
|
-
containerRef: import(
|
|
66
|
+
isInternalChange: import("vue").Ref<boolean>;
|
|
67
|
+
isOpen: import("vue").Ref<boolean>;
|
|
68
|
+
containerRef: import("vue").Ref<HTMLDivElement | null>;
|
|
70
69
|
icons: {
|
|
71
70
|
indicatorSvg: string;
|
|
72
71
|
};
|
|
73
|
-
}, unknown, {}, {}, import(
|
|
72
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:items" | "update:selectedItems")[], "update:modelValue" | "update:items" | "update:selectedItems", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
73
|
label: {
|
|
75
74
|
type: StringConstructor;
|
|
76
75
|
default: string;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as i, openBlock as o, createElementBlock as
|
|
1
|
+
import p from "./Select.multiple.vue2.js";
|
|
2
|
+
import { resolveComponent as i, openBlock as o, createElementBlock as n, createVNode as u, Fragment as m, renderList as k, createBlock as b, createCommentVNode as C } from "vue";
|
|
3
3
|
import "./Select.multiple.vue3.js";
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import h from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const v = ["aria-disabled"], f = {
|
|
6
6
|
key: 0,
|
|
7
7
|
role: "group",
|
|
8
8
|
"aria-orientation": "vertical",
|
|
9
9
|
tabindex: "-1",
|
|
10
10
|
class: "AT-SELECT_items-container"
|
|
11
11
|
};
|
|
12
|
-
function g(e,
|
|
12
|
+
function g(e, l, I, S, y, A) {
|
|
13
13
|
const c = i("AtSingleCore"), d = i("AtItem");
|
|
14
|
-
return o(),
|
|
14
|
+
return o(), n("div", {
|
|
15
15
|
ref: "containerRef",
|
|
16
16
|
class: "AT-SELECT_wrapper",
|
|
17
17
|
"aria-disabled": e.disabled,
|
|
18
|
-
onClick:
|
|
18
|
+
onClick: l[0] || (l[0] = (t) => {
|
|
19
19
|
e.isOpen = !e.isOpen, e.rotateIcon();
|
|
20
20
|
})
|
|
21
21
|
}, [
|
|
22
|
-
|
|
22
|
+
u(c, {
|
|
23
23
|
"selected-items": e.selectedValues,
|
|
24
24
|
label: e.label,
|
|
25
25
|
"on-selected-item-click": e.onSelectedItemClick,
|
|
@@ -30,8 +30,8 @@ function g(e, n, I, S, y, A) {
|
|
|
30
30
|
required: e.required,
|
|
31
31
|
"is-multiple": !0
|
|
32
32
|
}, null, 8, ["selected-items", "label", "on-selected-item-click", "items", "disabled", "separator", "required"]),
|
|
33
|
-
e.isOpen ? (o(),
|
|
34
|
-
(o(!0),
|
|
33
|
+
e.isOpen ? (o(), n("div", f, [
|
|
34
|
+
(o(!0), n(m, null, k(e.myItems, (t) => (o(), b(d, {
|
|
35
35
|
key: t.value,
|
|
36
36
|
text: t.text,
|
|
37
37
|
value: t.value,
|
|
@@ -46,13 +46,13 @@ function g(e, n, I, S, y, A) {
|
|
|
46
46
|
var s;
|
|
47
47
|
e.isInternalChange = !0;
|
|
48
48
|
const r = a.value;
|
|
49
|
-
(s = t.onCheckboxChange) == null || s.call(t, { ...a, item: t }), await e.onSelectedValueChange({ ...t }, r),
|
|
49
|
+
t.isSelected = r, (s = t.onCheckboxChange) == null || s.call(t, { ...a, item: t }), await e.onSelectedValueChange({ ...t }, r), e.$emit("update:items", e.myItems), e.isInternalChange = !1;
|
|
50
50
|
}
|
|
51
51
|
}, null, 8, ["text", "value", "icon", "data-text", "checkbox-value", "on-click", "on-checkbox-change"]))), 128))
|
|
52
|
-
])) :
|
|
53
|
-
], 8,
|
|
52
|
+
])) : C("", !0)
|
|
53
|
+
], 8, v);
|
|
54
54
|
}
|
|
55
|
-
const q = /* @__PURE__ */
|
|
55
|
+
const q = /* @__PURE__ */ h(p, [["render", g], ["__scopeId", "data-v-a080c9a6"]]);
|
|
56
56
|
export {
|
|
57
57
|
q as default
|
|
58
58
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, ref as
|
|
1
|
+
import { defineComponent as g, ref as c, provide as A, computed as h, watch as S, onMounted as w, onUnmounted as C } from "vue";
|
|
2
2
|
import _ from "../Item/Item.vue.js";
|
|
3
3
|
import b from "../Select.core.vue.js";
|
|
4
4
|
import k from "../imgs/indicator.svg.js";
|
|
@@ -47,9 +47,9 @@ const j = g({
|
|
|
47
47
|
},
|
|
48
48
|
emits: ["update:items", "update:selectedItems", "update:modelValue"],
|
|
49
49
|
setup(n, i) {
|
|
50
|
-
const
|
|
50
|
+
const d = c(!1), f = c(null), u = c(n.items), s = c(!1);
|
|
51
51
|
A("error", n.error);
|
|
52
|
-
const o =
|
|
52
|
+
const o = c([]), I = h(
|
|
53
53
|
() => [...o.value].map((e) => e.value).join(n.separator)
|
|
54
54
|
), m = (e, a) => {
|
|
55
55
|
const l = u.value.find(
|
|
@@ -57,13 +57,13 @@ const j = g({
|
|
|
57
57
|
);
|
|
58
58
|
if (a) {
|
|
59
59
|
if (o.value.find(
|
|
60
|
-
(
|
|
60
|
+
(r) => r.value === e.value
|
|
61
61
|
))
|
|
62
62
|
return;
|
|
63
63
|
o.value.push(e), l && (l.isSelected = !0);
|
|
64
64
|
} else {
|
|
65
65
|
const t = o.value.findIndex(
|
|
66
|
-
(
|
|
66
|
+
(r) => r.value === e.value
|
|
67
67
|
);
|
|
68
68
|
if (t === -1)
|
|
69
69
|
return;
|
|
@@ -78,23 +78,23 @@ const j = g({
|
|
|
78
78
|
);
|
|
79
79
|
}, V = (e, a = !0) => {
|
|
80
80
|
const l = n.items.find((t) => t.value === e);
|
|
81
|
-
l && (m(l, !1),
|
|
81
|
+
l && (m(l, !1), d.value = a, v());
|
|
82
82
|
}, p = (e) => {
|
|
83
83
|
var l;
|
|
84
84
|
const a = e.target;
|
|
85
|
-
(l = f.value) != null && l.contains(a) || (
|
|
85
|
+
(l = f.value) != null && l.contains(a) || (d.value = !1, v());
|
|
86
86
|
}, y = async (e) => {
|
|
87
|
-
if (!
|
|
87
|
+
if (!s.value) {
|
|
88
88
|
u.value.forEach((a) => a.isSelected = !1), o.value = [];
|
|
89
89
|
for (const a of e) {
|
|
90
|
-
const l = typeof a == "string" ? a : a.value, t = u.value.find((
|
|
90
|
+
const l = typeof a == "string" ? a : a.value, t = u.value.find((r) => r.value === l);
|
|
91
91
|
if (!t) {
|
|
92
92
|
console.warn(
|
|
93
93
|
`O valor ${a} ao qual você incluiu no v-model não está contida nos itens disponíveis`
|
|
94
94
|
);
|
|
95
95
|
continue;
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
s.value = !0, await m(t, !0), t.isSelected = !0, s.value = !1;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
};
|
|
@@ -109,12 +109,12 @@ const j = g({
|
|
|
109
109
|
const v = () => {
|
|
110
110
|
var a;
|
|
111
111
|
const e = (a = f.value) == null ? void 0 : a.querySelector(".AT_INPUT_icon_slot");
|
|
112
|
-
e instanceof HTMLElement && e.setAttribute("data-rotate",
|
|
112
|
+
e instanceof HTMLElement && e.setAttribute("data-rotate", d.value.toString());
|
|
113
113
|
};
|
|
114
114
|
return S(
|
|
115
115
|
() => n.items,
|
|
116
116
|
(e) => {
|
|
117
|
-
u.value = e;
|
|
117
|
+
s.value || (u.value = e);
|
|
118
118
|
}
|
|
119
119
|
), {
|
|
120
120
|
onSelectedValueChange: m,
|
|
@@ -123,8 +123,8 @@ const j = g({
|
|
|
123
123
|
myItems: u,
|
|
124
124
|
values: I,
|
|
125
125
|
selectedValues: o,
|
|
126
|
-
isInternalChange:
|
|
127
|
-
isOpen:
|
|
126
|
+
isInternalChange: s,
|
|
127
|
+
isOpen: d,
|
|
128
128
|
containerRef: f,
|
|
129
129
|
icons: {
|
|
130
130
|
indicatorSvg: k
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { PropType } from
|
|
2
|
-
import { SelectItemProps } from
|
|
3
|
-
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import { type SelectItemProps } from "./Item/Item";
|
|
4
3
|
export interface SelectCoreProps {
|
|
5
4
|
defaultValue: string | null;
|
|
6
5
|
label: string;
|
|
@@ -9,7 +8,7 @@ export interface SelectCoreProps {
|
|
|
9
8
|
separator?: string;
|
|
10
9
|
onSelectedItemClick: (separatedValue: string) => void;
|
|
11
10
|
}
|
|
12
|
-
declare const _default: import(
|
|
11
|
+
declare const _default: import("vue").DefineComponent<{
|
|
13
12
|
value: {
|
|
14
13
|
type: PropType<string | SelectItemProps>;
|
|
15
14
|
};
|
|
@@ -49,13 +48,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
49
48
|
}, {
|
|
50
49
|
id: string;
|
|
51
50
|
handleValue: () => string;
|
|
52
|
-
getError: import(
|
|
51
|
+
getError: import("vue").ComputedRef<{
|
|
53
52
|
message: string;
|
|
54
53
|
value: boolean;
|
|
55
54
|
} | undefined>;
|
|
56
|
-
atInput: import(
|
|
57
|
-
inputModelValue: import(
|
|
58
|
-
}, unknown, {}, {}, import(
|
|
55
|
+
atInput: import("vue").Ref<null>;
|
|
56
|
+
inputModelValue: import("vue").Ref<string>;
|
|
57
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
58
|
value: {
|
|
60
59
|
type: PropType<string | SelectItemProps>;
|
|
61
60
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { PropType } from
|
|
2
|
-
import { SelectItemProps } from
|
|
3
|
-
import { SelectCoreProps } from
|
|
4
|
-
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { SelectItemProps } from "../Item/Item";
|
|
3
|
+
import type { SelectCoreProps } from "../Select.core";
|
|
5
4
|
export interface SelectSingleProps extends SelectCoreProps {
|
|
6
5
|
}
|
|
7
|
-
declare const _default: import(
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
7
|
modelValue: {
|
|
9
8
|
type: PropType<string | SelectItemProps>;
|
|
10
9
|
required: false;
|
|
@@ -34,22 +33,22 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
34
33
|
};
|
|
35
34
|
}, {
|
|
36
35
|
onSelectedValueChange: (item: SelectItemProps) => void;
|
|
37
|
-
selectedValue: import(
|
|
36
|
+
selectedValue: import("vue").Ref<string | {
|
|
38
37
|
text: string;
|
|
39
38
|
value: string;
|
|
40
39
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
41
|
-
onCheckboxChange?: ((payload: import(
|
|
40
|
+
onCheckboxChange?: ((payload: import("../Item/Item").CheckboxProps) => void) | undefined;
|
|
42
41
|
checkboxValue?: boolean | undefined;
|
|
43
42
|
isSelected?: boolean | undefined;
|
|
44
43
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
45
44
|
icon?: string | undefined;
|
|
46
45
|
}>;
|
|
47
|
-
open: import(
|
|
48
|
-
valueOfModel: import(
|
|
49
|
-
containerRef: import(
|
|
50
|
-
isInternalChange: import(
|
|
46
|
+
open: import("vue").Ref<boolean>;
|
|
47
|
+
valueOfModel: import("vue").ComputedRef<string>;
|
|
48
|
+
containerRef: import("vue").Ref<HTMLDivElement | null>;
|
|
49
|
+
isInternalChange: import("vue").Ref<boolean>;
|
|
51
50
|
rotateIcon: () => void;
|
|
52
|
-
}, unknown, {}, {}, import(
|
|
51
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
52
|
modelValue: {
|
|
54
53
|
type: PropType<string | SelectItemProps>;
|
|
55
54
|
required: false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as l, openBlock as t, createElementBlock as r, createVNode as
|
|
1
|
+
import p from "./Select.single.vue2.js";
|
|
2
|
+
import { resolveComponent as l, openBlock as t, createElementBlock as r, createVNode as u, withModifiers as c, Fragment as v, renderList as f, createBlock as C, createCommentVNode as k } from "vue";
|
|
3
3
|
import "./Select.single.vue3.js";
|
|
4
4
|
import m from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
function g(e, o, A, I, S, y) {
|
|
@@ -11,7 +11,7 @@ function g(e, o, A, I, S, y) {
|
|
|
11
11
|
e.open = !e.open, e.rotateIcon();
|
|
12
12
|
})
|
|
13
13
|
}, [
|
|
14
|
-
|
|
14
|
+
u(i, {
|
|
15
15
|
value: e.selectedValue,
|
|
16
16
|
required: e.required,
|
|
17
17
|
label: e.label,
|
|
@@ -35,15 +35,15 @@ function g(e, o, A, I, S, y) {
|
|
|
35
35
|
icon: n.icon,
|
|
36
36
|
"aria-selected": n.value === e.valueOfModel,
|
|
37
37
|
"data-text": n.text,
|
|
38
|
-
"on-click": async (
|
|
38
|
+
"on-click": async (d) => {
|
|
39
39
|
var a;
|
|
40
|
-
e.isInternalChange = !0, await e.onSelectedValueChange(n), (a = n.onClick) == null || a.call(n,
|
|
40
|
+
e.isInternalChange = !0, await e.onSelectedValueChange(n), (a = n.onClick) == null || a.call(n, d), e.isInternalChange = !1;
|
|
41
41
|
}
|
|
42
42
|
}, null, 8, ["text", "value", "type", "icon", "aria-selected", "data-text", "on-click"]))), 128))
|
|
43
43
|
])) : k("", !0)
|
|
44
44
|
], 512);
|
|
45
45
|
}
|
|
46
|
-
const V = /* @__PURE__ */ m(
|
|
46
|
+
const V = /* @__PURE__ */ m(p, [["render", g], ["__scopeId", "data-v-95a0dded"]]);
|
|
47
47
|
export {
|
|
48
48
|
V as default
|
|
49
49
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const M = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNSIgdmlld0JveD0iMCAwIDEwIDUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+
|
|
1
|
+
const M = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNSIgdmlld0JveD0iMCAwIDEwIDUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQo8cGF0aCBkPSJNOC45MTQxNiAwLjc4OTE4N0M4Ljg1OTkzIDAuNzM0NTEyIDguNzk1NDIgMC42OTExMTUgOC43MjQzMyAwLjY2MTVDOC42NTMyNSAwLjYzMTg4NSA4LjU3NyAwLjYxNjYzOCA4LjUgMC42MTY2MzhDOC40MjI5OSAwLjYxNjYzOCA4LjM0Njc1IDAuNjMxODg1IDguMjc1NjYgMC42NjE1QzguMjA0NTggMC42OTExMTUgOC4xNDAwNiAwLjczNDUxMiA4LjA4NTgzIDAuNzg5MTg3TDUuNDE0MTYgMy40NjA4NUM1LjM1OTk0IDMuNTE1NTMgNS4yOTU0MiAzLjU1ODkzIDUuMjI0MzMgMy41ODg1NEM1LjE1MzI1IDMuNjE4MTYgNS4wNzcgMy42MzM0IDUgMy42MzM0QzQuOTIyOTkgMy42MzM0IDQuODQ2NzUgMy42MTgxNiA0Ljc3NTY2IDMuNTg4NTRDNC43MDQ1OCAzLjU1ODkzIDQuNjQwMDYgMy41MTU1MyA0LjU4NTgzIDMuNDYwODVMMS45MTQxNiAwLjc4OTE4N0MxLjg1OTk0IDAuNzM0NTEyIDEuNzk1NDIgMC42OTExMTUgMS43MjQzMyAwLjY2MTVDMS42NTMyNSAwLjYzMTg4NSAxLjU3NzAxIDAuNjE2NjM4IDEuNSAwLjYxNjYzOEMxLjQyMjk5IDAuNjE2NjM4IDEuMzQ2NzUgMC42MzE4ODUgMS4yNzU2NiAwLjY2MTVDMS4yMDQ1OCAwLjY5MTExNSAxLjE0MDA2IDAuNzM0NTEyIDEuMDg1ODMgMC43ODkxODdDMC45NzcxODUgMC44OTg0ODIgMC45MTYyMDMgMS4wNDYzMyAwLjkxNjIwMyAxLjIwMDQ0QzAuOTE2MjAzIDEuMzU0NTUgMC45NzcxODUgMS41MDIzOSAxLjA4NTgzIDEuNjExNjlMMy43NjMzMyA0LjI4OTE5QzQuMDkxNDYgNC42MTY5IDQuNTM2MjUgNC44MDA5OCA1IDQuODAwOThDNS40NjM3NSA0LjgwMDk4IDUuOTA4NTQgNC42MTY5IDYuMjM2NjYgNC4yODkxOUw4LjkxNDE2IDEuNjExNjlDOS4wMjI4MSAxLjUwMjM5IDkuMDgzNzkgMS4zNTQ1NSA5LjA4Mzc5IDEuMjAwNDRDOS4wODM3OSAxLjA0NjMzIDkuMDIyODEgMC44OTg0ODIgOC45MTQxNiAwLjc4OTE4N1oiIGZpbGw9IiNBMEEwQTAiLz4NCjwvc3ZnPg0K";
|
|
2
2
|
export {
|
|
3
3
|
M as default
|
|
4
4
|
};
|
package/dist/Select/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { SelectItemProps as ISelectItemProps } from
|
|
2
|
-
import { SelectCoreProps } from
|
|
3
|
-
|
|
1
|
+
import type { SelectItemProps as ISelectItemProps } from "./Item/Item";
|
|
2
|
+
import type { SelectCoreProps } from "./Select.core";
|
|
4
3
|
export type SelectProps = SelectCoreProps;
|
|
5
4
|
export type SelectItemProps = ISelectItemProps;
|
|
6
5
|
export declare const AtSelect: {
|
|
7
|
-
Single: import(
|
|
6
|
+
Single: import("vue").DefineComponent<{
|
|
8
7
|
modelValue: {
|
|
9
|
-
type: import(
|
|
8
|
+
type: import("vue").PropType<string | ISelectItemProps>;
|
|
10
9
|
required: false;
|
|
11
10
|
default: string;
|
|
12
11
|
};
|
|
@@ -34,24 +33,24 @@ export declare const AtSelect: {
|
|
|
34
33
|
};
|
|
35
34
|
}, {
|
|
36
35
|
onSelectedValueChange: (item: ISelectItemProps) => void;
|
|
37
|
-
selectedValue: import(
|
|
36
|
+
selectedValue: import("vue").Ref<string | {
|
|
38
37
|
text: string;
|
|
39
38
|
value: string;
|
|
40
39
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
41
|
-
onCheckboxChange?: ((payload: import(
|
|
40
|
+
onCheckboxChange?: ((payload: import("./Item/Item").CheckboxProps) => void) | undefined;
|
|
42
41
|
checkboxValue?: boolean | undefined;
|
|
43
42
|
isSelected?: boolean | undefined;
|
|
44
43
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
45
44
|
icon?: string | undefined;
|
|
46
45
|
}>;
|
|
47
|
-
open: import(
|
|
48
|
-
valueOfModel: import(
|
|
49
|
-
containerRef: import(
|
|
50
|
-
isInternalChange: import(
|
|
46
|
+
open: import("vue").Ref<boolean>;
|
|
47
|
+
valueOfModel: import("vue").ComputedRef<string>;
|
|
48
|
+
containerRef: import("vue").Ref<HTMLDivElement | null>;
|
|
49
|
+
isInternalChange: import("vue").Ref<boolean>;
|
|
51
50
|
rotateIcon: () => void;
|
|
52
|
-
}, unknown, {}, {}, import(
|
|
51
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
52
|
modelValue: {
|
|
54
|
-
type: import(
|
|
53
|
+
type: import("vue").PropType<string | ISelectItemProps>;
|
|
55
54
|
required: false;
|
|
56
55
|
default: string;
|
|
57
56
|
};
|
|
@@ -87,13 +86,13 @@ export declare const AtSelect: {
|
|
|
87
86
|
items: ISelectItemProps[];
|
|
88
87
|
emitValue: boolean;
|
|
89
88
|
}, {}>;
|
|
90
|
-
Multiple: import(
|
|
89
|
+
Multiple: import("vue").DefineComponent<{
|
|
91
90
|
label: {
|
|
92
91
|
type: StringConstructor;
|
|
93
92
|
default: string;
|
|
94
93
|
};
|
|
95
94
|
modelValue: {
|
|
96
|
-
type: import(
|
|
95
|
+
type: import("vue").PropType<string[] | ISelectItemProps[]>;
|
|
97
96
|
default: () => ISelectItemProps[];
|
|
98
97
|
};
|
|
99
98
|
disabled: {
|
|
@@ -126,40 +125,40 @@ export declare const AtSelect: {
|
|
|
126
125
|
onSelectedValueChange: (item: ISelectItemProps, isChecked: boolean) => void;
|
|
127
126
|
onSelectedItemClick: (selectedValue: string, isOpen?: boolean) => void;
|
|
128
127
|
rotateIcon: () => void;
|
|
129
|
-
myItems: import(
|
|
128
|
+
myItems: import("vue").Ref<{
|
|
130
129
|
text: string;
|
|
131
130
|
value: string;
|
|
132
131
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
133
|
-
onCheckboxChange?: ((payload: import(
|
|
132
|
+
onCheckboxChange?: ((payload: import("./Item/Item").CheckboxProps) => void) | undefined;
|
|
134
133
|
checkboxValue?: boolean | undefined;
|
|
135
134
|
isSelected?: boolean | undefined;
|
|
136
135
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
137
136
|
icon?: string | undefined;
|
|
138
137
|
}[]>;
|
|
139
|
-
values: import(
|
|
140
|
-
selectedValues: import(
|
|
138
|
+
values: import("vue").ComputedRef<string>;
|
|
139
|
+
selectedValues: import("vue").Ref<{
|
|
141
140
|
text: string;
|
|
142
141
|
value: string;
|
|
143
142
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
144
|
-
onCheckboxChange?: ((payload: import(
|
|
143
|
+
onCheckboxChange?: ((payload: import("./Item/Item").CheckboxProps) => void) | undefined;
|
|
145
144
|
checkboxValue?: boolean | undefined;
|
|
146
145
|
isSelected?: boolean | undefined;
|
|
147
146
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
148
147
|
icon?: string | undefined;
|
|
149
148
|
}[]>;
|
|
150
|
-
isInternalChange: import(
|
|
151
|
-
isOpen: import(
|
|
152
|
-
containerRef: import(
|
|
149
|
+
isInternalChange: import("vue").Ref<boolean>;
|
|
150
|
+
isOpen: import("vue").Ref<boolean>;
|
|
151
|
+
containerRef: import("vue").Ref<HTMLDivElement | null>;
|
|
153
152
|
icons: {
|
|
154
153
|
indicatorSvg: string;
|
|
155
154
|
};
|
|
156
|
-
}, unknown, {}, {}, import(
|
|
155
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:items" | "update:selectedItems")[], "update:modelValue" | "update:items" | "update:selectedItems", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
157
156
|
label: {
|
|
158
157
|
type: StringConstructor;
|
|
159
158
|
default: string;
|
|
160
159
|
};
|
|
161
160
|
modelValue: {
|
|
162
|
-
type: import(
|
|
161
|
+
type: import("vue").PropType<string[] | ISelectItemProps[]>;
|
|
163
162
|
default: () => ISelectItemProps[];
|
|
164
163
|
};
|
|
165
164
|
disabled: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface SkeletonProps {
|
|
2
2
|
}
|
|
3
|
-
declare const _default: import(
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
width: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
@@ -9,7 +9,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
|
-
}, void, unknown, {}, {}, import(
|
|
12
|
+
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
width: {
|
|
14
14
|
type: StringConstructor;
|
|
15
15
|
default: string;
|
package/dist/Skeleton/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as AtSkeleton, type SkeletonProps } from
|
|
1
|
+
export { default as AtSkeleton, type SkeletonProps } from "./Skeleton";
|
|
@@ -2,7 +2,7 @@ import S from "./Stepper.vue2.js";
|
|
|
2
2
|
import { resolveComponent as m, openBlock as s, createElementBlock as p, normalizeClass as t, createElementVNode as a, normalizeStyle as E, Fragment as h, renderList as v, createBlock as i, resolveDynamicComponent as l, createCommentVNode as n, toDisplayString as c, createVNode as $, withCtx as d, createTextVNode as u } from "vue";
|
|
3
3
|
import "./Stepper.vue3.js";
|
|
4
4
|
import C from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
function
|
|
5
|
+
function b(e, A, I, g, w, N) {
|
|
6
6
|
const y = m("AtParagraph"), f = m("AtTitle");
|
|
7
7
|
return s(), p("div", {
|
|
8
8
|
class: t(e.$props.direction === "vertical" ? "stepper-vertical" : "")
|
|
@@ -107,7 +107,7 @@ function A(e, I, b, g, w, N) {
|
|
|
107
107
|
], 2)
|
|
108
108
|
], 2);
|
|
109
109
|
}
|
|
110
|
-
const P = /* @__PURE__ */ C(S, [["render",
|
|
110
|
+
const P = /* @__PURE__ */ C(S, [["render", b], ["__scopeId", "data-v-0b70b3dd"]]);
|
|
111
111
|
export {
|
|
112
112
|
P as default
|
|
113
113
|
};
|
package/dist/Stepper/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type StepperProps, default as Stepper } from
|
|
1
|
+
export { type StepperProps, default as Stepper } from "./Stepper";
|