@roomle/embedding-lib 5.27.0 → 5.28.0-alpha.2

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 (36) hide show
  1. package/docs/md/web/embedding/CHANGELOG.md +6 -25
  2. package/package.json +1 -1
  3. package/packages/embedding-lib/src/embedding-lib.d.ts +7 -0
  4. package/packages/web-sdk/packages/common-core/src/light/light-source.d.ts +2 -0
  5. package/packages/web-sdk/packages/common-core/src/utils/threejs-utils.d.ts +2 -1
  6. package/packages/web-sdk/packages/common-core/src/webgl/roomle-component-factory.d.ts +1 -0
  7. package/packages/web-sdk/packages/common-core/src/webgl/scene-manager.d.ts +1 -1
  8. package/packages/web-sdk/packages/homag-intelligence/src/callbacks.d.ts +1 -1
  9. package/packages/web-sdk/packages/homag-intelligence/src/emulator.d.ts +3 -3
  10. package/packages/web-sdk/packages/homag-intelligence/src/homag-intelligence.d.ts +4 -2
  11. package/packages/web-sdk/packages/homag-intelligence/src/loader.d.ts +2 -4
  12. package/packages/web-sdk/packages/planner-core/src/external-object-api-callbacks.d.ts +10 -9
  13. package/packages/web-sdk/packages/planner-core/src/lights/ceiling-light.d.ts +1 -1
  14. package/packages/web-sdk/packages/planner-core/src/lights/light-group.d.ts +1 -2
  15. package/packages/web-sdk/packages/planner-core/src/roomle-planner-ui-callback.d.ts +2 -2
  16. package/packages/web-sdk/packages/planner-core/src/roomle-planner.d.ts +12 -6
  17. package/packages/web-sdk/packages/planner-core/src/services/planner-kernel-access.d.ts +3 -3
  18. package/packages/web-sdk/packages/planner-core/src/view-model/plan-view-model.d.ts +1 -4
  19. package/packages/web-sdk/packages/planner-core/src/webgl/planner-scene-manager.d.ts +5 -1
  20. package/roomle-embedding-lib.es.js +508 -253
  21. package/roomle-embedding-lib.es.min.js +1 -1
  22. package/roomle-embedding-lib.umd.js +21 -17
  23. package/roomle-embedding-lib.umd.min.js +1 -1
  24. package/src/common/components/SwitchButton.vue.d.ts +21 -15
  25. package/src/common/components/inputs/BaseInput.vue.d.ts +0 -2
  26. package/src/common/components/inputs/NumericInput.vue.d.ts +2 -2
  27. package/src/common/components/side-bar/utils/configurator-sidebar-components.d.ts +79 -111
  28. package/src/common/composables/use-planner-actions-visibility.d.ts +1 -0
  29. package/src/common/composables/use-selected-plan-element.d.ts +1 -0
  30. package/src/common/store/common-ui-store.d.ts +4 -1
  31. package/src/common/utils/parameters.d.ts +3 -0
  32. package/src/planner/components/overlays/product-settings/ProductRangeControl.vue.d.ts +6 -6
  33. package/src/planner/components/overlays/rooms/ElementLengthScaling.vue.d.ts +34 -15
  34. package/src/planner/components/overlays/rooms/IconSwitch.vue.d.ts +34 -15
  35. package/src/planner/components/overlays/rooms/ParameterSwitch.vue.d.ts +17 -41
  36. package/src/planner/components/overlays/rooms/RoomUnitSwitch.vue.d.ts +11 -83
@@ -257,87 +257,17 @@ declare const dynamicComponents: {
257
257
  type: import('vue').PropType<(_value: string, _pi: PlanInteractionHandler) => void>;
258
258
  };
