@fibery/views 26.0.6 → 26.0.8

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 +7 -20
  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 +4 -15
  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 +5 -9
  41. package/lib/private/board.d.ts +1 -3
  42. package/lib/private/board.js +4 -5
  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 +5 -6
  53. package/lib/private/timeline.d.ts +1 -3
  54. package/lib/private/timeline.js +6 -7
  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 +3 -15
  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 +3 -14
  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 +3 -14
  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 +3 -5
  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 +2 -3
  205. package/lib/unit-utils/wrap-normalized-in-expression.js +15 -14
  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 +20 -28
  230. package/lib/units/types.d.ts +2 -4
  231. package/package.json +7 -9
@@ -1,11 +1,11 @@
1
1
  import { getEntityLinksListSelect } from "../field-utils/back-references.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors, makeUnitMethod } 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
6
  import { getFieldObjectByFieldExpression } from "@fibery/expression-utils/src/utils";
7
7
  import { calculateDefaultOrderBy } from "@fibery/query-utils/src/query";
8
- //#region src/unit-definitions/back-references-list.ts
8
+ // src/unit-definitions/back-references-list.ts
9
9
  const type = "back-references-list";
10
10
  const getQuerySelect = (fieldObject) => {
11
11
  const { name, typeObject } = fieldObject;
@@ -35,5 +35,4 @@ const BackReferencesList = {
35
35
  getExportValue,
36
36
  canExport: () => true
37
37
  };
38
- //#endregion
39
38
  export { BackReferencesList };
@@ -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/bool-checkbox.d.ts
7
6
  export declare const BoolCheckbox: {
8
7
  type: "bool-checkbox";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const BoolCheckbox: {
20
19
  calculateErrors: typeof calculateUnitExpressionErrors;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,9 +1,9 @@
1
+ import { canEditField } from "../unit-utils/can-edit-field.js";
1
2
  import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
3
  import { getExportValue } from "../unit-utils/get-export-value.js";
3
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
4
- import { canEditField } from "../unit-utils/can-edit-field.js";
5
5
  import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
6
- //#region src/unit-definitions/bool-checkbox.ts
6
+ // src/unit-definitions/bool-checkbox.ts
7
7
  const type = "bool-checkbox";
8
8
  const BoolCheckbox = {
9
9
  type,
@@ -21,5 +21,4 @@ const BoolCheckbox = {
21
21
  getExportValue,
22
22
  canExport: () => true
23
23
  };
24
- //#endregion
25
24
  export { BoolCheckbox };
@@ -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/bool.d.ts
7
6
  export declare const Bool: {
8
7
  type: "bool";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const Bool: {
20
19
  calculateErrors: typeof calculateUnitExpressionErrors;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,9 +1,9 @@
1
+ import { canEditField } from "../unit-utils/can-edit-field.js";
1
2
  import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
3
  import { getExportValue } from "../unit-utils/get-export-value.js";
3
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
4
- import { canEditField } from "../unit-utils/can-edit-field.js";
5
5
  import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
6
- //#region src/unit-definitions/bool.ts
6
+ // src/unit-definitions/bool.ts
7
7
  const type = "bool";
8
8
  const Bool = {
9
9
  type,
@@ -21,5 +21,4 @@ const Bool = {
21
21
  getExportValue,
22
22
  canExport: () => true
23
23
  };
24
- //#endregion
25
24
  export { Bool };
@@ -1,7 +1,6 @@
1
- import { NumberDisplaySettings } from "../field-utils/number.js";
2
1
  import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
2
+ import { NumberDisplaySettings } from "../field-utils/number.js";
3
3
  import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
4
- //#region src/unit-definitions/collection-count.d.ts
5
4
  export declare const CollectionCount: {
6
5
  type: "collection-count";
7
6
  name: string;
@@ -28,5 +27,4 @@ export declare const CollectionCount: {
28
27
  displaySettings: NumberDisplaySettings;
29
28
  }) => unknown;
30
29
  canExport: () => true;
31
- };
32
- //#endregion
30
+ };
@@ -2,7 +2,7 @@ import { getCountKey, makeCollectionCountExpression } from "../field-utils/refer
2
2
  import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
3
3
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
4
4
  import { getFieldObjectByFieldExpression } from "@fibery/expression-utils/src/utils";
5
- //#region src/unit-definitions/collection-count.ts
5
+ // src/unit-definitions/collection-count.ts
6
6
  const type = "collection-count";
7
7
  const CollectionCount = {
8
8
  type,
@@ -31,5 +31,4 @@ const CollectionCount = {
31
31
  },
32
32
  canExport: () => true
33
33
  };
34
- //#endregion
35
34
  export { CollectionCount };
@@ -1,8 +1,7 @@
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 { getFieldLabel } from "../unit-utils/get-field-label.js";
4
- import { canEditField } from "../unit-utils/can-edit-field.js";
5
- //#region src/unit-definitions/color-input.d.ts
6
5
  export declare const ColorInput: {
7
6
  type: "color-input";
8
7
  name: string;
@@ -19,5 +18,4 @@ export declare const ColorInput: {
19
18
  calculateErrors: typeof calculateUnitExpressionErrors;
20
19
  getExportValue: () => null;
21
20
  canExport: () => false;
22
- };
23
- //#endregion
21
+ };
@@ -1,8 +1,8 @@
1
+ import { canEditField } from "../unit-utils/can-edit-field.js";
1
2
  import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
3
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
3
- import { canEditField } from "../unit-utils/can-edit-field.js";
4
4
  import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
5
- //#region src/unit-definitions/color-input.ts
5
+ // src/unit-definitions/color-input.ts
6
6
  const type = "color-input";
7
7
  const ColorInput = {
8
8
  type,
@@ -20,5 +20,4 @@ const ColorInput = {
20
20
  getExportValue: () => null,
21
21
  canExport: () => false
22
22
  };
23
- //#endregion
24
23
  export { ColorInput };
@@ -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/comments-list.d.ts
7
6
  export declare const CommentsList: {
8
7
  type: "comments-list";
9
8
  name: string;
@@ -60,5 +59,4 @@ export declare const CommentsList: {
60
59
  calculateErrors: typeof calculateUnitExpressionErrors;
61
60
  getExportValue: typeof getExportValue;
62
61
  canExport: () => true;
63
- };
64
- //#endregion
62
+ };
@@ -1,10 +1,10 @@
1
1
  import { getQuerySelect } from "../field-utils/comments.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors, makeUnitMethod } 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
6
  import { getFieldObjectByFieldExpression } from "@fibery/expression-utils/src/utils";
7
- //#region src/unit-definitions/comments-list.ts
7
+ // src/unit-definitions/comments-list.ts
8
8
  const type = "comments-list";
9
9
  const CommentsList = {
10
10
  type,
@@ -24,5 +24,4 @@ const CommentsList = {
24
24
  getExportValue,
25
25
  canExport: () => true
26
26
  };
27
- //#endregion
28
27
  export { CommentsList };
@@ -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 { getDateRangeExportValue } 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/date-range-combobox.d.ts
7
6
  export declare const DateRangeCombobox: {
8
7
  type: "date-range-combobox";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const DateRangeCombobox: {
20
19
  calculateErrors: typeof calculateUnitExpressionErrors;
21
20
  getExportValue: typeof getDateRangeExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,9 +1,9 @@
1
+ import { canEditField } from "../unit-utils/can-edit-field.js";
1
2
  import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
3
  import { getDateRangeExportValue } from "../unit-utils/get-export-value.js";
3
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
4
- import { canEditField } from "../unit-utils/can-edit-field.js";
5
5
  import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
6
- //#region src/unit-definitions/date-range-combobox.ts
6
+ // src/unit-definitions/date-range-combobox.ts
7
7
  const type = "date-range-combobox";
8
8
  const DateRangeCombobox = {
9
9
  type,
@@ -21,5 +21,4 @@ const DateRangeCombobox = {
21
21
  getExportValue: getDateRangeExportValue,
22
22
  canExport: () => true
23
23
  };
24
- //#endregion
25
24
  export { DateRangeCombobox };
@@ -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 { getDateRangeExportValue } 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/date-range.d.ts
7
6
  export declare const DateRange: {
8
7
  type: "date-range";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const DateRange: {
20
19
  calculateErrors: typeof calculateUnitExpressionErrors;
21
20
  getExportValue: typeof getDateRangeExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,9 +1,9 @@
1
+ import { canEditField } from "../unit-utils/can-edit-field.js";
1
2
  import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
3
  import { getDateRangeExportValue } from "../unit-utils/get-export-value.js";
3
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
4
- import { canEditField } from "../unit-utils/can-edit-field.js";
5
5
  import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
6
- //#region src/unit-definitions/date-range.ts
6
+ // src/unit-definitions/date-range.ts
7
7
  const type = "date-range";
8
8
  const DateRange = {
9
9
  type,
@@ -21,5 +21,4 @@ const DateRange = {
21
21
  getExportValue: getDateRangeExportValue,
22
22
  canExport: () => true
23
23
  };
24
- //#endregion
25
24
  export { DateRange };
@@ -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/date-time-combobox.d.ts
7
6
  export declare const DateTimeCombobox: {
8
7
  type: "date-time-combobox";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const DateTimeCombobox: {
20
19
  calculateErrors: typeof calculateUnitExpressionErrors;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,9 +1,9 @@
1
+ import { canEditField } from "../unit-utils/can-edit-field.js";
1
2
  import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
3
  import { getExportValue } from "../unit-utils/get-export-value.js";
3
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
4
- import { canEditField } from "../unit-utils/can-edit-field.js";
5
5
  import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
6
- //#region src/unit-definitions/date-time-combobox.ts
6
+ // src/unit-definitions/date-time-combobox.ts
7
7
  const type = "date-time-combobox";
8
8
  const DateTimeCombobox = {
9
9
  type,
@@ -21,5 +21,4 @@ const DateTimeCombobox = {
21
21
  getExportValue,
22
22
  canExport: () => true
23
23
  };
24
- //#endregion
25
24
  export { DateTimeCombobox };
@@ -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/date.d.ts
7
6
  export declare const Date: {
8
7
  type: "date";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const Date: {
20
19
  calculateErrors: typeof calculateUnitExpressionErrors;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,9 +1,9 @@
1
+ import { canEditField } from "../unit-utils/can-edit-field.js";
1
2
  import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
2
3
  import { getExportValue } from "../unit-utils/get-export-value.js";
3
4
  import { getFieldLabel } from "../unit-utils/get-field-label.js";
4
- import { canEditField } from "../unit-utils/can-edit-field.js";
5
5
  import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
6
- //#region src/unit-definitions/date.ts
6
+ // src/unit-definitions/date.ts
7
7
  const type = "date";
8
8
  const Date = {
9
9
  type,
@@ -21,5 +21,4 @@ const Date = {
21
21
  getExportValue,
22
22
  canExport: () => true
23
23
  };
24
- //#endregion
25
24
  export { Date };
@@ -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/email-input.d.ts
5
+ import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
7
6
  export declare const EmailInput: {
8
7
  canEdit: typeof canEditField;
9
8
  getLabel: typeof getFieldLabel;
@@ -20,5 +19,4 @@ export declare const EmailInput: {
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/email-input.tsx
3
+ // src/unit-definitions/email-input.tsx
4
4
  const type = "email-input";
5
5
  const EmailInput = {
6
6
  ...TextInput,
@@ -8,5 +8,4 @@ const EmailInput = {
8
8
  name: "Email input",
9
9
  makeUnit: makeUnitMethod(type)
10
10
  };
11
- //#endregion
12
11
  export { EmailInput };
@@ -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/email.d.ts
5
+ import { getExportValue } from "../unit-utils/get-export-value.js";
7
6
  export declare const Email: {
8
7
  type: "email";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const Email: {
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/email.ts
3
+ // src/unit-definitions/email.ts
4
4
  const type = "email";
5
5
  const Email = {
6
6
  type,
@@ -13,5 +13,4 @@ const Email = {
13
13
  getExportValue: Text.getExportValue,
14
14
  canExport: () => true
15
15
  };
16
- //#endregion
17
16
  export { Email };
@@ -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/emoji.d.ts
5
+ import { getExportValue } from "../unit-utils/get-export-value.js";
7
6
  export declare const Emoji: {
8
7
  type: "emoji";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const Emoji: {
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/emoji.ts
3
+ // src/unit-definitions/emoji.ts
4
4
  const type = "emoji";
5
5
  const Emoji = {
6
6
  type,
@@ -13,5 +13,4 @@ const Emoji = {
13
13
  getExportValue: Text.getExportValue,
14
14
  canExport: () => true
15
15
  };
16
- //#endregion
17
16
  export { Emoji };
@@ -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/file-collection-count.d.ts
7
6
  export declare const FileCollectionCount: {
8
7
  type: "file-collection-count";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const FileCollectionCount: {
20
19
  }): import("@fibery/schema").Select;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,12 +1,12 @@
1
1
  import { getFilesSelect } from "../field-utils/file.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors, makeUnitMethod } 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
6
  import { wrapNormalizedInExpression } from "../unit-utils/wrap-normalized-in-expression.js";
7
7
  import { getFieldObjectsByFieldExpression } from "@fibery/expression-utils/src/utils";
8
8
  import { denormalizeSelect, normalizeSelect } from "@fibery/query-utils/src/select";
9
- //#region src/unit-definitions/file-collection-count.ts
9
+ // src/unit-definitions/file-collection-count.ts
10
10
  const type = "file-collection-count";
11
11
  const FileCollectionCount = {
12
12
  type,
@@ -31,5 +31,4 @@ const FileCollectionCount = {
31
31
  getExportValue,
32
32
  canExport: () => true
33
33
  };
34
- //#endregion
35
34
  export { FileCollectionCount };
@@ -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/file-compact-collection.d.ts
7
6
  export declare const FileCompactCollection: {
8
7
  type: "file-compact-collection";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const FileCompactCollection: {
20
19
  }): import("@fibery/schema").Select;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,12 +1,12 @@
1
1
  import { getFilesSelect } from "../field-utils/file.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors, makeUnitMethod } 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
6
  import { wrapNormalizedInExpression } from "../unit-utils/wrap-normalized-in-expression.js";
7
7
  import { getFieldObjectsByFieldExpression } from "@fibery/expression-utils/src/utils";
8
8
  import { denormalizeSelect, normalizeSelect } from "@fibery/query-utils/src/select";
9
- //#region src/unit-definitions/file-compact-collection.ts
9
+ // src/unit-definitions/file-compact-collection.ts
10
10
  const type = "file-compact-collection";
11
11
  const FileCompactCollection = {
12
12
  type,
@@ -31,5 +31,4 @@ const FileCompactCollection = {
31
31
  getExportValue,
32
32
  canExport: () => true
33
33
  };
34
- //#endregion
35
34
  export { FileCompactCollection };
@@ -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/file-compact-reference.d.ts
5
4
  export declare const FileCompactReference: {
6
5
  type: "file-compact-reference";
7
6
  name: string;
@@ -24,5 +23,4 @@ export declare const FileCompactReference: {
24
23
  }): boolean;
25
24
  getExportValue: typeof getReferenceExportValue;
26
25
  canExport: () => true;
27
- };
28
- //#endregion
26
+ };
@@ -5,7 +5,7 @@ import { getFieldLabel } from "../unit-utils/get-field-label.js";
5
5
  import { wrapNormalizedInExpression } from "../unit-utils/wrap-normalized-in-expression.js";
6
6
  import { assertIsValidExpression, getFieldObjectsByFieldExpression } from "@fibery/expression-utils/src/utils";
7
7
  import { denormalizeSelect } from "@fibery/query-utils/src/select";
8
- //#region src/unit-definitions/file-compact-reference.ts
8
+ // src/unit-definitions/file-compact-reference.ts
9
9
  const type = "file-compact-reference";
10
10
  const FileCompactReference = {
11
11
  type,
@@ -44,5 +44,4 @@ const FileCompactReference = {
44
44
  getExportValue: getReferenceExportValue,
45
45
  canExport: () => true
46
46
  };
47
- //#endregion
48
47
  export { FileCompactReference };
@@ -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/file-reference.d.ts
7
6
  export declare const FileReference: {
8
7
  type: "file-reference";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const FileReference: {
20
19
  }): import("@fibery/schema").Select;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };
@@ -1,12 +1,12 @@
1
1
  import { getFilesSelect } from "../field-utils/file.js";
2
+ import { canEditField } from "../unit-utils/can-edit-field.js";
2
3
  import { calculateUnitExpressionErrors, makeUnitMethod } 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
6
  import { wrapNormalizedInExpression } from "../unit-utils/wrap-normalized-in-expression.js";
7
7
  import { getFieldObjectsByFieldExpression } from "@fibery/expression-utils/src/utils";
8
8
  import { denormalizeSelect, normalizeSelect } from "@fibery/query-utils/src/select";
9
- //#region src/unit-definitions/file-reference.ts
9
+ // src/unit-definitions/file-reference.ts
10
10
  const type = "file-reference";
11
11
  const FileReference = {
12
12
  type,
@@ -27,5 +27,4 @@ const FileReference = {
27
27
  getExportValue,
28
28
  canExport: () => true
29
29
  };
30
- //#endregion
31
30
  export { FileReference };
@@ -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/files-gallery.d.ts
7
6
  export declare const FilesGallery: {
8
7
  type: "files-gallery";
9
8
  name: string;
@@ -20,5 +19,4 @@ export declare const FilesGallery: {
20
19
  }): import("@fibery/schema").Select;
21
20
  getExportValue: typeof getExportValue;
22
21
  canExport: () => true;
23
- };
24
- //#endregion
22
+ };