@stndrds/schema 0.1.0-alpha.55 → 0.1.0-alpha.57

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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
4
 
@@ -366,7 +366,31 @@
366
366
 
367
367
 
368
368
 
369
- var _chunkQBDGRMSCjs = require('./chunk-QBDGRMSC.js');
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+ var _chunkDPRLHGPOjs = require('./chunk-DPRLHGPO.js');
370
394
 
371
395
 
372
396
 
@@ -503,6 +527,21 @@ function isSystemFlow(flow) {
503
527
  }
504
528
 
505
529
  // src/types/views.ts
530
+ function isDetailView(view2) {
531
+ return view2.type === "detail";
532
+ }
533
+ function isListView(view2) {
534
+ return view2.type === "list";
535
+ }
536
+ function isCalendarView(view2) {
537
+ return view2.type === "calendar";
538
+ }
539
+ function isTimelineView(view2) {
540
+ return view2.type === "timeline";
541
+ }
542
+ function isGalleryView(view2) {
543
+ return view2.type === "gallery";
544
+ }
506
545
  function isFormTab(tab) {
507
546
  return tab.type === "form";
508
547
  }
@@ -531,26 +570,543 @@ function isDocumentsTab(tab) {
531
570
  return tab.type === "documents";
532
571
  }
533
572
 
573
+ // src/feature-flags/flag-builder.ts
574
+ function validateFlagName(name) {
575
+ if (!/^[a-z][a-z0-9-]*[a-z0-9]$|^[a-z]$/.test(name)) {
576
+ throw new Error(
577
+ `Invalid flag name "${name}". Flag names must be kebab-case (e.g., "architect-mode", "ai-features").`
578
+ );
579
+ }
580
+ }
581
+ var BaseFlagBuilder = class {
582
+ constructor(name, valueType, defaultValue) {
583
+ validateFlagName(name);
584
+ this.flag = {
585
+ name,
586
+ valueType,
587
+ defaultValue,
588
+ allowedLevels: ["global", "tenant", "user"]
589
+ };
590
+ }
591
+ /**
592
+ * Set the human-readable label for the flag.
593
+ * Required - build() will throw if not set.
594
+ */
595
+ label(value) {
596
+ this.flag.label = value;
597
+ return this;
598
+ }
599
+ /**
600
+ * Set an optional description for the flag.
601
+ */
602
+ description(value) {
603
+ this.flag.description = value;
604
+ return this;
605
+ }
606
+ /**
607
+ * Set a category for grouping flags in UI.
608
+ */
609
+ category(value) {
610
+ this.flag.category = value;
611
+ return this;
612
+ }
613
+ /**
614
+ * Mark this flag as a system flag.
615
+ * System flags cannot be modified via API.
616
+ */
617
+ system() {
618
+ this.flag.system = true;
619
+ return this;
620
+ }
621
+ /**
622
+ * Restrict the flag to global and tenant levels only.
623
+ * Per-user overrides will not be allowed.
624
+ */
625
+ tenantScoped() {
626
+ this.flag.allowedLevels = ["global", "tenant"];
627
+ return this;
628
+ }
629
+ /**
630
+ * Restrict the flag to global level only.
631
+ * No tenant or user overrides will be allowed.
632
+ */
633
+ globalOnly() {
634
+ this.flag.allowedLevels = ["global"];
635
+ return this;
636
+ }
637
+ /**
638
+ * Set custom allowed levels.
639
+ */
640
+ allowedLevels(levels) {
641
+ this.flag.allowedLevels = levels;
642
+ return this;
643
+ }
644
+ /**
645
+ * Build the flag definition.
646
+ * @throws {Error} If label is not set
647
+ */
648
+ build() {
649
+ if (!this.flag.label) {
650
+ throw new Error(
651
+ `Flag "${this.flag.name}" must have a label. Use .label("Human-readable label").`
652
+ );
653
+ }
654
+ return this.flag;
655
+ }
656
+ };
657
+ var BooleanFlagBuilder = class extends BaseFlagBuilder {
658
+ constructor(name) {
659
+ super(name, "boolean", false);
660
+ }
661
+ /**
662
+ * Set the default value (default: false).
663
+ */
664
+ defaultValue(value) {
665
+ this.flag.defaultValue = value;
666
+ return this;
667
+ }
668
+ /**
669
+ * Set the default to true.
670
+ * Shorthand for .defaultValue(true).
671
+ */
672
+ enabledByDefault() {
673
+ this.flag.defaultValue = true;
674
+ return this;
675
+ }
676
+ };
677
+ var StringFlagBuilder = class extends BaseFlagBuilder {
678
+ constructor(name) {
679
+ super(name, "string", "");
680
+ }
681
+ /**
682
+ * Set the default value.
683
+ */
684
+ defaultValue(value) {
685
+ this.flag.defaultValue = value;
686
+ return this;
687
+ }
688
+ };
689
+ var NumberFlagBuilder = class extends BaseFlagBuilder {
690
+ constructor(name) {
691
+ super(name, "number", 0);
692
+ }
693
+ /**
694
+ * Set the default value.
695
+ */
696
+ defaultValue(value) {
697
+ this.flag.defaultValue = value;
698
+ return this;
699
+ }
700
+ };
701
+ var JsonFlagBuilder = class extends BaseFlagBuilder {
702
+ constructor(name, defaultValue) {
703
+ super(name, "json", defaultValue);
704
+ }
705
+ /**
706
+ * Set the default value.
707
+ */
708
+ defaultValue(value) {
709
+ this.flag.defaultValue = value;
710
+ return this;
711
+ }
712
+ };
713
+ function booleanFlag(name) {
714
+ return new BooleanFlagBuilder(name);
715
+ }
716
+ function stringFlag(name) {
717
+ return new StringFlagBuilder(name);
718
+ }
719
+ function numberFlag(name) {
720
+ return new NumberFlagBuilder(name);
721
+ }
722
+ function jsonFlag(name, defaultValue) {
723
+ return new JsonFlagBuilder(name, defaultValue);
724
+ }
725
+
726
+ // src/feature-flags/flag-registry.ts
727
+ var FlagRegistry = class {
728
+ constructor() {
729
+ this.flags = /* @__PURE__ */ new Map();
730
+ }
731
+ /**
732
+ * Register a feature flag definition.
733
+ *
734
+ * @param flag - The flag definition to register
735
+ * @throws {Error} If a flag with the same name is already registered
736
+ *
737
+ * @example
738
+ * ```typescript
739
+ * registry.register(booleanFlag("my-feature")
740
+ * .label("My Feature")
741
+ * .build()
742
+ * );
743
+ * ```
744
+ */
745
+ register(flag) {
746
+ if (this.flags.has(flag.name)) {
747
+ throw new Error(`Flag "${flag.name}" is already registered. Each flag name must be unique.`);
748
+ }
749
+ this.flags.set(flag.name, flag);
750
+ }
751
+ /**
752
+ * Register multiple flags at once.
753
+ *
754
+ * @param flags - Array of flag definitions to register
755
+ */
756
+ registerAll(flags) {
757
+ for (const flag of flags) {
758
+ this.register(flag);
759
+ }
760
+ }
761
+ /**
762
+ * Get a flag definition by name.
763
+ *
764
+ * @param name - The flag name
765
+ * @returns The flag definition or undefined if not found
766
+ */
767
+ get(name) {
768
+ return this.flags.get(name);
769
+ }
770
+ /**
771
+ * Get a flag definition by name, throwing if not found.
772
+ *
773
+ * @param name - The flag name
774
+ * @returns The flag definition
775
+ * @throws {Error} If the flag is not registered
776
+ */
777
+ getOrThrow(name) {
778
+ const flag = this.get(name);
779
+ if (!flag) {
780
+ throw new Error(
781
+ `Flag "${name}" is not registered. Available flags: ${this.listNames().join(", ")}`
782
+ );
783
+ }
784
+ return flag;
785
+ }
786
+ /**
787
+ * Check if a flag is registered.
788
+ *
789
+ * @param name - The flag name
790
+ * @returns true if the flag is registered
791
+ */
792
+ has(name) {
793
+ return this.flags.has(name);
794
+ }
795
+ /**
796
+ * List all registered flag definitions.
797
+ *
798
+ * @returns Array of all flag definitions
799
+ */
800
+ list() {
801
+ return Array.from(this.flags.values());
802
+ }
803
+ /**
804
+ * List all registered flag names.
805
+ *
806
+ * @returns Array of flag names
807
+ */
808
+ listNames() {
809
+ return Array.from(this.flags.keys());
810
+ }
811
+ /**
812
+ * List flags filtered by category.
813
+ *
814
+ * @param category - The category to filter by
815
+ * @returns Array of flag definitions in the category
816
+ */
817
+ listByCategory(category) {
818
+ return this.list().filter((flag) => flag.category === category);
819
+ }
820
+ /**
821
+ * Get all unique categories.
822
+ *
823
+ * @returns Array of unique category names
824
+ */
825
+ getCategories() {
826
+ const categories = /* @__PURE__ */ new Set();
827
+ for (const flag of this.flags.values()) {
828
+ if (flag.category) {
829
+ categories.add(flag.category);
830
+ }
831
+ }
832
+ return Array.from(categories);
833
+ }
834
+ /**
835
+ * Get the default value for a flag.
836
+ *
837
+ * @param name - The flag name
838
+ * @returns The default value or undefined if flag not found
839
+ */
840
+ getDefaultValue(name) {
841
+ return _optionalChain([this, 'access', _ => _.get, 'call', _2 => _2(name), 'optionalAccess', _3 => _3.defaultValue]);
842
+ }
843
+ /**
844
+ * Get a map of all flag names to their default values.
845
+ *
846
+ * @returns Map of flag names to default values
847
+ */
848
+ getDefaults() {
849
+ const defaults = /* @__PURE__ */ new Map();
850
+ for (const [name, flag] of this.flags) {
851
+ defaults.set(name, flag.defaultValue);
852
+ }
853
+ return defaults;
854
+ }
855
+ /**
856
+ * Unregister a flag (mainly for testing).
857
+ *
858
+ * @param name - The flag name to unregister
859
+ * @returns true if the flag was removed, false if it didn't exist
860
+ */
861
+ unregister(name) {
862
+ return this.flags.delete(name);
863
+ }
864
+ /**
865
+ * Clear all registered flags (mainly for testing).
866
+ */
867
+ clear() {
868
+ this.flags.clear();
869
+ }
870
+ /**
871
+ * Get the number of registered flags.
872
+ */
873
+ get size() {
874
+ return this.flags.size;
875
+ }
876
+ };
877
+ var flagRegistry = new FlagRegistry();
878
+ function createFlagRegistry() {
879
+ return new FlagRegistry();
880
+ }
881
+
882
+ // src/feature-flags/flag-service.ts
883
+ var FlagService = class {
884
+ constructor(options) {
885
+ this.repository = options.repository;
886
+ this.registry = options.registry;
887
+ this.staticDefaults = new Map(_nullishCoalesce(_optionalChain([options, 'access', _4 => _4.staticDefaults, 'optionalAccess', _5 => _5.map, 'call', _6 => _6((d) => [d.name, d.value])]), () => ( [])));
888
+ }
889
+ /**
890
+ * Resolve all flags for the current context.
891
+ * Returns a Map suitable for runWithFeatureFlags().
892
+ *
893
+ * @param context - Resolution context with tenant/user IDs
894
+ * @returns Map of flag names to resolved values
895
+ */
896
+ async resolveAll(context = {}) {
897
+ const resolved = /* @__PURE__ */ new Map();
898
+ const flagNames = /* @__PURE__ */ new Set();
899
+ for (const name of this.registry.listNames()) {
900
+ flagNames.add(name);
901
+ }
902
+ for (const name of this.staticDefaults.keys()) {
903
+ flagNames.add(name);
904
+ }
905
+ const overrides = this.repository ? await this.getAllOverrides(context) : { global: [], tenant: [], user: [] };
906
+ for (const name of flagNames) {
907
+ const value = this.resolveValue(name, overrides, context);
908
+ resolved.set(name, value);
909
+ }
910
+ return resolved;
911
+ }
912
+ /**
913
+ * Resolve a single flag with full metadata.
914
+ *
915
+ * @param flagName - The flag to resolve
916
+ * @param context - Resolution context
917
+ * @returns Resolved flag with source information
918
+ */
919
+ async resolve(flagName, context = {}) {
920
+ const overrides = this.repository ? await this.getAllOverrides(context) : { global: [], tenant: [], user: [] };
921
+ return this.resolveWithSource(flagName, overrides, context);
922
+ }
923
+ /**
924
+ * Quick check if a boolean flag is enabled.
925
+ *
926
+ * @param flagName - The flag to check
927
+ * @param context - Resolution context
928
+ * @returns true if the flag value is exactly true
929
+ */
930
+ async isEnabled(flagName, context = {}) {
931
+ const resolved = await this.resolve(flagName, context);
932
+ return resolved.value === true;
933
+ }
934
+ /**
935
+ * Get a flag value with type inference.
936
+ *
937
+ * @param flagName - The flag to get
938
+ * @param context - Resolution context
939
+ * @returns The resolved flag value
940
+ */
941
+ async getValue(flagName, context = {}) {
942
+ const resolved = await this.resolve(flagName, context);
943
+ return resolved.value;
944
+ }
945
+ /**
946
+ * Set an override for a flag.
947
+ *
948
+ * @param flagName - The flag to override
949
+ * @param level - The level of the override
950
+ * @param value - The override value
951
+ * @param options - Additional options
952
+ */
953
+ async setOverride(flagName, level, value, options = {}) {
954
+ if (!this.repository) {
955
+ throw new Error(
956
+ "Cannot set override: no FeatureFlagsRepository configured. Add featureFlags to your DatabaseAdapter to enable runtime overrides."
957
+ );
958
+ }
959
+ const flag = this.registry.get(flagName);
960
+ if (flag && !flag.allowedLevels.includes(level)) {
961
+ throw new Error(
962
+ `Flag "${flagName}" does not allow ${level}-level overrides. Allowed levels: ${flag.allowedLevels.join(", ")}`
963
+ );
964
+ }
965
+ if (_optionalChain([flag, 'optionalAccess', _7 => _7.system])) {
966
+ throw new Error(`Flag "${flagName}" is a system flag and cannot be overridden via API.`);
967
+ }
968
+ await this.repository.setOverride({
969
+ flagName,
970
+ level,
971
+ value,
972
+ targetId: options.targetId,
973
+ expiresAt: options.expiresAt,
974
+ createdBy: options.createdBy
975
+ });
976
+ }
977
+ /**
978
+ * Delete an override.
979
+ *
980
+ * @param flagName - The flag name
981
+ * @param level - The level to delete
982
+ * @param targetId - Optional target ID for tenant/user level
983
+ */
984
+ async deleteOverride(flagName, level, targetId) {
985
+ if (!this.repository) {
986
+ throw new Error("Cannot delete override: no FeatureFlagsRepository configured.");
987
+ }
988
+ await this.repository.deleteOverride(flagName, level, targetId);
989
+ }
990
+ // ============================================================================
991
+ // PRIVATE HELPERS
992
+ // ============================================================================
993
+ /**
994
+ * Get all overrides organized by level.
995
+ */
996
+ async getAllOverrides(context) {
997
+ if (!this.repository) {
998
+ return { global: [], tenant: [], user: [] };
999
+ }
1000
+ const [globalOverrides, tenantOverrides, userOverrides] = await Promise.all([
1001
+ this.repository.getOverrides({ level: "global" }),
1002
+ context.tenantId ? this.repository.getOverrides({ level: "tenant", targetId: context.tenantId }) : Promise.resolve([]),
1003
+ context.userId ? this.repository.getOverrides({ level: "user", targetId: context.userId }) : Promise.resolve([])
1004
+ ]);
1005
+ return {
1006
+ global: globalOverrides,
1007
+ tenant: tenantOverrides,
1008
+ user: userOverrides
1009
+ };
1010
+ }
1011
+ /**
1012
+ * Resolve a flag value from overrides and defaults.
1013
+ */
1014
+ resolveValue(flagName, overrides, context) {
1015
+ const flag = this.registry.get(flagName);
1016
+ const allowedLevels = _nullishCoalesce(_optionalChain([flag, 'optionalAccess', _8 => _8.allowedLevels]), () => ( ["global", "tenant", "user"]));
1017
+ if (context.userId && allowedLevels.includes("user")) {
1018
+ const userOverride = overrides.user.find((o) => o.flagName === flagName);
1019
+ if (userOverride) return userOverride.value;
1020
+ }
1021
+ if (context.tenantId && allowedLevels.includes("tenant")) {
1022
+ const tenantOverride = overrides.tenant.find((o) => o.flagName === flagName);
1023
+ if (tenantOverride) return tenantOverride.value;
1024
+ }
1025
+ if (allowedLevels.includes("global")) {
1026
+ const globalOverride = overrides.global.find((o) => o.flagName === flagName);
1027
+ if (globalOverride) return globalOverride.value;
1028
+ }
1029
+ if (this.staticDefaults.has(flagName)) {
1030
+ return this.staticDefaults.get(flagName);
1031
+ }
1032
+ return _optionalChain([flag, 'optionalAccess', _9 => _9.defaultValue]);
1033
+ }
1034
+ /**
1035
+ * Resolve a flag value with source information.
1036
+ */
1037
+ resolveWithSource(flagName, overrides, context) {
1038
+ const flag = this.registry.get(flagName);
1039
+ const allowedLevels = _nullishCoalesce(_optionalChain([flag, 'optionalAccess', _10 => _10.allowedLevels]), () => ( ["global", "tenant", "user"]));
1040
+ if (context.userId && allowedLevels.includes("user")) {
1041
+ const userOverride = overrides.user.find((o) => o.flagName === flagName);
1042
+ if (userOverride) {
1043
+ return {
1044
+ name: flagName,
1045
+ value: userOverride.value,
1046
+ source: "user",
1047
+ sourceId: context.userId
1048
+ };
1049
+ }
1050
+ }
1051
+ if (context.tenantId && allowedLevels.includes("tenant")) {
1052
+ const tenantOverride = overrides.tenant.find((o) => o.flagName === flagName);
1053
+ if (tenantOverride) {
1054
+ return {
1055
+ name: flagName,
1056
+ value: tenantOverride.value,
1057
+ source: "tenant",
1058
+ sourceId: context.tenantId
1059
+ };
1060
+ }
1061
+ }
1062
+ if (allowedLevels.includes("global")) {
1063
+ const globalOverride = overrides.global.find((o) => o.flagName === flagName);
1064
+ if (globalOverride) {
1065
+ return {
1066
+ name: flagName,
1067
+ value: globalOverride.value,
1068
+ source: "global"
1069
+ };
1070
+ }
1071
+ }
1072
+ if (this.staticDefaults.has(flagName)) {
1073
+ return {
1074
+ name: flagName,
1075
+ value: this.staticDefaults.get(flagName),
1076
+ source: "default"
1077
+ };
1078
+ }
1079
+ return {
1080
+ name: flagName,
1081
+ value: _nullishCoalesce(_optionalChain([flag, 'optionalAccess', _11 => _11.defaultValue]), () => ( void 0)),
1082
+ source: "default"
1083
+ };
1084
+ }
1085
+ };
1086
+ function createFlagService(options) {
1087
+ return new FlagService(options);
1088
+ }
1089
+
534
1090
  // src/native/notes.ts
