@omnia/fx 8.0.2-dev → 8.0.3-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.
Files changed (21) hide show
  1. package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +0 -1
  2. package/internal-do-not-import-from-here/ux/Exposes.d.ts +0 -1
  3. package/internal-do-not-import-from-here/ux/filterengine/FilterEngineRenderer.d.ts +2 -2
  4. package/internal-do-not-import-from-here/ux/filterengine/FilterEngineSettings.d.ts +2 -2
  5. package/internal-do-not-import-from-here/ux/filterengine/components/settings/PropertyList.d.ts +2 -2
  6. package/internal-do-not-import-from-here/ux/filterengine/components/settings/boolean/BooleanPropertySettings.d.ts +2 -2
  7. package/internal-do-not-import-from-here/ux/filterengine/components/settings/date/DatePropertySettings.d.ts +2 -2
  8. package/internal-do-not-import-from-here/ux/filterengine/components/settings/number/NumberPropertySettings.d.ts +2 -2
  9. package/internal-do-not-import-from-here/ux/filterengine/components/settings/person/PersonPropertySettings.d.ts +2 -2
  10. package/internal-do-not-import-from-here/ux/filterengine/components/settings/tags/TagsPropertySettings.d.ts +2 -2
  11. package/internal-do-not-import-from-here/ux/filterengine/components/settings/text/TextPropertySettings.d.ts +2 -2
  12. package/internal-do-not-import-from-here/ux/permissioninput/PermissionInput.d.ts +6 -6
  13. package/internal-do-not-import-from-here/ux/securitytrimmer/SecurityTrimmer.d.ts +219 -0
  14. package/internal-do-not-import-from-here/ux/signin/omnia/providers/MagicLinkProvider.d.ts +2 -2
  15. package/internal-do-not-import-from-here/ux/signin/omnia/providers/OtpProvider.d.ts +2 -2
  16. package/internal-do-not-import-from-here/ux/signin/omnia/providers/PasswordProvider.d.ts +2 -2
  17. package/internal-do-not-import-from-here/wctypings.d.ts +7 -0
  18. package/package.json +2 -2
  19. package/internal-do-not-import-from-here/ux/securitytrimer/ISecurityTrimer.d.ts +0 -26
  20. package/internal-do-not-import-from-here/ux/securitytrimer/SecurityTrimer.d.ts +0 -27
  21. package/internal-do-not-import-from-here/ux/securitytrimer/index.d.ts +0 -1
@@ -36,7 +36,6 @@ import "./richtexteditor/index";
36
36
  import "./richtexteditor/PublicRichTextEditorApi";
37
37
  import "./richtexteditorrenderer/index";
38
38
  import "./rollupfilter/index";
39
- import "./securitytrimer/index";
40
39
  import "./settings/index";
41
40
  import "./sitelogoicon/index";
42
41
  import "./social/index";
@@ -26,7 +26,6 @@ export * from "./social";
26
26
  export * from "./sitelogoicon";
27
27
  export * from "./languagepicker";
28
28
  export * from "./permissioninput";
29
- export * from "./securitytrimer";
30
29
  export * from "./models";
31
30
  export * from "./wizard";
32
31
  export * from "./multilingualinput";
@@ -51,9 +51,9 @@ declare const _default: {
51
51
  [key: string]: any;
52
52
  }>) => void)[];
53
53
  readonly spacing?: SpacingSettings;
54
+ readonly context?: FilterEngineContext;
54
55
  readonly getApi?: (handler: FilterEngineHandler) => void;
55
56
  readonly renderContent?: () => JSX.Element | JSX.Element[];
56
- readonly context?: FilterEngineContext;
57
57
  readonly appendLeftSection?: () => JSX.Element | JSX.Element[];
58
58
  readonly prependLeftSection?: () => JSX.Element | JSX.Element[];
59
59
  readonly appendMainSection?: () => JSX.Element | JSX.Element[];
@@ -138,9 +138,9 @@ declare const _default: {
138
138
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
139
139
  propsDefinition: Omit<Readonly<{} & {
140
140
  spacing?: SpacingSettings;
141
+ context?: FilterEngineContext;
141
142
  getApi?: (handler: FilterEngineHandler) => void;
142
143
  renderContent?: () => JSX.Element | JSX.Element[];
143
- context?: FilterEngineContext;
144
144
  appendLeftSection?: () => JSX.Element | JSX.Element[];
145
145
  prependLeftSection?: () => JSX.Element | JSX.Element[];
146
146
  appendMainSection?: () => JSX.Element | JSX.Element[];
@@ -49,8 +49,8 @@ declare const _default: {
49
49
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
50
  [key: string]: any;
51
51
  }>) => void)[];
