@nxtedition/types 1.6.13 → 1.6.14

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.
@@ -2,8 +2,7 @@ import { type AssertionGuard as __AssertionGuard } from "typia";
2
2
  import { tags } from 'typia';
3
3
  export interface Lock {
4
4
  time: number & tags.ExclusiveMinimum<0>;
5
- locations: Array<string & tags.MinLength<1>>;
6
- zone: string & tags.MinLength<1>;
5
+ locations: Array<string & tags.MinLength<1>> | null;
7
6
  replicas: number & tags.ExclusiveMinimum<0>;
8
7
  }
9
8
  export declare const isLock: (input: unknown) => input is Lock;
@@ -1,11 +1,11 @@
1
1
  import __typia from "typia";
2
2
  export const isLock = input => {
3
- const $io0 = input => "number" === typeof input.time && 0 < input.time && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem && 1 <= elem.length)) && ("string" === typeof input.zone && 1 <= input.zone.length) && ("number" === typeof input.replicas && 0 < input.replicas);
3
+ const $io0 = input => "number" === typeof input.time && 0 < input.time && (null === input.locations || Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem && 1 <= elem.length)) && ("number" === typeof input.replicas && 0 < input.replicas);
4
4
  return "object" === typeof input && null !== input && $io0(input);
5
5
  };
6
6
  export const assertLock = (input, errorFactory) => {
7
7
  const __is = input => {
8
- const $io0 = input => "number" === typeof input.time && 0 < input.time && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem && 1 <= elem.length)) && ("string" === typeof input.zone && 1 <= input.zone.length) && ("number" === typeof input.replicas && 0 < input.replicas);
8
+ const $io0 = input => "number" === typeof input.time && 0 < input.time && (null === input.locations || Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem && 1 <= elem.length)) && ("number" === typeof input.replicas && 0 < input.replicas);
9
9
  return "object" === typeof input && null !== input && $io0(input);
10
10
  };
11
11
  if (false === __is(input))
