x-runtime-lib 0.9.36 → 0.9.37

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +29 -29
  2. package/dist/index.js +299 -299
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -836,7 +836,12 @@ export declare type ZProperty = ({
836
836
  } & ZPropertyBranch) | ({
837
837
  array: true;
838
838
  defaultArray: any[];
839
- } & ZPropertyBranch) | WithArray<ZPropertyDummy> | WithArray<ZPropertyStrInput> | WithArray<ZPropertyNumInput> | WithArray<ZPropertySwitch> | WithArray<ZPropertySelect> | WithArray<ZPropertyColorPicker> | WithArray<ZPropertyJsonEditor> | WithArray<ZPropertyMultiTypes> | WithArray<ZPropertySelectComp> | WithArray<ZPropertySelectSlot> | WithArray<ZPropertyStrInput> | WithArray<ZPropertySelectAdaptSlot> | WithArray<ZPropertySelectInlineSlot> | WithArray<ZPropertyTransient<Type>>;
839
+ } & ZPropertyBranch) | WithArray<ZPropertyDummy> | WithArray<ZPropertyText> | WithArray<ZPropertyNumber> | WithArray<ZPropertySwitch> | WithArray<ZPropertySelect> | WithArray<ZPropertyJson> | WithArray<ZPropertyIcon> | WithArray<ZPropertyMultiTypes> | WithArray<ZPropertyComp> | WithArray<ZPropertySlot> | WithArray<ZPropertyAdaptSlot> | WithArray<ZPropertyInlineSlot> | WithArray<ZPropertyTransient<Type>>;
840
+
841
+ declare type ZPropertyAdaptSlot = {
842
+ ui: 'adaptSlot';
843
+ default: string;
844
+ } & ZPropertyBase;
840
845
 
841
846
  declare type ZPropertyBase = {
842
847
  key: string;
@@ -853,8 +858,8 @@ declare type ZPropertyBranch = {
853
858
  children: ZProperty[];
854
859
  };
855
860
 
856
- declare type ZPropertyColorPicker = {
857
- ui: 'colorPicker';
861
+ declare type ZPropertyComp = {
862
+ ui: 'comp';
858
863
  default: string;
859
864
  } & ZPropertyBase;
860
865
 
@@ -863,8 +868,18 @@ declare type ZPropertyDummy = {
863
868
  default: any;
864
869
  } & ZPropertyBase;
865
870
 
866
- declare type ZPropertyJsonEditor = {
867
- ui: 'jsonEditor';
871
+ declare type ZPropertyIcon = {
872
+ ui: 'icon';
873
+ default: string;
874
+ } & ZPropertyBase;
875
+
876
+ declare type ZPropertyInlineSlot = {
877
+ ui: 'inlineSlot';
878
+ default: string;
879
+ } & ZPropertyBase;
880
+
881
+ declare type ZPropertyJson = {
882
+ ui: 'json';
868
883
  default: string;
869
884
  } & ZPropertyBase;
870
885
 
@@ -874,8 +889,8 @@ declare type ZPropertyMultiTypes = {
874
889
  default: string;
875
890
  } & ZPropertyBase;
876
891
 
877
- declare type ZPropertyNumInput = {
878
- ui: 'numInput';
892
+ declare type ZPropertyNumber = {
893
+ ui: 'number';
879
894
  precision?: number;
880
895
  min?: number;
881
896
  max?: number;
@@ -889,28 +904,8 @@ declare type ZPropertySelect = {
889
904
  default: string;
890
905
  } & ZPropertyBase;
891
906
 
892
- declare type ZPropertySelectAdaptSlot = {
893
- ui: 'selectAdaptSlot';
894
- default: string;
895
- } & ZPropertyBase;
896
-
897
- declare type ZPropertySelectComp = {
898
- ui: 'selectComp';
899
- default: string;
900
- } & ZPropertyBase;
901
-
902
- declare type ZPropertySelectInlineSlot = {
903
- ui: 'selectInlineSlot';
904
- default: string;
905
- } & ZPropertyBase;
906
-
907
- declare type ZPropertySelectSlot = {
908
- ui: 'selectSlot';
909
- default: string;
910
- } & ZPropertyBase;
911
-
912
- declare type ZPropertyStrInput = {
913
- ui: 'strInput';
907
+ declare type ZPropertySlot = {
908
+ ui: 'slot';
914
909
  default: string;
915
910
  } & ZPropertyBase;
916
911
 
@@ -919,6 +914,11 @@ declare type ZPropertySwitch = {
919
914
  default: boolean;
920
915
  } & ZPropertyBase;
921
916
 
917
+ declare type ZPropertyText = {
918
+ ui: 'text';
919
+ default: string;
920
+ } & ZPropertyBase;
921
+
922
922
  declare type ZPropertyTransient<T extends Type> = {
923
923
  ui: 'transient';
924
924
  type: T;