@fibery/views 26.0.5 → 26.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/lib/_virtual/_rolldown/runtime.js +1 -2
  2. package/lib/errors.d.ts +1 -3
  3. package/lib/errors.js +1 -2
  4. package/lib/field-utils/avatar.d.ts +1 -3
  5. package/lib/field-utils/avatar.js +1 -2
  6. package/lib/field-utils/back-references.d.ts +1 -3
  7. package/lib/field-utils/back-references.js +1 -2
  8. package/lib/field-utils/comments.d.ts +1 -3
  9. package/lib/field-utils/comments.js +1 -2
  10. package/lib/field-utils/date-time.d.ts +1 -3
  11. package/lib/field-utils/date-time.js +1 -2
  12. package/lib/field-utils/enum-value.d.ts +1 -3
  13. package/lib/field-utils/enum-value.js +1 -2
  14. package/lib/field-utils/file.d.ts +1 -3
  15. package/lib/field-utils/file.js +1 -2
  16. package/lib/field-utils/icon.d.ts +1 -3
  17. package/lib/field-utils/icon.js +1 -2
  18. package/lib/field-utils/number.d.ts +1 -3
  19. package/lib/field-utils/number.js +5 -8
  20. package/lib/field-utils/reference-collection.d.ts +1 -3
  21. package/lib/field-utils/reference-collection.js +5 -7
  22. package/lib/field-utils/reference.d.ts +1 -3
  23. package/lib/field-utils/reference.js +3 -4
  24. package/lib/field-utils/relation-view.d.ts +1 -3
  25. package/lib/field-utils/relation-view.js +1 -2
  26. package/lib/field-utils/rich-text.d.ts +1 -3
  27. package/lib/field-utils/rich-text.js +1 -2
  28. package/lib/field-utils/text.d.ts +1 -3
  29. package/lib/field-utils/text.js +1 -2
  30. package/lib/field-utils/user-active.d.ts +1 -3
  31. package/lib/field-utils/user-active.js +1 -2
  32. package/lib/field-utils/user-role.d.ts +1 -3
  33. package/lib/field-utils/user-role.js +1 -2
  34. package/lib/field-utils/workflow.d.ts +1 -3
  35. package/lib/field-utils/workflow.js +1 -2
  36. package/lib/filter.d.ts +1 -3
  37. package/lib/index.d.ts +2 -4
  38. package/lib/index.js +2 -3
  39. package/lib/meta-validation.d.ts +1 -3
  40. package/lib/meta-validation.js +7 -12
  41. package/lib/private/board.d.ts +3 -4
  42. package/lib/private/board.js +6 -7
  43. package/lib/private/calendar.d.ts +1 -3
  44. package/lib/private/calendar.js +2 -3
  45. package/lib/private/feed.d.ts +1 -3
  46. package/lib/private/feed.js +2 -3
  47. package/lib/private/form.d.ts +1 -3
  48. package/lib/private/form.js +1 -2
  49. package/lib/private/map.d.ts +1 -3
  50. package/lib/private/map.js +2 -3
  51. package/lib/private/smart-folder.d.ts +1 -3
  52. package/lib/private/smart-folder.js +2 -3
  53. package/lib/private/timeline.d.ts +1 -3
  54. package/lib/private/timeline.js +7 -8
  55. package/lib/private/units.d.ts +1 -3
  56. package/lib/private/units.js +17 -2
  57. package/lib/private/utils.d.ts +1 -3
  58. package/lib/private/utils.js +3 -5
  59. package/lib/refs.d.ts +1 -3
  60. package/lib/unit-definitions/avatar-collection.d.ts +1 -3
  61. package/lib/unit-definitions/avatar-collection.js +1 -2
  62. package/lib/unit-definitions/avatar-input.d.ts +2 -4
  63. package/lib/unit-definitions/avatar-input.js +1 -2
  64. package/lib/unit-definitions/avatar.d.ts +2 -4
  65. package/lib/unit-definitions/avatar.js +1 -2
  66. package/lib/unit-definitions/back-references-list.d.ts +3 -5
  67. package/lib/unit-definitions/back-references-list.js +2 -3
  68. package/lib/unit-definitions/bool-checkbox.d.ts +2 -4
  69. package/lib/unit-definitions/bool-checkbox.js +2 -3
  70. package/lib/unit-definitions/bool.d.ts +2 -4
  71. package/lib/unit-definitions/bool.js +2 -3
  72. package/lib/unit-definitions/collection-count.d.ts +2 -4
  73. package/lib/unit-definitions/collection-count.js +1 -2
  74. package/lib/unit-definitions/color-input.d.ts +2 -4
  75. package/lib/unit-definitions/color-input.js +2 -3
  76. package/lib/unit-definitions/comments-list.d.ts +2 -4
  77. package/lib/unit-definitions/comments-list.js +2 -3
  78. package/lib/unit-definitions/date-range-combobox.d.ts +2 -4
  79. package/lib/unit-definitions/date-range-combobox.js +2 -3
  80. package/lib/unit-definitions/date-range.d.ts +2 -4
  81. package/lib/unit-definitions/date-range.js +2 -3
  82. package/lib/unit-definitions/date-time-combobox.d.ts +2 -4
  83. package/lib/unit-definitions/date-time-combobox.js +2 -3
  84. package/lib/unit-definitions/date.d.ts +2 -4
  85. package/lib/unit-definitions/date.js +2 -3
  86. package/lib/unit-definitions/email-input.d.ts +4 -6
  87. package/lib/unit-definitions/email-input.js +1 -2
  88. package/lib/unit-definitions/email.d.ts +3 -5
  89. package/lib/unit-definitions/email.js +1 -2
  90. package/lib/unit-definitions/emoji.d.ts +3 -5
  91. package/lib/unit-definitions/emoji.js +1 -2
  92. package/lib/unit-definitions/file-collection-count.d.ts +2 -4
  93. package/lib/unit-definitions/file-collection-count.js +2 -3
  94. package/lib/unit-definitions/file-compact-collection.d.ts +2 -4
  95. package/lib/unit-definitions/file-compact-collection.js +2 -3
  96. package/lib/unit-definitions/file-compact-reference.d.ts +1 -3
  97. package/lib/unit-definitions/file-compact-reference.js +1 -2
  98. package/lib/unit-definitions/file-reference.d.ts +2 -4
  99. package/lib/unit-definitions/file-reference.js +2 -3
  100. package/lib/unit-definitions/files-gallery.d.ts +2 -4
  101. package/lib/unit-definitions/files-gallery.js +2 -3
  102. package/lib/unit-definitions/files-l-list-item.d.ts +2 -4
  103. package/lib/unit-definitions/files-l-list-item.js +2 -3
  104. package/lib/unit-definitions/files-l-list.d.ts +2 -4
  105. package/lib/unit-definitions/files-l-list.js +2 -3
  106. package/lib/unit-definitions/files-list-item.d.ts +2 -4
  107. package/lib/unit-definitions/files-list-item.js +2 -3
  108. package/lib/unit-definitions/files-list.d.ts +2 -4
  109. package/lib/unit-definitions/files-list.js +2 -3
  110. package/lib/unit-definitions/geometry-preview.d.ts +3 -5
  111. package/lib/unit-definitions/geometry-preview.js +1 -2
  112. package/lib/unit-definitions/icon-button.d.ts +2 -4
  113. package/lib/unit-definitions/icon-button.js +2 -3
  114. package/lib/unit-definitions/icon-input.d.ts +4 -6
  115. package/lib/unit-definitions/icon-input.js +1 -2
  116. package/lib/unit-definitions/id.d.ts +1 -3
  117. package/lib/unit-definitions/id.js +1 -2
  118. package/lib/unit-definitions/index.d.ts +4 -3
  119. package/lib/unit-definitions/index.js +6 -5
  120. package/lib/unit-definitions/json-input.d.ts +2 -4
  121. package/lib/unit-definitions/json-input.js +2 -3
  122. package/lib/unit-definitions/json-preview.d.ts +26 -0
  123. package/lib/unit-definitions/json-preview.js +31 -0
  124. package/lib/unit-definitions/location-input.d.ts +3 -5
  125. package/lib/unit-definitions/location-input.js +1 -2
  126. package/lib/unit-definitions/location.d.ts +3 -5
  127. package/lib/unit-definitions/location.js +1 -2
  128. package/lib/unit-definitions/not-found.d.ts +1 -3
  129. package/lib/unit-definitions/not-found.js +0 -1
  130. package/lib/unit-definitions/number-input.d.ts +2 -4
  131. package/lib/unit-definitions/number-input.js +2 -3
  132. package/lib/unit-definitions/number.d.ts +1 -3
  133. package/lib/unit-definitions/number.js +1 -2
  134. package/lib/unit-definitions/phone-input.d.ts +4 -6
  135. package/lib/unit-definitions/phone-input.js +1 -2
  136. package/lib/unit-definitions/phone.d.ts +4 -6
  137. package/lib/unit-definitions/phone.js +1 -2
  138. package/lib/unit-definitions/progress-bar.d.ts +1 -3
  139. package/lib/unit-definitions/progress-bar.js +1 -2
  140. package/lib/unit-definitions/reference-collection-combobox.d.ts +2 -4
  141. package/lib/unit-definitions/reference-collection-combobox.js +2 -3
  142. package/lib/unit-definitions/reference-collection-list.d.ts +2 -4
  143. package/lib/unit-definitions/reference-collection-list.js +2 -3
  144. package/lib/unit-definitions/reference-collection-view.d.ts +2 -4
  145. package/lib/unit-definitions/reference-collection-view.js +2 -3
  146. package/lib/unit-definitions/reference-collection.d.ts +2 -4
  147. package/lib/unit-definitions/reference-collection.js +2 -3
  148. package/lib/unit-definitions/reference-combobox.d.ts +2 -4
  149. package/lib/unit-definitions/reference-combobox.js +2 -3
  150. package/lib/unit-definitions/reference-icon.d.ts +3 -5
  151. package/lib/unit-definitions/reference-icon.js +1 -2
  152. package/lib/unit-definitions/reference.d.ts +1 -3
  153. package/lib/unit-definitions/reference.js +1 -2
  154. package/lib/unit-definitions/rich-text-document.d.ts +2 -4
  155. package/lib/unit-definitions/rich-text-document.js +2 -3
  156. package/lib/unit-definitions/rich-text-snippet.d.ts +1 -3
  157. package/lib/unit-definitions/rich-text-snippet.js +1 -2
  158. package/lib/unit-definitions/single-location-preview.d.ts +3 -5
  159. package/lib/unit-definitions/single-location-preview.js +1 -2
  160. package/lib/unit-definitions/text-input.d.ts +2 -4
  161. package/lib/unit-definitions/text-input.js +2 -3
  162. package/lib/unit-definitions/text.d.ts +2 -4
  163. package/lib/unit-definitions/text.js +2 -3
  164. package/lib/unit-definitions/title-input.d.ts +1 -3
  165. package/lib/unit-definitions/title-input.js +1 -2
  166. package/lib/unit-definitions/title.d.ts +2 -4
  167. package/lib/unit-definitions/title.js +1 -2
  168. package/lib/unit-definitions/type-badge-abbr.d.ts +1 -3
  169. package/lib/unit-definitions/type-badge-abbr.js +1 -2
  170. package/lib/unit-definitions/type-badge.d.ts +1 -3
  171. package/lib/unit-definitions/type-badge.js +1 -2
  172. package/lib/unit-definitions/type-icon.d.ts +1 -3
  173. package/lib/unit-definitions/type-icon.js +1 -2
  174. package/lib/unit-definitions/url-input.d.ts +4 -6
  175. package/lib/unit-definitions/url-input.js +1 -2
  176. package/lib/unit-definitions/url.d.ts +3 -5
  177. package/lib/unit-definitions/url.js +1 -2
  178. package/lib/unit-definitions/user-button.d.ts +1 -3
  179. package/lib/unit-definitions/user-button.js +1 -2
  180. package/lib/unit-definitions/user-role-input.d.ts +3 -5
  181. package/lib/unit-definitions/user-role-input.js +1 -2
  182. package/lib/unit-definitions/user-role.d.ts +3 -5
  183. package/lib/unit-definitions/user-role.js +2 -3
  184. package/lib/unit-utils/access.d.ts +1 -3
  185. package/lib/unit-utils/access.js +1 -2
  186. package/lib/unit-utils/can-edit-field.d.ts +1 -3
  187. package/lib/unit-utils/can-edit-field.js +1 -2
  188. package/lib/unit-utils/common.d.ts +2 -4
  189. package/lib/unit-utils/common.js +1 -2
  190. package/lib/unit-utils/decimal.d.ts +0 -2
  191. package/lib/unit-utils/decimal.js +1 -2
  192. package/lib/unit-utils/dynamic-keys.d.ts +1 -3
  193. package/lib/unit-utils/dynamic-keys.js +1 -2
  194. package/lib/unit-utils/enums.d.ts +1 -3
  195. package/lib/unit-utils/enums.js +2 -3
  196. package/lib/unit-utils/formatters.d.ts +1 -3
  197. package/lib/unit-utils/formatters.js +2 -4
  198. package/lib/unit-utils/get-export-value.d.ts +1 -3
  199. package/lib/unit-utils/get-export-value.js +1 -2
  200. package/lib/unit-utils/get-field-label.d.ts +1 -3
  201. package/lib/unit-utils/get-field-label.js +1 -2
  202. package/lib/unit-utils/get-unmatched-unit-label.d.ts +1 -3
  203. package/lib/unit-utils/get-unmatched-unit-label.js +2 -4
  204. package/lib/unit-utils/wrap-normalized-in-expression.d.ts +1 -3
  205. package/lib/unit-utils/wrap-normalized-in-expression.js +1 -2
  206. package/lib/units/board.d.ts +1 -3
  207. package/lib/units/board.js +1 -2
  208. package/lib/units/canvas/all-units-data-definitions.d.ts +5 -5
  209. package/lib/units/canvas/all-units-data-definitions.js +6 -7
  210. package/lib/units/canvas/index.d.ts +0 -1
  211. package/lib/units/canvas/index.js +1 -2
  212. package/lib/units/canvas/type-badge-abbr.d.ts +1 -3
  213. package/lib/units/canvas/type-badge-abbr.js +1 -2
  214. package/lib/units/canvas/type-badge.d.ts +1 -3
  215. package/lib/units/canvas/type-badge.js +1 -2
  216. package/lib/units/default.d.ts +0 -1
  217. package/lib/units/default.js +1 -2
  218. package/lib/units/gallery.d.ts +0 -2
  219. package/lib/units/gallery.js +1 -2
  220. package/lib/units/gantt.d.ts +1 -3
  221. package/lib/units/gantt.js +1 -2
  222. package/lib/units/get-unit-definitions-for-view-type.d.ts +1 -3
  223. package/lib/units/get-unit-definitions-for-view-type.js +2 -3
  224. package/lib/units/grid.d.ts +1 -3
  225. package/lib/units/grid.js +8 -7
  226. package/lib/units/list.d.ts +1 -3
  227. package/lib/units/list.js +1 -2
  228. package/lib/units/make-factory.d.ts +1 -3
  229. package/lib/units/make-factory.js +21 -28
  230. package/lib/units/types.d.ts +2 -4
  231. package/package.json +7 -9
