@superblocksteam/library 2.0.6 → 2.0.7

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 (147) hide show
  1. package/dist/{allPaths-CROgh4Wr.js → allPaths-Boby_CDT.js} +2 -2
  2. package/dist/{allPaths-CROgh4Wr.js.map → allPaths-Boby_CDT.js.map} +1 -1
  3. package/dist/{allPaths-Va1k8Bn4.js → allPaths-d63_pjlB.js} +2 -2
  4. package/dist/{allPaths-Va1k8Bn4.js.map → allPaths-d63_pjlB.js.map} +1 -1
  5. package/dist/{allPathsLoader-BdHvMdcd.js → allPathsLoader-CmUnKzK9.js} +3 -3
  6. package/dist/{allPathsLoader-BdHvMdcd.js.map → allPathsLoader-CmUnKzK9.js.map} +1 -1
  7. package/dist/{allPathsLoader-BJthmVkF.js → allPathsLoader-DyTMsYjm.js} +3 -3
  8. package/dist/{allPathsLoader-BJthmVkF.js.map → allPathsLoader-DyTMsYjm.js.map} +1 -1
  9. package/dist/{devtools-consolidated-Ck9KuyGf.js → devtools-consolidated-B3U5EpYG.js} +2 -2
  10. package/dist/{devtools-consolidated-Ck9KuyGf.js.map → devtools-consolidated-B3U5EpYG.js.map} +1 -1
  11. package/dist/{icons-NrNO8p_u.js → icons-lSlfQ50w.js} +10 -14
  12. package/dist/icons-lSlfQ50w.js.map +1 -0
  13. package/dist/{index-CJuRwhWz.js → index-NrZGBHks.js} +19419 -17119
  14. package/dist/{index-CJuRwhWz.js.map → index-NrZGBHks.js.map} +1 -1
  15. package/dist/index.js +150 -149
  16. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js → splitPathsBySizeLoader-B6CeEPjz.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-B6CeEPjz.js.map} +1 -1
  18. package/dist/{splitPathsBySizeLoader-BFbna0L2.js → splitPathsBySizeLoader-mTPqVWRR.js} +2 -2
  19. package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-mTPqVWRR.js.map} +1 -1
  20. package/dist-types/edit-mode/create-component.d.ts +1 -1
  21. package/dist-types/edit-mode/dnd/utils.d.ts +4 -0
  22. package/dist-types/edit-mode/features/properties-panel-manager.d.ts +12 -1
  23. package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +22 -22
  24. package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
  25. package/dist-types/edit-mode/iframe-wrappers.d.ts +1 -0
  26. package/dist-types/edit-mode/source-update-api.d.ts +5 -0
  27. package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +7 -1
  28. package/dist-types/edit-mode/vite.d.ts +5 -0
  29. package/dist-types/internal-testing/components/slideout.d.ts +3 -0
  30. package/dist-types/lib/index.d.ts +1 -0
  31. package/dist-types/lib/internal-details/actions-context.d.ts +1 -1
  32. package/dist-types/lib/internal-details/entities-state.d.ts +2 -1
  33. package/dist-types/lib/internal-details/is-sb-component.d.ts +5 -1
  34. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +16 -27
  35. package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +1 -1
  36. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +3 -2
  37. package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +1 -1
  38. package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +3 -2
  39. package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +1 -2
  40. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +8 -7
  41. package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +2 -1
  42. package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +2 -2
  43. package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +6 -0
  44. package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +8 -0
  45. package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +2 -1
  46. package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -1
  47. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +16 -1
  48. package/dist-types/lib/internal-details/lib/root-store.d.ts +2 -0
  49. package/dist-types/lib/internal-details/lib/types.d.ts +34 -1
  50. package/dist-types/lib/internal-details/location-store.d.ts +18 -0
  51. package/dist-types/lib/internal-details/scope/global.d.ts +1 -1
  52. package/dist-types/lib/internal-details/scope/types.d.ts +2 -2
  53. package/dist-types/lib/triggers/base.d.ts +1 -2
  54. package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +1 -8
  55. package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +3 -21
  56. package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +3 -9
  57. package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +5 -10
  58. package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +2 -9
  59. package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +2 -9
  60. package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +1 -13
  61. package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +1 -12
  62. package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +1 -9
  63. package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +2 -8
  64. package/dist-types/lib/triggers/implementations/run-js.d.ts +1 -8
  65. package/dist-types/lib/triggers/implementations/set-profile.d.ts +2 -7
  66. package/dist-types/lib/triggers/implementations/show-alert.d.ts +3 -12
  67. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -9
  68. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +4 -11
  69. package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +3 -9
  70. package/dist-types/lib/triggers/implementations/trigger-event.d.ts +1 -7
  71. package/dist-types/lib/triggers/registry.d.ts +4 -175
  72. package/dist-types/lib/triggers/run-event-handlers.d.ts +2 -2
  73. package/dist-types/lib/user-facing/build-manifest.d.ts +2 -0
  74. package/dist-types/lib/user-facing/component-base/sb-component.d.ts +5 -1
  75. package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
  76. package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
  77. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
  78. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
  79. package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
  80. package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
  81. package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
  82. package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
  83. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +14 -11
  84. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
  85. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
  86. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
  87. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
  88. package/dist-types/lib/user-facing/components/dropdown/types.d.ts +1 -2
  89. package/dist-types/lib/user-facing/components/grid/index.d.ts +20 -18
  90. package/dist-types/lib/user-facing/components/icon/index.d.ts +11 -13
  91. package/dist-types/lib/user-facing/components/icon/props.d.ts +11 -13
  92. package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
  93. package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
  94. package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
  95. package/dist-types/lib/user-facing/components/input/input-component.d.ts +1 -0
  96. package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
  97. package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
  98. package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
  99. package/dist-types/lib/user-facing/components/modal/index.d.ts +27 -31
  100. package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
  101. package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
  102. package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
  103. package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
  104. package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
  105. package/dist-types/lib/user-facing/components/slideout/constants.d.ts +10 -0
  106. package/dist-types/lib/user-facing/components/slideout/index.d.ts +41 -1
  107. package/dist-types/lib/user-facing/components/slideout/props.d.ts +39 -19
  108. package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +31 -0
  109. package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
  110. package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
  111. package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
  112. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +262 -161
  113. package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +1 -0
  114. package/dist-types/lib/user-facing/components/table/index.d.ts +305 -204
  115. package/dist-types/lib/user-facing/components/table/props.d.ts +305 -204
  116. package/dist-types/lib/user-facing/components/table/table-component.d.ts +1 -0
  117. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +7 -10
  118. package/dist-types/lib/user-facing/components/table/table-widget.d.ts +8 -6
  119. package/dist-types/lib/user-facing/components/table/types.d.ts +34 -32
  120. package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
  121. package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
  122. package/dist-types/lib/user-facing/constants.d.ts +1 -1
  123. package/dist-types/lib/user-facing/entities/api/props.d.ts +20 -11
  124. package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +20 -0
  125. package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
  126. package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
  127. package/dist-types/lib/user-facing/global-functions.d.ts +2 -1
  128. package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +14 -0
  129. package/dist-types/lib/user-facing/internal-index.d.ts +1 -1
  130. package/dist-types/lib/user-facing/layers.d.ts +1 -2
  131. package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +4 -0
  132. package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +13 -13
  133. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
  134. package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
  135. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +46 -46
  136. package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
  137. package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +1 -2
  138. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +32 -13
  139. package/dist-types/lib/user-facing/properties-panel/validators.d.ts +1 -1
  140. package/dist-types/lib/user-facing/sb-event-flow.d.ts +6 -8
  141. package/dist-types/lib/user-facing/sb-provider.d.ts +1 -2
  142. package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +1 -2
  143. package/dist-types/lib/user-facing/utils/notification.d.ts +1 -2
  144. package/package.json +4 -3
  145. package/dist/icons-NrNO8p_u.js.map +0 -1
  146. package/dist-types/lib/sb-trigger.d.ts +0 -48
  147. package/dist-types/lib/user-facing/components/grid/utils.d.ts +0 -1