@@ -19,9 +19,9 @@ export const assertLock = (input, errorFactory) => {
19
19
  path: _path + ".time",
20
20
  expected: "(number & ExclusiveMinimum<0>)",
21
21
  value: input.time
22
- }, errorFactory)) && ((Array.isArray(input.locations) || $guard(_exceptionable, {
22
+ }, errorFactory)) && (null === input.locations || (Array.isArray(input.locations) || $guard(_exceptionable, {
23
23
  path: _path + ".locations",
24
- expected: "Array<string & MinLength<1>>",
24
+ expected: "(Array<string & MinLength<1>> | null)",
25
25
  value: input.locations
26
26
  }, errorFactory)) && input.locations.every((elem, _index1) => "string" === typeof elem && (1 <= elem.length || $guard(_exceptionable, {
27
27
  path: _path + ".locations[" + _index1 + "]",
@@ -33,16 +33,8 @@ export const assertLock = (input, errorFactory) => {
33
33
  value: elem
34
34
  }, errorFactory)) || $guard(_exceptionable, {
35
35
  path: _path + ".locations",
36
- expected: "Array<string & MinLength<1>>",
36
+ expected: "(Array<string & MinLength<1>> | null)",
37
37
  value: input.locations
38
- }, errorFactory)) && ("string" === typeof input.zone && (1 <= input.zone.length || $guard(_exceptionable, {
39
- path: _path + ".zone",
40
- expected: "string & MinLength<1>",
41
- value: input.zone
42
- }, errorFactory)) || $guard(_exceptionable, {
43
- path: _path + ".zone",
44
- expected: "(string & MinLength<1>)",
45
- value: input.zone
46
38
  }, errorFactory)) && ("number" === typeof input.replicas && (0 < input.replicas || $guard(_exceptionable, {
47
39
  path: _path + ".replicas",
48
40
  expected: "number & ExclusiveMinimum<0>",
@@ -66,6 +58,7 @@ export const assertLock = (input, errorFactory) => {
66
58
  };
67
59
  export const randomLock = generator => {
68
60
  const $generator = __typia.createRandom.generator;
61
+ const $pick = __typia.createRandom.pick;
69
62
  const $ro0 = (_recursive = false, _depth = 0) => ({
70
63
  time: (generator?.customs ?? $generator.customs)?.number?.([
71
64
  {
@@ -74,20 +67,16 @@ export const randomLock = generator => {
74
67
  value: 0
75
68
  }
76
69
  ]) ?? (generator?.number ?? $generator.number)(0, 10),
77
- locations: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([
78
- {
79
- name: "MinLength<1>",
80
- kind: "minLength",
81
- value: 1
82
- }
83
- ]) ?? (generator?.string ?? $generator.string)((generator?.integer ?? $generator.integer)(1, 25))),
84
- zone: (generator?.customs ?? $generator.customs)?.string?.([
85
- {
86
- name: "MinLength<1>",
87
- kind: "minLength",
88
- value: 1
89
- }
90
- ]) ?? (generator?.string ?? $generator.string)((generator?.integer ?? $generator.integer)(1, 25)),
70
+ locations: $pick([
71
+ () => null,
72
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([
73
+ {
74
+ name: "MinLength<1>",
75
+ kind: "minLength",
76
+ value: 1
77
+ }
78
+ ]) ?? (generator?.string ?? $generator.string)((generator?.integer ?? $generator.integer)(1, 25)))
79
+ ])(),
91
80
  replicas: (generator?.customs ?? $generator.customs)?.number?.([
92
81
  {
93
82
  name: "ExclusiveMinimum<0>",
@@ -100,7 +89,7 @@ export const randomLock = generator => {
100
89
  };
101
90
  export const assertGuardLock = (input, errorFactory) => {
102
91
  const __is = input => {
103
- const $io0 = input => "number" === typeof input.time && 0 < input.time && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem && 1 <= elem.length)) && ("string" === typeof input.zone && 1 <= input.zone.length) && ("number" === typeof input.replicas && 0 < input.replicas);
92
+ const $io0 = input => "number" === typeof input.time && 0 < input.time && (null === input.locations || Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem && 1 <= elem.length)) && ("number" === typeof input.replicas && 0 < input.replicas);
104
93
  return "object" === typeof input && null !== input && $io0(input);
105
94
  };
106
95
  if (false === __is(input))
@@ -114,9 +103,9 @@ export const assertGuardLock = (input, errorFactory) => {
114
103
  path: _path + ".time",
115
104
  expected: "(number & ExclusiveMinimum<0>)",
116
105
  value: input.time
117
- }, errorFactory)) && ((Array.isArray(input.locations) || $guard(_exceptionable, {
106
+ }, errorFactory)) && (null === input.locations || (Array.isArray(input.locations) || $guard(_exceptionable, {
118
107
  path: _path + ".locations",
119
- expected: "Array<string & MinLength<1>>",
108
+ expected: "(Array<string & MinLength<1>> | null)",
120
109
  value: input.locations
121
110
  }, errorFactory)) && input.locations.every((elem, _index1) => "string" === typeof elem && (1 <= elem.length || $guard(_exceptionable, {
122
111
  path: _path + ".locations[" + _index1 + "]",
@@ -128,16 +117,8 @@ export const assertGuardLock = (input, errorFactory) => {
128
117
  value: elem
129
118
  }, errorFactory)) || $guard(_exceptionable, {
130
119
  path: _path + ".locations",
131
- expected: "Array<string & MinLength<1>>",
120
+ expected: "(Array<string & MinLength<1>> | null)",
132
121
  value: input.locations
133
- }, errorFactory)) && ("string" === typeof input.zone && (1 <= input.zone.length || $guard(_exceptionable, {
134
- path: _path + ".zone",
135
- expected: "string & MinLength<1>",
136
- value: input.zone
137
- }, errorFactory)) || $guard(_exceptionable, {
138
- path: _path + ".zone",
139
- expected: "(string & MinLength<1>)",
140
- value: input.zone
141
122
  }, errorFactory)) && ("number" === typeof input.replicas && (0 < input.replicas || $guard(_exceptionable, {
142
123
  path: _path + ".replicas",
143
124
  expected: "number & ExclusiveMinimum<0>",
@@ -160,12 +141,12 @@ export const assertGuardLock = (input, errorFactory) => {
160
141
  };
161
142
  export const stringifyLock = input => {
162
143
  const $string = __typia.json.createStringify.string;
163
- const $so0 = input => `{"time":${input.time},"locations":${`[${input.locations.map(elem => $string(elem)).join(",")}]`},"zone":${$string(input.zone)},"replicas":${input.replicas}}`;
144
+ const $so0 = input => `{"time":${input.time},"locations":${null !== input.locations ? `[${input.locations.map(elem => $string(elem)).join(",")}]` : "null"},"replicas":${input.replicas}}`;
164
145
  return $so0(input);
165
146
  };
166
147
  export const assertStringifyLock = (input, errorFactory) => { const assert = (input, errorFactory) => {
167
148
  const __is = input => {
168
- const $io0 = input => "number" === typeof input.time && (!Number.isNaN(input.time) && 0 < input.time) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem && 1 <= elem.length)) && ("string" === typeof input.zone && 1 <= input.zone.length) && ("number" === typeof input.replicas && (!Number.isNaN(input.replicas) && 0 < input.replicas));
149
+ const $io0 = input => "number" === typeof input.time && (!Number.isNaN(input.time) && 0 < input.time) && (null === input.locations || Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem && 1 <= elem.length)) && ("number" === typeof input.replicas && (!Number.isNaN(input.replicas) && 0 < input.replicas));
169
150
  return "object" === typeof input && null !== input && $io0(input);
170
151
  };
171
152
  if (false === __is(input))
@@ -183,9 +164,9 @@ export const assertStringifyLock = (input, errorFactory) => { const assert = (in
183
164
  path: _path + ".time",
184
165
  expected: "(number & ExclusiveMinimum<0>)",
185
166
  value: input.time
186
- }, errorFactory)) && ((Array.isArray(input.locations) || $guard(_exceptionable, {
167
+ }, errorFactory)) && (null === input.locations || (Array.isArray(input.locations) || $guard(_exceptionable, {
187
168
  path: _path + ".locations",
188
- expected: "Array<string & MinLength<1>>",
169
+ expected: "(Array<string & MinLength<1>> | null)",
189
170
  value: input.locations
190
171
  }, errorFactory)) && input.locations.every((elem, _index1) => "string" === typeof elem && (1 <= elem.length || $guard(_exceptionable, {
191
172
  path: _path + ".locations[" + _index1 + "]",
@@ -197,16 +178,8 @@ export const assertStringifyLock = (input, errorFactory) => { const assert = (in
197
178
  value: elem
198
179
  }, errorFactory)) || $guard(_exceptionable, {
199
180
  path: _path + ".locations",
200
- expected: "Array<string & MinLength<1>>",
181
+ expected: "(Array<string & MinLength<1>> | null)",
201
182
  value: input.locations
202
- }, errorFactory)) && ("string" === typeof input.zone && (1 <= input.zone.length || $guard(_exceptionable, {
203
- path: _path + ".zone",
204
- expected: "string & MinLength<1>",
205
- value: input.zone
206
- }, errorFactory)) || $guard(_exceptionable, {
207
- path: _path + ".zone",
208
- expected: "(string & MinLength<1>)",
209
- value: input.zone
210
183
  }, errorFactory)) && ("number" === typeof input.replicas && (!Number.isNaN(input.replicas) || $guard(_exceptionable, {
211
184
  path: _path + ".replicas",
212
185
  expected: "number",
@@ -233,6 +206,6 @@ export const assertStringifyLock = (input, errorFactory) => { const assert = (in
233
206
  return input;
234
207
  }; const stringify = input => {
235
208
  const $string = __typia.json.createAssertStringify.string;
236
- const $so0 = input => `{"time":${input.time},"locations":${`[${input.locations.map(elem => $string(elem)).join(",")}]`},"zone":${$string(input.zone)},"replicas":${input.replicas}}`;
209
+ const $so0 = input => `{"time":${input.time},"locations":${null !== input.locations ? `[${input.locations.map(elem => $string(elem)).join(",")}]` : "null"},"replicas":${input.replicas}}`;
237
210
  return $so0(input);
238
211
  }; return stringify(assert(input, errorFactory)); };
@@ -6,11 +6,7 @@ export interface Settings {
6
6
  overrideUserLogin: boolean;
7
7
  };
8
8
  module?: {
9
- tabs?: Record<string, ModuleTabsSettingsValue> & {
10
- settingsPanelStore?: ModuleTabsSettingsValue & {
11
- activeSectionIndex?: number;
12
- };
13
- };
9
+ tabs?: ModuleTabs;
14
10
  };
15
11
  browser: {
16
12
  createMenu: {
@@ -144,157 +140,7 @@ export interface Settings {
144
140
  }
145
141
  export declare const isSettings: (input: unknown) => input is Settings;
146
142
  export declare const assertSettings: (input: unknown) => Settings;
147
- export declare const randomSettings: () => {
148
- permission?: {
149
- overrideUserContact: boolean;
150
- overrideUserLogin: boolean;
151
- } | undefined;
152
- module?: {
153
- tabs?: {
154
- [x: string]: {
155
- activeTab: string;
156
- };
157
- settingsPanelStore?: {
158
- activeTab: string;
159
- activeSectionIndex?: number | undefined;
160
- } | undefined;
161
- } | undefined;
162
- } | undefined;
163
- browser: {
164
- createMenu: {
165
- sortOrder: string[];
166
- };
167
- };
168
- toolbarTags: {
169
- exclude: string[];
170
- };
171
- deadlines: {
172
- include: string[];
173
- };
174
- assignees: {
175
- include: string[];
176
- };
177
- clock: {
178
- enable: boolean;
179
- show24Hours: boolean;
180
- showAmPm: boolean;
181
- showSeconds: boolean;
182
- showDayOfWeek: boolean;
183
- showDate: boolean;
184
- format?: string | undefined;
185
- };
186
- swarm: {
187
- color: string;
188
- };
189
- dashboard: {
190
- maxMru: number;
191
- maxTabs: number;
192
- };
193
- script: {
194
- createMenu: {
195
- showPreview: boolean;
196
- };
197
- colorTags: {
198
- name: string | null;
199
- icon: string | null;
200
- color: string | null;
201
- description: string | null;
202
- }[];
203
- };
204
- rundown: {
205
- eventThumbnails: boolean;
206
- };
207
- gallery: {
208
- dimOnBlur: boolean;
209
- };
210
- history: boolean;
211
- keymap: unknown;
212
- media: {
213
- guide?: {
214
- mask?: boolean | undefined;
215
- } | undefined;
216
- stepManyFrames: number;
217
- liveZoomDuration: number;
218
- importTitleTemplate: string;
219
- tile: {
220
- preview: string;
221
- showRenderProgress: boolean;
222
- };
223
- timecodeReference: string;
224
- maxSubclipDuration: number;
225
- rewindStep: number;
226
- forwardStep: number;
227
- interlacedPlayback: string;
228
- playbackRates: number[];
229
- subtitles: {
230
- spacing: number;
231
- maxCharactersPerLine: number;
232
- };
233
- subtitleTemplateId?: string | undefined;
234
- initialVolume: string;
235
- guides: {
236
- label: string;
237
- aspectRatio: string;
238
- }[];
239
- download: boolean;
240
- transcribe?: {
241
- subtitleDisclaimer?: {
242
- isUserConfigurable?: boolean | undefined;
243
- defaultValue?: {
244
- enabled?: false | undefined;
245
- text?: {
246
- language: string;
247
- value: string;
248
- }[] | undefined;
249
- offset?: number | undefined;
250
- duration?: number | undefined;
251
- } | undefined;
252
- } | undefined;
253
- } | undefined;
254
- };
255
- predefinedTags?: string[] | undefined;
256
- storyboard: {
257
- assets: {
258
- story: {
259
- excerpt: {
260
- maxLines: number;
261
- mode: string;
262
- };
263
- };
264
- };
265
- pipeline: {
266
- search: {
267
- maxItemsDisplayed: number;
268
- };
269
- };
270
- item: {
271
- maxHeight: number;
272
- };
273
- };
274
- plugins: {
275
- adobe: {
276
- useProxies: boolean;
277
- };
278
- };
279
- crashScreen: boolean;
280
- debug: boolean;
281
- flags: {
282
- utils: boolean;
283
- history: boolean;
284
- refs: boolean;
285
- access: boolean;
286
- files: boolean;
287
- export: boolean;
288
- json: boolean;
289
- hlsjs: boolean;
290
- resetRenders?: boolean | undefined;
291
- resetReplicas?: boolean | undefined;
292
- assetStatus?: boolean | undefined;
293
- consolidateMedia?: boolean | undefined;
294
- hideInAssetMenu?: boolean | undefined;
295
- assetRoute?: boolean | undefined;
296
- };
297
- };
143
+ export declare const randomSettings: () => Settings;
298
144
  export declare const assertGuardSettings: __AssertionGuard<Settings>;
299
145
  export declare const stringifySettings: (input: Settings) => string;
300
146
  export declare const assertStringifySettings: (input: unknown) => string;
@@ -305,9 +151,16 @@ export declare const randomSettingsPaths: () => "permission" | "module" | "brows
305
151
  export declare const assertGuardSettingsPaths: __AssertionGuard<SettingsPaths>;
306
152
  export declare const stringifySettingsPaths: (input: "permission" | "module" | "browser" | "toolbarTags" | "deadlines" | "assignees" | "clock" | "swarm" | "dashboard" | "script" | "rundown" | "gallery" | "history" | "keymap" | "media" | "predefinedTags" | "storyboard" | "plugins" | "crashScreen" | "debug" | "flags" | "permission.overrideUserContact" | "permission.overrideUserLogin" | "module.tabs" | `module.tabs.${string}` | "browser.createMenu" | "browser.createMenu.sortOrder" | `browser.createMenu.sortOrder.${number}` | "toolbarTags.exclude" | `toolbarTags.exclude.${number}` | "deadlines.include" | `deadlines.include.${number}` | "assignees.include" | `assignees.include.${number}` | "clock.enable" | "clock.show24Hours" | "clock.showAmPm" | "clock.showSeconds" | "clock.showDayOfWeek" | "clock.showDate" | "clock.format" | "swarm.color" | "dashboard.maxMru" | "dashboard.maxTabs" | "script.createMenu" | "script.colorTags" | "script.createMenu.showPreview" | `script.colorTags.${number}` | `script.colorTags.${number}.color` | `script.colorTags.${number}.name` | `script.colorTags.${number}.icon` | `script.colorTags.${number}.description` | "rundown.eventThumbnails" | "gallery.dimOnBlur" | "media.guide" | "media.stepManyFrames" | "media.liveZoomDuration" | "media.importTitleTemplate" | "media.tile" | "media.timecodeReference" | "media.maxSubclipDuration" | "media.rewindStep" | "media.forwardStep" | "media.interlacedPlayback" | "media.playbackRates" | "media.subtitles" | "media.subtitleTemplateId" | "media.initialVolume" | "media.guides" | "media.download" | "media.transcribe" | "media.guide.mask" | "media.tile.preview" | "media.tile.showRenderProgress" | `media.playbackRates.${number}` | "media.subtitles.spacing" | "media.subtitles.maxCharactersPerLine" | `media.guides.${number}` | `media.guides.${number}.label` | `media.guides.${number}.aspectRatio` | "media.transcribe.subtitleDisclaimer" | "media.transcribe.subtitleDisclaimer.isUserConfigurable" | "media.transcribe.subtitleDisclaimer.defaultValue" | "media.transcribe.subtitleDisclaimer.defaultValue.enabled" | "media.transcribe.subtitleDisclaimer.defaultValue.text" | "media.transcribe.subtitleDisclaimer.defaultValue.offset" | "media.transcribe.subtitleDisclaimer.defaultValue.duration" | `media.transcribe.subtitleDisclaimer.defaultValue.text.${number}` | `media.transcribe.subtitleDisclaimer.defaultValue.text.${number}.language` | `media.transcribe.subtitleDisclaimer.defaultValue.text.${number}.value` | `predefinedTags.${number}` | "storyboard.assets" | "storyboard.pipeline" | "storyboard.item" | "storyboard.assets.story" | "storyboard.assets.story.excerpt" | "storyboard.assets.story.excerpt.maxLines" | "storyboard.assets.story.excerpt.mode" | "storyboard.pipeline.search" | "storyboard.pipeline.search.maxItemsDisplayed" | "storyboard.item.maxHeight" | "plugins.adobe" | "plugins.adobe.useProxies" | "flags.history" | "flags.utils" | "flags.refs" | "flags.access" | "flags.files" | "flags.export" | "flags.json" | "flags.hlsjs" | "flags.resetRenders" | "flags.resetReplicas" | "flags.assetStatus" | "flags.consolidateMedia" | "flags.hideInAssetMenu" | "flags.assetRoute") => string;
307
153
  export declare const assertStringifySettingsPaths: (input: unknown) => string;
154
+ interface ModuleTabs {
155
+ [tabId: string]: ModuleTabsSettingsValue;
156
+ settingsPanelStore: SettingsPanelStoreTab;
157
+ }
308
158
  interface ModuleTabsSettingsValue {
309
159
  activeTab: string;
310
160
  }
161
+ interface SettingsPanelStoreTab extends ModuleTabsSettingsValue {
162
+ activeSectionIndex: number;
163
+ }
311
164
  interface PromotedTag {
312
165
  name: string | null;
313
166
  icon: string | null;
@@ -2,8 +2,8 @@ import __typia from "typia";
2
2
  export const isSettings = input => {
3
3
  const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && ("object" === typeof input.browser && null !== input.browser && $io6(input.browser)) && ("object" === typeof input.toolbarTags && null !== input.toolbarTags && $io8(input.toolbarTags)) && ("object" === typeof input.deadlines && null !== input.deadlines && $io9(input.deadlines)) && ("object" === typeof input.assignees && null !== input.assignees && $io10(input.assignees)) && ("object" === typeof input.clock && null !== input.clock && $io11(input.clock)) && ("object" === typeof input.swarm && null !== input.swarm && "string" === typeof input.swarm.color) && ("object" === typeof input.dashboard && null !== input.dashboard && ("number" === typeof input.dashboard.maxMru && "number" === typeof input.dashboard.maxTabs)) && ("object" === typeof input.script && null !== input.script && $io14(input.script)) && ("object" === typeof input.rundown && null !== input.rundown && "boolean" === typeof input.rundown.eventThumbnails) && ("object" === typeof input.gallery && null !== input.gallery && "boolean" === typeof input.gallery.dimOnBlur) && "boolean" === typeof input.history && true && ("object" === typeof input.media && null !== input.media && $io19(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && ("object" === typeof input.storyboard && null !== input.storyboard && $io28(input.storyboard)) && ("object" === typeof input.plugins && null !== input.plugins && $io35(input.plugins)) && "boolean" === typeof input.crashScreen && "boolean" === typeof input.debug && ("object" === typeof input.flags && null !== input.flags && $io37(input.flags));
4
4
  const $io1 = input => "boolean" === typeof input.overrideUserContact && "boolean" === typeof input.overrideUserLogin;
5
- const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
6
- const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
5
+ const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && $io3(input.tabs);
6
+ const $io3 = input => "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && ("number" === typeof input.settingsPanelStore.activeSectionIndex && "string" === typeof input.settingsPanelStore.activeTab) && Object.keys(input).every(key => {
7
7
  if (["settingsPanelStore"].some(prop => key === prop))
8
8
  return true;
9
9
  const value = input[key];
@@ -11,7 +11,6 @@ export const isSettings = input => {
11
11
  return true;
12
12
  return "object" === typeof value && null !== value && "string" === typeof value.activeTab;
13
13
  });
14
- const $io4 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
15
14
  const $io6 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io7(input.createMenu);
16
15
  const $io7 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
17
16
  const $io8 = input => Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
@@ -39,8 +38,8 @@ export const assertSettings = (input, errorFactory) => {
39
38
  const __is = input => {
40
39
  const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && ("object" === typeof input.browser && null !== input.browser && $io6(input.browser)) && ("object" === typeof input.toolbarTags && null !== input.toolbarTags && $io8(input.toolbarTags)) && ("object" === typeof input.deadlines && null !== input.deadlines && $io9(input.deadlines)) && ("object" === typeof input.assignees && null !== input.assignees && $io10(input.assignees)) && ("object" === typeof input.clock && null !== input.clock && $io11(input.clock)) && ("object" === typeof input.swarm && null !== input.swarm && "string" === typeof input.swarm.color) && ("object" === typeof input.dashboard && null !== input.dashboard && ("number" === typeof input.dashboard.maxMru && "number" === typeof input.dashboard.maxTabs)) && ("object" === typeof input.script && null !== input.script && $io14(input.script)) && ("object" === typeof input.rundown && null !== input.rundown && "boolean" === typeof input.rundown.eventThumbnails) && ("object" === typeof input.gallery && null !== input.gallery && "boolean" === typeof input.gallery.dimOnBlur) && "boolean" === typeof input.history && true && ("object" === typeof input.media && null !== input.media && $io19(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && ("object" === typeof input.storyboard && null !== input.storyboard && $io28(input.storyboard)) && ("object" === typeof input.plugins && null !== input.plugins && $io35(input.plugins)) && "boolean" === typeof input.crashScreen && "boolean" === typeof input.debug && ("object" === typeof input.flags && null !== input.flags && $io37(input.flags));
41
40
  const $io1 = input => "boolean" === typeof input.overrideUserContact && "boolean" === typeof input.overrideUserLogin;
42
- const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
43
- const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
41
+ const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && $io3(input.tabs);
42
+ const $io3 = input => "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && ("number" === typeof input.settingsPanelStore.activeSectionIndex && "string" === typeof input.settingsPanelStore.activeTab) && Object.keys(input).every(key => {
44
43
  if (["settingsPanelStore"].some(prop => key === prop))
45
44
  return true;
46
45
  const value = input[key];
@@ -48,7 +47,6 @@ export const assertSettings = (input, errorFactory) => {
48
47
  return true;
49
48
  return "object" === typeof value && null !== value && "string" === typeof value.activeTab;
50
49
  });
51
- const $io4 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
52
50
  const $io6 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io7(input.createMenu);
53
51
  const $io7 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
54
52
  const $io8 = input => Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
@@ -238,22 +236,22 @@ export const assertSettings = (input, errorFactory) => {
238
236
  expected: "boolean",
239
237
  value: input.overrideUserLogin
240
238
  }, errorFactory));
241
- const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
239
+ const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs || $guard(_exceptionable, {
242
240
  path: _path + ".tabs",
243
- expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
241
+ expected: "(ModuleTabs | undefined)",
244
242
  value: input.tabs
245
243
  }, errorFactory)) && $ao3(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
246
244
  path: _path + ".tabs",
247
- expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
245
+ expected: "(ModuleTabs | undefined)",
248
246
  value: input.tabs
249
247
  }, errorFactory);
250
- const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore || $guard(_exceptionable, {
248
+ const $ao3 = (input, _path, _exceptionable = true) => (("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore || $guard(_exceptionable, {
251
249
  path: _path + ".settingsPanelStore",
252
- expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
250
+ expected: "SettingsPanelStoreTab",
253
251
  value: input.settingsPanelStore
254
252
  }, errorFactory)) && $ao4(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
255
253
  path: _path + ".settingsPanelStore",
256
- expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
254
+ expected: "SettingsPanelStoreTab",
257
255
  value: input.settingsPanelStore
258
256
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
259
257
  if (["settingsPanelStore"].some(prop => key === prop))
@@ -271,14 +269,14 @@ export const assertSettings = (input, errorFactory) => {
271
269
  value: value
272
270
  }, errorFactory);
273
271
  }));
274
- const $ao4 = (input, _path, _exceptionable = true) => ("string" === typeof input.activeTab || $guard(_exceptionable, {
272
+ const $ao4 = (input, _path, _exceptionable = true) => ("number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
273
+ path: _path + ".activeSectionIndex",
274
+ expected: "number",
275
+ value: input.activeSectionIndex
276
+ }, errorFactory)) && ("string" === typeof input.activeTab || $guard(_exceptionable, {
275
277
  path: _path + ".activeTab",
276
278
  expected: "string",
277
279
  value: input.activeTab
278
- }, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
279
- path: _path + ".activeSectionIndex",
280
- expected: "(number | undefined)",
281
- value: input.activeSectionIndex
282
280
  }, errorFactory));
283
281
  const $ao5 = (input, _path, _exceptionable = true) => "string" === typeof input.activeTab || $guard(_exceptionable, {
284
282
  path: _path + ".activeTab",
@@ -844,20 +842,14 @@ export const randomSettings = generator => {
844
842
  });
845
843
  const $ro3 = (_recursive = false, _depth = 0) => {
846
844
  const output = {
847
- settingsPanelStore: $pick([
848
- () => undefined,
849
- () => $ro4(_recursive, _recursive ? 1 + _depth : _depth)
850
- ])()
845
+ settingsPanelStore: $ro4(_recursive, _recursive ? 1 + _depth : _depth)
851
846
  };
852
847
  (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $ro5(_recursive, _recursive ? 1 + _depth : _depth), (generator?.integer ?? $generator.integer)(0, 3));
853
848
  return output;
854
849
  };
855
850
  const $ro4 = (_recursive = false, _depth = 0) => ({
856
- activeTab: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
857
- activeSectionIndex: $pick([
858
- () => undefined,
859
- () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
860
- ])()
851
+ activeSectionIndex: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
852
+ activeTab: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
861
853
  });
862
854
  const $ro5 = (_recursive = false, _depth = 0) => ({
863
855
  activeTab: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
@@ -1081,8 +1073,8 @@ export const assertGuardSettings = (input, errorFactory) => {
1081
1073
  const __is = input => {
1082
1074
  const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && ("object" === typeof input.browser && null !== input.browser && $io6(input.browser)) && ("object" === typeof input.toolbarTags && null !== input.toolbarTags && $io8(input.toolbarTags)) && ("object" === typeof input.deadlines && null !== input.deadlines && $io9(input.deadlines)) && ("object" === typeof input.assignees && null !== input.assignees && $io10(input.assignees)) && ("object" === typeof input.clock && null !== input.clock && $io11(input.clock)) && ("object" === typeof input.swarm && null !== input.swarm && "string" === typeof input.swarm.color) && ("object" === typeof input.dashboard && null !== input.dashboard && ("number" === typeof input.dashboard.maxMru && "number" === typeof input.dashboard.maxTabs)) && ("object" === typeof input.script && null !== input.script && $io14(input.script)) && ("object" === typeof input.rundown && null !== input.rundown && "boolean" === typeof input.rundown.eventThumbnails) && ("object" === typeof input.gallery && null !== input.gallery && "boolean" === typeof input.gallery.dimOnBlur) && "boolean" === typeof input.history && true && ("object" === typeof input.media && null !== input.media && $io19(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && ("object" === typeof input.storyboard && null !== input.storyboard && $io28(input.storyboard)) && ("object" === typeof input.plugins && null !== input.plugins && $io35(input.plugins)) && "boolean" === typeof input.crashScreen && "boolean" === typeof input.debug && ("object" === typeof input.flags && null !== input.flags && $io37(input.flags));
1083
1075
  const $io1 = input => "boolean" === typeof input.overrideUserContact && "boolean" === typeof input.overrideUserLogin;
1084
- const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
1085
- const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
1076
+ const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && $io3(input.tabs);
1077
+ const $io3 = input => "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && ("number" === typeof input.settingsPanelStore.activeSectionIndex && "string" === typeof input.settingsPanelStore.activeTab) && Object.keys(input).every(key => {
1086
1078
  if (["settingsPanelStore"].some(prop => key === prop))
1087
1079
  return true;
1088
1080
  const value = input[key];
@@ -1090,7 +1082,6 @@ export const assertGuardSettings = (input, errorFactory) => {
1090
1082
  return true;
1091
1083
  return "object" === typeof value && null !== value && "string" === typeof value.activeTab;
1092
1084
  });
1093
- const $io4 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
1094
1085
  const $io6 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io7(input.createMenu);
1095
1086
  const $io7 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
1096
1087
  const $io8 = input => Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
@@ -1280,22 +1271,22 @@ export const assertGuardSettings = (input, errorFactory) => {
1280
1271
  expected: "boolean",
1281
1272
  value: input.overrideUserLogin
1282
1273
  }, errorFactory));
1283
- const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
1274
+ const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs || $guard(_exceptionable, {
1284
1275
  path: _path + ".tabs",
1285
- expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
1276
+ expected: "(ModuleTabs | undefined)",
1286
1277
  value: input.tabs
1287
1278
  }, errorFactory)) && $ao3(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
1288
1279
  path: _path + ".tabs",
1289
- expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
1280
+ expected: "(ModuleTabs | undefined)",
1290
1281
  value: input.tabs
1291
1282
  }, errorFactory);
1292
- const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore || $guard(_exceptionable, {
1283
+ const $ao3 = (input, _path, _exceptionable = true) => (("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore || $guard(_exceptionable, {
1293
1284
  path: _path + ".settingsPanelStore",
1294
- expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
1285
+ expected: "SettingsPanelStoreTab",
1295
1286
  value: input.settingsPanelStore
1296
1287
  }, errorFactory)) && $ao4(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
1297
1288
  path: _path + ".settingsPanelStore",
1298
- expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
1289
+ expected: "SettingsPanelStoreTab",
1299
1290
  value: input.settingsPanelStore
1300
1291
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
1301
1292
  if (["settingsPanelStore"].some(prop => key === prop))
@@ -1313,14 +1304,14 @@ export const assertGuardSettings = (input, errorFactory) => {
1313
1304
  value: value
1314
1305
  }, errorFactory);
1315
1306
  }));
1316
- const $ao4 = (input, _path, _exceptionable = true) => ("string" === typeof input.activeTab || $guard(_exceptionable, {
1307
+ const $ao4 = (input, _path, _exceptionable = true) => ("number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
1308
+ path: _path + ".activeSectionIndex",
1309
+ expected: "number",
1310
+ value: input.activeSectionIndex
1311
+ }, errorFactory)) && ("string" === typeof input.activeTab || $guard(_exceptionable, {
1317
1312
  path: _path + ".activeTab",
1318
1313
  expected: "string",
1319
1314
  value: input.activeTab
1320
- }, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
1321
- path: _path + ".activeSectionIndex",
1322
- expected: "(number | undefined)",
1323
- value: input.activeSectionIndex
1324
1315
  }, errorFactory));
1325
1316
  const $ao5 = (input, _path, _exceptionable = true) => "string" === typeof input.activeTab || $guard(_exceptionable, {
1326
1317
  path: _path + ".activeTab",
@@ -1840,8 +1831,8 @@ export const assertGuardSettings = (input, errorFactory) => {
1840
1831
  };
1841
1832
  export const stringifySettings = input => {
1842
1833
  const $io1 = input => "boolean" === typeof input.overrideUserContact && "boolean" === typeof input.overrideUserLogin;
1843
- const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
1844
- const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
1834
+ const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && $io3(input.tabs);
1835
+ const $io3 = input => "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io4(input.settingsPanelStore) && Object.keys(input).every(key => {
1845
1836
  if (["settingsPanelStore"].some(prop => key === prop))
1846
1837
  return true;
1847
1838
  const value = input[key];
@@ -1849,7 +1840,7 @@ export const stringifySettings = input => {
1849
1840
  return true;
1850
1841
  return "object" === typeof value && null !== value && $io5(value);
1851
1842
  });
1852
- const $io4 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
1843
+ const $io4 = input => "number" === typeof input.activeSectionIndex && "string" === typeof input.activeTab;
1853
1844
  const $io5 = input => "string" === typeof input.activeTab;
1854
1845
  const $io6 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io7(input.createMenu);
1855
1846
  const $io7 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
@@ -1887,10 +1878,9 @@ export const stringifySettings = input => {
1887
1878
  const $tail = __typia.json.createStringify.tail;
1888
1879
  const $so0 = input => `{${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? `{"overrideUserContact":${input.permission.overrideUserContact},"overrideUserLogin":${input.permission.overrideUserLogin}}` : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}"browser":${$so6(input.browser)},"toolbarTags":${$so8(input.toolbarTags)},"deadlines":${$so9(input.deadlines)},"assignees":${$so10(input.assignees)},"clock":${$so11(input.clock)},"swarm":${`{"color":${$string(input.swarm.color)}}`},"dashboard":${`{"maxMru":${input.dashboard.maxMru},"maxTabs":${input.dashboard.maxTabs}}`},"script":${$so14(input.script)},"rundown":${`{"eventThumbnails":${input.rundown.eventThumbnails}}`},"gallery":${`{"dimOnBlur":${input.gallery.dimOnBlur}}`},"history":${input.history},"media":${$so19(input.media)},"storyboard":${$so28(input.storyboard)},"plugins":${$so35(input.plugins)},"crashScreen":${input.crashScreen},"debug":${input.debug},"flags":${$so37(input.flags)}}`;
1889
1880
  const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
1890
- const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
1881
+ const $so3 = input => `{${$tail(`"settingsPanelStore":${`{"activeSectionIndex":${input.settingsPanelStore.activeSectionIndex},"activeTab":${$string(input.settingsPanelStore.activeTab)}}`},${Object.entries(input).map(([key, value]) => { if (undefined === value)
1891
1882
  return ""; if (["settingsPanelStore"].some(regular => regular === key))
1892
1883
  return ""; return `${JSON.stringify(key)}:${`{"activeTab":${$string(value.activeTab)}}`}`; }).filter(str => "" !== str).join(",")}`)}}`;
1893
- const $so4 = input => `{${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined},`}"activeTab":${$string(input.activeTab)}}`;
1894
1884
  const $so6 = input => `{"createMenu":${$so7(input.createMenu)}}`;
1895
1885
  const $so7 = input => `{"sortOrder":${`[${input.sortOrder.map(elem => $string(elem)).join(",")}]`}}`;
1896
1886
  const $so8 = input => `{"exclude":${`[${input.exclude.map(elem => $string(elem)).join(",")}]`}}`;
@@ -1916,8 +1906,8 @@ export const assertStringifySettings = (input, errorFactory) => { const assert =
1916
1906
  const __is = input => {
1917
1907
  const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && ("object" === typeof input.browser && null !== input.browser && $io6(input.browser)) && ("object" === typeof input.toolbarTags && null !== input.toolbarTags && $io8(input.toolbarTags)) && ("object" === typeof input.deadlines && null !== input.deadlines && $io9(input.deadlines)) && ("object" === typeof input.assignees && null !== input.assignees && $io10(input.assignees)) && ("object" === typeof input.clock && null !== input.clock && $io11(input.clock)) && ("object" === typeof input.swarm && null !== input.swarm && "string" === typeof input.swarm.color) && ("object" === typeof input.dashboard && null !== input.dashboard && ("number" === typeof input.dashboard.maxMru && !Number.isNaN(input.dashboard.maxMru) && ("number" === typeof input.dashboard.maxTabs && !Number.isNaN(input.dashboard.maxTabs)))) && ("object" === typeof input.script && null !== input.script && $io14(input.script)) && ("object" === typeof input.rundown && null !== input.rundown && "boolean" === typeof input.rundown.eventThumbnails) && ("object" === typeof input.gallery && null !== input.gallery && "boolean" === typeof input.gallery.dimOnBlur) && "boolean" === typeof input.history && true && ("object" === typeof input.media && null !== input.media && $io19(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && ("object" === typeof input.storyboard && null !== input.storyboard && $io28(input.storyboard)) && ("object" === typeof input.plugins && null !== input.plugins && $io35(input.plugins)) && "boolean" === typeof input.crashScreen && "boolean" === typeof input.debug && ("object" === typeof input.flags && null !== input.flags && $io37(input.flags));
1918
1908
  const $io1 = input => "boolean" === typeof input.overrideUserContact && "boolean" === typeof input.overrideUserLogin;
1919
- const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
1920
- const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
1909
+ const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && $io3(input.tabs);
1910
+ const $io3 = input => "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && ("number" === typeof input.settingsPanelStore.activeSectionIndex && !Number.isNaN(input.settingsPanelStore.activeSectionIndex) && "string" === typeof input.settingsPanelStore.activeTab) && Object.keys(input).every(key => {
1921
1911
  if (["settingsPanelStore"].some(prop => key === prop))
1922
1912
  return true;
1923
1913
  const value = input[key];
@@ -1925,7 +1915,6 @@ export const assertStringifySettings = (input, errorFactory) => { const assert =
1925
1915
  return true;
1926
1916
  return "object" === typeof value && null !== value && "string" === typeof value.activeTab;
1927
1917
  });
1928
- const $io4 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex));
1929
1918
  const $io6 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io7(input.createMenu);
1930
1919
  const $io7 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
1931
1920
  const $io8 = input => Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
@@ -2115,22 +2104,22 @@ export const assertStringifySettings = (input, errorFactory) => { const assert =
2115
2104
  expected: "boolean",
2116
2105
  value: input.overrideUserLogin
2117
2106
  }, errorFactory));
2118
- const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
2107
+ const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs || $guard(_exceptionable, {
2119
2108
  path: _path + ".tabs",
2120
- expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
2109
+ expected: "(ModuleTabs | undefined)",
2121
2110
  value: input.tabs
2122
2111
  }, errorFactory)) && $ao3(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
2123
2112
  path: _path + ".tabs",
2124
- expected: "(Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; } | undefined)",
2113
+ expected: "(ModuleTabs | undefined)",
2125
2114
  value: input.tabs
2126
2115
  }, errorFactory);
2127
- const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore || $guard(_exceptionable, {
2116
+ const $ao3 = (input, _path, _exceptionable = true) => (("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore || $guard(_exceptionable, {
2128
2117
  path: _path + ".settingsPanelStore",
2129
- expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
2118
+ expected: "SettingsPanelStoreTab",
2130
2119
  value: input.settingsPanelStore
2131
2120
  }, errorFactory)) && $ao4(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
2132
2121
  path: _path + ".settingsPanelStore",
2133
- expected: "(ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; } | undefined)",
2122
+ expected: "SettingsPanelStoreTab",
2134
2123
  value: input.settingsPanelStore
2135
2124
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
2136
2125
  if (["settingsPanelStore"].some(prop => key === prop))
@@ -2148,14 +2137,14 @@ export const assertStringifySettings = (input, errorFactory) => { const assert =
2148
2137
  value: value
2149
2138
  }, errorFactory);
2150
2139
  }));
2151
- const $ao4 = (input, _path, _exceptionable = true) => ("string" === typeof input.activeTab || $guard(_exceptionable, {
2140
+ const $ao4 = (input, _path, _exceptionable = true) => ("number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex) || $guard(_exceptionable, {
2141
+ path: _path + ".activeSectionIndex",
2142
+ expected: "number",
2143
+ value: input.activeSectionIndex
2144
+ }, errorFactory)) && ("string" === typeof input.activeTab || $guard(_exceptionable, {
2152
2145
  path: _path + ".activeTab",
2153
2146
  expected: "string",
2154
2147
  value: input.activeTab
2155
- }, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex) || $guard(_exceptionable, {
2156
- path: _path + ".activeSectionIndex",
2157
- expected: "(number | undefined)",
2158
- value: input.activeSectionIndex
2159
2148
  }, errorFactory));
2160
2149
  const $ao5 = (input, _path, _exceptionable = true) => "string" === typeof input.activeTab || $guard(_exceptionable, {
2161
2150
  path: _path + ".activeTab",
@@ -2675,8 +2664,8 @@ export const assertStringifySettings = (input, errorFactory) => { const assert =
2675
2664
  return input;
2676
2665
  }; const stringify = input => {
2677
2666
  const $io1 = input => "boolean" === typeof input.overrideUserContact && "boolean" === typeof input.overrideUserLogin;
2678
- const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
2679
- const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
2667
+ const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && $io3(input.tabs);
2668
+ const $io3 = input => "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && $io4(input.settingsPanelStore) && Object.keys(input).every(key => {
2680
2669
  if (["settingsPanelStore"].some(prop => key === prop))
2681
2670
  return true;
2682
2671
  const value = input[key];
@@ -2684,7 +2673,7 @@ export const assertStringifySettings = (input, errorFactory) => { const assert =
2684
2673
  return true;
2685
2674
  return "object" === typeof value && null !== value && $io5(value);
2686
2675
  });
2687
- const $io4 = input => "string" === typeof input.activeTab && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
2676
+ const $io4 = input => "number" === typeof input.activeSectionIndex && "string" === typeof input.activeTab;
2688
2677
  const $io5 = input => "string" === typeof input.activeTab;
2689
2678
  const $io6 = input => "object" === typeof input.createMenu && null !== input.createMenu && $io7(input.createMenu);
2690
2679
  const $io7 = input => Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
@@ -2722,10 +2711,9 @@ export const assertStringifySettings = (input, errorFactory) => { const assert =
2722
2711
  const $tail = __typia.json.createAssertStringify.tail;
2723
2712
  const $so0 = input => `{${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? `{"overrideUserContact":${input.permission.overrideUserContact},"overrideUserLogin":${input.permission.overrideUserLogin}}` : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}"browser":${$so6(input.browser)},"toolbarTags":${$so8(input.toolbarTags)},"deadlines":${$so9(input.deadlines)},"assignees":${$so10(input.assignees)},"clock":${$so11(input.clock)},"swarm":${`{"color":${$string(input.swarm.color)}}`},"dashboard":${`{"maxMru":${input.dashboard.maxMru},"maxTabs":${input.dashboard.maxTabs}}`},"script":${$so14(input.script)},"rundown":${`{"eventThumbnails":${input.rundown.eventThumbnails}}`},"gallery":${`{"dimOnBlur":${input.gallery.dimOnBlur}}`},"history":${input.history},"media":${$so19(input.media)},"storyboard":${$so28(input.storyboard)},"plugins":${$so35(input.plugins)},"crashScreen":${input.crashScreen},"debug":${input.debug},"flags":${$so37(input.flags)}}`;
2724
2713
  const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
2725
- const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
2714
+ const $so3 = input => `{${$tail(`"settingsPanelStore":${`{"activeSectionIndex":${input.settingsPanelStore.activeSectionIndex},"activeTab":${$string(input.settingsPanelStore.activeTab)}}`},${Object.entries(input).map(([key, value]) => { if (undefined === value)
2726
2715
  return ""; if (["settingsPanelStore"].some(regular => regular === key))
2727
2716
  return ""; return `${JSON.stringify(key)}:${`{"activeTab":${$string(value.activeTab)}}`}`; }).filter(str => "" !== str).join(",")}`)}}`;
2728
- const $so4 = input => `{${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined},`}"activeTab":${$string(input.activeTab)}}`;
2729
2717
  const $so6 = input => `{"createMenu":${$so7(input.createMenu)}}`;
2730
2718
  const $so7 = input => `{"sortOrder":${`[${input.sortOrder.map(elem => $string(elem)).join(",")}]`}}`;
2731
2719
  const $so8 = input => `{"exclude":${`[${input.exclude.map(elem => $string(elem)).join(",")}]`}}`;
@@ -11,7 +11,7 @@ export const isSettingsRecord = input => {
11
11
  return true;
12
12
  return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
13
13
  });
14
- const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
14
+ const $io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (undefined === input.activeTab || "string" === typeof input.activeTab);
15
15
  const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
16
16
  const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
17
17
  const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
@@ -60,7 +60,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
60
60
  return true;
61
61
  return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
62
62
  });
63
- const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
63
+ const $io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (undefined === input.activeTab || "string" === typeof input.activeTab);
64
64
  const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
65
65
  const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
66
66
  const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
@@ -264,20 +264,20 @@ export const assertSettingsRecord = (input, errorFactory) => {
264
264
  }, errorFactory));
265
265
  const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
266
266
  path: _path + ".tabs",
267
- expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
267
+ expected: "(PartialObjectDeep<ModuleTabs, __type> | undefined)",
268
268
  value: input.tabs
269
269
  }, errorFactory)) && $ao3(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
270
270
  path: _path + ".tabs",
271
- expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
271
+ expected: "(PartialObjectDeep<ModuleTabs, __type> | undefined)",
272
272
  value: input.tabs
273
273
  }, errorFactory);
274
274
  const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) || $guard(_exceptionable, {
275
275
  path: _path + ".settingsPanelStore",
276
- expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
276
+ expected: "(PartialObjectDeep<SettingsPanelStoreTab, __type> | undefined)",
277
277
  value: input.settingsPanelStore
278
278
  }, errorFactory)) && $ao4(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
279
279
  path: _path + ".settingsPanelStore",
280
- expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
280
+ expected: "(PartialObjectDeep<SettingsPanelStoreTab, __type> | undefined)",
281
281
  value: input.settingsPanelStore
282
282
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
283
283
  if (["settingsPanelStore"].some(prop => key === prop))
@@ -295,14 +295,14 @@ export const assertSettingsRecord = (input, errorFactory) => {
295
295
  value: value
296
296
  }, errorFactory);
297
297
  }));
298
- const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
299
- path: _path + ".activeTab",
300
- expected: "(string | undefined)",
301
- value: input.activeTab
302
- }, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
298
+ const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
303
299
  path: _path + ".activeSectionIndex",
304
300
  expected: "(number | undefined)",
305
301
  value: input.activeSectionIndex
302
+ }, errorFactory)) && (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
303
+ path: _path + ".activeTab",
304
+ expected: "(string | undefined)",
305
+ value: input.activeTab
306
306
  }, errorFactory));
307
307
  const $ao5 = (input, _path, _exceptionable = true) => undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
308
308
  path: _path + ".activeTab",
@@ -940,13 +940,13 @@ export const randomSettingsRecord = generator => {
940
940
  return output;
941
941
  };
942
942
  const $ro4 = (_recursive = false, _depth = 0) => ({
943
- activeTab: $pick([
944
- () => undefined,
945
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
946
- ])(),
947
943
  activeSectionIndex: $pick([
948
944
  () => undefined,
949
945
  () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
946
+ ])(),
947
+ activeTab: $pick([
948
+ () => undefined,
949
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
950
950
  ])()
951
951
  });
952
952
  const $ro5 = (_recursive = false, _depth = 0) => ({
@@ -1354,7 +1354,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
1354
1354
  return true;
1355
1355
  return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
1356
1356
  });
1357
- const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
1357
+ const $io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (undefined === input.activeTab || "string" === typeof input.activeTab);
1358
1358
  const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
1359
1359
  const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
1360
1360
  const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
@@ -1558,20 +1558,20 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
1558
1558
  }, errorFactory));
1559
1559
  const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
1560
1560
  path: _path + ".tabs",
1561
- expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
1561
+ expected: "(PartialObjectDeep<ModuleTabs, __type> | undefined)",
1562
1562
  value: input.tabs
1563
1563
  }, errorFactory)) && $ao3(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
1564
1564
  path: _path + ".tabs",
1565
- expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
1565
+ expected: "(PartialObjectDeep<ModuleTabs, __type> | undefined)",
1566
1566
  value: input.tabs
1567
1567
  }, errorFactory);
