@fibery/views 19.1.1 → 20.0.1
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 +13 -0
- package/lib/errors.d.ts +4 -0
- package/lib/errors.js +4 -0
- package/lib/field-utils/avatar.d.ts +23 -0
- package/lib/field-utils/avatar.js +35 -0
- package/lib/field-utils/back-references.d.ts +18 -0
- package/lib/field-utils/back-references.js +15 -0
- package/lib/field-utils/comments.d.ts +63 -0
- package/lib/field-utils/comments.js +41 -0
- package/lib/field-utils/date-time.d.ts +17 -0
- package/lib/field-utils/date-time.js +31 -0
- package/lib/field-utils/enum-value.d.ts +16 -0
- package/lib/field-utils/enum-value.js +26 -0
- package/lib/field-utils/file.d.ts +7 -0
- package/lib/field-utils/file.js +14 -0
- package/lib/field-utils/icon.d.ts +13 -0
- package/lib/field-utils/icon.js +17 -0
- package/lib/field-utils/number.d.ts +34 -0
- package/lib/field-utils/number.js +64 -0
- package/lib/field-utils/reference-collection.d.ts +16 -0
- package/lib/field-utils/reference-collection.js +49 -0
- package/lib/field-utils/reference.d.ts +10 -0
- package/lib/field-utils/reference.js +55 -0
- package/lib/field-utils/relation-view.d.ts +5 -0
- package/lib/field-utils/relation-view.js +7 -0
- package/lib/field-utils/rich-text.d.ts +16 -0
- package/lib/field-utils/rich-text.js +33 -0
- package/lib/field-utils/text.d.ts +38 -0
- package/lib/field-utils/text.js +37 -0
- package/lib/field-utils/user-active.d.ts +11 -0
- package/lib/field-utils/user-active.js +24 -0
- package/lib/field-utils/user-role.d.ts +9 -0
- package/lib/field-utils/user-role.js +23 -0
- package/lib/field-utils/workflow.d.ts +18 -0
- package/lib/field-utils/workflow.js +48 -0
- package/lib/index.d.ts +34 -1
- package/lib/index.js +169 -16
- package/lib/meta-validation.d.ts +13 -0
- package/lib/meta-validation.js +53 -0
- package/lib/private/board.d.ts +18 -0
- package/lib/private/board.js +234 -0
- package/lib/private/calendar.d.ts +17 -0
- package/lib/private/calendar.js +82 -0
- package/lib/private/feed.d.ts +17 -0
- package/lib/private/feed.js +81 -0
- package/lib/private/form.d.ts +27 -0
- package/lib/private/form.js +57 -0
- package/lib/private/map.d.ts +17 -0
- package/lib/private/map.js +81 -0
- package/lib/private/smart-folder.d.ts +33 -0
- package/lib/private/smart-folder.js +165 -0
- package/lib/private/timeline.d.ts +41 -0
- package/lib/private/timeline.js +223 -0
- package/lib/private/units.d.ts +12 -0
- package/lib/private/units.js +131 -0
- package/lib/private/utils.d.ts +66 -0
- package/lib/private/utils.js +179 -0
- package/lib/tsfixme.d.ts +4 -0
- package/lib/tsfixme.js +0 -0
- package/lib/unit-definitions/avatar-collection.d.ts +5 -0
- package/lib/unit-definitions/avatar-collection.js +59 -0
- package/lib/unit-definitions/avatar-input.d.ts +5 -0
- package/lib/unit-definitions/avatar-input.js +12 -0
- package/lib/unit-definitions/avatar.d.ts +5 -0
- package/lib/unit-definitions/avatar.js +95 -0
- package/lib/unit-definitions/back-references-list.d.ts +5 -0
- package/lib/unit-definitions/back-references-list.js +39 -0
- package/lib/unit-definitions/bool-checkbox.d.ts +5 -0
- package/lib/unit-definitions/bool-checkbox.js +25 -0
- package/lib/unit-definitions/bool.d.ts +5 -0
- package/lib/unit-definitions/bool.js +25 -0
- package/lib/unit-definitions/collection-count.d.ts +5 -0
- package/lib/unit-definitions/collection-count.js +35 -0
- package/lib/unit-definitions/color-input.d.ts +5 -0
- package/lib/unit-definitions/color-input.js +24 -0
- package/lib/unit-definitions/comments-list.d.ts +5 -0
- package/lib/unit-definitions/comments-list.js +27 -0
- package/lib/unit-definitions/date-range-combobox.d.ts +5 -0
- package/lib/unit-definitions/date-range-combobox.js +25 -0
- package/lib/unit-definitions/date-range.d.ts +5 -0
- package/lib/unit-definitions/date-range.js +25 -0
- package/lib/unit-definitions/date-time-combobox.d.ts +5 -0
- package/lib/unit-definitions/date-time-combobox.js +25 -0
- package/lib/unit-definitions/date.d.ts +5 -0
- package/lib/unit-definitions/date.js +25 -0
- package/lib/unit-definitions/email-input.d.ts +5 -0
- package/lib/unit-definitions/email-input.js +12 -0
- package/lib/unit-definitions/email.d.ts +5 -0
- package/lib/unit-definitions/email.js +17 -0
- package/lib/unit-definitions/emoji.d.ts +5 -0
- package/lib/unit-definitions/emoji.js +17 -0
- package/lib/unit-definitions/file-collection-count.d.ts +5 -0
- package/lib/unit-definitions/file-collection-count.js +34 -0
- package/lib/unit-definitions/file-compact-collection.d.ts +5 -0
- package/lib/unit-definitions/file-compact-collection.js +34 -0
- package/lib/unit-definitions/file-compact-reference.d.ts +5 -0
- package/lib/unit-definitions/file-compact-reference.js +47 -0
- package/lib/unit-definitions/file-reference.d.ts +5 -0
- package/lib/unit-definitions/file-reference.js +30 -0
- package/lib/unit-definitions/files-gallery.d.ts +5 -0
- package/lib/unit-definitions/files-gallery.js +34 -0
- package/lib/unit-definitions/files-l-list-item.d.ts +5 -0
- package/lib/unit-definitions/files-l-list-item.js +30 -0
- package/lib/unit-definitions/files-l-list.d.ts +5 -0
- package/lib/unit-definitions/files-l-list.js +34 -0
- package/lib/unit-definitions/files-list-item.d.ts +5 -0
- package/lib/unit-definitions/files-list-item.js +30 -0
- package/lib/unit-definitions/files-list.d.ts +5 -0
- package/lib/unit-definitions/files-list.js +34 -0
- package/lib/unit-definitions/geometry-preview.d.ts +5 -0
- package/lib/unit-definitions/geometry-preview.js +17 -0
- package/lib/unit-definitions/icon-button.d.ts +5 -0
- package/lib/unit-definitions/icon-button.js +41 -0
- package/lib/unit-definitions/icon-input.d.ts +5 -0
- package/lib/unit-definitions/icon-input.js +12 -0
- package/lib/unit-definitions/id.d.ts +5 -0
- package/lib/unit-definitions/id.js +30 -0
- package/lib/unit-definitions/index.d.ts +28 -0
- package/lib/unit-definitions/index.js +60 -0
- package/lib/unit-definitions/json-input.d.ts +5 -0
- package/lib/unit-definitions/json-input.js +24 -0
- package/lib/unit-definitions/location-input.d.ts +5 -0
- package/lib/unit-definitions/location-input.js +18 -0
- package/lib/unit-definitions/location.d.ts +5 -0
- package/lib/unit-definitions/location.js +17 -0
- package/lib/unit-definitions/not-found.d.ts +5 -0
- package/lib/unit-definitions/not-found.js +22 -0
- package/lib/unit-definitions/number-input.d.ts +5 -0
- package/lib/unit-definitions/number-input.js +25 -0
- package/lib/unit-definitions/number.d.ts +5 -0
- package/lib/unit-definitions/number.js +31 -0
- package/lib/unit-definitions/phone-input.d.ts +5 -0
- package/lib/unit-definitions/phone-input.js +12 -0
- package/lib/unit-definitions/phone.d.ts +5 -0
- package/lib/unit-definitions/phone.js +12 -0
- package/lib/unit-definitions/progress-bar.d.ts +5 -0
- package/lib/unit-definitions/progress-bar.js +32 -0
- package/lib/unit-definitions/reference-collection-combobox.d.ts +5 -0
- package/lib/unit-definitions/reference-collection-combobox.js +21 -0
- package/lib/unit-definitions/reference-collection-list.d.ts +5 -0
- package/lib/unit-definitions/reference-collection-list.js +21 -0
- package/lib/unit-definitions/reference-collection-view.d.ts +5 -0
- package/lib/unit-definitions/reference-collection-view.js +19 -0
- package/lib/unit-definitions/reference-collection.d.ts +5 -0
- package/lib/unit-definitions/reference-collection.js +30 -0
- package/lib/unit-definitions/reference-combobox.d.ts +5 -0
- package/lib/unit-definitions/reference-combobox.js +21 -0
- package/lib/unit-definitions/reference-icon.d.ts +5 -0
- package/lib/unit-definitions/reference-icon.js +12 -0
- package/lib/unit-definitions/reference.d.ts +5 -0
- package/lib/unit-definitions/reference.js +63 -0
- package/lib/unit-definitions/rich-text-document.d.ts +5 -0
- package/lib/unit-definitions/rich-text-document.js +26 -0
- package/lib/unit-definitions/rich-text-snippet.d.ts +6 -0
- package/lib/unit-definitions/rich-text-snippet.js +35 -0
- package/lib/unit-definitions/single-location-preview.d.ts +5 -0
- package/lib/unit-definitions/single-location-preview.js +17 -0
- package/lib/unit-definitions/text-input.d.ts +5 -0
- package/lib/unit-definitions/text-input.js +25 -0
- package/lib/unit-definitions/text.d.ts +5 -0
- package/lib/unit-definitions/text.js +25 -0
- package/lib/unit-definitions/title-input.d.ts +5 -0
- package/lib/unit-definitions/title-input.js +19 -0
- package/lib/unit-definitions/title.d.ts +5 -0
- package/lib/unit-definitions/title.js +33 -0
- package/lib/unit-definitions/type-badge-abbr.d.ts +5 -0
- package/lib/unit-definitions/type-badge-abbr.js +28 -0
- package/lib/unit-definitions/type-badge.d.ts +5 -0
- package/lib/unit-definitions/type-badge.js +28 -0
- package/lib/unit-definitions/type-icon.d.ts +5 -0
- package/lib/unit-definitions/type-icon.js +28 -0
- package/lib/unit-definitions/url-input.d.ts +5 -0
- package/lib/unit-definitions/url-input.js +12 -0
- package/lib/unit-definitions/url.d.ts +5 -0
- package/lib/unit-definitions/url.js +17 -0
- package/lib/unit-definitions/user-button.d.ts +5 -0
- package/lib/unit-definitions/user-button.js +26 -0
- package/lib/unit-definitions/user-role-input.d.ts +5 -0
- package/lib/unit-definitions/user-role-input.js +12 -0
- package/lib/unit-definitions/user-role.d.ts +5 -0
- package/lib/unit-definitions/user-role.js +35 -0
- package/lib/unit-utils/access.d.ts +12 -0
- package/lib/unit-utils/access.js +9 -0
- package/lib/unit-utils/can-edit-field.d.ts +9 -0
- package/lib/unit-utils/can-edit-field.js +7 -0
- package/lib/unit-utils/common.d.ts +17 -0
- package/lib/unit-utils/common.js +39 -0
- package/lib/unit-utils/decimal.d.ts +44 -0
- package/lib/unit-utils/decimal.js +248 -0
- package/lib/unit-utils/dynamic-keys.d.ts +10 -0
- package/lib/unit-utils/dynamic-keys.js +12 -0
- package/lib/unit-utils/enums.d.ts +30 -0
- package/lib/unit-utils/enums.js +48 -0
- package/lib/unit-utils/formatters.d.ts +53 -0
- package/lib/unit-utils/formatters.js +128 -0
- package/lib/unit-utils/get-export-value.d.ts +48 -0
- package/lib/unit-utils/get-export-value.js +83 -0
- package/lib/unit-utils/get-field-label.d.ts +9 -0
- package/lib/unit-utils/get-field-label.js +11 -0
- package/lib/unit-utils/get-unmatched-unit-label.d.ts +5 -0
- package/lib/unit-utils/get-unmatched-unit-label.js +5 -0
- package/lib/unit-utils/schema.d.ts +7 -0
- package/lib/unit-utils/schema.js +9 -0
- package/lib/unit-utils/wrap-normalized-in-expression.d.ts +6 -0
- package/lib/unit-utils/wrap-normalized-in-expression.js +15 -0
- package/lib/units/board.d.ts +50 -0
- package/lib/units/board.js +24 -0
- package/lib/units/canvas/all-units-data-definitions.d.ts +19 -0
- package/lib/units/canvas/all-units-data-definitions.js +42 -0
- package/lib/units/canvas/index.d.ts +49 -0
- package/lib/units/canvas/index.js +27 -0
- package/lib/units/canvas/type-badge-abbr.d.ts +42 -0
- package/lib/units/canvas/type-badge-abbr.js +11 -0
- package/lib/units/canvas/type-badge.d.ts +42 -0
- package/lib/units/canvas/type-badge.js +11 -0
- package/lib/units/default.d.ts +50 -0
- package/lib/units/default.js +23 -0
- package/lib/units/gallery.d.ts +7 -0
- package/lib/units/gallery.js +21 -0
- package/lib/units/gantt.d.ts +51 -0
- package/lib/units/gantt.js +28 -0
- package/lib/units/get-unit-definitions-for-view-type.d.ts +5 -0
- package/lib/units/get-unit-definitions-for-view-type.js +22 -0
- package/lib/units/grid.d.ts +49 -0
- package/lib/units/grid.js +81 -0
- package/lib/units/list.d.ts +52 -0
- package/lib/units/list.js +23 -0
- package/lib/units/make-factory.d.ts +53 -0
- package/lib/units/make-factory.js +272 -0
- package/lib/units/types.d.ts +75 -0
- package/lib/units/types.js +0 -0
- package/package.json +18 -40
- package/lib/src/errors.d.ts +0 -2
- package/lib/src/errors.js +0 -6
- package/lib/src/field-utils/avatar.d.ts +0 -20
- package/lib/src/field-utils/avatar.js +0 -42
- package/lib/src/field-utils/back-references.d.ts +0 -15
- package/lib/src/field-utils/back-references.js +0 -21
- package/lib/src/field-utils/comments.d.ts +0 -60
- package/lib/src/field-utils/comments.js +0 -46
- package/lib/src/field-utils/date-time.d.ts +0 -14
- package/lib/src/field-utils/date-time.js +0 -56
- package/lib/src/field-utils/enum-value.d.ts +0 -13
- package/lib/src/field-utils/enum-value.js +0 -29
- package/lib/src/field-utils/file.d.ts +0 -4
- package/lib/src/field-utils/file.js +0 -18
- package/lib/src/field-utils/icon.d.ts +0 -10
- package/lib/src/field-utils/icon.js +0 -26
- package/lib/src/field-utils/number.d.ts +0 -31
- package/lib/src/field-utils/number.js +0 -91
- package/lib/src/field-utils/reference-collection.d.ts +0 -13
- package/lib/src/field-utils/reference-collection.js +0 -67
- package/lib/src/field-utils/reference.d.ts +0 -7
- package/lib/src/field-utils/reference.js +0 -57
- package/lib/src/field-utils/relation-view.d.ts +0 -2
- package/lib/src/field-utils/relation-view.js +0 -12
- package/lib/src/field-utils/rich-text.d.ts +0 -13
- package/lib/src/field-utils/rich-text.js +0 -38
- package/lib/src/field-utils/text.d.ts +0 -35
- package/lib/src/field-utils/text.js +0 -40
- package/lib/src/field-utils/user-active.d.ts +0 -8
- package/lib/src/field-utils/user-active.js +0 -23
- package/lib/src/field-utils/user-role.d.ts +0 -6
- package/lib/src/field-utils/user-role.js +0 -25
- package/lib/src/field-utils/workflow.d.ts +0 -15
- package/lib/src/field-utils/workflow.js +0 -53
- package/lib/src/index.d.ts +0 -30
- package/lib/src/index.js +0 -263
- package/lib/src/meta-validation.d.ts +0 -10
- package/lib/src/meta-validation.js +0 -78
- package/lib/src/private/board.d.ts +0 -15
- package/lib/src/private/board.js +0 -327
- package/lib/src/private/calendar.d.ts +0 -14
- package/lib/src/private/calendar.js +0 -123
- package/lib/src/private/feed.d.ts +0 -14
- package/lib/src/private/feed.js +0 -120
- package/lib/src/private/form.d.ts +0 -25
- package/lib/src/private/form.js +0 -61
- package/lib/src/private/map.d.ts +0 -14
- package/lib/src/private/map.js +0 -120
- package/lib/src/private/smart-folder.d.ts +0 -31
- package/lib/src/private/smart-folder.js +0 -277
- package/lib/src/private/test-data/garbage-test.d.ts +0 -649
- package/lib/src/private/test-data/garbage-test.js +0 -520
- package/lib/src/private/test-data/kanban.d.ts +0 -1123
- package/lib/src/private/test-data/kanban.js +0 -1203
- package/lib/src/private/test-data/tasks.d.ts +0 -3216
- package/lib/src/private/test-data/tasks.js +0 -2731
- package/lib/src/private/timeline.d.ts +0 -39
- package/lib/src/private/timeline.js +0 -325
- package/lib/src/private/units.d.ts +0 -10
- package/lib/src/private/units.js +0 -165
- package/lib/src/private/utils.d.ts +0 -64
- package/lib/src/private/utils.js +0 -273
- package/lib/src/truthy.d.ts +0 -1
- package/lib/src/truthy.js +0 -7
- package/lib/src/tsfixme.d.ts +0 -1
- package/lib/src/tsfixme.js +0 -2
- package/lib/src/unit-definitions/avatar-collection.d.ts +0 -2
- package/lib/src/unit-definitions/avatar-collection.js +0 -54
- package/lib/src/unit-definitions/avatar-input.d.ts +0 -2
- package/lib/src/unit-definitions/avatar-input.js +0 -12
- package/lib/src/unit-definitions/avatar.d.ts +0 -2
- package/lib/src/unit-definitions/avatar.js +0 -88
- package/lib/src/unit-definitions/back-references-list.d.ts +0 -2
- package/lib/src/unit-definitions/back-references-list.js +0 -38
- package/lib/src/unit-definitions/bool-checkbox.d.ts +0 -2
- package/lib/src/unit-definitions/bool-checkbox.js +0 -25
- package/lib/src/unit-definitions/bool.d.ts +0 -2
- package/lib/src/unit-definitions/bool.js +0 -22
- package/lib/src/unit-definitions/collection-count.d.ts +0 -2
- package/lib/src/unit-definitions/collection-count.js +0 -32
- package/lib/src/unit-definitions/color-input.d.ts +0 -2
- package/lib/src/unit-definitions/color-input.js +0 -21
- package/lib/src/unit-definitions/comments-list.d.ts +0 -2
- package/lib/src/unit-definitions/comments-list.js +0 -25
- package/lib/src/unit-definitions/date-range-combobox.d.ts +0 -2
- package/lib/src/unit-definitions/date-range-combobox.js +0 -22
- package/lib/src/unit-definitions/date-range.d.ts +0 -2
- package/lib/src/unit-definitions/date-range.js +0 -22
- package/lib/src/unit-definitions/date-time-combobox.d.ts +0 -2
- package/lib/src/unit-definitions/date-time-combobox.js +0 -22
- package/lib/src/unit-definitions/date.d.ts +0 -2
- package/lib/src/unit-definitions/date.js +0 -22
- package/lib/src/unit-definitions/email-input.d.ts +0 -2
- package/lib/src/unit-definitions/email-input.js +0 -12
- package/lib/src/unit-definitions/email.d.ts +0 -2
- package/lib/src/unit-definitions/email.js +0 -17
- package/lib/src/unit-definitions/emoji.d.ts +0 -2
- package/lib/src/unit-definitions/emoji.js +0 -17
- package/lib/src/unit-definitions/file-collection-count.d.ts +0 -2
- package/lib/src/unit-definitions/file-collection-count.js +0 -32
- package/lib/src/unit-definitions/file-compact-collection.d.ts +0 -2
- package/lib/src/unit-definitions/file-compact-collection.js +0 -32
- package/lib/src/unit-definitions/file-compact-reference.d.ts +0 -2
- package/lib/src/unit-definitions/file-compact-reference.js +0 -37
- package/lib/src/unit-definitions/file-reference.d.ts +0 -2
- package/lib/src/unit-definitions/file-reference.js +0 -28
- package/lib/src/unit-definitions/files-gallery.d.ts +0 -2
- package/lib/src/unit-definitions/files-gallery.js +0 -32
- package/lib/src/unit-definitions/files-l-list-item.d.ts +0 -2
- package/lib/src/unit-definitions/files-l-list-item.js +0 -28
- package/lib/src/unit-definitions/files-l-list.d.ts +0 -2
- package/lib/src/unit-definitions/files-l-list.js +0 -32
- package/lib/src/unit-definitions/files-list-item.d.ts +0 -2
- package/lib/src/unit-definitions/files-list-item.js +0 -28
- package/lib/src/unit-definitions/files-list.d.ts +0 -2
- package/lib/src/unit-definitions/files-list.js +0 -32
- package/lib/src/unit-definitions/geometry-preview.d.ts +0 -2
- package/lib/src/unit-definitions/geometry-preview.js +0 -17
- package/lib/src/unit-definitions/icon-button.d.ts +0 -2
- package/lib/src/unit-definitions/icon-button.js +0 -29
- package/lib/src/unit-definitions/icon-input.d.ts +0 -2
- package/lib/src/unit-definitions/icon-input.js +0 -12
- package/lib/src/unit-definitions/id.d.ts +0 -2
- package/lib/src/unit-definitions/id.js +0 -29
- package/lib/src/unit-definitions/index.d.ts +0 -27
- package/lib/src/unit-definitions/index.js +0 -57
- package/lib/src/unit-definitions/json-input.d.ts +0 -2
- package/lib/src/unit-definitions/json-input.js +0 -21
- package/lib/src/unit-definitions/location-input.d.ts +0 -2
- package/lib/src/unit-definitions/location-input.js +0 -18
- package/lib/src/unit-definitions/location.d.ts +0 -2
- package/lib/src/unit-definitions/location.js +0 -17
- package/lib/src/unit-definitions/not-found.d.ts +0 -2
- package/lib/src/unit-definitions/not-found.js +0 -24
- package/lib/src/unit-definitions/number-input.d.ts +0 -2
- package/lib/src/unit-definitions/number-input.js +0 -22
- package/lib/src/unit-definitions/number.d.ts +0 -2
- package/lib/src/unit-definitions/number.js +0 -25
- package/lib/src/unit-definitions/phone-input.d.ts +0 -2
- package/lib/src/unit-definitions/phone-input.js +0 -12
- package/lib/src/unit-definitions/phone.d.ts +0 -2
- package/lib/src/unit-definitions/phone.js +0 -12
- package/lib/src/unit-definitions/progress-bar.d.ts +0 -2
- package/lib/src/unit-definitions/progress-bar.js +0 -29
- package/lib/src/unit-definitions/reference-collection-combobox.d.ts +0 -2
- package/lib/src/unit-definitions/reference-collection-combobox.js +0 -21
- package/lib/src/unit-definitions/reference-collection-list.d.ts +0 -2
- package/lib/src/unit-definitions/reference-collection-list.js +0 -22
- package/lib/src/unit-definitions/reference-collection-view.d.ts +0 -2
- package/lib/src/unit-definitions/reference-collection-view.js +0 -19
- package/lib/src/unit-definitions/reference-collection.d.ts +0 -2
- package/lib/src/unit-definitions/reference-collection.js +0 -28
- package/lib/src/unit-definitions/reference-combobox.d.ts +0 -2
- package/lib/src/unit-definitions/reference-combobox.js +0 -21
- package/lib/src/unit-definitions/reference-icon.d.ts +0 -2
- package/lib/src/unit-definitions/reference-icon.js +0 -12
- package/lib/src/unit-definitions/reference.d.ts +0 -2
- package/lib/src/unit-definitions/reference.js +0 -61
- package/lib/src/unit-definitions/rich-text-document.d.ts +0 -2
- package/lib/src/unit-definitions/rich-text-document.js +0 -22
- package/lib/src/unit-definitions/rich-text-snippet.d.ts +0 -3
- package/lib/src/unit-definitions/rich-text-snippet.js +0 -34
- package/lib/src/unit-definitions/single-location-preview.d.ts +0 -2
- package/lib/src/unit-definitions/single-location-preview.js +0 -17
- package/lib/src/unit-definitions/text-input.d.ts +0 -2
- package/lib/src/unit-definitions/text-input.js +0 -22
- package/lib/src/unit-definitions/text.d.ts +0 -2
- package/lib/src/unit-definitions/text.js +0 -22
- package/lib/src/unit-definitions/title-input.d.ts +0 -2
- package/lib/src/unit-definitions/title-input.js +0 -16
- package/lib/src/unit-definitions/title.d.ts +0 -2
- package/lib/src/unit-definitions/title.js +0 -34
- package/lib/src/unit-definitions/type-badge-abbr.d.ts +0 -2
- package/lib/src/unit-definitions/type-badge-abbr.js +0 -25
- package/lib/src/unit-definitions/type-badge.d.ts +0 -2
- package/lib/src/unit-definitions/type-badge.js +0 -25
- package/lib/src/unit-definitions/type-icon.d.ts +0 -2
- package/lib/src/unit-definitions/type-icon.js +0 -25
- package/lib/src/unit-definitions/url-input.d.ts +0 -2
- package/lib/src/unit-definitions/url-input.js +0 -12
- package/lib/src/unit-definitions/url.d.ts +0 -2
- package/lib/src/unit-definitions/url.js +0 -17
- package/lib/src/unit-definitions/user-button.d.ts +0 -2
- package/lib/src/unit-definitions/user-button.js +0 -23
- package/lib/src/unit-definitions/user-role-input.d.ts +0 -2
- package/lib/src/unit-definitions/user-role-input.js +0 -12
- package/lib/src/unit-definitions/user-role.d.ts +0 -2
- package/lib/src/unit-definitions/user-role.js +0 -29
- package/lib/src/unit-utils/access.d.ts +0 -9
- package/lib/src/unit-utils/access.js +0 -14
- package/lib/src/unit-utils/can-edit-field.d.ts +0 -6
- package/lib/src/unit-utils/can-edit-field.js +0 -8
- package/lib/src/unit-utils/common.d.ts +0 -14
- package/lib/src/unit-utils/common.js +0 -43
- package/lib/src/unit-utils/decimal.d.ts +0 -42
- package/lib/src/unit-utils/decimal.js +0 -418
- package/lib/src/unit-utils/dynamic-keys.d.ts +0 -7
- package/lib/src/unit-utils/dynamic-keys.js +0 -13
- package/lib/src/unit-utils/enums.d.ts +0 -27
- package/lib/src/unit-utils/enums.js +0 -69
- package/lib/src/unit-utils/formatters.d.ts +0 -50
- package/lib/src/unit-utils/formatters.js +0 -163
- package/lib/src/unit-utils/get-export-value.d.ts +0 -45
- package/lib/src/unit-utils/get-export-value.js +0 -83
- package/lib/src/unit-utils/get-field-label.d.ts +0 -6
- package/lib/src/unit-utils/get-field-label.js +0 -10
- package/lib/src/unit-utils/get-unmatched-unit-label.d.ts +0 -2
- package/lib/src/unit-utils/get-unmatched-unit-label.js +0 -9
- package/lib/src/unit-utils/schema.d.ts +0 -4
- package/lib/src/unit-utils/schema.js +0 -12
- package/lib/src/unit-utils/wrap-normalized-in-expression.d.ts +0 -3
- package/lib/src/unit-utils/wrap-normalized-in-expression.js +0 -14
- package/lib/src/units/board.d.ts +0 -46
- package/lib/src/units/board.js +0 -51
- package/lib/src/units/canvas/all-units-data-definitions.d.ts +0 -18
- package/lib/src/units/canvas/all-units-data-definitions.js +0 -40
- package/lib/src/units/canvas/index.d.ts +0 -45
- package/lib/src/units/canvas/index.js +0 -48
- package/lib/src/units/canvas/type-badge-abbr.d.ts +0 -36
- package/lib/src/units/canvas/type-badge-abbr.js +0 -11
- package/lib/src/units/canvas/type-badge.d.ts +0 -36
- package/lib/src/units/canvas/type-badge.js +0 -11
- package/lib/src/units/default.d.ts +0 -46
- package/lib/src/units/default.js +0 -51
- package/lib/src/units/gallery.d.ts +0 -3
- package/lib/src/units/gallery.js +0 -18
- package/lib/src/units/gantt.d.ts +0 -47
- package/lib/src/units/gantt.js +0 -59
- package/lib/src/units/get-unit-definitions-for-view-type.d.ts +0 -2
- package/lib/src/units/get-unit-definitions-for-view-type.js +0 -64
- package/lib/src/units/grid.d.ts +0 -45
- package/lib/src/units/grid.js +0 -71
- package/lib/src/units/list.d.ts +0 -46
- package/lib/src/units/list.js +0 -49
- package/lib/src/units/make-factory.d.ts +0 -51
- package/lib/src/units/make-factory.js +0 -261
- package/lib/src/units/types.d.ts +0 -73
- package/lib/src/units/types.js +0 -2
package/lib/src/private/board.js
DELETED
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.enableHideWhenEmptyForCheckedEditableUnits = exports.enableHideWhenEmptyForCovers = exports.collectGarbage = exports.fixContextExpressionWithBrokenPath = exports.fixUserSelectedUnitsInBoardView = exports.deleteExpressionWithNotFoundOrInvalidFieldsOrTypesInBoardView = exports.replaceNamesWithIdsInBoardView = exports.replaceIdsWithNamesInBoardView = void 0;
|
|
7
|
-
const utils_1 = require("@fibery/expression-utils/src/utils");
|
|
8
|
-
const immutability_helper_1 = __importDefault(require("immutability-helper"));
|
|
9
|
-
const entries_1 = __importDefault(require("lodash/entries"));
|
|
10
|
-
const get_1 = __importDefault(require("lodash/get"));
|
|
11
|
-
const isEmpty_1 = __importDefault(require("lodash/isEmpty"));
|
|
12
|
-
const set_1 = __importDefault(require("lodash/set"));
|
|
13
|
-
const some_1 = __importDefault(require("lodash/some"));
|
|
14
|
-
const truthy_1 = require("../truthy");
|
|
15
|
-
const units_1 = require("./units");
|
|
16
|
-
const utils_2 = require("./utils");
|
|
17
|
-
const visitQueryExpressionHolder = (queryHolder, visitor) => {
|
|
18
|
-
if (queryHolder) {
|
|
19
|
-
const { query, filter } = queryHolder;
|
|
20
|
-
const newQueryHolder = { ...queryHolder };
|
|
21
|
-
if (query) {
|
|
22
|
-
const queryNew = visitor.visitQueryExpression(query);
|
|
23
|
-
if (queryNew) {
|
|
24
|
-
newQueryHolder.query = queryNew;
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
const { "q/from": fromType } = query;
|
|
30
|
-
if (filter && fromType) {
|
|
31
|
-
const filterNew = visitor.visitFilter(fromType, filter);
|
|
32
|
-
if (filterNew) {
|
|
33
|
-
newQueryHolder.filter = filterNew;
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
newQueryHolder.filter = null;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return newQueryHolder;
|
|
41
|
-
}
|
|
42
|
-
return queryHolder;
|
|
43
|
-
};
|
|
44
|
-
const visitAxisUnits = (axis, fromType, visitor) => {
|
|
45
|
-
return fromType
|
|
46
|
-
? (0, immutability_helper_1.default)(axis, {
|
|
47
|
-
contextExpression: {
|
|
48
|
-
$apply: (contextExpression) => (0, utils_2.visitContextExpression)(fromType, contextExpression, visitor),
|
|
49
|
-
},
|
|
50
|
-
units: {
|
|
51
|
-
$apply: (units) => units
|
|
52
|
-
? units
|
|
53
|
-
.filter(truthy_1.truthy)
|
|
54
|
-
.map((unit) => (0, utils_2.visitViewUnit)(fromType, unit, visitor))
|
|
55
|
-
.filter(utils_2.isUnitExpressionValid)
|
|
56
|
-
.map((unit, idx, units) => visitor.visitViewUnit ? visitor.visitViewUnit(fromType, unit, units) : unit)
|
|
57
|
-
.filter(utils_2.skipRemove)
|
|
58
|
-
: undefined,
|
|
59
|
-
},
|
|
60
|
-
})
|
|
61
|
-
: axis;
|
|
62
|
-
};
|
|
63
|
-
const visitAxis = (axis, visitor) => {
|
|
64
|
-
if (axis && Object.hasOwn(axis, "query")) {
|
|
65
|
-
const fromType = (0, get_1.default)(axis, ["query", "q/from"]);
|
|
66
|
-
const axisWithVisitedQuery = visitQueryExpressionHolder(axis, visitor);
|
|
67
|
-
if (axisWithVisitedQuery) {
|
|
68
|
-
return visitAxisUnits(axisWithVisitedQuery, fromType, visitor);
|
|
69
|
-
}
|
|
70
|
-
return axisWithVisitedQuery;
|
|
71
|
-
}
|
|
72
|
-
if (axis && Object.hasOwn(axis, "enums")) {
|
|
73
|
-
const axisNew = (0, immutability_helper_1.default)(axis, {
|
|
74
|
-
enums: {
|
|
75
|
-
$apply: (enums) => visitor.visitEnums(enums),
|
|
76
|
-
},
|
|
77
|
-
});
|
|
78
|
-
const { enums } = axisNew;
|
|
79
|
-
return enums ? axisNew : null;
|
|
80
|
-
}
|
|
81
|
-
return axis;
|
|
82
|
-
};
|
|
83
|
-
const isAxisFieldExpression = (expression) => (0, utils_1.isFieldExpression)(expression) && expression.length === 1;
|
|
84
|
-
const ensureAxisAndItemExpressionInvariant = (view) => {
|
|
85
|
-
const actions = [];
|
|
86
|
-
const x = (0, get_1.default)(view, ["fibery/meta", "x"]);
|
|
87
|
-
const y = (0, get_1.default)(view, ["fibery/meta", "y"]);
|
|
88
|
-
const items = (0, get_1.default)(view, ["fibery/meta", "items"]);
|
|
89
|
-
if (x === null) {
|
|
90
|
-
const resetActions = items.map((item) => () => (item.xExpression = null));
|
|
91
|
-
actions.push(...resetActions);
|
|
92
|
-
}
|
|
93
|
-
if (x !== null && (0, some_1.default)(items, ({ xExpression }) => xExpression === null)) {
|
|
94
|
-
const resetActions = items.map((item) => () => (item.xExpression = null));
|
|
95
|
-
actions.push(...resetActions);
|
|
96
|
-
actions.push(() => (0, set_1.default)(view, ["fibery/meta", "x"], null));
|
|
97
|
-
}
|
|
98
|
-
if (y === null) {
|
|
99
|
-
const resetActions = items.map((item) => () => (item.yExpression = null));
|
|
100
|
-
actions.push(...resetActions);
|
|
101
|
-
}
|
|
102
|
-
if (y !== null && (0, some_1.default)(items, ({ yExpression }) => yExpression === null)) {
|
|
103
|
-
const resetActions = items.map((item) => () => (item.yExpression = null));
|
|
104
|
-
actions.push(...resetActions);
|
|
105
|
-
actions.push(() => (0, set_1.default)(view, ["fibery/meta", "y"], null));
|
|
106
|
-
}
|
|
107
|
-
if (x !== null && (0, isEmpty_1.default)(items)) {
|
|
108
|
-
actions.push(() => (0, set_1.default)(view, ["fibery/meta", "x"], null));
|
|
109
|
-
}
|
|
110
|
-
if (y !== null && (0, isEmpty_1.default)(items)) {
|
|
111
|
-
actions.push(() => (0, set_1.default)(view, ["fibery/meta", "y"], null));
|
|
112
|
-
}
|
|
113
|
-
if (x !== null && (0, some_1.default)(items, ({ xExpression }) => !isAxisFieldExpression(xExpression))) {
|
|
114
|
-
const resetActions = items.map((item) => () => (item.xExpression = null));
|
|
115
|
-
actions.push(...resetActions);
|
|
116
|
-
actions.push(() => (0, set_1.default)(view, ["fibery/meta", "x"], null));
|
|
117
|
-
}
|
|
118
|
-
if (y !== null && (0, some_1.default)(items, ({ yExpression }) => !isAxisFieldExpression(yExpression))) {
|
|
119
|
-
const resetActions = items.map((item) => () => (item.yExpression = null));
|
|
120
|
-
actions.push(...resetActions);
|
|
121
|
-
actions.push(() => (0, set_1.default)(view, ["fibery/meta", "y"], null));
|
|
122
|
-
}
|
|
123
|
-
actions.forEach((action) => action());
|
|
124
|
-
return view;
|
|
125
|
-
};
|
|
126
|
-
const visitView = (view, visitor) => (0, immutability_helper_1.default)(view, {
|
|
127
|
-
"fibery/meta": {
|
|
128
|
-
x: {
|
|
129
|
-
$apply: (x) => visitAxis(x, visitor),
|
|
130
|
-
},
|
|
131
|
-
y: {
|
|
132
|
-
$apply: (y) => visitAxis(y, visitor),
|
|
133
|
-
},
|
|
134
|
-
items: {
|
|
135
|
-
$apply: (items) => {
|
|
136
|
-
if (!items) {
|
|
137
|
-
return [];
|
|
138
|
-
}
|
|
139
|
-
return items
|
|
140
|
-
.map((item) => {
|
|
141
|
-
const fromType = (0, get_1.default)(item, ["query", "q/from"]);
|
|
142
|
-
return fromType
|
|
143
|
-
? (0, immutability_helper_1.default)(item, {
|
|
144
|
-
coverExpression: {
|
|
145
|
-
$apply: (coverExpression) => coverExpression ? visitor.visitExpression(fromType, coverExpression) : coverExpression,
|
|
146
|
-
},
|
|
147
|
-
xExpression: {
|
|
148
|
-
$apply: (xExpression) => xExpression ? visitor.visitExpression(fromType, xExpression) : xExpression,
|
|
149
|
-
},
|
|
150
|
-
yExpression: {
|
|
151
|
-
$apply: (yExpression) => yExpression ? visitor.visitExpression(fromType, yExpression) : yExpression,
|
|
152
|
-
},
|
|
153
|
-
contextExpression: {
|
|
154
|
-
$apply: (contextExpression) => (0, utils_2.visitContextExpression)(fromType, contextExpression, visitor),
|
|
155
|
-
},
|
|
156
|
-
query: {
|
|
157
|
-
$apply: (query) => (query ? visitor.visitQueryExpression(query) : null),
|
|
158
|
-
},
|
|
159
|
-
filter: {
|
|
160
|
-
$apply: (filter) => (filter ? visitor.visitFilter(fromType, filter) : null),
|
|
161
|
-
},
|
|
162
|
-
units: {
|
|
163
|
-
$apply: (units) => units
|
|
164
|
-
? units
|
|
165
|
-
.filter(truthy_1.truthy)
|
|
166
|
-
.map((unit) => (0, utils_2.visitViewUnit)(fromType, unit, visitor))
|
|
167
|
-
.filter(utils_2.isUnitExpressionValid)
|
|
168
|
-
.map((unit, idx, units) => visitor.visitViewUnit ? visitor.visitViewUnit(fromType, unit, units) : unit)
|
|
169
|
-
.filter((unit) => unit !== utils_2.REMOVE)
|
|
170
|
-
: undefined,
|
|
171
|
-
},
|
|
172
|
-
colorCoding: {
|
|
173
|
-
$apply: (colorCodings) => {
|
|
174
|
-
return colorCodings
|
|
175
|
-
? colorCodings
|
|
176
|
-
.map((colorCoding) => ({
|
|
177
|
-
...colorCoding,
|
|
178
|
-
expression: visitor.visitExpression(fromType, colorCoding.expression),
|
|
179
|
-
}))
|
|
180
|
-
.filter((colorCoding) => colorCoding.expression !== null)
|
|
181
|
-
: undefined;
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
|
-
})
|
|
185
|
-
: item;
|
|
186
|
-
})
|
|
187
|
-
.filter((item) => {
|
|
188
|
-
const { query } = item;
|
|
189
|
-
return query ? item : null;
|
|
190
|
-
});
|
|
191
|
-
},
|
|
192
|
-
},
|
|
193
|
-
},
|
|
194
|
-
});
|
|
195
|
-
const replaceNamesWithIdsViewVisitor = (schema) => {
|
|
196
|
-
const visitor = {
|
|
197
|
-
visitQueryExpression: (queryExpression) => (0, utils_2.replaceNamesWithIdsInQueryExpression)(schema, queryExpression),
|
|
198
|
-
visitFilter: (fromType, filter) => (0, utils_2.replaceNamesWithIdsInFilter)(schema, fromType, filter),
|
|
199
|
-
visitExpression: (fromType, expression) => (0, utils_2.replaceNamesWithIdsInExpression)(schema, fromType, expression),
|
|
200
|
-
visitEnums: (enums) => (0, entries_1.default)(enums).reduce((result, [type, queryHolder]) => {
|
|
201
|
-
if (Object.hasOwn(schema.typeObjectsByName, type)) {
|
|
202
|
-
const typeObject = schema.typeObjectsByName[type];
|
|
203
|
-
const fromType = (0, get_1.default)(queryHolder, ["query", "q/from"]);
|
|
204
|
-
const axisWithVisitedQuery = visitQueryExpressionHolder(queryHolder, visitor);
|
|
205
|
-
result[typeObject.id] = visitAxisUnits(axisWithVisitedQuery, fromType, visitor);
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
result[type] = queryHolder;
|
|
209
|
-
}
|
|
210
|
-
return result;
|
|
211
|
-
}, {}),
|
|
212
|
-
};
|
|
213
|
-
return visitor;
|
|
214
|
-
};
|
|
215
|
-
const replaceIdsWithNamesViewVisitor = (schema) => {
|
|
216
|
-
const visitor = {
|
|
217
|
-
visitQueryExpression: (queryExpression) => (0, utils_2.replaceIdsWithNamesInQueryExpression)(schema, queryExpression),
|
|
218
|
-
visitFilter: (fromType, filter) => {
|
|
219
|
-
return (0, utils_2.replaceIdsWithNamesInFilter)(schema, fromType, filter);
|
|
220
|
-
},
|
|
221
|
-
visitExpression: (fromType, expression) => (0, utils_2.replaceIdsWithNamesInExpression)(schema, fromType, expression),
|
|
222
|
-
visitEnums: (enums) => (0, entries_1.default)(enums).reduce((result, [typeId, queryHolder]) => {
|
|
223
|
-
if (Object.hasOwn(schema.typeObjectsById, typeId)) {
|
|
224
|
-
const typeObject = schema.typeObjectsById[typeId];
|
|
225
|
-
const fromType = (0, get_1.default)(queryHolder, ["query", "q/from"]);
|
|
226
|
-
const axisWithVisitedQuery = visitQueryExpressionHolder(queryHolder, visitor);
|
|
227
|
-
result[typeObject.name] = visitAxisUnits(axisWithVisitedQuery, fromType, visitor);
|
|
228
|
-
}
|
|
229
|
-
else {
|
|
230
|
-
result[typeId] = queryHolder;
|
|
231
|
-
}
|
|
232
|
-
return result;
|
|
233
|
-
}, {}),
|
|
234
|
-
};
|
|
235
|
-
return visitor;
|
|
236
|
-
};
|
|
237
|
-
const deleteExpressionWithNotFoundFieldsOrTypesViewVisitor = (schema) => {
|
|
238
|
-
const visitor = {
|
|
239
|
-
visitQueryExpression: (queryExpression) => (0, utils_2.deleteExpressionWithNotFoundFieldsOrTypesInQueryExpression)(schema, queryExpression),
|
|
240
|
-
visitFilter: (fromType, filter) => (0, utils_2.deleteExpressionWithNotFoundFieldsOrTypesInFilter)(schema, fromType, filter),
|
|
241
|
-
visitExpression: (fromType, expression) => (0, utils_2.deleteExpressionWithNotFoundFieldsOrTypesInExpression)(schema, fromType, expression),
|
|
242
|
-
visitEnums: (enums) => {
|
|
243
|
-
const enumsNew = (0, entries_1.default)(enums).reduce((result, [type, queryHolder]) => {
|
|
244
|
-
if (Object.hasOwn(schema.typeObjectsByName, type)) {
|
|
245
|
-
const typeObject = schema.typeObjectsByName[type];
|
|
246
|
-
const queryHolderResult = visitQueryExpressionHolder(queryHolder, visitor);
|
|
247
|
-
if (queryHolderResult) {
|
|
248
|
-
result[typeObject.name] = queryHolderResult;
|
|
249
|
-
}
|
|
250
|
-
return result;
|
|
251
|
-
}
|
|
252
|
-
return result;
|
|
253
|
-
}, {});
|
|
254
|
-
return (0, isEmpty_1.default)(enumsNew) ? null : enumsNew;
|
|
255
|
-
},
|
|
256
|
-
};
|
|
257
|
-
return visitor;
|
|
258
|
-
};
|
|
259
|
-
const fixUserSelectedUnitsViewVisitor = (schema, { unitDefinitions, getDefaultUnitTypeForField, }) => {
|
|
260
|
-
return {
|
|
261
|
-
visitQueryExpression: (queryExpression) => queryExpression,
|
|
262
|
-
visitFilter: (_fromType, filter) => filter,
|
|
263
|
-
visitExpression: (_fromType, expression) => expression,
|
|
264
|
-
visitEnums: (enums) => enums,
|
|
265
|
-
visitViewUnit: (fromType, unit, units) => (0, units_1.fixViewUnit)(schema, fromType, unit, units, { unitDefinitions, getDefaultUnitTypeForField }),
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
const replaceIdsWithNamesInBoardView = (schema, view) => visitView(view, replaceIdsWithNamesViewVisitor(schema));
|
|
269
|
-
exports.replaceIdsWithNamesInBoardView = replaceIdsWithNamesInBoardView;
|
|
270
|
-
const replaceNamesWithIdsInBoardView = (schema, view) => visitView(view, replaceNamesWithIdsViewVisitor(schema));
|
|
271
|
-
exports.replaceNamesWithIdsInBoardView = replaceNamesWithIdsInBoardView;
|
|
272
|
-
const deleteExpressionWithNotFoundOrInvalidFieldsOrTypesInBoardView = (schema, view, ensureAxisInvariant = true) => {
|
|
273
|
-
const viewNew = visitView(view, deleteExpressionWithNotFoundFieldsOrTypesViewVisitor(schema));
|
|
274
|
-
return ensureAxisInvariant ? ensureAxisAndItemExpressionInvariant(viewNew) : viewNew;
|
|
275
|
-
};
|
|
276
|
-
exports.deleteExpressionWithNotFoundOrInvalidFieldsOrTypesInBoardView = deleteExpressionWithNotFoundOrInvalidFieldsOrTypesInBoardView;
|
|
277
|
-
const fixUserSelectedUnitsInBoardView = (schema, view, { unitDefinitions, getDefaultUnitTypeForField, }) => {
|
|
278
|
-
return visitView(view, fixUserSelectedUnitsViewVisitor(schema, { unitDefinitions, getDefaultUnitTypeForField }));
|
|
279
|
-
};
|
|
280
|
-
exports.fixUserSelectedUnitsInBoardView = fixUserSelectedUnitsInBoardView;
|
|
281
|
-
const fixContextExpressionWithBrokenPath = (schema, view, defaultContextExpression) => visitView(view, {
|
|
282
|
-
visitQueryExpression: (query) => query,
|
|
283
|
-
visitFilter: (_fromType, filter) => filter,
|
|
284
|
-
visitExpression: (_fromType, expression) => expression,
|
|
285
|
-
visitEnums: (enums) => enums,
|
|
286
|
-
visitContextExpression: (fromType, expression) => (0, utils_2.resetContextExpressionIfBroken)(schema, fromType, expression, defaultContextExpression),
|
|
287
|
-
});
|
|
288
|
-
exports.fixContextExpressionWithBrokenPath = fixContextExpressionWithBrokenPath;
|
|
289
|
-
const collectGarbage = (view) => {
|
|
290
|
-
return visitView(view, {
|
|
291
|
-
visitQueryExpression: (queryExpression) => queryExpression,
|
|
292
|
-
visitFilter: (_fromType, filter) => filter,
|
|
293
|
-
visitExpression: (fromType, expression) => expression,
|
|
294
|
-
visitEnums: (enums) => enums,
|
|
295
|
-
visitViewUnit: (fromType, unit) => (unit.checked ? unit : utils_2.REMOVE),
|
|
296
|
-
});
|
|
297
|
-
};
|
|
298
|
-
exports.collectGarbage = collectGarbage;
|
|
299
|
-
const enableHideWhenEmptyForCovers = (view) => {
|
|
300
|
-
return (0, immutability_helper_1.default)(view, {
|
|
301
|
-
"fibery/meta": {
|
|
302
|
-
items: {
|
|
303
|
-
$apply: (items) => items.map((item) => {
|
|
304
|
-
if (!item.coverExpression) {
|
|
305
|
-
return item;
|
|
306
|
-
}
|
|
307
|
-
return {
|
|
308
|
-
...item,
|
|
309
|
-
coverHideWhenEmpty: true,
|
|
310
|
-
};
|
|
311
|
-
}),
|
|
312
|
-
},
|
|
313
|
-
},
|
|
314
|
-
});
|
|
315
|
-
};
|
|
316
|
-
exports.enableHideWhenEmptyForCovers = enableHideWhenEmptyForCovers;
|
|
317
|
-
const enableHideWhenEmptyForCheckedEditableUnits = (view) => {
|
|
318
|
-
return visitView(view, {
|
|
319
|
-
visitFilter: (_fromType, filter) => filter,
|
|
320
|
-
visitQueryExpression: (queryExpression) => queryExpression,
|
|
321
|
-
visitGroupByExpression: (groupBy) => groupBy,
|
|
322
|
-
visitExpression: (fromType, expression) => expression,
|
|
323
|
-
visitEnums: (enums) => enums,
|
|
324
|
-
visitViewUnit: (fromType, unit) => (0, units_1.enableHideWhenEmptyForCheckedEditableUnit)(unit),
|
|
325
|
-
});
|
|
326
|
-
};
|
|
327
|
-
exports.enableHideWhenEmptyForCheckedEditableUnits = enableHideWhenEmptyForCheckedEditableUnits;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Expression } from "@fibery/expression-utils/src/types";
|
|
2
|
-
import type { FieldObject, Schema } from "@fibery/schema";
|
|
3
|
-
import type { Unit } from "@fibery/views/src/units/types";
|
|
4
|
-
import type { UnitDefinitions, ViewRecord } from "./utils";
|
|
5
|
-
export declare const replaceNamesWithIdsInCalendarView: (schema: Schema, view: ViewRecord) => any;
|
|
6
|
-
export declare const replaceIdsWithNamesInCalendarView: (schema: Schema, view: ViewRecord) => any;
|
|
7
|
-
export declare const deleteExpressionWithNotFoundFieldsOrTypesInCalendarView: (schema: Schema, view: ViewRecord) => any;
|
|
8
|
-
export declare const fixUserSelectedUnitsInCalendarView: (schema: Schema, view: ViewRecord, { unitDefinitions, getDefaultUnitTypeForField, }: {
|
|
9
|
-
unitDefinitions: UnitDefinitions;
|
|
10
|
-
getDefaultUnitTypeForField: (fieldObject: FieldObject, allowedUnits: Unit[]) => string | undefined;
|
|
11
|
-
}) => any;
|
|
12
|
-
export declare const fixContextExpressionWithBrokenPath: (schema: Schema, view: ViewRecord, defaultContextExpression: Expression) => any;
|
|
13
|
-
export declare const collectGarbage: (view: ViewRecord) => any;
|
|
14
|
-
export declare const enableHideWhenEmptyForCheckedUnits: (view: ViewRecord) => any;
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.enableHideWhenEmptyForCheckedUnits = exports.collectGarbage = exports.fixContextExpressionWithBrokenPath = exports.fixUserSelectedUnitsInCalendarView = exports.deleteExpressionWithNotFoundFieldsOrTypesInCalendarView = exports.replaceIdsWithNamesInCalendarView = exports.replaceNamesWithIdsInCalendarView = void 0;
|
|
7
|
-
const immutability_helper_1 = __importDefault(require("immutability-helper"));
|
|
8
|
-
const get_1 = __importDefault(require("lodash/get"));
|
|
9
|
-
const truthy_1 = require("../truthy");
|
|
10
|
-
const units_1 = require("./units");
|
|
11
|
-
const utils_1 = require("./utils");
|
|
12
|
-
const visitView = (view, visitor) => (0, immutability_helper_1.default)(view, {
|
|
13
|
-
"fibery/meta": {
|
|
14
|
-
items: {
|
|
15
|
-
$apply: (items) => items
|
|
16
|
-
.map((item) => {
|
|
17
|
-
const fromType = (0, get_1.default)(item, ["query", "q/from"]);
|
|
18
|
-
return fromType
|
|
19
|
-
? (0, immutability_helper_1.default)(item, {
|
|
20
|
-
startExpression: {
|
|
21
|
-
$apply: (startExpression) => startExpression ? visitor.visitExpression(fromType, startExpression) : startExpression,
|
|
22
|
-
},
|
|
23
|
-
endExpression: {
|
|
24
|
-
$apply: (endExpression) => endExpression ? visitor.visitExpression(fromType, endExpression) : endExpression,
|
|
25
|
-
},
|
|
26
|
-
contextExpression: {
|
|
27
|
-
$apply: (contextExpression) => (0, utils_1.visitContextExpression)(fromType, contextExpression, visitor),
|
|
28
|
-
},
|
|
29
|
-
query: {
|
|
30
|
-
$apply: (query) => (query ? visitor.visitQueryExpression(query) : null),
|
|
31
|
-
},
|
|
32
|
-
filter: {
|
|
33
|
-
$apply: (filter) => (filter ? visitor.visitFilter(fromType, filter) : null),
|
|
34
|
-
},
|
|
35
|
-
units: {
|
|
36
|
-
$apply: (units) => units
|
|
37
|
-
? units
|
|
38
|
-
.filter(truthy_1.truthy)
|
|
39
|
-
.map((unit) => (0, utils_1.visitViewUnit)(fromType, unit, visitor))
|
|
40
|
-
.filter(utils_1.isUnitExpressionValid)
|
|
41
|
-
.map((unit, idx, units) => visitor.visitViewUnit ? visitor.visitViewUnit(fromType, unit, units) : unit)
|
|
42
|
-
.filter((unit) => unit !== utils_1.REMOVE)
|
|
43
|
-
: undefined,
|
|
44
|
-
},
|
|
45
|
-
colorCoding: {
|
|
46
|
-
$apply: (colorCodings) => {
|
|
47
|
-
return (colorCodings &&
|
|
48
|
-
colorCodings
|
|
49
|
-
.map((colorCoding) => ({
|
|
50
|
-
...colorCoding,
|
|
51
|
-
expression: visitor.visitExpression(fromType, colorCoding.expression),
|
|
52
|
-
}))
|
|
53
|
-
.filter((colorCoding) => colorCoding.expression !== null));
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
})
|
|
57
|
-
: item;
|
|
58
|
-
})
|
|
59
|
-
.filter((item) => {
|
|
60
|
-
const { query } = item;
|
|
61
|
-
return query ? item : null;
|
|
62
|
-
}),
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
});
|
|
66
|
-
const replaceNamesWithIdsInCalendarView = (schema, view) => {
|
|
67
|
-
return visitView(view, {
|
|
68
|
-
visitExpression: (fromType, expression) => (0, utils_1.replaceNamesWithIdsInExpression)(schema, fromType, expression),
|
|
69
|
-
visitFilter: (fromType, expression) => (0, utils_1.replaceNamesWithIdsInFilter)(schema, fromType, expression),
|
|
70
|
-
visitQueryExpression: (query) => (0, utils_1.replaceNamesWithIdsInQueryExpression)(schema, query),
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
exports.replaceNamesWithIdsInCalendarView = replaceNamesWithIdsInCalendarView;
|
|
74
|
-
const replaceIdsWithNamesInCalendarView = (schema, view) => {
|
|
75
|
-
return visitView(view, {
|
|
76
|
-
visitExpression: (fromType, expression) => (0, utils_1.replaceIdsWithNamesInExpression)(schema, fromType, expression),
|
|
77
|
-
visitFilter: (fromType, expression) => (0, utils_1.replaceIdsWithNamesInFilter)(schema, fromType, expression),
|
|
78
|
-
visitQueryExpression: (query) => (0, utils_1.replaceIdsWithNamesInQueryExpression)(schema, query),
|
|
79
|
-
});
|
|
80
|
-
};
|
|
81
|
-
exports.replaceIdsWithNamesInCalendarView = replaceIdsWithNamesInCalendarView;
|
|
82
|
-
const deleteExpressionWithNotFoundFieldsOrTypesInCalendarView = (schema, view) => visitView(view, {
|
|
83
|
-
visitQueryExpression: (queryExpression) => (0, utils_1.deleteExpressionWithNotFoundFieldsOrTypesInQueryExpression)(schema, queryExpression),
|
|
84
|
-
visitFilter: (fromType, expression) => (0, utils_1.deleteExpressionWithNotFoundFieldsOrTypesInFilter)(schema, fromType, expression),
|
|
85
|
-
visitExpression: (fromType, expression) => (0, utils_1.deleteExpressionWithNotFoundFieldsOrTypesInExpression)(schema, fromType, expression),
|
|
86
|
-
});
|
|
87
|
-
exports.deleteExpressionWithNotFoundFieldsOrTypesInCalendarView = deleteExpressionWithNotFoundFieldsOrTypesInCalendarView;
|
|
88
|
-
const fixUserSelectedUnitsInCalendarView = (schema, view, { unitDefinitions, getDefaultUnitTypeForField, }) => {
|
|
89
|
-
return visitView(view, {
|
|
90
|
-
visitExpression: (_fromType, expression) => expression,
|
|
91
|
-
visitFilter: (_fromType, filter) => filter,
|
|
92
|
-
visitQueryExpression: (query) => query,
|
|
93
|
-
visitViewUnit: (fromType, unit, units) => (0, units_1.fixViewUnit)(schema, fromType, unit, units, { unitDefinitions, getDefaultUnitTypeForField }),
|
|
94
|
-
});
|
|
95
|
-
};
|
|
96
|
-
exports.fixUserSelectedUnitsInCalendarView = fixUserSelectedUnitsInCalendarView;
|
|
97
|
-
const fixContextExpressionWithBrokenPath = (schema, view, defaultContextExpression) => visitView(view, {
|
|
98
|
-
visitQueryExpression: (query) => query,
|
|
99
|
-
visitFilter: (_fromType, filter) => filter,
|
|
100
|
-
visitExpression: (fromType, expression) => expression,
|
|
101
|
-
visitContextExpression: (fromType, expression) => (0, utils_1.resetContextExpressionIfBroken)(schema, fromType, expression, defaultContextExpression),
|
|
102
|
-
});
|
|
103
|
-
exports.fixContextExpressionWithBrokenPath = fixContextExpressionWithBrokenPath;
|
|
104
|
-
const collectGarbage = (view) => {
|
|
105
|
-
return visitView(view, {
|
|
106
|
-
visitExpression: (fromType, expression) => expression,
|
|
107
|
-
visitFilter: (_fromType, filter) => filter,
|
|
108
|
-
visitQueryExpression: (query) => query,
|
|
109
|
-
visitViewUnit: (fromType, unit) => (unit.checked ? unit : utils_1.REMOVE),
|
|
110
|
-
});
|
|
111
|
-
};
|
|
112
|
-
exports.collectGarbage = collectGarbage;
|
|
113
|
-
const enableHideWhenEmptyForCheckedUnits = (view) => {
|
|
114
|
-
return visitView(view, {
|
|
115
|
-
visitQueryExpression: (queryExpression) => queryExpression,
|
|
116
|
-
visitFilter: (_fromType, filter) => filter,
|
|
117
|
-
visitGroupByExpression: (groupBy) => groupBy,
|
|
118
|
-
visitExpression: (fromType, expression) => expression,
|
|
119
|
-
visitEnums: (enums) => enums,
|
|
120
|
-
visitViewUnit: (fromType, unit) => (0, units_1.enableHideWhenEmptyForCheckedEditableUnit)(unit),
|
|
121
|
-
});
|
|
122
|
-
};
|
|
123
|
-
exports.enableHideWhenEmptyForCheckedUnits = enableHideWhenEmptyForCheckedUnits;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Expression } from "@fibery/expression-utils/src/types";
|
|
2
|
-
import type { FieldObject, Schema } from "@fibery/schema";
|
|
3
|
-
import type { Unit } from "@fibery/views/src/units/types";
|
|
4
|
-
import type { UnitDefinitions, ViewRecord } from "./utils";
|
|
5
|
-
export declare const replaceNamesWithIdsInFeedView: (schema: Schema, view: ViewRecord) => any;
|
|
6
|
-
export declare const replaceIdsWithNamesInFeedView: (schema: Schema, view: ViewRecord) => any;
|
|
7
|
-
export declare const deleteExpressionWithNotFoundFieldsOrTypesInFeedView: (schema: Schema, view: ViewRecord) => any;
|
|
8
|
-
export declare const fixUserSelectedUnitsInFeedView: (schema: Schema, view: ViewRecord, { unitDefinitions, getDefaultUnitTypeForField, }: {
|
|
9
|
-
unitDefinitions: UnitDefinitions;
|
|
10
|
-
getDefaultUnitTypeForField: (fieldObject: FieldObject, allowedUnits: Unit[]) => string | undefined;
|
|
11
|
-
}) => any;
|
|
12
|
-
export declare const fixContextExpressionWithBrokenPath: (schema: Schema, view: ViewRecord, defaultContextExpression: Expression) => any;
|
|
13
|
-
export declare const collectGarbage: (view: ViewRecord) => any;
|
|
14
|
-
export declare const enableHideWhenEmptyForCheckedUnits: (view: ViewRecord) => any;
|
package/lib/src/private/feed.js
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.enableHideWhenEmptyForCheckedUnits = exports.collectGarbage = exports.fixContextExpressionWithBrokenPath = exports.fixUserSelectedUnitsInFeedView = exports.deleteExpressionWithNotFoundFieldsOrTypesInFeedView = exports.replaceIdsWithNamesInFeedView = exports.replaceNamesWithIdsInFeedView = void 0;
|
|
7
|
-
const immutability_helper_1 = __importDefault(require("immutability-helper"));
|
|
8
|
-
const get_1 = __importDefault(require("lodash/get"));
|
|
9
|
-
const truthy_1 = require("../truthy");
|
|
10
|
-
const units_1 = require("./units");
|
|
11
|
-
const utils_1 = require("./utils");
|
|
12
|
-
const visitView = (view, visitor) => (0, immutability_helper_1.default)(view, {
|
|
13
|
-
"fibery/meta": {
|
|
14
|
-
items: {
|
|
15
|
-
$apply: (items) => items
|
|
16
|
-
.map((item) => {
|
|
17
|
-
const fromType = (0, get_1.default)(item, ["query", "q/from"]);
|
|
18
|
-
return fromType
|
|
19
|
-
? (0, immutability_helper_1.default)(item, {
|
|
20
|
-
postExpression: {
|
|
21
|
-
$apply: (postExpression) => postExpression ? visitor.visitExpression(fromType, postExpression) : postExpression,
|
|
22
|
-
},
|
|
23
|
-
contextExpression: {
|
|
24
|
-
$apply: (contextExpression) => (0, utils_1.visitContextExpression)(fromType, contextExpression, visitor),
|
|
25
|
-
},
|
|
26
|
-
query: {
|
|
27
|
-
$apply: (query) => (query ? visitor.visitQueryExpression(query) : null),
|
|
28
|
-
},
|
|
29
|
-
filter: {
|
|
30
|
-
$apply: (filter) => (filter ? visitor.visitFilter(fromType, filter) : null),
|
|
31
|
-
},
|
|
32
|
-
units: {
|
|
33
|
-
$apply: (units) => units
|
|
34
|
-
? units
|
|
35
|
-
.filter(truthy_1.truthy)
|
|
36
|
-
.map((unit) => (0, utils_1.visitViewUnit)(fromType, unit, visitor))
|
|
37
|
-
.filter(utils_1.isUnitExpressionValid)
|
|
38
|
-
.map((unit, idx, units) => visitor.visitViewUnit ? visitor.visitViewUnit(fromType, unit, units) : unit)
|
|
39
|
-
.filter((unit) => unit !== utils_1.REMOVE)
|
|
40
|
-
: undefined,
|
|
41
|
-
},
|
|
42
|
-
colorCoding: {
|
|
43
|
-
$apply: (colorCodings) => {
|
|
44
|
-
return (colorCodings &&
|
|
45
|
-
colorCodings
|
|
46
|
-
.map((colorCoding) => ({
|
|
47
|
-
...colorCoding,
|
|
48
|
-
expression: visitor.visitExpression(fromType, colorCoding.expression),
|
|
49
|
-
}))
|
|
50
|
-
.filter((colorCoding) => colorCoding.expression !== null));
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
})
|
|
54
|
-
: item;
|
|
55
|
-
})
|
|
56
|
-
.filter((item) => {
|
|
57
|
-
const { query } = item;
|
|
58
|
-
return query ? item : null;
|
|
59
|
-
}),
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
});
|
|
63
|
-
const replaceNamesWithIdsInFeedView = (schema, view) => {
|
|
64
|
-
return visitView(view, {
|
|
65
|
-
visitExpression: (fromType, expression) => (0, utils_1.replaceNamesWithIdsInExpression)(schema, fromType, expression),
|
|
66
|
-
visitFilter: (fromType, expression) => (0, utils_1.replaceNamesWithIdsInFilter)(schema, fromType, expression),
|
|
67
|
-
visitQueryExpression: (query) => (0, utils_1.replaceNamesWithIdsInQueryExpression)(schema, query),
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
exports.replaceNamesWithIdsInFeedView = replaceNamesWithIdsInFeedView;
|
|
71
|
-
const replaceIdsWithNamesInFeedView = (schema, view) => {
|
|
72
|
-
return visitView(view, {
|
|
73
|
-
visitExpression: (fromType, expression) => (0, utils_1.replaceIdsWithNamesInExpression)(schema, fromType, expression),
|
|
74
|
-
visitFilter: (fromType, expression) => (0, utils_1.replaceIdsWithNamesInFilter)(schema, fromType, expression),
|
|
75
|
-
visitQueryExpression: (query) => (0, utils_1.replaceIdsWithNamesInQueryExpression)(schema, query),
|
|
76
|
-
});
|
|
77
|
-
};
|
|
78
|
-
exports.replaceIdsWithNamesInFeedView = replaceIdsWithNamesInFeedView;
|
|
79
|
-
const deleteExpressionWithNotFoundFieldsOrTypesInFeedView = (schema, view) => visitView(view, {
|
|
80
|
-
visitQueryExpression: (queryExpression) => (0, utils_1.deleteExpressionWithNotFoundFieldsOrTypesInQueryExpression)(schema, queryExpression),
|
|
81
|
-
visitFilter: (fromType, expression) => (0, utils_1.deleteExpressionWithNotFoundFieldsOrTypesInFilter)(schema, fromType, expression),
|
|
82
|
-
visitExpression: (fromType, expression) => (0, utils_1.deleteExpressionWithNotFoundFieldsOrTypesInExpression)(schema, fromType, expression),
|
|
83
|
-
});
|
|
84
|
-
exports.deleteExpressionWithNotFoundFieldsOrTypesInFeedView = deleteExpressionWithNotFoundFieldsOrTypesInFeedView;
|
|
85
|
-
const fixUserSelectedUnitsInFeedView = (schema, view, { unitDefinitions, getDefaultUnitTypeForField, }) => {
|
|
86
|
-
return visitView(view, {
|
|
87
|
-
visitExpression: (_fromType, expression) => expression,
|
|
88
|
-
visitFilter: (_fromType, filter) => filter,
|
|
89
|
-
visitQueryExpression: (query) => query,
|
|
90
|
-
visitViewUnit: (fromType, unit, units) => (0, units_1.fixViewUnit)(schema, fromType, unit, units, { unitDefinitions, getDefaultUnitTypeForField }),
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
exports.fixUserSelectedUnitsInFeedView = fixUserSelectedUnitsInFeedView;
|
|
94
|
-
const fixContextExpressionWithBrokenPath = (schema, view, defaultContextExpression) => visitView(view, {
|
|
95
|
-
visitQueryExpression: (query) => query,
|
|
96
|
-
visitFilter: (_fromType, filter) => filter,
|
|
97
|
-
visitExpression: (_fromType, expression) => expression,
|
|
98
|
-
visitContextExpression: (fromType, expression) => (0, utils_1.resetContextExpressionIfBroken)(schema, fromType, expression, defaultContextExpression),
|
|
99
|
-
});
|
|
100
|
-
exports.fixContextExpressionWithBrokenPath = fixContextExpressionWithBrokenPath;
|
|
101
|
-
const collectGarbage = (view) => {
|
|
102
|
-
return visitView(view, {
|
|
103
|
-
visitExpression: (_fromType, expression) => expression,
|
|
104
|
-
visitFilter: (_fromType, filter) => filter,
|
|
105
|
-
visitQueryExpression: (query) => query,
|
|
106
|
-
visitViewUnit: (fromType, unit) => (unit.checked ? unit : utils_1.REMOVE),
|
|
107
|
-
});
|
|
108
|
-
};
|
|
109
|
-
exports.collectGarbage = collectGarbage;
|
|
110
|
-
const enableHideWhenEmptyForCheckedUnits = (view) => {
|
|
111
|
-
return visitView(view, {
|
|
112
|
-
visitQueryExpression: (queryExpression) => queryExpression,
|
|
113
|
-
visitGroupByExpression: (groupBy) => groupBy,
|
|
114
|
-
visitFilter: (_fromType, filter) => filter,
|
|
115
|
-
visitExpression: (_fromType, expression) => expression,
|
|
116
|
-
visitEnums: (enums) => enums,
|
|
117
|
-
visitViewUnit: (_fromType, unit) => (0, units_1.enableHideWhenEmptyForCheckedEditableUnit)(unit),
|
|
118
|
-
});
|
|
119
|
-
};
|
|
120
|
-
exports.enableHideWhenEmptyForCheckedUnits = enableHideWhenEmptyForCheckedUnits;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { Schema } from "@fibery/schema";
|
|
2
|
-
import type { ViewRecord } from "./utils";
|
|
3
|
-
type FormField = {
|
|
4
|
-
id: string;
|
|
5
|
-
[k: string]: unknown;
|
|
6
|
-
};
|
|
7
|
-
export declare const replaceNamesWithIdsInFormView: (schema: Schema, view: ViewRecord) => {
|
|
8
|
-
"fibery/meta": {
|
|
9
|
-
typeId: string | undefined;
|
|
10
|
-
fields: FormField[] | undefined;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare const replaceIdsWithNamesInFormView: (schema: Schema, view: ViewRecord) => {
|
|
14
|
-
"fibery/meta": {
|
|
15
|
-
typeId: string | undefined;
|
|
16
|
-
fields: FormField[] | undefined;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare const deleteExpressionWithNotFoundFieldsOrTypesInFormView: (schema: Schema, view: ViewRecord) => {
|
|
20
|
-
"fibery/meta": {
|
|
21
|
-
typeId: string | undefined;
|
|
22
|
-
fields: FormField[] | undefined;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export {};
|