@@ -1,33 +1,33 @@
1
1
  export declare const SbImage: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
2
- general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
3
- src: import("../../properties-panel/props-builder.js").Prop<string, false>;
2
+ general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
3
+ src: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
4
4
  }>;
5
- appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
6
- backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
7
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
8
- borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
9
- fillContainer: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
10
- align: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ImageAlign, true>;
11
- loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
5
+ appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
6
+ backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
7
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false, undefined>;
8
+ borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
9
+ fillContainer: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
10
+ align: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ImageAlign, true, undefined>;
11
+ loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
12
12
  }>;
13
- layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
14
- maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
15
- minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
16
- maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
17
- minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
18
- width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
19
- height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
13
+ layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
14
+ maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
15
+ minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
16
+ maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
17
+ minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
18
+ width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
19
+ height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
20
20
  } & {
21
21
  margin: import("../../properties-panel/props-builder.js").Prop<{
22
22
  top: import("@superblocksteam/library-shared").Dim<"px">;
23
23
  bottom: import("@superblocksteam/library-shared").Dim<"px">;
24
24
  left: import("@superblocksteam/library-shared").Dim<"px">;
25
25
  right: import("@superblocksteam/library-shared").Dim<"px">;
26
- } | undefined, true>;
26
+ } | undefined, true, undefined>;
27
27
  } & {
28
- isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
28
+ isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
29
29
  }>;