1568
1568
  const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) || $guard(_exceptionable, {
1569
1569
  path: _path + ".settingsPanelStore",
1570
- expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
1570
+ expected: "(PartialObjectDeep<SettingsPanelStoreTab, __type> | undefined)",
1571
1571
  value: input.settingsPanelStore
1572
1572
  }, errorFactory)) && $ao4(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
1573
1573
  path: _path + ".settingsPanelStore",
1574
- expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
1574
+ expected: "(PartialObjectDeep<SettingsPanelStoreTab, __type> | undefined)",
1575
1575
  value: input.settingsPanelStore
1576
1576
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
1577
1577
  if (["settingsPanelStore"].some(prop => key === prop))
@@ -1589,14 +1589,14 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
1589
1589
  value: value
1590
1590
  }, errorFactory);
1591
1591
  }));
1592
- const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
1593
- path: _path + ".activeTab",
1594
- expected: "(string | undefined)",
1595
- value: input.activeTab
1596
- }, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
1592
+ const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
1597
1593
  path: _path + ".activeSectionIndex",
1598
1594
  expected: "(number | undefined)",
1599
1595
  value: input.activeSectionIndex
1596
+ }, errorFactory)) && (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
1597
+ path: _path + ".activeTab",
1598
+ expected: "(string | undefined)",
1599
+ value: input.activeTab
1600
1600
  }, errorFactory));