259
259
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
260
- readonly RoomUnitSwitch: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
261
- label: {
262
- type: import('vue').PropType<string>;
263
- required: true;
264
- };
265
- firstOption: {
266
- type: import('vue').PropType<string>;
267
- required: true;
268
- };
269
- secondOption: {
270
- type: import('vue').PropType<string>;
271
- required: true;
272
- };
273
- onChangeUnit: {
274
- type: import('vue').PropType<(_activeSwitch: number) => void>;
275
- required: true;
276
- };
277
- }>, {}, {}, {
278
- activeSwitch(): number;
279
- }, {
280
- changeUnit(activeSwitch: number): Promise<void>;
281
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
282
- label: {
283
- type: import('vue').PropType<string>;
284
- required: true;
285
- };
286
- firstOption: {
287
- type: import('vue').PropType<string>;
288
- required: true;
289
- };
290
- secondOption: {
291
- type: import('vue').PropType<string>;
292
- required: true;
293
- };
294
- onChangeUnit: {
295
- type: import('vue').PropType<(_activeSwitch: number) => void>;
296
- required: true;
297
- };
298
- }>> & Readonly<{}>, {}, {}, {
299
- ParameterSwitch: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
300
- firstIcon: StringConstructor;
301
- secondIcon: StringConstructor;
302
- firstLabel: StringConstructor;
303
- secondLabel: StringConstructor;
304
- changeUnit: FunctionConstructor;
305
- activeSwitch: NumberConstructor;
306
- label: StringConstructor;
307
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
308
- firstIcon: StringConstructor;
309
- secondIcon: StringConstructor;
310
- firstLabel: StringConstructor;
311
- secondLabel: StringConstructor;
312
- changeUnit: FunctionConstructor;
313
- activeSwitch: NumberConstructor;
314
- label: StringConstructor;
315
- }>> & Readonly<{}>, {}, {}, {
316
- LeftHeaderContainer: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
317
- SwitchButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
318
- switch: FunctionConstructor;
319
- initialActive: NumberConstructor;
320
- hasIcons: BooleanConstructor;
321
- }>, {}, {
322
- activeOption: number;
323
- }, {}, {
324
- switchOption(clickedOption: 1 | 2): void;
325
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
326
- switch: FunctionConstructor;
327
- initialActive: NumberConstructor;
328
- hasIcons: BooleanConstructor;
329
- }>> & Readonly<{}>, {
330
- hasIcons: boolean;
331
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
332
- SvgIcon: import('vue').DefineComponent<{
333
- icon: string;
334
- }, {
335
- svgIcon: import('vue').Ref<HTMLOrSVGElement, HTMLOrSVGElement>;
336
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
337
- icon: string;
338
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
339
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
340
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
260
+ readonly RoomUnitSwitch: import('vue').DefineComponent<{
261
+ label: string;
262
+ firstOption: string;
263
+ secondOption: string;
264
+ onChangeUnit: (activeSwitch: number) => void;
265
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
266
+ label: string;
267
+ firstOption: string;
268
+ secondOption: string;
269
+ onChangeUnit: (activeSwitch: number) => void;
270
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
341
271
  readonly ColorParameter: import('vue').DefineComponent<{
342
272
  groups: RapiMaterialGroup[] | readonly [{
343
273
  readonly id: "ral_9000";
@@ -2631,21 +2561,40 @@ declare const dynamicComponents: {
2631
2561
  required: true;
2632
2562
  };
2633
2563
  }>> & Readonly<{}>, {}, {}, {
2634
- SwitchButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2635
- switch: FunctionConstructor;
2636
- initialActive: NumberConstructor;
2637
- hasIcons: BooleanConstructor;
2638
- }>, {}, {
2639
- activeOption: number;
2640
- }, {}, {
2641
- switchOption(clickedOption: 1 | 2): void;
2642
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2643
- switch: FunctionConstructor;
2644
- initialActive: NumberConstructor;
2645
- hasIcons: BooleanConstructor;
2646
- }>> & Readonly<{}>, {
2647
- hasIcons: boolean;
2648
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2564
+ SwitchButton: {
2565
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
2566
+ switch?: (clickedOption: 1 | 2) => void;
2567
+ initialActive?: number;
2568
+ hasIcons?: boolean;
2569
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2570
+ P: {};
2571
+ B: {};
2572
+ D: {};
2573
+ C: {};
2574
+ M: {};
2575
+ Defaults: {};
2576
+ }, Readonly<{
2577
+ switch?: (clickedOption: 1 | 2) => void;
2578
+ initialActive?: number;
2579
+ hasIcons?: boolean;
2580
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
2581
+ __isFragment?: never;
2582
+ __isTeleport?: never;
2583
+ __isSuspense?: never;
2584
+ } & import('vue').ComponentOptionsBase<Readonly<{
2585
+ switch?: (clickedOption: 1 | 2) => void;
2586
+ initialActive?: number;
2587
+ hasIcons?: boolean;
2588
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
2589
+ $slots: {
2590
+ firstOption?(_: {
2591
+ active: boolean;
2592
+ }): any;
2593
+ secondOption?(_: {
2594
+ active: boolean;
2595
+ }): any;
2596
+ };
2597
+ });
2649
2598
  SvgIcon: import('vue').DefineComponent<{
2650
2599
  icon: string;
2651
2600
  }, {
@@ -2714,21 +2663,40 @@ declare const dynamicComponents: {
2714
2663
  required: true;
2715
2664
  };
2716
2665
  }>> & Readonly<{}>, {}, {}, {
2717
- SwitchButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2718
- switch: FunctionConstructor;
2719
- initialActive: NumberConstructor;
2720
- hasIcons: BooleanConstructor;
2721
- }>, {}, {
2722
- activeOption: number;
2723
- }, {}, {
2724
- switchOption(clickedOption: 1 | 2): void;
2725
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2726
- switch: FunctionConstructor;
2727
- initialActive: NumberConstructor;
2728
- hasIcons: BooleanConstructor;
2729
- }>> & Readonly<{}>, {
2730
- hasIcons: boolean;
2731
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2666
+ SwitchButton: {
2667
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
2668
+ switch?: (clickedOption: 1 | 2) => void;
2669
+ initialActive?: number;
2670
+ hasIcons?: boolean;
2671
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2672
+ P: {};
2673
+ B: {};
2674
+ D: {};
2675
+ C: {};
2676
+ M: {};
2677
+ Defaults: {};
2678
+ }, Readonly<{
2679
+ switch?: (clickedOption: 1 | 2) => void;
2680
+ initialActive?: number;
2681
+ hasIcons?: boolean;
2682
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
2683
+ __isFragment?: never;
2684
+ __isTeleport?: never;
2685
+ __isSuspense?: never;
2686
+ } & import('vue').ComponentOptionsBase<Readonly<{
2687
+ switch?: (clickedOption: 1 | 2) => void;
2688
+ initialActive?: number;
2689
+ hasIcons?: boolean;
2690
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
2691
+ $slots: {
2692
+ firstOption?(_: {
2693
+ active: boolean;
2694
+ }): any;
2695
+ secondOption?(_: {
2696
+ active: boolean;
2697
+ }): any;
2698
+ };
2699
+ });
2732
2700
  SvgIcon: import('vue').DefineComponent<{
2733
2701
  icon: string;
2734
2702
  }, {
@@ -10,4 +10,5 @@ export declare const usePlannerActionsVisibility: () => {
10
10
  selectionIsConstructionElement: import('vue').ComputedRef<boolean>;
11
11
  showSlopingButton: import('vue').ComputedRef<boolean>;
12
12
  showWallVisibilityButton: import('vue').ComputedRef<boolean>;
13
+ showLightingToggle: import('vue').ComputedRef<boolean>;
13
14
  };
@@ -3,4 +3,5 @@ import { StoreState } from '../store';
3
3
  export declare const useSelectedPlanElement: (store: Store<StoreState>) => {
4
4
  selectionElement: import('vue').ComputedRef<PlanElementViewModel>;
5
5
  hasMultiSelection: import('vue').ComputedRef<boolean>;
6
+ selectionElementLightSources: import('vue').ComputedRef<RoomleLightSource[]>;
6
7
  };
@@ -49,6 +49,7 @@ export declare const useCommonUiStore: import('pinia').StoreDefinition<"commonUi
49
49
  loadedConfigFromIdb: import('vue').Ref<boolean, boolean>;
50
50
  notificationVisible: import('vue').Ref<boolean, boolean>;
51
51
  configuratorHintClosed: import('vue').Ref<boolean, boolean>;
52
+ selectedElementLightsAreOn: import('../composables/use-core-bound-value').CoreBoundValue<boolean>;
52
53
  is2d: import('vue').ComputedRef<boolean>;
53
54
  is3d: import('vue').ComputedRef<boolean>;
54
55
  isFp: import('vue').ComputedRef<boolean>;
@@ -64,7 +65,7 @@ export declare const useCommonUiStore: import('pinia').StoreDefinition<"commonUi
64
65
  setDraggingElementStatus: (isDragging: boolean) => void;
65
66
  setMeasurementUnit: (unit: Enumify<typeof MEASUREMENT_UNIT>) => void;
66
67
  setMeasurementSystem: (system: Enumify<typeof MEASUREMENT_SYSTEM>) => void;
67
- }, "showFlyingMenu" | "flyingMenuTriggeredByClick" | "isInIframe" | "isViewOnly" | "lastRequestedId" | "currentViewMode" | "isShadowOnStage" | "measurementUnit" | "measurementSystem" | "isTextInputFocused" | "isCameraIdle" | "currentEmbeddedInfos" | "isDraggingElement" | "loadedConfigFromIdb" | "notificationVisible" | "configuratorHintClosed">, Pick<{
68
+ }, "showFlyingMenu" | "flyingMenuTriggeredByClick" | "isInIframe" | "isViewOnly" | "lastRequestedId" | "currentViewMode" | "isShadowOnStage" | "measurementUnit" | "measurementSystem" | "isTextInputFocused" | "isCameraIdle" | "currentEmbeddedInfos" | "isDraggingElement" | "loadedConfigFromIdb" | "notificationVisible" | "configuratorHintClosed" | "selectedElementLightsAreOn">, Pick<{
68
69
  showFlyingMenu: import('vue').Ref<boolean, boolean>;
69
70
  flyingMenuTriggeredByClick: import('vue').Ref<boolean, boolean>;
70
71
  isInIframe: import('vue').Ref<boolean, boolean>;
@@ -107,6 +108,7 @@ export declare const useCommonUiStore: import('pinia').StoreDefinition<"commonUi
107
108
  loadedConfigFromIdb: import('vue').Ref<boolean, boolean>;
108
109
  notificationVisible: import('vue').Ref<boolean, boolean>;
109
110
  configuratorHintClosed: import('vue').Ref<boolean, boolean>;
111
+ selectedElementLightsAreOn: import('../composables/use-core-bound-value').CoreBoundValue<boolean>;
110
112
  is2d: import('vue').ComputedRef<boolean>;
111
113
  is3d: import('vue').ComputedRef<boolean>;
112
114
  isFp: import('vue').ComputedRef<boolean>;
@@ -165,6 +167,7 @@ export declare const useCommonUiStore: import('pinia').StoreDefinition<"commonUi
165
167
  loadedConfigFromIdb: import('vue').Ref<boolean, boolean>;
166
168
  notificationVisible: import('vue').Ref<boolean, boolean>;
167
169
  configuratorHintClosed: import('vue').Ref<boolean, boolean>;
170
+ selectedElementLightsAreOn: import('../composables/use-core-bound-value').CoreBoundValue<boolean>;
168
171
  is2d: import('vue').ComputedRef<boolean>;
169
172
  is3d: import('vue').ComputedRef<boolean>;
170
173
  isFp: import('vue').ComputedRef<boolean>;
@@ -3,6 +3,7 @@ import { KernelPartListParameter, UiPossibleChildTag } from '@roomle/web-sdk/typ
3
3
  import { ParameterData, TabCategory } from '../components/side-bar/utils/types';
4
4
  import { VariantsMap } from '../../configurator/embedding/types';
5
5
  import { Translator } from '../composables/use-intl';
6
+ import { RoomleLightSource } from '@roomle/web-sdk/common-core/src/light/light-source';
6
7
 
7
8
  export declare const DISABLED_PARAMETERS_ELEM_KEY = "disabled-parameters";
8
9
  export interface RapiMaterialEmbeddedTextures extends RapiMaterial {
@@ -19,3 +20,5 @@ export declare const extractRootComponentId: (id: string) => string;
19
20
  export declare const getCurrentVariants: (api: RoomleConfiguratorType, id: string, variantChangeMap?: VariantsMap) => Promise<any>;
20
21
  export declare const prepareParametersForUi: (parameters: KernelPartListParameter[]) => KernelPartListParameter[];
21
22
  export declare const createDisabledParamsElement: (elements: ParameterData[], intl: Translator) => ParameterData<ParameterData[]>;
23
+ export declare const getElementLightSources: (configuration: PlanElementViewModel) => RoomleLightSource[] | undefined;
24
+ export declare const getLightSourcesAsArray: (sources: Array<Map<number, RoomleLightSource>>) => RoomleLightSource[];
@@ -11,7 +11,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
11
11
  };
12
12
  onDecrease: PropType<() => void>;
13
13
  onIncrease: PropType<() => void>;
14
- isString: BooleanConstructor;
15
14
  disabled: BooleanConstructor;
16
15
  }>, {
17
16
  store: any;
@@ -58,6 +57,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
58
57
  loadedConfigFromIdb: import('vue').Ref<boolean, boolean>;
59
58
  notificationVisible: import('vue').Ref<boolean, boolean>;
60
59
  configuratorHintClosed: import('vue').Ref<boolean, boolean>;
60
+ selectedElementLightsAreOn: import('../../../../common/composables/use-core-bound-value').CoreBoundValue<boolean>;
61
61
  is2d: import('vue').ComputedRef<boolean>;
62
62
  is3d: import('vue').ComputedRef<boolean>;
63
63
  isFp: import('vue').ComputedRef<boolean>;
@@ -82,7 +82,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
82
82
  readonly IMPERIAL: "imperial";
83
83
  readonly METRIC: "metric";
84
84
  }>) => void;
85
- }, "showFlyingMenu" | "flyingMenuTriggeredByClick" | "isInIframe" | "isViewOnly" | "lastRequestedId" | "currentViewMode" | "isShadowOnStage" | "measurementUnit" | "measurementSystem" | "isTextInputFocused" | "isCameraIdle" | "currentEmbeddedInfos" | "isDraggingElement" | "loadedConfigFromIdb" | "notificationVisible" | "configuratorHintClosed">, Pick<{
85
+ }, "showFlyingMenu" | "flyingMenuTriggeredByClick" | "isInIframe" | "isViewOnly" | "lastRequestedId" | "currentViewMode" | "isShadowOnStage" | "measurementUnit" | "measurementSystem" | "isTextInputFocused" | "isCameraIdle" | "currentEmbeddedInfos" | "isDraggingElement" | "loadedConfigFromIdb" | "notificationVisible" | "configuratorHintClosed" | "selectedElementLightsAreOn">, Pick<{
86
86
  showFlyingMenu: import('vue').Ref<boolean, boolean>;
87
87
  flyingMenuTriggeredByClick: import('vue').Ref<boolean, boolean>;
88
88
  isInIframe: import('vue').Ref<boolean, boolean>;
@@ -125,6 +125,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
125
125
  loadedConfigFromIdb: import('vue').Ref<boolean, boolean>;
126
126
  notificationVisible: import('vue').Ref<boolean, boolean>;
127
127
  configuratorHintClosed: import('vue').Ref<boolean, boolean>;
128
+ selectedElementLightsAreOn: import('../../../../common/composables/use-core-bound-value').CoreBoundValue<boolean>;
128
129
  is2d: import('vue').ComputedRef<boolean>;
129
130
  is3d: import('vue').ComputedRef<boolean>;
130
131
  isFp: import('vue').ComputedRef<boolean>;
@@ -192,6 +193,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
192
193
  loadedConfigFromIdb: import('vue').Ref<boolean, boolean>;
193
194
  notificationVisible: import('vue').Ref<boolean, boolean>;
194
195
  configuratorHintClosed: import('vue').Ref<boolean, boolean>;
196
+ selectedElementLightsAreOn: import('../../../../common/composables/use-core-bound-value').CoreBoundValue<boolean>;
195
197
  is2d: import('vue').ComputedRef<boolean>;
196
198
  is3d: import('vue').ComputedRef<boolean>;
197
199
  isFp: import('vue').ComputedRef<boolean>;
@@ -237,18 +239,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
237
239
  };
238
240
  onDecrease: PropType<() => void>;
239
241
  onIncrease: PropType<() => void>;
240
- isString: BooleanConstructor;
241
242
  disabled: BooleanConstructor;
242
243
  }>> & Readonly<{}>, {
243
- isString: boolean;
244
244
  disabled: boolean;
245
245
  }, {}, {
246
246
  NumericInput: import('vue').DefineComponent<{
247
247
  valueLabel: string;
248
248
  onTextInputChange: (_payload: Event, _valueString: string) => void;
249
249
  onKeyDown?: (_payload: KeyboardEvent) => void;
250
- isString?: boolean;
251
250
  centerText?: boolean;
251
+ inputMode?: string;
252
252
  }, {
253
253
  setValueString: (valueString: string, _unitChanged?: boolean) => void;
254
254
  getValueString: () => string;
@@ -261,8 +261,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
261
261
  valueLabel: string;
262
262
  onTextInputChange: (_payload: Event, _valueString: string) => void;
263
263
  onKeyDown?: (_payload: KeyboardEvent) => void;
264
- isString?: boolean;
265
264
  centerText?: boolean;
265
+ inputMode?: string;
266
266
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
267
267
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
268
268
  export default _default;
@@ -43,21 +43,40 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
43
43
  required: true;
44
44
  };
45
45
  }>> & Readonly<{}>, {}, {}, {
46
- SwitchButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
47
- switch: FunctionConstructor;
48
- initialActive: NumberConstructor;
49
- hasIcons: BooleanConstructor;
50
- }>, {}, {
51
- activeOption: number;
52
- }, {}, {
53
- switchOption(clickedOption: 1 | 2): void;
54
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
55
- switch: FunctionConstructor;
56
- initialActive: NumberConstructor;
57
- hasIcons: BooleanConstructor;
58
- }>> & Readonly<{}>, {
59
- hasIcons: boolean;
60
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
+ SwitchButton: {
47
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
48
+ switch?: (clickedOption: 1 | 2) => void;
49
+ initialActive?: number;
50
+ hasIcons?: boolean;
51
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
52
+ P: {};
53
+ B: {};
54
+ D: {};
55
+ C: {};
56
+ M: {};
57
+ Defaults: {};
58
+ }, Readonly<{
59
+ switch?: (clickedOption: 1 | 2) => void;
60
+ initialActive?: number;
61
+ hasIcons?: boolean;
62
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
63
+ __isFragment?: never;
64
+ __isTeleport?: never;
65
+ __isSuspense?: never;
66
+ } & import('vue').ComponentOptionsBase<Readonly<{
67
+ switch?: (clickedOption: 1 | 2) => void;
68
+ initialActive?: number;
69
+ hasIcons?: boolean;
70
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
71
+ $slots: {
72
+ firstOption?(_: {
73
+ active: boolean;
74
+ }): any;
75
+ secondOption?(_: {
76
+ active: boolean;
77
+ }): any;
78
+ };
79
+ });
61
80
  SvgIcon: import('vue').DefineComponent<{
62
81
  icon: string;
63
82
  }, {
@@ -19,21 +19,40 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
19
19
  required: true;
20
20
  };
21
21
  }>> & Readonly<{}>, {}, {}, {
22
- SwitchButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
23
- switch: FunctionConstructor;
24
- initialActive: NumberConstructor;
25
- hasIcons: BooleanConstructor;
26
- }>, {}, {
27
- activeOption: number;
28
- }, {}, {
29
- switchOption(clickedOption: 1 | 2): void;
30
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
31
- switch: FunctionConstructor;
32
- initialActive: NumberConstructor;
33
- hasIcons: BooleanConstructor;
34
- }>> & Readonly<{}>, {
35
- hasIcons: boolean;
36
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ SwitchButton: {
23
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
24
+ switch?: (clickedOption: 1 | 2) => void;
25
+ initialActive?: number;
26
+ hasIcons?: boolean;
27
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
28
+ P: {};
29
+ B: {};
30
+ D: {};
31
+ C: {};
32
+ M: {};
33
+ Defaults: {};
34
+ }, Readonly<{
35
+ switch?: (clickedOption: 1 | 2) => void;
36
+ initialActive?: number;
37
+ hasIcons?: boolean;
38
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
39
+ __isFragment?: never;
40
+ __isTeleport?: never;
41
+ __isSuspense?: never;
42
+ } & import('vue').ComponentOptionsBase<Readonly<{
43
+ switch?: (clickedOption: 1 | 2) => void;
44
+ initialActive?: number;
45
+ hasIcons?: boolean;
46
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
47
+ $slots: {
48
+ firstOption?(_: {
49
+ active: boolean;
50
+ }): any;
51
+ secondOption?(_: {
52
+ active: boolean;
53
+ }): any;
54
+ };
55
+ });
37
56
  SvgIcon: import('vue').DefineComponent<{
38
57
  icon: string;
39
58
  }, {
@@ -1,42 +1,18 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- firstIcon: StringConstructor;
3
- secondIcon: StringConstructor;
4
- firstLabel: StringConstructor;
5
- secondLabel: StringConstructor;
6
- changeUnit: FunctionConstructor;
7
- activeSwitch: NumberConstructor;
8
- label: StringConstructor;
9
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
- firstIcon: StringConstructor;
11
- secondIcon: StringConstructor;
12
- firstLabel: StringConstructor;
13
- secondLabel: StringConstructor;
14
- changeUnit: FunctionConstructor;
15
- activeSwitch: NumberConstructor;
16
- label: StringConstructor;
17
- }>> & Readonly<{}>, {}, {}, {
18
- LeftHeaderContainer: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
- SwitchButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
20
- switch: FunctionConstructor;
21
- initialActive: NumberConstructor;
22
- hasIcons: BooleanConstructor;
23
- }>, {}, {
24
- activeOption: number;
25
- }, {}, {
26
- switchOption(clickedOption: 1 | 2): void;
27
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
- switch: FunctionConstructor;
29
- initialActive: NumberConstructor;
30
- hasIcons: BooleanConstructor;
31
- }>> & Readonly<{}>, {
32
- hasIcons: boolean;
33
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
34
- SvgIcon: import('vue').DefineComponent<{
35
- icon: string;
36
- }, {
37
- svgIcon: import('vue').Ref<HTMLOrSVGElement, HTMLOrSVGElement>;
38
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
39
- icon: string;
40
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import('vue').DefineComponent<{
2
+ firstIcon?: string;
3
+ secondIcon?: string;
4
+ firstLabel?: string;
5
+ secondLabel?: string;
6
+ changeUnit?: (activeSwitch: number) => void;
7
+ activeSwitch?: number;
8
+ label?: string;
9
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
10
+ firstIcon?: string;
11
+ secondIcon?: string;
12
+ firstLabel?: string;
13
+ secondLabel?: string;
14
+ changeUnit?: (activeSwitch: number) => void;
15
+ activeSwitch?: number;
16
+ label?: string;
17
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
42
18
  export default _default;
@@ -1,84 +1,12 @@
1
- import { PropType } from 'vue';
2
-
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- label: {
5
- type: PropType<string>;
6
- required: true;
7
- };
8
- firstOption: {
9
- type: PropType<string>;
10
- required: true;
11
- };
12
- secondOption: {
13
- type: PropType<string>;
14
- required: true;
15
- };
16
- onChangeUnit: {
17
- type: PropType<(_activeSwitch: number) => void>;
18
- required: true;
19
- };
20
- }>, {}, {}, {
21
- activeSwitch(): number;
22
- }, {
23
- changeUnit(activeSwitch: number): Promise<void>;
24
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
25
- label: {
26
- type: PropType<string>;
27
- required: true;
28
- };
29
- firstOption: {
30
- type: PropType<string>;
31
- required: true;
32
- };
33
- secondOption: {
34
- type: PropType<string>;
35
- required: true;
36
- };
37
- onChangeUnit: {
38
- type: PropType<(_activeSwitch: number) => void>;
39
- required: true;
40
- };
41
- }>> & Readonly<{}>, {}, {}, {
42
- ParameterSwitch: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
43
- firstIcon: StringConstructor;
44
- secondIcon: StringConstructor;
45
- firstLabel: StringConstructor;
46
- secondLabel: StringConstructor;
47
- changeUnit: FunctionConstructor;
48
- activeSwitch: NumberConstructor;
49
- label: StringConstructor;
50
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
51
- firstIcon: StringConstructor;
52
- secondIcon: StringConstructor;
53
- firstLabel: StringConstructor;
54
- secondLabel: StringConstructor;
55
- changeUnit: FunctionConstructor;
56
- activeSwitch: NumberConstructor;
57
- label: StringConstructor;
58
- }>> & Readonly<{}>, {}, {}, {
59
- LeftHeaderContainer: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
60
- SwitchButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
61
- switch: FunctionConstructor;
62
- initialActive: NumberConstructor;
63
- hasIcons: BooleanConstructor;
64
- }>, {}, {
65
- activeOption: number;
66
- }, {}, {
67
- switchOption(clickedOption: 1 | 2): void;
68
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
69
- switch: FunctionConstructor;
70
- initialActive: NumberConstructor;
71
- hasIcons: BooleanConstructor;
72
- }>> & Readonly<{}>, {
73
- hasIcons: boolean;
74
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
75
- SvgIcon: import('vue').DefineComponent<{
76
- icon: string;
77
- }, {
78
- svgIcon: import('vue').Ref<HTMLOrSVGElement, HTMLOrSVGElement>;
79
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
80
- icon: string;
81
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
82
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
83
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import('vue').DefineComponent<{
2
+ label: string;
3
+ firstOption: string;
4
+ secondOption: string;
5
+ onChangeUnit: (activeSwitch: number) => void;
6
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
7
+ label: string;
8
+ firstOption: string;
9
+ secondOption: string;
10
+ onChangeUnit: (activeSwitch: number) => void;
11
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
84
12
  export default _default;