30
- events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
31
- onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
30
+ events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
31
+ onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
32
32
  }>;
33
33
  }>>;
@@ -4,40 +4,40 @@ import { Prop } from "../../properties-panel/props-builder.js";
4
4
  import type { DimModes } from "@superblocksteam/library-shared";
5
5
  export type ImageAlign = "left" | "center" | "right";
6
6
  export declare const borderDef: () => import("../../properties-panel/props-builder.js").CompositeProp<{
7
- color: Prop<string, false>;
8
- width: Prop<Dim<DimModes>, false>;
9
- style: Prop<string, false>;
7
+ color: Prop<string, false, undefined>;
8
+ width: Prop<Dim<DimModes>, false, undefined>;
9
+ style: Prop<string, false, undefined>;
10
10
  }>;
11
11
  export declare const propertiesDefinition: {
12
- general: Section<Record<string, Prop<any, any>> & {
13
- src: Prop<string, false>;
12
+ general: Section<Record<string, Prop<any, any, undefined>> & {
13
+ src: Prop<string, false, undefined>;
14
14
  }>;
15
- appearance: Section<Record<string, Prop<any, any>> & {
16
- backgroundColor: Prop<string, false>;
17
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
18
- borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
19
- fillContainer: Prop<boolean, true>;
20
- align: Prop<ImageAlign, true>;
21
- loading: Prop<boolean, true>;
15
+ appearance: Section<Record<string, Prop<any, any, undefined>> & {
16
+ backgroundColor: Prop<string, false, undefined>;
17
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false, undefined>;
18
+ borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
19
+ fillContainer: Prop<boolean, true, undefined>;
20
+ align: Prop<ImageAlign, true, undefined>;
21
+ loading: Prop<boolean, true, undefined>;
22
22
  }>;
23
- layout: Section<Record<string, Prop<any, any>> & {
24
- maxHeight?: Prop<Dim<DimModes>, false> | undefined;
25
- minHeight?: Prop<Dim<DimModes>, false> | undefined;
26
- maxWidth?: Prop<Dim<DimModes>, false> | undefined;
27
- minWidth?: Prop<Dim<DimModes>, false> | undefined;
28
- width: Prop<Dim<DimModes>, false>;
29
- height: Prop<Dim<DimModes>, false>;
23
+ layout: Section<Record<string, Prop<any, any, undefined>> & {
24
+ maxHeight?: Prop<Dim<DimModes>, false, undefined> | undefined;
25
+ minHeight?: Prop<Dim<DimModes>, false, undefined> | undefined;
26
+ maxWidth?: Prop<Dim<DimModes>, false, undefined> | undefined;
27
+ minWidth?: Prop<Dim<DimModes>, false, undefined> | undefined;
28
+ width: Prop<Dim<DimModes>, false, undefined>;
29
+ height: Prop<Dim<DimModes>, false, undefined>;
30
30
  } & {
31
31
  margin: Prop<{
32
32
  top: Dim<"px">;
33
33
  bottom: Dim<"px">;
34
34
  left: Dim<"px">;
35
35
  right: Dim<"px">;
36
- } | undefined, true>;
36
+ } | undefined, true, undefined>;
37
37
  } & {
38
- isVisible: Prop<boolean, true>;
38
+ isVisible: Prop<boolean, true, undefined>;
39
39
  }>;
40
- events: Section<Record<string, Prop<any, any>> & {
41
- onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
40
+ events: Section<Record<string, Prop<any, any, undefined>> & {
41
+ onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
42
42
  }>;
43
43
  };
@@ -1,94 +1,94 @@
1
1
  export declare const SbInput: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
2
- general: import("../../properties-panel/props-builder.js").Section<(Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ({
3
- label: import("../../properties-panel/props-builder.js").Prop<string, true>;
2
+ general: import("../../properties-panel/props-builder.js").Section<(Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & ({
3
+ label: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
4
4
  } & (Omit<{
5
- inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
5
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
6
6
  }, "inputType" | "currency" | "numberFormat" | "currencyCodeDisplay"> & ({
7
- inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
8
- numberFormat: import("../../properties-panel/props-builder.js").Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
7
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
8
+ numberFormat: import("../../properties-panel/props-builder.js").Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true, undefined>;
9
9
  currency?: undefined;
10
10
  currencyCodeDisplay?: undefined;
11
11
  } | {
12
- inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
13
- numberFormat: import("../../properties-panel/props-builder.js").Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
14
- currency: import("../../properties-panel/props-builder.js").Prop<string, true>;
15
- currencyCodeDisplay: import("../../properties-panel/props-builder.js").Prop<import("./types.js").CurrencyCodeDisplayType, true>;
12
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
13
+ numberFormat: import("../../properties-panel/props-builder.js").Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true, undefined>;
14
+ currency: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
15
+ currencyCodeDisplay: import("../../properties-panel/props-builder.js").Prop<import("./types.js").CurrencyCodeDisplayType, true, undefined>;
16
16
  })))) & {
17
- defaultValue: import("../../properties-panel/props-builder.js").Prop<string, true>;
17
+ defaultValue: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
18
18
  }>;
19
- appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
20
- labelPosition: import("../../properties-panel/props-builder.js").Prop<"top" | "left", true>;
21
- labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
22
- placeholderText: import("../../properties-panel/props-builder.js").Prop<string, true>;
23
- textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
24
- backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
25
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
26
- borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
27
- icon: import("../../properties-panel/props-builder.js").Prop<string, false>;
28
- iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
19
+ appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
20
+ labelPosition: import("../../properties-panel/props-builder.js").Prop<"top" | "left", true, undefined>;
21
+ labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
22
+ placeholderText: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
23
+ textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
24
+ backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
25
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
26
+ borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
27
+ icon: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
28
+ iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true, undefined>;
29
29
  } & Omit<{
30
- inputType: import("../../properties-panel/props-builder.js").Prop<string, false>;
30
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
31
31
  }, "inputType"> & {
32
- inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
32
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
33
33
  } & {
34
- loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
34
+ loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
35
35
  }>;
36
- layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
37
- padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
36
+ layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
37
+ padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true, undefined>;
38
38
  } & {
39
- width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<"fill" | "rows" | "columns" | "px" | "%">, false>;
40
- maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
41
- minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
42
- maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
43
- minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
44
- height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
39
+ width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<"fill" | "rows" | "columns" | "px" | "%">, false, undefined>;
40
+ maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
41
+ minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
42
+ maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
43
+ minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
44
+ height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
45
45
  } & {
46
46
  margin: import("../../properties-panel/props-builder.js").Prop<{
47
47
  top: import("@superblocksteam/library-shared").Dim<"px">;
48
48
  bottom: import("@superblocksteam/library-shared").Dim<"px">;
49
49
  left: import("@superblocksteam/library-shared").Dim<"px">;
50
50
  right: import("@superblocksteam/library-shared").Dim<"px">;
51
- } | undefined, true>;
51
+ } | undefined, true, undefined>;
52
52
  } & {
53
- labelWidth: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim, true>;
53
+ labelWidth: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim, true, undefined>;
54
54
  } & {
55
- isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
55
+ isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
56
56
  }>;
57
- interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & Omit<{
58
- inputType: import("../../properties-panel/props-builder.js").Prop<string, false>;
57
+ interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & Omit<{
58
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
59
59
  }, "inputType" | "stepper" | "stepSize" | "minDecimals" | "maxDecimals"> & {
60
- stepper: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
61
- stepSize: import("../../properties-panel/props-builder.js").Prop<number, true>;
62
- minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
63
- maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
64
- inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
60
+ stepper: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
61
+ stepSize: import("../../properties-panel/props-builder.js").Prop<number, true, undefined>;
62
+ minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
63
+ maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
64
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
65
65
  } & Omit<{
66
- inputType: import("../../properties-panel/props-builder.js").Prop<string, false>;
66
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
67
67
  }, "maxLength" | "minLength" | "inputType"> & {
68
- minLength: import("../../properties-panel/props-builder.js").Prop<number, false>;
69
- maxLength: import("../../properties-panel/props-builder.js").Prop<number, false>;
70
- inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
68
+ minLength: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
69
+ maxLength: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
70
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
71
71
  } & {
72
- errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
73
- customValidationRule: import("../../properties-panel/props-builder.js").Prop<any, false>;
74
- customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true>;
75
- isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
76
- isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
72
+ errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
73
+ customValidationRule: import("../../properties-panel/props-builder.js").Prop<any, false, undefined>;
74
+ customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
75
+ isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
76
+ isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
77
77
  }>;
78
- events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
79
- onTextChanged: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
80
- onSubmit: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
81
- onFocus: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
82
- onFocusOut: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
78
+ events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
79
+ onTextChanged: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
80
+ onSubmit: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
81
+ onFocus: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
82
+ onFocusOut: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
83
83
  }>;
84
- meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
85
- text: import("../../properties-panel/props-builder.js").Prop<string | undefined, false>;
86
- isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
84
+ meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
85
+ text: import("../../properties-panel/props-builder.js").Prop<string | undefined, false, undefined>;
86
+ isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
87
87
  }>;
88
- derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
89
- value: import("../../properties-panel/props-builder.js").Prop<string, true>;
90
- validationErrors: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/utils/input-validation.js").ValidationErrors, true>;
91
- isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
92
- showError: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
88
+ derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
89
+ value: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
90
+ validationErrors: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/utils/input-validation.js").ValidationErrors, true, undefined>;
91
+ isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
92
+ showError: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
93
93
  }>;
94
94
  }>>;