52
- readonly updateSettings?: () => void;
53
52
  readonly context?: FilterEngineContext;
53
+ readonly updateSettings?: () => void;
54
54
  };
55
55
  $attrs: {
56
56
  [x: string]: unknown;
@@ -104,8 +104,8 @@ declare const _default: {
104
104
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
105
105
  propsDefinition: Omit<Readonly<{} & {
106
106
  settings?: FilterEngineSettings;
107
- updateSettings?: () => void;
108
107
  context?: FilterEngineContext;
108
+ updateSettings?: () => void;
109
109
  }>, never>;
110
110
  };
111
111
  export default _default;
@@ -49,8 +49,8 @@ declare const _default: {
49
49
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
50
  [key: string]: any;
51
51
  }>) => void)[];
52
- readonly updateData?: () => void;
53
52
  readonly context?: FilterEngineContext;
53
+ readonly updateData?: () => void;
54
54
  };
55
55
  $attrs: {
56
56
  [x: string]: unknown;
@@ -104,8 +104,8 @@ declare const _default: {
104
104
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
105
105
  propsDefinition: Omit<Readonly<{} & {
106
106
  settings?: FilterEngineSettings;
107
- updateData?: () => void;
108
107
  context?: FilterEngineContext;
108
+ updateData?: () => void;
109
109
  }>, never>;
110
110
  };
111
111
  export default _default;
@@ -49,11 +49,11 @@ declare const _default: {
49
49
  [key: string]: any;
50
50
  }>) => void)[];
51
51
  readonly property?: BooleanFilterEngineProperty;
52
+ readonly context?: FilterEngineContext;
52
53
  readonly updateData?: () => void;
53
54
  readonly propertyDefinitionAsHash?: {
54
55
  [internalName: string]: EnterprisePropertyDefinition;
55
56
  };
56
- readonly context?: FilterEngineContext;
57
57
  };
58
58
  $attrs: {
59
59
  [x: string]: unknown;
@@ -122,11 +122,11 @@ declare const _default: {
122
122
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
123
123
  propsDefinition: Omit<Readonly<{} & {
124
124
  property?: BooleanFilterEngineProperty;
125
+ context?: FilterEngineContext;
125
126
  updateData?: () => void;
126
127
  propertyDefinitionAsHash?: {
127
128
  [internalName: string]: EnterprisePropertyDefinition;
128
129
  };
129
- context?: FilterEngineContext;
130
130
  }>, never>;
131
131
  };
132
132
  export default _default;
@@ -49,11 +49,11 @@ declare const _default: {
49
49
  [key: string]: any;
50
50
  }>) => void)[];
51
51
  readonly property?: DateTimeFilterEngineProperty;
52
+ readonly context?: FilterEngineContext;
52
53
  readonly updateData?: () => void;
53
54
  readonly propertyDefinitionAsHash?: {
54
55
  [internalName: string]: EnterprisePropertyDefinition;
55
56
  };
56
- readonly context?: FilterEngineContext;
57
57
  };
58
58
  $attrs: {
59
59
  [x: string]: unknown;
@@ -122,11 +122,11 @@ declare const _default: {
122
122
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
123
123
  propsDefinition: Omit<Readonly<{} & {
124
124
  property?: DateTimeFilterEngineProperty;
125
+ context?: FilterEngineContext;
125
126
  updateData?: () => void;
126
127
  propertyDefinitionAsHash?: {
127
128
  [internalName: string]: EnterprisePropertyDefinition;
128
129
  };
129
- context?: FilterEngineContext;
130
130
  }>, never>;
131
131
  };
132
132
  export default _default;
@@ -49,11 +49,11 @@ declare const _default: {
49
49
  [key: string]: any;
50
50
  }>) => void)[];
51
51
  readonly property?: NumberFilterEngineProperty;
52
+ readonly context?: FilterEngineContext;
52
53
  readonly updateData?: () => void;
53
54
  readonly propertyDefinitionAsHash?: {
54
55
  [internalName: string]: EnterprisePropertyDefinition;
55
56
  };
