@asteby/metacore-runtime-react 53.25.0 → 53.26.0
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/CHANGELOG.md +11 -0
- package/dist/action-modal-dispatcher.d.ts +3 -3
- package/dist/action-modal-dispatcher.js +31 -31
- package/dist/action-priority.d.ts +1 -1
- package/dist/activity-diff.d.ts +1 -1
- package/dist/activity-diff.js +1 -1
- package/dist/activity-timeline.d.ts +2 -2
- package/dist/activity-timeline.js +3 -3
- package/dist/activity-value-renderer.d.ts +1 -1
- package/dist/activity-value-renderer.js +3 -3
- package/dist/addon-loader.d.ts +1 -1
- package/dist/addon-loader.js +3 -3
- package/dist/addon-page-host.js +1 -1
- package/dist/addon-page-loader.d.ts +2 -2
- package/dist/addon-page-loader.js +3 -3
- package/dist/api-context.js +4 -4
- package/dist/approval-gate.d.ts +1 -1
- package/dist/approval-gate.js +5 -5
- package/dist/assist-interview.d.ts +1 -1
- package/dist/assist-interview.js +1 -1
- package/dist/attention/index.d.ts +3 -3
- package/dist/attention/index.js +3 -3
- package/dist/attention/use-nav-badges.js +2 -2
- package/dist/attribute-classes.d.ts +1 -1
- package/dist/audit-info.d.ts +1 -1
- package/dist/audit-info.js +5 -5
- package/dist/bulk-image-dialog.d.ts +1 -1
- package/dist/bulk-image-dialog.js +5 -5
- package/dist/bulk-image-import.d.ts +2 -2
- package/dist/bulk-image-import.js +1 -1
- package/dist/bulk-image-target.d.ts +1 -1
- package/dist/bulk-image-target.js +1 -1
- package/dist/bulk-image-wizard.d.ts +1 -1
- package/dist/bulk-image-wizard.js +5 -5
- package/dist/business/catalog-product-search.d.ts +1 -1
- package/dist/business/customer-picker.js +4 -4
- package/dist/business/document-editor-model.d.ts +3 -3
- package/dist/business/document-editor-model.js +4 -4
- package/dist/business/document-editor-panels.d.ts +3 -3
- package/dist/business/document-editor-panels.js +1 -1
- package/dist/business/document-editor.d.ts +2 -2
- package/dist/business/document-editor.js +22 -22
- package/dist/business/document-lines.d.ts +2 -2
- package/dist/business/document-lines.js +3 -3
- package/dist/business/field-errors.d.ts +1 -1
- package/dist/business/field-errors.js +1 -1
- package/dist/business/format.js +1 -1
- package/dist/business/index.d.ts +29 -29
- package/dist/business/index.js +29 -29
- package/dist/business/inspection-checklist.d.ts +1 -1
- package/dist/business/inspection-checklist.js +2 -2
- package/dist/business/inspection.d.ts +1 -1
- package/dist/business/inspection.js +2 -2
- package/dist/business/line-items-editor.d.ts +3 -3
- package/dist/business/line-items-editor.js +5 -5
- package/dist/business/line-items.d.ts +1 -1
- package/dist/business/line-items.js +2 -2
- package/dist/business/line-product-cell.d.ts +2 -2
- package/dist/business/line-product-cell.js +2 -2
- package/dist/business/payment-allocator.d.ts +1 -1
- package/dist/business/payment-allocator.js +2 -2
- package/dist/business/payment-capture.d.ts +1 -1
- package/dist/business/payment-capture.js +3 -3
- package/dist/business/payment.js +1 -1
- package/dist/business/print-send-dialog.js +1 -1
- package/dist/business/product-display.d.ts +1 -1
- package/dist/business/product-options.d.ts +1 -1
- package/dist/business/product-options.js +4 -4
- package/dist/business/product-picker.d.ts +1 -1
- package/dist/business/product-picker.js +3 -3
- package/dist/business/product-search.d.ts +2 -2
- package/dist/business/product-search.js +1 -1
- package/dist/business/refund-destination.d.ts +1 -1
- package/dist/business/refund-destination.js +2 -2
- package/dist/business/refund.js +1 -1
- package/dist/business/relate-documents.js +1 -1
- package/dist/business/return-wizard.d.ts +2 -2
- package/dist/business/return-wizard.js +4 -4
- package/dist/business/return.d.ts +2 -2
- package/dist/business/return.js +2 -2
- package/dist/business/vehicle-picker.js +3 -3
- package/dist/cache-coherence.js +3 -3
- package/dist/capability-providers/index.d.ts +3 -3
- package/dist/capability-providers/index.js +3 -3
- package/dist/capability-providers/provider-sortable-list.d.ts +1 -1
- package/dist/capability-providers/provider-sortable-list.js +1 -1
- package/dist/collection-cell.js +1 -1
- package/dist/column-filter-field.d.ts +1 -1
- package/dist/column-visibility.d.ts +1 -1
- package/dist/custom-stages.d.ts +2 -2
- package/dist/custom-stages.js +1 -1
- package/dist/dashboard-grid.d.ts +1 -1
- package/dist/dashboard-grid.js +3 -3
- package/dist/dialogs/create-record-dialog.d.ts +1 -1
- package/dist/dialogs/create-record-dialog.js +1 -1
- package/dist/dialogs/dynamic-record.d.ts +5 -5
- package/dist/dialogs/dynamic-record.js +41 -41
- package/dist/dialogs/export.d.ts +1 -1
- package/dist/dialogs/export.js +2 -2
- package/dist/dialogs/import.d.ts +1 -1
- package/dist/dialogs/import.js +3 -3
- package/dist/dialogs/inline-relation-rows.d.ts +3 -3
- package/dist/dialogs/inline-relation-rows.js +3 -3
- package/dist/dialogs/inline-relations.d.ts +3 -3
- package/dist/dialogs/inline-relations.js +3 -3
- package/dist/dialogs/normalize-submit.d.ts +1 -1
- package/dist/dialogs/normalize-submit.js +3 -3
- package/dist/dialogs/use-inline-relations.d.ts +1 -1
- package/dist/dialogs/use-inline-relations.js +3 -3
- package/dist/dialogs/view-record-dialog.d.ts +1 -1
- package/dist/dialogs/view-record-dialog.js +1 -1
- package/dist/display-value.js +1 -1
- package/dist/document/action-bar.d.ts +1 -1
- package/dist/document/action-bar.js +1 -1
- package/dist/document/document-header.d.ts +2 -2
- package/dist/document/document-header.js +2 -2
- package/dist/document/document-page.d.ts +3 -3
- package/dist/document/document-page.js +9 -9
- package/dist/document/document-timeline.d.ts +2 -2
- package/dist/document/document-timeline.js +2 -2
- package/dist/document/evaluate.d.ts +1 -1
- package/dist/document/evaluate.js +1 -1
- package/dist/document/format.d.ts +1 -1
- package/dist/document/index.d.ts +13 -13
- package/dist/document/index.js +13 -13
- package/dist/document/registry.d.ts +1 -1
- package/dist/document/secondary-bar.js +2 -2
- package/dist/document/smart-buttons.js +1 -1
- package/dist/document/status-badge.d.ts +1 -1
- package/dist/document/use-document-sources.d.ts +1 -1
- package/dist/document/use-document-sources.js +2 -2
- package/dist/document-form-dialog.d.ts +2 -2
- package/dist/document-form-dialog.js +16 -16
- package/dist/document-template-editor.js +1 -1
- package/dist/dynamic-columns-shim.d.ts +1 -1
- package/dist/dynamic-columns.d.ts +3 -3
- package/dist/dynamic-columns.js +19 -19
- package/dist/dynamic-crud-page.d.ts +2 -2
- package/dist/dynamic-crud-page.js +13 -13
- package/dist/dynamic-date-field.d.ts +1 -1
- package/dist/dynamic-date-field.js +1 -1
- package/dist/dynamic-form-schema.d.ts +2 -2
- package/dist/dynamic-form-schema.js +4 -4
- package/dist/dynamic-form.d.ts +10 -10
- package/dist/dynamic-form.js +24 -24
- package/dist/dynamic-icon.js +1 -1
- package/dist/dynamic-kanban.d.ts +3 -3
- package/dist/dynamic-kanban.js +25 -25
- package/dist/dynamic-line-items.d.ts +1 -1
- package/dist/dynamic-line-items.js +6 -6
- package/dist/dynamic-multi-select-field.d.ts +1 -1
- package/dist/dynamic-multi-select-field.js +7 -7
- package/dist/dynamic-relation-helpers.d.ts +1 -1
- package/dist/dynamic-relation-helpers.js +2 -2
- package/dist/dynamic-relation.d.ts +2 -2
- package/dist/dynamic-relation.js +15 -15
- package/dist/dynamic-relations.d.ts +2 -2
- package/dist/dynamic-relations.js +1 -1
- package/dist/dynamic-row-actions.d.ts +1 -1
- package/dist/dynamic-row-actions.js +5 -5
- package/dist/dynamic-select-field.d.ts +3 -3
- package/dist/dynamic-select-field.js +11 -11
- package/dist/dynamic-table.d.ts +2 -2
- package/dist/dynamic-table.js +24 -24
- package/dist/dynamic-view.d.ts +4 -4
- package/dist/dynamic-view.js +7 -7
- package/dist/entity-select.js +4 -4
- package/dist/field-validation-ui.d.ts +2 -2
- package/dist/field-widget-registry.d.ts +1 -1
- package/dist/form-layout-ui.d.ts +1 -1
- package/dist/form-layout.d.ts +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/genui/index.d.ts +1 -1
- package/dist/genui/index.js +1 -1
- package/dist/genui/settings-block.d.ts +1 -1
- package/dist/genui/settings-block.js +3 -3
- package/dist/host-api-client.d.ts +11 -1
- package/dist/host-api-client.d.ts.map +1 -1
- package/dist/host-api-client.js +21 -14
- package/dist/host-api.d.ts +9 -1
- package/dist/host-api.d.ts.map +1 -1
- package/dist/host-api.js +57 -2
- package/dist/hotswap-reload-policy.d.ts +1 -1
- package/dist/hotswap-reload-policy.js +1 -1
- package/dist/icon-picker-field.d.ts +1 -1
- package/dist/icon-picker-field.js +3 -3
- package/dist/icon-resolvers.d.ts +1 -1
- package/dist/icon-resolvers.js +1 -1
- package/dist/icon-spec.js +1 -1
- package/dist/index.d.ts +165 -165
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +148 -148
- package/dist/license/index.d.ts +6 -6
- package/dist/license/index.js +6 -6
- package/dist/license/license-expiry-banner.d.ts +1 -1
- package/dist/license/license-expiry-banner.js +3 -3
- package/dist/license/license-gate.d.ts +1 -1
- package/dist/license/license-gate.js +5 -5
- package/dist/license/license-status-badge.d.ts +1 -1
- package/dist/license/license-status-badge.js +1 -1
- package/dist/license/use-license-t.d.ts +1 -1
- package/dist/license/use-license-t.js +1 -1
- package/dist/license/view.d.ts +1 -1
- package/dist/license/view.js +1 -1
- package/dist/list-include.d.ts +1 -1
- package/dist/manifest-hotswap-subscriber.d.ts +1 -1
- package/dist/manifest-hotswap-subscriber.js +1 -1
- package/dist/metadata-cache.d.ts +1 -1
- package/dist/metadata-cache.js +1 -1
- package/dist/model-action-toolbar.d.ts +1 -1
- package/dist/model-action-toolbar.js +7 -7
- package/dist/nav-permissions.d.ts +1 -1
- package/dist/nav-permissions.js +1 -1
- package/dist/navigation-builder.d.ts +1 -1
- package/dist/navigation-builder.js +1 -1
- package/dist/option-display.d.ts +1 -1
- package/dist/option-display.js +2 -2
- package/dist/option-filter.d.ts +1 -1
- package/dist/option-when.d.ts +1 -1
- package/dist/org-runtime-provider.d.ts +2 -2
- package/dist/org-runtime-provider.js +2 -2
- package/dist/permissions-context.d.ts +1 -1
- package/dist/permissions-manager.js +4 -4
- package/dist/primitives/aging.js +1 -1
- package/dist/primitives/allocation.js +1 -1
- package/dist/primitives/approvals.d.ts +1 -1
- package/dist/primitives/contributions.js +1 -1
- package/dist/primitives/document-kinds.d.ts +1 -1
- package/dist/primitives/index.d.ts +7 -7
- package/dist/primitives/index.js +7 -7
- package/dist/primitives/panels.d.ts +1 -1
- package/dist/primitives/use-contributions.d.ts +2 -2
- package/dist/primitives/use-contributions.js +2 -2
- package/dist/print-document-button.d.ts +1 -1
- package/dist/print-document-button.js +1 -1
- package/dist/provenance.js +3 -3
- package/dist/query-batch.d.ts +1 -1
- package/dist/query-batch.js +1 -1
- package/dist/record-actions.d.ts +2 -2
- package/dist/record-actions.js +2 -2
- package/dist/record-history.d.ts +2 -2
- package/dist/record-history.js +3 -3
- package/dist/record-picker-dialog.js +3 -3
- package/dist/record-picker-option.d.ts +1 -1
- package/dist/record-picker-option.js +1 -1
- package/dist/record-picker.js +2 -2
- package/dist/record-prefill-bar.js +1 -1
- package/dist/relation-gallery.js +1 -1
- package/dist/requires-addon.d.ts +1 -1
- package/dist/rich-cells.js +2 -2
- package/dist/rich-url.js +1 -1
- package/dist/row-actions-menu.js +5 -5
- package/dist/server-error.js +2 -2
- package/dist/setup/addon-config-surface.d.ts +3 -3
- package/dist/setup/addon-config-surface.js +10 -10
- package/dist/setup/connector-blocks-model.d.ts +1 -1
- package/dist/setup/connector-blocks.d.ts +1 -1
- package/dist/setup/connector-blocks.js +6 -6
- package/dist/setup/flow-model.d.ts +1 -1
- package/dist/setup/health-card.d.ts +1 -1
- package/dist/setup/health-card.js +2 -2
- package/dist/setup/index.d.ts +12 -12
- package/dist/setup/index.js +12 -12
- package/dist/setup/records-table.d.ts +1 -1
- package/dist/setup/records-table.js +2 -2
- package/dist/setup/setup-flow.d.ts +1 -1
- package/dist/setup/setup-flow.js +7 -7
- package/dist/setup/setup-form-step.d.ts +1 -1
- package/dist/setup/setup-form-step.js +4 -4
- package/dist/setup/step-status-badge.d.ts +1 -1
- package/dist/setup/step-status-badge.js +2 -2
- package/dist/setup/tone.d.ts +1 -1
- package/dist/setup/types.d.ts +2 -2
- package/dist/sidebar-layout-manager.d.ts +1 -1
- package/dist/sidebar-layout-manager.js +2 -2
- package/dist/slot.js +1 -1
- package/dist/slots/addon-slot.js +4 -4
- package/dist/slots/index.d.ts +2 -2
- package/dist/slots/index.js +2 -2
- package/dist/stage-automations.d.ts +2 -2
- package/dist/stage-automations.js +1 -1
- package/dist/stage-layout.js +1 -1
- package/dist/stage-overrides.d.ts +1 -1
- package/dist/stage-overrides.js +1 -1
- package/dist/supervised-action.js +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/dist/tri-state-boolean.d.ts +2 -2
- package/dist/tri-state-boolean.js +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/upload-field.d.ts +1 -1
- package/dist/upload-field.js +4 -4
- package/dist/use-addon-installed-probe.js +3 -3
- package/dist/use-addon-settings.d.ts +1 -1
- package/dist/use-addon-settings.js +1 -1
- package/dist/use-dynamic-filters.d.ts +2 -2
- package/dist/use-dynamic-filters.js +6 -6
- package/dist/use-edge-device.d.ts +1 -1
- package/dist/use-edge-device.js +2 -2
- package/dist/use-facet-loaders.d.ts +1 -1
- package/dist/use-facet-loaders.js +1 -1
- package/dist/use-flip-animation.d.ts +1 -1
- package/dist/use-flip-animation.js +1 -1
- package/dist/use-host-api-client.d.ts +2 -2
- package/dist/use-host-api-client.d.ts.map +1 -1
- package/dist/use-host-api-client.js +6 -4
- package/dist/use-option-ids.d.ts +1 -1
- package/dist/use-option-ids.js +2 -2
- package/dist/use-options-resolver.d.ts +2 -2
- package/dist/use-options-resolver.js +4 -4
- package/dist/use-org-document-templates.js +1 -1
- package/dist/use-print-document.js +1 -1
- package/dist/use-record-mutation-tick.js +1 -1
- package/dist/validator.d.ts +2 -2
- package/dist/validator.js +1 -1
- package/dist/view-system/card-spec.d.ts +1 -1
- package/dist/view-system/cards-view.d.ts +1 -1
- package/dist/view-system/cards-view.js +2 -2
- package/dist/view-system/index.d.ts +9 -9
- package/dist/view-system/index.js +9 -9
- package/dist/view-system/model-view.d.ts +3 -3
- package/dist/view-system/model-view.js +7 -7
- package/dist/view-system/saved-views.d.ts +1 -1
- package/dist/view-system/use-view-mode.d.ts +1 -1
- package/dist/view-system/view-state.d.ts +1 -1
- package/dist/view-system/view-switcher.d.ts +1 -1
- package/dist/view-system/view-toolbar.d.ts +1 -1
- package/dist/view-system/view-toolbar.js +2 -2
- package/dist/views/calendar-view.d.ts +1 -1
- package/dist/views/calendar-view.js +2 -2
- package/dist/views/chart-view.d.ts +2 -2
- package/dist/views/chart-view.js +2 -2
- package/dist/views/data-source.d.ts +2 -2
- package/dist/views/index.d.ts +3 -3
- package/dist/views/index.js +2 -2
- package/dist/views/map-view.d.ts +1 -1
- package/dist/views/map-view.js +3 -3
- package/dist/views/panels.d.ts +1 -1
- package/dist/views/panels.js +3 -3
- package/dist/views/registry.d.ts +2 -2
- package/dist/views/registry.js +12 -12
- package/dist/views/split-view.d.ts +1 -1
- package/dist/views/split-view.js +4 -4
- package/dist/views/timeline-view.d.ts +1 -1
- package/dist/views/timeline-view.js +3 -3
- package/dist/views/types.d.ts +2 -2
- package/dist/widgets/charts.d.ts +1 -1
- package/dist/widgets/charts.js +2 -2
- package/dist/widgets/lazy-charts.d.ts +1 -1
- package/dist/widgets/lazy-charts.js +2 -2
- package/dist/widgets/renderers.d.ts +2 -2
- package/dist/widgets/renderers.js +2 -2
- package/dist/widgets/widget-card.d.ts +1 -1
- package/dist/widgets/widget-card.js +2 -2
- package/dist/widgets/widget-renderer.d.ts +1 -1
- package/dist/widgets/widget-renderer.js +4 -4
- package/package.json +9 -9
- package/src/__tests__/host-api-client.test.tsx +16 -0
- package/src/__tests__/host-api.test.ts +50 -0
- package/src/host-api-client.ts +31 -14
- package/src/host-api.ts +54 -1
- package/src/index.ts +2 -1
- package/src/use-host-api-client.ts +5 -3
package/dist/index.js
CHANGED
|
@@ -3,179 +3,179 @@
|
|
|
3
3
|
// and NOT re-exported from `./action-modal-dispatcher` here to avoid a
|
|
4
4
|
// duplicate-symbol conflict; consumers who want the canonical SDK type
|
|
5
5
|
// should import from `@asteby/metacore-sdk` directly.
|
|
6
|
-
export * from './types';
|
|
7
|
-
export * from './table-virtualization';
|
|
8
|
-
export { LicenseGate, LicenseExpiryBanner, LicenseStatusBadge, isLicenseOperable, isLicenseBlocking, isLicenseReadOnly, isPresetEntitled, isTrialExpired, deriveLicenseView, isLicenseCloned, sellerContactLine, CLONE_NOTICE, LICENSE_MESSAGES, registerLicenseMessages, } from './license';
|
|
9
|
-
export * from './options-context';
|
|
10
|
-
export { extractServerError, extractFieldErrors, localizeFieldIssue, localizeFieldErrorMap, toastServerError, toastServerSuccess, } from './server-error';
|
|
11
|
-
export { parseRuleString, fieldValidationOf, checkValue, validateValues, bagHasErrors, exemptUnchangedRuleIssues, } from './validator';
|
|
12
|
-
export { VALIDATION_CATALOGS, validationCatalog, validationMessageKey } from './validation-catalog';
|
|
13
|
-
export { labelForValidationPath, labelsForValidationFields, formatFieldErrorsDescription, clearFieldErrorTree, lineItemErrorsFor, } from './field-validation-ui';
|
|
14
|
-
export * from './dynamic-table';
|
|
15
|
-
export { DynamicKanban, deriveStages, groupByStage, isTransitionAllowed, applyOptimisticMove, applyStageOverrides, laneDeltasFromOverrides, selectCardColumns, isCardOverdue, refLaneSource, withGroupBy, withRefLanes, visibleCardFields, isEmptyCardValue, nextLaneCoordinates, UNASSIGNED_LANE, } from './dynamic-kanban';
|
|
16
|
-
export { PortalDragOverlay } from './portal-drag-overlay';
|
|
17
|
-
export { useStageAutomations, StageAutomationsButton, isTagColumn, automationFieldOptions, groupAutomationsByStage, activeAutomationCount, } from './stage-automations';
|
|
18
|
-
export { useCustomStages, splitCustomStages, mergeLaneStages, resolveSmartLanes, smartLaneParams, cardMatchesStageFilters, customStageFilterFields, isCustomStageDraftValid, slugifyStageKey, emptyCustomStageFilter, AddStageColumn, CustomStageLaneMenu, CustomStageDialog, CustomStageDeleteDialog, StageConditionBuilder, StageConfigDialog, stageFilterOpSymbol, SmartLane, CUSTOM_STAGE_COLORS, CUSTOM_STAGE_FILTER_OPS, } from './custom-stages';
|
|
19
|
-
export { useStageLayout, } from './stage-layout';
|
|
20
|
-
export { useStageOverrides, } from './stage-overrides';
|
|
21
|
-
export { DynamicView, resolveViewRenderer, resolveViewKind, readViewFromSearch, resolveActiveView, } from './dynamic-view';
|
|
22
|
-
export { useDynamicFilters, } from './use-dynamic-filters';
|
|
23
|
-
export { useDebouncedValue, SEARCH_DEBOUNCE_MS } from './use-debounced-value';
|
|
24
|
-
export { useOptimisticMutation, } from './use-optimistic-mutation';
|
|
25
|
-
export { useFlipAnimation } from './use-flip-animation';
|
|
26
|
-
export { usePersistedQuery, createPersistedSnapshot, } from './use-persisted-query';
|
|
27
|
-
export { motionDuration, motionEasing, prefersReducedMotion, MOTION_DEFAULTS, } from './motion';
|
|
28
|
-
export { useResource, useMutation, } from './use-resource';
|
|
29
|
-
export * from './dynamic-form';
|
|
30
|
-
export { FilePickButton, } from './file-pick-button';
|
|
31
|
-
export * from './barcode-scanner';
|
|
32
|
-
export * from './form-layout';
|
|
33
|
-
export * from './form-layout-ui';
|
|
6
|
+
export * from './types.js';
|
|
7
|
+
export * from './table-virtualization.js';
|
|
8
|
+
export { LicenseGate, LicenseExpiryBanner, LicenseStatusBadge, isLicenseOperable, isLicenseBlocking, isLicenseReadOnly, isPresetEntitled, isTrialExpired, deriveLicenseView, isLicenseCloned, sellerContactLine, CLONE_NOTICE, LICENSE_MESSAGES, registerLicenseMessages, } from './license/index.js';
|
|
9
|
+
export * from './options-context.js';
|
|
10
|
+
export { extractServerError, extractFieldErrors, localizeFieldIssue, localizeFieldErrorMap, toastServerError, toastServerSuccess, } from './server-error.js';
|
|
11
|
+
export { parseRuleString, fieldValidationOf, checkValue, validateValues, bagHasErrors, exemptUnchangedRuleIssues, } from './validator.js';
|
|
12
|
+
export { VALIDATION_CATALOGS, validationCatalog, validationMessageKey } from './validation-catalog.js';
|
|
13
|
+
export { labelForValidationPath, labelsForValidationFields, formatFieldErrorsDescription, clearFieldErrorTree, lineItemErrorsFor, } from './field-validation-ui.js';
|
|
14
|
+
export * from './dynamic-table.js';
|
|
15
|
+
export { DynamicKanban, deriveStages, groupByStage, isTransitionAllowed, applyOptimisticMove, applyStageOverrides, laneDeltasFromOverrides, selectCardColumns, isCardOverdue, refLaneSource, withGroupBy, withRefLanes, visibleCardFields, isEmptyCardValue, nextLaneCoordinates, UNASSIGNED_LANE, } from './dynamic-kanban.js';
|
|
16
|
+
export { PortalDragOverlay } from './portal-drag-overlay.js';
|
|
17
|
+
export { useStageAutomations, StageAutomationsButton, isTagColumn, automationFieldOptions, groupAutomationsByStage, activeAutomationCount, } from './stage-automations.js';
|
|
18
|
+
export { useCustomStages, splitCustomStages, mergeLaneStages, resolveSmartLanes, smartLaneParams, cardMatchesStageFilters, customStageFilterFields, isCustomStageDraftValid, slugifyStageKey, emptyCustomStageFilter, AddStageColumn, CustomStageLaneMenu, CustomStageDialog, CustomStageDeleteDialog, StageConditionBuilder, StageConfigDialog, stageFilterOpSymbol, SmartLane, CUSTOM_STAGE_COLORS, CUSTOM_STAGE_FILTER_OPS, } from './custom-stages.js';
|
|
19
|
+
export { useStageLayout, } from './stage-layout.js';
|
|
20
|
+
export { useStageOverrides, } from './stage-overrides.js';
|
|
21
|
+
export { DynamicView, resolveViewRenderer, resolveViewKind, readViewFromSearch, resolveActiveView, } from './dynamic-view.js';
|
|
22
|
+
export { useDynamicFilters, } from './use-dynamic-filters.js';
|
|
23
|
+
export { useDebouncedValue, SEARCH_DEBOUNCE_MS } from './use-debounced-value.js';
|
|
24
|
+
export { useOptimisticMutation, } from './use-optimistic-mutation.js';
|
|
25
|
+
export { useFlipAnimation } from './use-flip-animation.js';
|
|
26
|
+
export { usePersistedQuery, createPersistedSnapshot, } from './use-persisted-query.js';
|
|
27
|
+
export { motionDuration, motionEasing, prefersReducedMotion, MOTION_DEFAULTS, } from './motion.js';
|
|
28
|
+
export { useResource, useMutation, } from './use-resource.js';
|
|
29
|
+
export * from './dynamic-form.js';
|
|
30
|
+
export { FilePickButton, } from './file-pick-button.js';
|
|
31
|
+
export * from './barcode-scanner.js';
|
|
32
|
+
export * from './form-layout.js';
|
|
33
|
+
export * from './form-layout-ui.js';
|
|
34
34
|
// Setup/health: only the documented public components and their types live at
|
|
35
35
|
// the root; helpers (flow-model, connector-form-model, messages…) come from the
|
|
36
36
|
// `@asteby/metacore-runtime-react/setup` subpath so they do not pollute this namespace.
|
|
37
|
-
export { SetupFlow, SetupFormStep, RecordsTable, HealthCard, StepStatusBadge, AddonConfigSurface, ConnectorBlocks, } from './setup';
|
|
38
|
-
export { FieldGrid, FieldCell, FieldLabel } from './field-grid';
|
|
39
|
-
export { ActionModalDispatcher, FEDERATED_ACTION_MODAL_TIMEOUT_MS, resolveFieldDefault, } from './action-modal-dispatcher';
|
|
40
|
-
export { todayInZone, isTodayToken } from './calendar-date';
|
|
41
|
-
export { setFederatedActionLoader } from './federated-action-loader';
|
|
42
|
-
export { ModelActionToolbar, useModelActions, } from './model-action-toolbar';
|
|
43
|
-
export { resolveListPrimaryAction, actionReplacesCreate, } from './list-primary-action';
|
|
44
|
-
export { emitRecordMutation, emitRecordMutationSettled, subscribeRecordMutations, RECORD_MUTATION_EVENT, RECORD_MUTATION_SETTLE_DELAYS, } from './record-mutation-events';
|
|
45
|
-
export { DocumentFormDialog, resolveDocumentForms, scopeDocumentFormsToFilter, delegatedCreate, withoutDelegatedTypes, } from './document-form-dialog';
|
|
46
|
-
export { modelFromNavUrl, capabilityForNavItem, isNavItemAllowed, useNavItemVisible, } from './nav-permissions';
|
|
47
|
-
export { CfdiStampPanel, CfdiStampResultDialog, extractStampResult, } from './cfdi-stamp-panel';
|
|
48
|
-
export { useRecordMutationTick } from './use-record-mutation-tick';
|
|
49
|
-
export * from './addon-loader';
|
|
37
|
+
export { SetupFlow, SetupFormStep, RecordsTable, HealthCard, StepStatusBadge, AddonConfigSurface, ConnectorBlocks, } from './setup/index.js';
|
|
38
|
+
export { FieldGrid, FieldCell, FieldLabel } from './field-grid.js';
|
|
39
|
+
export { ActionModalDispatcher, FEDERATED_ACTION_MODAL_TIMEOUT_MS, resolveFieldDefault, } from './action-modal-dispatcher.js';
|
|
40
|
+
export { todayInZone, isTodayToken } from './calendar-date.js';
|
|
41
|
+
export { setFederatedActionLoader } from './federated-action-loader.js';
|
|
42
|
+
export { ModelActionToolbar, useModelActions, } from './model-action-toolbar.js';
|
|
43
|
+
export { resolveListPrimaryAction, actionReplacesCreate, } from './list-primary-action.js';
|
|
44
|
+
export { emitRecordMutation, emitRecordMutationSettled, subscribeRecordMutations, RECORD_MUTATION_EVENT, RECORD_MUTATION_SETTLE_DELAYS, } from './record-mutation-events.js';
|
|
45
|
+
export { DocumentFormDialog, resolveDocumentForms, scopeDocumentFormsToFilter, delegatedCreate, withoutDelegatedTypes, } from './document-form-dialog.js';
|
|
46
|
+
export { modelFromNavUrl, capabilityForNavItem, isNavItemAllowed, useNavItemVisible, } from './nav-permissions.js';
|
|
47
|
+
export { CfdiStampPanel, CfdiStampResultDialog, extractStampResult, } from './cfdi-stamp-panel.js';
|
|
48
|
+
export { useRecordMutationTick } from './use-record-mutation-tick.js';
|
|
49
|
+
export * from './addon-loader.js';
|
|
50
50
|
// Federated pages (frontend.pages[]): host-side loader + remote-facing hooks.
|
|
51
|
-
export { AddonPageLoader, AddonPageSkeleton, } from './addon-page-loader';
|
|
52
|
-
export { AddonPageHost, createPageChromeStore, usePageChromeState, useHostContext, useHostApi, useAddonNavigate, useAddonLocation, useAddonSearchParams, useBreadcrumbs, usePageChrome, useIsInAddonPage, resolveAddonPath, addonSubpath, } from './addon-page-host';
|
|
53
|
-
export { createHostApi, toHostApiError } from './host-api';
|
|
54
|
-
export { HostApiProvider } from './host-api-context';
|
|
55
|
-
export { createHostApiClient, } from './host-api-client';
|
|
56
|
-
export { useHostApiClient } from './use-host-api-client';
|
|
57
|
-
export { FederatedErrorBoundary, } from './federated-error-boundary';
|
|
51
|
+
export { AddonPageLoader, AddonPageSkeleton, } from './addon-page-loader.js';
|
|
52
|
+
export { AddonPageHost, createPageChromeStore, usePageChromeState, useHostContext, useHostApi, useAddonNavigate, useAddonLocation, useAddonSearchParams, useBreadcrumbs, usePageChrome, useIsInAddonPage, resolveAddonPath, addonSubpath, } from './addon-page-host.js';
|
|
53
|
+
export { createHostApi, toHostApiError, sanitizeRemoteHeaders, PROTECTED_HOST_HEADERS } from './host-api.js';
|
|
54
|
+
export { HostApiProvider } from './host-api-context.js';
|
|
55
|
+
export { createHostApiClient, } from './host-api-client.js';
|
|
56
|
+
export { useHostApiClient } from './use-host-api-client.js';
|
|
57
|
+
export { FederatedErrorBoundary, } from './federated-error-boundary.js';
|
|
58
58
|
// Declarative views & detail panels: registry + lazy renderers by type.
|
|
59
|
-
export * from './views';
|
|
60
|
-
export { PURGE_ADDON_MESSAGE, isAddonFrontendCacheUrl, purgeAddonFrontendCache, resolvePluginExports, composeDisposables, runDispose, } from './addon-fiber';
|
|
61
|
-
export { AddonLayoutProvider, useAddonLayout, useAddonLayoutControl, useDeclareAddonLayout, } from './addon-layout-context';
|
|
62
|
-
export * from './slot';
|
|
63
|
-
export * from './slots';
|
|
64
|
-
export * from './capability-gate';
|
|
65
|
-
export { PermissionsProvider, useCan, usePermissionsActive, useRoleGate, isActionAllowedForRoles, makeCan, capabilityForActionKey, modelCapability, gateTableMetadata, resolveRowActions, } from './permissions-context';
|
|
66
|
-
export { ApprovalPinDialog, approvalErrorMessage, } from './approval-pin-dialog';
|
|
67
|
-
export { ApprovalGateProvider, useApprovalGate, approvalCapability, approvalRequiredInfo, approvalGateAvailable, APPROVAL_PARKED_EVENT, APPROVAL_DECIDED_EVENT, } from './approval-gate';
|
|
68
|
-
export { useSupervisor, withApproval, } from './supervised-action';
|
|
69
|
-
export { ReasonPromptDialog, useReasonPrompt, reasonRequiredInfo, DEFAULT_REASON_MIN, } from './reason-prompt';
|
|
70
|
-
export { useDynamicRowActions, } from './dynamic-row-actions';
|
|
71
|
-
export { resolveRequiresAddon, setAddonInstallHandler, getAddonInstallHandler, requiresAddonName, useRequiresAddonLabel, RequiresAddonLock, RequiresAddonDialog, } from './requires-addon';
|
|
72
|
-
export { ColorPickerField, DEFAULT_ROLE_COLOR, normalizeHex } from './color-picker-field';
|
|
73
|
-
export { PermissionsManager, moduleActionCapability, moduleCapabilities, grantedCountForModule, capabilitySetsEqual, defaultActionIcon, suggestRoleIcon, normalizeCatalogGroups, flattenGroups, filterModuleGroups, groupModuleActions, } from './permissions-manager';
|
|
74
|
-
export { applySidebarLayout, collectFolderKeys, folderAccessCapability, coreRefKey, addonModelRefKey, addonUrlRefKey, urlRefKey, leafRefFor, normalizeNavPath, slugifyFolderKey, isValidFolderKey, layoutTreeFromNavGroups, } from './apply-sidebar-layout';
|
|
75
|
-
export { SidebarLayoutManager, } from './sidebar-layout-manager';
|
|
76
|
-
export * from './org-runtime-context';
|
|
77
|
-
export * from './provenance';
|
|
78
|
-
export * from './business';
|
|
59
|
+
export * from './views/index.js';
|
|
60
|
+
export { PURGE_ADDON_MESSAGE, isAddonFrontendCacheUrl, purgeAddonFrontendCache, resolvePluginExports, composeDisposables, runDispose, } from './addon-fiber.js';
|
|
61
|
+
export { AddonLayoutProvider, useAddonLayout, useAddonLayoutControl, useDeclareAddonLayout, } from './addon-layout-context.js';
|
|
62
|
+
export * from './slot.js';
|
|
63
|
+
export * from './slots/index.js';
|
|
64
|
+
export * from './capability-gate.js';
|
|
65
|
+
export { PermissionsProvider, useCan, usePermissionsActive, useRoleGate, isActionAllowedForRoles, makeCan, capabilityForActionKey, modelCapability, gateTableMetadata, resolveRowActions, } from './permissions-context.js';
|
|
66
|
+
export { ApprovalPinDialog, approvalErrorMessage, } from './approval-pin-dialog.js';
|
|
67
|
+
export { ApprovalGateProvider, useApprovalGate, approvalCapability, approvalRequiredInfo, approvalGateAvailable, APPROVAL_PARKED_EVENT, APPROVAL_DECIDED_EVENT, } from './approval-gate.js';
|
|
68
|
+
export { useSupervisor, withApproval, } from './supervised-action.js';
|
|
69
|
+
export { ReasonPromptDialog, useReasonPrompt, reasonRequiredInfo, DEFAULT_REASON_MIN, } from './reason-prompt.js';
|
|
70
|
+
export { useDynamicRowActions, } from './dynamic-row-actions.js';
|
|
71
|
+
export { resolveRequiresAddon, setAddonInstallHandler, getAddonInstallHandler, requiresAddonName, useRequiresAddonLabel, RequiresAddonLock, RequiresAddonDialog, } from './requires-addon.js';
|
|
72
|
+
export { ColorPickerField, DEFAULT_ROLE_COLOR, normalizeHex } from './color-picker-field.js';
|
|
73
|
+
export { PermissionsManager, moduleActionCapability, moduleCapabilities, grantedCountForModule, capabilitySetsEqual, defaultActionIcon, suggestRoleIcon, normalizeCatalogGroups, flattenGroups, filterModuleGroups, groupModuleActions, } from './permissions-manager.js';
|
|
74
|
+
export { applySidebarLayout, collectFolderKeys, folderAccessCapability, coreRefKey, addonModelRefKey, addonUrlRefKey, urlRefKey, leafRefFor, normalizeNavPath, slugifyFolderKey, isValidFolderKey, layoutTreeFromNavGroups, } from './apply-sidebar-layout.js';
|
|
75
|
+
export { SidebarLayoutManager, } from './sidebar-layout-manager.js';
|
|
76
|
+
export * from './org-runtime-context.js';
|
|
77
|
+
export * from './provenance.js';
|
|
78
|
+
export * from './business/index.js';
|
|
79
79
|
// Primitivos de negocio (PaymentAllocator, AgingTable, ApprovalInbox,
|
|
80
80
|
// contribuciones/modales federados, tipos de documento y contratos de paneles).
|
|
81
81
|
// Ver primitives/index.ts para el mapa completo.
|
|
82
|
-
export * from './primitives';
|
|
83
|
-
export * from './org-runtime-provider';
|
|
84
|
-
export * from './navigation-builder';
|
|
85
|
-
export * from './i18n-provider';
|
|
86
|
-
export * from './api-context';
|
|
87
|
-
export * from './cache-coherence';
|
|
88
|
-
export * from './use-addon-settings';
|
|
89
|
-
export * from './use-addon-installed-probe';
|
|
90
|
-
export * from './use-edge-device';
|
|
91
|
-
export * from './use-print-document';
|
|
92
|
-
export * from './print-document-button';
|
|
93
|
-
export * from './use-org-document-templates';
|
|
94
|
-
export * from './document-template-editor';
|
|
95
|
-
export * from './metadata-cache';
|
|
96
|
-
export { cacheScope, peekCacheScope, syncCacheScope, onCacheScopeChange, setCacheScopeLanguageProvider, setCacheScopeProvider, } from './cache-scope';
|
|
97
|
-
export { RealtimeProvider, useRealtimeClient, useRealtimeDefault, useRealtime, useRealtimeStatus, useRealtimeInvalidate, useRealtimeTick, queryKeyMatchesEvent, } from './realtime-context';
|
|
98
|
-
export { ADDON_MANIFEST_CHANGED_TYPE, wireHotSwapInvalidation, useManifestHotSwapSubscriber, } from './manifest-hotswap-subscriber';
|
|
99
|
-
export { useHotSwapReload, applyHotSwapReload, withVersionParam, clearFederationContainer, shortenHash, } from './hotswap-reload-policy';
|
|
100
|
-
export * from './dynamic-icon';
|
|
101
|
-
export * from './icon-spec';
|
|
102
|
-
export * from './icon-resolvers';
|
|
103
|
-
export { FONT_AWESOME_ALIASES } from './icon-aliases';
|
|
104
|
-
export { defaultGetDynamicColumns, makeDefaultGetDynamicColumns, relationKeyFor, resolveAvatarSrc, resolveImageSrc, resolveMissingActorLabel, isSystemActorColumn, resolveActorDisplayName, resolveRelationLabel, } from './dynamic-columns';
|
|
105
|
-
export { humanizeToken, localizeFieldLabel, translateMetadataLabel } from './dynamic-columns-helpers';
|
|
106
|
-
export { ChipsCell, MeterCell, SwatchCell, chipItems, validSwatches } from './rich-cells';
|
|
107
|
-
export { UrlChip, FileChip, ImageThumbnail, MediaValue, RichText, linkifyText, classifyUrl, isImageUrl, isFileUrl, ensureHref, smartUrlLabel, fileNameFromUrl, splitTrailingPunct, } from './rich-url';
|
|
108
|
-
export { ImageStack, OptionBadge, statusColorFor, useIsDarkTheme, } from './display-value';
|
|
109
|
-
export { CollectionCell, formatScalar, prettifyKey, countLabel, } from './collection-cell';
|
|
110
|
-
export { NIL_UUID, isNilUuid, normalizeNilUuid } from './nil-uuid';
|
|
111
|
-
export { DynamicRecordDialog, ViewValue } from './dialogs/dynamic-record';
|
|
112
|
-
export { normalizeRefFieldsForSubmit } from './dialogs/normalize-submit';
|
|
113
|
-
export { CreateRecordDialog } from './dialogs/create-record-dialog';
|
|
114
|
-
export { EntitySelect } from './entity-select';
|
|
82
|
+
export * from './primitives/index.js';
|
|
83
|
+
export * from './org-runtime-provider.js';
|
|
84
|
+
export * from './navigation-builder.js';
|
|
85
|
+
export * from './i18n-provider.js';
|
|
86
|
+
export * from './api-context.js';
|
|
87
|
+
export * from './cache-coherence.js';
|
|
88
|
+
export * from './use-addon-settings.js';
|
|
89
|
+
export * from './use-addon-installed-probe.js';
|
|
90
|
+
export * from './use-edge-device.js';
|
|
91
|
+
export * from './use-print-document.js';
|
|
92
|
+
export * from './print-document-button.js';
|
|
93
|
+
export * from './use-org-document-templates.js';
|
|
94
|
+
export * from './document-template-editor.js';
|
|
95
|
+
export * from './metadata-cache.js';
|
|
96
|
+
export { cacheScope, peekCacheScope, syncCacheScope, onCacheScopeChange, setCacheScopeLanguageProvider, setCacheScopeProvider, } from './cache-scope.js';
|
|
97
|
+
export { RealtimeProvider, useRealtimeClient, useRealtimeDefault, useRealtime, useRealtimeStatus, useRealtimeInvalidate, useRealtimeTick, queryKeyMatchesEvent, } from './realtime-context.js';
|
|
98
|
+
export { ADDON_MANIFEST_CHANGED_TYPE, wireHotSwapInvalidation, useManifestHotSwapSubscriber, } from './manifest-hotswap-subscriber.js';
|
|
99
|
+
export { useHotSwapReload, applyHotSwapReload, withVersionParam, clearFederationContainer, shortenHash, } from './hotswap-reload-policy.js';
|
|
100
|
+
export * from './dynamic-icon.js';
|
|
101
|
+
export * from './icon-spec.js';
|
|
102
|
+
export * from './icon-resolvers.js';
|
|
103
|
+
export { FONT_AWESOME_ALIASES } from './icon-aliases.js';
|
|
104
|
+
export { defaultGetDynamicColumns, makeDefaultGetDynamicColumns, relationKeyFor, resolveAvatarSrc, resolveImageSrc, resolveMissingActorLabel, isSystemActorColumn, resolveActorDisplayName, resolveRelationLabel, } from './dynamic-columns.js';
|
|
105
|
+
export { humanizeToken, localizeFieldLabel, translateMetadataLabel } from './dynamic-columns-helpers.js';
|
|
106
|
+
export { ChipsCell, MeterCell, SwatchCell, chipItems, validSwatches } from './rich-cells.js';
|
|
107
|
+
export { UrlChip, FileChip, ImageThumbnail, MediaValue, RichText, linkifyText, classifyUrl, isImageUrl, isFileUrl, ensureHref, smartUrlLabel, fileNameFromUrl, splitTrailingPunct, } from './rich-url.js';
|
|
108
|
+
export { ImageStack, OptionBadge, statusColorFor, useIsDarkTheme, } from './display-value.js';
|
|
109
|
+
export { CollectionCell, formatScalar, prettifyKey, countLabel, } from './collection-cell.js';
|
|
110
|
+
export { NIL_UUID, isNilUuid, normalizeNilUuid } from './nil-uuid.js';
|
|
111
|
+
export { DynamicRecordDialog, ViewValue } from './dialogs/dynamic-record.js';
|
|
112
|
+
export { normalizeRefFieldsForSubmit } from './dialogs/normalize-submit.js';
|
|
113
|
+
export { CreateRecordDialog } from './dialogs/create-record-dialog.js';
|
|
114
|
+
export { EntitySelect } from './entity-select.js';
|
|
115
115
|
// RecordPicker — the ONE "pick a related record" control (search, single /
|
|
116
116
|
// multiple, create / edit, rich options, field / cell, portaled list). Every
|
|
117
117
|
// picker above (DynamicSelectField, EntitySelect, Customer/Product/Vehicle
|
|
118
118
|
// pickers, LineProductCell) is a thin configuration of it.
|
|
119
|
-
export { RecordPicker, useRecordSearch, useLatestSearch, RECORD_PICKER_Z_INDEX } from './record-picker';
|
|
120
|
-
export { RecordPickerAction, PickerCreateItem, JOINED_TRIGGER_CLASS, hasRecordPickerAction, requestRecordCreate, requestRecordEdit, recordLabel, withSearchPrefill, } from './record-picker-actions';
|
|
121
|
-
export { useRecordPickerDialog } from './record-picker-dialog';
|
|
122
|
-
export { OptionLead, OptionThumb } from './record-picker-option';
|
|
123
|
-
export { OptionDisplayRow, OptionDisplayValue, getOptionDisplay, hasOptionDisplays, formatTrailingValue, formatRelativeDate, toneVariant, } from './option-display';
|
|
124
|
-
export { ViewRecordDialog } from './dialogs/view-record-dialog';
|
|
125
|
-
export { ExportDialog } from './dialogs/export';
|
|
126
|
-
export { ImportDialog } from './dialogs/import';
|
|
127
|
-
export { DynamicCRUDPage, } from './dynamic-crud-page';
|
|
128
|
-
export { DynamicRelation, buildRelationFilterParams, buildCreatePayload, deriveRelationFormFields, relationRowKey, } from './dynamic-relation';
|
|
129
|
-
export { DynamicRelations, resolveParentId, buildRelationFilters, isEmbedded, } from './dynamic-relations';
|
|
130
|
-
export { registerModelExtension, getModelExtension, clearModelExtensions, } from './model-extension-registry';
|
|
131
|
-
export { registerFieldWidget, getFieldWidget, listFieldWidgets, clearFieldWidgets, useFieldWidgetRegistryVersion, } from './field-widget-registry';
|
|
132
|
-
export { registerAgentResultRenderer, resolveAgentResultRenderer, listAgentResultRenderers, clearAgentResultRenderers, useAgentResultRegistryVersion, AgentResultView, } from './agent-result-registry';
|
|
133
|
-
export { isColumnVisibleInTable, isColumnVisibleInModal, isColumnVisibleInLineSubtable, AUDIT_SUBTABLE_COLUMN_KEYS, getSearchableColumnKeys, } from './column-visibility';
|
|
134
|
-
export { batchGet, loadQueryPart, nameBatchTokens, narrowInToken, optionsBatchToken, optionsModelFromUrl, rememberInRows, invalidateQueryBatchData, resetQueryBatchCache, clearQueryBatchCaches, splitInToken, tokenForGet, } from './query-batch';
|
|
135
|
-
export { useOptionsResolver, invalidateOptionsCache, projectOption, } from './use-options-resolver';
|
|
136
|
-
export { useResolveOptionIds, OPTION_IDS_CHUNK, } from './use-option-ids';
|
|
137
|
-
export { DELETED_RECORD_LABEL } from './dynamic-select-field';
|
|
138
|
-
export { setOrgConfigBridge, getOrgConfigBridge, resolveValidatorToken, } from './use-org-config-bridge';
|
|
139
|
-
export { registerValidator, getDependsOn, resolveDependsValue, getOptionsConfig, resolveOptionsSource, getVisibleWhen, evaluateVisibleWhen, ATTRIBUTE_CLASSES_KEY, scopeValueFromFilterToken, buildListScopeValues, evaluateVisibleWhenForListScope, applyLineItemRowFormulas, computeLineItemTotals, toNumber, } from './dynamic-form-schema';
|
|
140
|
-
export { BranchCreateGateProvider, useBranchCreateGate, } from './branch-create-gate';
|
|
141
|
-
export { ActivityValueRenderer, } from './activity-value-renderer';
|
|
142
|
-
export { ActivityDiff, } from './activity-diff';
|
|
143
|
-
export { AuditInfo, readAuditMeta, resolveAuditActor, SYSTEM_ACTOR_ID, } from './audit-info';
|
|
144
|
-
export { RecordHistory, } from './record-history';
|
|
145
|
-
export { ActivityTimeline, } from './activity-timeline';
|
|
146
|
-
export { DashboardGrid, normalizeGroups, } from './dashboard-grid';
|
|
147
|
-
export { DashboardEmptyMockup } from './dashboard-empty-mockup';
|
|
148
|
-
export { StatWidget, ListWidget, ProgressWidget, } from './widgets/renderers';
|
|
119
|
+
export { RecordPicker, useRecordSearch, useLatestSearch, RECORD_PICKER_Z_INDEX } from './record-picker.js';
|
|
120
|
+
export { RecordPickerAction, PickerCreateItem, JOINED_TRIGGER_CLASS, hasRecordPickerAction, requestRecordCreate, requestRecordEdit, recordLabel, withSearchPrefill, } from './record-picker-actions.js';
|
|
121
|
+
export { useRecordPickerDialog } from './record-picker-dialog.js';
|
|
122
|
+
export { OptionLead, OptionThumb } from './record-picker-option.js';
|
|
123
|
+
export { OptionDisplayRow, OptionDisplayValue, getOptionDisplay, hasOptionDisplays, formatTrailingValue, formatRelativeDate, toneVariant, } from './option-display.js';
|
|
124
|
+
export { ViewRecordDialog } from './dialogs/view-record-dialog.js';
|
|
125
|
+
export { ExportDialog } from './dialogs/export.js';
|
|
126
|
+
export { ImportDialog } from './dialogs/import.js';
|
|
127
|
+
export { DynamicCRUDPage, } from './dynamic-crud-page.js';
|
|
128
|
+
export { DynamicRelation, buildRelationFilterParams, buildCreatePayload, deriveRelationFormFields, relationRowKey, } from './dynamic-relation.js';
|
|
129
|
+
export { DynamicRelations, resolveParentId, buildRelationFilters, isEmbedded, } from './dynamic-relations.js';
|
|
130
|
+
export { registerModelExtension, getModelExtension, clearModelExtensions, } from './model-extension-registry.js';
|
|
131
|
+
export { registerFieldWidget, getFieldWidget, listFieldWidgets, clearFieldWidgets, useFieldWidgetRegistryVersion, } from './field-widget-registry.js';
|
|
132
|
+
export { registerAgentResultRenderer, resolveAgentResultRenderer, listAgentResultRenderers, clearAgentResultRenderers, useAgentResultRegistryVersion, AgentResultView, } from './agent-result-registry.js';
|
|
133
|
+
export { isColumnVisibleInTable, isColumnVisibleInModal, isColumnVisibleInLineSubtable, AUDIT_SUBTABLE_COLUMN_KEYS, getSearchableColumnKeys, } from './column-visibility.js';
|
|
134
|
+
export { batchGet, loadQueryPart, nameBatchTokens, narrowInToken, optionsBatchToken, optionsModelFromUrl, rememberInRows, invalidateQueryBatchData, resetQueryBatchCache, clearQueryBatchCaches, splitInToken, tokenForGet, } from './query-batch.js';
|
|
135
|
+
export { useOptionsResolver, invalidateOptionsCache, projectOption, } from './use-options-resolver.js';
|
|
136
|
+
export { useResolveOptionIds, OPTION_IDS_CHUNK, } from './use-option-ids.js';
|
|
137
|
+
export { DELETED_RECORD_LABEL } from './dynamic-select-field.js';
|
|
138
|
+
export { setOrgConfigBridge, getOrgConfigBridge, resolveValidatorToken, } from './use-org-config-bridge.js';
|
|
139
|
+
export { registerValidator, getDependsOn, resolveDependsValue, getOptionsConfig, resolveOptionsSource, getVisibleWhen, evaluateVisibleWhen, ATTRIBUTE_CLASSES_KEY, scopeValueFromFilterToken, buildListScopeValues, evaluateVisibleWhenForListScope, applyLineItemRowFormulas, computeLineItemTotals, toNumber, } from './dynamic-form-schema.js';
|
|
140
|
+
export { BranchCreateGateProvider, useBranchCreateGate, } from './branch-create-gate.js';
|
|
141
|
+
export { ActivityValueRenderer, } from './activity-value-renderer.js';
|
|
142
|
+
export { ActivityDiff, } from './activity-diff.js';
|
|
143
|
+
export { AuditInfo, readAuditMeta, resolveAuditActor, SYSTEM_ACTOR_ID, } from './audit-info.js';
|
|
144
|
+
export { RecordHistory, } from './record-history.js';
|
|
145
|
+
export { ActivityTimeline, } from './activity-timeline.js';
|
|
146
|
+
export { DashboardGrid, normalizeGroups, } from './dashboard-grid.js';
|
|
147
|
+
export { DashboardEmptyMockup } from './dashboard-empty-mockup.js';
|
|
148
|
+
export { StatWidget, ListWidget, ProgressWidget, } from './widgets/renderers.js';
|
|
149
149
|
// recharts-backed widgets: lazy facades, recharts stays out of the index graph.
|
|
150
150
|
// The eager components are at '@asteby/metacore-runtime-react/charts'.
|
|
151
|
-
export { BarWidget, LineWidget, AreaWidget, PieWidget, DonutWidget, preloadWidgetCharts, } from './widgets/lazy-charts';
|
|
152
|
-
export { WidgetRenderer, WidgetSkeleton, SIZE_SPAN, SIZE_CLASS, } from './widgets/widget-renderer';
|
|
153
|
-
export { WidgetCard, DeltaChip, WidgetEmpty, WidgetError, } from './widgets/widget-card';
|
|
154
|
-
export { formatWidgetValue, formatAxisTick, formatDelta, accentClasses, paletteColor, CHART_PALETTE, } from './widgets/widget-format';
|
|
151
|
+
export { BarWidget, LineWidget, AreaWidget, PieWidget, DonutWidget, preloadWidgetCharts, } from './widgets/lazy-charts.js';
|
|
152
|
+
export { WidgetRenderer, WidgetSkeleton, SIZE_SPAN, SIZE_CLASS, } from './widgets/widget-renderer.js';
|
|
153
|
+
export { WidgetCard, DeltaChip, WidgetEmpty, WidgetError, } from './widgets/widget-card.js';
|
|
154
|
+
export { formatWidgetValue, formatAxisTick, formatDelta, accentClasses, paletteColor, CHART_PALETTE, } from './widgets/widget-format.js';
|
|
155
155
|
// Dependency-free SVG sparkline from @asteby/metacore-charts (no recharts).
|
|
156
156
|
export { Sparkline } from '@asteby/metacore-charts';
|
|
157
|
-
export { AssistInterview, AssistCardView } from './assist-interview';
|
|
158
|
-
export { useAttributeClasses, resolveAttributeClasses, resetAttributeClassCache, } from './attribute-classes';
|
|
157
|
+
export { AssistInterview, AssistCardView } from './assist-interview.js';
|
|
158
|
+
export { useAttributeClasses, resolveAttributeClasses, resetAttributeClassCache, } from './attribute-classes.js';
|
|
159
159
|
// Página de documento (benchmark §5/§6): cabecera, badges, acciones por estado, botones inteligentes.
|
|
160
|
-
export * from './document';
|
|
160
|
+
export * from './document/index.js';
|
|
161
161
|
// Option filter — hide options of a relation / dynamic picker from the manifest
|
|
162
162
|
// (`option_filter` / `optionFilter` on the field).
|
|
163
|
-
export { getOptionFilter, applyOptionFilter, optionPassesRule } from './option-filter';
|
|
163
|
+
export { getOptionFilter, applyOptionFilter, optionPassesRule } from './option-filter.js';
|
|
164
164
|
// Addons instalados / capacidades provistas — primitivo único de «¿qué hay
|
|
165
165
|
// instalado?» para hosts y remotes federados. Sin provider los hooks devuelven
|
|
166
166
|
// `undefined` (desconocido): el consumidor NUNCA debe asumir ausente.
|
|
167
|
-
export { InstalledAddonsProvider, useAddonInstalled, useCapabilityProvided, useInstalledAddons, } from './installed-addons-context';
|
|
167
|
+
export { InstalledAddonsProvider, useAddonInstalled, useCapabilityProvided, useInstalledAddons, } from './installed-addons-context.js';
|
|
168
168
|
// Ayudantes de captura (registerRecordPrefill de @asteby/metacore-sdk) arriba
|
|
169
169
|
// del formulario genérico de un modelo; DynamicRecordDialog ya lo monta.
|
|
170
|
-
export { RecordPrefillBar } from './record-prefill-bar';
|
|
170
|
+
export { RecordPrefillBar } from './record-prefill-bar.js';
|
|
171
171
|
// Acciones primarias / secundarias de un registro: una sola primaria
|
|
172
172
|
// destacada; compartir/imprimir/correo/chat al «Más…» de la fila y al pie del
|
|
173
173
|
// documento. Las aportadas por addons (registerRecordAction del SDK) sólo con
|
|
174
174
|
// su proveedor instalado y activo.
|
|
175
|
-
export { RowActionsMenu, RowActionMenuItem, RowActionsModelContext, } from './row-actions-menu';
|
|
176
|
-
export { classifyActionPriority, isActionProviderActive, isRecordActionProviderActive, resolveRecordActions, splitActionsByPriority, useRecordActions, } from './record-actions';
|
|
177
|
-
export * from './capability-providers';
|
|
178
|
-
export { BulkImageImportButton, } from './bulk-image-dialog';
|
|
179
|
-
export * from './attention';
|
|
180
|
-
export * from './view-system';
|
|
181
|
-
export { useModelLabels, resolveModelLabels, defaultSingular } from './model-labels';
|
|
175
|
+
export { RowActionsMenu, RowActionMenuItem, RowActionsModelContext, } from './row-actions-menu.js';
|
|
176
|
+
export { classifyActionPriority, isActionProviderActive, isRecordActionProviderActive, resolveRecordActions, splitActionsByPriority, useRecordActions, } from './record-actions.js';
|
|
177
|
+
export * from './capability-providers/index.js';
|
|
178
|
+
export { BulkImageImportButton, } from './bulk-image-dialog.js';
|
|
179
|
+
export * from './attention/index.js';
|
|
180
|
+
export * from './view-system/index.js';
|
|
181
|
+
export { useModelLabels, resolveModelLabels, defaultSingular } from './model-labels.js';
|
package/dist/license/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { LicenseGate, type LicenseGateProps, } from './license-gate';
|
|
2
|
-
export { LicenseExpiryBanner, type LicenseExpiryBannerProps, } from './license-expiry-banner';
|
|
3
|
-
export { LicenseStatusBadge, type LicenseStatusBadgeProps, } from './license-status-badge';
|
|
4
|
-
export { isLicenseOperable, isLicenseBlocking, isLicenseReadOnly, isPresetEntitled, isTrialExpired, type LicenseState, type LicenseStatus, type LicenseSeller, type LicenseOnExpiry, type LicenseBranding, } from './types';
|
|
5
|
-
export { deriveLicenseView, isLicenseCloned, sellerContactLine, CLONE_NOTICE, type LicenseView, type LicenseCondition, type LicenseSeverity, } from './view';
|
|
6
|
-
export { LICENSE_MESSAGES, registerLicenseMessages, formatLicenseDate, licenseLang, type LicenseLang, } from './messages';
|
|
1
|
+
export { LicenseGate, type LicenseGateProps, } from './license-gate.js';
|
|
2
|
+
export { LicenseExpiryBanner, type LicenseExpiryBannerProps, } from './license-expiry-banner.js';
|
|
3
|
+
export { LicenseStatusBadge, type LicenseStatusBadgeProps, } from './license-status-badge.js';
|
|
4
|
+
export { isLicenseOperable, isLicenseBlocking, isLicenseReadOnly, isPresetEntitled, isTrialExpired, type LicenseState, type LicenseStatus, type LicenseSeller, type LicenseOnExpiry, type LicenseBranding, } from './types.js';
|
|
5
|
+
export { deriveLicenseView, isLicenseCloned, sellerContactLine, CLONE_NOTICE, type LicenseView, type LicenseCondition, type LicenseSeverity, } from './view.js';
|
|
6
|
+
export { LICENSE_MESSAGES, registerLicenseMessages, formatLicenseDate, licenseLang, type LicenseLang, } from './messages.js';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/license/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { LicenseGate, } from './license-gate';
|
|
2
|
-
export { LicenseExpiryBanner, } from './license-expiry-banner';
|
|
3
|
-
export { LicenseStatusBadge, } from './license-status-badge';
|
|
4
|
-
export { isLicenseOperable, isLicenseBlocking, isLicenseReadOnly, isPresetEntitled, isTrialExpired, } from './types';
|
|
5
|
-
export { deriveLicenseView, isLicenseCloned, sellerContactLine, CLONE_NOTICE, } from './view';
|
|
6
|
-
export { LICENSE_MESSAGES, registerLicenseMessages, formatLicenseDate, licenseLang, } from './messages';
|
|
1
|
+
export { LicenseGate, } from './license-gate.js';
|
|
2
|
+
export { LicenseExpiryBanner, } from './license-expiry-banner.js';
|
|
3
|
+
export { LicenseStatusBadge, } from './license-status-badge.js';
|
|
4
|
+
export { isLicenseOperable, isLicenseBlocking, isLicenseReadOnly, isPresetEntitled, isTrialExpired, } from './types.js';
|
|
5
|
+
export { deriveLicenseView, isLicenseCloned, sellerContactLine, CLONE_NOTICE, } from './view.js';
|
|
6
|
+
export { LICENSE_MESSAGES, registerLicenseMessages, formatLicenseDate, licenseLang, } from './messages.js';
|
|
@@ -17,9 +17,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
17
17
|
import { useState } from 'react';
|
|
18
18
|
import { AlertTriangle, Clock, CloudOff, Copy, X } from 'lucide-react';
|
|
19
19
|
import { Button } from '@asteby/metacore-ui';
|
|
20
|
-
import { formatLicenseDate } from './messages';
|
|
21
|
-
import { deriveLicenseView, sellerContactLine } from './view';
|
|
22
|
-
import { useLicenseT } from './use-license-t';
|
|
20
|
+
import { formatLicenseDate } from './messages.js';
|
|
21
|
+
import { deriveLicenseView, sellerContactLine } from './view.js';
|
|
22
|
+
import { useLicenseT } from './use-license-t.js';
|
|
23
23
|
const DISMISS_KEY = 'license_banner_dismissed_at';
|
|
24
24
|
const DISMISS_TTL_MS = 12 * 60 * 60 * 1000; // re-mostrar cada 12h aunque se descarte
|
|
25
25
|
const UPCOMING_THRESHOLD_DAYS = 15;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import { type LicenseState, type LicenseBranding } from './types';
|
|
2
|
+
import { type LicenseState, type LicenseBranding } from './types.js';
|
|
3
3
|
export interface LicenseGateProps {
|
|
4
4
|
/** Estado actual, resuelto por el backend del host. `undefined` mientras
|
|
5
5
|
* carga → fail-open (renderiza children, nunca destella el candado). */
|
|
@@ -32,11 +32,11 @@ import { createPortal } from 'react-dom';
|
|
|
32
32
|
import { useState } from 'react';
|
|
33
33
|
import { ShieldAlert, Clock, Loader2 } from 'lucide-react';
|
|
34
34
|
import { Button, Input } from '@asteby/metacore-ui';
|
|
35
|
-
import { deriveLicenseView, sellerContactLine } from './view';
|
|
36
|
-
import { formatLicenseDate } from './messages';
|
|
37
|
-
import { useLicenseT } from './use-license-t';
|
|
38
|
-
import { LicenseStatusBadge } from './license-status-badge';
|
|
39
|
-
import { LicenseExpiryBanner } from './license-expiry-banner';
|
|
35
|
+
import { deriveLicenseView, sellerContactLine } from './view.js';
|
|
36
|
+
import { formatLicenseDate } from './messages.js';
|
|
37
|
+
import { useLicenseT } from './use-license-t.js';
|
|
38
|
+
import { LicenseStatusBadge } from './license-status-badge.js';
|
|
39
|
+
import { LicenseExpiryBanner } from './license-expiry-banner.js';
|
|
40
40
|
function cx(...parts) {
|
|
41
41
|
return parts.filter(Boolean).join(' ');
|
|
42
42
|
}
|
|
@@ -6,7 +6,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
6
6
|
*/
|
|
7
7
|
import { ShieldCheck, ShieldAlert, ShieldQuestion, Clock, CloudOff, } from 'lucide-react';
|
|
8
8
|
import { Badge } from '@asteby/metacore-ui';
|
|
9
|
-
import { useLicenseT } from './use-license-t';
|
|
9
|
+
import { useLicenseT } from './use-license-t.js';
|
|
10
10
|
const STATUS_META = {
|
|
11
11
|
valid: {
|
|
12
12
|
variant: 'default',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTranslation } from 'react-i18next';
|
|
2
|
-
import { LICENSE_MESSAGES, licenseLang } from './messages';
|
|
2
|
+
import { LICENSE_MESSAGES, licenseLang } from './messages.js';
|
|
3
3
|
/**
|
|
4
4
|
* `t` de licencia: pide la clave a i18next y, si el host no la define, cae al
|
|
5
5
|
* texto es/en del SDK según el idioma activo (español por omisión). Un host con
|
package/dist/license/view.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* Además, `cloned` (licencia vista en otro servidor) es un aviso al dueño que se
|
|
15
15
|
* suma a cualquiera de los anteriores.
|
|
16
16
|
*/
|
|
17
|
-
import { type LicenseState } from './types';
|
|
17
|
+
import { type LicenseState } from './types.js';
|
|
18
18
|
export type LicenseCondition = 'valid' | 'expiring' | 'grace' | 'expired' | 'revoked' | 'hub_unreachable' | 'missing' | 'invalid';
|
|
19
19
|
export type LicenseSeverity = 'ok' | 'notice' | 'warning' | 'critical';
|
|
20
20
|
export interface LicenseView {
|
package/dist/license/view.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* Además, `cloned` (licencia vista en otro servidor) es un aviso al dueño que se
|
|
15
15
|
* suma a cualquiera de los anteriores.
|
|
16
16
|
*/
|
|
17
|
-
import { isLicenseBlocking, isLicenseReadOnly, isTrialExpired } from './types';
|
|
17
|
+
import { isLicenseBlocking, isLicenseReadOnly, isTrialExpired } from './types.js';
|
|
18
18
|
export const CLONE_NOTICE = 'clone_suspected';
|
|
19
19
|
export function isLicenseCloned(state) {
|
|
20
20
|
return !!state?.enforced && !!state.notices?.includes(CLONE_NOTICE);
|
package/dist/list-include.d.ts
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
// to reload is a host policy decision and we keep this module side-effect
|
|
43
43
|
// free beyond the cache.
|
|
44
44
|
import { useEffect } from 'react';
|
|
45
|
-
import { useMetadataCache } from './metadata-cache';
|
|
45
|
+
import { useMetadataCache } from './metadata-cache.js';
|
|
46
46
|
/**
|
|
47
47
|
* `type` string the kernel/bridge emits. Exported so consumers can subscribe
|
|
48
48
|
* manually if they prefer to skip the hook/wire helper. Matches
|
package/dist/metadata-cache.d.ts
CHANGED
package/dist/metadata-cache.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
// never invokes prefetchAll, the `api` dep is not required.
|
|
23
23
|
import { create } from 'zustand';
|
|
24
24
|
import { persist } from 'zustand/middleware';
|
|
25
|
-
import { cacheScope, onCacheScopeChange, peekCacheScope } from './cache-scope';
|
|
25
|
+
import { cacheScope, onCacheScopeChange, peekCacheScope } from './cache-scope.js';
|
|
26
26
|
/**
|
|
27
27
|
* Default matcher used by {@link MetadataCacheState.invalidateAddon}.
|
|
28
28
|
* Mirrors the convention used by the kernel installer when it scopes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionDefinition } from './types';
|
|
1
|
+
import type { ActionDefinition } from './types.js';
|
|
2
2
|
export type ActionPlacement = 'row' | 'table' | 'create';
|
|
3
3
|
export interface ModelActionToolbarProps {
|
|
4
4
|
/** Model key as registered on the backend (e.g. "JournalEntry"). */
|
|
@@ -21,13 +21,13 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
21
21
|
import { useEffect, useMemo, useState } from 'react';
|
|
22
22
|
import { useTranslation } from 'react-i18next';
|
|
23
23
|
import { Button } from '@asteby/metacore-ui/primitives';
|
|
24
|
-
import { useApi } from './api-context';
|
|
25
|
-
import { useMetadataCache } from './metadata-cache';
|
|
26
|
-
import { DynamicIcon } from './dynamic-icon';
|
|
27
|
-
import { ActionModalDispatcher } from './action-modal-dispatcher';
|
|
28
|
-
import { useCan, modelCapability } from './permissions-context';
|
|
29
|
-
import { RequiresAddonDialog, RequiresAddonLock, resolveRequiresAddon, useRequiresAddonLabel, } from './requires-addon';
|
|
30
|
-
import { resolveListPrimaryAction } from './list-primary-action';
|
|
24
|
+
import { useApi } from './api-context.js';
|
|
25
|
+
import { useMetadataCache } from './metadata-cache.js';
|
|
26
|
+
import { DynamicIcon } from './dynamic-icon.js';
|
|
27
|
+
import { ActionModalDispatcher } from './action-modal-dispatcher.js';
|
|
28
|
+
import { useCan, modelCapability } from './permissions-context.js';
|
|
29
|
+
import { RequiresAddonDialog, RequiresAddonLock, resolveRequiresAddon, useRequiresAddonLabel, } from './requires-addon.js';
|
|
30
|
+
import { resolveListPrimaryAction } from './list-primary-action.js';
|
|
31
31
|
const DEFAULT_PLACEMENTS = ['table', 'create'];
|
|
32
32
|
/** Table/create actions act on no record: one stable empty object, not a new
|
|
33
33
|
* `{}` per render (the dialog keys its form on the opening, not on identity). */
|
package/dist/nav-permissions.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// - any other entry (custom pages, activity, settings…) -> kept. Those are
|
|
11
11
|
// gated by the backend / the host's own `requires`, never guessed here.
|
|
12
12
|
import { useCallback } from 'react';
|
|
13
|
-
import { modelCapability, useCan, usePermissionsActive } from './permissions-context';
|
|
13
|
+
import { modelCapability, useCan, usePermissionsActive } from './permissions-context.js';
|
|
14
14
|
const MODEL_URL_RE = /^\/(?:app\/)?m\/([^/?#]+)/i;
|
|
15
15
|
/** Model key of a `/m/<model>` url, or undefined for any other route. */
|
|
16
16
|
export function modelFromNavUrl(url) {
|
|
@@ -2,7 +2,7 @@ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
// NavigationBuilder — merges a host's base sidebar with `manifest.navigation`
|
|
3
3
|
// contributions from every loaded addon. Pure function + a React hook.
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
|
-
import { useCan } from './permissions-context';
|
|
5
|
+
import { useCan } from './permissions-context.js';
|
|
6
6
|
/** Deep-merge nav trees by `key`. Children are merged recursively; on
|
|
7
7
|
* conflict the higher-priority wins, then the later contribution.
|
|
8
8
|
*/
|
package/dist/option-display.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Formatter } from './business/format';
|
|
1
|
+
import { type Formatter } from './business/format.js';
|
|
2
2
|
export type OptionDisplayTone = 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|
|
3
3
|
/** One resolved right-aligned metric (`display.trailing[]`). */
|
|
4
4
|
export interface OptionTrailingItem {
|