@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
bold: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
|
-
}, {}, unknown, {}, {}, import(
|
|
11
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
12
|
bold: {
|
|
13
13
|
type: BooleanConstructor;
|
|
14
14
|
default: boolean;
|
|
@@ -12,7 +12,7 @@ function c(o, d, i, m, f, _) {
|
|
|
12
12
|
_: 3
|
|
13
13
|
}, 8, ["class"]);
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const b = /* @__PURE__ */ p(e, [["render", c], ["__scopeId", "data-v-04032833"]]);
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
b as default
|
|
18
18
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const AtTipograph: {
|
|
2
|
-
Title: import(
|
|
2
|
+
Title: import('vue').DefineComponent<{
|
|
3
3
|
bold: {
|
|
4
4
|
type: BooleanConstructor;
|
|
5
5
|
default: boolean;
|
|
@@ -9,7 +9,7 @@ export declare const AtTipograph: {
|
|
|
9
9
|
required: true;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
|
-
}, {}, unknown, {}, {}, import(
|
|
12
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
13
|
bold: {
|
|
14
14
|
type: BooleanConstructor;
|
|
15
15
|
default: boolean;
|
|
@@ -23,7 +23,7 @@ export declare const AtTipograph: {
|
|
|
23
23
|
bold: boolean;
|
|
24
24
|
as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
25
25
|
}, {}>;
|
|
26
|
-
Paragraph: import(
|
|
26
|
+
Paragraph: import('vue').DefineComponent<{
|
|
27
27
|
weight: {
|
|
28
28
|
type: () => "bold" | "light" | "regular" | "medium";
|
|
29
29
|
default: string;
|
|
@@ -33,7 +33,7 @@ export declare const AtTipograph: {
|
|
|
33
33
|
required: true;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
|
-
}, {}, unknown, {}, {}, import(
|
|
36
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
37
|
weight: {
|
|
38
38
|
type: () => "bold" | "light" | "regular" | "medium";
|
|
39
39
|
default: string;
|
package/dist/Toggle/Toggle.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface ToggleProps {
|
|
2
2
|
size: "p" | "m" | "g";
|
|
3
3
|
}
|
|
4
|
-
declare const _default: import(
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
modelValue: {
|
|
6
6
|
type: BooleanConstructor;
|
|
7
7
|
default: boolean;
|
|
@@ -20,8 +20,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
22
|
}, {
|
|
23
|
-
isChecked: import(
|
|
24
|
-
isDisabled: import(
|
|
23
|
+
isChecked: import('vue').Ref<boolean>;
|
|
24
|
+
isDisabled: import('vue').ComputedRef<boolean>;
|
|
25
25
|
onClick: () => void;
|
|
26
26
|
circleSizeMap: {
|
|
27
27
|
p: string;
|
|
@@ -33,8 +33,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
m: string;
|
|
34
34
|
g: string;
|
|
35
35
|
};
|
|
36
|
-
buttonRef: import(
|
|
37
|
-
}, unknown, {}, {}, import(
|
|
36
|
+
buttonRef: import('vue').Ref<HTMLButtonElement | null>;
|
|
37
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
38
38
|
modelValue: {
|
|
39
39
|
type: BooleanConstructor;
|
|
40
40
|
default: boolean;
|
|
@@ -3,7 +3,7 @@ import { openBlock as a, createElementBlock as t, normalizeClass as d, normalize
|
|
|
3
3
|
import "./Toggle.vue3.js";
|
|
4
4
|
import n from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const p = ["data-state", "aria-pressed", "disabled"];
|
|
6
|
-
function f(e, s, m, b,
|
|
6
|
+
function f(e, s, m, b, c, u) {
|
|
7
7
|
return a(), t("button", {
|
|
8
8
|
ref: "buttonRef",
|
|
9
9
|
type: "button",
|
|
@@ -24,7 +24,7 @@ function f(e, s, m, b, u, z) {
|
|
|
24
24
|
}, null, 4)
|
|
25
25
|
], 14, p);
|
|
26
26
|
}
|
|
27
|
-
const y = /* @__PURE__ */ n(r, [["render", f], ["__scopeId", "data-v-
|
|
27
|
+
const y = /* @__PURE__ */ n(r, [["render", f], ["__scopeId", "data-v-4f146bc1"]]);
|
|
28
28
|
export {
|
|
29
29
|
y as default
|
|
30
30
|
};
|
package/dist/Toggle/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type ToggleProps, default as AtToggle } from
|
|
1
|
+
export { type ToggleProps, default as AtToggle } from './Toggle';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
|
|
2
3
|
export interface TooltipProps {
|
|
3
4
|
position: "bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "left-bottom" | "left-center" | "right-bottom" | "right-center";
|
|
4
5
|
text: string;
|
|
5
6
|
copy: boolean;
|
|
6
7
|
maxTextLength: number;
|
|
7
8
|
}
|
|
8
|
-
declare const _default: import(
|
|
9
|
+
declare const _default: import('vue').DefineComponent<{
|
|
9
10
|
text: {
|
|
10
11
|
required: true;
|
|
11
12
|
type: () => TooltipProps["text"];
|
|
@@ -28,22 +29,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
29
|
validator: (value: string) => boolean;
|
|
29
30
|
};
|
|
30
31
|
}, {
|
|
31
|
-
tooltipChildren: import(
|
|
32
|
-
contentPosition: import(
|
|
32
|
+
tooltipChildren: import('vue').Ref<HTMLDivElement | undefined>;
|
|
33
|
+
contentPosition: import('vue').Ref<{
|
|
33
34
|
x: number;
|
|
34
35
|
y: number;
|
|
35
36
|
} | undefined>;
|
|
36
|
-
tooltipStyle: import(
|
|
37
|
-
tooltipClass: import(
|
|
38
|
-
visible: import(
|
|
39
|
-
wrapper: import(
|
|
40
|
-
tooltip: import(
|
|
41
|
-
formatedText: import(
|
|
37
|
+
tooltipStyle: import('vue').Ref<CSSProperties | undefined>;
|
|
38
|
+
tooltipClass: import('vue').Ref<string>;
|
|
39
|
+
visible: import('vue').Ref<boolean>;
|
|
40
|
+
wrapper: import('vue').Ref<HTMLDivElement | undefined>;
|
|
41
|
+
tooltip: import('vue').Ref<HTMLDivElement | undefined>;
|
|
42
|
+
formatedText: import('vue').ComputedRef<string>;
|
|
42
43
|
show: () => void;
|
|
43
44
|
hide: () => void;
|
|
44
45
|
handleMouseOut: (event: MouseEvent) => void;
|
|
45
46
|
copyText: (text: string) => Promise<void>;
|
|
46
|
-
}, unknown, {}, {}, import(
|
|
47
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "copiedText"[], "copiedText", import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
48
|
text: {
|
|
48
49
|
required: true;
|
|
49
50
|
type: () => TooltipProps["text"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import u from "./Tooltip.vue2.js";
|
|
2
|
-
import { resolveComponent as n, openBlock as l, createElementBlock as s, createElementVNode as r, renderSlot as m, createBlock as f, Teleport as
|
|
2
|
+
import { resolveComponent as n, openBlock as l, createElementBlock as s, createElementVNode as r, renderSlot as m, createBlock as f, Teleport as y, normalizeClass as c, normalizeStyle as v, createVNode as a, withCtx as C, createCommentVNode as i } from "vue";
|
|
3
3
|
import "./Tooltip.vue3.js";
|
|
4
4
|
import M from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const k = {
|
|
@@ -21,11 +21,11 @@ function T(o, e, $, b, S, g) {
|
|
|
21
21
|
m(o.$slots, "default", {}, void 0, !0)
|
|
22
22
|
], 512)
|
|
23
23
|
], 512),
|
|
24
|
-
(l(), f(
|
|
24
|
+
(l(), f(y, { to: "body" }, [
|
|
25
25
|
o.visible ? (l(), s("div", {
|
|
26
26
|
key: 0,
|
|
27
27
|
ref: "tooltip",
|
|
28
|
-
class:
|
|
28
|
+
class: c(["at-tooltip", o.tooltipClass]),
|
|
29
29
|
style: v(o.tooltipStyle),
|
|
30
30
|
onMouseleave: e[1] || (e[1] = (...t) => o.handleMouseOut && o.handleMouseOut(...t))
|
|
31
31
|
}, [
|
|
@@ -57,7 +57,7 @@ function T(o, e, $, b, S, g) {
|
|
|
57
57
|
]))
|
|
58
58
|
], 32);
|
|
59
59
|
}
|
|
60
|
-
const F = /* @__PURE__ */ M(u, [["render", T], ["__scopeId", "data-v-
|
|
60
|
+
const F = /* @__PURE__ */ M(u, [["render", T], ["__scopeId", "data-v-6dbf61de"]]);
|
|
61
61
|
export {
|
|
62
62
|
F as default
|
|
63
63
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { AtCopySolidIcon as
|
|
3
|
-
import { AtTipograph as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as N, ref as n, onMounted as O, onBeforeUnmount as R, computed as U } from "vue";
|
|
2
|
+
import { AtCopySolidIcon as j } from "../node_modules/.pnpm/agrotools-icons@0.2.6/node_modules/agrotools-icons/dist/AtCopySolidIcon/index.js";
|
|
3
|
+
import { AtTipograph as D } from "../Tipograph/index.js";
|
|
4
|
+
const K = N({
|
|
5
5
|
name: "AtTooltip",
|
|
6
6
|
components: {
|
|
7
|
-
AtParagraph:
|
|
8
|
-
AtCopySolidIcon:
|
|
7
|
+
AtParagraph: D.Paragraph,
|
|
8
|
+
AtCopySolidIcon: j
|
|
9
9
|
},
|
|
10
10
|
props: {
|
|
11
11
|
text: {
|
|
@@ -42,10 +42,10 @@ const Q = O({
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
emits: ["copiedText"],
|
|
45
|
-
setup(l, { emit:
|
|
46
|
-
const x = n(), f = n(), h = n(), t = n(), o = n(0), e = n(), a = n(), d = n(""), c = n(!1),
|
|
47
|
-
var r, u,
|
|
48
|
-
switch (e.value = x.value.getBoundingClientRect(), l.position) {
|
|
45
|
+
setup(l, { emit: I }) {
|
|
46
|
+
const x = n(), f = n(), h = n(), t = n(), o = n(0), e = n(), a = n(), d = n(""), c = n(!1), i = () => {
|
|
47
|
+
var r, u, s, v, p, m, b, g, $, w, T, k, X, C, L, Y, A, P, S, q, E, B;
|
|
48
|
+
switch (o.value = window.scrollY, e.value = x.value.getBoundingClientRect(), l.position) {
|
|
49
49
|
case "bottom-left":
|
|
50
50
|
t.value = {
|
|
51
51
|
x: e.value.x + 32,
|
|
@@ -63,8 +63,8 @@ const Q = O({
|
|
|
63
63
|
y: e.value.y + e.value.height + 16 + o.value
|
|
64
64
|
}, a.value = {
|
|
65
65
|
position: "absolute",
|
|
66
|
-
top: `${((
|
|
67
|
-
left: `${((
|
|
66
|
+
top: `${((s = t.value) == null ? void 0 : s.y) || 0}px`,
|
|
67
|
+
left: `${((v = t.value) == null ? void 0 : v.x) || 0}px`,
|
|
68
68
|
transform: "translateX(-50%)"
|
|
69
69
|
};
|
|
70
70
|
break;
|
|
@@ -74,8 +74,8 @@ const Q = O({
|
|
|
74
74
|
y: e.value.y + e.value.height + 16 + o.value
|
|
75
75
|
}, a.value = {
|
|
76
76
|
position: "absolute",
|
|
77
|
-
top: `${((
|
|
78
|
-
left: `${((
|
|
77
|
+
top: `${((p = t.value) == null ? void 0 : p.y) || 0}px`,
|
|
78
|
+
left: `${((m = t.value) == null ? void 0 : m.x) || 0}px`,
|
|
79
79
|
transform: `translateX(${e.value.width}px)`
|
|
80
80
|
};
|
|
81
81
|
break;
|
|
@@ -85,8 +85,8 @@ const Q = O({
|
|
|
85
85
|
y: e.value.y - e.value.height + 24 + o.value
|
|
86
86
|
}, a.value = {
|
|
87
87
|
position: "absolute",
|
|
88
|
-
top: `${((
|
|
89
|
-
left: `${((
|
|
88
|
+
top: `${((b = t.value) == null ? void 0 : b.y) || 0}px`,
|
|
89
|
+
left: `${((g = t.value) == null ? void 0 : g.x) || 0}px`,
|
|
90
90
|
transform: "translateX(-100%) translateY(-100%)"
|
|
91
91
|
};
|
|
92
92
|
break;
|
|
@@ -96,8 +96,8 @@ const Q = O({
|
|
|
96
96
|
y: e.value.y - e.value.height + 24 + o.value
|
|
97
97
|
}, a.value = {
|
|
98
98
|
position: "absolute",
|
|
99
|
-
top: `${((
|
|
100
|
-
left: `${((
|
|
99
|
+
top: `${(($ = t.value) == null ? void 0 : $.y) || 0}px`,
|
|
100
|
+
left: `${((w = t.value) == null ? void 0 : w.x) || 0}px`,
|
|
101
101
|
transform: "translateX(-50%) translateY(-100%)"
|
|
102
102
|
};
|
|
103
103
|
break;
|
|
@@ -107,8 +107,8 @@ const Q = O({
|
|
|
107
107
|
y: e.value.y - e.value.height + 24 + o.value
|
|
108
108
|
}, a.value = {
|
|
109
109
|
position: "absolute",
|
|
110
|
-
top: `${((
|
|
111
|
-
left: `${((
|
|
110
|
+
top: `${((T = t.value) == null ? void 0 : T.y) || 0}px`,
|
|
111
|
+
left: `${((k = t.value) == null ? void 0 : k.x) || 0}px`,
|
|
112
112
|
transform: `translateX(${e.value.width}px) translateY(-100%)`
|
|
113
113
|
};
|
|
114
114
|
break;
|
|
@@ -118,8 +118,8 @@ const Q = O({
|
|
|
118
118
|
y: e.value.y + o.value
|
|
119
119
|
}, a.value = {
|
|
120
120
|
position: "absolute",
|
|
121
|
-
top: `${((
|
|
122
|
-
left: `${((
|
|
121
|
+
top: `${((X = t.value) == null ? void 0 : X.y) || 0}px`,
|
|
122
|
+
left: `${((C = t.value) == null ? void 0 : C.x) || 0}px`,
|
|
123
123
|
transform: "translateX(-100%)"
|
|
124
124
|
};
|
|
125
125
|
break;
|
|
@@ -129,8 +129,8 @@ const Q = O({
|
|
|
129
129
|
y: e.value.y + e.value.height / 2 + o.value
|
|
130
130
|
}, a.value = {
|
|
131
131
|
position: "absolute",
|
|
132
|
-
top: `${((
|
|
133
|
-
left: `${((
|
|
132
|
+
top: `${((L = t.value) == null ? void 0 : L.y) || 0}px`,
|
|
133
|
+
left: `${((Y = t.value) == null ? void 0 : Y.x) || 0}px`,
|
|
134
134
|
transform: "translateX(-100%) translateY(-50%)"
|
|
135
135
|
};
|
|
136
136
|
break;
|
|
@@ -140,7 +140,7 @@ const Q = O({
|
|
|
140
140
|
y: e.value.y + o.value
|
|
141
141
|
}, a.value = {
|
|
142
142
|
position: "absolute",
|
|
143
|
-
top: `${((
|
|
143
|
+
top: `${((A = t.value) == null ? void 0 : A.y) || 0}px`,
|
|
144
144
|
left: `${((P = t.value) == null ? void 0 : P.x) || 0}px`,
|
|
145
145
|
transform: `translateX(${e.value.width}px)`
|
|
146
146
|
};
|
|
@@ -151,8 +151,8 @@ const Q = O({
|
|
|
151
151
|
y: e.value.y + e.value.height / 2 + o.value
|
|
152
152
|
}, a.value = {
|
|
153
153
|
position: "absolute",
|
|
154
|
-
top: `${((
|
|
155
|
-
left: `${((
|
|
154
|
+
top: `${((S = t.value) == null ? void 0 : S.y) || 0}px`,
|
|
155
|
+
left: `${((q = t.value) == null ? void 0 : q.x) || 0}px`,
|
|
156
156
|
transform: `translateX(${e.value.width}px) translateY(-50%)`
|
|
157
157
|
};
|
|
158
158
|
break;
|
|
@@ -162,39 +162,37 @@ const Q = O({
|
|
|
162
162
|
y: e.value.y + e.value.height + 16
|
|
163
163
|
}, a.value = {
|
|
164
164
|
position: "absolute",
|
|
165
|
-
top: `${((
|
|
166
|
-
left: `${((
|
|
165
|
+
top: `${((E = t.value) == null ? void 0 : E.y) || 0}px`,
|
|
166
|
+
left: `${((B = t.value) == null ? void 0 : B.x) || 0}px`,
|
|
167
167
|
transform: "translateX(-100%)"
|
|
168
168
|
};
|
|
169
169
|
break;
|
|
170
170
|
}
|
|
171
171
|
d.value = `at-tooltip-${l.position}`;
|
|
172
|
-
}, y = () => {
|
|
173
|
-
o.value = window.scrollY, p();
|
|
174
172
|
};
|
|
175
|
-
|
|
176
|
-
window.addEventListener("resize",
|
|
177
|
-
}),
|
|
178
|
-
window.removeEventListener("resize",
|
|
173
|
+
O(() => {
|
|
174
|
+
window.addEventListener("resize", i), window.addEventListener("scroll", i);
|
|
175
|
+
}), R(() => {
|
|
176
|
+
window.removeEventListener("resize", i), window.removeEventListener("scroll", i);
|
|
179
177
|
});
|
|
180
|
-
const
|
|
181
|
-
c.value = !0,
|
|
182
|
-
},
|
|
178
|
+
const z = () => {
|
|
179
|
+
c.value = !0, i();
|
|
180
|
+
}, y = () => {
|
|
183
181
|
c.value = !1;
|
|
184
|
-
},
|
|
185
|
-
var
|
|
182
|
+
}, M = (r) => {
|
|
183
|
+
var s, v, p;
|
|
186
184
|
const { relatedTarget: u } = r;
|
|
187
|
-
u && ((
|
|
188
|
-
},
|
|
185
|
+
u && ((s = f.value) != null && s.contains(u) || (v = x.value) != null && v.contains(u) || (p = h.value) != null && p.contains(u)) || y();
|
|
186
|
+
}, _ = async (r) => {
|
|
189
187
|
if (navigator && navigator.clipboard)
|
|
190
188
|
try {
|
|
191
|
-
await navigator.clipboard.writeText(r),
|
|
189
|
+
await navigator.clipboard.writeText(r), I("copiedText", r);
|
|
192
190
|
} catch (u) {
|
|
193
191
|
console.error("Failed to copy: ", u);
|
|
194
192
|
}
|
|
195
193
|
else
|
|
196
194
|
console.warn("Clipboard API not supported");
|
|
197
|
-
},
|
|
195
|
+
}, F = U(() => !l.maxTextLength || l.text.length <= l.maxTextLength ? l.text : `${l.text.substring(0, l.maxTextLength)}...`);
|
|
198
196
|
return {
|
|
199
197
|
tooltipChildren: x,
|
|
200
198
|
contentPosition: t,
|
|
@@ -203,14 +201,14 @@ const Q = O({
|
|
|
203
201
|
visible: c,
|
|
204
202
|
wrapper: f,
|
|
205
203
|
tooltip: h,
|
|
206
|
-
formatedText:
|
|
207
|
-
show:
|
|
208
|
-
hide:
|
|
209
|
-
handleMouseOut:
|
|
210
|
-
copyText:
|
|
204
|
+
formatedText: F,
|
|
205
|
+
show: z,
|
|
206
|
+
hide: y,
|
|
207
|
+
handleMouseOut: M,
|
|
208
|
+
copyText: _
|
|
211
209
|
};
|
|
212
210
|
}
|
|
213
211
|
});
|
|
214
212
|
export {
|
|
215
|
-
|
|
213
|
+
K as default
|
|
216
214
|
};
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as AtTooltip, type TooltipProps } from
|
|
1
|
+
export { default as AtTooltip, type TooltipProps } from './Tooltip';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
4
|
warningTextUpload: {
|
|
4
5
|
type: StringConstructor;
|
|
5
6
|
required: false;
|
|
@@ -107,7 +108,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
107
108
|
isMaxFilesInRange: (newFiles: File[]) => boolean;
|
|
108
109
|
isTypeAccepted: (file: File) => boolean;
|
|
109
110
|
isSizeAccepted: (file: File) => boolean;
|
|
110
|
-
files: import(
|
|
111
|
+
files: import('vue').Ref<{
|
|
111
112
|
readonly lastModified: number;
|
|
112
113
|
readonly name: string;
|
|
113
114
|
readonly webkitRelativePath: string;
|
|
@@ -118,22 +119,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
119
|
stream: () => ReadableStream<Uint8Array>;
|
|
119
120
|
text: () => Promise<string>;
|
|
120
121
|
}[]>;
|
|
121
|
-
progress: import(
|
|
122
|
-
inputStyle: import(
|
|
122
|
+
progress: import('vue').Ref<number>;
|
|
123
|
+
inputStyle: import('vue').ComputedRef<{
|
|
123
124
|
height: string;
|
|
124
125
|
width: string;
|
|
125
126
|
} | {
|
|
126
127
|
width: string;
|
|
127
128
|
height?: undefined;
|
|
128
129
|
}>;
|
|
129
|
-
uploaderContainerStyle: import(
|
|
130
|
+
uploaderContainerStyle: import('vue').ComputedRef<{
|
|
130
131
|
width: string;
|
|
131
132
|
padding: string;
|
|
132
133
|
} | {
|
|
133
134
|
width?: undefined;
|
|
134
135
|
padding?: undefined;
|
|
135
136
|
}>;
|
|
136
|
-
}, unknown, {}, {}, import(
|
|
137
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("updateProgress" | "updateFile" | "uploadError")[], "updateProgress" | "updateFile" | "uploadError", import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
137
138
|
warningTextUpload: {
|
|
138
139
|
type: StringConstructor;
|
|
139
140
|
required: false;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import c from "./MultipleUpload.vue2.js";
|
|
2
|
-
import { resolveComponent as p, openBlock as t, createElementBlock as o, createVNode as r, createElementVNode as n, normalizeStyle as l, Fragment as m, renderList as
|
|
2
|
+
import { resolveComponent as p, openBlock as t, createElementBlock as o, createVNode as r, createElementVNode as n, normalizeStyle as l, Fragment as m, renderList as f, createCommentVNode as v, pushScopeId as h, popScopeId as y } from "vue";
|
|
3
3
|
import "./MultipleUpload.vue3.js";
|
|
4
4
|
import $ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const g = (e) => (h("data-v-
|
|
5
|
+
const g = (e) => (h("data-v-c87f1d79"), e = e(), y(), e), w = { class: "at-uploader-multiple-input-container" }, U = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "at-uploader-file-container"
|
|
8
8
|
}, I = /* @__PURE__ */ g(() => /* @__PURE__ */ n("span", null, "Arquivos", -1)), T = { class: "at-uploader-files" };
|
|
@@ -35,7 +35,7 @@ function S(e, P, B, _, k, N) {
|
|
|
35
35
|
e.files && e.files.length ? (t(), o("div", U, [
|
|
36
36
|
I,
|
|
37
37
|
n("div", T, [
|
|
38
|
-
(t(!0), o(m, null,
|
|
38
|
+
(t(!0), o(m, null, f(e.files, (a, u) => (t(), o("div", {
|
|
39
39
|
key: a.name + u,
|
|
40
40
|
class: "at-uploader-file"
|
|
41
41
|
}, [
|
|
@@ -48,11 +48,11 @@ function S(e, P, B, _, k, N) {
|
|
|
48
48
|
}, null, 8, ["file", "handle-remove-file", "interval", "onUpdateProgress"])
|
|
49
49
|
]))), 128))
|
|
50
50
|
])
|
|
51
|
-
])) :
|
|
51
|
+
])) : v("", !0)
|
|
52
52
|
], 4)
|
|
53
53
|
]);
|
|
54
54
|
}
|
|
55
|
-
const b = /* @__PURE__ */ $(c, [["render", S], ["__scopeId", "data-v-
|
|
55
|
+
const b = /* @__PURE__ */ $(c, [["render", S], ["__scopeId", "data-v-c87f1d79"]]);
|
|
56
56
|
export {
|
|
57
57
|
b as default
|
|
58
58
|
};
|