@eodash/eodash 5.0.0-alpha.2.21 → 5.0.0-alpha.2.23
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/asWebComponent.js +4 -1
- package/core/client/components/DashboardLayout.vue +1 -1
- package/core/client/composables/DefineEodash.js +1 -1
- package/core/client/types.d.ts +3 -15
- package/core/client/utils/helpers.js +2 -2
- package/dist/client/{DashboardLayout-DEZe5rZn.js → DashboardLayout-BZDjLPAM.js} +4 -4
- package/dist/client/{DynamicWebComponent-Cp_3d3nd.js → DynamicWebComponent-B3pcDnnp.js} +1 -1
- package/dist/client/{EodashDatePicker-BwQ9Bw9-.js → EodashDatePicker-CYH67qUf.js} +3 -3
- package/dist/client/{EodashItemFilter-BtihrBap.js → EodashItemFilter-BPtyEU15.js} +1 -1
- package/dist/client/{EodashLayerControl-BuZgXYop.js → EodashLayerControl-BMulJ7Nu.js} +1 -1
- package/dist/client/{EodashMap-C9hvsdhf.js → EodashMap-CAlmeyEK.js} +1 -1
- package/dist/client/{EodashMapBtns-BTG6oYL5.js → EodashMapBtns-Cb21hoLK.js} +2 -2
- package/dist/client/{ExportState-GDJ8YxS9.js → ExportState-Cs26sTpI.js} +4 -4
- package/dist/client/{Footer-Cul4HvW4.js → Footer-DeQud94i.js} +1 -1
- package/dist/client/{Header-BikVMROv.js → Header-BCbNDZVc.js} +3 -3
- package/dist/client/{MobileLayout-ByPGOgnO.js → MobileLayout-fwxBmlOE.js} +5 -5
- package/dist/client/{PopUp-AJqPEHmR.js → PopUp-Cy2yuwTa.js} +3 -3
- package/dist/client/{VImg-CY7ndzv2.js → VImg-CBdK-aqy.js} +2 -2
- package/dist/client/{VMain-BlIaUbM6.js → VMain-DS_lMGEB.js} +1 -1
- package/dist/client/{VOverlay-CiMWDe2b.js → VOverlay-Dr3Qyf3n.js} +3 -3
- package/dist/client/{WidgetsContainer-DG9sQaF0.js → WidgetsContainer-C8M-2vnt.js} +1 -1
- package/dist/client/{asWebComponent-6g8pz2_C.js → asWebComponent-BNtA1Amp.js} +12 -9
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-DnXzPqIo.js → forwardRefs-CPEcWmMd.js} +1 -1
- package/dist/client/{index-14PHPf-A.js → index-CT6bsa-4.js} +1 -1
- package/dist/client/style.css +1 -1
- package/dist/client/{transition-CGVKXZbS.js → transition-B7l2l8dM.js} +1 -1
- package/dist/types/core/client/App.vue.d.ts +7 -0
- package/dist/types/core/client/asWebComponent.d.ts +9 -0
- package/dist/types/core/client/components/DashboardLayout.vue.d.ts +2 -0
- package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +18 -0
- package/dist/types/core/client/components/ErrorAlert.vue.d.ts +2 -0
- package/dist/types/core/client/components/Footer.vue.d.ts +2 -0
- package/dist/types/core/client/components/Header.vue.d.ts +2 -0
- package/dist/types/core/client/components/IframeWrapper.vue.d.ts +7 -0
- package/dist/types/core/client/components/Loading.vue.d.ts +2 -0
- package/dist/types/core/client/components/MobileLayout.vue.d.ts +2 -0
- package/dist/types/core/client/composables/DefineEodash.d.ts +2 -0
- package/dist/types/core/client/composables/DefineWidgets.d.ts +14 -0
- package/dist/types/core/client/composables/EodashMap.d.ts +5 -0
- package/dist/types/core/client/composables/index.d.ts +29 -0
- package/dist/types/core/client/eodash.d.ts +8 -0
- package/dist/types/core/client/main.d.ts +2 -0
- package/dist/types/core/client/plugins/axios.d.ts +2 -0
- package/dist/types/core/client/plugins/index.d.ts +3 -0
- package/dist/types/core/client/plugins/vuetify.d.ts +82 -0
- package/dist/types/core/client/render.d.ts +1 -0
- package/dist/types/core/client/store/Actions.d.ts +11 -0
- package/dist/types/core/client/store/States.d.ts +21 -0
- package/dist/types/core/client/store/index.d.ts +2 -0
- package/dist/types/core/client/store/stac.d.ts +25 -0
- package/dist/types/core/client/types.d.ts +279 -0
- package/dist/types/core/client/utils/createLayers.d.ts +44 -0
- package/dist/types/core/client/utils/eodashSTAC.d.ts +82 -0
- package/dist/types/core/client/utils/helpers.d.ts +80 -0
- package/dist/types/core/client/utils/index.d.ts +2 -0
- package/dist/types/core/client/utils/keys.d.ts +6 -0
- package/dist/types/core/client/utils/states.d.ts +14 -0
- package/dist/types/core/client/views/Dashboard.vue.d.ts +9 -0
- package/dist/types/widgets/EodashDatePicker.vue.d.ts +7 -0
- package/dist/types/widgets/EodashItemFilter.vue.d.ts +33 -0
- package/dist/types/widgets/EodashLayerControl.vue.d.ts +7 -0
- package/dist/types/widgets/EodashMap.vue.d.ts +7 -0
- package/dist/types/widgets/EodashMapBtns.vue.d.ts +9 -0
- package/dist/types/widgets/ExportState.vue.d.ts +7 -0
- package/dist/types/widgets/PopUp.vue.d.ts +14 -0
- package/dist/types/widgets/WidgetsContainer.vue.d.ts +7 -0
- package/package.json +6 -5
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export class EodashCollection {
|
|
2
|
+
/**
|
|
3
|
+
* Returns base layers and overlay layers of a STAC Collection
|
|
4
|
+
*
|
|
5
|
+
* @param {import("stac-ts").StacCollection} indicator */
|
|
6
|
+
static getIndicatorLayers(indicator: import("stac-ts").StacCollection): Promise<(Record<string, any> | {
|
|
7
|
+
style?: import("ol/layer/WebGLTile").Style | undefined;
|
|
8
|
+
type: string;
|
|
9
|
+
source: {
|
|
10
|
+
type: string;
|
|
11
|
+
url: string;
|
|
12
|
+
format: string;
|
|
13
|
+
};
|
|
14
|
+
properties: {
|
|
15
|
+
layerConfig?: {
|
|
16
|
+
style: import("ol/layer/WebGLTile").Style | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
id: string;
|
|
19
|
+
title: string;
|
|
20
|
+
layerDatetime: Record<string, unknown> | undefined;
|
|
21
|
+
};
|
|
22
|
+
} | {
|
|
23
|
+
type: string;
|
|
24
|
+
source: {
|
|
25
|
+
type: string;
|
|
26
|
+
normalize: boolean;
|
|
27
|
+
interpolate: boolean;
|
|
28
|
+
sources: {
|
|
29
|
+
url: string;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
32
|
+
properties: {
|
|
33
|
+
id: string;
|
|
34
|
+
title: string;
|
|
35
|
+
layerConfig: Record<string, unknown> | undefined;
|
|
36
|
+
layerDatetime: Record<string, unknown> | undefined;
|
|
37
|
+
};
|
|
38
|
+
style: import("ol/layer/WebGLTile").Style | undefined;
|
|
39
|
+
})[]>;
|
|
40
|
+
/** @param {string} collectionUrl */
|
|
41
|
+
constructor(collectionUrl: string);
|
|
42
|
+
get collectionStac(): import("stac-ts").StacCollection | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* @type {import("stac-ts").StacLink
|
|
45
|
+
* | import("stac-ts").StacItem
|
|
46
|
+
* | undefined}
|
|
47
|
+
*/
|
|
48
|
+
selectedItem: import("stac-ts").StacLink | import("stac-ts").StacItem | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* @async
|
|
51
|
+
* @param {import('stac-ts').StacLink | Date} [linkOrDate]
|
|
52
|
+
* @returns
|
|
53
|
+
*/
|
|
54
|
+
createLayersJson: (linkOrDate?: Date | import("stac-ts").StacLink | undefined) => Promise<Record<string, any>[]>;
|
|
55
|
+
/**
|
|
56
|
+
* @param {import("stac-ts").StacItem} item
|
|
57
|
+
* @param {string} itemUrl
|
|
58
|
+
* @param {string} title
|
|
59
|
+
* @param {boolean} isGeoDB
|
|
60
|
+
* @param {string} [itemDatetime]
|
|
61
|
+
* @returns {Promise<Record<string,any>[]>} arrays
|
|
62
|
+
* */
|
|
63
|
+
buildJsonArray(item: import("stac-ts").StacItem, itemUrl: string, title: string, isGeoDB: boolean, itemDatetime?: string | undefined): Promise<Record<string, any>[]>;
|
|
64
|
+
fetchCollection(): Promise<import("stac-ts").StacCollection>;
|
|
65
|
+
getItems(): import("stac-ts").StacLink[] | undefined;
|
|
66
|
+
getDates(): Date[] | undefined;
|
|
67
|
+
getExtent(): Promise<import("stac-ts").Extents | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Get closest Item Link from a certain date,
|
|
70
|
+
* get the latest if no date provided
|
|
71
|
+
* @param {Date} [date]
|
|
72
|
+
**/
|
|
73
|
+
getItem(date?: Date | undefined): import("stac-ts").StacLink | undefined;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @param {string} datetime
|
|
77
|
+
* @param {string} layer
|
|
78
|
+
* @param {string} map
|
|
79
|
+
*/
|
|
80
|
+
updateLayerJson(datetime: string, layer: string, map: string): Promise<Record<string, any>[] | undefined>;
|
|
81
|
+
#private;
|
|
82
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/** @param {import("stac-ts").StacLink[]} [links] */
|
|
2
|
+
export function generateFeatures(links?: import("stac-ts").StacLink[] | undefined): {
|
|
3
|
+
type: string;
|
|
4
|
+
crs: {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
features: {
|
|
11
|
+
type: string;
|
|
12
|
+
geometry: {
|
|
13
|
+
type: string;
|
|
14
|
+
coordinates: [number, number];
|
|
15
|
+
};
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
18
|
+
/** @param { import("ol/layer/WebGLTile").Style & { jsonform?: Record<string,any> } } [style] */
|
|
19
|
+
export function extractLayerConfig(style?: (import("ol/layer/WebGLTile").Style & {
|
|
20
|
+
jsonform?: Record<string, any>;
|
|
21
|
+
}) | undefined): {
|
|
22
|
+
layerConfig: Record<string, unknown> | undefined;
|
|
23
|
+
style: (import("ol/layer/WebGLTile").Style & {
|
|
24
|
+
jsonform?: Record<string, any>;
|
|
25
|
+
}) | undefined;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Function to extract collection urls from an indicator
|
|
29
|
+
* @param {import("stac-ts").StacCatalog
|
|
30
|
+
* | import("stac-ts").StacCollection
|
|
31
|
+
* | import("stac-ts").StacItem
|
|
32
|
+
* | null
|
|
33
|
+
* } stacObject
|
|
34
|
+
* @param {string} basepath
|
|
35
|
+
* @returns {string[]}
|
|
36
|
+
*/
|
|
37
|
+
export function extractCollectionUrls(stacObject: import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, basepath: string): string[];
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @param {import("stac-ts").StacItem} item
|
|
41
|
+
* @param {import("stac-ts").StacLink | import("stac-ts").StacAsset} linkOrAsset
|
|
42
|
+
* @param {string} id - {@link createLayerID} & {@link extractRoles}
|
|
43
|
+
* @param {{ properties:{id:string} & Record<string, any> }& Record<string,any>} layer
|
|
44
|
+
* @returns
|
|
45
|
+
*/
|
|
46
|
+
export function assignProjID(item: import("stac-ts").StacItem, linkOrAsset: import("stac-ts").StacLink | import("stac-ts").StacAsset, id: string, layer: {
|
|
47
|
+
properties: {
|
|
48
|
+
id: string;
|
|
49
|
+
} & Record<string, any>;
|
|
50
|
+
} & Record<string, any>): string;
|
|
51
|
+
export function setMapProjFromCol(STAcCollection?: import("stac-ts").StacCollection | undefined): Promise<void>;
|
|
52
|
+
export function extractRoles(properties: Record<string, any>, linkOrAsset: import("stac-ts").StacLink | import("stac-ts").StacAsset): void;
|
|
53
|
+
export function fetchStyle(item: import("stac-ts").StacItem, itemUrl: string): Promise<{
|
|
54
|
+
variables?: {
|
|
55
|
+
[x: string]: string | number;
|
|
56
|
+
} | undefined;
|
|
57
|
+
color?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
58
|
+
brightness?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
59
|
+
contrast?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
60
|
+
exposure?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
61
|
+
saturation?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
62
|
+
gamma?: import("ol/expr/expression.js").ExpressionValue | undefined;
|
|
63
|
+
jsonform?: Record<string, any>;
|
|
64
|
+
} | undefined>;
|
|
65
|
+
export function getProjectionCode(projection?: string | number | {
|
|
66
|
+
name: string;
|
|
67
|
+
def: string;
|
|
68
|
+
} | undefined): string;
|
|
69
|
+
export function extractLayerDatetime(links?: import("stac-ts").StacLink[] | undefined, currentStep?: string | null | undefined): {
|
|
70
|
+
controlValues: string[];
|
|
71
|
+
currentStep: string;
|
|
72
|
+
slider: boolean;
|
|
73
|
+
disablePlay: boolean;
|
|
74
|
+
} | undefined;
|
|
75
|
+
export function findLayer(layers: Record<string, any>[], layer: string): Record<string, any> | undefined;
|
|
76
|
+
export function replaceLayer(currentLayers: Record<string, any>[], oldLayer: Record<string, any>, newLayers: Record<string, any>[]): Record<string, any>[] | undefined;
|
|
77
|
+
export function getColFromLayer(indicators: import("./eodashSTAC.js").EodashCollection[], layer: import("ol/layer").Layer): Promise<import("./eodashSTAC.js").EodashCollection | undefined>;
|
|
78
|
+
export function createLayerID(collectionId: string, itemId: string, link: import("stac-ts").StacLink, projectionCode: string): string;
|
|
79
|
+
export function createAssetID(collectionId: string, itemId: string, index: number): string;
|
|
80
|
+
export function removeUnneededProperties(layers: Record<string, any>[]): Record<string, any>[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Array of eodash STAC Collections extracted from the current selected indicator.
|
|
3
|
+
* Updated in {@link file://./../store/stac.js `loadSelectedSTAC`} widget
|
|
4
|
+
* @type {import('./eodashSTAC').EodashCollection[]}
|
|
5
|
+
* @private
|
|
6
|
+
*/
|
|
7
|
+
export const eodashCollections: import("./eodashSTAC").EodashCollection[];
|
|
8
|
+
/**
|
|
9
|
+
* Array of eodash STAC Collections extracted from the current selected COMPARE indicator.
|
|
10
|
+
* Updated in {@link file://./../store/stac.js ` loadSelectedCompareSTAC`} widget
|
|
11
|
+
* @type {import('./eodashSTAC').EodashCollection[]}
|
|
12
|
+
* @private
|
|
13
|
+
*/
|
|
14
|
+
export const eodashCompareCollections: import("./eodashSTAC").EodashCollection[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<any, {
|
|
2
|
+
isWebComponent: boolean;
|
|
3
|
+
config?: string | undefined;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly isWebComponent?: boolean | undefined;
|
|
6
|
+
readonly config?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<any, {
|
|
2
|
+
hintText: string;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly hintText?: string | undefined;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<any, {
|
|
2
|
+
enableCompare: boolean;
|
|
3
|
+
aggregateResults: string;
|
|
4
|
+
filtersTitle: string;
|
|
5
|
+
resultsTitle: string;
|
|
6
|
+
titleProperty: string;
|
|
7
|
+
enableHighlighting: boolean;
|
|
8
|
+
expandMultipleFilters: boolean;
|
|
9
|
+
expandMultipleResults: boolean;
|
|
10
|
+
filterProperties: {
|
|
11
|
+
keys: string[];
|
|
12
|
+
title: string;
|
|
13
|
+
type: string;
|
|
14
|
+
expanded?: boolean;
|
|
15
|
+
}[];
|
|
16
|
+
$props: {
|
|
17
|
+
readonly enableCompare?: boolean | undefined;
|
|
18
|
+
readonly aggregateResults?: string | undefined;
|
|
19
|
+
readonly filtersTitle?: string | undefined;
|
|
20
|
+
readonly resultsTitle?: string | undefined;
|
|
21
|
+
readonly titleProperty?: string | undefined;
|
|
22
|
+
readonly enableHighlighting?: boolean | undefined;
|
|
23
|
+
readonly expandMultipleFilters?: boolean | undefined;
|
|
24
|
+
readonly expandMultipleResults?: boolean | undefined;
|
|
25
|
+
readonly filterProperties?: {
|
|
26
|
+
keys: string[];
|
|
27
|
+
title: string;
|
|
28
|
+
type: string;
|
|
29
|
+
expanded?: boolean;
|
|
30
|
+
}[] | undefined;
|
|
31
|
+
};
|
|
32
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<any, {
|
|
2
|
+
map: string;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly map?: string | undefined;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<any, {
|
|
2
|
+
enableCompare: boolean;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly enableCompare?: boolean | undefined;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<any, {
|
|
2
|
+
exportMap: boolean;
|
|
3
|
+
changeProjection: boolean;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly exportMap?: boolean | undefined;
|
|
6
|
+
readonly changeProjection?: boolean | undefined;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<any, {
|
|
2
|
+
getLayers: Function;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly getLayers?: Function | undefined;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<any, {
|
|
7
|
+
widget?: import("../core/client/types").Widget<"compiletime"> | undefined;
|
|
8
|
+
$props: {
|
|
9
|
+
readonly widget?: import("../core/client/types").Widget<"compiletime"> | undefined;
|
|
10
|
+
};
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<any, {
|
|
2
|
+
widgets: Omit<import("../core/client/types").Widget<"compiletime">, "layout">[];
|
|
3
|
+
$props: {
|
|
4
|
+
readonly widgets?: Omit<import("../core/client/types").Widget<"compiletime">, "layout">[] | undefined;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eodash/eodash",
|
|
3
|
-
"version": "5.0.0-alpha.2.
|
|
3
|
+
"version": "5.0.0-alpha.2.23",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"types": "./core/client/types.d.ts",
|
|
6
5
|
"files": [
|
|
7
6
|
"core/client",
|
|
8
7
|
"widgets",
|
|
@@ -10,11 +9,11 @@
|
|
|
10
9
|
],
|
|
11
10
|
"exports": {
|
|
12
11
|
".": {
|
|
13
|
-
"types": "./core/client/types.d.ts",
|
|
12
|
+
"types": "./dist/types/core/client/types.d.ts",
|
|
14
13
|
"default": "./core/client/main.js"
|
|
15
14
|
},
|
|
16
15
|
"./webcomponent": {
|
|
17
|
-
"types": "./core/client/asWebComponent.d.ts",
|
|
16
|
+
"types": "./dist/types/core/client/asWebComponent.d.ts",
|
|
18
17
|
"default": "./dist/client/eo-dash.js"
|
|
19
18
|
},
|
|
20
19
|
"./webcomponent.css": "./dist/client/style.css",
|
|
@@ -27,12 +26,13 @@
|
|
|
27
26
|
"scripts": {
|
|
28
27
|
"start": "npx eodash dev --entryPoint core/client/eodash.js",
|
|
29
28
|
"prepare": "rollup -c",
|
|
30
|
-
"prepack": "npm run build:lib",
|
|
29
|
+
"prepack": "npm run build:lib && npm run build:types",
|
|
31
30
|
"dev": "npx eodash dev --entryPoint core/client/eodash.js",
|
|
32
31
|
"dev:lib": "npx eodash dev --entryPoint core/client/eodash.js --lib",
|
|
33
32
|
"build": "npx eodash build --entryPoint core/client/eodash.js",
|
|
34
33
|
"build:lib": "npx eodash build --entryPoint core/client/eodash.js --lib --outDir dist/client",
|
|
35
34
|
"build:cli": "rollup -c",
|
|
35
|
+
"build:types": "vue-tsc --declaration --emitDeclarationOnly && cp -rf ./core/client/types.d.ts ./dist/types/core/client/types.d.ts && tsc-alias",
|
|
36
36
|
"check": "vue-tsc --noEmit --skipLibCheck && eslint .",
|
|
37
37
|
"format": "prettier . --write --ignore-unknown",
|
|
38
38
|
"preview": "npx eodash preview",
|
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
"prettier": "^3.3.3",
|
|
88
88
|
"rollup": "^4.21.3",
|
|
89
89
|
"terminate": "^2.8.0",
|
|
90
|
+
"tsc-alias": "^1.8.10",
|
|
90
91
|
"typedoc": "^0.26.7",
|
|
91
92
|
"typedoc-plugin-markdown": "^4.2.7",
|
|
92
93
|
"typedoc-plugin-vue": "^1.2.0",
|