@conterra/ct-mapapps-typings 4.18.0-next.20240416040827 → 4.18.0-next.20240418035630
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/agssearch/api.d.ts +14 -0
- package/apprt-reactivity/index.d.ts +1 -0
- package/apprt-reactivity/package.json +5 -0
- package/apprt-vue/VueDijit.d.ts +3 -5
- package/apprt-vue/index.d.ts +16 -0
- package/apprt-vue/mixins/Bindable.d.ts +12 -7
- package/apprt-vue/package.json +1 -1
- package/package.json +1 -1
package/agssearch/api.d.ts
CHANGED
|
@@ -100,6 +100,20 @@ interface AGSStoreFromURLOptions extends AGSStoreCommonOptions {
|
|
|
100
100
|
* A list of URL parameters which will be appended during fetching of the layer.
|
|
101
101
|
*/
|
|
102
102
|
customParameters?: object;
|
|
103
|
+
/**
|
|
104
|
+
* Specifies the collectionId of a ogc-feature layer.
|
|
105
|
+
*/
|
|
106
|
+
collectionId?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Specifies the objectIdField of a ogc-feature layer.
|
|
109
|
+
* Default is 'id'
|
|
110
|
+
*/
|
|
111
|
+
objectIdField?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Flag for ogc-feature layer, to enable queries for features using the objectIdField property.
|
|
114
|
+
* Default is false.
|
|
115
|
+
*/
|
|
116
|
+
supportsIdQueries?: boolean;
|
|
103
117
|
}
|
|
104
118
|
/**
|
|
105
119
|
* The type of stores created by the {@link AGSStoreFactory}.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@conterra/reactivity-core';
|
package/apprt-vue/VueDijit.d.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Wraps a vue instance inside a Dijit Widget.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
5
|
-
* @param {Object} defOrVueInstance
|
|
6
|
-
* @param {Object} [options]
|
|
4
|
+
* @param defOrVueInstance
|
|
7
5
|
* @returns The Dijit Widget instance.
|
|
8
6
|
*/
|
|
9
|
-
declare function createWidget(defOrVueInstance:
|
|
7
|
+
declare function createWidget(defOrVueInstance: any, options?: any): any;
|
|
10
8
|
declare namespace createWidget {
|
|
11
|
-
|
|
9
|
+
var fromVueObj: (obj: any, options?: any) => any;
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
export { createWidget as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ShallowRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This composable integrates reactive values into the vue reactivity system.
|
|
5
|
+
* From within `compute`, you can reference any reactive values and return some derived value.
|
|
6
|
+
* That value will refresh (for your vue component) whenever any of its reactive dependencies change.
|
|
7
|
+
*
|
|
8
|
+
* Because `compute` may be called very often (if there are many updates), it should be fast.
|
|
9
|
+
*
|
|
10
|
+
* @param compute A function that may access reactive data and returns some derived result.
|
|
11
|
+
* @typeParam T The return type of `compute`.
|
|
12
|
+
* @returns A readonly vue reference (the snapshot). `snapshot.value` is the current value of `compute()`.
|
|
13
|
+
*/
|
|
14
|
+
declare function useReactiveSnapshot<T>(compute: () => T): Readonly<ShallowRef<T>>;
|
|
15
|
+
|
|
16
|
+
export { useReactiveSnapshot };
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Bindable Mixin for use in .vue files.
|
|
3
|
+
*/
|
|
4
|
+
declare const Bindable: {
|
|
5
|
+
methods: {
|
|
6
|
+
get(this: any, vmProp: string): any;
|
|
7
|
+
set(this: any, vmProp: string, value: any): void;
|
|
8
|
+
watch(this: any, vmProp: string, callback: (...args: any[]) => void): {
|
|
9
|
+
remove(): void;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
8
13
|
|
|
9
14
|
export { Bindable as default };
|
package/apprt-vue/package.json
CHANGED