@omnia/fx 8.0.54-dev → 8.0.55-dev

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.
@@ -1,9 +1,9 @@
1
1
  import { Guid } from "../Guid";
2
2
  export interface SpacingSettings {
3
- top: number | SpacingType;
4
- right: number | SpacingType;
5
- bottom: number | SpacingType;
6
- left: number | SpacingType;
3
+ top?: number | SpacingType;
4
+ right?: number | SpacingType;
5
+ bottom?: number | SpacingType;
6
+ left?: number | SpacingType;
7
7
  }
8
8
  export interface SpacingDefinition {
9
9
  name: string;
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  readonly context: FilterEngineContext;
10
10
  readonly getApi: (handler: FilterEngineHandler) => void;
11
11
  readonly renderContent: () => JSX.Element | JSX.Element[];
12
- readonly spacing?: SpacingSettings;
12
+ readonly spacing?: unknown;
13
13
  readonly appendLeftSection?: () => JSX.Element | JSX.Element[];
14
14
  readonly "append-left-section"?: () => JSX.Element | JSX.Element[];
15
15
  readonly prependLeftSection?: () => JSX.Element | JSX.Element[];
@@ -308,7 +308,7 @@ declare const _default: {
308
308
  getApi: (handler: FilterEngineHandler) => void;
309
309
  renderContent: () => JSX.Element | JSX.Element[];
310
310
  } & {
311
- spacing?: SpacingSettings;
311
+ spacing?: unknown;
312
312
  appendLeftSection?: () => JSX.Element | JSX.Element[];
313
313
  "append-left-section"?: () => JSX.Element | JSX.Element[];
314
314
  prependLeftSection?: () => JSX.Element | JSX.Element[];
@@ -16,7 +16,7 @@ declare const _default: {
16
16
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
17
17
  $emit: (event: string, ...args: any[]) => void;
18
18
  $el: any;
19
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
20
20
  beforeCreate?: (() => void) | (() => void)[];
21
21
  created?: (() => void) | (() => void)[];
22
22
  beforeMount?: (() => void) | (() => void)[];
@@ -36,11 +36,11 @@ declare const _default: {
36
36
  $forceUpdate: () => void;
37
37
  $nextTick: typeof import("vue").nextTick;
38
38
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
39
- } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
39
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
40
40
  __isFragment?: never;
41
41
  __isTeleport?: never;
42
42
  __isSuspense?: never;
43
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
44
44
  propsDefinition: Omit<Readonly<{} & {}>, never>;
45
45
  };
46
46
  export default _default;
@@ -129,15 +129,6 @@ export declare const useJourneyStore: () => {
129
129
  travelTo(fromBladeId: GuidValue, toBladeId: GuidValue): void;
130
130
  setActiveIndex(index: number): void;
131
131
  };
132
- withBlade: (bladeId: GuidValue) => {
133
- moveNext(): void;
134
- movePrev(): void;
135
- travelTo(toBladeId: GuidValue): void;
136
- defineValueToSave<T_7>(value?: T_7): {
137
- value: T_7;
138
- setValue: (value: T_7) => void;
139
- };
140
- };
141
132
  };
142
133
  declare function createJourneyStateManager<T extends Object>(): {
143
134
  state: T;
@@ -420,269 +420,12 @@ export declare function useBlade(bladeId: GuidValue): {
420
420
  moveNext(): void;
421
421
  movePrev(): void;
422
422
  travelTo(toBladeId: GuidValue): void;
423
- journeyStore: {
424
- state: {
425
- blades: import("../models").BladeInstance[];
426
- activeIndex: number;
427
- nested: boolean;
428
- journeyMenuStore: {
429
- state: {
430
- menuItems: import("@omnia/fx-models").JourneyMenuItem[];
431
- activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
432
- };
433
- events: {
434
- onMutatedMenuItems: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
435
- onMutatedActiveMenuItem: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
436
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
437
- actions: {
438
- onDispatching<T_1 extends (...args: any) => any>(action: (actions: {
439
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
440
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
441
- }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
442
- onDispatched<T_2 extends (...args: any) => any>(action: (actions: {
443
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
444
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
445
- }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
446
- onFailure<T_3 extends (...args: any) => any>(action: (actions: {
447
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
448
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
449
- }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
450
- } & {
451
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
452
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
453
- };
454
- get: {
455
- readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
456
- readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
457
- };
458
- };
459
- };
460
- events: {
461
- onMutatedBlades: import("../../../..").MessageBusExposeOnlySubscription<import("../models").BladeInstance[]>;
462
- onMutatedActiveIndex: import("../../../..").MessageBusExposeOnlySubscription<number>;
463
- onMutatedNested: import("../../../..").MessageBusExposeOnlySubscription<boolean>;
464
- onMutatedJourneyMenuStore: import("../../../..").MessageBusExposeOnlySubscription<{
465
- state: {
466
- menuItems: import("@omnia/fx-models").JourneyMenuItem[];
467
- activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
468
- };
469
- events: {
470
- onMutatedMenuItems: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
471
- onMutatedActiveMenuItem: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
472
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
473
- actions: {
474
- onDispatching<T_1 extends (...args: any) => any>(action: (actions: {
475
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
476
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
477
- }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
478
- onDispatched<T_2 extends (...args: any) => any>(action: (actions: {
479
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
480
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
481
- }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
482
- onFailure<T_3 extends (...args: any) => any>(action: (actions: {
483
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
484
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
485
- }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
486
- } & {
487
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
488
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
489
- };
490
- get: {
491
- readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
492
- readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
493
- };
494
- }>;
495
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
496
- get: {
497
- shareds<T_4>(): {
498
- state: T_4;
499
- events: { [K in keyof T_4 as `onMutated${Capitalize<string & K>}`]: import("../../../..").MessageBusExposeOnlySubscription<T_4[K]>; } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
500
- };
501
- blade(id: GuidValue): import("../models").BladeInstance;
502
- showBackButton(bladeId: GuidValue): boolean;
503
- readonly isNested: boolean;
504
- };
505
- actions: {
506
- onDispatching<T_5 extends (...args: any) => any>(action: (actions: {
507
- setNested(menuStore: {
508
- state: {
509
- menuItems: import("@omnia/fx-models").JourneyMenuItem[];
510
- activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
511
- };
512
- events: {
513
- onMutatedMenuItems: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
514
- onMutatedActiveMenuItem: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
515
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
516
- actions: {
517
- onDispatching<T_1 extends (...args: any) => any>(action: (actions: {
518
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
519
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
520
- }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
521
- onDispatched<T_2 extends (...args: any) => any>(action: (actions: {
522
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
523
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
524
- }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
525
- onFailure<T_3 extends (...args: any) => any>(action: (actions: {
526
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
527
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
528
- }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
529
- } & {
530
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
531
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
532
- };
533
- get: {
534
- readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
535
- readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
536
- };
537
- }): void;
538
- addBlade(newBlade: import("../models").BladeInstance): void;
539
- removeBlade(blade: import("../models").BladeInstance): void;
540
- getBladeSize(blade: import("../models").BladeInstance): number;
541
- setBladeStates(): void;
542
- moveNext(fromBladeId: GuidValue): void;
543
- movePrev(fromBladeId: GuidValue): void;
544
- travelTo(fromBladeId: GuidValue, toBladeId: GuidValue): void;
545
- setActiveIndex(index: number): void;
546
- }) => T_5, fn: T_5 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
547
- onDispatched<T_6 extends (...args: any) => any>(action: (actions: {
548
- setNested(menuStore: {
549
- state: {
550
- menuItems: import("@omnia/fx-models").JourneyMenuItem[];
551
- activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
552
- };
553
- events: {
554
- onMutatedMenuItems: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
555
- onMutatedActiveMenuItem: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
556
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
557
- actions: {
558
- onDispatching<T_1 extends (...args: any) => any>(action: (actions: {
559
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
560
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
561
- }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
562
- onDispatched<T_2 extends (...args: any) => any>(action: (actions: {
563
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
564
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
565
- }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
566
- onFailure<T_3 extends (...args: any) => any>(action: (actions: {
567
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
568
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
569
- }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
570
- } & {
571
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
572
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
573
- };
574
- get: {
575
- readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
576
- readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
577
- };
578
- }): void;
579
- addBlade(newBlade: import("../models").BladeInstance): void;
580
- removeBlade(blade: import("../models").BladeInstance): void;
581
- getBladeSize(blade: import("../models").BladeInstance): number;
582
- setBladeStates(): void;
583
- moveNext(fromBladeId: GuidValue): void;
584
- movePrev(fromBladeId: GuidValue): void;
585
- travelTo(fromBladeId: GuidValue, toBladeId: GuidValue): void;
586
- setActiveIndex(index: number): void;
587
- }) => T_6, fn: T_6 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
588
- onFailure<T_7 extends (...args: any) => any>(action: (actions: {
589
- setNested(menuStore: {
590
- state: {
591
- menuItems: import("@omnia/fx-models").JourneyMenuItem[];
592
- activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
593
- };
594
- events: {
595
- onMutatedMenuItems: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
596
- onMutatedActiveMenuItem: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
597
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
598
- actions: {
599
- onDispatching<T_1 extends (...args: any) => any>(action: (actions: {
600
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
601
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
602
- }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
603
- onDispatched<T_2 extends (...args: any) => any>(action: (actions: {
604
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
605
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
606
- }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
607
- onFailure<T_3 extends (...args: any) => any>(action: (actions: {
608
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
609
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
610
- }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
611
- } & {
612
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
613
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
614
- };
615
- get: {
616
- readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
617
- readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
618
- };
619
- }): void;
620
- addBlade(newBlade: import("../models").BladeInstance): void;
621
- removeBlade(blade: import("../models").BladeInstance): void;
622
- getBladeSize(blade: import("../models").BladeInstance): number;
623
- setBladeStates(): void;
624
- moveNext(fromBladeId: GuidValue): void;
625
- movePrev(fromBladeId: GuidValue): void;
626
- travelTo(fromBladeId: GuidValue, toBladeId: GuidValue): void;
627
- setActiveIndex(index: number): void;
628
- }) => T_7, fn: T_7 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
629
- } & {
630
- setNested(menuStore: {
631
- state: {
632
- menuItems: import("@omnia/fx-models").JourneyMenuItem[];
633
- activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
634
- };
635
- events: {
636
- onMutatedMenuItems: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
637
- onMutatedActiveMenuItem: import("../../../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
638
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
639
- actions: {
640
- onDispatching<T_1 extends (...args: any) => any>(action: (actions: {
641
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
642
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
643
- }) => T_1, fn: T_1 extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
644
- onDispatched<T_2 extends (...args: any) => any>(action: (actions: {
645
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
646
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
647
- }) => T_2, fn: T_2 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
648
- onFailure<T_3 extends (...args: any) => any>(action: (actions: {
649
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
650
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
651
- }) => T_3, fn: T_3 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
652
- } & {
653
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
654
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
655
- };
656
- get: {
657
- readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
658
- readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
659
- };
660
- }): void;
661
- addBlade(newBlade: import("../models").BladeInstance): void;
662
- removeBlade(blade: import("../models").BladeInstance): void;
663
- getBladeSize(blade: import("../models").BladeInstance): number;
664
- setBladeStates(): void;
665
- moveNext(fromBladeId: GuidValue): void;
666
- movePrev(fromBladeId: GuidValue): void;
667
- travelTo(fromBladeId: GuidValue, toBladeId: GuidValue): void;
668
- setActiveIndex(index: number): void;
669
- };
670
- withBlade: (bladeId: GuidValue) => {
671
- moveNext(): void;
672
- movePrev(): void;
673
- travelTo(toBladeId: GuidValue): void;
674
- defineValueToSave<T_8>(value?: T_8): {
675
- value: T_8;
676
- setValue: (value: T_8) => void;
677
- };
678
- };
679
- };
680
- getSharedState: <T_4>() => {
681
- state: T_4;
682
- events: { [K in keyof T_4 as `onMutated${Capitalize<string & K>}`]: import("../../../..").MessageBusExposeOnlySubscription<T_4[K]>; } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
423
+ getSharedState: <T_1>() => {
424
+ state: T_1;
425
+ events: { [K in keyof T_1 as `onMutated${Capitalize<string & K>}`]: import("../../../..").MessageBusExposeOnlySubscription<T_1[K]>; } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
683
426
  };
684
- defineValueToSave<T_9>(value?: T_9): {
685
- value: T_9;
686
- setValue: (value: T_9) => void;
427
+ defineValueToSave<T_2>(value?: T_2): {
428
+ value: T_2;
429
+ setValue: (value: T_2) => void;
687
430
  };
688
431
  };
@@ -1,6 +1,6 @@
1
1
  import { OVerticalAlignments, OPaddingCombination } from "@omnia/fx-models";
2
2
  export interface stylingSettings {
3
- align: OVerticalAlignments;
3
+ alignY: OVerticalAlignments;
4
4
  paddings: OPaddingCombination;
5
5
  width: string;
6
6
  grow: number;
@@ -1,3 +1,4 @@
1
+ import { SpacingSettings, SpacingType } from "@omnia/fx-models";
1
2
  declare const _default: {
2
3
  new (...args: any[]): {
3
4
  $: import("vue").ComponentInternalInstance;
@@ -17,12 +18,20 @@ declare const _default: {
17
18
  readonly class?: String | String[];
18
19
  readonly width?: string;
19
20
  readonly minWidth?: string;
21
+ readonly margin?: unknown;
22
+ readonly padding?: unknown;
20
23
  readonly filled?: boolean;
21
24
  readonly grow?: number;
22
- readonly align?: "center" | "bottom" | "top";
25
+ readonly alignY?: "center" | "bottom" | "top";
23
26
  readonly toned?: boolean;
24
27
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
25
- align: {
28
+ margin: {
29
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
30
+ };
31
+ padding: {
32
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
33
+ };
34
+ alignY: {
26
35
  type: import("vue").PropType<"center" | "bottom" | "top">;
27
36
  };
28
37
  minWidth: {
@@ -66,7 +75,13 @@ declare const _default: {
66
75
  $emit: (event: string, ...args: any[]) => void;
67
76
  $el: any;
68
77
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
69
- align: {
78
+ margin: {
79
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
80
+ };
81
+ padding: {
82
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
83
+ };
84
+ alignY: {
70
85
  type: import("vue").PropType<"center" | "bottom" | "top">;
71
86
  };
72
87
  minWidth: {
@@ -122,7 +137,13 @@ declare const _default: {
122
137
  $nextTick: typeof import("vue").nextTick;
123
138
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
124
139
  } & Readonly<import("vue").ExtractPropTypes<{
125
- align: {
140
+ margin: {
141
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
142
+ };
143
+ padding: {
144
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
145
+ };
146
+ alignY: {
126
147
  type: import("vue").PropType<"center" | "bottom" | "top">;
127
148
  };
128
149
  minWidth: {
@@ -156,7 +177,13 @@ declare const _default: {
156
177
  __isTeleport?: never;
157
178
  __isSuspense?: never;
158
179
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
159
- align: {
180
+ margin: {
181
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
182
+ };
183
+ padding: {
184
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
185
+ };
186
+ alignY: {
160
187
  type: import("vue").PropType<"center" | "bottom" | "top">;
161
188
  };
162
189
  minWidth: {
@@ -202,9 +229,11 @@ declare const _default: {
202
229
  class?: String | String[];
203
230
  width?: string;
204
231
  minWidth?: string;
232
+ margin?: unknown;
233
+ padding?: unknown;
205
234
  filled?: boolean;
206
235
  grow?: number;
207
- align?: "center" | "bottom" | "top";
236
+ alignY?: "center" | "bottom" | "top";
208
237
  toned?: boolean;
209
238
  }>, never>;
210
239
  };
@@ -1,3 +1,4 @@
1
+ import { SpacingSettings, SpacingType } from "@omnia/fx/models";
1
2
  declare const _default: {
2
3
  new (...args: any[]): {
3
4
  $: import("vue").ComponentInternalInstance;
@@ -15,9 +16,17 @@ declare const _default: {
15
16
  readonly blueprintType?: any;
16
17
  readonly colors?: any;
17
18
  readonly class?: String | String[];
19
+ readonly margin?: unknown;
20
+ readonly padding?: unknown;
18
21
  readonly filled?: boolean;
19
22
  readonly toned?: boolean;
20
23
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
24
+ margin: {
25
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
26
+ };
27
+ padding: {
28
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
29
+ };
21
30
  toned: {
22
31
  type: import("vue").PropType<boolean>;
23
32
  } & {
@@ -50,6 +59,12 @@ declare const _default: {
50
59
  $emit: (event: string, ...args: any[]) => void;
51
60
  $el: any;
52
61
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
62
+ margin: {
63
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
64
+ };
65
+ padding: {
66
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
67
+ };
53
68
  toned: {
54
69
  type: import("vue").PropType<boolean>;
55
70
  } & {
@@ -94,6 +109,12 @@ declare const _default: {
94
109
  $nextTick: typeof import("vue").nextTick;
95
110
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
96
111
  } & Readonly<import("vue").ExtractPropTypes<{
112
+ margin: {
113
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
114
+ };
115
+ padding: {
116
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
117
+ };
97
118
  toned: {
98
119
  type: import("vue").PropType<boolean>;
99
120
  } & {
@@ -116,6 +137,12 @@ declare const _default: {
116
137
  __isTeleport?: never;
117
138
  __isSuspense?: never;
118
139
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
140
+ margin: {
141
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
142
+ };
143
+ padding: {
144
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
145
+ };
119
146
  toned: {
120
147
  type: import("vue").PropType<boolean>;
121
148
  } & {
@@ -148,6 +175,8 @@ declare const _default: {
148
175
  colors?: any;
149
176
  } & {
150
177
  class?: String | String[];
178
+ margin?: unknown;
179
+ padding?: unknown;
151
180
  filled?: boolean;
152
181
  toned?: boolean;
153
182
  }>, never>;
@@ -2,7 +2,11 @@ import { OHorizontalAlignments, OPaddingCombination, OVerticalAlignments } from
2
2
  export interface stylingSettings {
3
3
  alignX: OHorizontalAlignments;
4
4
  alignY: OVerticalAlignments;
5
+ gapX: string;
6
+ gapY: string;
5
7
  paddings: OPaddingCombination;
8
+ width: string;
9
+ minWidth: string;
6
10
  height: string;
7
11
  minHeight: string;
8
12
  wrap: boolean;
@@ -1,3 +1,4 @@
1
+ import { SpacingSettings, SpacingType } from "@omnia/fx-models";
1
2
  declare const _default: {
2
3
  new (...args: any[]): {
3
4
  $: import("vue").ComponentInternalInstance;
@@ -15,13 +16,19 @@ declare const _default: {
15
16
  readonly blueprintType?: any;
16
17
  readonly colors?: any;
17
18
  readonly class?: String | String[];
19
+ readonly width?: string;
18
20
  readonly height?: string;
19
21
  readonly minHeight?: string;
22
+ readonly minWidth?: string;
23
+ readonly margin?: unknown;
24
+ readonly padding?: unknown;
20
25
  readonly wrap?: boolean;
21
26
  readonly filled?: boolean;
22
27
  readonly alignY?: "center" | "bottom" | "top";
23
28
  readonly toned?: boolean;
24
29
  readonly alignX?: "left" | "center" | "right";
30
+ readonly gapX?: number | SpacingType;
31
+ readonly gapY?: number | SpacingType;
25
32
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
26
33
  alignY: {
27
34
  type: import("vue").PropType<"center" | "bottom" | "top">;
@@ -29,9 +36,27 @@ declare const _default: {
29
36
  alignX: {
30
37
  type: import("vue").PropType<"left" | "center" | "right">;
31
38
  };
39
+ margin: {
40
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
41
+ };
42
+ padding: {
43
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
44
+ };
45
+ gapY: {
46
+ type: import("vue").PropType<number | SpacingType>;
47
+ };
48
+ gapX: {
49
+ type: import("vue").PropType<number | SpacingType>;
50
+ };
32
51
  minHeight: {
33
52
  type: import("vue").PropType<string>;
34
53
  };
54
+ minWidth: {
55
+ type: import("vue").PropType<string>;
56
+ };
57
+ width: {
58
+ type: import("vue").PropType<string>;
59
+ };
35
60
  height: {
36
61
  type: import("vue").PropType<string>;
37
62
  };
@@ -76,9 +101,27 @@ declare const _default: {
76
101
  alignX: {
77
102
  type: import("vue").PropType<"left" | "center" | "right">;
78
103
  };
104
+ margin: {
105
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
106
+ };
107
+ padding: {
108
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
109
+ };
110
+ gapY: {
111
+ type: import("vue").PropType<number | SpacingType>;
112
+ };
113
+ gapX: {
114
+ type: import("vue").PropType<number | SpacingType>;
115
+ };
79
116
  minHeight: {
80
117
  type: import("vue").PropType<string>;
81
118
  };
119
+ minWidth: {
120
+ type: import("vue").PropType<string>;
121
+ };
122
+ width: {
123
+ type: import("vue").PropType<string>;
124
+ };
82
125
  height: {
83
126
  type: import("vue").PropType<string>;
84
127
  };
@@ -135,9 +178,27 @@ declare const _default: {
135
178
  alignX: {
136
179
  type: import("vue").PropType<"left" | "center" | "right">;
137
180
  };
181
+ margin: {
182
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
183
+ };
184
+ padding: {
185
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
186
+ };
187
+ gapY: {
188
+ type: import("vue").PropType<number | SpacingType>;
189
+ };
190
+ gapX: {
191
+ type: import("vue").PropType<number | SpacingType>;
192
+ };
138
193
  minHeight: {
139
194
  type: import("vue").PropType<string>;
140
195
  };
196
+ minWidth: {
197
+ type: import("vue").PropType<string>;
198
+ };
199
+ width: {
200
+ type: import("vue").PropType<string>;
201
+ };
141
202
  height: {
142
203
  type: import("vue").PropType<string>;
143
204
  };
@@ -172,9 +233,27 @@ declare const _default: {
172
233
  alignX: {
173
234
  type: import("vue").PropType<"left" | "center" | "right">;
174
235
  };
236
+ margin: {
237
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
238
+ };
239
+ padding: {
240
+ type: import("vue").PropType<SpacingSettings | SpacingType>;
241
+ };
242
+ gapY: {
243
+ type: import("vue").PropType<number | SpacingType>;
244
+ };
245
+ gapX: {
246
+ type: import("vue").PropType<number | SpacingType>;
247
+ };
175
248
  minHeight: {
176
249
  type: import("vue").PropType<string>;
177
250
  };
251
+ minWidth: {
252
+ type: import("vue").PropType<string>;
253
+ };
254
+ width: {
255
+ type: import("vue").PropType<string>;
256
+ };
178
257
  height: {
179
258
  type: import("vue").PropType<string>;
180
259
  };
@@ -213,13 +292,19 @@ declare const _default: {
213
292
  colors?: any;
214
293
  } & {
215
294
  class?: String | String[];
295
+ width?: string;
216
296
  height?: string;
217
297
  minHeight?: string;
298
+ minWidth?: string;
299
+ margin?: unknown;
300
+ padding?: unknown;
218
301
  wrap?: boolean;
219
302
  filled?: boolean;
220
303
  alignY?: "center" | "bottom" | "top";
221
304
  toned?: boolean;
222
305
  alignX?: "left" | "center" | "right";
306
+ gapX?: number | SpacingType;
307
+ gapY?: number | SpacingType;
223
308
  }>, never>;
224
309
  };
225
310
  export default _default;
@@ -78,8 +78,8 @@ declare const _default: {
78
78
  }>;
79
79
  };
80
80
  "onUpdate:modelValue"?: ((value: SpacingSettings) => any) & ((value: SpacingSettings) => any);
81
- readonly "v-model"?: SpacingSettings;
82
- readonly modelValue?: SpacingSettings;
81
+ readonly "v-model"?: unknown;
82
+ readonly modelValue?: unknown;
83
83
  readonly individualSelection?: boolean;
84
84
  readonly disableTop?: boolean;
85
85
  readonly disableBottom?: boolean;
@@ -582,8 +582,8 @@ declare const _default: {
582
582
  }>;
583
583
  };
584
584
  "onUpdate:modelValue"?: (value: SpacingSettings) => any;
585
- "v-model"?: SpacingSettings;
586
- modelValue?: SpacingSettings;
585
+ "v-model"?: unknown;
586
+ modelValue?: unknown;
587
587
  individualSelection?: boolean;
588
588
  disableTop?: boolean;
589
589
  disableBottom?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { useBlueprintStore } from "../store/BlueprintStore";
2
- import { WebBlueprintDefintionTypes, setColorOpacity } from "@omnia/fx-models";
2
+ import { SpacingSettings, SpacingType, WebBlueprintDefintionTypes, setColorOpacity } from "@omnia/fx-models";
3
3
  export declare function useStyling(): {
4
4
  spacing: (spacing: import("./styles").spacing, type: "margin" | "padding") => string;
5
5
  };
@@ -530,8 +530,12 @@ export declare function useThemeStyling(): {
530
530
  deactivated(): void;
531
531
  }) => string;
532
532
  spacing: {
533
- inner: (value: any, blueprints?: ReturnType<typeof useBlueprintStore>) => number;
534
- layout: (value: any, blueprints?: ReturnType<typeof useBlueprintStore>) => number;
533
+ innerPadding: (value: SpacingSettings | SpacingType, blueprints?: ReturnType<typeof useBlueprintStore>) => string;
534
+ innerMargin: (value: SpacingSettings | SpacingType, blueprints?: ReturnType<typeof useBlueprintStore>) => string;
535
+ innerValue: (value: any, blueprints?: ReturnType<typeof useBlueprintStore>) => number;
536
+ layoutValue: (value: any, blueprints?: ReturnType<typeof useBlueprintStore>) => number;
537
+ layoutPadding: (value: SpacingSettings | SpacingType, blueprints?: ReturnType<typeof useBlueprintStore>) => string;
538
+ layoutMargin: (value: SpacingSettings | SpacingType, blueprints?: ReturnType<typeof useBlueprintStore>) => string;
535
539
  };
536
540
  };
537
541
  };
@@ -1,4 +1,4 @@
1
- import { BlockBlueprint, ColorSchema, SpacingBlueprint, SpacingSettings, WebBlueprintDefintionTypes } from "@omnia/fx-models";
1
+ import { BlockBlueprint, ColorSchema, SpacingBlueprint, SpacingSettings, SpacingType, WebBlueprintDefintionTypes } from "@omnia/fx-models";
2
2
  import { useBlueprintStore } from "../../store/BlueprintStore";
3
3
  export declare const BlueprintStyles: {
4
4
  getBlueprintSpacingValue: typeof getBlueprintSpacingValue;
@@ -9,7 +9,7 @@ export declare const BlueprintStyles: {
9
9
  };
10
10
  /**Blueprint styling */
11
11
  declare function getBlueprintSpacingValue(value: any, type: WebBlueprintDefintionTypes.innerspacing | WebBlueprintDefintionTypes.layoutspacing, blueprints?: ReturnType<typeof useBlueprintStore>): number;
12
- declare function getBlueprintSpacingStyling(value: SpacingSettings, type: WebBlueprintDefintionTypes.innerspacing | WebBlueprintDefintionTypes.layoutspacing, spacinType?: "margin" | "padding", blueprints?: ReturnType<typeof useBlueprintStore>): string;
12
+ declare function getBlueprintSpacingStyling(value: SpacingSettings | SpacingType, type: WebBlueprintDefintionTypes.innerspacing | WebBlueprintDefintionTypes.layoutspacing, spacingType?: "margin" | "padding", blueprints?: ReturnType<typeof useBlueprintStore>): string;
13
13
  declare function getButtonBlueprintStyling(bluePrint?: ReturnType<typeof useBlueprintStore>): string;
14
14
  declare function getIconBlueprintStyling(bluePrint?: ReturnType<typeof useBlueprintStore>): string;
15
15
  declare function getBlockBlueprintStyling(blueprint: BlockBlueprint, colors: ColorSchema, spacingBluePrint: SpacingBlueprint): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.54-dev",
4
+ "version": "8.0.55-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.54-dev",
23
+ "@omnia/fx-models": "8.0.55-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",