@@ -11,6 +11,7 @@ declare class InputComponent extends React.Component<InputComponentProps, InputC
11
11
  componentDidUpdate(prevProps: Readonly<InputComponentProps>): void;
12
12
  componentWillUnmount(): void;
13
13
  shouldComponentUpdate(prevProps: Readonly<InputComponentProps>, prevState: Readonly<InputComponentState>): boolean;
14
+ private processAndSetValue;
14
15
  onDebouncedValueChange: import("lodash").DebouncedFunc<(value: any) => void>;
15
16
  getInputDomElement: () => HTMLInputElement | null | undefined;
16
17
  ensureFocus: () => void;
@@ -3,96 +3,96 @@ import type { CurrencyCodeDisplayType } from "./types.js";
3
3
  import type { ValidationErrors } from "../../component-base/utils/input-validation.js";
4
4
  import type { IconPosition } from "../../icons/constants.js";
5
5
  export declare const propertiesDefinition: {
6
- general: Section<(Record<string, Prop<any, any>> & ({
7
- label: Prop<string, true>;
6
+ general: Section<(Record<string, Prop<any, any, undefined>> & ({
7
+ label: Prop<string, true, undefined>;
8
8
  } & (Omit<{
9
- inputType: Prop<string, true>;
9
+ inputType: Prop<string, true, undefined>;
10
10
  }, "inputType" | "currency" | "numberFormat" | "currencyCodeDisplay"> & ({
11
- inputType: Prop<string, true>;
12
- numberFormat: Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
11
+ inputType: Prop<string, true, undefined>;
12
+ numberFormat: Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true, undefined>;
13
13
  currency?: undefined;
14
14
  currencyCodeDisplay?: undefined;
15
15
  } | {
16
- inputType: Prop<string, true>;
17
- numberFormat: Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
18
- currency: Prop<string, true>;
19
- currencyCodeDisplay: Prop<CurrencyCodeDisplayType, true>;
16
+ inputType: Prop<string, true, undefined>;
17
+ numberFormat: Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true, undefined>;
18
+ currency: Prop<string, true, undefined>;
19
+ currencyCodeDisplay: Prop<CurrencyCodeDisplayType, true, undefined>;
20
20
  })))) & {
21
- defaultValue: Prop<string, true>;
21
+ defaultValue: Prop<string, true, undefined>;
22
22
  }>;
23
- appearance: Section<Record<string, Prop<any, any>> & {
24
- labelPosition: Prop<"top" | "left", true>;
25
- labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
26
- placeholderText: Prop<string, true>;
27
- textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
28
- backgroundColor: Prop<string, true>;
29
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
30
- borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
31
- icon: Prop<string, false>;
32
- iconPosition: Prop<IconPosition, true>;
23
+ appearance: Section<Record<string, Prop<any, any, undefined>> & {
24
+ labelPosition: Prop<"top" | "left", true, undefined>;
25
+ labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
26
+ placeholderText: Prop<string, true, undefined>;
27
+ textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
28
+ backgroundColor: Prop<string, true, undefined>;
29
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
30
+ borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
31
+ icon: Prop<string, false, undefined>;
32
+ iconPosition: Prop<IconPosition, true, undefined>;
33
33
  } & Omit<{
34
- inputType: Prop<string, false>;
34
+ inputType: Prop<string, false, undefined>;
35
35
  }, "inputType"> & {
36
- inputType: Prop<string, true>;
36
+ inputType: Prop<string, true, undefined>;
37
37
  } & {
38
- loading: Prop<boolean, true>;
38
+ loading: Prop<boolean, true, undefined>;
39
39
  }>;
40
- layout: Section<Record<string, Prop<any, any>> & {
41
- padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
40
+ layout: Section<Record<string, Prop<any, any, undefined>> & {
41
+ padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true, undefined>;
42
42
  } & {
43
- width: Prop<import("@superblocksteam/library-shared").Dim<"fill" | "rows" | "columns" | "px" | "%">, false>;
44
- maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
45
- minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
46
- maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
47
- minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
48
- height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
43
+ width: Prop<import("@superblocksteam/library-shared").Dim<"fill" | "rows" | "columns" | "px" | "%">, false, undefined>;
44
+ maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
45
+ minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
46
+ maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
47
+ minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
48
+ height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
49
49
  } & {
50
50
  margin: Prop<{
51
51
  top: import("@superblocksteam/library-shared").Dim<"px">;
52
52
  bottom: import("@superblocksteam/library-shared").Dim<"px">;
53
53
  left: import("@superblocksteam/library-shared").Dim<"px">;
54
54
  right: import("@superblocksteam/library-shared").Dim<"px">;
55
- } | undefined, true>;
55
+ } | undefined, true, undefined>;
56
56
  } & {
57
- labelWidth: Prop<import("@superblocksteam/library-shared").Dim, true>;
57
+ labelWidth: Prop<import("@superblocksteam/library-shared").Dim, true, undefined>;
58
58
  } & {
59
- isVisible: Prop<boolean, true>;
59
+ isVisible: Prop<boolean, true, undefined>;
60
60
  }>;
61
- interaction: Section<Record<string, Prop<any, any>> & Omit<{
62
- inputType: Prop<string, false>;
61
+ interaction: Section<Record<string, Prop<any, any, undefined>> & Omit<{
62
+ inputType: Prop<string, false, undefined>;
63
63
  }, "inputType" | "stepper" | "stepSize" | "minDecimals" | "maxDecimals"> & {
64
- stepper: Prop<boolean, true>;
65
- stepSize: Prop<number, true>;
66
- minDecimals: Prop<number, false>;
67
- maxDecimals: Prop<number, false>;
68
- inputType: Prop<string, true>;
64
+ stepper: Prop<boolean, true, undefined>;
65
+ stepSize: Prop<number, true, undefined>;
66
+ minDecimals: Prop<number, false, undefined>;
67
+ maxDecimals: Prop<number, false, undefined>;
68
+ inputType: Prop<string, true, undefined>;
69
69
  } & Omit<{
70
- inputType: Prop<string, false>;
70
+ inputType: Prop<string, false, undefined>;
71
71
  }, "maxLength" | "minLength" | "inputType"> & {
72
- minLength: Prop<number, false>;
73
- maxLength: Prop<number, false>;
74
- inputType: Prop<string, true>;
72
+ minLength: Prop<number, false, undefined>;
73
+ maxLength: Prop<number, false, undefined>;
74
+ inputType: Prop<string, true, undefined>;
75
75
  } & {
76
- errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
77
- customValidationRule: Prop<any, false>;
78
- customErrorMessage: Prop<string, true>;
79
- isDisabled: Prop<boolean, true>;
80
- isRequired: Prop<boolean, true>;
76
+ errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
77
+ customValidationRule: Prop<any, false, undefined>;
78
+ customErrorMessage: Prop<string, true, undefined>;
79
+ isDisabled: Prop<boolean, true, undefined>;
80
+ isRequired: Prop<boolean, true, undefined>;
81
81
  }>;
82
- events: Section<Record<string, Prop<any, any>> & {
83
- onTextChanged: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
84
- onSubmit: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
85
- onFocus: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
86
- onFocusOut: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
82
+ events: Section<Record<string, Prop<any, any, undefined>> & {
83
+ onTextChanged: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
84
+ onSubmit: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
85
+ onFocus: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
86
+ onFocusOut: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
87
87
  }>;
88
- meta: Section<Record<string, Prop<any, any>> & {
89
- text: Prop<string | undefined, false>;
90
- isTouched: Prop<boolean, true>;
88
+ meta: Section<Record<string, Prop<any, any, undefined>> & {
89
+ text: Prop<string | undefined, false, undefined>;
90
+ isTouched: Prop<boolean, true, undefined>;
91
91
  }>;
92
- derived: Section<Record<string, Prop<any, any>> & {
93
- value: Prop<string, true>;
94
- validationErrors: Prop<ValidationErrors, true>;
95
- isValid: Prop<boolean, true>;
96
- showError: Prop<boolean, true>;
92
+ derived: Section<Record<string, Prop<any, any, undefined>> & {
93
+ value: Prop<string, true, undefined>;
94
+ validationErrors: Prop<ValidationErrors, true, undefined>;
95
+ isValid: Prop<boolean, true, undefined>;
96
+ showError: Prop<boolean, true, undefined>;
97
97
  }>;
98
98
  };
@@ -3,42 +3,42 @@ import { KeyValuePropertyType } from "./types.js";
3
3
  import type { IconPosition } from "../../icons/constants.js";
4
4
  import type { UnionVariant } from "../../properties-panel/props-builder.js";
5
5
  export declare const keyValuePropertiesDefinition: {
6
- general: Section<((((Record<string, Prop<any, any>> & ({
7
- id: Prop<string, true>;
6
+ general: Section<((((Record<string, Prop<any, any, undefined>> & ({
7
+ id: Prop<string, true, undefined>;
8
8
  } & (Omit<{
9
- isDerived: Prop<boolean, true>;
9
+ isDerived: Prop<boolean, true, undefined>;
10
10
  }, "key" | "isDerived"> & ({
11
- isDerived: Prop<true, true>;
12
- key: Prop<string, true>;
11
+ isDerived: Prop<true, true, undefined>;
12
+ key: Prop<string, true, undefined>;
13
13
  } | {
14
- isDerived: Prop<false, true>;
15
- key: Prop<string, true>;
14
+ isDerived: Prop<false, true, undefined>;
15
+ key: Prop<string, true, undefined>;
16
16
  })))) & {
17
- displayedKey: Prop<string, true>;
17
+ displayedKey: Prop<string, true, undefined>;
18
18
  }) & Omit<{
19
- isDerived: Prop<boolean, true>;
19
+ isDerived: Prop<boolean, true, undefined>;
20
20
  }, "isDerived" | "computedValue"> & {
21
- isDerived: Prop<true, true>;
22
- computedValue: Prop<string, true>;
21
+ isDerived: Prop<true, true, undefined>;
22
+ computedValue: Prop<string, true, undefined>;
23
23
  }) & Omit<{
24
- type: Prop<KeyValuePropertyType, true>;
24
+ type: Prop<KeyValuePropertyType, true, undefined>;
25
25
  }, "type"> & UnionVariant<{
26
26
  type: Prop<KeyValuePropertyType, false>;
27
27
  }>) & {
28
- isVisible: Prop<boolean, true>;
28
+ isVisible: Prop<boolean, true, undefined>;
29
29
  }>;
30
- appearance: Section<Record<string, Prop<any, any>> & {
31
- "keyProps.icon": Prop<string, true>;
32
- "keyProps.iconPosition": Prop<IconPosition, true>;
33
- "valueProps.icon": Prop<string, true>;
34
- "valueProps.iconPosition": Prop<IconPosition, true>;
30
+ appearance: Section<Record<string, Prop<any, any, undefined>> & {
31
+ "keyProps.icon": Prop<string, true, undefined>;
32
+ "keyProps.iconPosition": Prop<IconPosition, true, undefined>;
33
+ "valueProps.icon": Prop<string, true, undefined>;
34
+ "valueProps.iconPosition": Prop<IconPosition, true, undefined>;
35
35
  } & Omit<{
36
- type: Prop<KeyValuePropertyType, false>;
36
+ type: Prop<KeyValuePropertyType, false, undefined>;
37
37
  }, "type"> & UnionVariant<{
38
38
  type: Prop<KeyValuePropertyType, false>;
39
39
  }>>;
40
- eventHandlers: Section<Record<string, Prop<any, any>> & Omit<{
41
- type: Prop<KeyValuePropertyType, false>;
40
+ eventHandlers: Section<Record<string, Prop<any, any, undefined>> & Omit<{
41
+ type: Prop<KeyValuePropertyType, false, undefined>;
42
42
  }, "type"> & UnionVariant<{
43
43
  type: Prop<KeyValuePropertyType, false>;
44
44
  }>>;