535
- var NOTES = _chunkQBDGRMSCjs.object.call(void 0, { name: "notes", label: "Note" }).pluralLabel("Notes").icon("file-text").description("Notes that can be linked to any record or used globally").system().labelExpression("{{ title }}").attribute(_chunkQBDGRMSCjs.text.call(void 0, { name: "title", label: "Title" }).placeholder("Untitled").required()).attribute(_chunkQBDGRMSCjs.richtext.call(void 0, { name: "content", label: "Content" }).required()).attribute(
536
- _chunkQBDGRMSCjs.select.call(void 0, { name: "visibility", label: "Visibility" }).options([
1091
+ var NOTES = _chunkDPRLHGPOjs.object.call(void 0, { name: "notes", label: "Note" }).pluralLabel("Notes").icon("file-text").description("Notes that can be linked to any record or used globally").system().labelExpression("{{ title }}").attribute(_chunkDPRLHGPOjs.text.call(void 0, { name: "title", label: "Title" }).placeholder("Untitled").required()).attribute(_chunkDPRLHGPOjs.richtext.call(void 0, { name: "content", label: "Content" }).required()).attribute(
1092
+ _chunkDPRLHGPOjs.select.call(void 0, { name: "visibility", label: "Visibility" }).options([
537
1093
  { id: "private", label: "Private", value: "private", icon: "lock" },
538
1094
  { id: "shared", label: "Shared", value: "shared", icon: "users" }
539
1095
  ]).defaultValue("private").required()
540
- ).attribute(_chunkQBDGRMSCjs.relation.call(void 0, { name: "linkedTo", label: "Linked To" }).toAny().hidden());
541
- _chunkQBDGRMSCjs.registry.register(NOTES);
1096
+ ).attribute(_chunkDPRLHGPOjs.relation.call(void 0, { name: "linkedTo", label: "Linked To" }).toAny().hidden());
1097
+ _chunkDPRLHGPOjs.registry.register(NOTES);
542
1098
 
543
1099
  // src/views/registry.ts
544
1100
  var ViewRegistry = class {
545
1101
  constructor() {
546
1102
  this.views = /* @__PURE__ */ new Map();
547
1103
  this.byObject = /* @__PURE__ */ new Map();
1104
+ this.byObjectAndType = /* @__PURE__ */ new Map();
548
1105
  }
549
1106
  /**
550
- * Register a native view
1107
+ * Register a view
551
1108
  * @param viewOrViews - Single view or array of views
552
- * @throws Error if view is not marked as system
553
- * @throws Error if view with same name already exists for the object
1109
+ * @throws Error if view with same name and type already exists for the object
554
1110
  */
555
1111
  register(viewOrViews) {
556
1112
  const views = Array.isArray(viewOrViews) ? viewOrViews : [viewOrViews];
@@ -560,22 +1116,20 @@ var ViewRegistry = class {
560
1116
  return this;
561
1117
  }
562
1118
  registerSingle(view2) {
563
- if (!view2.system) {
564
- throw new Error(
565
- `[ViewRegistry] View "${view2.name}" for object "${view2.object}" is missing system flag.
566
- Only system views can be registered. Add .system() to your view builder.`
567
- );
568
- }
569
- const key = this.makeKey(view2.object, view2.name);
1119
+ const key = this.makeKey(view2.object, view2.name, view2.type);
570
1120
  if (this.views.has(key)) {
571
1121
  throw new Error(
572
- `[ViewRegistry] Duplicate view name "${view2.name}" for object "${view2.object}"`
1122
+ `[ViewRegistry] Duplicate view: "${view2.name}" (${view2.type}) for object "${view2.object}"`
573
1123
  );
574
1124
  }
575
1125
  this.views.set(key, view2);
576
1126
  const objectViews = _nullishCoalesce(this.byObject.get(view2.object), () => ( []));
577
1127
  objectViews.push(view2);
578
1128
  this.byObject.set(view2.object, objectViews);
1129
+ const typeKey = `${view2.object}:${view2.type}`;
1130
+ const typeViews = _nullishCoalesce(this.byObjectAndType.get(typeKey), () => ( []));
1131
+ typeViews.push(view2);
1132
+ this.byObjectAndType.set(typeKey, typeViews);
579
1133
  }
580
1134
  /**
581
1135
  * Get all views for an object
@@ -584,19 +1138,29 @@ Only system views can be registered. Add .system() to your view builder.`
584
1138
  return _nullishCoalesce(this.byObject.get(objectName), () => ( []));
585
1139
  }
586
1140
  /**
587
- * Get a specific view by object and view name
1141
+ * Get views for an object filtered by type
588
1142
  */
589
- get(objectName, viewName) {
590
- return this.views.get(this.makeKey(objectName, viewName));
1143
+ getByObjectNameAndType(objectName, type) {
1144
+ return _nullishCoalesce(this.byObjectAndType.get(`${objectName}:${type}`), () => ( []));
1145
+ }
1146
+ /**
1147
+ * Get a specific view by object, name, and type
1148
+ */
1149
+ get(objectName, viewName, type) {
1150
+ if (type) {
1151
+ return this.views.get(this.makeKey(objectName, viewName, type));
1152
+ }
1153
+ const objectViews = this.getByObjectName(objectName);
1154
+ return objectViews.find((v) => v.name === viewName);
591
1155
  }
592
1156
  /**
593
1157
  * Get a view or throw if not found
594
1158
  */
595
- getOrThrow(objectName, viewName) {
596
- const view2 = this.get(objectName, viewName);
1159
+ getOrThrow(objectName, viewName, type) {
1160
+ const view2 = this.get(objectName, viewName, type);
597
1161
  if (!view2) {
598
1162
  const available = this.getByObjectName(objectName);
599
- const availableNames = available.map((v) => v.name).join(", ") || "(none)";
1163
+ const availableNames = available.map((v) => `${v.name} (${v.type})`).join(", ") || "(none)";
600
1164
  throw new Error(
601
1165
  `[ViewRegistry] View "${viewName}" not found for object "${objectName}".
602
1166
  Available views: ${availableNames}`
@@ -613,8 +1177,12 @@ Available views: ${availableNames}`
613
1177
  /**
614
1178
  * Check if a view exists
615
1179
  */
616
- has(objectName, viewName) {
617
- return this.views.has(this.makeKey(objectName, viewName));
1180
+ has(objectName, viewName, type) {
1181
+ if (type) {
1182
+ return this.views.has(this.makeKey(objectName, viewName, type));
1183
+ }
1184
+ const objectViews = this.getByObjectName(objectName);
1185
+ return objectViews.some((v) => v.name === viewName);
618
1186
  }
619
1187
  /**
620
1188
  * Check if any views exist for an object
@@ -635,10 +1203,10 @@ Available views: ${availableNames}`
635
1203
  return Array.from(this.byObject.keys());
636
1204
  }
637
1205
  /**
638
- * Get default view for an object (if any)
1206
+ * Get default view for an object and type
639
1207
  */
640
- getDefault(objectName) {
641
- const views = this.getByObjectName(objectName);
1208
+ getDefault(objectName, type) {
1209
+ const views = this.getByObjectNameAndType(objectName, type);
642
1210
  return _nullishCoalesce(views.find((v) => v.default), () => ( views[0]));
643
1211
  }
644
1212
  /**
@@ -647,20 +1215,21 @@ Available views: ${availableNames}`
647
1215
  clear() {
648
1216
  this.views.clear();
649
1217
  this.byObject.clear();
1218
+ this.byObjectAndType.clear();
650
1219
  }
651
1220
  /**
652
1221
  * Generate summary string for debugging
653
1222
  */
654
1223
  summary() {
655
1224
  const lines = [];
656
- lines.push(`[ViewRegistry] ${this.size} native view(s) registered:`);
1225
+ lines.push(`[ViewRegistry] ${this.size} view(s) registered:`);
657
1226
  for (const objectName of this.listObjectNames()) {
658
1227
  const views = this.getByObjectName(objectName);
659
1228
  const viewNames = views.map((v) => {
660
1229
  const flags = [];
661
1230
  if (v.default) flags.push("default");
662
1231
  const flagStr = flags.length > 0 ? ` (${flags.join(", ")})` : "";
663
- return `${v.name}${flagStr}`;
1232
+ return `${v.name}:${v.type}${flagStr}`;
664
1233
  });
665
1234
  lines.push(` ${objectName}: ${viewNames.join(", ")}`);
666
1235
  }
@@ -672,12 +1241,386 @@ Available views: ${availableNames}`
672
1241
  debug() {
673
1242
  console.info(this.summary());
674
1243
  }
675
- makeKey(objectName, viewName) {
676
- return `${objectName}:${viewName}`;
1244
+ makeKey(objectName, viewName, type) {
1245
+ return `${objectName}:${viewName}:${type}`;
677
1246
  }
678
1247
  };
679
1248
  var viewRegistry = new ViewRegistry();
680
1249
 
1250
+ // src/views/auto-generator.ts
1251
+ function getVisibleAttributes(attributes, excludeNames = []) {
1252
+ return attributes.filter(
1253
+ (attr) => !(attr.hidden || attr.archived || attr.system || excludeNames.includes(attr.name))
1254
+ );
1255
+ }
1256
+ function sortAttributes(attributes) {
1257
+ return [...attributes].sort((a, b) => {
1258
+ const orderA = _nullishCoalesce(a.order, () => ( 999));
1259
+ const orderB = _nullishCoalesce(b.order, () => ( 999));
1260
+ if (orderA !== orderB) return orderA - orderB;
1261
+ return a.name.localeCompare(b.name);
1262
+ });
1263
+ }
1264
+ function getDefaultFieldSpan(type) {
1265
+ switch (type) {
1266
+ case "textarea":
1267
+ case "richtext":
1268
+ case "location":
1269
+ return 12;
1270
+ case "checkbox":
1271
+ return 4;
1272
+ default:
1273
+ return 6;
1274
+ }
1275
+ }
1276
+ function attributeToField(attr) {
1277
+ return {
1278
+ attribute: attr.name,
1279
+ span: getDefaultFieldSpan(attr.type)
1280
+ };
1281
+ }
1282
+ function generateDefaultDetailView(object2, options = {}) {
1283
+ const {
1284
+ includeActivityTab = true,
1285
+ includeNotesTab = true,
1286
+ includeDocumentsTab = true,
1287
+ includeFlowsTab = false,
1288
+ excludeAttributes = []
1289
+ } = options;
1290
+ const visibleAttrs = getVisibleAttributes(object2.attributes, excludeAttributes);
1291
+ const sortedAttrs = sortAttributes(visibleAttrs);
1292
+ const formTab = {
1293
+ id: "form",
1294
+ name: "form",
1295
+ label: "Details",
1296
+ type: "form",
1297
+ groups: [
1298
+ {
1299
+ id: "general",
1300
+ label: "General",
1301
+ fields: sortedAttrs.map(attributeToField),
1302
+ order: 0
1303
+ }
1304
+ ],
1305
+ order: 0
1306
+ };
1307
+ const tabs = [formTab];
1308
+ let tabOrder = 1;
1309
+ const hasDocuments = object2.attributes.some((attr) => attr.type === "document");
1310
+ if (includeDocumentsTab && hasDocuments) {
1311
+ tabs.push({
1312
+ id: "documents",
1313
+ name: "documents",
1314
+ label: "Documents",
1315
+ type: "documents",
1316
+ order: tabOrder++,
1317
+ allowUpload: true,
1318
+ allowRemove: true,
1319
+ showProcessing: true
1320
+ });
1321
+ }
1322
+ if (includeActivityTab) {
1323
+ tabs.push({
1324
+ id: "activity",
1325
+ name: "activity",
1326
+ label: "Activity",
1327
+ type: "activity",
1328
+ order: tabOrder++
1329
+ });
1330
+ }
1331
+ if (includeNotesTab) {
1332
+ tabs.push({
1333
+ id: "notes",
1334
+ name: "notes",
1335
+ label: "Notes",
1336
+ type: "notes",
1337
+ order: tabOrder++,
1338
+ allowCreate: true
1339
+ });
1340
+ }
1341
+ if (includeFlowsTab) {
1342
+ tabs.push({
1343
+ id: "flows",
1344
+ name: "flows",
1345
+ label: "Workflows",
1346
+ type: "flows",
1347
+ order: tabOrder++,
1348
+ allowStart: true,
1349
+ allowCancel: true
1350
+ });
1351
+ }
1352
+ const config = {
1353
+ layout: "page",
1354
+ tabs
1355
+ };
1356
+ return {
1357
+ name: "default",
1358
+ label: "Default View",
1359
+ object: object2.name,
1360
+ type: "detail",
1361
+ config,
1362
+ default: true
1363
+ };
1364
+ }
1365
+ function generateDefaultListView(object2, options = {}) {
1366
+ const { excludeAttributes = [], maxListColumns = 5 } = options;
1367
+ const visibleAttrs = getVisibleAttributes(object2.attributes, excludeAttributes);
1368
+ const sortedAttrs = sortAttributes(visibleAttrs);
1369
+ const columns = sortedAttrs.slice(0, maxListColumns).map((attr) => attr.name);
1370
+ const config = {
1371
+ layout: "table",
1372
+ columns
1373
+ };
1374
+ return {
1375
+ name: "default",
1376
+ label: "All Records",
1377
+ object: object2.name,
1378
+ type: "list",
1379
+ config,
1380
+ default: true
1381
+ };
1382
+ }
1383
+ function generateFallbackView(object2, type, options = {}) {
1384
+ switch (type) {
1385
+ case "detail":
1386
+ return generateDefaultDetailView(object2, options);
1387
+ case "list":
1388
+ return generateDefaultListView(object2, options);
1389
+ default:
1390
+ throw new Error(`Fallback generation not supported for view type: ${type}`);
1391
+ }
1392
+ }
1393
+ function generateModalDetailView(object2, attributeNames) {
1394
+ const excludeAttributes = attributeNames ? object2.attributes.filter((attr) => !attributeNames.includes(attr.name)).map((attr) => attr.name) : [];
1395
+ const visibleAttrs = getVisibleAttributes(object2.attributes, excludeAttributes);
1396
+ const sortedAttrs = sortAttributes(visibleAttrs);
1397
+ const formTab = {
1398
+ id: "form",
1399
+ name: "form",
1400
+ label: "Details",
1401
+ type: "form",
1402
+ groups: [
1403
+ {
1404
+ id: "general",
1405
+ label: "General",
1406
+ fields: sortedAttrs.map(attributeToField),
1407
+ order: 0
1408
+ }
1409
+ ],
1410
+ order: 0
1411
+ };
1412
+ const config = {
1413
+ layout: "modal",
1414
+ tabs: [formTab]
1415
+ };
1416
+ return {
1417
+ name: "default-modal",
1418
+ label: "Default Modal View",
1419
+ object: object2.name,
1420
+ type: "detail",
1421
+ config,
1422
+ default: true
1423
+ };
1424
+ }
1425
+ function generateKanbanListView(object2, groupByAttribute, options = {}) {
1426
+ const { excludeAttributes = [], maxListColumns = 5 } = options;
1427
+ const visibleAttrs = getVisibleAttributes(object2.attributes, excludeAttributes);
1428
+ const sortedAttrs = sortAttributes(visibleAttrs);
1429
+ const columns = sortedAttrs.filter((attr) => attr.name !== groupByAttribute).slice(0, maxListColumns).map((attr) => attr.name);
1430
+ const config = {
1431
+ layout: "kanban",
1432
+ columns,
1433
+ groupByAttribute
1434
+ };
1435
+ return {
1436
+ name: "kanban",
1437
+ label: "Kanban View",
1438
+ object: object2.name,
1439
+ type: "list",
1440
+ config,
1441
+ default: false
1442
+ };
1443
+ }
1444
+
1445
+ // src/views/view-reset.ts
1446
+ function getPreservedDetailTabs(view2, options) {
1447
+ const { preserveCustomTabs = true, preserveTableTabs = true } = options;
1448
+ const preserved = [];
1449
+ for (const tab of view2.config.tabs) {
1450
+ if (preserveCustomTabs && tab.type === "custom") {
1451
+ preserved.push(tab);
1452
+ }
1453
+ if (preserveTableTabs && tab.type === "table") {
1454
+ preserved.push(tab);
1455
+ }
1456
+ }
1457
+ return preserved;
1458
+ }
1459
+ function mergeDetailTabs(generatedTabs, preservedTabs) {
1460
+ if (preservedTabs.length === 0) {
1461
+ return generatedTabs;
1462
+ }
1463
+ const formTab = generatedTabs.find((t) => t.type === "form");
1464
+ const otherTabs = generatedTabs.filter((t) => t.type !== "form");
1465
+ const result = [];
1466
+ if (formTab) {
1467
+ result.push(formTab);
1468
+ }
1469
+ let order = 1;
1470
+ for (const tab of preservedTabs) {
1471
+ result.push({ ...tab, order: order++ });
1472
+ }
1473
+ for (const tab of otherTabs) {
1474
+ result.push({ ...tab, order: order++ });
1475
+ }
1476
+ return result;
1477
+ }
1478
+ function resetDetailViewToDefault(view2, object2, options) {
1479
+ const { preserveMetadata = true, ...generateOptions } = options;
1480
+ const defaultView = generateDefaultDetailView(object2, generateOptions);
1481
+ const preservedTabs = getPreservedDetailTabs(view2, options);
1482
+ const mergedTabs = mergeDetailTabs(defaultView.config.tabs, preservedTabs);
1483
+ const config = {
1484
+ ...defaultView.config,
1485
+ tabs: mergedTabs
1486
+ };
1487
+ const resetView = {
1488
+ ...defaultView,
1489
+ config
1490
+ };
1491
+ if (preserveMetadata) {
1492
+ resetView.id = view2.id;
1493
+ resetView.name = view2.name;
1494
+ resetView.label = view2.label;
1495
+ resetView.description = view2.description;
1496
+ resetView.icon = view2.icon;
1497
+ }
1498
+ return resetView;
1499
+ }
1500
+ function resetListViewToDefault(view2, object2, options) {
1501
+ const { preserveMetadata = true, ...generateOptions } = options;
1502
+ const defaultView = generateDefaultListView(object2, generateOptions);
1503
+ const resetView = {
1504
+ ...defaultView
1505
+ };
1506
+ if (preserveMetadata) {
1507
+ resetView.id = view2.id;
1508
+ resetView.name = view2.name;
1509
+ resetView.label = view2.label;
1510
+ resetView.description = view2.description;
1511
+ resetView.icon = view2.icon;
1512
+ }
1513
+ return resetView;
1514
+ }
1515
+ function resetViewToDefault(currentView, object2, options = {}) {
1516
+ if (isDetailView(currentView)) {
1517
+ return resetDetailViewToDefault(currentView, object2, options);
1518
+ }
1519
+ if (isListView(currentView)) {
1520
+ return resetListViewToDefault(currentView, object2, options);
1521
+ }
1522
+ throw new Error(`Reset not supported for view type: ${currentView.type}`);
1523
+ }
1524
+ function isDetailViewCustomized(view2, object2) {
1525
+ const defaultView = generateDefaultDetailView(object2);
1526
+ const viewFormTab = view2.config.tabs.find((t) => t.type === "form");
1527
+ const defaultFormTab = defaultView.config.tabs.find((t) => t.type === "form");
1528
+ if (!(viewFormTab && defaultFormTab)) {
1529
+ return true;
1530
+ }
1531
+ if (viewFormTab.type !== "form" || defaultFormTab.type !== "form") {
1532
+ return true;
1533
+ }
1534
+ if (viewFormTab.groups.length !== defaultFormTab.groups.length) {
1535
+ return true;
1536
+ }
1537
+ for (let i = 0; i < viewFormTab.groups.length; i++) {
1538
+ const viewGroup = viewFormTab.groups[i];
1539
+ const defaultGroup = defaultFormTab.groups[i];
1540
+ if (viewGroup.id !== defaultGroup.id) {
1541
+ return true;
1542
+ }
1543
+ if (viewGroup.fields.length !== defaultGroup.fields.length) {
1544
+ return true;
1545
+ }
1546
+ for (let j = 0; j < viewGroup.fields.length; j++) {
1547
+ if (viewGroup.fields[j].attribute !== defaultGroup.fields[j].attribute) {
1548
+ return true;
1549
+ }
1550
+ }
1551
+ }
1552
+ return false;
1553
+ }
1554
+ function isListViewCustomized(view2, object2) {
1555
+ const defaultView = generateDefaultListView(object2);
1556
+ if (view2.config.columns.length !== defaultView.config.columns.length) {
1557
+ return true;
1558
+ }
1559
+ for (let i = 0; i < view2.config.columns.length; i++) {
1560
+ if (view2.config.columns[i] !== defaultView.config.columns[i]) {
1561
+ return true;
1562
+ }
1563
+ }
1564
+ if (view2.config.layout !== defaultView.config.layout) {
1565
+ return true;
1566
+ }
1567
+ return false;
1568
+ }
1569
+ function isViewCustomized(view2, object2) {
1570
+ if (isDetailView(view2)) {
1571
+ return isDetailViewCustomized(view2, object2);
1572
+ }
1573
+ if (isListView(view2)) {
1574
+ return isListViewCustomized(view2, object2);
1575
+ }
1576
+ return true;
1577
+ }
1578
+
1579
+
1580
+
1581
+
1582
+
1583
+
1584
+
1585
+
1586
+
1587
+
1588
+
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+
1598
+
1599
+
1600
+
1601
+
1602
+
1603
+
1604
+
1605
+
1606
+
1607
+
1608
+
1609
+
1610
+
1611
+
1612
+
1613
+
1614
+
1615
+
1616
+
1617
+
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+
681
1624
 
682
1625
 
683
1626
 
@@ -1075,4 +2018,4 @@ var viewRegistry = new ViewRegistry();
1075
2018
 
1076
2019
 
1077
2020
 
1078
- exports.ALL_SYSTEM_RESOURCES = _chunk36UBIXJNjs.ALL_SYSTEM_RESOURCES; exports.ActivityTabConfig = _chunkQBDGRMSCjs.ActivityTabConfig; exports.AttributeInUseError = _chunkQBDGRMSCjs.AttributeInUseError; exports.AttributeNotFoundError = _chunkQBDGRMSCjs.AttributeNotFoundError; exports.AuditService = _chunkQBDGRMSCjs.AuditService; exports.AuthMethodSchema = _chunkQBDGRMSCjs.AuthMethodSchema; exports.BaseRepository = _chunkQBDGRMSCjs.BaseRepository; exports.BaseService = _chunkQBDGRMSCjs.BaseService; exports.ConditionExecutor = _chunkQBDGRMSCjs.ConditionExecutor; exports.ConditionGroupSchema = _chunkQBDGRMSCjs.ConditionGroupSchema; exports.ConditionNodeSchema = _chunkQBDGRMSCjs.ConditionNodeSchema; exports.ConditionOperatorSchema = _chunkQBDGRMSCjs.ConditionOperatorSchema; exports.ConditionRuleSchema = _chunkQBDGRMSCjs.ConditionRuleSchema; exports.CreateShareInputSchema = _chunkQBDGRMSCjs.CreateShareInputSchema; exports.CustomTabConfig = _chunkQBDGRMSCjs.CustomTabConfig; exports.DEFAULT_LABEL_FALLBACK = _chunkQBDGRMSCjs.DEFAULT_LABEL_FALLBACK; exports.DEFAULT_ROLES = _chunk36UBIXJNjs.DEFAULT_ROLES; exports.DEFAULT_ROLE_DESCRIPTIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_DESCRIPTIONS; exports.DEFAULT_ROLE_LABELS = _chunk36UBIXJNjs.DEFAULT_ROLE_LABELS; exports.DEFAULT_ROLE_PERMISSIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_PERMISSIONS; exports.DEFAULT_THEME = _chunkQBDGRMSCjs.DEFAULT_THEME; exports.DEFAULT_VALIDATION_MESSAGES = _chunkQBDGRMSCjs.DEFAULT_VALIDATION_MESSAGES; exports.DRIVING_LICENSE = _chunkQBDGRMSCjs.DRIVING_LICENSE; exports.DirectTableTabConfig = _chunkQBDGRMSCjs.DirectTableTabConfig; exports.DocumentExecutor = _chunkQBDGRMSCjs.DocumentExecutor; exports.DocumentGenerationNotConfiguredError = _chunkQBDGRMSCjs.DocumentGenerationNotConfiguredError; exports.DocumentGenerationService = _chunkQBDGRMSCjs.DocumentGenerationService; exports.DocumentGenerationTemplateNotFoundError = _chunkQBDGRMSCjs.DocumentGenerationTemplateNotFoundError; exports.DocumentNodeSchema = _chunkQBDGRMSCjs.DocumentNodeSchema; exports.DocumentProcessingHook = _chunkQBDGRMSCjs.DocumentProcessingHook; exports.DocumentProcessingService = _chunkQBDGRMSCjs.DocumentProcessingService; exports.DocumentRenderError = _chunkQBDGRMSCjs.DocumentRenderError; exports.DocumentRendererService = _chunkQBDGRMSCjs.DocumentRendererService; exports.DocumentService = _chunkQBDGRMSCjs.DocumentService; exports.DocumentTemplateService = _chunkQBDGRMSCjs.DocumentTemplateService; exports.DocumentsTabConfig = _chunkQBDGRMSCjs.DocumentsTabConfig; exports.DuplicateError = _chunkQBDGRMSCjs.DuplicateError; exports.EMPTY_VALUE_PLACEHOLDER = _chunkQBDGRMSCjs.EMPTY_VALUE_PLACEHOLDER; exports.EndExecutor = _chunkQBDGRMSCjs.EndExecutor; exports.EndNodeSchema = _chunkQBDGRMSCjs.EndNodeSchema; exports.ExecutorRegistry = _chunkQBDGRMSCjs.ExecutorRegistry; exports.FRENCH_ID_CARD = _chunkQBDGRMSCjs.FRENCH_ID_CARD; exports.FileNotFoundError = _chunkQBDGRMSCjs.FileNotFoundError; exports.FileService = _chunkQBDGRMSCjs.FileService; exports.FlowRowFieldSchema = _chunkQBDGRMSCjs.FlowRowFieldSchema; exports.FlowRowSchema = _chunkQBDGRMSCjs.FlowRowSchema; exports.FlowsTabConfig = _chunkQBDGRMSCjs.FlowsTabConfig; exports.ForbiddenError = _chunkQBDGRMSCjs.ForbiddenError; exports.FormExecutor = _chunkQBDGRMSCjs.FormExecutor; exports.FormFieldRefSchema = _chunkQBDGRMSCjs.FormFieldRefSchema; exports.FormNodeSchema = _chunkQBDGRMSCjs.FormNodeSchema; exports.FormulaResolverService = _chunkQBDGRMSCjs.FormulaResolverService; exports.GENERIC_DOCUMENT = _chunkQBDGRMSCjs.GENERIC_DOCUMENT; exports.GeocodingService = _chunkQBDGRMSCjs.GeocodingService; exports.GlobalSearchService = _chunkQBDGRMSCjs.GlobalSearchService; exports.GrantExpiredError = _chunkQBDGRMSCjs.GrantExpiredError; exports.GrantNotFoundError = _chunkQBDGRMSCjs.GrantNotFoundError; exports.GrantRevokedError = _chunkQBDGRMSCjs.GrantRevokedError; exports.GroupBuilder = _chunkQBDGRMSCjs.GroupBuilder; exports.InvalidPathError = _chunkQBDGRMSCjs.InvalidPathError; exports.InverseTableTabConfig = _chunkQBDGRMSCjs.InverseTableTabConfig; exports.InvitationAlreadyAcceptedError = _chunkQBDGRMSCjs.InvitationAlreadyAcceptedError; exports.InvitationExpiredError = _chunkQBDGRMSCjs.InvitationExpiredError; exports.InvitationNotFoundError = _chunkQBDGRMSCjs.InvitationNotFoundError; exports.InvitationRevokedError = _chunkQBDGRMSCjs.InvitationRevokedError; exports.MaxDepthExceededError = _chunkQBDGRMSCjs.MaxDepthExceededError; exports.NOTES = NOTES; exports.NO_VALUE_OPERATORS = NO_VALUE_OPERATORS; exports.NodePositionSchema = _chunkQBDGRMSCjs.NodePositionSchema; exports.NoopCacheAdapter = _chunkQBDGRMSCjs.NoopCacheAdapter; exports.NoopGeocodingAdapter = _chunkQBDGRMSCjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunkQBDGRMSCjs.NoopHookRegistry; exports.NotFoundError = _chunkQBDGRMSCjs.NotFoundError; exports.NotSystemObjectError = _chunkQBDGRMSCjs.NotSystemObjectError; exports.NotesTabConfig = _chunkQBDGRMSCjs.NotesTabConfig; exports.OPERATORS_BY_TYPE = OPERATORS_BY_TYPE; exports.ObjectBuilder = _chunkQBDGRMSCjs.ObjectBuilder; exports.ObjectNotFoundError = _chunkQBDGRMSCjs.ObjectNotFoundError; exports.ObjectReferencedError = _chunkQBDGRMSCjs.ObjectReferencedError; exports.ObjectSchemaService = _chunkQBDGRMSCjs.ObjectSchemaService; exports.PASSPORT = _chunkQBDGRMSCjs.PASSPORT; exports.PROOF_OF_ADDRESS = _chunkQBDGRMSCjs.PROOF_OF_ADDRESS; exports.PermissionService = _chunkQBDGRMSCjs.PermissionService; exports.PolicyRegistry = _chunkQBDGRMSCjs.PolicyRegistry; exports.PolicyViolationError = _chunkQBDGRMSCjs.PolicyViolationError; exports.ProtectedResourceError = _chunkQBDGRMSCjs.ProtectedResourceError; exports.ProtectedRoleError = _chunkQBDGRMSCjs.ProtectedRoleError; exports.QueryBuilder = _chunkQBDGRMSCjs.QueryBuilder; exports.QueryMultipleResultsError = _chunkQBDGRMSCjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunkQBDGRMSCjs.QueryNoResultError; exports.RELATION_TARGET_ANY = _chunkQBDGRMSCjs.RELATION_TARGET_ANY; exports.RESERVED_ATTRIBUTE_NAMES = _chunkQBDGRMSCjs.RESERVED_ATTRIBUTE_NAMES; exports.RecordNotFoundError = _chunkQBDGRMSCjs.RecordNotFoundError; exports.RecordQueryService = _chunkQBDGRMSCjs.RecordQueryService; exports.RecordReferencedError = _chunkQBDGRMSCjs.RecordReferencedError; exports.RecordResolverService = _chunkQBDGRMSCjs.RecordResolverService; exports.RecordService = _chunkQBDGRMSCjs.RecordService; exports.RelationService = _chunkQBDGRMSCjs.RelationService; exports.RoleNotFoundError = _chunkQBDGRMSCjs.RoleNotFoundError; exports.RollupScheduler = _chunkQBDGRMSCjs.RollupScheduler; exports.RollupService = _chunkQBDGRMSCjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunkQBDGRMSCjs.SHORTCUT_TO_FILTER_OPERATOR; exports.SIGNABLE_CONTRACT = _chunkQBDGRMSCjs.SIGNABLE_CONTRACT; exports.SYSTEM_ATTRIBUTES = _chunkQBDGRMSCjs.SYSTEM_ATTRIBUTES; exports.SYSTEM_FIELD_NAMES = _chunkQBDGRMSCjs.SYSTEM_FIELD_NAMES; exports.SYSTEM_RESOURCES = _chunk36UBIXJNjs.SYSTEM_RESOURCES; exports.SYSTEM_RESOURCE_LABELS = _chunk36UBIXJNjs.SYSTEM_RESOURCE_LABELS; exports.SYSTEM_TEMPLATES = _chunkQBDGRMSCjs.SYSTEM_TEMPLATES; exports.SYSTEM_TEMPLATE_IDS = _chunkQBDGRMSCjs.SYSTEM_TEMPLATE_IDS; exports.SchemaContextAwareRepository = _chunkQBDGRMSCjs.SchemaContextAwareRepository; exports.SchemaError = _chunkQBDGRMSCjs.SchemaError; exports.SchemaErrorCode = _chunkQBDGRMSCjs.SchemaErrorCode; exports.ShareStatusSchema = _chunkQBDGRMSCjs.ShareStatusSchema; exports.SlotModeSchema = _chunkQBDGRMSCjs.SlotModeSchema; exports.StartExecutor = _chunkQBDGRMSCjs.StartExecutor; exports.StartNodeSchema = _chunkQBDGRMSCjs.StartNodeSchema; exports.StorageDownloadNotSupportedError = _chunkQBDGRMSCjs.StorageDownloadNotSupportedError; exports.SyncError = _chunkQBDGRMSCjs.SyncError; exports.TabBuilder = _chunkQBDGRMSCjs.TabBuilder; exports.TenantAwareRepository = _chunkQBDGRMSCjs.TenantAwareRepository; exports.TenantAwareService = _chunkQBDGRMSCjs.TenantAwareService; exports.TenantContextError = _chunkQBDGRMSCjs.TenantContextError; exports.ThemeColorsSchema = _chunkQBDGRMSCjs.ThemeColorsSchema; exports.ThemeLogoSchema = _chunkQBDGRMSCjs.ThemeLogoSchema; exports.TokenRevokedError = _chunkQBDGRMSCjs.TokenRevokedError; exports.UserProfileNotFoundError = _chunkQBDGRMSCjs.UserProfileNotFoundError; exports.UserProfileService = _chunkQBDGRMSCjs.UserProfileService; exports.UserService = _chunkQBDGRMSCjs.UserService; exports.ValidationError = _chunkQBDGRMSCjs.ValidationError; exports.ViewBuilder = _chunkQBDGRMSCjs.ViewBuilder; exports.ViewService = _chunkQBDGRMSCjs.ViewService; exports.ViewportSchema = _chunkQBDGRMSCjs.ViewportSchema; exports.WorkflowAccessGrantService = _chunkQBDGRMSCjs.WorkflowAccessGrantService; exports.WorkflowBuilder = _chunkQBDGRMSCjs.WorkflowBuilder; exports.WorkflowConditionBuilder = _chunkQBDGRMSCjs.WorkflowConditionBuilder; exports.WorkflowConfigSchema = _chunkQBDGRMSCjs.WorkflowConfigSchema; exports.WorkflowDefinitionSchema = _chunkQBDGRMSCjs.WorkflowDefinitionSchema; exports.WorkflowEndBuilder = _chunkQBDGRMSCjs.WorkflowEndBuilder; exports.WorkflowFormBuilder = _chunkQBDGRMSCjs.WorkflowFormBuilder; exports.WorkflowFormRowBuilder = _chunkQBDGRMSCjs.WorkflowFormRowBuilder; exports.WorkflowInstanceService = _chunkQBDGRMSCjs.WorkflowInstanceService; exports.WorkflowInvitationService = _chunkQBDGRMSCjs.WorkflowInvitationService; exports.WorkflowJwtService = _chunkQBDGRMSCjs.WorkflowJwtService; exports.WorkflowLayoutSchema = _chunkQBDGRMSCjs.WorkflowLayoutSchema; exports.WorkflowNodeSchema = _chunkQBDGRMSCjs.WorkflowNodeSchema; exports.WorkflowRelationService = _chunkQBDGRMSCjs.WorkflowRelationService; exports.WorkflowService = _chunkQBDGRMSCjs.WorkflowService; exports.WorkflowShareSchema = _chunkQBDGRMSCjs.WorkflowShareSchema; exports.WorkflowSimpleFormBuilder = _chunkQBDGRMSCjs.WorkflowSimpleFormBuilder; exports.WorkflowSlotSchema = _chunkQBDGRMSCjs.WorkflowSlotSchema; exports.WorkflowStartBuilder = _chunkQBDGRMSCjs.WorkflowStartBuilder; exports.WorkflowStatusSchema = _chunkQBDGRMSCjs.WorkflowStatusSchema; exports.WorkflowThemeSchema = _chunkQBDGRMSCjs.WorkflowThemeSchema; exports.addSchemaToContext = _chunkQBDGRMSCjs.addSchemaToContext; exports.and = _chunkQBDGRMSCjs.and; exports.applyDefaultValues = _chunkQBDGRMSCjs.applyDefaultValues; exports.asTenantId = _chunkQBDGRMSCjs.asTenantId; exports.asUserId = _chunkQBDGRMSCjs.asUserId; exports.attributeConfigSchemas = _chunkQBDGRMSCjs.attributeConfigSchemas; exports.buildAuditChanges = _chunkQBDGRMSCjs.buildAuditChanges; exports.buildPolicyContext = _chunkQBDGRMSCjs.buildPolicyContext; exports.cacheKeys = _chunkQBDGRMSCjs.cacheKeys; exports.cacheTtl = _chunkQBDGRMSCjs.cacheTtl; exports.canAccessNode = _chunkQBDGRMSCjs.canAccessNode; exports.canResumeInstance = _chunkQBDGRMSCjs.canResumeInstance; exports.checkPermission = _chunkQBDGRMSCjs.checkPermission; exports.checkRecordAccess = _chunkQBDGRMSCjs.checkRecordAccess; exports.checkRecordDeleteOrThrow = _chunkQBDGRMSCjs.checkRecordDeleteOrThrow; exports.checkRecordModifyOrThrow = _chunkQBDGRMSCjs.checkRecordModifyOrThrow; exports.checkSharedObjectWriteAccess = _chunkQBDGRMSCjs.checkSharedObjectWriteAccess; exports.checkbox = _chunkQBDGRMSCjs.checkbox; exports.checkboxConfigSchema = _chunkQBDGRMSCjs.checkboxConfigSchema; exports.complete = _chunkQBDGRMSCjs.complete; exports.computeLabel = _chunkQBDGRMSCjs.computeLabel; exports.computeLabelWithRelations = _chunkQBDGRMSCjs.computeLabelWithRelations; exports.computeRecordStatus = _chunkQBDGRMSCjs.computeRecordStatus; exports.createAttributeValidator = _chunkQBDGRMSCjs.createAttributeValidator; exports.createCheckboxValidator = _chunkQBDGRMSCjs.createCheckboxValidator; exports.createContextForCreate = _chunkQBDGRMSCjs.createContextForCreate; exports.createContextForDelete = _chunkQBDGRMSCjs.createContextForDelete; exports.createContextForRestore = _chunkQBDGRMSCjs.createContextForRestore; exports.createContextForUpdate = _chunkQBDGRMSCjs.createContextForUpdate; exports.createCurrencyValidator = _chunkQBDGRMSCjs.createCurrencyValidator; exports.createDateValidator = _chunkQBDGRMSCjs.createDateValidator; exports.createDefaultExecutorRegistry = _chunkQBDGRMSCjs.createDefaultExecutorRegistry; exports.createDefaultState = _chunkQBDGRMSCjs.createDefaultState; exports.createDraftValidator = _chunkQBDGRMSCjs.createDraftValidator; exports.createEmptyContext = _chunkQBDGRMSCjs.createEmptyContext; exports.createFileValidator = _chunkQBDGRMSCjs.createFileValidator; exports.createFormAttributeValidator = _chunkQBDGRMSCjs.createFormAttributeValidator; exports.createFormulaValidator = _chunkQBDGRMSCjs.createFormulaValidator; exports.createLocationValidator = _chunkQBDGRMSCjs.createLocationValidator; exports.createMockAdapter = _chunkQBDGRMSCjs.createMockAdapter; exports.createMultiRelationValidator = _chunkQBDGRMSCjs.createMultiRelationValidator; exports.createMultiselectValidator = _chunkQBDGRMSCjs.createMultiselectValidator; exports.createNumberValidator = _chunkQBDGRMSCjs.createNumberValidator; exports.createObjectValidator = _chunkQBDGRMSCjs.createObjectValidator; exports.createPhoneValidator = _chunkQBDGRMSCjs.createPhoneValidator; exports.createQueryBuilder = _chunkQBDGRMSCjs.createQueryBuilder; exports.createRatingValidator = _chunkQBDGRMSCjs.createRatingValidator; exports.createRelationValidator = _chunkQBDGRMSCjs.createRelationValidator; exports.createRichtextValidator = _chunkQBDGRMSCjs.createRichtextValidator; exports.createRollupValidator = _chunkQBDGRMSCjs.createRollupValidator; exports.createSelectValidator = _chunkQBDGRMSCjs.createSelectValidator; exports.createSingleRelationValidator = _chunkQBDGRMSCjs.createSingleRelationValidator; exports.createStartTransition = _chunkQBDGRMSCjs.createStartTransition; exports.createStatusValidator = _chunkQBDGRMSCjs.createStatusValidator; exports.createTextAreaValidator = _chunkQBDGRMSCjs.createTextAreaValidator; exports.createTextValidator = _chunkQBDGRMSCjs.createTextValidator; exports.createUserValidator = _chunkQBDGRMSCjs.createUserValidator; exports.currency = _chunkQBDGRMSCjs.currency; exports.currencyConfigSchema = _chunkQBDGRMSCjs.currencyConfigSchema; exports.date = _chunkQBDGRMSCjs.date; exports.dateConfigSchema = _chunkQBDGRMSCjs.dateConfigSchema; exports.defaultPolicyRegistry = _chunkQBDGRMSCjs.defaultPolicyRegistry; exports.defaultTtl = _chunkQBDGRMSCjs.defaultTtl; exports.document = _chunkQBDGRMSCjs.document; exports.documentConfigSchema = _chunkQBDGRMSCjs.documentConfigSchema; exports.enrichRecordsWithFormulas = _chunkQBDGRMSCjs.enrichRecordsWithFormulas; exports.enrichValuesForDisplay = _chunkQBDGRMSCjs.enrichValuesForDisplay; exports.enrichValuesWithSelectLabels = _chunkQBDGRMSCjs.enrichValuesWithSelectLabels; exports.enrichWithFormulas = _chunkQBDGRMSCjs.enrichWithFormulas; exports.eq = _chunkQBDGRMSCjs.eq; exports.error = _chunkQBDGRMSCjs.error; exports.evaluate = _chunkQBDGRMSCjs.evaluate; exports.evaluateCondition = _chunkQBDGRMSCjs.evaluateCondition; exports.evaluateFormula = _chunkQBDGRMSCjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunkQBDGRMSCjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunkQBDGRMSCjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunkQBDGRMSCjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunkQBDGRMSCjs.evaluateFormulaWithResult; exports.evaluateWithTrace = _chunkQBDGRMSCjs.evaluateWithTrace; exports.extractAttributeNames = _chunkQBDGRMSCjs.extractAttributeNames; exports.extractFormulaVariables = _chunkQBDGRMSCjs.extractFormulaVariables; exports.extractRelationIds = _chunkQBDGRMSCjs.extractRelationIds; exports.extractRelationNames = _chunkQBDGRMSCjs.extractRelationNames; exports.extractRelationReferences = _chunkQBDGRMSCjs.extractRelationReferences; exports.file = _chunkQBDGRMSCjs.file; exports.fileConfigSchema = _chunkQBDGRMSCjs.fileConfigSchema; exports.flattenRelationsForEval = _chunkQBDGRMSCjs.flattenRelationsForEval; exports.formatAttributeValue = _chunkQBDGRMSCjs.formatAttributeValue; exports.formatFormulaResult = _chunkQBDGRMSCjs.formatFormulaResult; exports.formatRecord = _chunkQBDGRMSCjs.formatRecord; exports.formatRecords = _chunkQBDGRMSCjs.formatRecords; exports.formula = _chunkQBDGRMSCjs.formula; exports.formulaConfigSchema = _chunkQBDGRMSCjs.formulaConfigSchema; exports.generateCssVariables = _chunkQBDGRMSCjs.generateCssVariables; exports.generateId = _chunkQBDGRMSCjs.generateId; exports.generatePrefixedId = _chunkQBDGRMSCjs.generatePrefixedId; exports.generateTemplateName = _chunkQBDGRMSCjs.generateTemplateName; exports.getAttributeConfigSchema = _chunkQBDGRMSCjs.getAttributeConfigSchema; exports.getContext = _chunkQBDGRMSCjs.getContext; exports.getContextValue = _chunkQBDGRMSCjs.getContextValue; exports.getDefaultExecutorRegistry = _chunkQBDGRMSCjs.getDefaultExecutorRegistry; exports.getMissingRequiredAttributes = _chunkQBDGRMSCjs.getMissingRequiredAttributes; exports.getNodeOutputs = _chunkQBDGRMSCjs.getNodeOutputs; exports.getPathDepth = _chunkQBDGRMSCjs.getPathDepth; exports.getPolicy = _chunkQBDGRMSCjs.getPolicy; exports.getRelationPath = _chunkQBDGRMSCjs.getRelationPath; exports.getSchemaByNameFromContext = _chunkQBDGRMSCjs.getSchemaByNameFromContext; exports.getSchemaContext = _chunkQBDGRMSCjs.getSchemaContext; exports.getSchemaFromContext = _chunkQBDGRMSCjs.getSchemaFromContext; exports.getSyncPreview = _chunkQBDGRMSCjs.getSyncPreview; exports.getSystemAttributeList = _chunkQBDGRMSCjs.getSystemAttributeList; exports.getSystemTemplate = _chunkQBDGRMSCjs.getSystemTemplate; exports.getTargetAttributeName = _chunkQBDGRMSCjs.getTargetAttributeName; exports.getTenantId = _chunkQBDGRMSCjs.getTenantId; exports.getUserId = _chunkQBDGRMSCjs.getUserId; exports.getViewSyncPreview = _chunkQBDGRMSCjs.getViewSyncPreview; exports.group = _chunkQBDGRMSCjs.group; exports.hasContext = _chunkQBDGRMSCjs.hasContext; exports.hasRelationReferences = _chunkQBDGRMSCjs.hasRelationReferences; exports.hasSchemaContext = _chunkQBDGRMSCjs.hasSchemaContext; exports.hashOptions = _chunkQBDGRMSCjs.hashOptions; exports.inValues = _chunkQBDGRMSCjs.inValues; exports.isActivityTab = isActivityTab; exports.isAdvancedFilterState = isAdvancedFilterState; exports.isAdvancedFormNode = _chunkQBDGRMSCjs.isAdvancedFormNode; exports.isConditionGroup = _chunkQBDGRMSCjs.isConditionGroup; exports.isConditionNode = _chunkQBDGRMSCjs.isConditionNode; exports.isConditionRule = _chunkQBDGRMSCjs.isConditionRule; exports.isCustomTab = isCustomTab; exports.isDefaultRole = _chunk36UBIXJNjs.isDefaultRole; exports.isDirectTableTab = isDirectTableTab; exports.isDocumentNode = _chunkQBDGRMSCjs.isDocumentNode; exports.isDocumentsTab = isDocumentsTab; exports.isDocxTemplateSource = isDocxTemplateSource; exports.isEmpty = _chunkQBDGRMSCjs.isEmpty; exports.isEndNode = _chunkQBDGRMSCjs.isEndNode; exports.isFlowDefinition = isFlowDefinition; exports.isFlowPublished = isFlowPublished; exports.isFlowsTab = isFlowsTab; exports.isForbiddenError = _chunkQBDGRMSCjs.isForbiddenError; exports.isFormNode = _chunkQBDGRMSCjs.isFormNode; exports.isFormTab = isFormTab; exports.isGrantExpired = _chunkQBDGRMSCjs.isGrantExpired; exports.isGrantRevoked = _chunkQBDGRMSCjs.isGrantRevoked; exports.isGrantValid = _chunkQBDGRMSCjs.isGrantValid; exports.isInstanceEvent = _chunkQBDGRMSCjs.isInstanceEvent; exports.isInstanceTerminal = _chunkQBDGRMSCjs.isInstanceTerminal; exports.isInstanceWaiting = _chunkQBDGRMSCjs.isInstanceWaiting; exports.isInverseTableTab = isInverseTableTab; exports.isInvitationAccepted = _chunkQBDGRMSCjs.isInvitationAccepted; exports.isInvitationExpired = _chunkQBDGRMSCjs.isInvitationExpired; exports.isInvitationOrGrantEvent = _chunkQBDGRMSCjs.isInvitationOrGrantEvent; exports.isInvitationValid = _chunkQBDGRMSCjs.isInvitationValid; exports.isLabelExpression = _chunkQBDGRMSCjs.isLabelExpression; exports.isNoValueOperator = isNoValueOperator; exports.isNodeEvent = _chunkQBDGRMSCjs.isNodeEvent; exports.isNotEmpty = _chunkQBDGRMSCjs.isNotEmpty; exports.isNotFoundError = _chunkQBDGRMSCjs.isNotFoundError; exports.isNotesTab = isNotesTab; exports.isPdfTemplateSource = isPdfTemplateSource; exports.isProtectedResourceError = _chunkQBDGRMSCjs.isProtectedResourceError; exports.isRecordComplete = _chunkQBDGRMSCjs.isRecordComplete; exports.isSchemaError = _chunkQBDGRMSCjs.isSchemaError; exports.isSimpleFormNode = _chunkQBDGRMSCjs.isSimpleFormNode; exports.isStartNode = _chunkQBDGRMSCjs.isStartNode; exports.isSystemAttribute = _chunkQBDGRMSCjs.isSystemAttribute; exports.isSystemAttributeObject = _chunkQBDGRMSCjs.isSystemAttributeObject; exports.isSystemFlow = isSystemFlow; exports.isSystemTemplate = _chunkQBDGRMSCjs.isSystemTemplate; exports.isSystemWorkflow = _chunkQBDGRMSCjs.isSystemWorkflow; exports.isTableTab = isTableTab; exports.isTokenRevoked = _chunkQBDGRMSCjs.isTokenRevoked; exports.isUniversalRelation = _chunkQBDGRMSCjs.isUniversalRelation; exports.isValidationError = _chunkQBDGRMSCjs.isValidationError; exports.isWorkflowDefinition = _chunkQBDGRMSCjs.isWorkflowDefinition; exports.isWorkflowPublished = _chunkQBDGRMSCjs.isWorkflowPublished; exports.location = _chunkQBDGRMSCjs.location; exports.locationConfigSchema = _chunkQBDGRMSCjs.locationConfigSchema; exports.mergeFormToSlot = _chunkQBDGRMSCjs.mergeFormToSlot; exports.mergeWithDefaults = _chunkQBDGRMSCjs.mergeWithDefaults; exports.multiselect = _chunkQBDGRMSCjs.multiselect; exports.multiselectConfigSchema = _chunkQBDGRMSCjs.multiselectConfigSchema; exports.neq = _chunkQBDGRMSCjs.neq; exports.notesPolicy = _chunkQBDGRMSCjs.notesPolicy; exports.number = _chunkQBDGRMSCjs.number; exports.numberConfigSchema = _chunkQBDGRMSCjs.numberConfigSchema; exports.object = _chunkQBDGRMSCjs.object; exports.or = _chunkQBDGRMSCjs.or; exports.parseAttributeConfig = _chunkQBDGRMSCjs.parseAttributeConfig; exports.parsePath = _chunkQBDGRMSCjs.parsePath; exports.pathHasManyCardinality = _chunkQBDGRMSCjs.pathHasManyCardinality; exports.phone = _chunkQBDGRMSCjs.phone; exports.phoneConfigSchema = _chunkQBDGRMSCjs.phoneConfigSchema; exports.rating = _chunkQBDGRMSCjs.rating; exports.ratingConfigSchema = _chunkQBDGRMSCjs.ratingConfigSchema; exports.recalculateParentRollups = _chunkQBDGRMSCjs.recalculateParentRollups; exports.registry = _chunkQBDGRMSCjs.registry; exports.relation = _chunkQBDGRMSCjs.relation; exports.relationConfigSchema = _chunkQBDGRMSCjs.relationConfigSchema; exports.renderLabelExpression = _chunkQBDGRMSCjs.renderLabelExpression; exports.resolveMultiplePaths = _chunkQBDGRMSCjs.resolveMultiplePaths; exports.resolveSingleValue = _chunkQBDGRMSCjs.resolveSingleValue; exports.richtext = _chunkQBDGRMSCjs.richtext; exports.richtextConfigSchema = _chunkQBDGRMSCjs.richtextConfigSchema; exports.rollup = _chunkQBDGRMSCjs.rollup; exports.rollupConfigSchema = _chunkQBDGRMSCjs.rollupConfigSchema; exports.runWithContext = _chunkQBDGRMSCjs.runWithContext; exports.runWithMergedSchemaContext = _chunkQBDGRMSCjs.runWithMergedSchemaContext; exports.runWithSchemaContext = _chunkQBDGRMSCjs.runWithSchemaContext; exports.safeParseAttributeConfig = _chunkQBDGRMSCjs.safeParseAttributeConfig; exports.select = _chunkQBDGRMSCjs.select; exports.selectConfigSchema = _chunkQBDGRMSCjs.selectConfigSchema; exports.setContextValue = _chunkQBDGRMSCjs.setContextValue; exports.slugify = _chunkQBDGRMSCjs.slugify; exports.status = _chunkQBDGRMSCjs.status; exports.statusConfigSchema = _chunkQBDGRMSCjs.statusConfigSchema; exports.success = _chunkQBDGRMSCjs.success; exports.syncAll = _chunkQBDGRMSCjs.syncAll; exports.syncNativeObjects = _chunkQBDGRMSCjs.syncNativeObjects; exports.syncNativeViews = _chunkQBDGRMSCjs.syncNativeViews; exports.text = _chunkQBDGRMSCjs.text; exports.textConfigSchema = _chunkQBDGRMSCjs.textConfigSchema; exports.textarea = _chunkQBDGRMSCjs.textarea; exports.textareaConfigSchema = _chunkQBDGRMSCjs.textareaConfigSchema; exports.toAdvancedFilterState = toAdvancedFilterState; exports.toSimpleFilterState = toSimpleFilterState; exports.traversePath = _chunkQBDGRMSCjs.traversePath; exports.user = _chunkQBDGRMSCjs.user; exports.userConfigSchema = _chunkQBDGRMSCjs.userConfigSchema; exports.validateAttribute = _chunkQBDGRMSCjs.validateAttribute; exports.validateAttributeConfig = _chunkQBDGRMSCjs.validateAttributeConfig; exports.validateDraft = _chunkQBDGRMSCjs.validateDraft; exports.validateDraftOrThrow = _chunkQBDGRMSCjs.validateDraftOrThrow; exports.validateFormulaExpression = _chunkQBDGRMSCjs.validateFormulaExpression; exports.validateObject = _chunkQBDGRMSCjs.validateObject; exports.validateObjectOrThrow = _chunkQBDGRMSCjs.validateObjectOrThrow; exports.validatePath = _chunkQBDGRMSCjs.validatePath; exports.verifyNativeObjectsSync = _chunkQBDGRMSCjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunkQBDGRMSCjs.verifyNativeViewsSync; exports.view = _chunkQBDGRMSCjs.view; exports.viewRegistry = viewRegistry; exports.wait = _chunkQBDGRMSCjs.wait; exports.withTenantContext = _chunkQBDGRMSCjs.withTenantContext; exports.workflow = _chunkQBDGRMSCjs.workflow;
2021
+ exports.ALL_SYSTEM_RESOURCES = _chunk36UBIXJNjs.ALL_SYSTEM_RESOURCES; exports.ActivityTabConfig = _chunkDPRLHGPOjs.ActivityTabConfig; exports.AttributeInUseError = _chunkDPRLHGPOjs.AttributeInUseError; exports.AttributeNotFoundError = _chunkDPRLHGPOjs.AttributeNotFoundError; exports.AuditService = _chunkDPRLHGPOjs.AuditService; exports.AuthMethodSchema = _chunkDPRLHGPOjs.AuthMethodSchema; exports.BEHAVIOR_PROPERTIES = _chunkDPRLHGPOjs.BEHAVIOR_PROPERTIES; exports.BaseRepository = _chunkDPRLHGPOjs.BaseRepository; exports.BaseService = _chunkDPRLHGPOjs.BaseService; exports.ConcurrentModificationError = _chunkDPRLHGPOjs.ConcurrentModificationError; exports.ConditionExecutor = _chunkDPRLHGPOjs.ConditionExecutor; exports.ConditionGroupSchema = _chunkDPRLHGPOjs.ConditionGroupSchema; exports.ConditionNodeSchema = _chunkDPRLHGPOjs.ConditionNodeSchema; exports.ConditionOperatorSchema = _chunkDPRLHGPOjs.ConditionOperatorSchema; exports.ConditionRuleSchema = _chunkDPRLHGPOjs.ConditionRuleSchema; exports.CreateShareInputSchema = _chunkDPRLHGPOjs.CreateShareInputSchema; exports.CustomTabConfig = _chunkDPRLHGPOjs.CustomTabConfig; exports.DEFAULT_LABEL_FALLBACK = _chunkDPRLHGPOjs.DEFAULT_LABEL_FALLBACK; exports.DEFAULT_ROLES = _chunk36UBIXJNjs.DEFAULT_ROLES; exports.DEFAULT_ROLE_DESCRIPTIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_DESCRIPTIONS; exports.DEFAULT_ROLE_LABELS = _chunk36UBIXJNjs.DEFAULT_ROLE_LABELS; exports.DEFAULT_ROLE_PERMISSIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_PERMISSIONS; exports.DEFAULT_THEME = _chunkDPRLHGPOjs.DEFAULT_THEME; exports.DEFAULT_VALIDATION_MESSAGES = _chunkDPRLHGPOjs.DEFAULT_VALIDATION_MESSAGES; exports.DRIVING_LICENSE = _chunkDPRLHGPOjs.DRIVING_LICENSE; exports.DetailViewBuilder = _chunkDPRLHGPOjs.DetailViewBuilder; exports.DirectTableTabConfig = _chunkDPRLHGPOjs.DirectTableTabConfig; exports.DocumentExecutor = _chunkDPRLHGPOjs.DocumentExecutor; exports.DocumentGenerationNotConfiguredError = _chunkDPRLHGPOjs.DocumentGenerationNotConfiguredError; exports.DocumentGenerationService = _chunkDPRLHGPOjs.DocumentGenerationService; exports.DocumentGenerationTemplateNotFoundError = _chunkDPRLHGPOjs.DocumentGenerationTemplateNotFoundError; exports.DocumentNodeSchema = _chunkDPRLHGPOjs.DocumentNodeSchema; exports.DocumentProcessingHook = _chunkDPRLHGPOjs.DocumentProcessingHook; exports.DocumentProcessingService = _chunkDPRLHGPOjs.DocumentProcessingService; exports.DocumentRenderError = _chunkDPRLHGPOjs.DocumentRenderError; exports.DocumentRendererService = _chunkDPRLHGPOjs.DocumentRendererService; exports.DocumentService = _chunkDPRLHGPOjs.DocumentService; exports.DocumentTemplateService = _chunkDPRLHGPOjs.DocumentTemplateService; exports.DocumentsTabConfig = _chunkDPRLHGPOjs.DocumentsTabConfig; exports.DuplicateError = _chunkDPRLHGPOjs.DuplicateError; exports.EMPTY_VALUE_PLACEHOLDER = _chunkDPRLHGPOjs.EMPTY_VALUE_PLACEHOLDER; exports.EndExecutor = _chunkDPRLHGPOjs.EndExecutor; exports.EndNodeSchema = _chunkDPRLHGPOjs.EndNodeSchema; exports.ExecutorRegistry = _chunkDPRLHGPOjs.ExecutorRegistry; exports.FRENCH_ID_CARD = _chunkDPRLHGPOjs.FRENCH_ID_CARD; exports.FeatureFlagsContextError = _chunkDPRLHGPOjs.FeatureFlagsContextError; exports.FileNotFoundError = _chunkDPRLHGPOjs.FileNotFoundError; exports.FileService = _chunkDPRLHGPOjs.FileService; exports.FlagRegistry = FlagRegistry; exports.FlagService = FlagService; exports.FlowRowFieldSchema = _chunkDPRLHGPOjs.FlowRowFieldSchema; exports.FlowRowSchema = _chunkDPRLHGPOjs.FlowRowSchema; exports.FlowsTabConfig = _chunkDPRLHGPOjs.FlowsTabConfig; exports.ForbiddenError = _chunkDPRLHGPOjs.ForbiddenError; exports.FormExecutor = _chunkDPRLHGPOjs.FormExecutor; exports.FormFieldRefSchema = _chunkDPRLHGPOjs.FormFieldRefSchema; exports.FormNodeSchema = _chunkDPRLHGPOjs.FormNodeSchema; exports.FormulaResolverService = _chunkDPRLHGPOjs.FormulaResolverService; exports.GENERIC_DOCUMENT = _chunkDPRLHGPOjs.GENERIC_DOCUMENT; exports.GeocodingService = _chunkDPRLHGPOjs.GeocodingService; exports.GlobalSearchService = _chunkDPRLHGPOjs.GlobalSearchService; exports.GrantExpiredError = _chunkDPRLHGPOjs.GrantExpiredError; exports.GrantNotFoundError = _chunkDPRLHGPOjs.GrantNotFoundError; exports.GrantRevokedError = _chunkDPRLHGPOjs.GrantRevokedError; exports.GroupBuilder = _chunkDPRLHGPOjs.GroupBuilder; exports.IDENTITY_PROPERTIES = _chunkDPRLHGPOjs.IDENTITY_PROPERTIES; exports.InvalidPathError = _chunkDPRLHGPOjs.InvalidPathError; exports.InverseTableTabConfig = _chunkDPRLHGPOjs.InverseTableTabConfig; exports.InvitationAlreadyAcceptedError = _chunkDPRLHGPOjs.InvitationAlreadyAcceptedError; exports.InvitationExpiredError = _chunkDPRLHGPOjs.InvitationExpiredError; exports.InvitationNotFoundError = _chunkDPRLHGPOjs.InvitationNotFoundError; exports.InvitationRevokedError = _chunkDPRLHGPOjs.InvitationRevokedError; exports.ListViewBuilder = _chunkDPRLHGPOjs.ListViewBuilder; exports.ListViewTabConfigBuilder = _chunkDPRLHGPOjs.ListViewTabConfigBuilder; exports.MaxDepthExceededError = _chunkDPRLHGPOjs.MaxDepthExceededError; exports.NOTES = NOTES; exports.NO_VALUE_OPERATORS = NO_VALUE_OPERATORS; exports.NodePositionSchema = _chunkDPRLHGPOjs.NodePositionSchema; exports.NoopCacheAdapter = _chunkDPRLHGPOjs.NoopCacheAdapter; exports.NoopGeocodingAdapter = _chunkDPRLHGPOjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunkDPRLHGPOjs.NoopHookRegistry; exports.NotFoundError = _chunkDPRLHGPOjs.NotFoundError; exports.NotSystemObjectError = _chunkDPRLHGPOjs.NotSystemObjectError; exports.NotesTabConfig = _chunkDPRLHGPOjs.NotesTabConfig; exports.OPERATORS_BY_TYPE = OPERATORS_BY_TYPE; exports.ObjectBuilder = _chunkDPRLHGPOjs.ObjectBuilder; exports.ObjectNotFoundError = _chunkDPRLHGPOjs.ObjectNotFoundError; exports.ObjectReferencedError = _chunkDPRLHGPOjs.ObjectReferencedError; exports.ObjectSchemaService = _chunkDPRLHGPOjs.ObjectSchemaService; exports.PASSPORT = _chunkDPRLHGPOjs.PASSPORT; exports.PRESENTATION_PROPERTIES = _chunkDPRLHGPOjs.PRESENTATION_PROPERTIES; exports.PROOF_OF_ADDRESS = _chunkDPRLHGPOjs.PROOF_OF_ADDRESS; exports.PermissionService = _chunkDPRLHGPOjs.PermissionService; exports.PolicyRegistry = _chunkDPRLHGPOjs.PolicyRegistry; exports.PolicyViolationError = _chunkDPRLHGPOjs.PolicyViolationError; exports.ProtectedResourceError = _chunkDPRLHGPOjs.ProtectedResourceError; exports.ProtectedRoleError = _chunkDPRLHGPOjs.ProtectedRoleError; exports.QueryBuilder = _chunkDPRLHGPOjs.QueryBuilder; exports.QueryMultipleResultsError = _chunkDPRLHGPOjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunkDPRLHGPOjs.QueryNoResultError; exports.RELATION_TARGET_ANY = _chunkDPRLHGPOjs.RELATION_TARGET_ANY; exports.RESERVED_ATTRIBUTE_NAMES = _chunkDPRLHGPOjs.RESERVED_ATTRIBUTE_NAMES; exports.RecordNotFoundError = _chunkDPRLHGPOjs.RecordNotFoundError; exports.RecordQueryService = _chunkDPRLHGPOjs.RecordQueryService; exports.RecordReferencedError = _chunkDPRLHGPOjs.RecordReferencedError; exports.RecordResolverService = _chunkDPRLHGPOjs.RecordResolverService; exports.RecordService = _chunkDPRLHGPOjs.RecordService; exports.RelationService = _chunkDPRLHGPOjs.RelationService; exports.RoleNotFoundError = _chunkDPRLHGPOjs.RoleNotFoundError; exports.RollupScheduler = _chunkDPRLHGPOjs.RollupScheduler; exports.RollupService = _chunkDPRLHGPOjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunkDPRLHGPOjs.SHORTCUT_TO_FILTER_OPERATOR; exports.SIGNABLE_CONTRACT = _chunkDPRLHGPOjs.SIGNABLE_CONTRACT; exports.SYSTEM_ATTRIBUTES = _chunkDPRLHGPOjs.SYSTEM_ATTRIBUTES; exports.SYSTEM_FIELD_NAMES = _chunkDPRLHGPOjs.SYSTEM_FIELD_NAMES; exports.SYSTEM_RESOURCES = _chunk36UBIXJNjs.SYSTEM_RESOURCES; exports.SYSTEM_RESOURCE_LABELS = _chunk36UBIXJNjs.SYSTEM_RESOURCE_LABELS; exports.SYSTEM_TEMPLATES = _chunkDPRLHGPOjs.SYSTEM_TEMPLATES; exports.SYSTEM_TEMPLATE_IDS = _chunkDPRLHGPOjs.SYSTEM_TEMPLATE_IDS; exports.SchemaContextAwareRepository = _chunkDPRLHGPOjs.SchemaContextAwareRepository; exports.SchemaError = _chunkDPRLHGPOjs.SchemaError; exports.SchemaErrorCode = _chunkDPRLHGPOjs.SchemaErrorCode; exports.ShareStatusSchema = _chunkDPRLHGPOjs.ShareStatusSchema; exports.SlotModeSchema = _chunkDPRLHGPOjs.SlotModeSchema; exports.StartExecutor = _chunkDPRLHGPOjs.StartExecutor; exports.StartNodeSchema = _chunkDPRLHGPOjs.StartNodeSchema; exports.StorageDownloadNotSupportedError = _chunkDPRLHGPOjs.StorageDownloadNotSupportedError; exports.SyncError = _chunkDPRLHGPOjs.SyncError; exports.TabBuilder = _chunkDPRLHGPOjs.TabBuilder; exports.TenantContextError = _chunkDPRLHGPOjs.TenantContextError; exports.ThemeColorsSchema = _chunkDPRLHGPOjs.ThemeColorsSchema; exports.ThemeLogoSchema = _chunkDPRLHGPOjs.ThemeLogoSchema; exports.TokenRevokedError = _chunkDPRLHGPOjs.TokenRevokedError; exports.UserProfileNotFoundError = _chunkDPRLHGPOjs.UserProfileNotFoundError; exports.UserProfileService = _chunkDPRLHGPOjs.UserProfileService; exports.UserService = _chunkDPRLHGPOjs.UserService; exports.ValidationError = _chunkDPRLHGPOjs.ValidationError; exports.ViewBuilder = _chunkDPRLHGPOjs.ViewBuilder; exports.ViewService = _chunkDPRLHGPOjs.ViewService; exports.ViewportSchema = _chunkDPRLHGPOjs.ViewportSchema; exports.WorkflowAccessGrantService = _chunkDPRLHGPOjs.WorkflowAccessGrantService; exports.WorkflowBuilder = _chunkDPRLHGPOjs.WorkflowBuilder; exports.WorkflowConditionBuilder = _chunkDPRLHGPOjs.WorkflowConditionBuilder; exports.WorkflowConfigSchema = _chunkDPRLHGPOjs.WorkflowConfigSchema; exports.WorkflowDefinitionSchema = _chunkDPRLHGPOjs.WorkflowDefinitionSchema; exports.WorkflowEndBuilder = _chunkDPRLHGPOjs.WorkflowEndBuilder; exports.WorkflowFormBuilder = _chunkDPRLHGPOjs.WorkflowFormBuilder; exports.WorkflowFormRowBuilder = _chunkDPRLHGPOjs.WorkflowFormRowBuilder; exports.WorkflowInstanceService = _chunkDPRLHGPOjs.WorkflowInstanceService; exports.WorkflowInvitationService = _chunkDPRLHGPOjs.WorkflowInvitationService; exports.WorkflowJwtService = _chunkDPRLHGPOjs.WorkflowJwtService; exports.WorkflowLayoutSchema = _chunkDPRLHGPOjs.WorkflowLayoutSchema; exports.WorkflowNodeSchema = _chunkDPRLHGPOjs.WorkflowNodeSchema; exports.WorkflowRelationService = _chunkDPRLHGPOjs.WorkflowRelationService; exports.WorkflowService = _chunkDPRLHGPOjs.WorkflowService; exports.WorkflowShareSchema = _chunkDPRLHGPOjs.WorkflowShareSchema; exports.WorkflowSimpleFormBuilder = _chunkDPRLHGPOjs.WorkflowSimpleFormBuilder; exports.WorkflowSlotSchema = _chunkDPRLHGPOjs.WorkflowSlotSchema; exports.WorkflowStartBuilder = _chunkDPRLHGPOjs.WorkflowStartBuilder; exports.WorkflowStatusSchema = _chunkDPRLHGPOjs.WorkflowStatusSchema; exports.WorkflowThemeSchema = _chunkDPRLHGPOjs.WorkflowThemeSchema; exports.addSchemaToContext = _chunkDPRLHGPOjs.addSchemaToContext; exports.and = _chunkDPRLHGPOjs.and; exports.applyDefaultValues = _chunkDPRLHGPOjs.applyDefaultValues; exports.asTenantId = _chunkDPRLHGPOjs.asTenantId; exports.asUserId = _chunkDPRLHGPOjs.asUserId; exports.attributeConfigSchemas = _chunkDPRLHGPOjs.attributeConfigSchemas; exports.booleanFlag = booleanFlag; exports.buildAuditChanges = _chunkDPRLHGPOjs.buildAuditChanges; exports.buildPolicyContext = _chunkDPRLHGPOjs.buildPolicyContext; exports.cacheKeys = _chunkDPRLHGPOjs.cacheKeys; exports.cacheTtl = _chunkDPRLHGPOjs.cacheTtl; exports.canAccessNode = _chunkDPRLHGPOjs.canAccessNode; exports.canResumeInstance = _chunkDPRLHGPOjs.canResumeInstance; exports.checkPermission = _chunkDPRLHGPOjs.checkPermission; exports.checkRecordAccess = _chunkDPRLHGPOjs.checkRecordAccess; exports.checkRecordDeleteOrThrow = _chunkDPRLHGPOjs.checkRecordDeleteOrThrow; exports.checkRecordModifyOrThrow = _chunkDPRLHGPOjs.checkRecordModifyOrThrow; exports.checkSharedObjectWriteAccess = _chunkDPRLHGPOjs.checkSharedObjectWriteAccess; exports.checkbox = _chunkDPRLHGPOjs.checkbox; exports.checkboxConfigSchema = _chunkDPRLHGPOjs.checkboxConfigSchema; exports.complete = _chunkDPRLHGPOjs.complete; exports.computeLabel = _chunkDPRLHGPOjs.computeLabel; exports.computeLabelWithRelations = _chunkDPRLHGPOjs.computeLabelWithRelations; exports.computeRecordStatus = _chunkDPRLHGPOjs.computeRecordStatus; exports.createAttributeValidator = _chunkDPRLHGPOjs.createAttributeValidator; exports.createCheckboxValidator = _chunkDPRLHGPOjs.createCheckboxValidator; exports.createContextForCreate = _chunkDPRLHGPOjs.createContextForCreate; exports.createContextForDelete = _chunkDPRLHGPOjs.createContextForDelete; exports.createContextForRestore = _chunkDPRLHGPOjs.createContextForRestore; exports.createContextForUpdate = _chunkDPRLHGPOjs.createContextForUpdate; exports.createCurrencyValidator = _chunkDPRLHGPOjs.createCurrencyValidator; exports.createDateValidator = _chunkDPRLHGPOjs.createDateValidator; exports.createDefaultExecutorRegistry = _chunkDPRLHGPOjs.createDefaultExecutorRegistry; exports.createDefaultState = _chunkDPRLHGPOjs.createDefaultState; exports.createDraftValidator = _chunkDPRLHGPOjs.createDraftValidator; exports.createEmptyContext = _chunkDPRLHGPOjs.createEmptyContext; exports.createFileValidator = _chunkDPRLHGPOjs.createFileValidator; exports.createFlagRegistry = createFlagRegistry; exports.createFlagService = createFlagService; exports.createFormAttributeValidator = _chunkDPRLHGPOjs.createFormAttributeValidator; exports.createFormulaValidator = _chunkDPRLHGPOjs.createFormulaValidator; exports.createLocationValidator = _chunkDPRLHGPOjs.createLocationValidator; exports.createMockAdapter = _chunkDPRLHGPOjs.createMockAdapter; exports.createMultiRelationValidator = _chunkDPRLHGPOjs.createMultiRelationValidator; exports.createMultiselectValidator = _chunkDPRLHGPOjs.createMultiselectValidator; exports.createNumberValidator = _chunkDPRLHGPOjs.createNumberValidator; exports.createObjectValidator = _chunkDPRLHGPOjs.createObjectValidator; exports.createPhoneValidator = _chunkDPRLHGPOjs.createPhoneValidator; exports.createQueryBuilder = _chunkDPRLHGPOjs.createQueryBuilder; exports.createRatingValidator = _chunkDPRLHGPOjs.createRatingValidator; exports.createRelationValidator = _chunkDPRLHGPOjs.createRelationValidator; exports.createRichtextValidator = _chunkDPRLHGPOjs.createRichtextValidator; exports.createRollupValidator = _chunkDPRLHGPOjs.createRollupValidator; exports.createSelectValidator = _chunkDPRLHGPOjs.createSelectValidator; exports.createSingleRelationValidator = _chunkDPRLHGPOjs.createSingleRelationValidator; exports.createStartTransition = _chunkDPRLHGPOjs.createStartTransition; exports.createStatusValidator = _chunkDPRLHGPOjs.createStatusValidator; exports.createTextAreaValidator = _chunkDPRLHGPOjs.createTextAreaValidator; exports.createTextValidator = _chunkDPRLHGPOjs.createTextValidator; exports.createUserValidator = _chunkDPRLHGPOjs.createUserValidator; exports.currency = _chunkDPRLHGPOjs.currency; exports.currencyConfigSchema = _chunkDPRLHGPOjs.currencyConfigSchema; exports.date = _chunkDPRLHGPOjs.date; exports.dateConfigSchema = _chunkDPRLHGPOjs.dateConfigSchema; exports.defaultPolicyRegistry = _chunkDPRLHGPOjs.defaultPolicyRegistry; exports.defaultTtl = _chunkDPRLHGPOjs.defaultTtl; exports.detailView = _chunkDPRLHGPOjs.detailView; exports.document = _chunkDPRLHGPOjs.document; exports.documentConfigSchema = _chunkDPRLHGPOjs.documentConfigSchema; exports.enrichRecordsWithFormulas = _chunkDPRLHGPOjs.enrichRecordsWithFormulas; exports.enrichValuesForDisplay = _chunkDPRLHGPOjs.enrichValuesForDisplay; exports.enrichValuesWithSelectLabels = _chunkDPRLHGPOjs.enrichValuesWithSelectLabels; exports.enrichWithFormulas = _chunkDPRLHGPOjs.enrichWithFormulas; exports.eq = _chunkDPRLHGPOjs.eq; exports.error = _chunkDPRLHGPOjs.error; exports.evaluate = _chunkDPRLHGPOjs.evaluate; exports.evaluateCondition = _chunkDPRLHGPOjs.evaluateCondition; exports.evaluateFormula = _chunkDPRLHGPOjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunkDPRLHGPOjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunkDPRLHGPOjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunkDPRLHGPOjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunkDPRLHGPOjs.evaluateFormulaWithResult; exports.evaluateWithTrace = _chunkDPRLHGPOjs.evaluateWithTrace; exports.extractAttributeNames = _chunkDPRLHGPOjs.extractAttributeNames; exports.extractFormulaVariables = _chunkDPRLHGPOjs.extractFormulaVariables; exports.extractRelationIds = _chunkDPRLHGPOjs.extractRelationIds; exports.extractRelationNames = _chunkDPRLHGPOjs.extractRelationNames; exports.extractRelationReferences = _chunkDPRLHGPOjs.extractRelationReferences; exports.file = _chunkDPRLHGPOjs.file; exports.fileConfigSchema = _chunkDPRLHGPOjs.fileConfigSchema; exports.filterPropertiesByCategory = _chunkDPRLHGPOjs.filterPropertiesByCategory; exports.flagRegistry = flagRegistry; exports.flattenRelationsForEval = _chunkDPRLHGPOjs.flattenRelationsForEval; exports.formatAttributeValue = _chunkDPRLHGPOjs.formatAttributeValue; exports.formatFormulaResult = _chunkDPRLHGPOjs.formatFormulaResult; exports.formatRecord = _chunkDPRLHGPOjs.formatRecord; exports.formatRecords = _chunkDPRLHGPOjs.formatRecords; exports.formula = _chunkDPRLHGPOjs.formula; exports.formulaConfigSchema = _chunkDPRLHGPOjs.formulaConfigSchema; exports.generateCssVariables = _chunkDPRLHGPOjs.generateCssVariables; exports.generateDefaultDetailView = generateDefaultDetailView; exports.generateDefaultListView = generateDefaultListView; exports.generateFallbackView = generateFallbackView; exports.generateId = _chunkDPRLHGPOjs.generateId; exports.generateKanbanListView = generateKanbanListView; exports.generateModalDetailView = generateModalDetailView; exports.generatePrefixedId = _chunkDPRLHGPOjs.generatePrefixedId; exports.generateTemplateName = _chunkDPRLHGPOjs.generateTemplateName; exports.getAttributeConfigSchema = _chunkDPRLHGPOjs.getAttributeConfigSchema; exports.getContext = _chunkDPRLHGPOjs.getContext; exports.getContextValue = _chunkDPRLHGPOjs.getContextValue; exports.getDefaultExecutorRegistry = _chunkDPRLHGPOjs.getDefaultExecutorRegistry; exports.getFeatureFlags = _chunkDPRLHGPOjs.getFeatureFlags; exports.getFeatureValue = _chunkDPRLHGPOjs.getFeatureValue; exports.getMissingRequiredAttributes = _chunkDPRLHGPOjs.getMissingRequiredAttributes; exports.getNodeOutputs = _chunkDPRLHGPOjs.getNodeOutputs; exports.getPathDepth = _chunkDPRLHGPOjs.getPathDepth; exports.getPolicy = _chunkDPRLHGPOjs.getPolicy; exports.getPropertyProtectionLevel = _chunkDPRLHGPOjs.getPropertyProtectionLevel; exports.getRelationPath = _chunkDPRLHGPOjs.getRelationPath; exports.getSchemaByNameFromContext = _chunkDPRLHGPOjs.getSchemaByNameFromContext; exports.getSchemaContext = _chunkDPRLHGPOjs.getSchemaContext; exports.getSchemaFromContext = _chunkDPRLHGPOjs.getSchemaFromContext; exports.getSyncPreview = _chunkDPRLHGPOjs.getSyncPreview; exports.getSystemAttributeList = _chunkDPRLHGPOjs.getSystemAttributeList; exports.getSystemTemplate = _chunkDPRLHGPOjs.getSystemTemplate; exports.getTargetAttributeName = _chunkDPRLHGPOjs.getTargetAttributeName; exports.getTenantId = _chunkDPRLHGPOjs.getTenantId; exports.getUserId = _chunkDPRLHGPOjs.getUserId; exports.getViewSeedPreview = _chunkDPRLHGPOjs.getViewSeedPreview; exports.getViewSyncPreview = _chunkDPRLHGPOjs.getViewSyncPreview; exports.group = _chunkDPRLHGPOjs.group; exports.hasContext = _chunkDPRLHGPOjs.hasContext; exports.hasFeatureFlagsContext = _chunkDPRLHGPOjs.hasFeatureFlagsContext; exports.hasRelationReferences = _chunkDPRLHGPOjs.hasRelationReferences; exports.hasSchemaContext = _chunkDPRLHGPOjs.hasSchemaContext; exports.hashOptions = _chunkDPRLHGPOjs.hashOptions; exports.inValues = _chunkDPRLHGPOjs.inValues; exports.isActivityTab = isActivityTab; exports.isAdvancedFilterState = isAdvancedFilterState; exports.isAdvancedFormNode = _chunkDPRLHGPOjs.isAdvancedFormNode; exports.isBehaviorProperty = _chunkDPRLHGPOjs.isBehaviorProperty; exports.isCalendarView = isCalendarView; exports.isConcurrentModificationError = _chunkDPRLHGPOjs.isConcurrentModificationError; exports.isConditionGroup = _chunkDPRLHGPOjs.isConditionGroup; exports.isConditionNode = _chunkDPRLHGPOjs.isConditionNode; exports.isConditionRule = _chunkDPRLHGPOjs.isConditionRule; exports.isCustomTab = isCustomTab; exports.isDefaultRole = _chunk36UBIXJNjs.isDefaultRole; exports.isDetailView = isDetailView; exports.isDirectTableTab = isDirectTableTab; exports.isDocumentNode = _chunkDPRLHGPOjs.isDocumentNode; exports.isDocumentsTab = isDocumentsTab; exports.isDocxTemplateSource = isDocxTemplateSource; exports.isEmpty = _chunkDPRLHGPOjs.isEmpty; exports.isEndNode = _chunkDPRLHGPOjs.isEndNode; exports.isFeatureEnabled = _chunkDPRLHGPOjs.isFeatureEnabled; exports.isFlowDefinition = isFlowDefinition; exports.isFlowPublished = isFlowPublished; exports.isFlowsTab = isFlowsTab; exports.isForbiddenError = _chunkDPRLHGPOjs.isForbiddenError; exports.isFormNode = _chunkDPRLHGPOjs.isFormNode; exports.isFormTab = isFormTab; exports.isGalleryView = isGalleryView; exports.isGrantExpired = _chunkDPRLHGPOjs.isGrantExpired; exports.isGrantRevoked = _chunkDPRLHGPOjs.isGrantRevoked; exports.isGrantValid = _chunkDPRLHGPOjs.isGrantValid; exports.isIdentityProperty = _chunkDPRLHGPOjs.isIdentityProperty; exports.isInstanceEvent = _chunkDPRLHGPOjs.isInstanceEvent; exports.isInstanceTerminal = _chunkDPRLHGPOjs.isInstanceTerminal; exports.isInstanceWaiting = _chunkDPRLHGPOjs.isInstanceWaiting; exports.isInverseTableTab = isInverseTableTab; exports.isInvitationAccepted = _chunkDPRLHGPOjs.isInvitationAccepted; exports.isInvitationExpired = _chunkDPRLHGPOjs.isInvitationExpired; exports.isInvitationOrGrantEvent = _chunkDPRLHGPOjs.isInvitationOrGrantEvent; exports.isInvitationValid = _chunkDPRLHGPOjs.isInvitationValid; exports.isLabelExpression = _chunkDPRLHGPOjs.isLabelExpression; exports.isListView = isListView; exports.isNoValueOperator = isNoValueOperator; exports.isNodeEvent = _chunkDPRLHGPOjs.isNodeEvent; exports.isNotEmpty = _chunkDPRLHGPOjs.isNotEmpty; exports.isNotFoundError = _chunkDPRLHGPOjs.isNotFoundError; exports.isNotesTab = isNotesTab; exports.isPdfTemplateSource = isPdfTemplateSource; exports.isPresentationProperty = _chunkDPRLHGPOjs.isPresentationProperty; exports.isProtectedResourceError = _chunkDPRLHGPOjs.isProtectedResourceError; exports.isRecordComplete = _chunkDPRLHGPOjs.isRecordComplete; exports.isSchemaError = _chunkDPRLHGPOjs.isSchemaError; exports.isSimpleFormNode = _chunkDPRLHGPOjs.isSimpleFormNode; exports.isStartNode = _chunkDPRLHGPOjs.isStartNode; exports.isSystemAttribute = _chunkDPRLHGPOjs.isSystemAttribute; exports.isSystemAttributeObject = _chunkDPRLHGPOjs.isSystemAttributeObject; exports.isSystemFlow = isSystemFlow; exports.isSystemTemplate = _chunkDPRLHGPOjs.isSystemTemplate; exports.isSystemWorkflow = _chunkDPRLHGPOjs.isSystemWorkflow; exports.isTableTab = isTableTab; exports.isTimelineView = isTimelineView; exports.isTokenRevoked = _chunkDPRLHGPOjs.isTokenRevoked; exports.isUniversalRelation = _chunkDPRLHGPOjs.isUniversalRelation; exports.isValidationError = _chunkDPRLHGPOjs.isValidationError; exports.isViewCustomized = isViewCustomized; exports.isWorkflowDefinition = _chunkDPRLHGPOjs.isWorkflowDefinition; exports.isWorkflowPublished = _chunkDPRLHGPOjs.isWorkflowPublished; exports.jsonFlag = jsonFlag; exports.listView = _chunkDPRLHGPOjs.listView; exports.location = _chunkDPRLHGPOjs.location; exports.locationConfigSchema = _chunkDPRLHGPOjs.locationConfigSchema; exports.mergeFormToSlot = _chunkDPRLHGPOjs.mergeFormToSlot; exports.mergeWithDefaults = _chunkDPRLHGPOjs.mergeWithDefaults; exports.multiselect = _chunkDPRLHGPOjs.multiselect; exports.multiselectConfigSchema = _chunkDPRLHGPOjs.multiselectConfigSchema; exports.neq = _chunkDPRLHGPOjs.neq; exports.notesPolicy = _chunkDPRLHGPOjs.notesPolicy; exports.number = _chunkDPRLHGPOjs.number; exports.numberConfigSchema = _chunkDPRLHGPOjs.numberConfigSchema; exports.numberFlag = numberFlag; exports.object = _chunkDPRLHGPOjs.object; exports.or = _chunkDPRLHGPOjs.or; exports.parseAttributeConfig = _chunkDPRLHGPOjs.parseAttributeConfig; exports.parsePath = _chunkDPRLHGPOjs.parsePath; exports.pathHasManyCardinality = _chunkDPRLHGPOjs.pathHasManyCardinality; exports.phone = _chunkDPRLHGPOjs.phone; exports.phoneConfigSchema = _chunkDPRLHGPOjs.phoneConfigSchema; exports.rating = _chunkDPRLHGPOjs.rating; exports.ratingConfigSchema = _chunkDPRLHGPOjs.ratingConfigSchema; exports.recalculateParentRollups = _chunkDPRLHGPOjs.recalculateParentRollups; exports.registry = _chunkDPRLHGPOjs.registry; exports.relation = _chunkDPRLHGPOjs.relation; exports.relationConfigSchema = _chunkDPRLHGPOjs.relationConfigSchema; exports.renderLabelExpression = _chunkDPRLHGPOjs.renderLabelExpression; exports.resetViewToDefault = resetViewToDefault; exports.resolveMultiplePaths = _chunkDPRLHGPOjs.resolveMultiplePaths; exports.resolveSingleValue = _chunkDPRLHGPOjs.resolveSingleValue; exports.richtext = _chunkDPRLHGPOjs.richtext; exports.richtextConfigSchema = _chunkDPRLHGPOjs.richtextConfigSchema; exports.rollup = _chunkDPRLHGPOjs.rollup; exports.rollupConfigSchema = _chunkDPRLHGPOjs.rollupConfigSchema; exports.runWithContext = _chunkDPRLHGPOjs.runWithContext; exports.runWithFeatureFlags = _chunkDPRLHGPOjs.runWithFeatureFlags; exports.runWithMergedSchemaContext = _chunkDPRLHGPOjs.runWithMergedSchemaContext; exports.runWithSchemaContext = _chunkDPRLHGPOjs.runWithSchemaContext; exports.safeParseAttributeConfig = _chunkDPRLHGPOjs.safeParseAttributeConfig; exports.seedRegistryViews = _chunkDPRLHGPOjs.seedRegistryViews; exports.select = _chunkDPRLHGPOjs.select; exports.selectConfigSchema = _chunkDPRLHGPOjs.selectConfigSchema; exports.setContextValue = _chunkDPRLHGPOjs.setContextValue; exports.slugify = _chunkDPRLHGPOjs.slugify; exports.status = _chunkDPRLHGPOjs.status; exports.statusConfigSchema = _chunkDPRLHGPOjs.statusConfigSchema; exports.stringFlag = stringFlag; exports.success = _chunkDPRLHGPOjs.success; exports.syncAll = _chunkDPRLHGPOjs.syncAll; exports.syncNativeObjects = _chunkDPRLHGPOjs.syncNativeObjects; exports.syncNativeViews = _chunkDPRLHGPOjs.syncNativeViews; exports.text = _chunkDPRLHGPOjs.text; exports.textConfigSchema = _chunkDPRLHGPOjs.textConfigSchema; exports.textarea = _chunkDPRLHGPOjs.textarea; exports.textareaConfigSchema = _chunkDPRLHGPOjs.textareaConfigSchema; exports.toAdvancedFilterState = toAdvancedFilterState; exports.toSimpleFilterState = toSimpleFilterState; exports.traversePath = _chunkDPRLHGPOjs.traversePath; exports.tryGetFeatureValue = _chunkDPRLHGPOjs.tryGetFeatureValue; exports.user = _chunkDPRLHGPOjs.user; exports.userConfigSchema = _chunkDPRLHGPOjs.userConfigSchema; exports.validateAttribute = _chunkDPRLHGPOjs.validateAttribute; exports.validateAttributeConfig = _chunkDPRLHGPOjs.validateAttributeConfig; exports.validateDraft = _chunkDPRLHGPOjs.validateDraft; exports.validateDraftOrThrow = _chunkDPRLHGPOjs.validateDraftOrThrow; exports.validateFormulaExpression = _chunkDPRLHGPOjs.validateFormulaExpression; exports.validateObject = _chunkDPRLHGPOjs.validateObject; exports.validateObjectOrThrow = _chunkDPRLHGPOjs.validateObjectOrThrow; exports.validatePath = _chunkDPRLHGPOjs.validatePath; exports.verifyNativeObjectsSync = _chunkDPRLHGPOjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunkDPRLHGPOjs.verifyNativeViewsSync; exports.verifyRegistryViewsSeeded = _chunkDPRLHGPOjs.verifyRegistryViewsSeeded; exports.view = _chunkDPRLHGPOjs.view; exports.viewRegistry = viewRegistry; exports.wait = _chunkDPRLHGPOjs.wait; exports.withFeatureFlags = _chunkDPRLHGPOjs.withFeatureFlags; exports.withTenantContext = _chunkDPRLHGPOjs.withTenantContext; exports.workflow = _chunkDPRLHGPOjs.workflow;