56
- readonly context?: FilterEngineContext;
57
57
  };
58
58
  $attrs: {
59
59
  [x: string]: unknown;
@@ -122,11 +122,11 @@ declare const _default: {
122
122
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
123
123
  propsDefinition: Omit<Readonly<{} & {
124
124
  property?: NumberFilterEngineProperty;
125
+ context?: FilterEngineContext;
125
126
  updateData?: () => void;
126
127
  propertyDefinitionAsHash?: {
127
128
  [internalName: string]: EnterprisePropertyDefinition;
128
129
  };
129
- context?: FilterEngineContext;
130
130
  }>, never>;
131
131
  };
132
132
  export default _default;
@@ -49,11 +49,11 @@ declare const _default: {
49
49
  [key: string]: any;
50
50
  }>) => void)[];
51
51
  readonly property?: PersonFilterEngineProperty;
52
+ readonly context?: FilterEngineContext;
52
53
  readonly updateData?: () => void;
53
54
  readonly propertyDefinitionAsHash?: {
54
55
  [internalName: string]: EnterprisePropertyDefinition;
55
56
  };
56
- readonly context?: FilterEngineContext;
57
57
  };
58
58
  $attrs: {
59
59
  [x: string]: unknown;
@@ -122,11 +122,11 @@ declare const _default: {
122
122
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
123
123
  propsDefinition: Omit<Readonly<{} & {
124
124
  property?: PersonFilterEngineProperty;
125
+ context?: FilterEngineContext;
125
126
  updateData?: () => void;
126
127
  propertyDefinitionAsHash?: {
127
128
  [internalName: string]: EnterprisePropertyDefinition;
128
129
  };
129
- context?: FilterEngineContext;
130
130
  }>, never>;
131
131
  };
132
132
  export default _default;
@@ -49,11 +49,11 @@ declare const _default: {
49
49
  [key: string]: any;
50
50
  }>) => void)[];
51
51
  readonly property?: TagsFilterEngineProperty;
52
+ readonly context?: FilterEngineContext;
52
53
  readonly updateData?: () => void;
53
54
  readonly propertyDefinitionAsHash?: {
54
55
  [internalName: string]: EnterprisePropertyDefinition;
55
56
  };
56
- readonly context?: FilterEngineContext;
57
57
  };
58
58
  $attrs: {
59
59
  [x: string]: unknown;
@@ -122,11 +122,11 @@ declare const _default: {
122
122
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
123
123
  propsDefinition: Omit<Readonly<{} & {
124
124
  property?: TagsFilterEngineProperty;
125
+ context?: FilterEngineContext;
125
126
  updateData?: () => void;
126
127
  propertyDefinitionAsHash?: {
127
128
  [internalName: string]: EnterprisePropertyDefinition;
128
129
  };
129
- context?: FilterEngineContext;
130
130
  }>, never>;
131
131
  };
132
132
  export default _default;
@@ -49,11 +49,11 @@ declare const _default: {
49
49
  [key: string]: any;
50
50
  }>) => void)[];
51
51
  readonly property?: TextFilterEngineProperty;
52
+ readonly context?: FilterEngineContext;
52
53
  readonly updateData?: () => void;
53
54
  readonly propertyDefinitionAsHash?: {
54
55
  [internalName: string]: EnterprisePropertyDefinition;
55
56
  };
56
- readonly context?: FilterEngineContext;
57
57
  };