1601
1601
  const $ao5 = (input, _path, _exceptionable = true) => undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
1602
1602
  path: _path + ".activeTab",
@@ -2125,7 +2125,7 @@ export const stringifySettingsRecord = input => {
2125
2125
  return true;
2126
2126
  return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
2127
2127
  });
2128
- const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
2128
+ const $io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (undefined === input.activeTab || "string" === typeof input.activeTab);
2129
2129
  const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
2130
2130
  const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
2131
2131
  const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
@@ -2167,7 +2167,7 @@ export const stringifySettingsRecord = input => {
2167
2167
  const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
2168
2168
  return ""; if (["settingsPanelStore"].some(regular => regular === key))
2169
2169
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? $so5(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
2170
- const $so4 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined},`}${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined}`}`)}}`;
2170
+ const $so4 = input => `{${$tail(`${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined},`}${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined}`}`)}}`;
2171
2171
  const $so5 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined}`}`)}}`;
2172
2172
  const $so6 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so7(input.createMenu) : undefined}`}`)}}`;
2173
2173
  const $so7 = input => `{${$tail(`${undefined === input.sortOrder ? "" : `"sortOrder":${undefined !== input.sortOrder ? `[${input.sortOrder.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
@@ -2214,7 +2214,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
2214
2214
  return true;
2215
2215
  return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
2216
2216
  });
2217
- const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex));
2217
+ const $io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex)) && (undefined === input.activeTab || "string" === typeof input.activeTab);
2218
2218
  const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
