@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.
- 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 +7 -20
- 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 +4 -15
- 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 +5 -9
- package/lib/private/board.d.ts +1 -3
- package/lib/private/board.js +4 -5
- 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 +5 -6
- package/lib/private/timeline.d.ts +1 -3
- package/lib/private/timeline.js +6 -7
- 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 +3 -15
- 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 +3 -14
- 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 +3 -14
- 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 +3 -5
- 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 +2 -3
- package/lib/unit-utils/wrap-normalized-in-expression.js +15 -14
- 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 +20 -28
- package/lib/units/types.d.ts +2 -4
- package/package.json +7 -9
|
@@ -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/phone-input.d.ts
|
|
5
|
+
import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
|
|
7
6
|
export declare const PhoneInput: {
|
|
8
7
|
canEdit: typeof canEditField;
|
|
9
8
|
getLabel: typeof getFieldLabel;
|
|
@@ -20,5 +19,4 @@ export declare const PhoneInput: {
|
|
|
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/phone-input.tsx
|
|
4
4
|
const type = "phone-input";
|
|
5
5
|
const PhoneInput = {
|
|
6
6
|
...TextInput,
|
|
@@ -8,5 +8,4 @@ const PhoneInput = {
|
|
|
8
8
|
name: "Phone input",
|
|
9
9
|
makeUnit: makeUnitMethod(type)
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
export { PhoneInput };
|
|
@@ -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/phone.d.ts
|
|
5
|
+
import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
|
|
7
6
|
export declare const Phone: {
|
|
8
7
|
canEdit: typeof canEditField;
|
|
9
8
|
getLabel: typeof getFieldLabel;
|
|
@@ -20,5 +19,4 @@ export declare const Phone: {
|
|
|
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 { Text } from "./text.js";
|
|
3
|
-
|
|
3
|
+
// src/unit-definitions/phone.ts
|
|
4
4
|
const type = "phone";
|
|
5
5
|
const Phone = {
|
|
6
6
|
...Text,
|
|
@@ -8,5 +8,4 @@ const Phone = {
|
|
|
8
8
|
name: "Input",
|
|
9
9
|
makeUnit: makeUnitMethod(type)
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
export { Phone };
|
|
@@ -2,7 +2,6 @@ import { ExpressionFieldUnit, UnitExpression } from "../units/types.js";
|
|
|
2
2
|
import { calculateUnitExpressionErrors } from "../unit-utils/common.js";
|
|
3
3
|
import { getNumberExportValue } from "../unit-utils/get-export-value.js";
|
|
4
4
|
import { getFieldLabel } from "../unit-utils/get-field-label.js";
|
|
5
|
-
//#region src/unit-definitions/progress-bar.d.ts
|
|
6
5
|
export declare const ProgressBar: {
|
|
7
6
|
type: "progress-bar";
|
|
8
7
|
name: string;
|
|
@@ -23,5 +22,4 @@ export declare const ProgressBar: {
|
|
|
23
22
|
getExportValue: typeof getNumberExportValue;
|
|
24
23
|
canExport: () => true;
|
|
25
24
|
getExportLabel: typeof getFieldLabel;
|
|
26
|
-
};
|
|
27
|
-
//#endregion
|
|
25
|
+
};
|
|
@@ -2,7 +2,7 @@ import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/com
|
|
|
2
2
|
import { getNumberExportValue } 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
|
-
|
|
5
|
+
// src/unit-definitions/progress-bar.ts
|
|
6
6
|
const type = "progress-bar";
|
|
7
7
|
const ProgressBar = {
|
|
8
8
|
type,
|
|
@@ -28,5 +28,4 @@ const ProgressBar = {
|
|
|
28
28
|
canExport: () => true,
|
|
29
29
|
getExportLabel: getFieldLabel
|
|
30
30
|
};
|
|
31
|
-
//#endregion
|
|
32
31
|
export { ProgressBar };
|
|
@@ -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 { 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
|
-
|
|
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 { canEditField } from "../unit-utils/can-edit-field.js";
|
|
1
2
|
import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
|
|
2
3
|
import { getReferenceCollectionExportValue } from "../unit-utils/get-export-value.js";
|
|
3
4
|
import { getFieldLabel } from "../unit-utils/get-field-label.js";
|
|
4
|
-
|
|
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 { canEditField } from "../unit-utils/can-edit-field.js";
|
|
1
2
|
import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
|
|
2
3
|
import { getReferenceCollectionExportValue } from "../unit-utils/get-export-value.js";
|
|
3
4
|
import { getFieldLabel } from "../unit-utils/get-field-label.js";
|
|
4
|
-
|
|
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 { canEditField } from "../unit-utils/can-edit-field.js";
|
|
2
3
|
import { calculateUnitExpressionErrors, makeUnitMethod } 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
6
|
import { getFieldObjectsByFieldExpression } from "@fibery/expression-utils/src/utils";
|
|
7
|
-
|
|
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 { canEditField } from "../unit-utils/can-edit-field.js";
|
|
1
2
|
import { calculateUnitExpressionErrors, makeUnitMethod } from "../unit-utils/common.js";
|
|
2
3
|
import { getReferenceExportValue } from "../unit-utils/get-export-value.js";
|
|
3
4
|
import { getFieldLabel } from "../unit-utils/get-field-label.js";
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
+
};
|
|
@@ -2,9 +2,10 @@ import { getReferenceFieldNormalizedSelectClause } from "../field-utils/referenc
|
|
|
2
2
|
import { calculateUnitExpressionErrors, canEditFieldExpression } 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
|
+
import { wrapNormalizedInExpression } from "../unit-utils/wrap-normalized-in-expression.js";
|
|
5
6
|
import { assertIsValidExpression, getFieldObjectsByFieldExpression } from "@fibery/expression-utils/src/utils";
|
|
6
7
|
import { denormalizeSelect } from "@fibery/query-utils/src/select";
|
|
7
|
-
|
|
8
|
+
// src/unit-definitions/reference.ts
|
|
8
9
|
const type = "reference";
|
|
9
10
|
const Reference = {
|
|
10
11
|
type,
|
|
@@ -29,18 +30,7 @@ const Reference = {
|
|
|
29
30
|
});
|
|
30
31
|
const terminalFieldObject = fieldObjects[fieldObjects.length - 1];
|
|
31
32
|
const innerNormalized = getReferenceFieldNormalizedSelectClause(terminalFieldObject, expression);
|
|
32
|
-
const nested =
|
|
33
|
-
const originalIndex = expression.length - 1 - reversedIndex;
|
|
34
|
-
if (!(originalIndex === expression.length - 1)) {
|
|
35
|
-
const { idField } = fieldObjects[originalIndex].typeObject;
|
|
36
|
-
const innerWithId = idField ? {
|
|
37
|
-
[idField]: idField,
|
|
38
|
-
...inner
|
|
39
|
-
} : inner;
|
|
40
|
-
return { [field]: innerWithId };
|
|
41
|
-
}
|
|
42
|
-
return { [field]: inner };
|
|
43
|
-
}, innerNormalized);
|
|
33
|
+
const nested = wrapNormalizedInExpression(innerNormalized, fieldObjects, expression);
|
|
44
34
|
return denormalizeSelect(nested);
|
|
45
35
|
},
|
|
46
36
|
calculateErrors({ typeObject, unit }) {
|
|
@@ -60,5 +50,4 @@ const Reference = {
|
|
|
60
50
|
getExportValue: getReferenceExportValue,
|
|
61
51
|
canExport: () => true
|
|
62
52
|
};
|
|
63
|
-
//#endregion
|
|
64
53
|
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 { canEditField } from "../unit-utils/can-edit-field.js";
|
|
2
3
|
import { calculateUnitExpressionErrors, makeUnitMethod } 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 { 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
|
-
|
|
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 { 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 };
|