58
58
  $attrs: {
59
59
  [x: string]: unknown;
@@ -122,11 +122,11 @@ declare const _default: {
122
122
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
123
123
  propsDefinition: Omit<Readonly<{} & {
124
124
  property?: TextFilterEngineProperty;
125
+ context?: FilterEngineContext;
125
126
  updateData?: () => void;
126
127
  propertyDefinitionAsHash?: {
127
128
  [internalName: string]: EnterprisePropertyDefinition;
128
129
  };
129
- context?: FilterEngineContext;
130
130
  }>, never>;
131
131
  };
132
132
  export default _default;
@@ -57,12 +57,12 @@ declare const _default: {
57
57
  readonly contextParams?: {
58
58
  [key: string]: string | number;
59
59
  };
60
- readonly getApi?: (api: IPermissionInputApi) => void;
61
- readonly "get-api"?: (api: IPermissionInputApi) => void;
62
- readonly "service-id"?: unknown;
63
60
  readonly "context-params"?: {
64
61
  [key: string]: string | number;
65
62
  };
63
+ readonly getApi?: (api: IPermissionInputApi) => void;
64
+ readonly "get-api"?: (api: IPermissionInputApi) => void;
65
+ readonly "service-id"?: unknown;
66
66
  readonly onValueUpdated?: (rolePermissionSetting: Array<RolePermissionSetting>) => Promise<void>;
67
67
  readonly "on-value-updated"?: (rolePermissionSetting: Array<RolePermissionSetting>) => Promise<void>;
68
68
  readonly onValueUpdating?: () => Promise<void>;
@@ -294,12 +294,12 @@ declare const _default: {
294
294
  contextParams?: {
295
295
  [key: string]: string | number;
296
296
  };
297
- getApi?: (api: IPermissionInputApi) => void;
298
- "get-api"?: (api: IPermissionInputApi) => void;
299
- "service-id"?: unknown;
300
297
  "context-params"?: {
301
298
  [key: string]: string | number;
302
299
  };
300
+ getApi?: (api: IPermissionInputApi) => void;
301
+ "get-api"?: (api: IPermissionInputApi) => void;
302
+ "service-id"?: unknown;
303
303
  onValueUpdated?: (rolePermissionSetting: Array<RolePermissionSetting>) => Promise<void>;
304
304
  "on-value-updated"?: (rolePermissionSetting: Array<RolePermissionSetting>) => Promise<void>;
305
305
  onValueUpdating?: () => Promise<void>;
@@ -0,0 +1,219 @@
1
+ import { VNodeChild } from "vue";
2
+ interface SecurityTrimmerSlots {
3
+ alternativeContent?: () => VNodeChild;
4
+ excludedRolesContent?: () => VNodeChild;
5
+ }
6
+ declare const _default: {
7
+ new (...args: any[]): {
8
+ $: import("vue").ComponentInternalInstance;
9
+ $data: {};
10
+ $props: {
11
+ container?: any;
12
+ blueprint?: any;
13
+ colorSchemaType?: any;
14
+ blueprintType?: any;
15
+ colors?: any;
16
+ style?: unknown;
17
+ class?: unknown;
18
+ key?: string | number | symbol;
19
+ ref?: import("vue").VNodeRef;
20
+ ref_for?: boolean;
21
+ ref_key?: string;
22
+ onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
23
+ [key: string]: any;
24
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
+ [key: string]: any;
26
+ }>) => void)[];
27
+ onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
+ [key: string]: any;
29
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
+ [key: string]: any;
31
+ }>) => void)[];
32
+ onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
+ [key: string]: any;
34
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
+ [key: string]: any;
36
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
+ [key: string]: any;
38
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
+ [key: string]: any;
40
+ }>) => void)[];
41
+ onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
42
+ [key: string]: any;
43
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
+ [key: string]: any;
45
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
46
+ [key: string]: any;
47
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
+ [key: string]: any;
49
+ }>) => void)[];
50
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
+ [key: string]: any;
52
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
+ [key: string]: any;
54
+ }>) => void)[];
55
+ onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
56
+ [key: string]: any;
57
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
58
+ [key: string]: any;
59
+ }>) => void)[];
60
+ readonly "v-slots"?: {
61
+ default?: import("../DefineVueTypings").Slot<any[]>;
62
+ } & SecurityTrimmerSlots;
63
+ readonly roles: string[];
64
+ readonly excludedRoles?: string[];
65
+ readonly clearCacheAndRetryIfUnauthorized?: boolean;
66
+ readonly contextParams?: {
67
+ [key: string]: string | number;
68
+ };
69
+ };
70
+ $attrs: {
71
+ [x: string]: unknown;
72
+ };
73
+ $refs: {
74
+ [x: string]: unknown;
75
+ };
76
+ $slots: Readonly<{
77
+ [name: string]: import("vue").Slot<any>;
78
+ }>;
79
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
80
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
81
+ $emit: (event: string, ...args: any[]) => void;
82
+ $el: any;
83
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
84
+ contextParams: {
85
+ type: import("vue").PropType<{
86
+ [key: string]: string | number;
87
+ }>;
88
+ required: false;
89
+ };
90
+ clearCacheAndRetryIfUnauthorized: {
91
+ type: import("vue").PropType<boolean>;
92
+ required: false;
93
+ };
94
+ excludedRoles: {
95
+ type: import("vue").PropType<string[]>;
96
+ required: false;
97
+ };
98
+ roles: {
99
+ type: import("vue").PropType<string[]>;
100
+ required: true;
101
+ };
102
+ "v-slots": import("vue").Prop<{
103
+ default?: import("../DefineVueTypings").Slot<any[]>;
104
+ } & SecurityTrimmerSlots>;
105
+ colorSchemaType?: any;
106
+ container?: any;
107
+ colors?: any;
108
+ blueprintType?: any;
109
+ blueprint?: any;
110
+ }>>, () => VNodeChild, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
111
+ container?: any;
112
+ blueprint?: any;
113
+ colorSchemaType?: any;
114
+ blueprintType?: any;
115
+ colors?: any;
116
+ }, {}, string, {}> & {
117
+ beforeCreate?: (() => void) | (() => void)[];
118
+ created?: (() => void) | (() => void)[];
119
+ beforeMount?: (() => void) | (() => void)[];
120
+ mounted?: (() => void) | (() => void)[];
121
+ beforeUpdate?: (() => void) | (() => void)[];
122
+ updated?: (() => void) | (() => void)[];
123
+ activated?: (() => void) | (() => void)[];
124
+ deactivated?: (() => void) | (() => void)[];
125
+ beforeDestroy?: (() => void) | (() => void)[];
126
+ beforeUnmount?: (() => void) | (() => void)[];
127
+ destroyed?: (() => void) | (() => void)[];
128
+ unmounted?: (() => void) | (() => void)[];
129
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
130
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
131
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
132
+ };
133
+ $forceUpdate: () => void;
134
+ $nextTick: typeof import("vue").nextTick;
135
+ $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;
136
+ } & Readonly<import("vue").ExtractPropTypes<{
137
+ contextParams: {
138
+ type: import("vue").PropType<{
139
+ [key: string]: string | number;
140
+ }>;
141
+ required: false;
142
+ };
143
+ clearCacheAndRetryIfUnauthorized: {
144
+ type: import("vue").PropType<boolean>;
145
+ required: false;
146
+ };
147
+ excludedRoles: {
148
+ type: import("vue").PropType<string[]>;
149
+ required: false;
150
+ };
151
+ roles: {
152
+ type: import("vue").PropType<string[]>;
153
+ required: true;
154
+ };
155
+ "v-slots": import("vue").Prop<{
156
+ default?: import("../DefineVueTypings").Slot<any[]>;
157
+ } & SecurityTrimmerSlots>;
158
+ colorSchemaType?: any;
159
+ container?: any;
160
+ colors?: any;
161
+ blueprintType?: any;
162
+ blueprint?: any;
163
+ }>> & import("vue").ShallowUnwrapRef<() => VNodeChild> & {} & import("vue").ComponentCustomProperties & {};
164
+ __isFragment?: never;
165
+ __isTeleport?: never;
166
+ __isSuspense?: never;
167
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
168
+ contextParams: {
169
+ type: import("vue").PropType<{
170
+ [key: string]: string | number;
171
+ }>;
172
+ required: false;
173
+ };
174
+ clearCacheAndRetryIfUnauthorized: {
175
+ type: import("vue").PropType<boolean>;
176
+ required: false;
177
+ };
178
+ excludedRoles: {
179
+ type: import("vue").PropType<string[]>;
180
+ required: false;
181
+ };
182
+ roles: {
183
+ type: import("vue").PropType<string[]>;
184
+ required: true;
185
+ };
186
+ "v-slots": import("vue").Prop<{
187
+ default?: import("../DefineVueTypings").Slot<any[]>;
188
+ } & SecurityTrimmerSlots>;
189
+ colorSchemaType?: any;
190
+ container?: any;
191
+ colors?: any;
192
+ blueprintType?: any;
193
+ blueprint?: any;
194
+ }>>, () => VNodeChild, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
195
+ container?: any;
196
+ blueprint?: any;
197
+ colorSchemaType?: any;
198
+ blueprintType?: any;
199
+ colors?: any;
200
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
201
+ propsDefinition: Omit<Readonly<{
202
+ container?: any;
203
+ blueprint?: any;
204
+ colorSchemaType?: any;
205
+ blueprintType?: any;
206
+ colors?: any;
207
+ roles: string[];
208
+ } & {
209
+ "v-slots"?: {
210
+ default?: import("../DefineVueTypings").Slot<any[]>;
211
+ } & SecurityTrimmerSlots;
212
+ excludedRoles?: string[];
213
+ clearCacheAndRetryIfUnauthorized?: boolean;
214
+ contextParams?: {
215
+ [key: string]: string | number;
216
+ };
217
+ }>, never>;
218
+ };
219
+ export default _default;
@@ -49,8 +49,8 @@ export declare const MagicLinkProvider: {
49
49
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
50
  [key: string]: any;
51
51
  }>) => void)[];