2219
2219
  const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
2220
2220
  const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
@@ -2418,20 +2418,20 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
2418
2418
  }, errorFactory));
2419
2419
  const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
2420
2420
  path: _path + ".tabs",
2421
- expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
2421
+ expected: "(PartialObjectDeep<ModuleTabs, __type> | undefined)",
2422
2422
  value: input.tabs
2423
2423
  }, errorFactory)) && $ao3(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
2424
2424
  path: _path + ".tabs",
2425
- expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
2425
+ expected: "(PartialObjectDeep<ModuleTabs, __type> | undefined)",
2426
2426
  value: input.tabs
2427
2427
  }, errorFactory);
2428
2428
  const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) || $guard(_exceptionable, {
2429
2429
  path: _path + ".settingsPanelStore",
2430
- expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
2430
+ expected: "(PartialObjectDeep<SettingsPanelStoreTab, __type> | undefined)",
2431
2431
  value: input.settingsPanelStore
2432
2432
  }, errorFactory)) && $ao4(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
2433
2433
  path: _path + ".settingsPanelStore",
2434
- expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
2434
+ expected: "(PartialObjectDeep<SettingsPanelStoreTab, __type> | undefined)",
2435
2435
  value: input.settingsPanelStore
2436
2436
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
2437
2437
  if (["settingsPanelStore"].some(prop => key === prop))
@@ -2449,14 +2449,14 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
2449
2449
  value: value
2450
2450
  }, errorFactory);