@@ -1,9 +1,8 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
4
  import { getExportValue } from "../unit-utils/get-export-value.js";
4
5
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/reference-collection-combobox.d.ts
7
6
  export declare const ReferenceCollectionCombobox: {
8
7
  type: "reference-collection-combobox";
9
8
  name: string;
@@ -16,5 +15,4 @@ export declare const ReferenceCollectionCombobox: {
16
15
  calculateErrors: typeof calculateUnitExpressionErrors;
17
16
  getExportValue: typeof getExportValue;
18
17
  canExport: () => true;
19
- };
20
- //#endregion
18
+ };
@@ -1,8 +1,8 @@
1
- import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
1
  import { canEditField } from "../unit-utils/can-edit-field.js";
2
+ import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
3
3
  import { getExportValue } from "../unit-utils/get-export-value.js";
4
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- //#region src/unit-definitions/reference-collection-combobox.ts
5
+ // src/unit-definitions/reference-collection-combobox.ts
6
6
  const type = "reference-collection-combobox";
7
7
  const ReferenceCollectionCombobox = {
8
8
  type,
@@ -17,5 +17,4 @@ const ReferenceCollectionCombobox = {
17
17
  getExportValue,
18
18
  canExport: () => true
19
19
  };
20
- //#endregion
21
20
  export { ReferenceCollectionCombobox };
@@ -1,9 +1,8 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
4
  import { getReferenceCollectionExportValue } from "../unit-utils/get-export-value.js";
4
5
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/reference-collection-list.d.ts
7
6
  export declare const ReferenceCollectionList: {
8
7
  type: "reference-collection-list";
9
8
  name: string;
@@ -16,5 +15,4 @@ export declare const ReferenceCollectionList: {
16
15
  calculateErrors: typeof calculateUnitExpressionErrors;
17
16
  getExportValue: typeof getReferenceCollectionExportValue;
18
17
  canExport: () => true;
19
- };
20
- //#endregion
18
+ };
@@ -1,8 +1,8 @@
1
- import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
1
  import { canEditField } from "../unit-utils/can-edit-field.js";
2
+ import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
3
3
  import { getReferenceCollectionExportValue } from "../unit-utils/get-export-value.js";
4
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- //#region src/unit-definitions/reference-collection-list.tsx
5
+ // src/unit-definitions/reference-collection-list.tsx
6
6
  const type = "reference-collection-list";
7
7
  const ReferenceCollectionList = {
8
8
  type,
@@ -17,5 +17,4 @@ const ReferenceCollectionList = {
17
17
  getExportValue: getReferenceCollectionExportValue,
18
18
  canExport: () => true
19
19
  };
20
- //#endregion
21
20
  export { ReferenceCollectionList };
@@ -1,9 +1,8 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
4
  import { getReferenceCollectionExportValue } from "../unit-utils/get-export-value.js";
4
5
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/reference-collection-view.d.ts
7
6
  export declare const ReferenceCollectionView: {
8
7
  type: "reference-collection-view";
9
8
  name: string;
@@ -16,5 +15,4 @@ export declare const ReferenceCollectionView: {
16
15
  calculateErrors: typeof calculateUnitExpressionErrors;
17
16
  getExportValue: typeof getReferenceCollectionExportValue;
18
17
  canExport: () => true;
19
- };
20
- //#endregion
18
+ };
@@ -1,8 +1,8 @@
1
- import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
1
  import { canEditField } from "../unit-utils/can-edit-field.js";
2
+ import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
3
3
  import { getReferenceCollectionExportValue } from "../unit-utils/get-export-value.js";
4
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- //#region src/unit-definitions/reference-collection-view.tsx
5
+ // src/unit-definitions/reference-collection-view.tsx
6
6
  const type = "reference-collection-view";
7
7
  const ReferenceCollectionView = {
8
8
  type,
@@ -15,5 +15,4 @@ const ReferenceCollectionView = {
15
15
  getExportValue: getReferenceCollectionExportValue,
16
16
  canExport: () => true
17
17
  };
18
- //#endregion
19
18
  export { ReferenceCollectionView };
@@ -1,9 +1,8 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
4
  import { getReferenceCollectionExportValue } from "../unit-utils/get-export-value.js";
4
5
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/reference-collection.d.ts
7
6
  export declare const ReferenceCollection: {
8
7
  type: "reference-collection";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const ReferenceCollection: {
20
19
  canEdit: typeof canEditField;
21
20
  getExportValue: typeof getReferenceCollectionExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,10 +1,10 @@
1
1
  import { REFERENCE_COLLECTION_LIMIT, calculateReferenceCollectionQuery } from "../field-utils/reference-collection.js";
2
- import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
3
2
  import { canEditField } from "../unit-utils/can-edit-field.js";
3
+ import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
4
4
  import { getReferenceCollectionExportValue } from "../unit-utils/get-export-value.js";
5
5
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
6
6
  import { getFieldObjectsByFieldExpression } from "@fibery/expression-utils/src/utils";
7
- //#region src/unit-definitions/reference-collection.ts
7
+ // src/unit-definitions/reference-collection.ts
8
8
  const type = "reference-collection";
9
9
  const ReferenceCollection = {
10
10
  type,
@@ -27,5 +27,4 @@ const ReferenceCollection = {
27
27
  getExportValue: getReferenceCollectionExportValue,
28
28
  canExport: () => true
29
29
  };
30
- //#endregion
31
30
  export { ReferenceCollection };
@@ -1,9 +1,8 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
4
  import { getReferenceExportValue } from "../unit-utils/get-export-value.js";
4
5
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/reference-combobox.d.ts
7
6
  export declare const ReferenceCombobox: {
8
7
  type: "reference-combobox";
9
8
  name: string;
@@ -16,5 +15,4 @@ export declare const ReferenceCombobox: {
16
15
  calculateErrors: typeof calculateUnitExpressionErrors;
17
16
  getExportValue: typeof getReferenceExportValue;
18
17
  canExport: () => true;
19
- };
20
- //#endregion
18
+ };
@@ -1,8 +1,8 @@
1
- import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
1
  import { canEditField } from "../unit-utils/can-edit-field.js";
2
+ import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
3
3
  import { getReferenceExportValue } from "../unit-utils/get-export-value.js";
4
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- //#region src/unit-definitions/reference-combobox.ts
5
+ // src/unit-definitions/reference-combobox.ts
6
6
  const type = "reference-combobox";
7
7
  const ReferenceCombobox = {
8
8
  type,
@@ -17,5 +17,4 @@ const ReferenceCombobox = {
17
17
  getExportValue: getReferenceExportValue,
18
18
  canExport: () => true
19
19
  };
20
- //#endregion
21
20
  export { ReferenceCombobox };
@@ -1,7 +1,6 @@
1
- import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
- import { getReferenceExportValue } from "../unit-utils/get-export-value.js";
3
1
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
4
- //#region src/unit-definitions/reference-icon.d.ts
2
+ import { getReferenceExportValue } from "../unit-utils/get-export-value.js";
3
+ import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
5
4
  export declare const ReferenceIcon: {
6
5
  getLabel: typeof getFieldLabel;
7
6
  getQuerySelect({ typeObject, unit: { expression } }: {
@@ -24,5 +23,4 @@ export declare const ReferenceIcon: {
24
23
  makeUnit: ({ expression }?: {
25
24
  expression?: UnitExpression;
26
25
  }) => ExpressionFieldUnit;
27
- };
28
- //#endregion
26
+ };
@@ -1,6 +1,6 @@
1
1
  import { makeUnitMethod } from "../unit-utils/common.js";
2
2
  import { Reference } from "./reference.js";
3
- //#region src/unit-definitions/reference-icon.ts
3
+ // src/unit-definitions/reference-icon.ts
4
4
  const type = "reference-icon";
5
5
  const ReferenceIcon = {
6
6
  ...Reference,
@@ -8,5 +8,4 @@ const ReferenceIcon = {
8
8
  name: "Icon",
9
9
  makeUnit: makeUnitMethod(type)
10
10
  };
11
- //#endregion
12
11
  export { ReferenceIcon };
@@ -1,7 +1,6 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
2
  import { getReferenceExportValue } from "../unit-utils/get-export-value.js";
3
3
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
4
- //#region src/unit-definitions/reference.d.ts
5
4
  export declare const Reference: {
6
5
  type: "reference";
7
6
  name: string;
@@ -24,5 +23,4 @@ export declare const Reference: {
24
23
  }): boolean;
25
24
  getExportValue: typeof getReferenceExportValue;
26
25
  canExport: () => true;
27
- };
28
- //#endregion
26
+ };
@@ -4,7 +4,7 @@ import { getReferenceExportValue } from "../unit-utils/get-export-value.js";
4
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
5
  import { assertIsValidExpression, getFieldObjectsByFieldExpression } from "@fibery/expression-utils/src/utils";
6
6
  import { denormalizeSelect } from "@fibery/query-utils/src/select";
7
- //#region src/unit-definitions/reference.ts
7
+ // src/unit-definitions/reference.ts
8
8
  const type = "reference";
9
9
  const Reference = {
10
10
  type,
@@ -60,5 +60,4 @@ const Reference = {
60
60
  getExportValue: getReferenceExportValue,
61
61
  canExport: () => true
62
62
  };
63
- //#endregion
64
63
  export { Reference };
@@ -1,9 +1,8 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
4
  import { getSnippetExportValue } from "../unit-utils/get-export-value.js";
4
5
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/rich-text-document.d.ts
7
6
  export declare const RichTextDocument: {
8
7
  type: "rich-text-document";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const RichTextDocument: {
20
19
  }): import("@fibery/schema").Select;
21
20
  getExportValue: typeof getSnippetExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,9 +1,9 @@
1
1
  import { getRichTextQuerySelect } from "../field-utils/rich-text.js";
2
- import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
3
2
  import { canEditField } from "../unit-utils/can-edit-field.js";
3
+ import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
4
4
  import { getSnippetExportValue } from "../unit-utils/get-export-value.js";
5
5
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
6
- //#region src/unit-definitions/rich-text-document.ts
6
+ // src/unit-definitions/rich-text-document.ts
7
7
  const type = "rich-text-document";
8
8
  const RichTextDocument = {
9
9
  type,
@@ -22,5 +22,4 @@ const RichTextDocument = {
22
22
  getExportValue: getSnippetExportValue,
23
23
  canExport: () => true
24
24
  };
25
- //#endregion
26
25
  export { RichTextDocument };
@@ -1,7 +1,6 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
2
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
3
  import { getSnippetExportValue } from "../unit-utils/get-export-value.js";
4
- //#region src/unit-definitions/rich-text-snippet.d.ts
5
4
  export declare const type = "rich-text-snippet";
6
5
  export declare const RichTextSnippet: {
7
6
  type: "rich-text-snippet";
@@ -22,5 +21,4 @@ export declare const RichTextSnippet: {
22
21
  calculateErrors: typeof calculateUnitExpressionErrors;
23
22
  getExportValue: typeof getSnippetExportValue;
24
23
  canExport: () => true;
25
- };
26
- //#endregion
24
+ };
@@ -2,7 +2,7 @@ import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/com
2
2
  import { getSnippetExportValue } from "../unit-utils/get-export-value.js";
3
3
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
4
4
  import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
5
- //#region src/unit-definitions/rich-text-snippet.ts
5
+ // src/unit-definitions/rich-text-snippet.ts
6
6
  const type = "rich-text-snippet";
7
7
  const RichTextSnippet = {
8
8
  type,
@@ -31,5 +31,4 @@ const RichTextSnippet = {
31
31
  getExportValue: getSnippetExportValue,
32
32
  canExport: () => true
33
33
  };
34
- //#endregion
35
34
  export { RichTextSnippet, type };
@@ -1,9 +1,8 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
- import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
- import { getExportValue } from "../unit-utils/get-export-value.js";
4
2
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
3
+ import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
5
4
  import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/single-location-preview.d.ts
5
+ import { getExportValue } from "../unit-utils/get-export-value.js";
7
6
  export declare const SingleLocationPreview: {
8
7
  type: "single-location-preview";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const SingleLocationPreview: {
20
19
  canEdit: typeof canEditField;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,6 +1,6 @@
1
1
  import { makeUnitMethod } from "../unit-utils/common.js";
2
2
  import { Text } from "./text.js";
3
- //#region src/unit-definitions/single-location-preview.ts
3
+ // src/unit-definitions/single-location-preview.ts
4
4
  const type = "single-location-preview";
5
5
  const SingleLocationPreview = {
6
6
  type,
@@ -13,5 +13,4 @@ const SingleLocationPreview = {
13
13
  getExportValue: Text.getExportValue,
14
14
  canExport: () => true
15
15
  };
16
- //#endregion
17
16
  export { SingleLocationPreview };
@@ -1,9 +1,8 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
4
  import { getExportValue } from "../unit-utils/get-export-value.js";
4
5
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/text-input.d.ts
7
6
  export declare const TextInput: {
8
7
  type: "text-input";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const TextInput: {
20
19
  calculateErrors: typeof calculateUnitExpressionErrors;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,9 +1,9 @@
1
- import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
1
  import { canEditField } from "../unit-utils/can-edit-field.js";
2
+ import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
3
3
  import { getExportValue } from "../unit-utils/get-export-value.js";
4
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
5
  import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
6
- //#region src/unit-definitions/text-input.tsx
6
+ // src/unit-definitions/text-input.tsx
7
7
  const type = "text-input";
8
8
  const TextInput = {
9
9
  type,
@@ -21,5 +21,4 @@ const TextInput = {
21
21
  getExportValue,
22
22
  canExport: () => true
23
23
  };
24
- //#endregion
25
24
  export { TextInput };
@@ -1,9 +1,8 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
4
  import { getExportValue } from "../unit-utils/get-export-value.js";
4
5
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/text.d.ts
7
6
  export declare const Text: {
8
7
  type: "text";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const Text: {
20
19
  calculateErrors: typeof calculateUnitExpressionErrors;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,9 +1,9 @@
1
- import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
1
  import { canEditField } from "../unit-utils/can-edit-field.js";
2
+ import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
3
3
  import { getExportValue } from "../unit-utils/get-export-value.js";
4
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
5
  import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
6
- //#region src/unit-definitions/text.ts
6
+ // src/unit-definitions/text.ts
7
7
  const type = "text";
8
8
  const Text = {
9
9
  type,
@@ -21,5 +21,4 @@ const Text = {
21
21
  getExportValue,
22
22
  canExport: () => true
23
23
  };
24
- //#endregion
25
24
  export { Text };
@@ -1,6 +1,5 @@
1
1
  import { ExpressionFieldUnit, FieldUnit } from "../units/types.js";
2
2
  import { getTitleExportValue } from "../unit-utils/get-export-value.js";
3
- //#region src/unit-definitions/title-input.d.ts
4
3
  export declare const TitleInput: {
5
4
  type: "title-input";
6
5
  name: string;
@@ -21,5 +20,4 @@ export declare const TitleInput: {
21
20
  canEdit: () => false;
22
21
  getExportValue: typeof getTitleExportValue;
23
22
  canExport: () => true;
24
- };
25
- //#endregion
23
+ };
@@ -1,5 +1,5 @@
1
1
  import { Title } from "./title.js";
2
- //#region src/unit-definitions/title-input.tsx
2
+ // src/unit-definitions/title-input.tsx
3
3
  const type = "title-input";
4
4
  const TitleInput = {
5
5
  type,
@@ -15,5 +15,4 @@ const TitleInput = {
15
15
  getExportValue: Title.getExportValue,
16
16
  canExport: () => true
17
17
  };
18
- //#endregion
19
18
  export { TitleInput };
@@ -1,6 +1,5 @@
1
- import { FieldUnit } from "../units/types.js";
2
1
  import { getTitleExportValue } from "../unit-utils/get-export-value.js";
3
- //#region src/unit-definitions/title.d.ts
2
+ import { FieldUnit } from "../units/types.js";
4
3
  export declare const Title: {
5
4
  type: "title";
6
5
  name: string;
@@ -24,5 +23,4 @@ export declare const Title: {
24
23
  canEdit(): false;
25
24
  getExportValue: typeof getTitleExportValue;
26
25
  canExport: () => true;
27
- };
28
- //#endregion
26
+ };
@@ -1,6 +1,6 @@
1
1
  import { getTitleExportValue } from "../unit-utils/get-export-value.js";
2
2
  import { toSelectMapClause } from "@fibery/query-utils/src/select";
3
- //#region src/unit-definitions/title.ts
3
+ // src/unit-definitions/title.ts
4
4
  const type = "title";
5
5
  const Title = {
6
6
  type,
@@ -29,5 +29,4 @@ const Title = {
29
29
  getExportValue: getTitleExportValue,
30
30
  canExport: () => true
31
31
  };
32
- //#endregion
33
32
  export { Title };
@@ -1,4 +1,3 @@
1
- //#region src/unit-definitions/type-badge-abbr.d.ts
2
1
  export declare const TypeBadgeAbbr: {
3
2
  type: "type-badge-abbr";
4
3
  name: string;
@@ -12,5 +11,4 @@ export declare const TypeBadgeAbbr: {
12
11
  calculateErrors(): never[];
13
12
  getExportValue(): null;
14
13
  canExport: () => false;
15
- };
16
- //#endregion
14
+ };
@@ -1,4 +1,4 @@
1
- //#region src/unit-definitions/type-badge-abbr.ts
1
+ // src/unit-definitions/type-badge-abbr.ts
2
2
  const type = "type-badge-abbr";
3
3
  const TypeBadgeAbbr = {
4
4
  type,
@@ -24,5 +24,4 @@ const TypeBadgeAbbr = {
24
24
  },
25
25
  canExport: () => false
26
26
  };
27
- //#endregion
28
27
  export { TypeBadgeAbbr };
@@ -1,4 +1,3 @@
1
- //#region src/unit-definitions/type-badge.d.ts
2
1
  export declare const TypeBadge: {
3
2
  type: "type-badge";
4
3
  name: string;
@@ -12,5 +11,4 @@ export declare const TypeBadge: {
12
11
  calculateErrors(): never[];
13
12
  getExportValue(): null;
14
13
  canExport: () => false;
15
- };
16
- //#endregion
14
+ };
@@ -1,4 +1,4 @@
1
- //#region src/unit-definitions/type-badge.ts
1
+ // src/unit-definitions/type-badge.ts
2
2
  const type = "type-badge";
3
3
  const TypeBadge = {
4
4
  type,
@@ -24,5 +24,4 @@ const TypeBadge = {
24
24
  },
25
25
  canExport: () => false
26
26
  };
27
- //#endregion
28
27
  export { TypeBadge };
@@ -1,4 +1,3 @@
1
- //#region src/unit-definitions/type-icon.d.ts
2
1
  export declare const TypeIcon: {
3
2
  type: "type-icon";
4
3
  name: string;
@@ -12,5 +11,4 @@ export declare const TypeIcon: {
12
11
  calculateErrors(): never[];
13
12
  getExportValue(): null;
14
13
  canExport: () => false;
15
- };
16
- //#endregion
14
+ };
@@ -1,4 +1,4 @@
1
- //#region src/unit-definitions/type-icon.ts
1
+ // src/unit-definitions/type-icon.ts
2
2
  const type = "type-icon";
3
3
  const TypeIcon = {
4
4
  type,
@@ -24,5 +24,4 @@ const TypeIcon = {
24
24
  },
25
25
  canExport: () => false
26
26
  };
27
- //#endregion
28
27
  export { TypeIcon };
@@ -1,9 +1,8 @@
1
- import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
1
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
+ import { getFieldLabel } from "../unit-utils/get-field-label.js";
2
3
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
4
  import { getExportValue } from "../unit-utils/get-export-value.js";
4
- import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
- import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/url-input.d.ts
5
+ import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
7
6
  export declare const UrlInput: {
8
7
  canEdit: typeof canEditField;
9
8
  getLabel: typeof getFieldLabel;
@@ -20,5 +19,4 @@ export declare const UrlInput: {
20
19
  makeUnit: ({ expression }?: {
21
20
  expression?: UnitExpression;
22
21
  }) => ExpressionFieldUnit;
23
- };
24
- //#endregion
22
+ };
@@ -1,6 +1,6 @@
1
1
  import { makeUnitMethod } from "../unit-utils/common.js";
2
2
  import { TextInput } from "./text-input.js";
3
- //#region src/unit-definitions/url-input.tsx
3
+ // src/unit-definitions/url-input.tsx
4
4
  const type = "url-input";
5
5
  const UrlInput = {
6
6
  ...TextInput,
@@ -8,5 +8,4 @@ const UrlInput = {
8
8
  name: "Input",
9
9
  makeUnit: makeUnitMethod(type)
10
10
  };
11
- //#endregion
12
11
  export { UrlInput };
@@ -1,9 +1,8 @@
1
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
- import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
3
- import { getExportValue } from "../unit-utils/get-export-value.js";
4
2
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
3
+ import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
5
4
  import { canEditField } from "../unit-utils/can-edit-field.js";
6
- //#region src/unit-definitions/url.d.ts
5
+ import { getExportValue } from "../unit-utils/get-export-value.js";
7
6
  export declare const Url: {
8
7
  type: "url";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const Url: {
20
19
  canEdit: typeof canEditField;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,6 +1,6 @@
1
1
  import { makeUnitMethod } from "../unit-utils/common.js";
2
2
  import { Text } from "./text.js";
3
- //#region src/unit-definitions/url.ts
3
+ // src/unit-definitions/url.ts
4
4
  const type = "url";
5
5
  const Url = {
6
6
  type,
@@ -13,5 +13,4 @@ const Url = {
13
13
  getExportValue: Text.getExportValue,
14
14
  canExport: () => true
15
15
  };
16
- //#endregion
17
16
  export { Url };
@@ -1,5 +1,4 @@
1
1
  import { ButtonUnit } from "../units/types.js";
2
- //#region src/unit-definitions/user-button.d.ts
3
2
  export declare const UserButton: {
4
3
  type: "user-button";
5
4
  name: string;
@@ -10,5 +9,4 @@ export declare const UserButton: {
10
9
  calculateErrors: () => never[];
11
10
  getExportValue: () => null;
12
11
  canExport: () => false;
13
- };
14
- //#endregion
12
+ };