52
- readonly next?: OmniaAuthProviderChainAction;
53
52
  readonly context?: OmniaAuthProviderContext;
53
+ readonly next?: OmniaAuthProviderChainAction;
54
54
  };
55
55
  $attrs: {
56
56
  [x: string]: unknown;
@@ -100,7 +100,7 @@ export declare const MagicLinkProvider: {
100
100
  next: import("vue").Prop<OmniaAuthProviderChainAction, OmniaAuthProviderChainAction>;
101
101
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
102
102
  propsDefinition: Omit<Readonly<{} & {
103
- next?: OmniaAuthProviderChainAction;
104
103
  context?: OmniaAuthProviderContext;
104
+ next?: OmniaAuthProviderChainAction;
105
105
  }>, never>;
106
106
  };
@@ -50,8 +50,8 @@ export declare const OneTimePasswordProvider: {
50
50
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
51
  [key: string]: any;
52
52
  }>) => void)[];
53
- readonly next?: OmniaAuthProviderChainAction;
54
53
  readonly context?: OmniaAuthProviderContext;
54
+ readonly next?: OmniaAuthProviderChainAction;
55
55
  };
56
56
  $attrs: {
57
57
  [x: string]: unknown;
@@ -101,7 +101,7 @@ export declare const OneTimePasswordProvider: {
101
101
  next: import("vue").Prop<OmniaAuthProviderChainAction, OmniaAuthProviderChainAction>;
102
102
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
103
103
  propsDefinition: Omit<Readonly<{} & {
104
- next?: OmniaAuthProviderChainAction;
105
104
  context?: OmniaAuthProviderContext;
105
+ next?: OmniaAuthProviderChainAction;
106
106
  }>, never>;
107
107
  };
@@ -49,8 +49,8 @@ export declare const PasswordProvider: {
49
49
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
50
  [key: string]: any;
51
51
  }>) => void)[];