2451
2451
  }));
2452
- const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
2453
- path: _path + ".activeTab",
2454
- expected: "(string | undefined)",
2455
- value: input.activeTab
2456
- }, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex) || $guard(_exceptionable, {
2452
+ const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex) || $guard(_exceptionable, {
2457
2453
  path: _path + ".activeSectionIndex",
2458
2454
  expected: "(number | undefined)",
2459
2455
  value: input.activeSectionIndex
2456
+ }, errorFactory)) && (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
2457
+ path: _path + ".activeTab",
2458
+ expected: "(string | undefined)",
2459
+ value: input.activeTab
2460
2460
  }, errorFactory));
2461
2461
  const $ao5 = (input, _path, _exceptionable = true) => undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
2462
2462
  path: _path + ".activeTab",
@@ -2985,7 +2985,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
2985
2985
  return true;
2986
2986
  return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
2987
2987
  });
2988
- const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
2988
+ const $io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (undefined === input.activeTab || "string" === typeof input.activeTab);
2989
2989
  const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
2990
2990
  const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
2991
2991
  const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
@@ -3027,7 +3027,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
3027
3027
  const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
3028
3028
  return ""; if (["settingsPanelStore"].some(regular => regular === key))
3029
3029
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? $so5(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
3030
- const $so4 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined},`}${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined}`}`)}}`;
3030
+ const $so4 = input => `{${$tail(`${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined},`}${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined}`}`)}}`;
3031
3031
  const $so5 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined}`}`)}}`;
3032
3032
  const $so6 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so7(input.createMenu) : undefined}`}`)}}`;
3033
3033
  const $so7 = input => `{${$tail(`${undefined === input.sortOrder ? "" : `"sortOrder":${undefined !== input.sortOrder ? `[${input.sortOrder.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/types",
3
- "version": "1.6.13",
3
+ "version": "1.6.14",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "scripts": {