@eodash/eodash 5.6.1 → 5.7.1
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/core/client/components/DashboardLayout.vue +1 -1
- package/core/client/components/EodashOverlay.vue +27 -4
- package/core/client/composables/DefineEodash.js +0 -1
- package/core/client/composables/DefineWidgets.js +3 -1
- package/core/client/composables/index.js +6 -2
- package/core/client/eodashSTAC/EodashCollection.js +79 -45
- package/core/client/eodashSTAC/cql.js +64 -0
- package/core/client/eodashSTAC/createLayers.js +192 -125
- package/core/client/eodashSTAC/helpers.js +423 -97
- package/core/client/eodashSTAC/mosaic.js +416 -0
- package/core/client/plugins/axios.js +31 -1
- package/core/client/store/actions.js +1 -1
- package/core/client/store/stac.js +25 -4
- package/core/client/store/states.js +20 -2
- package/core/client/types.ts +155 -29
- package/core/client/utils/bands-editor/exampleSchema.json +50 -50
- package/core/client/utils/index.js +4 -0
- package/core/client/utils/states.js +10 -0
- package/dist/client/{DashboardLayout-CqMb7OXc.js → DashboardLayout-ePbdvUTE.js} +5 -5
- package/dist/client/{DynamicWebComponent-DqKqTf7l.js → DynamicWebComponent-g5SdRbjY.js} +1 -1
- package/dist/client/{EodashChart-PkUQfH0k.js → EodashChart-ChrkA5oS.js} +7 -6
- package/dist/client/{EodashDatePicker-DLJGdTtX.js → EodashDatePicker-CY1TrsDo.js} +3 -3
- package/dist/client/{EodashItemFilter-Dk8KjFcX.js → EodashItemFilter-DzshHDlS.js} +2 -1
- package/dist/client/{EodashLayerControl-CC1Cogrn.js → EodashLayerControl-DMCeMkSd.js} +70 -22
- package/dist/client/{EodashLayoutSwitcher-5WZYd6rr.js → EodashLayoutSwitcher-iJ8mX1rF.js} +3 -3
- package/dist/client/EodashMapBtns-C7Cr7q5Y.js +592 -0
- package/dist/client/EodashStacInfo-K7-iuXa7.js +169 -0
- package/dist/client/{EodashTools-CGZtTh45.js → EodashTools-BEK7e7JM.js} +4 -4
- package/dist/client/{ExportState-Ce0ZnrX_.js → ExportState-CqIzfMYQ.js} +6 -168
- package/dist/client/{Footer-CnZqEiop.js → Footer-1P0cmBOZ.js} +1 -1
- package/dist/client/{Header-Dr5PBIm8.js → Header-CkkBaBNh.js} +2 -2
- package/dist/client/MobileLayout-BPf49kDU.js +118 -0
- package/dist/client/{PopUp-DjvE_71e.js → PopUp-DPZq5SWI.js} +4 -168
- package/dist/client/{ProcessList-kf3olI7W.js → ProcessList-DuI6WpS1.js} +5 -5
- package/dist/client/VDivider-Bj9LG_JV.js +168 -0
- package/dist/client/{VImg-Bj6uWt6j.js → VImg-Ddv5OyMz.js} +2 -2
- package/dist/client/{VMain-Cm0UmKGi.js → VMain-7yqk_qC3.js} +1 -1
- package/dist/client/{VTooltip-DbBu-ky3.js → VTooltip-2hAJyEoa.js} +2 -2
- package/dist/client/{WidgetsContainer-CfLnd44U.js → WidgetsContainer-2DOrlwCB.js} +1 -1
- package/dist/client/{asWebComponent-DfULAbpq.js → asWebComponent-BlFN2lkB.js} +493 -335
- package/dist/client/{async-CIbKXEEe.js → async-B2H8ZwUK.js} +21 -10
- package/dist/client/create-layers-config-u_vn5hPk.js +182 -0
- package/dist/client/dialog-transition-BrMkMiNa.js +170 -0
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-yj3VWOK5.js → forwardRefs-DAlror6d.js} +8 -87
- package/dist/client/{handling-s8xt2JwF.js → handling-B6I1V5eG.js} +123 -85
- package/dist/client/{helpers-DAVGYl_f.js → helpers-CBqIUSXJ.js} +3034 -1649
- package/dist/client/index-BWq1ZKaV.js +3168 -0
- package/dist/client/{index-CYz6dT7K.js → index-CJ9UI3ln.js} +2 -2
- package/dist/client/index-DXLz4sFR.js +442 -0
- package/dist/client/{index-4TrjfJ32.js → index-DhKU6KqM.js} +230 -231
- package/dist/client/{index-Bu8BMA9q.js → index-DjQlbWbJ.js} +70 -83
- package/dist/client/material-symbols-outlined.woff2 +0 -0
- package/dist/client/material-symbols-rounded.woff2 +0 -0
- package/dist/client/material-symbols-sharp.woff2 +0 -0
- package/dist/client/material-symbols-subset.woff2 +0 -0
- package/dist/client/mosaic-BFYLEwyx.js +455 -0
- package/dist/client/templates.js +250 -119
- package/dist/client/{transition-DaOsiD4u.js → transition-D_W6Wn9v.js} +1 -1
- package/dist/node/cli.js +5 -5
- package/dist/node/types.d.ts +4 -0
- package/dist/types/core/client/composables/DefineEodash.d.ts +1 -1
- package/dist/types/core/client/composables/index.d.ts +1 -3
- package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +62 -31
- package/dist/types/core/client/eodashSTAC/cql.d.ts +15 -0
- package/dist/types/core/client/eodashSTAC/createLayers.d.ts +44 -25
- package/dist/types/core/client/eodashSTAC/helpers.d.ts +78 -18
- package/dist/types/core/client/eodashSTAC/mosaic.d.ts +56 -0
- package/dist/types/core/client/store/stac.d.ts +31 -7
- package/dist/types/core/client/store/states.d.ts +24 -2
- package/dist/types/core/client/types.d.ts +131 -25
- package/dist/types/core/client/utils/states.d.ts +12 -0
- package/dist/types/templates/baseConfig.d.ts +1 -88
- package/dist/types/templates/compare.d.ts +32 -3
- package/dist/types/templates/expert.d.ts +18 -0
- package/dist/types/templates/explore.d.ts +9 -1
- package/dist/types/templates/lite.d.ts +11 -0
- package/dist/types/widgets/EodashChart.vue.d.ts +5 -3
- package/dist/types/widgets/EodashItemCatalog/index.vue.d.ts +129 -2
- package/dist/types/widgets/EodashItemCatalog/methods/filters.d.ts +28 -6
- package/dist/types/widgets/EodashItemCatalog/methods/handlers.d.ts +17 -4
- package/dist/types/widgets/EodashItemCatalog/methods/map.d.ts +16 -4
- package/dist/types/widgets/EodashLayerControl.vue.d.ts +36 -17
- package/dist/types/widgets/EodashMap/EodashMapBtns.vue.d.ts +23 -10
- package/dist/types/widgets/EodashMap/index.vue.d.ts +91 -35
- package/dist/types/widgets/EodashMap/methods/create-layers-config.d.ts +1 -8
- package/dist/types/widgets/EodashMap/methods/index.d.ts +5 -1
- package/dist/types/widgets/EodashMap/methods/use-map-loading.d.ts +1 -0
- package/dist/types/widgets/EodashProcess/index.vue.d.ts +5 -3
- package/dist/types/widgets/EodashProcess/methods/composables.d.ts +1 -1
- package/dist/types/widgets/EodashProcess/methods/handling.d.ts +13 -8
- package/dist/types/widgets/EodashProcess/states.d.ts +1 -1
- package/dist/types/widgets/EodashStacInfo.vue.d.ts +20 -0
- package/dist/types/widgets/EodashTimeSlider/index.vue.d.ts +54 -0
- package/dist/types/widgets/EodashTimeSlider/methods/index.d.ts +34 -0
- package/dist/types/widgets/EodashTimeSlider/types.d.ts +52 -0
- package/dist/types/widgets/EodashTools.vue.d.ts +5 -5
- package/package.json +46 -46
- package/templates/baseConfig.js +36 -6
- package/templates/compare.js +62 -7
- package/templates/expert.js +23 -0
- package/templates/explore.js +11 -5
- package/templates/lite.js +14 -0
- package/widgets/EodashChart.vue +1 -0
- package/widgets/EodashItemCatalog/index.vue +363 -35
- package/widgets/EodashItemCatalog/methods/filters.js +134 -70
- package/widgets/EodashItemCatalog/methods/handlers.js +113 -19
- package/widgets/EodashItemCatalog/methods/map.js +142 -28
- package/widgets/EodashLayerControl.vue +64 -14
- package/widgets/EodashMap/EodashMapBtns.vue +153 -47
- package/widgets/EodashMap/index.vue +101 -105
- package/widgets/EodashMap/methods/btns.js +37 -5
- package/widgets/EodashMap/methods/create-layers-config.js +18 -16
- package/widgets/EodashMap/methods/index.js +89 -8
- package/widgets/EodashMap/methods/use-map-loading.js +52 -0
- package/widgets/EodashProcess/index.vue +2 -1
- package/widgets/EodashProcess/methods/async.js +19 -8
- package/widgets/EodashProcess/methods/composables.js +63 -77
- package/widgets/EodashProcess/methods/custom-endpoints/chart/sentinelhub-endpoint.js +9 -5
- package/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.js +7 -4
- package/widgets/EodashProcess/methods/handling.js +105 -72
- package/widgets/EodashProcess/states.js +1 -1
- package/widgets/EodashStacInfo.vue +64 -2
- package/widgets/EodashTimeSlider/index.vue +208 -0
- package/widgets/EodashTimeSlider/methods/index.js +236 -0
- package/widgets/EodashTimeSlider/types.ts +54 -0
- package/dist/client/EodashMapBtns-BHrSDNoC.js +0 -435
- package/dist/client/EodashStacInfo-B90wobPc.js +0 -107
- package/dist/client/EodashTimeSlider-5vm7F3ju.js +0 -53
- package/dist/client/MobileLayout-DyMjaeif.js +0 -118
- package/dist/client/index-CugS__t5.js +0 -570
- package/dist/types/widgets/EodashTimeSlider.vue.d.ts +0 -15
- package/widgets/EodashTimeSlider.vue +0 -40
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { ref, watch, onUnmounted, computed, openBlock, createElementBlock, createCommentVNode } from 'vue';
|
|
2
|
+
import '@eox/stacinfo';
|
|
3
|
+
import { p as isSTACItem, N as currentUrl } from './helpers-CBqIUSXJ.js';
|
|
4
|
+
import { storeToRefs } from 'pinia';
|
|
5
|
+
import { H as useSTAcStore } from './asWebComponent-BlFN2lkB.js';
|
|
6
|
+
|
|
7
|
+
const _hoisted_1 = { class: "flex-grow-1" };
|
|
8
|
+
const _hoisted_2 = [".for", ".allowHtml", ".body", ".featured", ".footer", ".header", ".tags", ".styleOverride"];
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
const _sfc_main = {
|
|
12
|
+
__name: 'EodashStacInfo',
|
|
13
|
+
props: {
|
|
14
|
+
level: {
|
|
15
|
+
type: /** @type {import("vue").PropType<"item" | "collection">} */ (String),
|
|
16
|
+
default: "collection",
|
|
17
|
+
validator: (/** @type {string} */ v) => ["collection", "item"].includes(v),
|
|
18
|
+
},
|
|
19
|
+
styleOverride: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "",
|
|
22
|
+
},
|
|
23
|
+
allowHtml: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: true,
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
header: {
|
|
29
|
+
/**
|
|
30
|
+
* @type {import("vue").PropType<
|
|
31
|
+
* (string | {
|
|
32
|
+
* key: string,
|
|
33
|
+
* filter?: (item: any) => boolean
|
|
34
|
+
* })[]
|
|
35
|
+
* >}
|
|
36
|
+
*/
|
|
37
|
+
type: Array,
|
|
38
|
+
default: () => ["title"],
|
|
39
|
+
},
|
|
40
|
+
tags: {
|
|
41
|
+
/**
|
|
42
|
+
* @type {import("vue").PropType<
|
|
43
|
+
* (string | {
|
|
44
|
+
* key: string,
|
|
45
|
+
* filter?: (item: any) => boolean
|
|
46
|
+
* })[]
|
|
47
|
+
* >}
|
|
48
|
+
*/
|
|
49
|
+
type: Array,
|
|
50
|
+
default: () => ["themes"],
|
|
51
|
+
},
|
|
52
|
+
body: {
|
|
53
|
+
/**
|
|
54
|
+
* @type {import("vue").PropType<
|
|
55
|
+
* (string | {
|
|
56
|
+
* key: string,
|
|
57
|
+
* filter?: (item: any) => boolean
|
|
58
|
+
* })[]
|
|
59
|
+
* >}
|
|
60
|
+
*/
|
|
61
|
+
type: Array,
|
|
62
|
+
default: () => [
|
|
63
|
+
"satellite",
|
|
64
|
+
"sensor",
|
|
65
|
+
"insituSources",
|
|
66
|
+
"otherSources",
|
|
67
|
+
"agency",
|
|
68
|
+
"extent",
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
featured: {
|
|
72
|
+
/**
|
|
73
|
+
* @type {import("vue").PropType<
|
|
74
|
+
* (string | {
|
|
75
|
+
* key: string,
|
|
76
|
+
* filter?: (item: any) => boolean
|
|
77
|
+
* })[]
|
|
78
|
+
* >}
|
|
79
|
+
*/
|
|
80
|
+
type: Array,
|
|
81
|
+
default: () => ["description", "providers", "assets", "links"],
|
|
82
|
+
},
|
|
83
|
+
footer: {
|
|
84
|
+
/**
|
|
85
|
+
* @type {import("vue").PropType<
|
|
86
|
+
* (string | {
|
|
87
|
+
* key: string,
|
|
88
|
+
* filter?: (item: any) => boolean
|
|
89
|
+
* })[]
|
|
90
|
+
* >}
|
|
91
|
+
*/
|
|
92
|
+
type: Array,
|
|
93
|
+
default: () => ["sci:citation", "sci:doi", "sci:publication"],
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
setup(__props) {
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
const { selectedItem } = storeToRefs(useSTAcStore());
|
|
101
|
+
|
|
102
|
+
/** @type {import("vue").Ref<string | null>} */
|
|
103
|
+
const itemUrl = ref(null);
|
|
104
|
+
/**
|
|
105
|
+
* Active object URL (only set for the blob fallback)
|
|
106
|
+
* @type {string | null}
|
|
107
|
+
*/
|
|
108
|
+
let activeItemUrl = null;
|
|
109
|
+
|
|
110
|
+
const revokeItem = () => {
|
|
111
|
+
if (activeItemUrl) {
|
|
112
|
+
URL.revokeObjectURL(activeItemUrl);
|
|
113
|
+
activeItemUrl = null;
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
watch(
|
|
118
|
+
selectedItem,
|
|
119
|
+
(item) => {
|
|
120
|
+
if (__props.level !== "item" || !item) return;
|
|
121
|
+
revokeItem();
|
|
122
|
+
if (!isSTACItem(item)) {
|
|
123
|
+
itemUrl.value = item.href;
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
const selfHref = item?.links?.find((l) => l.rel === "self")?.href;
|
|
127
|
+
if (selfHref) {
|
|
128
|
+
itemUrl.value = selfHref;
|
|
129
|
+
} else if (item) {
|
|
130
|
+
const blob = new Blob([JSON.stringify(item)], {
|
|
131
|
+
type: "application/json",
|
|
132
|
+
});
|
|
133
|
+
activeItemUrl = URL.createObjectURL(blob);
|
|
134
|
+
itemUrl.value = activeItemUrl;
|
|
135
|
+
} else {
|
|
136
|
+
itemUrl.value = null;
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{ immediate: true },
|
|
140
|
+
);
|
|
141
|
+
onUnmounted(revokeItem);
|
|
142
|
+
|
|
143
|
+
const stacInfoURL = computed(() =>
|
|
144
|
+
__props.level === "item" ? itemUrl.value : currentUrl.value,
|
|
145
|
+
);
|
|
146
|
+
|
|
147
|
+
return (_ctx, _cache) => {
|
|
148
|
+
return (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
149
|
+
(stacInfoURL.value)
|
|
150
|
+
? (openBlock(), createElementBlock("eox-stacinfo", {
|
|
151
|
+
key: 0,
|
|
152
|
+
".for": stacInfoURL.value,
|
|
153
|
+
".allowHtml": __props.allowHtml,
|
|
154
|
+
".body": __props.body,
|
|
155
|
+
".featured": __props.featured,
|
|
156
|
+
".footer": __props.footer,
|
|
157
|
+
".header": __props.header,
|
|
158
|
+
".tags": __props.tags,
|
|
159
|
+
style: {"--color-primary-lighter":"none"},
|
|
160
|
+
".styleOverride": __props.styleOverride
|
|
161
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_2))
|
|
162
|
+
: createCommentVNode("v-if", true)
|
|
163
|
+
]))
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export { _sfc_main as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref, computed, openBlock, createElementBlock, createElementVNode, createBlock, unref, createCommentVNode, createVNode, withCtx, mergeProps } from 'vue';
|
|
2
|
-
import _sfc_main$2 from './PopUp-
|
|
3
|
-
import EodashItemFilter from './EodashItemFilter-
|
|
4
|
-
import _sfc_main$1 from './EodashLayoutSwitcher-
|
|
2
|
+
import _sfc_main$2 from './PopUp-DPZq5SWI.js';
|
|
3
|
+
import EodashItemFilter from './EodashItemFilter-DzshHDlS.js';
|
|
4
|
+
import _sfc_main$1 from './EodashLayoutSwitcher-iJ8mX1rF.js';
|
|
5
5
|
import { mdiViewDashboard, mdiPlusCircleOutline } from '@mdi/js';
|
|
6
|
-
import { _ as _export_sfc, G as useDisplay, I as useTransparentPanel, J as VBtn } from './asWebComponent-
|
|
6
|
+
import { _ as _export_sfc, G as useDisplay, I as useTransparentPanel, J as VBtn } from './asWebComponent-BlFN2lkB.js';
|
|
7
7
|
|
|
8
8
|
const _style_0 = ".v-btn--size-default[data-v-73449028]{--v-btn-height: 30px}";
|
|
9
9
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { createVNode, normalizeStyle, normalizeClass, createElementVNode, Fragment, toDisplayString, shallowRef, watch, withDirectives, mergeProps,
|
|
1
|
+
import { createVNode, normalizeStyle, normalizeClass, createElementVNode, Fragment, toDisplayString, shallowRef, watch, withDirectives, mergeProps, useModel, ref, openBlock, createBlock, withCtx, createElementBlock, renderList, unref, createTextVNode, vShow, createCommentVNode, mergeModels } from 'vue';
|
|
2
2
|
import { mdiContentCopy, mdiClipboardCheckOutline } from '@mdi/js';
|
|
3
|
-
import _sfc_main$1 from './PopUp-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import _sfc_main$1 from './PopUp-DPZq5SWI.js';
|
|
4
|
+
import { R as createSimpleFunctional, g as genericComponent, o as provideDefaults, c as useRender, p as propsFactory, m as makeTagProps, e as makeComponentProps, K as VIcon, V as VDefaultsProvider, Q as IconValue, Z as makeDensityProps, S as Ripple, l as provideTheme, h as useBorder, U as useVariant, W as useDensity, b as useDimension, i as useElevation, ai as useLoader, j as useLocation, aj as usePosition, k as useRounded, T as useLink, X as makeVariantProps, r as makeThemeProps, Y as makeRouterProps, s as makeRoundedProps, ak as makePositionProps, t as makeLocationProps, al as makeLoaderProps, v as makeElevationProps, d as makeDimensionProps, w as makeBorderProps, q as convertToUnit, am as LoaderSlot, a1 as genOverlays, _ as _export_sfc, J as VBtn, an as copyToClipBoard } from './asWebComponent-BlFN2lkB.js';
|
|
5
|
+
import { W as chartSpec, ah as removeUnneededProperties, B as getLayers, K as mapPosition, a9 as availableMapProjection } from './helpers-CBqIUSXJ.js';
|
|
6
6
|
import { base64EncodeSpec } from '@eox/chart';
|
|
7
|
-
import { V as VImg, a as VExpandTransition } from './VImg-
|
|
7
|
+
import { V as VImg, a as VExpandTransition } from './VImg-Ddv5OyMz.js';
|
|
8
|
+
import { V as VAvatar, a as VDivider } from './VDivider-Bj9LG_JV.js';
|
|
8
9
|
|
|
9
10
|
// Styles
|
|
10
11
|
const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer');
|
|
@@ -61,85 +62,6 @@ const VCardSubtitle = genericComponent()({
|
|
|
61
62
|
// Utilities
|
|
62
63
|
const VCardTitle = createSimpleFunctional('v-card-title');
|
|
63
64
|
|
|
64
|
-
const makeVAvatarProps = propsFactory({
|
|
65
|
-
start: Boolean,
|
|
66
|
-
end: Boolean,
|
|
67
|
-
icon: IconValue,
|
|
68
|
-
image: String,
|
|
69
|
-
text: String,
|
|
70
|
-
...makeBorderProps(),
|
|
71
|
-
...makeComponentProps(),
|
|
72
|
-
...makeDensityProps(),
|
|
73
|
-
...makeRoundedProps(),
|
|
74
|
-
...makeSizeProps(),
|
|
75
|
-
...makeTagProps(),
|
|
76
|
-
...makeThemeProps(),
|
|
77
|
-
...makeVariantProps({
|
|
78
|
-
variant: 'flat'
|
|
79
|
-
})
|
|
80
|
-
}, 'VAvatar');
|
|
81
|
-
const VAvatar = genericComponent()({
|
|
82
|
-
name: 'VAvatar',
|
|
83
|
-
props: makeVAvatarProps(),
|
|
84
|
-
setup(props, _ref) {
|
|
85
|
-
let {
|
|
86
|
-
slots
|
|
87
|
-
} = _ref;
|
|
88
|
-
const {
|
|
89
|
-
themeClasses
|
|
90
|
-
} = provideTheme(props);
|
|
91
|
-
const {
|
|
92
|
-
borderClasses
|
|
93
|
-
} = useBorder(props);
|
|
94
|
-
const {
|
|
95
|
-
colorClasses,
|
|
96
|
-
colorStyles,
|
|
97
|
-
variantClasses
|
|
98
|
-
} = useVariant(props);
|
|
99
|
-
const {
|
|
100
|
-
densityClasses
|
|
101
|
-
} = useDensity(props);
|
|
102
|
-
const {
|
|
103
|
-
roundedClasses
|
|
104
|
-
} = useRounded(props);
|
|
105
|
-
const {
|
|
106
|
-
sizeClasses,
|
|
107
|
-
sizeStyles
|
|
108
|
-
} = useSize(props);
|
|
109
|
-
useRender(() => createVNode(props.tag, {
|
|
110
|
-
"class": normalizeClass(['v-avatar', {
|
|
111
|
-
'v-avatar--start': props.start,
|
|
112
|
-
'v-avatar--end': props.end
|
|
113
|
-
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class]),
|
|
114
|
-
"style": normalizeStyle([colorStyles.value, sizeStyles.value, props.style])
|
|
115
|
-
}, {
|
|
116
|
-
default: () => [!slots.default ? props.image ? createVNode(VImg, {
|
|
117
|
-
"key": "image",
|
|
118
|
-
"src": props.image,
|
|
119
|
-
"alt": "",
|
|
120
|
-
"cover": true
|
|
121
|
-
}, null) : props.icon ? createVNode(VIcon, {
|
|
122
|
-
"key": "icon",
|
|
123
|
-
"icon": props.icon
|
|
124
|
-
}, null) : props.text : createVNode(VDefaultsProvider, {
|
|
125
|
-
"key": "content-defaults",
|
|
126
|
-
"defaults": {
|
|
127
|
-
VImg: {
|
|
128
|
-
cover: true,
|
|
129
|
-
src: props.image
|
|
130
|
-
},
|
|
131
|
-
VIcon: {
|
|
132
|
-
icon: props.icon
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}, {
|
|
136
|
-
default: () => [slots.default()]
|
|
137
|
-
}), genOverlays(false, 'v-avatar')]
|
|
138
|
-
}));
|
|
139
|
-
return {};
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
|
|
143
65
|
const makeCardItemProps = propsFactory({
|
|
144
66
|
appendAvatar: String,
|
|
145
67
|
appendIcon: IconValue,
|
|
@@ -431,90 +353,6 @@ const VCard = genericComponent()({
|
|
|
431
353
|
}
|
|
432
354
|
});
|
|
433
355
|
|
|
434
|
-
const allowedVariants = ['dotted', 'dashed', 'solid', 'double'];
|
|
435
|
-
const makeVDividerProps = propsFactory({
|
|
436
|
-
color: String,
|
|
437
|
-
contentOffset: [Number, String, Array],
|
|
438
|
-
gradient: Boolean,
|
|
439
|
-
inset: Boolean,
|
|
440
|
-
length: [Number, String],
|
|
441
|
-
opacity: [Number, String],
|
|
442
|
-
thickness: [Number, String],
|
|
443
|
-
vertical: Boolean,
|
|
444
|
-
variant: {
|
|
445
|
-
type: String,
|
|
446
|
-
default: 'solid',
|
|
447
|
-
validator: v => allowedVariants.includes(v)
|
|
448
|
-
},
|
|
449
|
-
...makeComponentProps(),
|
|
450
|
-
...makeThemeProps()
|
|
451
|
-
}, 'VDivider');
|
|
452
|
-
const VDivider = genericComponent()({
|
|
453
|
-
name: 'VDivider',
|
|
454
|
-
props: makeVDividerProps(),
|
|
455
|
-
setup(props, _ref) {
|
|
456
|
-
let {
|
|
457
|
-
attrs,
|
|
458
|
-
slots
|
|
459
|
-
} = _ref;
|
|
460
|
-
const {
|
|
461
|
-
themeClasses
|
|
462
|
-
} = provideTheme(props);
|
|
463
|
-
const {
|
|
464
|
-
textColorClasses,
|
|
465
|
-
textColorStyles
|
|
466
|
-
} = useTextColor(() => props.color);
|
|
467
|
-
const dividerStyles = computed(() => {
|
|
468
|
-
const styles = {};
|
|
469
|
-
if (props.length) {
|
|
470
|
-
styles[props.vertical ? 'height' : 'width'] = convertToUnit(props.length);
|
|
471
|
-
}
|
|
472
|
-
if (props.thickness) {
|
|
473
|
-
styles[props.vertical ? 'borderRightWidth' : 'borderTopWidth'] = convertToUnit(props.thickness);
|
|
474
|
-
}
|
|
475
|
-
return styles;
|
|
476
|
-
});
|
|
477
|
-
const contentStyles = toRef(() => {
|
|
478
|
-
const margin = Array.isArray(props.contentOffset) ? props.contentOffset[0] : props.contentOffset;
|
|
479
|
-
const shift = Array.isArray(props.contentOffset) ? props.contentOffset[1] : 0;
|
|
480
|
-
return {
|
|
481
|
-
marginBlock: props.vertical && margin ? convertToUnit(margin) : undefined,
|
|
482
|
-
marginInline: !props.vertical && margin ? convertToUnit(margin) : undefined,
|
|
483
|
-
transform: shift ? `translate${props.vertical ? 'X' : 'Y'}(${convertToUnit(shift)})` : undefined
|
|
484
|
-
};
|
|
485
|
-
});
|
|
486
|
-
useRender(() => {
|
|
487
|
-
const divider = createElementVNode("hr", {
|
|
488
|
-
"class": normalizeClass([{
|
|
489
|
-
'v-divider': true,
|
|
490
|
-
'v-divider--gradient': props.gradient && !slots.default,
|
|
491
|
-
'v-divider--inset': props.inset,
|
|
492
|
-
'v-divider--vertical': props.vertical
|
|
493
|
-
}, themeClasses.value, textColorClasses.value, props.class]),
|
|
494
|
-
"style": normalizeStyle([dividerStyles.value, textColorStyles.value, {
|
|
495
|
-
'--v-border-opacity': props.opacity
|
|
496
|
-
}, {
|
|
497
|
-
'border-style': props.variant
|
|
498
|
-
}, props.style]),
|
|
499
|
-
"aria-orientation": !attrs.role || attrs.role === 'separator' ? props.vertical ? 'vertical' : 'horizontal' : undefined,
|
|
500
|
-
"role": `${attrs.role || 'separator'}`
|
|
501
|
-
}, null);
|
|
502
|
-
if (!slots.default) return divider;
|
|
503
|
-
return createElementVNode("div", {
|
|
504
|
-
"class": normalizeClass(['v-divider__wrapper', {
|
|
505
|
-
'v-divider__wrapper--gradient': props.gradient,
|
|
506
|
-
'v-divider__wrapper--inset': props.inset,
|
|
507
|
-
'v-divider__wrapper--vertical': props.vertical
|
|
508
|
-
}])
|
|
509
|
-
}, [divider, createElementVNode("div", {
|
|
510
|
-
"class": "v-divider__content",
|
|
511
|
-
"style": normalizeStyle(contentStyles.value)
|
|
512
|
-
}, [slots.default()]), divider]);
|
|
513
|
-
});
|
|
514
|
-
return {};
|
|
515
|
-
}
|
|
516
|
-
});
|
|
517
|
-
|
|
518
356
|
const _hoisted_1 = { class: "d-flex flex-wrap gap-2 mb-4" };
|
|
519
357
|
const _hoisted_2 = { style: {"position":"absolute","bottom":"15px"} };
|
|
520
358
|
const _hoisted_3 = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, shallowRef, computed, toRef, watchEffect, createVNode, normalizeStyle, normalizeClass, inject, openBlock, createBlock, unref, withCtx, createElementVNode, toDisplayString } from 'vue';
|
|
2
|
-
import { g as genericComponent, l as provideTheme, f as useBackgroundColor, h as useBorder, i as useElevation, k as useRounded, F as useResizeObserver, A as useToggleScope, B as useLayoutItem, c as useRender, q as convertToUnit, p as propsFactory, r as makeThemeProps, m as makeTagProps, s as makeRoundedProps, D as makeLayoutItemProps, v as makeElevationProps, e as makeComponentProps, w as makeBorderProps, _ as _export_sfc, E as eodashKey, G as useDisplay } from './asWebComponent-
|
|
2
|
+
import { g as genericComponent, l as provideTheme, f as useBackgroundColor, h as useBorder, i as useElevation, k as useRounded, F as useResizeObserver, A as useToggleScope, B as useLayoutItem, c as useRender, q as convertToUnit, p as propsFactory, r as makeThemeProps, m as makeTagProps, s as makeRoundedProps, D as makeLayoutItemProps, v as makeElevationProps, e as makeComponentProps, w as makeBorderProps, _ as _export_sfc, E as eodashKey, G as useDisplay } from './asWebComponent-BlFN2lkB.js';
|
|
3
3
|
|
|
4
4
|
const _style_0 = ".footer-text[data-v-f0fd061e]{font-size:.8rem}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createVNode, normalizeStyle, normalizeClass, createElementVNode, shallowRef, computed, ref, watch, onMounted, onBeforeUnmount, toRef, watchEffect, mergeProps, inject, openBlock, createBlock, withCtx, createTextVNode, toDisplayString, unref } from 'vue';
|
|
2
|
-
import { g as genericComponent, c as useRender, p as propsFactory, m as makeTagProps, e as makeComponentProps, f as useBackgroundColor, h as useBorder, i as useElevation, j as useLocation, k as useRounded, l as provideTheme, n as useRtl, o as provideDefaults, V as VDefaultsProvider, q as convertToUnit, r as makeThemeProps, s as makeRoundedProps, t as makeLocationProps, v as makeElevationProps, w as makeBorderProps, x as clamp, y as consoleWarn, z as useProxiedModel, A as useToggleScope, B as useLayoutItem, C as omit, D as makeLayoutItemProps, _ as _export_sfc, E as eodashKey } from './asWebComponent-
|
|
3
|
-
import { V as VImg, a as VExpandTransition } from './VImg-
|
|
2
|
+
import { g as genericComponent, c as useRender, p as propsFactory, m as makeTagProps, e as makeComponentProps, f as useBackgroundColor, h as useBorder, i as useElevation, j as useLocation, k as useRounded, l as provideTheme, n as useRtl, o as provideDefaults, V as VDefaultsProvider, q as convertToUnit, r as makeThemeProps, s as makeRoundedProps, t as makeLocationProps, v as makeElevationProps, w as makeBorderProps, x as clamp, y as consoleWarn, z as useProxiedModel, A as useToggleScope, B as useLayoutItem, C as omit, D as makeLayoutItemProps, _ as _export_sfc, E as eodashKey } from './asWebComponent-BlFN2lkB.js';
|
|
3
|
+
import { V as VImg, a as VExpandTransition } from './VImg-Ddv5OyMz.js';
|
|
4
4
|
import { u as useSsrBoot } from './ssrBoot-Zgc_Ttvi.js';
|
|
5
5
|
|
|
6
6
|
const _style_0 = ".logo[data-v-86c95219]{max-width:140px}";
|