52
- readonly next?: OmniaAuthProviderChainAction;
53
52
  readonly context?: OmniaAuthProviderContext;
53
+ readonly next?: OmniaAuthProviderChainAction;
54
54
  };
55
55
  $attrs: {
56
56
  [x: string]: unknown;
@@ -100,7 +100,7 @@ export declare const PasswordProvider: {
100
100
  next: import("vue").Prop<OmniaAuthProviderChainAction, OmniaAuthProviderChainAction>;
101
101
  }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
102
102
  propsDefinition: Omit<Readonly<{} & {
103
- next?: OmniaAuthProviderChainAction;
104
103
  context?: OmniaAuthProviderContext;
104
+ next?: OmniaAuthProviderChainAction;
105
105
  }>, never>;
106
106
  };
@@ -65,6 +65,7 @@ import wc14f41bfbe00d46658959d3b2ebb7da69 from './ux/properties/property-configu
65
65
  import wcb174dcf2716344b0bb02c981ae68dd73 from './ux/properties/property-picker/PropertyInput';
66
66
  import wc7474e75042e347b4821bbafdb1cb4ee0 from './ux/richtexteditor/RichTextEditor';
67
67
  import wc8c7794090eb647eb8510b39cbefa17a7 from './ux/rollupempty/RollupEmpty';
68
+ import wc379287b1efe64a49a43fcd754d1fd951 from './ux/securitytrimmer/SecurityTrimmer';
68
69
  import wcc0de4753b9fe4004b0f4e6b6b91730ab from './ux/settings/SettingsPane';
69
70
  import wc539d199f69934c10a963f142e4f3056d from './ux/sidepanel/SidePanelRenderer';
70
71
  import wcb5315b31203e4bd1beb3c33f2122cbfe from './ux/signin/SignInPage';
