@agrotools1/at-components 0.5.1 → 0.5.2
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.vue.js +8 -8
- package/dist/Accordion/Accordion.vue3.js +2 -2
- package/dist/Avatar/Avatar.vue.js +1 -1
- package/dist/Avatar/Avatar.vue3.js +2 -2
- package/dist/Button/Button.vue.js +1 -1
- package/dist/Button/Button.vue3.js +2 -2
- package/dist/CardWithInsights/CardWithInsights.vue.js +6 -6
- package/dist/CardWithInsights/CardWithInsights.vue4.js +2 -2
- package/dist/Checkbox/Checkbox.vue.js +1 -1
- package/dist/Checkbox/img/checkmarck.svg.js +1 -1
- 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/DataTable/Column/Column.vue.js +6 -6
- package/dist/DataTable/Column/imgs/filter.svg.js +1 -1
- package/dist/DataTable/Counters/Counters.vue.js +1 -1
- package/dist/DataTable/Counters/imgs/close.svg.js +1 -1
- package/dist/DataTable/DataTable.vue.js +46 -46
- package/dist/DatePicker/DatePicker.d.ts +3 -2
- package/dist/DatePicker/DatePicker.vue.js +35 -35
- package/dist/DatePicker/DatePicker.vue2.js +61 -58
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.vue.js +3 -3
- package/dist/DatePicker/DatePickerHeader/DatePickerHeader.scss.js +2 -2
- package/dist/DatePicker/DatePickerHeader/DatePickerHeader.vue.js +4 -4
- package/dist/DatePicker/DatePickerListSelector/DatePickerListSelector.vue.js +5 -5
- package/dist/DatePicker/DatePickerTime/DatePickerTime.scss.js +2 -2
- package/dist/DatePicker/DatePickerTime/DatePickerTime.vue.js +8 -8
- package/dist/Dropdown/Checklist/Dropdown.Checklist.vue.js +20 -20
- package/dist/Dropdown/Dropdown.core.vue.js +1 -1
- package/dist/Dropdown/Dropdown.core.vue3.js +2 -2
- package/dist/Faq/Faq.vue.js +2 -2
- package/dist/Filter/components/Filter.vue.js +14 -14
- 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/Input/Input.core.vue.js +10 -10
- package/dist/Input/imgs/error.svg.js +2 -2
- package/dist/Legend/Legend.vue.js +6 -6
- package/dist/List/components/List.vue.js +24 -24
- package/dist/List/components/List.vue3.js +2 -2
- package/dist/Map/Map.d.ts +3 -2
- package/dist/Map/Map.vue2.js +43 -39
- package/dist/Modal/Modal.vue.js +6 -6
- package/dist/Modal/images/cross.svg.js +1 -1
- package/dist/Notifications/Notification/Notification.vue.js +4 -4
- package/dist/Notifications/Notifications.vue.js +4 -4
- 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/ProgressBar/ProgressBar.vue.js +2 -2
- package/dist/RadioButton/RadioButton.vue.js +1 -1
- package/dist/RadioButton/RadioButton.vue3.js +2 -2
- package/dist/Search/Search.vue.js +7 -6
- package/dist/Search/Search.vue2.js +12 -12
- package/dist/Select/Item/Item.vue.js +16 -16
- package/dist/Select/Multiple/Select.multiple.vue.js +4 -4
- package/dist/Select/Multiple/Select.multiple.vue2.js +35 -30
- package/dist/Select/Single/Select.single.vue.js +3 -3
- package/dist/Select/imgs/indicator.svg.js +1 -1
- package/dist/Stepper/Stepper.vue.js +2 -2
- package/dist/TableConfig/TableConfig.vue.js +4 -4
- package/dist/Tabs/Tab/Tab.vue.js +1 -1
- package/dist/Tabs/Tab/Tab.vue3.js +2 -2
- package/dist/Tabs/Tabs.vue.js +6 -6
- package/dist/Tabs/Tabs.vue2.js +23 -27
- package/dist/Tabs/Tabs.vue3.js +2 -2
- package/dist/Tag/Tag.vue.js +1 -1
- package/dist/Tipograph/Paragraph/Paragraph.vue.js +2 -2
- package/dist/Tipograph/Paragraph/Paragraph.vue3.js +2 -2
- package/dist/Tipograph/Title/Title.vue.js +2 -2
- package/dist/Toggle/Toggle.vue.js +2 -2
- package/dist/Tooltip/Tooltip.vue.js +5 -5
- package/dist/Tooltip/Tooltip.vue3.js +2 -2
- package/dist/Upload/MultipleUpload/MultipleUpload.d.ts +213 -0
- package/dist/Upload/MultipleUpload/MultipleUpload.vue.js +58 -0
- package/dist/Upload/MultipleUpload/MultipleUpload.vue2.js +138 -0
- package/dist/Upload/MultipleUpload/MultipleUpload.vue3.js +4 -0
- package/dist/Upload/SingleUpload/SingleUpload.d.ts +199 -0
- package/dist/Upload/SingleUpload/SingleUpload.vue.js +50 -0
- package/dist/Upload/SingleUpload/SingleUpload.vue2.js +135 -0
- package/dist/Upload/SingleUpload/SingleUpload.vue3.js +4 -0
- package/dist/Upload/Upload.d.ts +28 -53
- package/dist/Upload/Upload.vue.js +32 -121
- package/dist/Upload/Upload.vue2.js +18 -47
- package/dist/Upload/UploaderHeader/UploaderHeader.d.ts +68 -0
- package/dist/Upload/UploaderHeader/UploaderHeader.vue.js +30 -0
- package/dist/Upload/UploaderHeader/UploaderHeader.vue2.js +51 -0
- package/dist/Upload/UploaderHeader/UploaderHeader.vue3.js +4 -0
- package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.d.ts +44 -0
- package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.vue.js +44 -0
- package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.vue2.js +36 -0
- package/dist/Upload/UploaderInfoProgress/UploaderInfoProgress.vue3.js +4 -0
- package/dist/Upload/UploaderInput/UploaderInput.d.ts +79 -0
- package/dist/Upload/UploaderInput/UploaderInput.vue.js +57 -0
- package/dist/Upload/UploaderInput/UploaderInput.vue2.js +56 -0
- package/dist/Upload/UploaderInput/UploaderInput.vue3.js +4 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as g, ref as r, computed as A, watch as S, onMounted as h, onUnmounted as w } from "vue";
|
|
2
2
|
import C from "../Item/Item.vue.js";
|
|
3
3
|
import _ from "../Select.core.vue.js";
|
|
4
4
|
import b from "../imgs/indicator.svg.js";
|
|
5
|
-
const T =
|
|
5
|
+
const T = g({
|
|
6
6
|
name: "AtMultipleSelect",
|
|
7
7
|
components: {
|
|
8
8
|
AtSingleCore: _,
|
|
@@ -28,7 +28,7 @@ const T = V({
|
|
|
28
28
|
items: {
|
|
29
29
|
type: Array,
|
|
30
30
|
default: () => [],
|
|
31
|
-
validator: (
|
|
31
|
+
validator: (n) => Array.isArray(n) && n.every((i) => typeof i == "object")
|
|
32
32
|
},
|
|
33
33
|
required: {
|
|
34
34
|
type: Boolean,
|
|
@@ -41,36 +41,36 @@ const T = V({
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
emits: ["update:items", "update:selectedItems", "update:modelValue"],
|
|
44
|
-
setup(
|
|
45
|
-
const c = r(!1), f = r(null),
|
|
46
|
-
() => [...
|
|
44
|
+
setup(n, i) {
|
|
45
|
+
const c = r(!1), f = r(null), u = r(n.items), d = r(!1), o = r([]), I = A(
|
|
46
|
+
() => [...o.value].map((e) => e.value).join(n.separator)
|
|
47
47
|
), m = (e, a) => {
|
|
48
|
-
const l =
|
|
48
|
+
const l = u.value.find(
|
|
49
49
|
(t) => t.value === e.value
|
|
50
50
|
);
|
|
51
51
|
if (a) {
|
|
52
|
-
if (
|
|
53
|
-
(
|
|
52
|
+
if (o.value.find(
|
|
53
|
+
(s) => s.value === e.value
|
|
54
54
|
))
|
|
55
55
|
return;
|
|
56
|
-
|
|
56
|
+
o.value.push(e), l && (l.isSelected = !0);
|
|
57
57
|
} else {
|
|
58
|
-
const t =
|
|
59
|
-
(
|
|
58
|
+
const t = o.value.findIndex(
|
|
59
|
+
(s) => s.value === e.value
|
|
60
60
|
);
|
|
61
61
|
if (t === -1)
|
|
62
62
|
return;
|
|
63
|
-
|
|
63
|
+
o.value.splice(t, 1), l && (l.isSelected = !1);
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
i.emit("update:selectedItems", o), n.emitValue ? i.emit(
|
|
66
66
|
"update:modelValue",
|
|
67
|
-
|
|
68
|
-
) :
|
|
67
|
+
o.value.map((t) => t.value)
|
|
68
|
+
) : i.emit(
|
|
69
69
|
"update:modelValue",
|
|
70
|
-
|
|
70
|
+
o.value.map((t) => ({ value: t.value, text: t.text }))
|
|
71
71
|
);
|
|
72
|
-
},
|
|
73
|
-
const l =
|
|
72
|
+
}, V = (e, a = !0) => {
|
|
73
|
+
const l = n.items.find((t) => t.value === e);
|
|
74
74
|
l && (m(l, !1), c.value = a, v());
|
|
75
75
|
}, p = (e) => {
|
|
76
76
|
var l;
|
|
@@ -78,9 +78,9 @@ const T = V({
|
|
|
78
78
|
(l = f.value) != null && l.contains(a) || (c.value = !1, v());
|
|
79
79
|
}, y = async (e) => {
|
|
80
80
|
if (!d.value) {
|
|
81
|
-
|
|
81
|
+
u.value.forEach((a) => a.isSelected = !1), o.value = [];
|
|
82
82
|
for (const a of e) {
|
|
83
|
-
const l = typeof a == "string" ? a : a.value, t =
|
|
83
|
+
const l = typeof a == "string" ? a : a.value, t = u.value.find((s) => s.value === l);
|
|
84
84
|
if (!t) {
|
|
85
85
|
console.warn(
|
|
86
86
|
`O valor ${a} ao qual você incluiu no v-model não está contida nos itens disponíveis`
|
|
@@ -91,26 +91,31 @@ const T = V({
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
|
-
|
|
95
|
-
() =>
|
|
94
|
+
S(
|
|
95
|
+
() => n.modelValue,
|
|
96
96
|
(e) => y(e)
|
|
97
97
|
), h(() => {
|
|
98
|
-
y(
|
|
98
|
+
y(n.modelValue), window.addEventListener("click", p);
|
|
99
99
|
}), w(() => {
|
|
100
|
-
window.removeEventListener("click", p),
|
|
100
|
+
window.removeEventListener("click", p), u.value.map((e) => e.isSelected = !1);
|
|
101
101
|
});
|
|
102
102
|
const v = () => {
|
|
103
103
|
var a;
|
|
104
104
|
const e = (a = f.value) == null ? void 0 : a.querySelector(".AT_INPUT_icon_slot");
|
|
105
105
|
e instanceof HTMLElement && e.setAttribute("data-rotate", c.value.toString());
|
|
106
106
|
};
|
|
107
|
-
return
|
|
107
|
+
return S(
|
|
108
|
+
() => n.items,
|
|
109
|
+
(e) => {
|
|
110
|
+
u.value = e;
|
|
111
|
+
}
|
|
112
|
+
), {
|
|
108
113
|
onSelectedValueChange: m,
|
|
109
|
-
onSelectedItemClick:
|
|
114
|
+
onSelectedItemClick: V,
|
|
110
115
|
rotateIcon: v,
|
|
111
|
-
myItems:
|
|
112
|
-
values:
|
|
113
|
-
selectedValues:
|
|
116
|
+
myItems: u,
|
|
117
|
+
values: I,
|
|
118
|
+
selectedValues: o,
|
|
114
119
|
isInternalChange: d,
|
|
115
120
|
isOpen: c,
|
|
116
121
|
containerRef: f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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
|
|
2
|
+
import { resolveComponent as l, openBlock as t, createElementBlock as r, createVNode as d, withModifiers as c, Fragment as f, renderList as v, 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) {
|
|
@@ -27,7 +27,7 @@ function g(e, o, A, I, S, y) {
|
|
|
27
27
|
e.open = !1, e.rotateIcon();
|
|
28
28
|
}, ["stop"]))
|
|
29
29
|
}, [
|
|
30
|
-
(t(!0), r(
|
|
30
|
+
(t(!0), r(f, null, v(e.items, (n) => (t(), C(s, {
|
|
31
31
|
key: n.value,
|
|
32
32
|
text: n.text,
|
|
33
33
|
value: n.value,
|
|
@@ -43,7 +43,7 @@ function g(e, o, A, I, S, y) {
|
|
|
43
43
|
])) : k("", !0)
|
|
44
44
|
], 512);
|
|
45
45
|
}
|
|
46
|
-
const V = /* @__PURE__ */ m(u, [["render", g], ["__scopeId", "data-v-
|
|
46
|
+
const V = /* @__PURE__ */ m(u, [["render", g], ["__scopeId", "data-v-82d45f07"]]);
|
|
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
|
};
|
|
@@ -2,7 +2,7 @@ import $ from "./Stepper.vue2.js";
|
|
|
2
2
|
import { resolveComponent as u, openBlock as s, createElementBlock as n, normalizeClass as o, createElementVNode as i, normalizeStyle as z, Fragment as S, renderList as y, createBlock as a, resolveDynamicComponent as l, createCommentVNode as p, toDisplayString as c, createVNode as d, withCtx as f, createTextVNode as m } from "vue";
|
|
3
3
|
import "./Stepper.vue3.js";
|
|
4
4
|
import k from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
function E(e, C, I, g,
|
|
5
|
+
function E(e, C, b, I, g, A) {
|
|
6
6
|
const v = u("AtParagraph"), h = u("AtTitle");
|
|
7
7
|
return s(), n("div", {
|
|
8
8
|
class: o(e.$props.direction === "vertical" ? "stepper-vertical" : "")
|
|
@@ -94,7 +94,7 @@ function E(e, C, I, g, b, A) {
|
|
|
94
94
|
], 2)
|
|
95
95
|
], 2);
|
|
96
96
|
}
|
|
97
|
-
const D = /* @__PURE__ */ k($, [["render", E], ["__scopeId", "data-v-
|
|
97
|
+
const D = /* @__PURE__ */ k($, [["render", E], ["__scopeId", "data-v-869bb03d"]]);
|
|
98
98
|
export {
|
|
99
99
|
D as default
|
|
100
100
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as n, openBlock as
|
|
1
|
+
import f from "./TableConfig.vue2.js";
|
|
2
|
+
import { resolveComponent as n, openBlock as m, createElementBlock as C, createVNode as t, withCtx as e, createElementVNode as s, createTextVNode as i, toDisplayString as a } from "vue";
|
|
3
3
|
import "./TableConfig.vue3.js";
|
|
4
4
|
import k from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const g = { class: "tableConfig" }, v = { class: "at-dropdown-footer" };
|
|
6
6
|
function h(o, r, A, b, S, _) {
|
|
7
7
|
const d = n("AtSettingsSolidIcon"), l = n("AtButton"), c = n("AtChecklist"), p = n("AtDropdown");
|
|
8
|
-
return
|
|
8
|
+
return m(), C("section", null, [
|
|
9
9
|
t(p, {
|
|
10
10
|
id: o.id,
|
|
11
11
|
"is-open": o.isDialogOpen,
|
|
@@ -63,7 +63,7 @@ function h(o, r, A, b, S, _) {
|
|
|
63
63
|
}, 8, ["id", "is-open", "position"])
|
|
64
64
|
]);
|
|
65
65
|
}
|
|
66
|
-
const D = /* @__PURE__ */ k(
|
|
66
|
+
const D = /* @__PURE__ */ k(f, [["render", h], ["__scopeId", "data-v-5038cf10"]]);
|
|
67
67
|
export {
|
|
68
68
|
D as default
|
|
69
69
|
};
|
package/dist/Tabs/Tab/Tab.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Tab.vue2.js";
|
|
2
2
|
import "./Tab.vue3.js";
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-03290892"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
package/dist/Tabs/Tabs.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import m from "./Tabs.vue2.js";
|
|
2
|
-
import { resolveComponent as
|
|
2
|
+
import { resolveComponent as p, openBlock as n, createElementBlock as c, createElementVNode as a, Fragment as f, renderList as _, createBlock as l, normalizeStyle as u, resolveDynamicComponent as T } from "vue";
|
|
3
3
|
import "./Tabs.vue3.js";
|
|
4
|
-
import
|
|
4
|
+
import b from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const k = { class: "Tabs_container" }, y = {
|
|
6
6
|
class: "Tabs_tablist",
|
|
7
7
|
role: "tablist",
|
|
@@ -10,10 +10,10 @@ const k = { class: "Tabs_container" }, y = {
|
|
|
10
10
|
};
|
|
11
11
|
function B(t, h, v, $, C, I) {
|
|
12
12
|
var i;
|
|
13
|
-
const r =
|
|
13
|
+
const r = p("TabButton");
|
|
14
14
|
return n(), c("section", k, [
|
|
15
15
|
a("div", y, [
|
|
16
|
-
(n(!0), c(
|
|
16
|
+
(n(!0), c(f, null, _(t.tabsList, (e, o) => (n(), l(r, {
|
|
17
17
|
key: o,
|
|
18
18
|
"is-selected": o === t.selectedTabIndexRef,
|
|
19
19
|
title: e.title,
|
|
@@ -31,11 +31,11 @@ function B(t, h, v, $, C, I) {
|
|
|
31
31
|
class: "Tabs_content",
|
|
32
32
|
style: u(t.contentStyle)
|
|
33
33
|
}, [
|
|
34
|
-
(n(), l(
|
|
34
|
+
(n(), l(T((i = t.selectedTab) == null ? void 0 : i.slot)))
|
|
35
35
|
], 4)
|
|
36
36
|
]);
|
|
37
37
|
}
|
|
38
|
-
const S = /* @__PURE__ */
|
|
38
|
+
const S = /* @__PURE__ */ b(m, [["render", B], ["__scopeId", "data-v-77dd465f"]]);
|
|
39
39
|
export {
|
|
40
40
|
S as default
|
|
41
41
|
};
|
package/dist/Tabs/Tabs.vue2.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as v, ref as l, computed as b, onMounted as m, watch as c } from "vue";
|
|
2
|
+
import x from "./Tab/Tab.vue.js";
|
|
3
|
+
const y = v({
|
|
4
4
|
name: "AtTabs",
|
|
5
5
|
components: {
|
|
6
|
-
TabButton:
|
|
6
|
+
TabButton: x
|
|
7
7
|
},
|
|
8
8
|
props: {
|
|
9
9
|
tabs: {
|
|
@@ -20,40 +20,36 @@ const T = m({
|
|
|
20
20
|
default: !1
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
setup(
|
|
24
|
-
const e =
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
l !== -1 ? e.value = l : e.value = 0, i(), window.addEventListener("resize", i);
|
|
31
|
-
}, b = () => {
|
|
32
|
-
const t = a.value.findIndex(
|
|
33
|
-
(l, n) => n === e.value
|
|
23
|
+
setup(a) {
|
|
24
|
+
const e = l(a.selectedTabIndex ?? 0), o = window.history.state, t = b(() => a.tabs), d = l(a.tabs[e.value ?? 0]), r = l(), f = () => {
|
|
25
|
+
const n = o == null ? void 0 : o.current, s = t.value.findIndex((u) => u.routeName === n);
|
|
26
|
+
s !== -1 ? e.value = s : e.value = 0;
|
|
27
|
+
}, i = () => {
|
|
28
|
+
const n = t.value.findIndex(
|
|
29
|
+
(s, u) => u === e.value
|
|
34
30
|
);
|
|
35
|
-
|
|
31
|
+
n !== -1 ? e.value = n : e.value = 0;
|
|
36
32
|
};
|
|
37
|
-
return
|
|
38
|
-
|
|
39
|
-
}),
|
|
33
|
+
return m(() => {
|
|
34
|
+
f();
|
|
35
|
+
}), c(
|
|
40
36
|
() => e.value,
|
|
41
37
|
() => {
|
|
42
|
-
|
|
38
|
+
d.value = t.value[e.value];
|
|
43
39
|
}
|
|
44
|
-
),
|
|
45
|
-
() =>
|
|
40
|
+
), c(
|
|
41
|
+
() => t.value,
|
|
46
42
|
() => {
|
|
47
|
-
|
|
43
|
+
i();
|
|
48
44
|
}
|
|
49
45
|
), {
|
|
50
|
-
tabsList:
|
|
51
|
-
selectedTab:
|
|
46
|
+
tabsList: t,
|
|
47
|
+
selectedTab: d,
|
|
52
48
|
selectedTabIndexRef: e,
|
|
53
|
-
contentStyle:
|
|
49
|
+
contentStyle: r
|
|
54
50
|
};
|
|
55
51
|
}
|
|
56
52
|
});
|
|
57
53
|
export {
|
|
58
|
-
|
|
54
|
+
y as default
|
|
59
55
|
};
|
package/dist/Tabs/Tabs.vue3.js
CHANGED
package/dist/Tag/Tag.vue.js
CHANGED
|
@@ -25,7 +25,7 @@ function g(o, h, v, $, y, k) {
|
|
|
25
25
|
})
|
|
26
26
|
], 10, C);
|
|
27
27
|
}
|
|
28
|
-
const P = /* @__PURE__ */ u(c, [["render", g], ["__scopeId", "data-v-
|
|
28
|
+
const P = /* @__PURE__ */ u(c, [["render", g], ["__scopeId", "data-v-139b279d"]]);
|
|
29
29
|
export {
|
|
30
30
|
P as default
|
|
31
31
|
};
|
|
@@ -3,7 +3,7 @@ import { openBlock as a, createElementBlock as o, renderSlot as r } from "vue";
|
|
|
3
3
|
import "./Paragraph.vue3.js";
|
|
4
4
|
import s from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const i = ["data-size", "data-weight"];
|
|
6
|
-
function d(e, p, n, c,
|
|
6
|
+
function d(e, p, n, c, m, f) {
|
|
7
7
|
return a(), o("p", {
|
|
8
8
|
"data-size": e.size,
|
|
9
9
|
"data-weight": e.weight,
|
|
@@ -12,7 +12,7 @@ function d(e, p, n, c, f, m) {
|
|
|
12
12
|
r(e.$slots, "default", {}, void 0, !0)
|
|
13
13
|
], 8, i);
|
|
14
14
|
}
|
|
15
|
-
const $ = /* @__PURE__ */ s(t, [["render", d], ["__scopeId", "data-v-
|
|
15
|
+
const $ = /* @__PURE__ */ s(t, [["render", d], ["__scopeId", "data-v-13a5e878"]]);
|
|
16
16
|
export {
|
|
17
17
|
$ as default
|
|
18
18
|
};
|
|
@@ -12,7 +12,7 @@ function c(o, d, i, m, f, _) {
|
|
|
12
12
|
_: 3
|
|
13
13
|
}, 8, ["class"]);
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const C = /* @__PURE__ */ p(e, [["render", c], ["__scopeId", "data-v-97a66b12"]]);
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
C as default
|
|
18
18
|
};
|
|
@@ -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, u, z) {
|
|
7
7
|
return a(), t("button", {
|
|
8
8
|
ref: "buttonRef",
|
|
9
9
|
type: "button",
|
|
@@ -24,7 +24,7 @@ function f(e, s, m, b, c, u) {
|
|
|
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-bf93f064"]]);
|
|
28
28
|
export {
|
|
29
29
|
y as default
|
|
30
30
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import a from "./Tooltip.vue2.js";
|
|
2
|
-
import { resolveComponent as i, openBlock as r, createElementBlock as l, createElementVNode as n, renderSlot as p, createBlock as d, Teleport as m, normalizeClass as
|
|
2
|
+
import { resolveComponent as i, openBlock as r, createElementBlock as l, createElementVNode as n, renderSlot as p, createBlock as d, Teleport as m, normalizeClass as c, normalizeStyle as f, createVNode as u, withCtx as v, createTextVNode as h, toDisplayString as y, createCommentVNode as C } from "vue";
|
|
3
3
|
import "./Tooltip.vue3.js";
|
|
4
4
|
import g from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const $ = {
|
|
@@ -19,10 +19,10 @@ function k(e, o, w, N, S, V) {
|
|
|
19
19
|
(r(), d(m, { to: "body" }, [
|
|
20
20
|
e.visible ? (r(), l("div", {
|
|
21
21
|
key: 0,
|
|
22
|
-
class:
|
|
23
|
-
style:
|
|
22
|
+
class: c(["at-tooltip", e.tooltipClass]),
|
|
23
|
+
style: f(e.tooltipStyle)
|
|
24
24
|
}, [
|
|
25
|
-
|
|
25
|
+
u(s, {
|
|
26
26
|
size: "p3",
|
|
27
27
|
weight: "regular",
|
|
28
28
|
class: "m-0"
|
|
@@ -36,7 +36,7 @@ function k(e, o, w, N, S, V) {
|
|
|
36
36
|
]))
|
|
37
37
|
], 32);
|
|
38
38
|
}
|
|
39
|
-
const A = /* @__PURE__ */ g(a, [["render", k], ["__scopeId", "data-v-
|
|
39
|
+
const A = /* @__PURE__ */ g(a, [["render", k], ["__scopeId", "data-v-96e4dc5e"]]);
|
|
40
40
|
export {
|
|
41
41
|
A as default
|
|
42
42
|
};
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
warningTextUpload: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
default: string;
|
|
7
|
+
validator: (value: string) => boolean;
|
|
8
|
+
};
|
|
9
|
+
loadingText: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
default: string;
|
|
13
|
+
validator: (value: string) => boolean;
|
|
14
|
+
};
|
|
15
|
+
completeText: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: false;
|
|
18
|
+
default: string;
|
|
19
|
+
validator: (value: string) => boolean;
|
|
20
|
+
};
|
|
21
|
+
progressInterval: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
default: number;
|
|
25
|
+
validator: (value: number) => boolean;
|
|
26
|
+
};
|
|
27
|
+
interactiveTextButton: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: false;
|
|
30
|
+
default: string;
|
|
31
|
+
validator: (value: string) => boolean;
|
|
32
|
+
};
|
|
33
|
+
interactiveTexthref: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
required: false;
|
|
36
|
+
default: string;
|
|
37
|
+
validator: (value: string) => boolean;
|
|
38
|
+
};
|
|
39
|
+
interactiveTextDownloadName: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: false;
|
|
42
|
+
default: string;
|
|
43
|
+
validator: (value: string) => boolean;
|
|
44
|
+
};
|
|
45
|
+
warningFunction: {
|
|
46
|
+
type: FunctionConstructor;
|
|
47
|
+
required: false;
|
|
48
|
+
default: () => void;
|
|
49
|
+
};
|
|
50
|
+
multipleSelect: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
required: false;
|
|
53
|
+
default: boolean;
|
|
54
|
+
validator: (value: boolean) => boolean;
|
|
55
|
+
};
|
|
56
|
+
uploadText: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
required: false;
|
|
59
|
+
default: string;
|
|
60
|
+
validator: (value: string) => boolean;
|
|
61
|
+
};
|
|
62
|
+
uploadInteractionText: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
required: false;
|
|
65
|
+
default: string;
|
|
66
|
+
validator: (value: string) => boolean;
|
|
67
|
+
};
|
|
68
|
+
uploadProgress: {
|
|
69
|
+
type: NumberConstructor;
|
|
70
|
+
required: false;
|
|
71
|
+
default: number;
|
|
72
|
+
validator: (value: number) => boolean;
|
|
73
|
+
};
|
|
74
|
+
acceptTypes: {
|
|
75
|
+
type: PropType<string[]>;
|
|
76
|
+
default: () => never[];
|
|
77
|
+
};
|
|
78
|
+
acceptTypesInput: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
}, {
|
|
83
|
+
handleDrop: (event: DragEvent) => void;
|
|
84
|
+
handleFileUpload: (event: Event) => Promise<void>;
|
|
85
|
+
handleRemove: (fileToRemove: File) => void;
|
|
86
|
+
handleUpdateProgressOnParent: (newValue: number) => void;
|
|
87
|
+
getAcceptedFiles: (files: File[]) => File[];
|
|
88
|
+
files: import("vue").Ref<{
|
|
89
|
+
readonly lastModified: number;
|
|
90
|
+
readonly name: string;
|
|
91
|
+
readonly webkitRelativePath: string;
|
|
92
|
+
readonly size: number;
|
|
93
|
+
readonly type: string;
|
|
94
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
95
|
+
slice: (start?: number | undefined, end?: number | undefined, contentType?: string | undefined) => Blob;
|
|
96
|
+
stream: () => ReadableStream<Uint8Array>;
|
|
97
|
+
text: () => Promise<string>;
|
|
98
|
+
}[]>;
|
|
99
|
+
progress: import("vue").Ref<number>;
|
|
100
|
+
inputStyle: import("vue").ComputedRef<{
|
|
101
|
+
height: string;
|
|
102
|
+
width: string;
|
|
103
|
+
} | {
|
|
104
|
+
width: string;
|
|
105
|
+
height?: undefined;
|
|
106
|
+
}>;
|
|
107
|
+
uploaderContainerStyle: import("vue").ComputedRef<{
|
|
108
|
+
width: string;
|
|
109
|
+
padding: string;
|
|
110
|
+
} | {
|
|
111
|
+
width?: undefined;
|
|
112
|
+
padding?: undefined;
|
|
113
|
+
}>;
|
|
114
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateProgress" | "updateFile")[], "updateProgress" | "updateFile", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
115
|
+
warningTextUpload: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
required: true;
|
|
118
|
+
default: string;
|
|
119
|
+
validator: (value: string) => boolean;
|
|
120
|
+
};
|
|
121
|
+
loadingText: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
required: false;
|
|
124
|
+
default: string;
|
|
125
|
+
validator: (value: string) => boolean;
|
|
126
|
+
};
|
|
127
|
+
completeText: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
required: false;
|
|
130
|
+
default: string;
|
|
131
|
+
validator: (value: string) => boolean;
|
|
132
|
+
};
|
|
133
|
+
progressInterval: {
|
|
134
|
+
type: NumberConstructor;
|
|
135
|
+
required: false;
|
|
136
|
+
default: number;
|
|
137
|
+
validator: (value: number) => boolean;
|
|
138
|
+
};
|
|
139
|
+
interactiveTextButton: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
required: false;
|
|
142
|
+
default: string;
|
|
143
|
+
validator: (value: string) => boolean;
|
|
144
|
+
};
|
|
145
|
+
interactiveTexthref: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
required: false;
|
|
148
|
+
default: string;
|
|
149
|
+
validator: (value: string) => boolean;
|
|
150
|
+
};
|
|
151
|
+
interactiveTextDownloadName: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
required: false;
|
|
154
|
+
default: string;
|
|
155
|
+
validator: (value: string) => boolean;
|
|
156
|
+
};
|
|
157
|
+
warningFunction: {
|
|
158
|
+
type: FunctionConstructor;
|
|
159
|
+
required: false;
|
|
160
|
+
default: () => void;
|
|
161
|
+
};
|
|
162
|
+
multipleSelect: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
required: false;
|
|
165
|
+
default: boolean;
|
|
166
|
+
validator: (value: boolean) => boolean;
|
|
167
|
+
};
|
|
168
|
+
uploadText: {
|
|
169
|
+
type: StringConstructor;
|
|
170
|
+
required: false;
|
|
171
|
+
default: string;
|
|
172
|
+
validator: (value: string) => boolean;
|
|
173
|
+
};
|
|
174
|
+
uploadInteractionText: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
required: false;
|
|
177
|
+
default: string;
|
|
178
|
+
validator: (value: string) => boolean;
|
|
179
|
+
};
|
|
180
|
+
uploadProgress: {
|
|
181
|
+
type: NumberConstructor;
|
|
182
|
+
required: false;
|
|
183
|
+
default: number;
|
|
184
|
+
validator: (value: number) => boolean;
|
|
185
|
+
};
|
|
186
|
+
acceptTypes: {
|
|
187
|
+
type: PropType<string[]>;
|
|
188
|
+
default: () => never[];
|
|
189
|
+
};
|
|
190
|
+
acceptTypesInput: {
|
|
191
|
+
type: StringConstructor;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
}>> & {
|
|
195
|
+
onUpdateProgress?: ((...args: any[]) => any) | undefined;
|
|
196
|
+
onUpdateFile?: ((...args: any[]) => any) | undefined;
|
|
197
|
+
}, {
|
|
198
|
+
warningTextUpload: string;
|
|
199
|
+
interactiveTextButton: string;
|
|
200
|
+
interactiveTexthref: string;
|
|
201
|
+
interactiveTextDownloadName: string;
|
|
202
|
+
warningFunction: Function;
|
|
203
|
+
uploadText: string;
|
|
204
|
+
uploadInteractionText: string;
|
|
205
|
+
multipleSelect: boolean;
|
|
206
|
+
acceptTypes: string[];
|
|
207
|
+
acceptTypesInput: string;
|
|
208
|
+
loadingText: string;
|
|
209
|
+
completeText: string;
|
|
210
|
+
progressInterval: number;
|
|
211
|
+
uploadProgress: number;
|
|
212
|
+
}, {}>;
|
|
213
|
+
export default _default;
|