x-prop-tree 0.7.13 → 0.7.14
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/dist/components/propTree/common/base.d.ts +3 -3
- package/dist/components/propTree/common/copyPaste.d.ts +2 -2
- package/dist/components/propTree/common/index.d.ts +1 -1
- package/dist/components/propTree/common/propertyState.d.ts +16 -0
- package/dist/components/propTree/common/provideInject.d.ts +6 -6
- package/dist/components/propTree/composables/common.d.ts +3 -3
- package/dist/components/propTree/composables/uiColorPicker.d.ts +2 -2
- package/dist/components/propTree/composables/uiCompSelect.d.ts +2 -2
- package/dist/components/propTree/composables/uiDummy.d.ts +2 -2
- package/dist/components/propTree/composables/uiJsonEditor.d.ts +2 -2
- package/dist/components/propTree/composables/uiMultiTypes.d.ts +2 -2
- package/dist/components/propTree/composables/uiNumInput.d.ts +2 -2
- package/dist/components/propTree/composables/uiProp.d.ts +4 -4
- package/dist/components/propTree/composables/uiSelect.d.ts +2 -2
- package/dist/components/propTree/composables/uiStrInput.d.ts +2 -2
- package/dist/components/propTree/composables/uiSwitch.d.ts +2 -2
- package/dist/components/propTree/index.vue.d.ts +2 -2
- package/dist/index.js +266 -266
- package/package.json +4 -4
- package/dist/components/propTree/common/propState.d.ts +0 -16
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-prop-tree",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.14",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"vue": "^3.5.22",
|
|
27
27
|
"vue-i18n": "^11.1.12",
|
|
28
28
|
"vuetify": "^3.10.7",
|
|
29
|
-
"x-block-lib": "^0.8.
|
|
29
|
+
"x-block-lib": "^0.8.20",
|
|
30
30
|
"x-essential-lib": "^0.9.2",
|
|
31
31
|
"x-group-list": "^0.4.6",
|
|
32
|
-
"x-runtime-lib": "^0.8.
|
|
33
|
-
"x-state-lib": "^0.3.
|
|
32
|
+
"x-runtime-lib": "^0.8.32",
|
|
33
|
+
"x-state-lib": "^0.3.22"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@eslint/js": "^9.38.0",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { ZProp } from 'x-runtime-lib';
|
|
3
|
-
import { ChangeEvent } from './base';
|
|
4
|
-
export type PropState = {
|
|
5
|
-
change: boolean;
|
|
6
|
-
children?: PropStateMap | PropStateArray;
|
|
7
|
-
};
|
|
8
|
-
export type PropStateMap = {
|
|
9
|
-
[key: string]: PropState;
|
|
10
|
-
};
|
|
11
|
-
export type PropStateArray = PropState[];
|
|
12
|
-
export declare const isPropStateChildrenMap: (children: PropStateMap | PropStateArray) => children is PropStateMap;
|
|
13
|
-
export declare const isPropStateChildrenArray: (children: PropStateMap | PropStateArray) => children is PropStateArray;
|
|
14
|
-
export declare const execProp: (keys: (string | number)[], prop: ZProp, object: any, state: PropState, changeEvent?: ChangeEvent, arrayIndex?: number, isBranch?: boolean) => boolean;
|
|
15
|
-
export declare const rebuildPropState: (propStates: Ref<PropStateMap>, config: ZProp[], object: any, changeEvent?: ChangeEvent) => void;
|
|
16
|
-
export declare const isPropChanged: (propStates: PropStateMap, keys: (string | number)[]) => boolean;
|