@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.
- package/lib/_virtual/_rolldown/runtime.js +1 -2
- package/lib/errors.d.ts +1 -3
- package/lib/errors.js +1 -2
- package/lib/field-utils/avatar.d.ts +1 -3
- package/lib/field-utils/avatar.js +1 -2
- package/lib/field-utils/back-references.d.ts +1 -3
- package/lib/field-utils/back-references.js +1 -2
- package/lib/field-utils/comments.d.ts +1 -3
- package/lib/field-utils/comments.js +1 -2
- package/lib/field-utils/date-time.d.ts +1 -3
- package/lib/field-utils/date-time.js +1 -2
- package/lib/field-utils/enum-value.d.ts +1 -3
- package/lib/field-utils/enum-value.js +1 -2
- package/lib/field-utils/file.d.ts +1 -3
- package/lib/field-utils/file.js +1 -2
- package/lib/field-utils/icon.d.ts +1 -3
- package/lib/field-utils/icon.js +1 -2
- package/lib/field-utils/number.d.ts +1 -3
- package/lib/field-utils/number.js +5 -8
- package/lib/field-utils/reference-collection.d.ts +1 -3
- package/lib/field-utils/reference-collection.js +5 -7
- package/lib/field-utils/reference.d.ts +1 -3
- package/lib/field-utils/reference.js +3 -4
- package/lib/field-utils/relation-view.d.ts +1 -3
- package/lib/field-utils/relation-view.js +1 -2
- package/lib/field-utils/rich-text.d.ts +1 -3
- package/lib/field-utils/rich-text.js +1 -2
- package/lib/field-utils/text.d.ts +1 -3
- package/lib/field-utils/text.js +1 -2
- package/lib/field-utils/user-active.d.ts +1 -3
- package/lib/field-utils/user-active.js +1 -2
- package/lib/field-utils/user-role.d.ts +1 -3
- package/lib/field-utils/user-role.js +1 -2
- package/lib/field-utils/workflow.d.ts +1 -3
- package/lib/field-utils/workflow.js +1 -2
- package/lib/filter.d.ts +1 -3
- package/lib/index.d.ts +2 -4
- package/lib/index.js +2 -3
- package/lib/meta-validation.d.ts +1 -3
- package/lib/meta-validation.js +7 -12
- package/lib/private/board.d.ts +3 -4
- package/lib/private/board.js +6 -7
- package/lib/private/calendar.d.ts +1 -3
- package/lib/private/calendar.js +2 -3
- package/lib/private/feed.d.ts +1 -3
- package/lib/private/feed.js +2 -3
- package/lib/private/form.d.ts +1 -3
- package/lib/private/form.js +1 -2
- package/lib/private/map.d.ts +1 -3
- package/lib/private/map.js +2 -3
- package/lib/private/smart-folder.d.ts +1 -3
- package/lib/private/smart-folder.js +2 -3
- package/lib/private/timeline.d.ts +1 -3
- package/lib/private/timeline.js +7 -8
- package/lib/private/units.d.ts +1 -3
- package/lib/private/units.js +17 -2
- package/lib/private/utils.d.ts +1 -3
- package/lib/private/utils.js +3 -5
- package/lib/refs.d.ts +1 -3
- package/lib/unit-definitions/avatar-collection.d.ts +1 -3
- package/lib/unit-definitions/avatar-collection.js +1 -2
- package/lib/unit-definitions/avatar-input.d.ts +2 -4
- package/lib/unit-definitions/avatar-input.js +1 -2
- package/lib/unit-definitions/avatar.d.ts +2 -4
- package/lib/unit-definitions/avatar.js +1 -2
- package/lib/unit-definitions/back-references-list.d.ts +3 -5
- package/lib/unit-definitions/back-references-list.js +2 -3
- package/lib/unit-definitions/bool-checkbox.d.ts +2 -4
- package/lib/unit-definitions/bool-checkbox.js +2 -3
- package/lib/unit-definitions/bool.d.ts +2 -4
- package/lib/unit-definitions/bool.js +2 -3
- package/lib/unit-definitions/collection-count.d.ts +2 -4
- package/lib/unit-definitions/collection-count.js +1 -2
- package/lib/unit-definitions/color-input.d.ts +2 -4
- package/lib/unit-definitions/color-input.js +2 -3
- package/lib/unit-definitions/comments-list.d.ts +2 -4
- package/lib/unit-definitions/comments-list.js +2 -3
- package/lib/unit-definitions/date-range-combobox.d.ts +2 -4
- package/lib/unit-definitions/date-range-combobox.js +2 -3
- package/lib/unit-definitions/date-range.d.ts +2 -4
- package/lib/unit-definitions/date-range.js +2 -3
- package/lib/unit-definitions/date-time-combobox.d.ts +2 -4
- package/lib/unit-definitions/date-time-combobox.js +2 -3
- package/lib/unit-definitions/date.d.ts +2 -4
- package/lib/unit-definitions/date.js +2 -3
- package/lib/unit-definitions/email-input.d.ts +4 -6
- package/lib/unit-definitions/email-input.js +1 -2
- package/lib/unit-definitions/email.d.ts +3 -5
- package/lib/unit-definitions/email.js +1 -2
- package/lib/unit-definitions/emoji.d.ts +3 -5
- package/lib/unit-definitions/emoji.js +1 -2
- package/lib/unit-definitions/file-collection-count.d.ts +2 -4
- package/lib/unit-definitions/file-collection-count.js +2 -3
- package/lib/unit-definitions/file-compact-collection.d.ts +2 -4
- package/lib/unit-definitions/file-compact-collection.js +2 -3
- package/lib/unit-definitions/file-compact-reference.d.ts +1 -3
- package/lib/unit-definitions/file-compact-reference.js +1 -2
- package/lib/unit-definitions/file-reference.d.ts +2 -4
- package/lib/unit-definitions/file-reference.js +2 -3
- package/lib/unit-definitions/files-gallery.d.ts +2 -4
- package/lib/unit-definitions/files-gallery.js +2 -3
- package/lib/unit-definitions/files-l-list-item.d.ts +2 -4
- package/lib/unit-definitions/files-l-list-item.js +2 -3
- package/lib/unit-definitions/files-l-list.d.ts +2 -4
- package/lib/unit-definitions/files-l-list.js +2 -3
- package/lib/unit-definitions/files-list-item.d.ts +2 -4
- package/lib/unit-definitions/files-list-item.js +2 -3
- package/lib/unit-definitions/files-list.d.ts +2 -4
- package/lib/unit-definitions/files-list.js +2 -3
- package/lib/unit-definitions/geometry-preview.d.ts +3 -5
- package/lib/unit-definitions/geometry-preview.js +1 -2
- package/lib/unit-definitions/icon-button.d.ts +2 -4
- package/lib/unit-definitions/icon-button.js +2 -3
- package/lib/unit-definitions/icon-input.d.ts +4 -6
- package/lib/unit-definitions/icon-input.js +1 -2
- package/lib/unit-definitions/id.d.ts +1 -3
- package/lib/unit-definitions/id.js +1 -2
- package/lib/unit-definitions/index.d.ts +4 -3
- package/lib/unit-definitions/index.js +6 -5
- package/lib/unit-definitions/json-input.d.ts +2 -4
- package/lib/unit-definitions/json-input.js +2 -3
- package/lib/unit-definitions/json-preview.d.ts +26 -0
- package/lib/unit-definitions/json-preview.js +31 -0
- package/lib/unit-definitions/location-input.d.ts +3 -5
- package/lib/unit-definitions/location-input.js +1 -2
- package/lib/unit-definitions/location.d.ts +3 -5
- package/lib/unit-definitions/location.js +1 -2
- package/lib/unit-definitions/not-found.d.ts +1 -3
- package/lib/unit-definitions/not-found.js +0 -1
- package/lib/unit-definitions/number-input.d.ts +2 -4
- package/lib/unit-definitions/number-input.js +2 -3
- package/lib/unit-definitions/number.d.ts +1 -3
- package/lib/unit-definitions/number.js +1 -2
- package/lib/unit-definitions/phone-input.d.ts +4 -6
- package/lib/unit-definitions/phone-input.js +1 -2
- package/lib/unit-definitions/phone.d.ts +4 -6
- package/lib/unit-definitions/phone.js +1 -2
- package/lib/unit-definitions/progress-bar.d.ts +1 -3
- package/lib/unit-definitions/progress-bar.js +1 -2
- package/lib/unit-definitions/reference-collection-combobox.d.ts +2 -4
- package/lib/unit-definitions/reference-collection-combobox.js +2 -3
- package/lib/unit-definitions/reference-collection-list.d.ts +2 -4
- package/lib/unit-definitions/reference-collection-list.js +2 -3
- package/lib/unit-definitions/reference-collection-view.d.ts +2 -4
- package/lib/unit-definitions/reference-collection-view.js +2 -3
- package/lib/unit-definitions/reference-collection.d.ts +2 -4
- package/lib/unit-definitions/reference-collection.js +2 -3
- package/lib/unit-definitions/reference-combobox.d.ts +2 -4
- package/lib/unit-definitions/reference-combobox.js +2 -3
- package/lib/unit-definitions/reference-icon.d.ts +3 -5
- package/lib/unit-definitions/reference-icon.js +1 -2
- package/lib/unit-definitions/reference.d.ts +1 -3
- package/lib/unit-definitions/reference.js +1 -2
- package/lib/unit-definitions/rich-text-document.d.ts +2 -4
- package/lib/unit-definitions/rich-text-document.js +2 -3
- package/lib/unit-definitions/rich-text-snippet.d.ts +1 -3
- package/lib/unit-definitions/rich-text-snippet.js +1 -2
- package/lib/unit-definitions/single-location-preview.d.ts +3 -5
- package/lib/unit-definitions/single-location-preview.js +1 -2
- package/lib/unit-definitions/text-input.d.ts +2 -4
- package/lib/unit-definitions/text-input.js +2 -3
- package/lib/unit-definitions/text.d.ts +2 -4
- package/lib/unit-definitions/text.js +2 -3
- package/lib/unit-definitions/title-input.d.ts +1 -3
- package/lib/unit-definitions/title-input.js +1 -2
- package/lib/unit-definitions/title.d.ts +2 -4
- package/lib/unit-definitions/title.js +1 -2
- package/lib/unit-definitions/type-badge-abbr.d.ts +1 -3
- package/lib/unit-definitions/type-badge-abbr.js +1 -2
- package/lib/unit-definitions/type-badge.d.ts +1 -3
- package/lib/unit-definitions/type-badge.js +1 -2
- package/lib/unit-definitions/type-icon.d.ts +1 -3
- package/lib/unit-definitions/type-icon.js +1 -2
- package/lib/unit-definitions/url-input.d.ts +4 -6
- package/lib/unit-definitions/url-input.js +1 -2
- package/lib/unit-definitions/url.d.ts +3 -5
- package/lib/unit-definitions/url.js +1 -2
- package/lib/unit-definitions/user-button.d.ts +1 -3
- package/lib/unit-definitions/user-button.js +1 -2
- package/lib/unit-definitions/user-role-input.d.ts +3 -5
- package/lib/unit-definitions/user-role-input.js +1 -2
- package/lib/unit-definitions/user-role.d.ts +3 -5
- package/lib/unit-definitions/user-role.js +2 -3
- package/lib/unit-utils/access.d.ts +1 -3
- package/lib/unit-utils/access.js +1 -2
- package/lib/unit-utils/can-edit-field.d.ts +1 -3
- package/lib/unit-utils/can-edit-field.js +1 -2
- package/lib/unit-utils/common.d.ts +2 -4
- package/lib/unit-utils/common.js +1 -2
- package/lib/unit-utils/decimal.d.ts +0 -2
- package/lib/unit-utils/decimal.js +1 -2
- package/lib/unit-utils/dynamic-keys.d.ts +1 -3
- package/lib/unit-utils/dynamic-keys.js +1 -2
- package/lib/unit-utils/enums.d.ts +1 -3
- package/lib/unit-utils/enums.js +2 -3
- package/lib/unit-utils/formatters.d.ts +1 -3
- package/lib/unit-utils/formatters.js +2 -4
- package/lib/unit-utils/get-export-value.d.ts +1 -3
- package/lib/unit-utils/get-export-value.js +1 -2
- package/lib/unit-utils/get-field-label.d.ts +1 -3
- package/lib/unit-utils/get-field-label.js +1 -2
- package/lib/unit-utils/get-unmatched-unit-label.d.ts +1 -3
- package/lib/unit-utils/get-unmatched-unit-label.js +2 -4
- package/lib/unit-utils/wrap-normalized-in-expression.d.ts +1 -3
- package/lib/unit-utils/wrap-normalized-in-expression.js +1 -2
- package/lib/units/board.d.ts +1 -3
- package/lib/units/board.js +1 -2
- package/lib/units/canvas/all-units-data-definitions.d.ts +5 -5
- package/lib/units/canvas/all-units-data-definitions.js +6 -7
- package/lib/units/canvas/index.d.ts +0 -1
- package/lib/units/canvas/index.js +1 -2
- package/lib/units/canvas/type-badge-abbr.d.ts +1 -3
- package/lib/units/canvas/type-badge-abbr.js +1 -2
- package/lib/units/canvas/type-badge.d.ts +1 -3
- package/lib/units/canvas/type-badge.js +1 -2
- package/lib/units/default.d.ts +0 -1
- package/lib/units/default.js +1 -2
- package/lib/units/gallery.d.ts +0 -2
- package/lib/units/gallery.js +1 -2
- package/lib/units/gantt.d.ts +1 -3
- package/lib/units/gantt.js +1 -2
- package/lib/units/get-unit-definitions-for-view-type.d.ts +1 -3
- package/lib/units/get-unit-definitions-for-view-type.js +2 -3
- package/lib/units/grid.d.ts +1 -3
- package/lib/units/grid.js +8 -7
- package/lib/units/list.d.ts +1 -3
- package/lib/units/list.js +1 -2
- package/lib/units/make-factory.d.ts +1 -3
- package/lib/units/make-factory.js +21 -28
- package/lib/units/types.d.ts +2 -4
- package/package.json +7 -9
|
@@ -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
|
-
|
|
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 { 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 { getFieldLabel } from "../unit-utils/get-field-label.js";
|
|
4
4
|
import { getQuerySelectForExpression } from "@fibery/query-utils/src/query";
|
|
5
|
-
|
|
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 { 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 { getExportValue } from "../unit-utils/get-export-value.js";
|
|
5
5
|
import { getFieldLabel } from "../unit-utils/get-field-label.js";
|
|
6
6
|
import { getFieldObjectByFieldExpression } from "@fibery/expression-utils/src/utils";
|
|
7
|
-
|
|
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 { 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 { getDateRangeExportValue } 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
|
-
|
|
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 { 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 { getDateRangeExportValue } 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
|
-
|
|
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 { 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
|
-
|
|
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 { 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
|
-
|
|
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 {
|
|
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 {
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 { 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 { getExportValue } from "../unit-utils/get-export-value.js";
|
|
5
5
|
import { getFieldLabel } from "../unit-utils/get-field-label.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
|
-
|
|
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 { 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 { getExportValue } from "../unit-utils/get-export-value.js";
|
|
5
5
|
import { getFieldLabel } from "../unit-utils/get-field-label.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
|
-
|
|
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
|
-
|
|
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 { 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 { getExportValue } from "../unit-utils/get-export-value.js";
|
|
5
5
|
import { getFieldLabel } from "../unit-utils/get-field-label.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
|
-
|
|
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
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { getFilesSelect } from "../field-utils/file.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 { getExportValue } from "../unit-utils/get-export-value.js";
|
|
5
5
|
import { getFieldLabel } from "../unit-utils/get-field-label.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
|
-
|
|
9
|
+
// src/unit-definitions/files-gallery.ts
|
|
10
10
|
const type = "files-gallery";
|
|
11
11
|
const FilesGallery = {
|
|
12
12
|
type,
|
|
@@ -31,5 +31,4 @@ const FilesGallery = {
|
|
|
31
31
|
getExportValue,
|
|
32
32
|
canExport: () => true
|
|
33
33
|
};
|
|
34
|
-
//#endregion
|
|
35
34
|
export { FilesGallery };
|
|
@@ -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-l-list-item.d.ts
|
|
7
6
|
export declare const FileLListItem: {
|
|
8
7
|
type: "files-l-list-item";
|
|
9
8
|
name: string;
|
|
@@ -20,5 +19,4 @@ export declare const FileLListItem: {
|
|
|
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 { 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 { getExportValue } from "../unit-utils/get-export-value.js";
|
|
5
5
|
import { getFieldLabel } from "../unit-utils/get-field-label.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
|
-
|
|
9
|
+
// src/unit-definitions/files-l-list-item.ts
|
|
10
10
|
const type = "files-l-list-item";
|
|
11
11
|
const FileLListItem = {
|
|
12
12
|
type,
|
|
@@ -27,5 +27,4 @@ const FileLListItem = {
|
|
|
27
27
|
getExportValue,
|
|
28
28
|
canExport: () => true
|
|
29
29
|
};
|
|
30
|
-
//#endregion
|
|
31
30
|
export { FileLListItem };
|
|
@@ -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-l-list.d.ts
|
|
7
6
|
export declare const FileLList: {
|
|
8
7
|
type: "files-l-list";
|
|
9
8
|
name: string;
|
|
@@ -20,5 +19,4 @@ export declare const FileLList: {
|
|
|
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 { 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 { getExportValue } from "../unit-utils/get-export-value.js";
|
|
5
5
|
import { getFieldLabel } from "../unit-utils/get-field-label.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
|
-
|
|
9
|
+
// src/unit-definitions/files-l-list.ts
|
|
10
10
|
const type = "files-l-list";
|
|
11
11
|
const FileLList = {
|
|
12
12
|
type,
|
|
@@ -31,5 +31,4 @@ const FileLList = {
|
|
|
31
31
|
getExportValue,
|
|
32
32
|
canExport: () => true
|
|
33
33
|
};
|
|
34
|
-
//#endregion
|
|
35
34
|
export { FileLList };
|