@@ -362,6 +363,7 @@ declare global {
362
363
  "omfx-property-input": typeof wcb174dcf2716344b0bb02c981ae68dd73.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wcb174dcf2716344b0bb02c981ae68dd73.propsDefinition>;
363
364
  "omfx-rich-text-editor": typeof wc7474e75042e347b4821bbafdb1cb4ee0.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc7474e75042e347b4821bbafdb1cb4ee0.propsDefinition>;
364
365
  "omfx-rollup-empty": typeof wc8c7794090eb647eb8510b39cbefa17a7.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc8c7794090eb647eb8510b39cbefa17a7.propsDefinition>;
366
+ "omfx-security-trimmer": typeof wc379287b1efe64a49a43fcd754d1fd951.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc379287b1efe64a49a43fcd754d1fd951.propsDefinition>;
365
367
  "omfx-settings-pane": typeof wcc0de4753b9fe4004b0f4e6b6b91730ab.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wcc0de4753b9fe4004b0f4e6b6b91730ab.propsDefinition>;
366
368
  "omfx-side-panel": typeof wc539d199f69934c10a963f142e4f3056d.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc539d199f69934c10a963f142e4f3056d.propsDefinition>;
367
369
  "omfx-signin-page": typeof wcb5315b31203e4bd1beb3c33f2122cbfe.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wcb5315b31203e4bd1beb3c33f2122cbfe.propsDefinition>;
@@ -921,6 +923,11 @@ declare global {
921
923
  $props: typeof wc8c7794090eb647eb8510b39cbefa17a7.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc8c7794090eb647eb8510b39cbefa17a7.propsDefinition>;
922
924
  };
923
925
  };
926
+ "SecurityTrimmer": {
927
+ new (...args: any[]): {
928
+ $props: typeof wc379287b1efe64a49a43fcd754d1fd951.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc379287b1efe64a49a43fcd754d1fd951.propsDefinition>;
929
+ };
930
+ };
924
931
  "SettingsPane": {
925
932
  new (...args: any[]): {
926
933
  $props: typeof wcc0de4753b9fe4004b0f4e6b6b91730ab.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wcc0de4753b9fe4004b0f4e6b6b91730ab.propsDefinition>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.2-dev",
4
+ "version": "8.0.3-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.2-dev",
23
+ "@omnia/fx-models": "8.0.3-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",
@@ -1,26 +0,0 @@
1
- import { TsxAllowUnknowProperties } from "../TsxAllowUnknowProperties";
2
- export interface ISecurityTrimer {
3
- [name: string]: any;
4
- content: JSX.Element;
5
- alternativeContent?: JSX.Element;
6
- roles: string[];
7
- excludedRoles?: string[];
8
- excludedRolesContent?: JSX.Element;
9
- clearCacheAndRetryIfUnauthorized?: boolean;
10
- contextParams?: {
11
- [key: string]: string | number;
12
- };
13
- }
14
- declare global {
15
- namespace JSX {
16
- interface Element {
17
- }
18
- interface ElementClass {
19
- }
20
- interface ElementAttributesProperty {
21
- }
22
- interface IntrinsicElements {
23
- "omfx-security-trimer": TsxAllowUnknowProperties<ISecurityTrimer>;
24
- }
25
- }
26
- }
@@ -1,27 +0,0 @@
1
- import { VueComponentBase } from "@omnia/fx/ux";
2
- import { IWebComponentInstance, SubscriptionHandler } from "../../";
3
- import { ISecurityTrimer } from "./ISecurityTrimer";
4
- export declare class SecurityTrimer extends VueComponentBase implements IWebComponentInstance, ISecurityTrimer {
5
- content: JSX.Element;
6
- alternativeContent?: JSX.Element;
7
- roles: string[];
8
- excludedRoles?: string[];
9
- excludedRolesContent?: JSX.Element;
10
- clearCacheAndRetryIfUnauthorized: boolean;
11
- contextParams?: {
12
- [key: string]: string | number;
13
- };
14
- private permissionService;
15
- subscriptionHandler: SubscriptionHandler;
16
- private isAuthorized;
17
- private isInExcludedRoles;
18
- private checkedPermission;
19
- private latestSessionId;
20
- mounted(): void;
21
- beforeDestroy(): void;
22
- created(): void;
23
- onUpdateRoles(): void;
24
- private checkPermission;
25
- private setIsAuthorized;
26
- render(): JSX.Element;
27
- }
@@ -1 +0,0 @@
1
- export * from "./ISecurityTrimer";