@agrotools1/at-components 0.6.26 → 0.6.29
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 +9 -8
- 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 +4 -3
- 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 +9 -8
- package/dist/DataTable/DataTable.vue.js +5 -5
- package/dist/DataTable/index.d.ts +37 -37
- package/dist/DatePicker/DatePicker.d.ts +22 -21
- package/dist/DatePicker/DatePicker.scss.js +2 -2
- package/dist/DatePicker/DatePicker.vue.js +5 -5
- package/dist/DatePicker/DatePicker.vue2.js +89 -85
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.d.ts +6 -6
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.helper.d.ts +2 -1
- 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 +7 -6
- 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 +13 -12
- package/dist/Dropdown/Checklist/Dropdown.Checklist.vue.js +20 -20
- package/dist/Dropdown/Checklist/draggable.d.ts +2 -1
- package/dist/Dropdown/Dropdown.core.d.ts +9 -8
- 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 +5 -4
- 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 +2 -1
- package/dist/Filter/components/Filter.vue.js +19 -19
- package/dist/Filter/index.d.ts +4 -3
- package/dist/Filter/tests/mocks.d.ts +3 -2
- 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 +356 -355
- 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 +1695 -1694
- 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 +2 -1
- package/dist/List/components/List.vue.js +2 -2
- package/dist/List/index.d.ts +4 -3
- package/dist/List/tests/mocks.d.ts +2 -1
- package/dist/Loading/Loading.d.ts +2 -2
- package/dist/Loading/index.d.ts +1 -1
- package/dist/Menu/Menu.d.ts +4 -3
- 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 +9 -8
- package/dist/Modal/Modal.vue.js +16 -16
- package/dist/Modal/Modal.vue2.js +4 -2
- 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 +4 -3
- 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 +7 -6
- package/dist/Search/Search.vue.js +4 -4
- package/dist/Search/index.d.ts +1 -1
- package/dist/Search/test.mocks.d.ts +2 -1
- package/dist/Search/utils.d.ts +2 -1
- 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 +14 -13
- package/dist/Select/Multiple/Select.multiple.vue.js +10 -10
- package/dist/Select/Select.core.d.ts +8 -7
- package/dist/Select/Single/Select.single.d.ts +12 -11
- 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 +25 -24
- package/dist/Skeleton/Skeleton.d.ts +2 -2
- package/dist/Skeleton/index.d.ts +1 -1
- package/dist/Stepper/Stepper.vue.js +37 -37
- package/dist/Stepper/Stepper.vue2.js +53 -48
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/TableConfig/TableConfig.d.ts +11 -10
- package/dist/TableConfig/TableConfig.vue.js +2 -2
- package/dist/TableConfig/index.d.ts +1 -1
- package/dist/TableConfig/test/mocks.d.ts +2 -1
- 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 +9 -8
- 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 +7 -6
- 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 +12 -11
- package/dist/Tooltip/Tooltip.vue.js +4 -4
- package/dist/Tooltip/Tooltip.vue2.js +48 -50
- package/dist/Tooltip/Tooltip.vue3.js +2 -2
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Upload/MultipleUpload/MultipleUpload.d.ts +8 -7
- package/dist/Upload/MultipleUpload/MultipleUpload.vue.js +5 -5
- package/dist/Upload/MultipleUpload/MultipleUpload.vue2.js +55 -44
- package/dist/Upload/SingleUpload/SingleUpload.d.ts +6 -5
- package/dist/Upload/SingleUpload/SingleUpload.vue.js +4 -4
- package/dist/Upload/SingleUpload/SingleUpload.vue2.js +45 -34
- package/dist/Upload/Upload.d.ts +4 -3
- 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 +6 -5
- package/dist/Upload/UploaderInput/UploaderInput.vue.js +1 -1
- package/dist/Upload/index.d.ts +1 -1
- package/dist/index.d.ts +33 -32
- package/dist/index.js +36 -34
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/Search/utils.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { DropdownListItem } from '../Dropdown/Dropdown.types';
|
|
2
|
+
|
|
2
3
|
declare function filterAutoCompleteList(autoCompleteList: DropdownListItem[] | undefined, value: string): DropdownListItem[] | undefined;
|
|
3
4
|
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(o, e, c, u, f, v) {
|
|
7
7
|
const s = m("AtCheckbox");
|
|
8
|
-
return
|
|
8
|
+
return o.type === "text" ? (l(), i("div", {
|
|
9
9
|
key: 0,
|
|
10
10
|
role: "option",
|
|
11
11
|
class: "AT-Item_container",
|
|
12
|
-
onClick:
|
|
12
|
+
onClick: e[0] || (e[0] = (...n) => o.onClick && o.onClick(...n))
|
|
13
13
|
}, [
|
|
14
|
-
t("span", null, r(
|
|
15
|
-
])) :
|
|
14
|
+
t("span", null, r(o.text), 1)
|
|
15
|
+
])) : o.type === "with-icon" ? (l(), i("div", {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "AT-Item_container",
|
|
18
18
|
role: "option",
|
|
19
|
-
onClick:
|
|
19
|
+
onClick: e[1] || (e[1] = (...n) => o.onClick && o.onClick(...n))
|
|
20
20
|
}, [
|
|
21
21
|
t("img", {
|
|
22
22
|
alt: "ícone do item",
|
|
23
|
-
src:
|
|
23
|
+
src: o.icon
|
|
24
24
|
}, null, 8, d),
|
|
25
|
-
t("span", null, r(
|
|
25
|
+
t("span", null, r(o.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: e[3] || (e[3] = (...n) => o.onClick && o.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": o.checkboxValue,
|
|
36
|
+
onClick: e[2] || (e[2] = (n) => {
|
|
37
|
+
o.onCheckboxChange({
|
|
38
38
|
...n,
|
|
39
39
|
item: {
|
|
40
|
-
text:
|
|
41
|
-
value:
|
|
40
|
+
text: o.text,
|
|
41
|
+
value: o.value
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
})
|
|
45
45
|
}, null, 8, ["model-value"]),
|
|
46
|
-
t("span", null, r(
|
|
46
|
+
t("span", null, r(o.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-889b68dc"]]);
|
|
50
50
|
export {
|
|
51
51
|
$ as default
|
|
52
52
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SelectItemProps } from '../Item/Item';
|
|
3
|
+
import { SelectCoreProps } from '../Select.core';
|
|
4
|
+
|
|
4
5
|
export interface SelectMultipleProps extends SelectCoreProps {
|
|
5
6
|
}
|
|
6
|
-
declare const _default: import(
|
|
7
|
+
declare const _default: import('vue').DefineComponent<{
|
|
7
8
|
label: {
|
|
8
9
|
type: StringConstructor;
|
|
9
10
|
default: string;
|
|
@@ -42,34 +43,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
43
|
onSelectedValueChange: (item: SelectItemProps, isChecked: boolean) => void;
|
|
43
44
|
onSelectedItemClick: (selectedValue: string, isOpen?: boolean) => void;
|
|
44
45
|
rotateIcon: () => void;
|
|
45
|
-
myItems: import(
|
|
46
|
+
myItems: import('vue').Ref<{
|
|
46
47
|
text: string;
|
|
47
48
|
value: string;
|
|
48
49
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
49
|
-
onCheckboxChange?: ((payload: import(
|
|
50
|
+
onCheckboxChange?: ((payload: import('../Item/Item').CheckboxProps) => void) | undefined;
|
|
50
51
|
checkboxValue?: boolean | undefined;
|
|
51
52
|
isSelected?: boolean | undefined;
|
|
52
53
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
53
54
|
icon?: string | undefined;
|
|
54
55
|
}[]>;
|
|
55
|
-
values: import(
|
|
56
|
-
selectedValues: import(
|
|
56
|
+
values: import('vue').ComputedRef<string>;
|
|
57
|
+
selectedValues: import('vue').Ref<{
|
|
57
58
|
text: string;
|
|
58
59
|
value: string;
|
|
59
60
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
60
|
-
onCheckboxChange?: ((payload: import(
|
|
61
|
+
onCheckboxChange?: ((payload: import('../Item/Item').CheckboxProps) => void) | undefined;
|
|
61
62
|
checkboxValue?: boolean | undefined;
|
|
62
63
|
isSelected?: boolean | undefined;
|
|
63
64
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
64
65
|
icon?: string | undefined;
|
|
65
66
|
}[]>;
|
|
66
|
-
isInternalChange: import(
|
|
67
|
-
isOpen: import(
|
|
68
|
-
containerRef: import(
|
|
67
|
+
isInternalChange: import('vue').Ref<boolean>;
|
|
68
|
+
isOpen: import('vue').Ref<boolean>;
|
|
69
|
+
containerRef: import('vue').Ref<HTMLDivElement | null>;
|
|
69
70
|
icons: {
|
|
70
71
|
indicatorSvg: string;
|
|
71
72
|
};
|
|
72
|
-
}, unknown, {}, {}, import(
|
|
73
|
+
}, 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<{
|
|
73
74
|
label: {
|
|
74
75
|
type: StringConstructor;
|
|
75
76
|
default: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import p from "./Select.multiple.vue2.js";
|
|
2
|
-
import { resolveComponent as i, openBlock as
|
|
2
|
+
import { resolveComponent as i, openBlock as a, 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
4
|
import h from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const v = ["aria-disabled"], f = {
|
|
@@ -11,7 +11,7 @@ const v = ["aria-disabled"], f = {
|
|
|
11
11
|
};
|
|
12
12
|
function g(e, l, I, S, y, A) {
|
|
13
13
|
const c = i("AtSingleCore"), d = i("AtItem");
|
|
14
|
-
return
|
|
14
|
+
return a(), n("div", {
|
|
15
15
|
ref: "containerRef",
|
|
16
16
|
class: "AT-SELECT_wrapper",
|
|
17
17
|
"aria-disabled": e.disabled,
|
|
@@ -30,29 +30,29 @@ function g(e, l, 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 ? (
|
|
34
|
-
(
|
|
33
|
+
e.isOpen ? (a(), n("div", f, [
|
|
34
|
+
(a(!0), n(m, null, k(e.myItems, (t) => (a(), b(d, {
|
|
35
35
|
key: t.value,
|
|
36
36
|
text: t.text,
|
|
37
37
|
value: t.value,
|
|
38
38
|
icon: t.icon,
|
|
39
39
|
"data-text": t.text,
|
|
40
40
|
"checkbox-value": t.isSelected,
|
|
41
|
-
"on-click": (
|
|
42
|
-
|
|
41
|
+
"on-click": (o) => {
|
|
42
|
+
o.stopPropagation();
|
|
43
43
|
},
|
|
44
44
|
type: "multiple",
|
|
45
|
-
"on-checkbox-change": async (
|
|
45
|
+
"on-checkbox-change": async (o) => {
|
|
46
46
|
var s;
|
|
47
47
|
e.isInternalChange = !0;
|
|
48
|
-
const r =
|
|
49
|
-
t.isSelected = r, (s = t.onCheckboxChange) == null || s.call(t, { ...
|
|
48
|
+
const r = o.value;
|
|
49
|
+
t.isSelected = r, (s = t.onCheckboxChange) == null || s.call(t, { ...o, 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
52
|
])) : C("", !0)
|
|
53
53
|
], 8, v);
|
|
54
54
|
}
|
|
55
|
-
const q = /* @__PURE__ */ h(p, [["render", g], ["__scopeId", "data-v-
|
|
55
|
+
const q = /* @__PURE__ */ h(p, [["render", g], ["__scopeId", "data-v-7829ec9d"]]);
|
|
56
56
|
export {
|
|
57
57
|
q as default
|
|
58
58
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SelectItemProps } from './Item/Item';
|
|
3
|
+
|
|
3
4
|
export interface SelectCoreProps {
|
|
4
5
|
defaultValue: string | null;
|
|
5
6
|
label: string;
|
|
@@ -8,7 +9,7 @@ export interface SelectCoreProps {
|
|
|
8
9
|
separator?: string;
|
|
9
10
|
onSelectedItemClick: (separatedValue: string) => void;
|
|
10
11
|
}
|
|
11
|
-
declare const _default: import(
|
|
12
|
+
declare const _default: import('vue').DefineComponent<{
|
|
12
13
|
value: {
|
|
13
14
|
type: PropType<string | SelectItemProps>;
|
|
14
15
|
};
|
|
@@ -48,13 +49,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
49
|
}, {
|
|
49
50
|
id: string;
|
|
50
51
|
handleValue: () => string;
|
|
51
|
-
getError: import(
|
|
52
|
+
getError: import('vue').ComputedRef<{
|
|
52
53
|
message: string;
|
|
53
54
|
value: boolean;
|
|
54
55
|
} | undefined>;
|
|
55
|
-
atInput: import(
|
|
56
|
-
inputModelValue: import(
|
|
57
|
-
}, unknown, {}, {}, import(
|
|
56
|
+
atInput: import('vue').Ref<null>;
|
|
57
|
+
inputModelValue: import('vue').Ref<string>;
|
|
58
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
58
59
|
value: {
|
|
59
60
|
type: PropType<string | SelectItemProps>;
|
|
60
61
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SelectItemProps } from '../Item/Item';
|
|
3
|
+
import { SelectCoreProps } from '../Select.core';
|
|
4
|
+
|
|
4
5
|
export interface SelectSingleProps extends SelectCoreProps {
|
|
5
6
|
}
|
|
6
|
-
declare const _default: import(
|
|
7
|
+
declare const _default: import('vue').DefineComponent<{
|
|
7
8
|
modelValue: {
|
|
8
9
|
type: PropType<string | SelectItemProps>;
|
|
9
10
|
required: false;
|
|
@@ -33,22 +34,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
34
|
};
|
|
34
35
|
}, {
|
|
35
36
|
onSelectedValueChange: (item: SelectItemProps) => void;
|
|
36
|
-
selectedValue: import(
|
|
37
|
+
selectedValue: import('vue').Ref<string | {
|
|
37
38
|
text: string;
|
|
38
39
|
value: string;
|
|
39
40
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
40
|
-
onCheckboxChange?: ((payload: import(
|
|
41
|
+
onCheckboxChange?: ((payload: import('../Item/Item').CheckboxProps) => void) | undefined;
|
|
41
42
|
checkboxValue?: boolean | undefined;
|
|
42
43
|
isSelected?: boolean | undefined;
|
|
43
44
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
44
45
|
icon?: string | undefined;
|
|
45
46
|
}>;
|
|
46
|
-
open: import(
|
|
47
|
-
valueOfModel: import(
|
|
48
|
-
containerRef: import(
|
|
49
|
-
isInternalChange: import(
|
|
47
|
+
open: import('vue').Ref<boolean>;
|
|
48
|
+
valueOfModel: import('vue').ComputedRef<string>;
|
|
49
|
+
containerRef: import('vue').Ref<HTMLDivElement | null>;
|
|
50
|
+
isInternalChange: import('vue').Ref<boolean>;
|
|
50
51
|
rotateIcon: () => void;
|
|
51
|
-
}, unknown, {}, {}, import(
|
|
52
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
52
53
|
modelValue: {
|
|
53
54
|
type: PropType<string | SelectItemProps>;
|
|
54
55
|
required: false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as l, openBlock as t, createElementBlock as r, createVNode as
|
|
1
|
+
import u from "./Select.single.vue2.js";
|
|
2
|
+
import { resolveComponent as l, openBlock as t, createElementBlock as r, createVNode as d, 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
|
+
d(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 (p) => {
|
|
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, p), 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(u, [["render", g], ["__scopeId", "data-v-83988597"]]);
|
|
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+CjxwYXRoIGQ9Ik04LjkxNDE2IDAuNzg5MTg3QzguODU5OTMgMC43MzQ1MTIgOC43OTU0MiAwLjY5MTExNSA4LjcyNDMzIDAuNjYxNUM4LjY1MzI1IDAuNjMxODg1IDguNTc3IDAuNjE2NjM4IDguNSAwLjYxNjYzOEM4LjQyMjk5IDAuNjE2NjM4IDguMzQ2NzUgMC42MzE4ODUgOC4yNzU2NiAwLjY2MTVDOC4yMDQ1OCAwLjY5MTExNSA4LjE0MDA2IDAuNzM0NTEyIDguMDg1ODMgMC43ODkxODdMNS40MTQxNiAzLjQ2MDg1QzUuMzU5OTQgMy41MTU1MyA1LjI5NTQyIDMuNTU4OTMgNS4yMjQzMyAzLjU4ODU0QzUuMTUzMjUgMy42MTgxNiA1LjA3NyAzLjYzMzQgNSAzLjYzMzRDNC45MjI5OSAzLjYzMzQgNC44NDY3NSAzLjYxODE2IDQuNzc1NjYgMy41ODg1NEM0LjcwNDU4IDMuNTU4OTMgNC42NDAwNiAzLjUxNTUzIDQuNTg1ODMgMy40NjA4NUwxLjkxNDE2IDAuNzg5MTg3QzEuODU5OTQgMC43MzQ1MTIgMS43OTU0MiAwLjY5MTExNSAxLjcyNDMzIDAuNjYxNUMxLjY1MzI1IDAuNjMxODg1IDEuNTc3MDEgMC42MTY2MzggMS41IDAuNjE2NjM4QzEuNDIyOTkgMC42MTY2MzggMS4zNDY3NSAwLjYzMTg4NSAxLjI3NTY2IDAuNjYxNUMxLjIwNDU4IDAuNjkxMTE1IDEuMTQwMDYgMC43MzQ1MTIgMS4wODU4MyAwLjc4OTE4N0MwLjk3NzE4NSAwLjg5ODQ4MiAwLjkxNjIwMyAxLjA0NjMzIDAuOTE2MjAzIDEuMjAwNDRDMC45MTYyMDMgMS4zNTQ1NSAwLjk3NzE4NSAxLjUwMjM5IDEuMDg1ODMgMS42MTE2OUwzLjc2MzMzIDQuMjg5MTlDNC4wOTE0NiA0LjYxNjkgNC41MzYyNSA0LjgwMDk4IDUgNC44MDA5OEM1LjQ2Mzc1IDQuODAwOTggNS45MDg1NCA0LjYxNjkgNi4yMzY2NiA0LjI4OTE5TDguOTE0MTYgMS42MTE2OUM5LjAyMjgxIDEuNTAyMzkgOS4wODM3OSAxLjM1NDU1IDkuMDgzNzkgMS4yMDA0NEM5LjA4Mzc5IDEuMDQ2MzMgOS4wMjI4MSAwLjg5ODQ4MiA4LjkxNDE2IDAuNzg5MTg3WiIgZmlsbD0iI0EwQTBBMCIvPgo8L3N2Zz4K";
|
|
2
2
|
export {
|
|
3
3
|
M as default
|
|
4
4
|
};
|
package/dist/Select/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { SelectItemProps as ISelectItemProps } from './Item/Item';
|
|
2
|
+
import { SelectCoreProps } from './Select.core';
|
|
3
|
+
|
|
3
4
|
export type SelectProps = SelectCoreProps;
|
|
4
5
|
export type SelectItemProps = ISelectItemProps;
|
|
5
6
|
export declare const AtSelect: {
|
|
6
|
-
Single: import(
|
|
7
|
+
Single: import('vue').DefineComponent<{
|
|
7
8
|
modelValue: {
|
|
8
|
-
type: import(
|
|
9
|
+
type: import('vue').PropType<string | ISelectItemProps>;
|
|
9
10
|
required: false;
|
|
10
11
|
default: string;
|
|
11
12
|
};
|
|
@@ -33,24 +34,24 @@ export declare const AtSelect: {
|
|
|
33
34
|
};
|
|
34
35
|
}, {
|
|
35
36
|
onSelectedValueChange: (item: ISelectItemProps) => void;
|
|
36
|
-
selectedValue: import(
|
|
37
|
+
selectedValue: import('vue').Ref<string | {
|
|
37
38
|
text: string;
|
|
38
39
|
value: string;
|
|
39
40
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
40
|
-
onCheckboxChange?: ((payload: import(
|
|
41
|
+
onCheckboxChange?: ((payload: import('./Item/Item').CheckboxProps) => void) | undefined;
|
|
41
42
|
checkboxValue?: boolean | undefined;
|
|
42
43
|
isSelected?: boolean | undefined;
|
|
43
44
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
44
45
|
icon?: string | undefined;
|
|
45
46
|
}>;
|
|
46
|
-
open: import(
|
|
47
|
-
valueOfModel: import(
|
|
48
|
-
containerRef: import(
|
|
49
|
-
isInternalChange: import(
|
|
47
|
+
open: import('vue').Ref<boolean>;
|
|
48
|
+
valueOfModel: import('vue').ComputedRef<string>;
|
|
49
|
+
containerRef: import('vue').Ref<HTMLDivElement | null>;
|
|
50
|
+
isInternalChange: import('vue').Ref<boolean>;
|
|
50
51
|
rotateIcon: () => void;
|
|
51
|
-
}, unknown, {}, {}, import(
|
|
52
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
52
53
|
modelValue: {
|
|
53
|
-
type: import(
|
|
54
|
+
type: import('vue').PropType<string | ISelectItemProps>;
|
|
54
55
|
required: false;
|
|
55
56
|
default: string;
|
|
56
57
|
};
|
|
@@ -86,13 +87,13 @@ export declare const AtSelect: {
|
|
|
86
87
|
items: ISelectItemProps[];
|
|
87
88
|
emitValue: boolean;
|
|
88
89
|
}, {}>;
|
|
89
|
-
Multiple: import(
|
|
90
|
+
Multiple: import('vue').DefineComponent<{
|
|
90
91
|
label: {
|
|
91
92
|
type: StringConstructor;
|
|
92
93
|
default: string;
|
|
93
94
|
};
|
|
94
95
|
modelValue: {
|
|
95
|
-
type: import(
|
|
96
|
+
type: import('vue').PropType<string[] | ISelectItemProps[]>;
|
|
96
97
|
default: () => ISelectItemProps[];
|
|
97
98
|
};
|
|
98
99
|
disabled: {
|
|
@@ -125,40 +126,40 @@ export declare const AtSelect: {
|
|
|
125
126
|
onSelectedValueChange: (item: ISelectItemProps, isChecked: boolean) => void;
|
|
126
127
|
onSelectedItemClick: (selectedValue: string, isOpen?: boolean) => void;
|
|
127
128
|
rotateIcon: () => void;
|
|
128
|
-
myItems: import(
|
|
129
|
+
myItems: import('vue').Ref<{
|
|
129
130
|
text: string;
|
|
130
131
|
value: string;
|
|
131
132
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
132
|
-
onCheckboxChange?: ((payload: import(
|
|
133
|
+
onCheckboxChange?: ((payload: import('./Item/Item').CheckboxProps) => void) | undefined;
|
|
133
134
|
checkboxValue?: boolean | undefined;
|
|
134
135
|
isSelected?: boolean | undefined;
|
|
135
136
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
136
137
|
icon?: string | undefined;
|
|
137
138
|
}[]>;
|
|
138
|
-
values: import(
|
|
139
|
-
selectedValues: import(
|
|
139
|
+
values: import('vue').ComputedRef<string>;
|
|
140
|
+
selectedValues: import('vue').Ref<{
|
|
140
141
|
text: string;
|
|
141
142
|
value: string;
|
|
142
143
|
onClick?: ((payload: MouseEvent) => void) | undefined;
|
|
143
|
-
onCheckboxChange?: ((payload: import(
|
|
144
|
+
onCheckboxChange?: ((payload: import('./Item/Item').CheckboxProps) => void) | undefined;
|
|
144
145
|
checkboxValue?: boolean | undefined;
|
|
145
146
|
isSelected?: boolean | undefined;
|
|
146
147
|
type?: "text" | "multiple" | "with-icon" | undefined;
|
|
147
148
|
icon?: string | undefined;
|
|
148
149
|
}[]>;
|
|
149
|
-
isInternalChange: import(
|
|
150
|
-
isOpen: import(
|
|
151
|
-
containerRef: import(
|
|
150
|
+
isInternalChange: import('vue').Ref<boolean>;
|
|
151
|
+
isOpen: import('vue').Ref<boolean>;
|
|
152
|
+
containerRef: import('vue').Ref<HTMLDivElement | null>;
|
|
152
153
|
icons: {
|
|
153
154
|
indicatorSvg: string;
|
|
154
155
|
};
|
|
155
|
-
}, unknown, {}, {}, import(
|
|
156
|
+
}, 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<{
|
|
156
157
|
label: {
|
|
157
158
|
type: StringConstructor;
|
|
158
159
|
default: string;
|
|
159
160
|
};
|
|
160
161
|
modelValue: {
|
|
161
|
-
type: import(
|
|
162
|
+
type: import('vue').PropType<string[] | ISelectItemProps[]>;
|
|
162
163
|
default: () => ISelectItemProps[];
|
|
163
164
|
};
|
|
164
165
|
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';
|