@aglyn/aglyn 1.0.0-beta.143
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/LICENSE +201 -0
- package/README.md +11 -0
- package/package.json +66 -0
- package/src/index.d.ts +25 -0
- package/src/index.js +26 -0
- package/src/index.js.map +1 -0
- package/src/lib/aglyn.d.ts +31 -0
- package/src/lib/aglyn.js +114 -0
- package/src/lib/aglyn.js.map +1 -0
- package/src/lib/app-utils/abuse-report.d.ts +193 -0
- package/src/lib/app-utils/abuse-report.js +321 -0
- package/src/lib/app-utils/abuse-report.js.map +1 -0
- package/src/lib/app-utils/accept-negotiation.d.ts +129 -0
- package/src/lib/app-utils/accept-negotiation.js +266 -0
- package/src/lib/app-utils/accept-negotiation.js.map +1 -0
- package/src/lib/app-utils/account-emails.d.ts +263 -0
- package/src/lib/app-utils/account-emails.js +264 -0
- package/src/lib/app-utils/account-emails.js.map +1 -0
- package/src/lib/app-utils/actions.d.ts +717 -0
- package/src/lib/app-utils/actions.js +1031 -0
- package/src/lib/app-utils/actions.js.map +1 -0
- package/src/lib/app-utils/activity-presenter.d.ts +152 -0
- package/src/lib/app-utils/activity-presenter.js +326 -0
- package/src/lib/app-utils/activity-presenter.js.map +1 -0
- package/src/lib/app-utils/advertising-tag-mounts.d.ts +133 -0
- package/src/lib/app-utils/advertising-tag-mounts.js +118 -0
- package/src/lib/app-utils/advertising-tag-mounts.js.map +1 -0
- package/src/lib/app-utils/advertising-tags.d.ts +307 -0
- package/src/lib/app-utils/advertising-tags.js +525 -0
- package/src/lib/app-utils/advertising-tags.js.map +1 -0
- package/src/lib/app-utils/agent-api-catalog.d.ts +94 -0
- package/src/lib/app-utils/agent-api-catalog.js +106 -0
- package/src/lib/app-utils/agent-api-catalog.js.map +1 -0
- package/src/lib/app-utils/agent-openapi.d.ts +103 -0
- package/src/lib/app-utils/agent-openapi.js +1128 -0
- package/src/lib/app-utils/agent-openapi.js.map +1 -0
- package/src/lib/app-utils/analytics-beacon.d.ts +154 -0
- package/src/lib/app-utils/analytics-beacon.js +152 -0
- package/src/lib/app-utils/analytics-beacon.js.map +1 -0
- package/src/lib/app-utils/analytics-environment.d.ts +133 -0
- package/src/lib/app-utils/analytics-environment.js +152 -0
- package/src/lib/app-utils/analytics-environment.js.map +1 -0
- package/src/lib/app-utils/analytics-events.d.ts +744 -0
- package/src/lib/app-utils/analytics-events.js +650 -0
- package/src/lib/app-utils/analytics-events.js.map +1 -0
- package/src/lib/app-utils/analytics-link-clicks.d.ts +102 -0
- package/src/lib/app-utils/analytics-link-clicks.js +267 -0
- package/src/lib/app-utils/analytics-link-clicks.js.map +1 -0
- package/src/lib/app-utils/analytics-path-key.d.ts +46 -0
- package/src/lib/app-utils/analytics-path-key.js +46 -0
- package/src/lib/app-utils/analytics-path-key.js.map +1 -0
- package/src/lib/app-utils/api-adapter.d.ts +47 -0
- package/src/lib/app-utils/api-adapter.js +367 -0
- package/src/lib/app-utils/api-adapter.js.map +1 -0
- package/src/lib/app-utils/api-idempotency.d.ts +169 -0
- package/src/lib/app-utils/api-idempotency.js +213 -0
- package/src/lib/app-utils/api-idempotency.js.map +1 -0
- package/src/lib/app-utils/api-plugins.d.ts +210 -0
- package/src/lib/app-utils/api-plugins.js +221 -0
- package/src/lib/app-utils/api-plugins.js.map +1 -0
- package/src/lib/app-utils/assist-credits.d.ts +482 -0
- package/src/lib/app-utils/assist-credits.js +509 -0
- package/src/lib/app-utils/assist-credits.js.map +1 -0
- package/src/lib/app-utils/attribution-attribute.d.ts +34 -0
- package/src/lib/app-utils/attribution-attribute.js +34 -0
- package/src/lib/app-utils/attribution-attribute.js.map +1 -0
- package/src/lib/app-utils/attribution-guard.d.ts +130 -0
- package/src/lib/app-utils/attribution-guard.js +410 -0
- package/src/lib/app-utils/attribution-guard.js.map +1 -0
- package/src/lib/app-utils/author-css.d.ts +123 -0
- package/src/lib/app-utils/author-css.js +275 -0
- package/src/lib/app-utils/author-css.js.map +1 -0
- package/src/lib/app-utils/author-html-markdown.d.ts +31 -0
- package/src/lib/app-utils/author-html-markdown.js +497 -0
- package/src/lib/app-utils/author-html-markdown.js.map +1 -0
- package/src/lib/app-utils/author-html.d.ts +135 -0
- package/src/lib/app-utils/author-html.js +1037 -0
- package/src/lib/app-utils/author-html.js.map +1 -0
- package/src/lib/app-utils/automation-placeholders.d.ts +72 -0
- package/src/lib/app-utils/automation-placeholders.js +207 -0
- package/src/lib/app-utils/automation-placeholders.js.map +1 -0
- package/src/lib/app-utils/bandwidth-cap.d.ts +183 -0
- package/src/lib/app-utils/bandwidth-cap.js +193 -0
- package/src/lib/app-utils/bandwidth-cap.js.map +1 -0
- package/src/lib/app-utils/binding-token-catalog.d.ts +82 -0
- package/src/lib/app-utils/binding-token-catalog.js +293 -0
- package/src/lib/app-utils/binding-token-catalog.js.map +1 -0
- package/src/lib/app-utils/binding-tokens.d.ts +157 -0
- package/src/lib/app-utils/binding-tokens.js +251 -0
- package/src/lib/app-utils/binding-tokens.js.map +1 -0
- package/src/lib/app-utils/breadcrumb-json-ld.d.ts +57 -0
- package/src/lib/app-utils/breadcrumb-json-ld.js +67 -0
- package/src/lib/app-utils/breadcrumb-json-ld.js.map +1 -0
- package/src/lib/app-utils/campaign-attribution.d.ts +117 -0
- package/src/lib/app-utils/campaign-attribution.js +162 -0
- package/src/lib/app-utils/campaign-attribution.js.map +1 -0
- package/src/lib/app-utils/campaign-forwarding.d.ts +220 -0
- package/src/lib/app-utils/campaign-forwarding.js +332 -0
- package/src/lib/app-utils/campaign-forwarding.js.map +1 -0
- package/src/lib/app-utils/campaign-membership.d.ts +109 -0
- package/src/lib/app-utils/campaign-membership.js +176 -0
- package/src/lib/app-utils/campaign-membership.js.map +1 -0
- package/src/lib/app-utils/campaign-touch.d.ts +206 -0
- package/src/lib/app-utils/campaign-touch.js +326 -0
- package/src/lib/app-utils/campaign-touch.js.map +1 -0
- package/src/lib/app-utils/child-contract-compose.d.ts +28 -0
- package/src/lib/app-utils/child-contract-compose.js +140 -0
- package/src/lib/app-utils/child-contract-compose.js.map +1 -0
- package/src/lib/app-utils/child-contract.d.ts +129 -0
- package/src/lib/app-utils/child-contract.js +153 -0
- package/src/lib/app-utils/child-contract.js.map +1 -0
- package/src/lib/app-utils/collection-delete.d.ts +113 -0
- package/src/lib/app-utils/collection-delete.js +120 -0
- package/src/lib/app-utils/collection-delete.js.map +1 -0
- package/src/lib/app-utils/collection-entries.d.ts +833 -0
- package/src/lib/app-utils/collection-entries.js +1285 -0
- package/src/lib/app-utils/collection-entries.js.map +1 -0
- package/src/lib/app-utils/collection-entry-date.d.ts +129 -0
- package/src/lib/app-utils/collection-entry-date.js +183 -0
- package/src/lib/app-utils/collection-entry-date.js.map +1 -0
- package/src/lib/app-utils/collection-kind.d.ts +55 -0
- package/src/lib/app-utils/collection-kind.js +69 -0
- package/src/lib/app-utils/collection-kind.js.map +1 -0
- package/src/lib/app-utils/collection-slug.d.ts +79 -0
- package/src/lib/app-utils/collection-slug.js +70 -0
- package/src/lib/app-utils/collection-slug.js.map +1 -0
- package/src/lib/app-utils/compose-layout-nodes.d.ts +147 -0
- package/src/lib/app-utils/compose-layout-nodes.js +261 -0
- package/src/lib/app-utils/compose-layout-nodes.js.map +1 -0
- package/src/lib/app-utils/compose-layout-props.d.ts +71 -0
- package/src/lib/app-utils/compose-layout-props.js +61 -0
- package/src/lib/app-utils/compose-layout-props.js.map +1 -0
- package/src/lib/app-utils/compose-reusable-components.d.ts +504 -0
- package/src/lib/app-utils/compose-reusable-components.js +1366 -0
- package/src/lib/app-utils/compose-reusable-components.js.map +1 -0
- package/src/lib/app-utils/compress.d.ts +35 -0
- package/src/lib/app-utils/compress.js +38 -0
- package/src/lib/app-utils/compress.js.map +1 -0
- package/src/lib/app-utils/consent-banner-ui.d.ts +226 -0
- package/src/lib/app-utils/consent-banner-ui.js +583 -0
- package/src/lib/app-utils/consent-banner-ui.js.map +1 -0
- package/src/lib/app-utils/consent-groups.d.ts +189 -0
- package/src/lib/app-utils/consent-groups.js +219 -0
- package/src/lib/app-utils/consent-groups.js.map +1 -0
- package/src/lib/app-utils/consent-preferences-dialog.d.ts +58 -0
- package/src/lib/app-utils/consent-preferences-dialog.js +106 -0
- package/src/lib/app-utils/consent-preferences-dialog.js.map +1 -0
- package/src/lib/app-utils/console-record-links.d.ts +163 -0
- package/src/lib/app-utils/console-record-links.js +178 -0
- package/src/lib/app-utils/console-record-links.js.map +1 -0
- package/src/lib/app-utils/console-routes.d.ts +658 -0
- package/src/lib/app-utils/console-routes.js +489 -0
- package/src/lib/app-utils/console-routes.js.map +1 -0
- package/src/lib/app-utils/console-widget-slot-context.d.ts +46 -0
- package/src/lib/app-utils/console-widget-slot-context.js +23 -0
- package/src/lib/app-utils/console-widget-slot-context.js.map +1 -0
- package/src/lib/app-utils/contact-custom-fields.d.ts +191 -0
- package/src/lib/app-utils/contact-custom-fields.js +349 -0
- package/src/lib/app-utils/contact-custom-fields.js.map +1 -0
- package/src/lib/app-utils/contact-holder.d.ts +52 -0
- package/src/lib/app-utils/contact-holder.js +98 -0
- package/src/lib/app-utils/contact-holder.js.map +1 -0
- package/src/lib/app-utils/contact-merge.d.ts +136 -0
- package/src/lib/app-utils/contact-merge.js +379 -0
- package/src/lib/app-utils/contact-merge.js.map +1 -0
- package/src/lib/app-utils/contacts.d.ts +554 -0
- package/src/lib/app-utils/contacts.js +401 -0
- package/src/lib/app-utils/contacts.js.map +1 -0
- package/src/lib/app-utils/content-author-profile.d.ts +68 -0
- package/src/lib/app-utils/content-author-profile.js +118 -0
- package/src/lib/app-utils/content-author-profile.js.map +1 -0
- package/src/lib/app-utils/content-authors.d.ts +662 -0
- package/src/lib/app-utils/content-authors.js +771 -0
- package/src/lib/app-utils/content-authors.js.map +1 -0
- package/src/lib/app-utils/content-schema-type.d.ts +81 -0
- package/src/lib/app-utils/content-schema-type.js +87 -0
- package/src/lib/app-utils/content-schema-type.js.map +1 -0
- package/src/lib/app-utils/contexts.d.ts +35 -0
- package/src/lib/app-utils/contexts.js +35 -0
- package/src/lib/app-utils/contexts.js.map +1 -0
- package/src/lib/app-utils/create-resource-uid.d.ts +18 -0
- package/src/lib/app-utils/create-resource-uid.js +23 -0
- package/src/lib/app-utils/create-resource-uid.js.map +1 -0
- package/src/lib/app-utils/crm-booking.d.ts +75 -0
- package/src/lib/app-utils/crm-booking.js +133 -0
- package/src/lib/app-utils/crm-booking.js.map +1 -0
- package/src/lib/app-utils/crm-csv.d.ts +232 -0
- package/src/lib/app-utils/crm-csv.js +432 -0
- package/src/lib/app-utils/crm-csv.js.map +1 -0
- package/src/lib/app-utils/crm-digest.d.ts +179 -0
- package/src/lib/app-utils/crm-digest.js +271 -0
- package/src/lib/app-utils/crm-digest.js.map +1 -0
- package/src/lib/app-utils/crm-email-templates.d.ts +172 -0
- package/src/lib/app-utils/crm-email-templates.js +382 -0
- package/src/lib/app-utils/crm-email-templates.js.map +1 -0
- package/src/lib/app-utils/crm-inbound.d.ts +245 -0
- package/src/lib/app-utils/crm-inbound.js +407 -0
- package/src/lib/app-utils/crm-inbound.js.map +1 -0
- package/src/lib/app-utils/crm-kinds.d.ts +73 -0
- package/src/lib/app-utils/crm-kinds.js +92 -0
- package/src/lib/app-utils/crm-kinds.js.map +1 -0
- package/src/lib/app-utils/crm-next-activity.d.ts +107 -0
- package/src/lib/app-utils/crm-next-activity.js +140 -0
- package/src/lib/app-utils/crm-next-activity.js.map +1 -0
- package/src/lib/app-utils/crm-reports.d.ts +479 -0
- package/src/lib/app-utils/crm-reports.js +680 -0
- package/src/lib/app-utils/crm-reports.js.map +1 -0
- package/src/lib/app-utils/crm-task-reminders.d.ts +129 -0
- package/src/lib/app-utils/crm-task-reminders.js +139 -0
- package/src/lib/app-utils/crm-task-reminders.js.map +1 -0
- package/src/lib/app-utils/crm.d.ts +1546 -0
- package/src/lib/app-utils/crm.js +1814 -0
- package/src/lib/app-utils/crm.js.map +1 -0
- package/src/lib/app-utils/csp-report.d.ts +84 -0
- package/src/lib/app-utils/csp-report.js +177 -0
- package/src/lib/app-utils/csp-report.js.map +1 -0
- package/src/lib/app-utils/csv-import.d.ts +192 -0
- package/src/lib/app-utils/csv-import.js +279 -0
- package/src/lib/app-utils/csv-import.js.map +1 -0
- package/src/lib/app-utils/dataset-csv.d.ts +109 -0
- package/src/lib/app-utils/dataset-csv.js +235 -0
- package/src/lib/app-utils/dataset-csv.js.map +1 -0
- package/src/lib/app-utils/dataset-models.d.ts +194 -0
- package/src/lib/app-utils/dataset-models.js +409 -0
- package/src/lib/app-utils/dataset-models.js.map +1 -0
- package/src/lib/app-utils/dataset-query.d.ts +57 -0
- package/src/lib/app-utils/dataset-query.js +126 -0
- package/src/lib/app-utils/dataset-query.js.map +1 -0
- package/src/lib/app-utils/datasets.d.ts +136 -0
- package/src/lib/app-utils/datasets.js +177 -0
- package/src/lib/app-utils/datasets.js.map +1 -0
- package/src/lib/app-utils/decompress.d.ts +36 -0
- package/src/lib/app-utils/decompress.js +32 -0
- package/src/lib/app-utils/decompress.js.map +1 -0
- package/src/lib/app-utils/dedicated-sending-domain.d.ts +47 -0
- package/src/lib/app-utils/dedicated-sending-domain.js +114 -0
- package/src/lib/app-utils/dedicated-sending-domain.js.map +1 -0
- package/src/lib/app-utils/deferred-image.d.ts +86 -0
- package/src/lib/app-utils/deferred-image.js +83 -0
- package/src/lib/app-utils/deferred-image.js.map +1 -0
- package/src/lib/app-utils/definition-canvas-tree.d.ts +61 -0
- package/src/lib/app-utils/definition-canvas-tree.js +126 -0
- package/src/lib/app-utils/definition-canvas-tree.js.map +1 -0
- package/src/lib/app-utils/deployment-shape.d.ts +167 -0
- package/src/lib/app-utils/deployment-shape.js +238 -0
- package/src/lib/app-utils/deployment-shape.js.map +1 -0
- package/src/lib/app-utils/detect-template-placeholders.d.ts +30 -0
- package/src/lib/app-utils/detect-template-placeholders.js +53 -0
- package/src/lib/app-utils/detect-template-placeholders.js.map +1 -0
- package/src/lib/app-utils/dmca-counter-notice.d.ts +185 -0
- package/src/lib/app-utils/dmca-counter-notice.js +277 -0
- package/src/lib/app-utils/dmca-counter-notice.js.map +1 -0
- package/src/lib/app-utils/docs-deflection.d.ts +156 -0
- package/src/lib/app-utils/docs-deflection.js +547 -0
- package/src/lib/app-utils/docs-deflection.js.map +1 -0
- package/src/lib/app-utils/docs-help.d.ts +57 -0
- package/src/lib/app-utils/docs-help.generated.d.ts +303 -0
- package/src/lib/app-utils/docs-help.generated.js +867 -0
- package/src/lib/app-utils/docs-help.generated.js.map +1 -0
- package/src/lib/app-utils/docs-help.js +46 -0
- package/src/lib/app-utils/docs-help.js.map +1 -0
- package/src/lib/app-utils/docs-index.generated.d.ts +29 -0
- package/src/lib/app-utils/docs-index.generated.js +8388 -0
- package/src/lib/app-utils/docs-index.generated.js.map +1 -0
- package/src/lib/app-utils/docs-retrieval.d.ts +67 -0
- package/src/lib/app-utils/docs-retrieval.js +188 -0
- package/src/lib/app-utils/docs-retrieval.js.map +1 -0
- package/src/lib/app-utils/document-landmark.d.ts +50 -0
- package/src/lib/app-utils/document-landmark.js +100 -0
- package/src/lib/app-utils/document-landmark.js.map +1 -0
- package/src/lib/app-utils/duplicate-resource.d.ts +101 -0
- package/src/lib/app-utils/duplicate-resource.js +206 -0
- package/src/lib/app-utils/duplicate-resource.js.map +1 -0
- package/src/lib/app-utils/dynamic-list-rule.d.ts +471 -0
- package/src/lib/app-utils/dynamic-list-rule.js +914 -0
- package/src/lib/app-utils/dynamic-list-rule.js.map +1 -0
- package/src/lib/app-utils/element-animation.d.ts +200 -0
- package/src/lib/app-utils/element-animation.js +233 -0
- package/src/lib/app-utils/element-animation.js.map +1 -0
- package/src/lib/app-utils/element-hidden-style.d.ts +46 -0
- package/src/lib/app-utils/element-hidden-style.js +48 -0
- package/src/lib/app-utils/element-hidden-style.js.map +1 -0
- package/src/lib/app-utils/element-ui.d.ts +243 -0
- package/src/lib/app-utils/element-ui.js +459 -0
- package/src/lib/app-utils/element-ui.js.map +1 -0
- package/src/lib/app-utils/email-starter-policy.d.ts +160 -0
- package/src/lib/app-utils/email-starter-policy.js +327 -0
- package/src/lib/app-utils/email-starter-policy.js.map +1 -0
- package/src/lib/app-utils/email-topics.d.ts +310 -0
- package/src/lib/app-utils/email-topics.js +336 -0
- package/src/lib/app-utils/email-topics.js.map +1 -0
- package/src/lib/app-utils/enabled-plugins-context.d.ts +100 -0
- package/src/lib/app-utils/enabled-plugins-context.js +113 -0
- package/src/lib/app-utils/enabled-plugins-context.js.map +1 -0
- package/src/lib/app-utils/ensure-canvas-root.d.ts +38 -0
- package/src/lib/app-utils/ensure-canvas-root.js +61 -0
- package/src/lib/app-utils/ensure-canvas-root.js.map +1 -0
- package/src/lib/app-utils/entity-picker-context.d.ts +199 -0
- package/src/lib/app-utils/entity-picker-context.js +93 -0
- package/src/lib/app-utils/entity-picker-context.js.map +1 -0
- package/src/lib/app-utils/error-beacon.d.ts +107 -0
- package/src/lib/app-utils/error-beacon.js +296 -0
- package/src/lib/app-utils/error-beacon.js.map +1 -0
- package/src/lib/app-utils/expand-repeatables.d.ts +172 -0
- package/src/lib/app-utils/expand-repeatables.js +299 -0
- package/src/lib/app-utils/expand-repeatables.js.map +1 -0
- package/src/lib/app-utils/foreign-script.d.ts +82 -0
- package/src/lib/app-utils/foreign-script.js +102 -0
- package/src/lib/app-utils/foreign-script.js.map +1 -0
- package/src/lib/app-utils/form-abuse-ceiling.d.ts +146 -0
- package/src/lib/app-utils/form-abuse-ceiling.js +158 -0
- package/src/lib/app-utils/form-abuse-ceiling.js.map +1 -0
- package/src/lib/app-utils/form-contract.d.ts +198 -0
- package/src/lib/app-utils/form-contract.js +282 -0
- package/src/lib/app-utils/form-contract.js.map +1 -0
- package/src/lib/app-utils/form-dataset-binding.d.ts +50 -0
- package/src/lib/app-utils/form-dataset-binding.js +74 -0
- package/src/lib/app-utils/form-dataset-binding.js.map +1 -0
- package/src/lib/app-utils/forms.d.ts +727 -0
- package/src/lib/app-utils/forms.js +777 -0
- package/src/lib/app-utils/forms.js.map +1 -0
- package/src/lib/app-utils/functions.d.ts +188 -0
- package/src/lib/app-utils/functions.js +529 -0
- package/src/lib/app-utils/functions.js.map +1 -0
- package/src/lib/app-utils/guarded-version-save.d.ts +91 -0
- package/src/lib/app-utils/guarded-version-save.js +131 -0
- package/src/lib/app-utils/guarded-version-save.js.map +1 -0
- package/src/lib/app-utils/health-report.d.ts +1766 -0
- package/src/lib/app-utils/health-report.js +2072 -0
- package/src/lib/app-utils/health-report.js.map +1 -0
- package/src/lib/app-utils/host-naming.d.ts +135 -0
- package/src/lib/app-utils/host-naming.js +188 -0
- package/src/lib/app-utils/host-naming.js.map +1 -0
- package/src/lib/app-utils/host-permissions.d.ts +76 -0
- package/src/lib/app-utils/host-permissions.js +119 -0
- package/src/lib/app-utils/host-permissions.js.map +1 -0
- package/src/lib/app-utils/host-tokens.d.ts +228 -0
- package/src/lib/app-utils/host-tokens.js +304 -0
- package/src/lib/app-utils/host-tokens.js.map +1 -0
- package/src/lib/app-utils/idp-profile.d.ts +83 -0
- package/src/lib/app-utils/idp-profile.js +268 -0
- package/src/lib/app-utils/idp-profile.js.map +1 -0
- package/src/lib/app-utils/image-upload-types.d.ts +49 -0
- package/src/lib/app-utils/image-upload-types.js +86 -0
- package/src/lib/app-utils/image-upload-types.js.map +1 -0
- package/src/lib/app-utils/index.d.ts +18 -0
- package/src/lib/app-utils/index.js +23 -0
- package/src/lib/app-utils/index.js.map +1 -0
- package/src/lib/app-utils/internal-traffic.d.ts +197 -0
- package/src/lib/app-utils/internal-traffic.js +288 -0
- package/src/lib/app-utils/internal-traffic.js.map +1 -0
- package/src/lib/app-utils/lineal-order.d.ts +62 -0
- package/src/lib/app-utils/lineal-order.js +65 -0
- package/src/lib/app-utils/lineal-order.js.map +1 -0
- package/src/lib/app-utils/link-references.d.ts +36 -0
- package/src/lib/app-utils/link-references.js +89 -0
- package/src/lib/app-utils/link-references.js.map +1 -0
- package/src/lib/app-utils/link-target-search-context.d.ts +123 -0
- package/src/lib/app-utils/link-target-search-context.js +221 -0
- package/src/lib/app-utils/link-target-search-context.js.map +1 -0
- package/src/lib/app-utils/list-assignment-policy.d.ts +169 -0
- package/src/lib/app-utils/list-assignment-policy.js +170 -0
- package/src/lib/app-utils/list-assignment-policy.js.map +1 -0
- package/src/lib/app-utils/list-import.d.ts +158 -0
- package/src/lib/app-utils/list-import.js +332 -0
- package/src/lib/app-utils/list-import.js.map +1 -0
- package/src/lib/app-utils/llms-txt.d.ts +104 -0
- package/src/lib/app-utils/llms-txt.js +144 -0
- package/src/lib/app-utils/llms-txt.js.map +1 -0
- package/src/lib/app-utils/local-storage-budget.d.ts +75 -0
- package/src/lib/app-utils/local-storage-budget.js +153 -0
- package/src/lib/app-utils/local-storage-budget.js.map +1 -0
- package/src/lib/app-utils/lockdown.d.ts +698 -0
- package/src/lib/app-utils/lockdown.js +929 -0
- package/src/lib/app-utils/lockdown.js.map +1 -0
- package/src/lib/app-utils/margin-utilization.d.ts +267 -0
- package/src/lib/app-utils/margin-utilization.js +351 -0
- package/src/lib/app-utils/margin-utilization.js.map +1 -0
- package/src/lib/app-utils/markdown-lite.d.ts +297 -0
- package/src/lib/app-utils/markdown-lite.js +705 -0
- package/src/lib/app-utils/markdown-lite.js.map +1 -0
- package/src/lib/app-utils/marketing-consent.d.ts +704 -0
- package/src/lib/app-utils/marketing-consent.js +783 -0
- package/src/lib/app-utils/marketing-consent.js.map +1 -0
- package/src/lib/app-utils/marketplace-listing-visibility.d.ts +120 -0
- package/src/lib/app-utils/marketplace-listing-visibility.js +139 -0
- package/src/lib/app-utils/marketplace-listing-visibility.js.map +1 -0
- package/src/lib/app-utils/marketplace-overrides.d.ts +271 -0
- package/src/lib/app-utils/marketplace-overrides.js +462 -0
- package/src/lib/app-utils/marketplace-overrides.js.map +1 -0
- package/src/lib/app-utils/marketplace-provenance.d.ts +150 -0
- package/src/lib/app-utils/marketplace-provenance.js +136 -0
- package/src/lib/app-utils/marketplace-provenance.js.map +1 -0
- package/src/lib/app-utils/marketplace-theme.d.ts +237 -0
- package/src/lib/app-utils/marketplace-theme.js +525 -0
- package/src/lib/app-utils/marketplace-theme.js.map +1 -0
- package/src/lib/app-utils/marketplace-update-state.d.ts +119 -0
- package/src/lib/app-utils/marketplace-update-state.js +132 -0
- package/src/lib/app-utils/marketplace-update-state.js.map +1 -0
- package/src/lib/app-utils/marketplace-verification.d.ts +95 -0
- package/src/lib/app-utils/marketplace-verification.js +81 -0
- package/src/lib/app-utils/marketplace-verification.js.map +1 -0
- package/src/lib/app-utils/measure-node-map.d.ts +76 -0
- package/src/lib/app-utils/measure-node-map.js +111 -0
- package/src/lib/app-utils/measure-node-map.js.map +1 -0
- package/src/lib/app-utils/media-alt.d.ts +55 -0
- package/src/lib/app-utils/media-alt.js +58 -0
- package/src/lib/app-utils/media-alt.js.map +1 -0
- package/src/lib/app-utils/media-asset-facts.d.ts +125 -0
- package/src/lib/app-utils/media-asset-facts.js +467 -0
- package/src/lib/app-utils/media-asset-facts.js.map +1 -0
- package/src/lib/app-utils/media-cdn-scope.d.ts +65 -0
- package/src/lib/app-utils/media-cdn-scope.js +75 -0
- package/src/lib/app-utils/media-cdn-scope.js.map +1 -0
- package/src/lib/app-utils/media-folders.d.ts +161 -0
- package/src/lib/app-utils/media-folders.js +230 -0
- package/src/lib/app-utils/media-folders.js.map +1 -0
- package/src/lib/app-utils/media-metadata.d.ts +277 -0
- package/src/lib/app-utils/media-metadata.js +388 -0
- package/src/lib/app-utils/media-metadata.js.map +1 -0
- package/src/lib/app-utils/media-picker-context.d.ts +93 -0
- package/src/lib/app-utils/media-picker-context.js +26 -0
- package/src/lib/app-utils/media-picker-context.js.map +1 -0
- package/src/lib/app-utils/media-quarantine.d.ts +247 -0
- package/src/lib/app-utils/media-quarantine.js +323 -0
- package/src/lib/app-utils/media-quarantine.js.map +1 -0
- package/src/lib/app-utils/media-ref.d.ts +661 -0
- package/src/lib/app-utils/media-ref.js +1055 -0
- package/src/lib/app-utils/media-ref.js.map +1 -0
- package/src/lib/app-utils/media-takedown-reach.d.ts +126 -0
- package/src/lib/app-utils/media-takedown-reach.js +143 -0
- package/src/lib/app-utils/media-takedown-reach.js.map +1 -0
- package/src/lib/app-utils/member-email-aliases.d.ts +180 -0
- package/src/lib/app-utils/member-email-aliases.js +217 -0
- package/src/lib/app-utils/member-email-aliases.js.map +1 -0
- package/src/lib/app-utils/merge-node-sx.d.ts +47 -0
- package/src/lib/app-utils/merge-node-sx.js +123 -0
- package/src/lib/app-utils/merge-node-sx.js.map +1 -0
- package/src/lib/app-utils/name-match.d.ts +155 -0
- package/src/lib/app-utils/name-match.js +175 -0
- package/src/lib/app-utils/name-match.js.map +1 -0
- package/src/lib/app-utils/name-search.d.ts +117 -0
- package/src/lib/app-utils/name-search.js +145 -0
- package/src/lib/app-utils/name-search.js.map +1 -0
- package/src/lib/app-utils/node-capabilities.d.ts +85 -0
- package/src/lib/app-utils/node-capabilities.js +88 -0
- package/src/lib/app-utils/node-capabilities.js.map +1 -0
- package/src/lib/app-utils/node-definition-sanitizer.d.ts +164 -0
- package/src/lib/app-utils/node-definition-sanitizer.js +402 -0
- package/src/lib/app-utils/node-definition-sanitizer.js.map +1 -0
- package/src/lib/app-utils/node-identity.d.ts +47 -0
- package/src/lib/app-utils/node-identity.js +50 -0
- package/src/lib/app-utils/node-identity.js.map +1 -0
- package/src/lib/app-utils/node-interactions.d.ts +102 -0
- package/src/lib/app-utils/node-interactions.js +192 -0
- package/src/lib/app-utils/node-interactions.js.map +1 -0
- package/src/lib/app-utils/node-url-policy.d.ts +54 -0
- package/src/lib/app-utils/node-url-policy.js +72 -0
- package/src/lib/app-utils/node-url-policy.js.map +1 -0
- package/src/lib/app-utils/notifications.d.ts +71 -0
- package/src/lib/app-utils/notifications.js +101 -0
- package/src/lib/app-utils/notifications.js.map +1 -0
- package/src/lib/app-utils/onboarding-deep-link.d.ts +120 -0
- package/src/lib/app-utils/onboarding-deep-link.js +142 -0
- package/src/lib/app-utils/onboarding-deep-link.js.map +1 -0
- package/src/lib/app-utils/operator-identity.d.ts +207 -0
- package/src/lib/app-utils/operator-identity.js +186 -0
- package/src/lib/app-utils/operator-identity.js.map +1 -0
- package/src/lib/app-utils/org-billing-doc.d.ts +231 -0
- package/src/lib/app-utils/org-billing-doc.js +238 -0
- package/src/lib/app-utils/org-billing-doc.js.map +1 -0
- package/src/lib/app-utils/org-override-reason.d.ts +100 -0
- package/src/lib/app-utils/org-override-reason.js +116 -0
- package/src/lib/app-utils/org-override-reason.js.map +1 -0
- package/src/lib/app-utils/org-permissions.d.ts +194 -0
- package/src/lib/app-utils/org-permissions.js +357 -0
- package/src/lib/app-utils/org-permissions.js.map +1 -0
- package/src/lib/app-utils/org-roles.d.ts +72 -0
- package/src/lib/app-utils/org-roles.js +131 -0
- package/src/lib/app-utils/org-roles.js.map +1 -0
- package/src/lib/app-utils/organizations.d.ts +407 -0
- package/src/lib/app-utils/organizations.js +511 -0
- package/src/lib/app-utils/organizations.js.map +1 -0
- package/src/lib/app-utils/page-header-actions-context.d.ts +83 -0
- package/src/lib/app-utils/page-header-actions-context.js +58 -0
- package/src/lib/app-utils/page-header-actions-context.js.map +1 -0
- package/src/lib/app-utils/page-header-record-context.d.ts +80 -0
- package/src/lib/app-utils/page-header-record-context.js +64 -0
- package/src/lib/app-utils/page-header-record-context.js.map +1 -0
- package/src/lib/app-utils/page-markdown.d.ts +103 -0
- package/src/lib/app-utils/page-markdown.js +385 -0
- package/src/lib/app-utils/page-markdown.js.map +1 -0
- package/src/lib/app-utils/paid-media-source.d.ts +90 -0
- package/src/lib/app-utils/paid-media-source.js +184 -0
- package/src/lib/app-utils/paid-media-source.js.map +1 -0
- package/src/lib/app-utils/palette-sx.d.ts +34 -0
- package/src/lib/app-utils/palette-sx.js +150 -0
- package/src/lib/app-utils/palette-sx.js.map +1 -0
- package/src/lib/app-utils/password-policy.d.ts +47 -0
- package/src/lib/app-utils/password-policy.js +46 -0
- package/src/lib/app-utils/password-policy.js.map +1 -0
- package/src/lib/app-utils/payments-configured.d.ts +84 -0
- package/src/lib/app-utils/payments-configured.js +88 -0
- package/src/lib/app-utils/payments-configured.js.map +1 -0
- package/src/lib/app-utils/person-erasure.d.ts +126 -0
- package/src/lib/app-utils/person-erasure.js +121 -0
- package/src/lib/app-utils/person-erasure.js.map +1 -0
- package/src/lib/app-utils/person-key.d.ts +32 -0
- package/src/lib/app-utils/person-key.js +62 -0
- package/src/lib/app-utils/person-key.js.map +1 -0
- package/src/lib/app-utils/plan-entitlements.d.ts +2756 -0
- package/src/lib/app-utils/plan-entitlements.js +4085 -0
- package/src/lib/app-utils/plan-entitlements.js.map +1 -0
- package/src/lib/app-utils/platform-ad-conversions.d.ts +122 -0
- package/src/lib/app-utils/platform-ad-conversions.js +174 -0
- package/src/lib/app-utils/platform-ad-conversions.js.map +1 -0
- package/src/lib/app-utils/platform-advertising-tags.d.ts +139 -0
- package/src/lib/app-utils/platform-advertising-tags.js +203 -0
- package/src/lib/app-utils/platform-advertising-tags.js.map +1 -0
- package/src/lib/app-utils/platform-brand.d.ts +151 -0
- package/src/lib/app-utils/platform-brand.js +175 -0
- package/src/lib/app-utils/platform-brand.js.map +1 -0
- package/src/lib/app-utils/platform-consent-default.d.ts +142 -0
- package/src/lib/app-utils/platform-consent-default.js +295 -0
- package/src/lib/app-utils/platform-consent-default.js.map +1 -0
- package/src/lib/app-utils/platform-marketing-consent.d.ts +151 -0
- package/src/lib/app-utils/platform-marketing-consent.js +182 -0
- package/src/lib/app-utils/platform-marketing-consent.js.map +1 -0
- package/src/lib/app-utils/platform-marketing-host.d.ts +33 -0
- package/src/lib/app-utils/platform-marketing-host.js +97 -0
- package/src/lib/app-utils/platform-marketing-host.js.map +1 -0
- package/src/lib/app-utils/platform-visitor-consent.d.ts +252 -0
- package/src/lib/app-utils/platform-visitor-consent.js +533 -0
- package/src/lib/app-utils/platform-visitor-consent.js.map +1 -0
- package/src/lib/app-utils/plugin-api-cross-origin.d.ts +61 -0
- package/src/lib/app-utils/plugin-api-cross-origin.js +202 -0
- package/src/lib/app-utils/plugin-api-cross-origin.js.map +1 -0
- package/src/lib/app-utils/plugin-api-rate-limit.d.ts +192 -0
- package/src/lib/app-utils/plugin-api-rate-limit.js +270 -0
- package/src/lib/app-utils/plugin-api-rate-limit.js.map +1 -0
- package/src/lib/app-utils/plugin-artifact-path.d.ts +32 -0
- package/src/lib/app-utils/plugin-artifact-path.js +33 -0
- package/src/lib/app-utils/plugin-artifact-path.js.map +1 -0
- package/src/lib/app-utils/plugin-bundle-checks.d.ts +148 -0
- package/src/lib/app-utils/plugin-bundle-checks.js +989 -0
- package/src/lib/app-utils/plugin-bundle-checks.js.map +1 -0
- package/src/lib/app-utils/plugin-manifest.d.ts +516 -0
- package/src/lib/app-utils/plugin-manifest.js +687 -0
- package/src/lib/app-utils/plugin-manifest.js.map +1 -0
- package/src/lib/app-utils/published-legal-pages.d.ts +71 -0
- package/src/lib/app-utils/published-legal-pages.js +90 -0
- package/src/lib/app-utils/published-legal-pages.js.map +1 -0
- package/src/lib/app-utils/publisher-agreement.d.ts +254 -0
- package/src/lib/app-utils/publisher-agreement.js +274 -0
- package/src/lib/app-utils/publisher-agreement.js.map +1 -0
- package/src/lib/app-utils/publisher-attestation.d.ts +99 -0
- package/src/lib/app-utils/publisher-attestation.js +158 -0
- package/src/lib/app-utils/publisher-attestation.js.map +1 -0
- package/src/lib/app-utils/recipient-email-render.d.ts +216 -0
- package/src/lib/app-utils/recipient-email-render.js +221 -0
- package/src/lib/app-utils/recipient-email-render.js.map +1 -0
- package/src/lib/app-utils/redispatch-caught-error.d.ts +38 -0
- package/src/lib/app-utils/redispatch-caught-error.js +46 -0
- package/src/lib/app-utils/redispatch-caught-error.js.map +1 -0
- package/src/lib/app-utils/registering-plugin.d.ts +19 -0
- package/src/lib/app-utils/registering-plugin.js +38 -0
- package/src/lib/app-utils/registering-plugin.js.map +1 -0
- package/src/lib/app-utils/release-flags.d.ts +283 -0
- package/src/lib/app-utils/release-flags.js +518 -0
- package/src/lib/app-utils/release-flags.js.map +1 -0
- package/src/lib/app-utils/repair-canvas-nodes.d.ts +130 -0
- package/src/lib/app-utils/repair-canvas-nodes.js +298 -0
- package/src/lib/app-utils/repair-canvas-nodes.js.map +1 -0
- package/src/lib/app-utils/repeat-infringer.d.ts +166 -0
- package/src/lib/app-utils/repeat-infringer.js +188 -0
- package/src/lib/app-utils/repeat-infringer.js.map +1 -0
- package/src/lib/app-utils/repeat-sources.d.ts +115 -0
- package/src/lib/app-utils/repeat-sources.js +86 -0
- package/src/lib/app-utils/repeat-sources.js.map +1 -0
- package/src/lib/app-utils/request-geo.d.ts +114 -0
- package/src/lib/app-utils/request-geo.js +247 -0
- package/src/lib/app-utils/request-geo.js.map +1 -0
- package/src/lib/app-utils/request-ip.d.ts +213 -0
- package/src/lib/app-utils/request-ip.js +344 -0
- package/src/lib/app-utils/request-ip.js.map +1 -0
- package/src/lib/app-utils/resolve-named-tokens.d.ts +26 -0
- package/src/lib/app-utils/resolve-named-tokens.js +59 -0
- package/src/lib/app-utils/resolve-named-tokens.js.map +1 -0
- package/src/lib/app-utils/responsive-typography-sx.d.ts +77 -0
- package/src/lib/app-utils/responsive-typography-sx.js +122 -0
- package/src/lib/app-utils/responsive-typography-sx.js.map +1 -0
- package/src/lib/app-utils/reusable-component-keys.d.ts +135 -0
- package/src/lib/app-utils/reusable-component-keys.js +140 -0
- package/src/lib/app-utils/reusable-component-keys.js.map +1 -0
- package/src/lib/app-utils/reusable-prop-values.d.ts +199 -0
- package/src/lib/app-utils/reusable-prop-values.js +494 -0
- package/src/lib/app-utils/reusable-prop-values.js.map +1 -0
- package/src/lib/app-utils/safe-json-ld.d.ts +29 -0
- package/src/lib/app-utils/safe-json-ld.js +37 -0
- package/src/lib/app-utils/safe-json-ld.js.map +1 -0
- package/src/lib/app-utils/sanitize-svg.d.ts +55 -0
- package/src/lib/app-utils/sanitize-svg.js +460 -0
- package/src/lib/app-utils/sanitize-svg.js.map +1 -0
- package/src/lib/app-utils/scheme-sx.d.ts +84 -0
- package/src/lib/app-utils/scheme-sx.js +148 -0
- package/src/lib/app-utils/scheme-sx.js.map +1 -0
- package/src/lib/app-utils/scope-tokens.d.ts +249 -0
- package/src/lib/app-utils/scope-tokens.js +331 -0
- package/src/lib/app-utils/scope-tokens.js.map +1 -0
- package/src/lib/app-utils/screen-link-context-value.d.ts +57 -0
- package/src/lib/app-utils/screen-link-context-value.js +43 -0
- package/src/lib/app-utils/screen-link-context-value.js.map +1 -0
- package/src/lib/app-utils/screen-link-context.d.ts +185 -0
- package/src/lib/app-utils/screen-link-context.js +304 -0
- package/src/lib/app-utils/screen-link-context.js.map +1 -0
- package/src/lib/app-utils/screen-link-value.d.ts +269 -0
- package/src/lib/app-utils/screen-link-value.js +384 -0
- package/src/lib/app-utils/screen-link-value.js.map +1 -0
- package/src/lib/app-utils/screen-route.d.ts +669 -0
- package/src/lib/app-utils/screen-route.js +751 -0
- package/src/lib/app-utils/screen-route.js.map +1 -0
- package/src/lib/app-utils/screen-seo-fields.d.ts +37 -0
- package/src/lib/app-utils/screen-seo-fields.js +42 -0
- package/src/lib/app-utils/screen-seo-fields.js.map +1 -0
- package/src/lib/app-utils/search-indexing.d.ts +162 -0
- package/src/lib/app-utils/search-indexing.js +207 -0
- package/src/lib/app-utils/search-indexing.js.map +1 -0
- package/src/lib/app-utils/seo-listing-fields.d.ts +70 -0
- package/src/lib/app-utils/seo-listing-fields.js +75 -0
- package/src/lib/app-utils/seo-listing-fields.js.map +1 -0
- package/src/lib/app-utils/seo-locale.d.ts +119 -0
- package/src/lib/app-utils/seo-locale.js +133 -0
- package/src/lib/app-utils/seo-locale.js.map +1 -0
- package/src/lib/app-utils/seo-title-variables.d.ts +149 -0
- package/src/lib/app-utils/seo-title-variables.js +190 -0
- package/src/lib/app-utils/seo-title-variables.js.map +1 -0
- package/src/lib/app-utils/seo-title.d.ts +70 -0
- package/src/lib/app-utils/seo-title.js +117 -0
- package/src/lib/app-utils/seo-title.js.map +1 -0
- package/src/lib/app-utils/server.d.ts +174 -0
- package/src/lib/app-utils/server.js +314 -0
- package/src/lib/app-utils/server.js.map +1 -0
- package/src/lib/app-utils/site-context.d.ts +106 -0
- package/src/lib/app-utils/site-context.js +100 -0
- package/src/lib/app-utils/site-context.js.map +1 -0
- package/src/lib/app-utils/sitemap.d.ts +117 -0
- package/src/lib/app-utils/sitemap.js +183 -0
- package/src/lib/app-utils/sitemap.js.map +1 -0
- package/src/lib/app-utils/social-image.d.ts +112 -0
- package/src/lib/app-utils/social-image.js +191 -0
- package/src/lib/app-utils/social-image.js.map +1 -0
- package/src/lib/app-utils/starter-templates.d.ts +99 -0
- package/src/lib/app-utils/starter-templates.js +579 -0
- package/src/lib/app-utils/starter-templates.js.map +1 -0
- package/src/lib/app-utils/stored-nodes.d.ts +120 -0
- package/src/lib/app-utils/stored-nodes.js +174 -0
- package/src/lib/app-utils/stored-nodes.js.map +1 -0
- package/src/lib/app-utils/strip-undefined.d.ts +59 -0
- package/src/lib/app-utils/strip-undefined.js +95 -0
- package/src/lib/app-utils/strip-undefined.js.map +1 -0
- package/src/lib/app-utils/stripe-deployment-mode.d.ts +47 -0
- package/src/lib/app-utils/stripe-deployment-mode.js +70 -0
- package/src/lib/app-utils/stripe-deployment-mode.js.map +1 -0
- package/src/lib/app-utils/support-tiers.d.ts +108 -0
- package/src/lib/app-utils/support-tiers.js +201 -0
- package/src/lib/app-utils/support-tiers.js.map +1 -0
- package/src/lib/app-utils/timezone-geo-hint.d.ts +36 -0
- package/src/lib/app-utils/timezone-geo-hint.js +180 -0
- package/src/lib/app-utils/timezone-geo-hint.js.map +1 -0
- package/src/lib/app-utils/upload-cors.d.ts +155 -0
- package/src/lib/app-utils/upload-cors.js +254 -0
- package/src/lib/app-utils/upload-cors.js.map +1 -0
- package/src/lib/app-utils/upload-inspection.d.ts +159 -0
- package/src/lib/app-utils/upload-inspection.js +539 -0
- package/src/lib/app-utils/upload-inspection.js.map +1 -0
- package/src/lib/app-utils/url-slug.d.ts +40 -0
- package/src/lib/app-utils/url-slug.js +42 -0
- package/src/lib/app-utils/url-slug.js.map +1 -0
- package/src/lib/app-utils/usage-budget.d.ts +429 -0
- package/src/lib/app-utils/usage-budget.js +421 -0
- package/src/lib/app-utils/usage-budget.js.map +1 -0
- package/src/lib/app-utils/variables.d.ts +96 -0
- package/src/lib/app-utils/variables.js +233 -0
- package/src/lib/app-utils/variables.js.map +1 -0
- package/src/lib/app-utils/video-asset-facts.d.ts +61 -0
- package/src/lib/app-utils/video-asset-facts.js +70 -0
- package/src/lib/app-utils/video-asset-facts.js.map +1 -0
- package/src/lib/app-utils/video-object.d.ts +89 -0
- package/src/lib/app-utils/video-object.js +245 -0
- package/src/lib/app-utils/video-object.js.map +1 -0
- package/src/lib/app-utils/visitor-consent.d.ts +757 -0
- package/src/lib/app-utils/visitor-consent.js +981 -0
- package/src/lib/app-utils/visitor-consent.js.map +1 -0
- package/src/lib/app-utils/visitor-record-ceiling.d.ts +223 -0
- package/src/lib/app-utils/visitor-record-ceiling.js +215 -0
- package/src/lib/app-utils/visitor-record-ceiling.js.map +1 -0
- package/src/lib/app-utils/web-vitals-rum.d.ts +53 -0
- package/src/lib/app-utils/web-vitals-rum.js +278 -0
- package/src/lib/app-utils/web-vitals-rum.js.map +1 -0
- package/src/lib/app-utils/webhook-delivery.d.ts +324 -0
- package/src/lib/app-utils/webhook-delivery.js +413 -0
- package/src/lib/app-utils/webhook-delivery.js.map +1 -0
- package/src/lib/app-utils/where-used.d.ts +57 -0
- package/src/lib/app-utils/where-used.js +59 -0
- package/src/lib/app-utils/where-used.js.map +1 -0
- package/src/lib/app-utils/wistia-embed.d.ts +86 -0
- package/src/lib/app-utils/wistia-embed.js +119 -0
- package/src/lib/app-utils/wistia-embed.js.map +1 -0
- package/src/lib/app-utils/workflows.d.ts +136 -0
- package/src/lib/app-utils/workflows.js +346 -0
- package/src/lib/app-utils/workflows.js.map +1 -0
- package/src/lib/canvas-manager/canvas-manager-tree.d.ts +109 -0
- package/src/lib/canvas-manager/canvas-manager-tree.js +139 -0
- package/src/lib/canvas-manager/canvas-manager-tree.js.map +1 -0
- package/src/lib/canvas-manager/canvas-manager.d.ts +549 -0
- package/src/lib/canvas-manager/canvas-manager.js +1311 -0
- package/src/lib/canvas-manager/canvas-manager.js.map +1 -0
- package/src/lib/canvas-manager/index.d.ts +20 -0
- package/src/lib/canvas-manager/index.js +21 -0
- package/src/lib/canvas-manager/index.js.map +1 -0
- package/src/lib/canvas-manager/stores/index.d.ts +17 -0
- package/src/lib/canvas-manager/stores/index.js +18 -0
- package/src/lib/canvas-manager/stores/index.js.map +1 -0
- package/src/lib/canvas-manager/stores/node.store.d.ts +30 -0
- package/src/lib/canvas-manager/stores/node.store.js +45 -0
- package/src/lib/canvas-manager/stores/node.store.js.map +1 -0
- package/src/lib/components-manager/components-manager.d.ts +56 -0
- package/src/lib/components-manager/components-manager.js +191 -0
- package/src/lib/components-manager/components-manager.js.map +1 -0
- package/src/lib/components-manager/index.d.ts +18 -0
- package/src/lib/components-manager/index.js +19 -0
- package/src/lib/components-manager/index.js.map +1 -0
- package/src/lib/emit-manager/emit-manager.d.ts +56 -0
- package/src/lib/emit-manager/emit-manager.js +60 -0
- package/src/lib/emit-manager/emit-manager.js.map +1 -0
- package/src/lib/emit-manager/index.d.ts +18 -0
- package/src/lib/emit-manager/index.js +19 -0
- package/src/lib/emit-manager/index.js.map +1 -0
- package/src/lib/foundation/constants/_internal.d.ts +18 -0
- package/src/lib/foundation/constants/_internal.js +62 -0
- package/src/lib/foundation/constants/_internal.js.map +1 -0
- package/src/lib/foundation/constants/app.d.ts +23 -0
- package/src/lib/foundation/constants/app.js +25 -0
- package/src/lib/foundation/constants/app.js.map +1 -0
- package/src/lib/foundation/constants/canvas.d.ts +18 -0
- package/src/lib/foundation/constants/canvas.js +18 -0
- package/src/lib/foundation/constants/canvas.js.map +1 -0
- package/src/lib/foundation/constants/components.d.ts +54 -0
- package/src/lib/foundation/constants/components.js +61 -0
- package/src/lib/foundation/constants/components.js.map +1 -0
- package/src/lib/foundation/constants/shared.d.ts +50 -0
- package/src/lib/foundation/constants/shared.js +49 -0
- package/src/lib/foundation/constants/shared.js.map +1 -0
- package/src/lib/foundation/constants/symbol.d.ts +63 -0
- package/src/lib/foundation/constants/symbol.js +75 -0
- package/src/lib/foundation/constants/symbol.js.map +1 -0
- package/src/lib/foundation/definitions/components.types.d.ts +372 -0
- package/src/lib/foundation/definitions/components.types.js +180 -0
- package/src/lib/foundation/definitions/components.types.js.map +1 -0
- package/src/lib/foundation/definitions/contact.types.d.ts +73 -0
- package/src/lib/foundation/definitions/contact.types.js +107 -0
- package/src/lib/foundation/definitions/contact.types.js.map +1 -0
- package/src/lib/foundation/definitions/host-content-collections.d.ts +137 -0
- package/src/lib/foundation/definitions/host-content-collections.js +219 -0
- package/src/lib/foundation/definitions/host-content-collections.js.map +1 -0
- package/src/lib/foundation/definitions/org-billing.types.d.ts +1361 -0
- package/src/lib/foundation/definitions/org-billing.types.js +77 -0
- package/src/lib/foundation/definitions/org-billing.types.js.map +1 -0
- package/src/lib/foundation/definitions/organization.types.d.ts +307 -0
- package/src/lib/foundation/definitions/organization.types.js +42 -0
- package/src/lib/foundation/definitions/organization.types.js.map +1 -0
- package/src/lib/foundation/definitions/platform.types.d.ts +1326 -0
- package/src/lib/foundation/definitions/platform.types.js +124 -0
- package/src/lib/foundation/definitions/platform.types.js.map +1 -0
- package/src/lib/foundation/definitions/property-kinds.d.ts +189 -0
- package/src/lib/foundation/definitions/property-kinds.js +565 -0
- package/src/lib/foundation/definitions/property-kinds.js.map +1 -0
- package/src/lib/foundation/definitions/shared.d.ts +23 -0
- package/src/lib/foundation/definitions/shared.js +18 -0
- package/src/lib/foundation/definitions/shared.js.map +1 -0
- package/src/lib/foundation/definitions/write-deny-coverage.util.d.ts +249 -0
- package/src/lib/foundation/definitions/write-deny-coverage.util.js +499 -0
- package/src/lib/foundation/definitions/write-deny-coverage.util.js.map +1 -0
- package/src/lib/foundation/index.d.ts +32 -0
- package/src/lib/foundation/index.js +67 -0
- package/src/lib/foundation/index.js.map +1 -0
- package/src/lib/lifecycle.d.ts +24 -0
- package/src/lib/lifecycle.js +39 -0
- package/src/lib/lifecycle.js.map +1 -0
- package/src/lib/mst/common.d.ts +17 -0
- package/src/lib/mst/common.js +23 -0
- package/src/lib/mst/common.js.map +1 -0
- package/src/lib/mst/index.d.ts +19 -0
- package/src/lib/mst/index.js +20 -0
- package/src/lib/mst/index.js.map +1 -0
- package/src/lib/mst/json.d.ts +22 -0
- package/src/lib/mst/json.js +23 -0
- package/src/lib/mst/json.js.map +1 -0
- package/src/lib/mst/types.d.ts +20 -0
- package/src/lib/mst/types.js +18 -0
- package/src/lib/mst/types.js.map +1 -0
- package/src/lib/plugin-manager/billing-webhook-hooks.d.ts +77 -0
- package/src/lib/plugin-manager/billing-webhook-hooks.js +55 -0
- package/src/lib/plugin-manager/billing-webhook-hooks.js.map +1 -0
- package/src/lib/plugin-manager/commerce-zone-props.d.ts +172 -0
- package/src/lib/plugin-manager/commerce-zone-props.js +31 -0
- package/src/lib/plugin-manager/commerce-zone-props.js.map +1 -0
- package/src/lib/plugin-manager/custom-fields.d.ts +60 -0
- package/src/lib/plugin-manager/custom-fields.js +39 -0
- package/src/lib/plugin-manager/custom-fields.js.map +1 -0
- package/src/lib/plugin-manager/editor-sessions.d.ts +109 -0
- package/src/lib/plugin-manager/editor-sessions.js +137 -0
- package/src/lib/plugin-manager/editor-sessions.js.map +1 -0
- package/src/lib/plugin-manager/enabled-plugins.d.ts +438 -0
- package/src/lib/plugin-manager/enabled-plugins.js +403 -0
- package/src/lib/plugin-manager/enabled-plugins.js.map +1 -0
- package/src/lib/plugin-manager/feature-plugins.d.ts +1314 -0
- package/src/lib/plugin-manager/feature-plugins.js +609 -0
- package/src/lib/plugin-manager/feature-plugins.js.map +1 -0
- package/src/lib/plugin-manager/first-party-plugins.generated.d.ts +11 -0
- package/src/lib/plugin-manager/first-party-plugins.generated.js +149 -0
- package/src/lib/plugin-manager/first-party-plugins.generated.js.map +1 -0
- package/src/lib/plugin-manager/index.d.ts +42 -0
- package/src/lib/plugin-manager/index.js +46 -0
- package/src/lib/plugin-manager/index.js.map +1 -0
- package/src/lib/plugin-manager/install-presets.d.ts +93 -0
- package/src/lib/plugin-manager/install-presets.js +86 -0
- package/src/lib/plugin-manager/install-presets.js.map +1 -0
- package/src/lib/plugin-manager/media-delivery-provider.d.ts +124 -0
- package/src/lib/plugin-manager/media-delivery-provider.js +53 -0
- package/src/lib/plugin-manager/media-delivery-provider.js.map +1 -0
- package/src/lib/plugin-manager/order-fulfilment.d.ts +142 -0
- package/src/lib/plugin-manager/order-fulfilment.js +104 -0
- package/src/lib/plugin-manager/order-fulfilment.js.map +1 -0
- package/src/lib/plugin-manager/plugin-activity-actions.d.ts +122 -0
- package/src/lib/plugin-manager/plugin-activity-actions.js +140 -0
- package/src/lib/plugin-manager/plugin-activity-actions.js.map +1 -0
- package/src/lib/plugin-manager/plugin-bridge.d.ts +98 -0
- package/src/lib/plugin-manager/plugin-bridge.js +154 -0
- package/src/lib/plugin-manager/plugin-bridge.js.map +1 -0
- package/src/lib/plugin-manager/plugin-config.d.ts +148 -0
- package/src/lib/plugin-manager/plugin-config.js +228 -0
- package/src/lib/plugin-manager/plugin-config.js.map +1 -0
- package/src/lib/plugin-manager/plugin-console-crons.d.ts +139 -0
- package/src/lib/plugin-manager/plugin-console-crons.js +177 -0
- package/src/lib/plugin-manager/plugin-console-crons.js.map +1 -0
- package/src/lib/plugin-manager/plugin-contact-capture.d.ts +220 -0
- package/src/lib/plugin-manager/plugin-contact-capture.js +89 -0
- package/src/lib/plugin-manager/plugin-contact-capture.js.map +1 -0
- package/src/lib/plugin-manager/plugin-contributions.d.ts +244 -0
- package/src/lib/plugin-manager/plugin-contributions.js +283 -0
- package/src/lib/plugin-manager/plugin-contributions.js.map +1 -0
- package/src/lib/plugin-manager/plugin-entitlement-keys.d.ts +169 -0
- package/src/lib/plugin-manager/plugin-entitlement-keys.js +84 -0
- package/src/lib/plugin-manager/plugin-entitlement-keys.js.map +1 -0
- package/src/lib/plugin-manager/plugin-entitlements.d.ts +181 -0
- package/src/lib/plugin-manager/plugin-entitlements.js +188 -0
- package/src/lib/plugin-manager/plugin-entitlements.js.map +1 -0
- package/src/lib/plugin-manager/plugin-events.d.ts +145 -0
- package/src/lib/plugin-manager/plugin-events.js +79 -0
- package/src/lib/plugin-manager/plugin-events.js.map +1 -0
- package/src/lib/plugin-manager/plugin-figures.d.ts +251 -0
- package/src/lib/plugin-manager/plugin-figures.js +252 -0
- package/src/lib/plugin-manager/plugin-figures.js.map +1 -0
- package/src/lib/plugin-manager/plugin-host-collections.d.ts +146 -0
- package/src/lib/plugin-manager/plugin-host-collections.js +116 -0
- package/src/lib/plugin-manager/plugin-host-collections.js.map +1 -0
- package/src/lib/plugin-manager/plugin-jobs.d.ts +130 -0
- package/src/lib/plugin-manager/plugin-jobs.js +182 -0
- package/src/lib/plugin-manager/plugin-jobs.js.map +1 -0
- package/src/lib/plugin-manager/plugin-loader.d.ts +86 -0
- package/src/lib/plugin-manager/plugin-loader.js +223 -0
- package/src/lib/plugin-manager/plugin-loader.js.map +1 -0
- package/src/lib/plugin-manager/plugin-manager.d.ts +95 -0
- package/src/lib/plugin-manager/plugin-manager.js +343 -0
- package/src/lib/plugin-manager/plugin-manager.js.map +1 -0
- package/src/lib/plugin-manager/plugin-metered-lines.d.ts +97 -0
- package/src/lib/plugin-manager/plugin-metered-lines.js +123 -0
- package/src/lib/plugin-manager/plugin-metered-lines.js.map +1 -0
- package/src/lib/plugin-manager/plugin-org-erasure.d.ts +52 -0
- package/src/lib/plugin-manager/plugin-org-erasure.js +100 -0
- package/src/lib/plugin-manager/plugin-org-erasure.js.map +1 -0
- package/src/lib/plugin-manager/plugin-permissions.d.ts +69 -0
- package/src/lib/plugin-manager/plugin-permissions.js +77 -0
- package/src/lib/plugin-manager/plugin-permissions.js.map +1 -0
- package/src/lib/plugin-manager/plugin-person-erasure.d.ts +58 -0
- package/src/lib/plugin-manager/plugin-person-erasure.js +109 -0
- package/src/lib/plugin-manager/plugin-person-erasure.js.map +1 -0
- package/src/lib/plugin-manager/plugin-record-cards.d.ts +99 -0
- package/src/lib/plugin-manager/plugin-record-cards.js +59 -0
- package/src/lib/plugin-manager/plugin-record-cards.js.map +1 -0
- package/src/lib/plugin-manager/plugin-record-facts.d.ts +111 -0
- package/src/lib/plugin-manager/plugin-record-facts.js +51 -0
- package/src/lib/plugin-manager/plugin-record-facts.js.map +1 -0
- package/src/lib/plugin-manager/plugin-record-routes.d.ts +129 -0
- package/src/lib/plugin-manager/plugin-record-routes.js +93 -0
- package/src/lib/plugin-manager/plugin-record-routes.js.map +1 -0
- package/src/lib/plugin-manager/plugin-record-timeline.d.ts +147 -0
- package/src/lib/plugin-manager/plugin-record-timeline.js +39 -0
- package/src/lib/plugin-manager/plugin-record-timeline.js.map +1 -0
- package/src/lib/plugin-manager/plugin-resource-drafts.d.ts +137 -0
- package/src/lib/plugin-manager/plugin-resource-drafts.js +51 -0
- package/src/lib/plugin-manager/plugin-resource-drafts.js.map +1 -0
- package/src/lib/plugin-manager/plugin-services.d.ts +94 -0
- package/src/lib/plugin-manager/plugin-services.js +153 -0
- package/src/lib/plugin-manager/plugin-services.js.map +1 -0
- package/src/lib/plugin-manager/plugin-styles-ui.d.ts +71 -0
- package/src/lib/plugin-manager/plugin-styles-ui.js +80 -0
- package/src/lib/plugin-manager/plugin-styles-ui.js.map +1 -0
- package/src/lib/plugin-manager/plugin-styles.d.ts +176 -0
- package/src/lib/plugin-manager/plugin-styles.js +186 -0
- package/src/lib/plugin-manager/plugin-styles.js.map +1 -0
- package/src/lib/plugin-manager/plugin-subprocessors.d.ts +135 -0
- package/src/lib/plugin-manager/plugin-subprocessors.js +129 -0
- package/src/lib/plugin-manager/plugin-subprocessors.js.map +1 -0
- package/src/lib/plugin-manager/plugin-tax-profile.d.ts +84 -0
- package/src/lib/plugin-manager/plugin-tax-profile.js +39 -0
- package/src/lib/plugin-manager/plugin-tax-profile.js.map +1 -0
- package/src/lib/plugin-manager/plugin-user-erasure.d.ts +53 -0
- package/src/lib/plugin-manager/plugin-user-erasure.js +84 -0
- package/src/lib/plugin-manager/plugin-user-erasure.js.map +1 -0
- package/src/lib/plugin-manager/plugin-zones.d.ts +121 -0
- package/src/lib/plugin-manager/plugin-zones.js +74 -0
- package/src/lib/plugin-manager/plugin-zones.js.map +1 -0
- package/src/lib/plugin-manager/realm-plugins.d.ts +112 -0
- package/src/lib/plugin-manager/realm-plugins.js +196 -0
- package/src/lib/plugin-manager/realm-plugins.js.map +1 -0
- package/src/lib/plugin-manager/realm-server.d.ts +54 -0
- package/src/lib/plugin-manager/realm-server.js +88 -0
- package/src/lib/plugin-manager/realm-server.js.map +1 -0
- package/src/lib/plugin-manager/record-zone-props.d.ts +126 -0
- package/src/lib/plugin-manager/record-zone-props.js +31 -0
- package/src/lib/plugin-manager/record-zone-props.js.map +1 -0
- package/src/lib/plugin-manager/site-page-hooks.d.ts +102 -0
- package/src/lib/plugin-manager/site-page-hooks.js +114 -0
- package/src/lib/plugin-manager/site-page-hooks.js.map +1 -0
- package/src/lib/plugin-manager/site-runtime.d.ts +57 -0
- package/src/lib/plugin-manager/site-runtime.js +25 -0
- package/src/lib/plugin-manager/site-runtime.js.map +1 -0
- package/src/lib/plugin-manager/usage-alert-contributors.d.ts +115 -0
- package/src/lib/plugin-manager/usage-alert-contributors.js +106 -0
- package/src/lib/plugin-manager/usage-alert-contributors.js.map +1 -0
- package/src/lib/types/ast.d.ts +199 -0
- package/src/lib/types/ast.js +20 -0
- package/src/lib/types/ast.js.map +1 -0
- package/src/lib/types/index.d.ts +20 -0
- package/src/lib/types/index.js +21 -0
- package/src/lib/types/index.js.map +1 -0
- package/src/lib/types/nodes.d.ts +608 -0
- package/src/lib/types/nodes.js +28 -0
- package/src/lib/types/nodes.js.map +1 -0
- package/src/lib/types/routing.d.ts +17 -0
- package/src/lib/types/routing.js +18 -0
- package/src/lib/types/routing.js.map +1 -0
- package/src/lib/types/screen.d.ts +23 -0
- package/src/lib/types/screen.js +18 -0
- package/src/lib/types/screen.js.map +1 -0
- package/src/lib/utils.d.ts +25 -0
- package/src/lib/utils.js +42 -0
- package/src/lib/utils.js.map +1 -0
- package/src/server.d.ts +37 -0
- package/src/server.js +55 -0
- package/src/server.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../libs/aglyn/src/lib/app-utils/element-animation.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Element animation vocabulary (AGL-2486) — the names the renderer, the\n * besigner attributes panel and the tenant's stylesheet all agree on.\n *\n * ## Why there is no animation runtime here\n *\n * Published pages ship no animation library, and that is the design, not a\n * phase one. Motion's smallest useful React surface (`LazyMotion` +\n * `domAnimation` + `m`) is ~17kB gzipped and the full `motion` import ~34kB —\n * against the 87,646 B gzipped that came OFF the published page the same week\n * this landed. What a site builder's authors actually reach for is entrance\n * and hover emphasis: fade, slide, zoom, played on load, on scroll-in or on\n * hover. Every one of those is `@keyframes` plus `transition`, which the\n * compositor runs off the main thread — including during hydration, which is\n * exactly when an entrance animation plays and exactly when a JS runtime is\n * least able to keep up. Spring physics, FLIP/layout animation and\n * gesture-driven interpolation are what a runtime would buy, and none of them\n * are authorable from a preset dropdown by the audience this is for.\n *\n * The single exception is the scroll trigger, which needs an\n * `IntersectionObserver`. That is ~700 bytes of inline script shipped in the\n * SSR HTML by `apps/tenant`, only on pages that actually carry a\n * scroll-triggered node — no module, no chunk, no extra request, and it\n * gzips with the document. See `@aglyn/tenant-runtime`'s\n * `element-animation-assets.ts` for the stylesheet and that script.\n *\n * This module is reachable from the client bundle (the renderer's `Leaf`\n * imports it), so it holds constants and two small pure functions and\n * nothing else. The stylesheet text deliberately lives in the server-only\n * module so a page that animates nothing pays literally zero bytes for it.\n */\n\n/** Preset id prop. Reserved node prop, stripped before the DOM spread. */\nexport const NODE_ANIMATION_PROP = 'aglynAnimation'\n/** Trigger prop: when the preset plays. */\nexport const NODE_ANIMATION_TRIGGER_PROP = 'aglynAnimationTrigger'\n/** Duration prop, in milliseconds. */\nexport const NODE_ANIMATION_DURATION_PROP = 'aglynAnimationDuration'\n/** Delay prop, in milliseconds. */\nexport const NODE_ANIMATION_DELAY_PROP = 'aglynAnimationDelay'\n/** Repeat prop: re-play every time the element scrolls back into view. */\nexport const NODE_ANIMATION_REPEAT_PROP = 'aglynAnimationRepeat'\n/** Easing prop: the shape of the motion curve. */\nexport const NODE_ANIMATION_EASE_PROP = 'aglynAnimationEase'\n/** Stagger prop: animate the children one after another, not the element. */\nexport const NODE_ANIMATION_STAGGER_PROP = 'aglynAnimationStagger'\n/** Stagger step prop: how much later each child starts, in milliseconds. */\nexport const NODE_ANIMATION_STAGGER_STEP_PROP = 'aglynAnimationStaggerStep'\n\n/** Every reserved animation prop, for the renderer's strip step. */\nexport const NODE_ANIMATION_PROPS = [\n NODE_ANIMATION_PROP,\n NODE_ANIMATION_TRIGGER_PROP,\n NODE_ANIMATION_DURATION_PROP,\n NODE_ANIMATION_DELAY_PROP,\n NODE_ANIMATION_REPEAT_PROP,\n NODE_ANIMATION_EASE_PROP,\n NODE_ANIMATION_STAGGER_PROP,\n NODE_ANIMATION_STAGGER_STEP_PROP,\n] as const\n\n/**\n * The \"no animation\" value is a real string, never `''` (AGL-1451): an empty\n * value cannot persist through the attributes form, so an author who picked a\n * preset could never switch back off it.\n */\nexport const ANIMATION_NONE = 'none'\n\n/** Preset ids. Persisted in screen documents — never rename one. */\nexport const ANIMATION_PRESETS = [\n ANIMATION_NONE,\n 'fade',\n 'slide-up',\n 'slide-down',\n 'slide-left',\n 'slide-right',\n 'zoom-in',\n 'zoom-out',\n] as const\n\nexport type AnimationPreset = (typeof ANIMATION_PRESETS)[number]\n\n/** Trigger ids. Persisted — never rename one. */\nexport const ANIMATION_TRIGGERS = ['load', 'scroll', 'hover'] as const\n\nexport type AnimationTrigger = (typeof ANIMATION_TRIGGERS)[number]\n\n/**\n * Easing ids — the SHAPE of the motion, the third dial beside duration and\n * delay. Persisted; never rename one.\n *\n * Only the ids live here. The `cubic-bezier()` curves themselves are in the\n * server-only stylesheet module, for the same reason the keyframes are: this\n * file is reachable from the client bundle and six bezier literals is ~200\n * bytes that every visitor to a still page would otherwise carry. The id\n * becomes a class, the class sets a custom property, and the curve is read\n * from the sheet that only an animating page ships.\n */\nexport const ANIMATION_EASINGS = [\n 'smooth',\n 'steady',\n 'gentle-start',\n 'gentle-end',\n 'gentle-both',\n 'overshoot',\n] as const\n\nexport type AnimationEase = (typeof ANIMATION_EASINGS)[number]\n\n/** Default when an author picks a preset but leaves the dials alone. */\nexport const ANIMATION_DEFAULT_TRIGGER: AnimationTrigger = 'scroll'\nexport const ANIMATION_DEFAULT_DURATION_MS = 600\nexport const ANIMATION_DEFAULT_DELAY_MS = 0\n/**\n * The curve every animation used before easing was authorable. Keeping it as\n * the default means every screen authored before this shipped renders byte\n * for byte the same.\n */\nexport const ANIMATION_DEFAULT_EASE: AnimationEase = 'smooth'\n/** Default gap between staggered children. */\nexport const ANIMATION_DEFAULT_STAGGER_STEP_MS = 90\n\n/** Upper bounds. A 30s entrance is an author mistake, not an intent. */\nexport const ANIMATION_MAX_DURATION_MS = 3000\nexport const ANIMATION_MAX_DELAY_MS = 3000\n/**\n * A stagger step is capped far lower than a delay, because it MULTIPLIES:\n * the last of twelve cards waits eleven steps. At the 500ms cap that is\n * already 5.5s, which is why {@link ANIMATION_STAGGER_MAX_CHILDREN} stops the\n * ladder climbing rather than letting a long list run off the end.\n */\nexport const ANIMATION_MAX_STAGGER_STEP_MS = 500\n/**\n * How many children get their own rung of the stagger ladder. Beyond this\n * every remaining child shares the last rung, so a 200-row collection cannot\n * leave its tail invisible for a minute — the tail arrives together, which is\n * the least surprising failure and the one an author can actually see.\n *\n * Also the size of the generated rule block, which is why it is a number and\n * not \"all of them\": each rung is one selector.\n */\nexport const ANIMATION_STAGGER_MAX_CHILDREN = 24\n\n/** Base class every animated element carries. */\nexport const ANIMATION_CLASS = 'aglyn-anim'\n/**\n * Base class of a STAGGER HOST — an element whose children animate one after\n * another instead of the element itself animating.\n *\n * It is a different base class rather than a modifier on {@link\n * ANIMATION_CLASS} because the two are mutually exclusive by construction: an\n * element carrying both would play its own entrance AND run its children's,\n * which is two overlapping fades on the same pixels. The preset and easing\n * modifiers are shared, and reach the children through custom-property\n * inheritance — the host sets `--aglyn-anim-name`, every child reads it, and\n * the stylesheet needs no per-preset child rule.\n */\nexport const ANIMATION_GROUP_CLASS = 'aglyn-anim-group'\n/** Per-preset modifier, e.g. `aglyn-anim--slide-up`. */\nexport const ANIMATION_PRESET_CLASS_PREFIX = 'aglyn-anim--'\n/** Per-easing modifier, e.g. `aglyn-anim-ease--overshoot`. */\nexport const ANIMATION_EASE_CLASS_PREFIX = 'aglyn-anim-ease--'\n/** Added by the scroll runtime once an element has entered the viewport. */\nexport const ANIMATION_IN_CLASS = 'aglyn-anim--in'\n/**\n * Set on `<html>` by the inline runtime. Every rule that HIDES a\n * scroll-triggered element before it plays is scoped under this class, so a\n * visitor with no JS — and every crawler — sees the un-animated, VISIBLE\n * state. Nothing is ever hidden by the server.\n */\nexport const ANIMATION_READY_CLASS = 'aglyn-anim-js'\n\n/** Trigger attribute the stylesheet and the runtime both select on. */\nexport const ANIMATION_TRIGGER_ATTR = 'data-aglyn-anim-trigger'\n/** Repeat attribute the runtime reads; `'1'` means re-play. */\nexport const ANIMATION_REPEAT_ATTR = 'data-aglyn-anim-repeat'\n\n/** Custom properties carrying the author's dials. */\nexport const ANIMATION_DURATION_VAR = '--aglyn-anim-duration'\nexport const ANIMATION_DELAY_VAR = '--aglyn-anim-delay'\n/** Set on a stagger host; every child reads it through inheritance. */\nexport const ANIMATION_STAGGER_STEP_VAR = '--aglyn-anim-step'\n/**\n * Set on each child BY the stylesheet's nth-child ladder, not by the\n * renderer — the renderer never sees a child's index, and asking it to would\n * mean the host re-rendering whenever a sibling was inserted.\n */\nexport const ANIMATION_STAGGER_OFFSET_VAR = '--aglyn-anim-stagger'\n\n/**\n * Clamp a millisecond dial. `strictNullChecks` is OFF repo-wide and `0` is a\n * legitimate delay, so this tests for a finite number rather than\n * truthiness — `if (!delay)` would silently discard a deliberate `0` and,\n * worse, treat it as \"not set\" and substitute the default.\n */\nfunction clampMs(value: unknown, fallback: number, max: number): number {\n const n = typeof value === 'string' ? Number(value) : value\n if (typeof n !== 'number' || !Number.isFinite(n)) return fallback\n return Math.min(Math.max(n, 0), max)\n}\n\nexport interface ResolvedElementAnimation {\n preset: AnimationPreset\n trigger: AnimationTrigger\n ease: AnimationEase\n durationMs: number\n delayMs: number\n repeat: boolean\n /** True when the CHILDREN animate in sequence rather than this element. */\n stagger: boolean\n staggerStepMs: number\n /** Classes to append to the element. */\n className: string\n /** DOM attributes the stylesheet and runtime select on. */\n attributes: Record<string, string>\n /** Custom properties, merged into the element's inline style. */\n style: Record<string, string>\n}\n\n/**\n * Reads the reserved animation props off a node's resolved props and returns\n * the class/attribute/style triple the renderer applies — or `undefined` when\n * the node does not animate, which is the overwhelmingly common case and\n * costs one property read.\n *\n * Unknown preset and trigger values resolve to \"no animation\" rather than\n * being passed through: these strings reach a `data-` attribute and a class\n * name, and a screen document authored against a future preset must degrade\n * to a static element, never to a broken selector.\n */\nexport function resolveElementAnimation(\n props: Record<string, any> | undefined,\n): ResolvedElementAnimation | undefined {\n const preset = props?.[NODE_ANIMATION_PROP]\n if (typeof preset !== 'string' || preset === ANIMATION_NONE) return undefined\n if (!(ANIMATION_PRESETS as readonly string[]).includes(preset)) return undefined\n\n const rawTrigger = props?.[NODE_ANIMATION_TRIGGER_PROP]\n const trigger = (\n typeof rawTrigger === 'string' &&\n (ANIMATION_TRIGGERS as readonly string[]).includes(rawTrigger)\n ? rawTrigger\n : ANIMATION_DEFAULT_TRIGGER\n ) as AnimationTrigger\n\n const durationMs = clampMs(\n props?.[NODE_ANIMATION_DURATION_PROP],\n ANIMATION_DEFAULT_DURATION_MS,\n ANIMATION_MAX_DURATION_MS,\n )\n const delayMs = clampMs(\n props?.[NODE_ANIMATION_DELAY_PROP],\n ANIMATION_DEFAULT_DELAY_MS,\n ANIMATION_MAX_DELAY_MS,\n )\n const rawEase = props?.[NODE_ANIMATION_EASE_PROP]\n const ease = (\n typeof rawEase === 'string' &&\n (ANIMATION_EASINGS as readonly string[]).includes(rawEase)\n ? rawEase\n : ANIMATION_DEFAULT_EASE\n ) as AnimationEase\n\n // Repeat only means anything for the scroll trigger — `load` fires once by\n // definition and `hover` is a transition, not a keyframe run.\n const repeat = trigger === 'scroll' && Boolean(props?.[NODE_ANIMATION_REPEAT_PROP])\n\n // Stagger is refused for `hover` on purpose. A hover effect is a transition\n // that must reverse the instant the pointer leaves; a staggered one would\n // leave half a row mid-flight, and the ladder below only ever feeds\n // `animation-delay`, which a transition does not read.\n const stagger =\n trigger !== 'hover' && Boolean(props?.[NODE_ANIMATION_STAGGER_PROP])\n const staggerStepMs = stagger\n ? clampMs(\n props?.[NODE_ANIMATION_STAGGER_STEP_PROP],\n ANIMATION_DEFAULT_STAGGER_STEP_MS,\n ANIMATION_MAX_STAGGER_STEP_MS,\n )\n : 0\n\n const attributes: Record<string, string> = {\n [ANIMATION_TRIGGER_ATTR]: trigger,\n }\n if (repeat) attributes[ANIMATION_REPEAT_ATTR] = '1'\n\n const style: Record<string, string> = {\n [ANIMATION_DURATION_VAR]: `${durationMs}ms`,\n [ANIMATION_DELAY_VAR]: `${delayMs}ms`,\n }\n // Written only for a stagger host, so a plain animated element's inline\n // style is byte for byte what it was before this shipped.\n if (stagger) style[ANIMATION_STAGGER_STEP_VAR] = `${staggerStepMs}ms`\n\n return {\n preset: preset as AnimationPreset,\n trigger,\n ease,\n durationMs,\n delayMs,\n repeat,\n stagger,\n staggerStepMs,\n className: `${stagger ? ANIMATION_GROUP_CLASS : ANIMATION_CLASS} ${\n ANIMATION_PRESET_CLASS_PREFIX\n }${preset} ${ANIMATION_EASE_CLASS_PREFIX}${ease}`,\n attributes,\n style,\n }\n}\n\n/**\n * True when a node's props ask for a real animation. Cheap enough to run over\n * every node in a screen's flat node map, which is how the tenant decides\n * whether to ship the stylesheet at all.\n */\nexport function nodePropsAnimate(props: Record<string, any> | undefined): boolean {\n const preset = props?.[NODE_ANIMATION_PROP]\n return (\n typeof preset === 'string' &&\n preset !== ANIMATION_NONE &&\n (ANIMATION_PRESETS as readonly string[]).includes(preset)\n )\n}\n"],"names":["NODE_ANIMATION_PROP","NODE_ANIMATION_TRIGGER_PROP","NODE_ANIMATION_DURATION_PROP","NODE_ANIMATION_DELAY_PROP","NODE_ANIMATION_REPEAT_PROP","NODE_ANIMATION_EASE_PROP","NODE_ANIMATION_STAGGER_PROP","NODE_ANIMATION_STAGGER_STEP_PROP","NODE_ANIMATION_PROPS","ANIMATION_NONE","ANIMATION_PRESETS","ANIMATION_TRIGGERS","ANIMATION_EASINGS","ANIMATION_DEFAULT_TRIGGER","ANIMATION_DEFAULT_DURATION_MS","ANIMATION_DEFAULT_DELAY_MS","ANIMATION_DEFAULT_EASE","ANIMATION_DEFAULT_STAGGER_STEP_MS","ANIMATION_MAX_DURATION_MS","ANIMATION_MAX_DELAY_MS","ANIMATION_MAX_STAGGER_STEP_MS","ANIMATION_STAGGER_MAX_CHILDREN","ANIMATION_CLASS","ANIMATION_GROUP_CLASS","ANIMATION_PRESET_CLASS_PREFIX","ANIMATION_EASE_CLASS_PREFIX","ANIMATION_IN_CLASS","ANIMATION_READY_CLASS","ANIMATION_TRIGGER_ATTR","ANIMATION_REPEAT_ATTR","ANIMATION_DURATION_VAR","ANIMATION_DELAY_VAR","ANIMATION_STAGGER_STEP_VAR","ANIMATION_STAGGER_OFFSET_VAR","clampMs","value","fallback","max","n","Number","isFinite","Math","min","resolveElementAnimation","props","preset","undefined","includes","rawTrigger","trigger","durationMs","delayMs","rawEase","ease","repeat","Boolean","stagger","staggerStepMs","attributes","style","className","nodePropsAnimate"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BC,GAED,wEAAwE,GACxE,OAAO,MAAMA,sBAAsB,iBAAgB;AACnD,yCAAyC,GACzC,OAAO,MAAMC,8BAA8B,wBAAuB;AAClE,oCAAoC,GACpC,OAAO,MAAMC,+BAA+B,yBAAwB;AACpE,iCAAiC,GACjC,OAAO,MAAMC,4BAA4B,sBAAqB;AAC9D,wEAAwE,GACxE,OAAO,MAAMC,6BAA6B,uBAAsB;AAChE,gDAAgD,GAChD,OAAO,MAAMC,2BAA2B,qBAAoB;AAC5D,2EAA2E,GAC3E,OAAO,MAAMC,8BAA8B,wBAAuB;AAClE,0EAA0E,GAC1E,OAAO,MAAMC,mCAAmC,4BAA2B;AAE3E,kEAAkE,GAClE,OAAO,MAAMC,uBAAuB;IAClCR;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD,CAAS;AAEV;;;;CAIC,GACD,OAAO,MAAME,iBAAiB,OAAM;AAEpC,kEAAkE,GAClE,OAAO,MAAMC,oBAAoB;IAC/BD;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD,CAAS;AAIV,+CAA+C,GAC/C,OAAO,MAAME,qBAAqB;IAAC;IAAQ;IAAU;CAAQ,CAAS;AAItE;;;;;;;;;;CAUC,GACD,OAAO,MAAMC,oBAAoB;IAC/B;IACA;IACA;IACA;IACA;IACA;CACD,CAAS;AAIV,sEAAsE,GACtE,OAAO,MAAMC,4BAA8C,SAAQ;AACnE,OAAO,MAAMC,gCAAgC,IAAG;AAChD,OAAO,MAAMC,6BAA6B,EAAC;AAC3C;;;;CAIC,GACD,OAAO,MAAMC,yBAAwC,SAAQ;AAC7D,4CAA4C,GAC5C,OAAO,MAAMC,oCAAoC,GAAE;AAEnD,sEAAsE,GACtE,OAAO,MAAMC,4BAA4B,KAAI;AAC7C,OAAO,MAAMC,yBAAyB,KAAI;AAC1C;;;;;CAKC,GACD,OAAO,MAAMC,gCAAgC,IAAG;AAChD;;;;;;;;CAQC,GACD,OAAO,MAAMC,iCAAiC,GAAE;AAEhD,+CAA+C,GAC/C,OAAO,MAAMC,kBAAkB,aAAY;AAC3C;;;;;;;;;;;CAWC,GACD,OAAO,MAAMC,wBAAwB,mBAAkB;AACvD,sDAAsD,GACtD,OAAO,MAAMC,gCAAgC,eAAc;AAC3D,4DAA4D,GAC5D,OAAO,MAAMC,8BAA8B,oBAAmB;AAC9D,0EAA0E,GAC1E,OAAO,MAAMC,qBAAqB,iBAAgB;AAClD;;;;;CAKC,GACD,OAAO,MAAMC,wBAAwB,gBAAe;AAEpD,qEAAqE,GACrE,OAAO,MAAMC,yBAAyB,0BAAyB;AAC/D,6DAA6D,GAC7D,OAAO,MAAMC,wBAAwB,yBAAwB;AAE7D,mDAAmD,GACnD,OAAO,MAAMC,yBAAyB,wBAAuB;AAC7D,OAAO,MAAMC,sBAAsB,qBAAoB;AACvD,qEAAqE,GACrE,OAAO,MAAMC,6BAA6B,oBAAmB;AAC7D;;;;CAIC,GACD,OAAO,MAAMC,+BAA+B,uBAAsB;AAElE;;;;;CAKC,GACD,SAASC,QAAQC,KAAc,EAAEC,QAAgB,EAAEC,GAAW;IAC5D,MAAMC,IAAI,OAAOH,UAAU,WAAWI,OAAOJ,SAASA;IACtD,IAAI,OAAOG,MAAM,YAAY,CAACC,OAAOC,QAAQ,CAACF,IAAI,OAAOF;IACzD,OAAOK,KAAKC,GAAG,CAACD,KAAKJ,GAAG,CAACC,GAAG,IAAID;AAClC;AAoBA;;;;;;;;;;CAUC,GACD,OAAO,SAASM,wBACdC,KAAsC;IAEtC,MAAMC,SAASD,yBAAAA,KAAO,CAAC5C,oBAAoB;IAC3C,IAAI,OAAO6C,WAAW,YAAYA,WAAWpC,gBAAgB,OAAOqC;IACpE,IAAI,CAAC,AAACpC,kBAAwCqC,QAAQ,CAACF,SAAS,OAAOC;IAEvE,MAAME,aAAaJ,yBAAAA,KAAO,CAAC3C,4BAA4B;IACvD,MAAMgD,UACJ,OAAOD,eAAe,YACtB,AAACrC,mBAAyCoC,QAAQ,CAACC,cAC/CA,aACAnC;IAGN,MAAMqC,aAAahB,QACjBU,yBAAAA,KAAO,CAAC1C,6BAA6B,EACrCY,+BACAI;IAEF,MAAMiC,UAAUjB,QACdU,yBAAAA,KAAO,CAACzC,0BAA0B,EAClCY,4BACAI;IAEF,MAAMiC,UAAUR,yBAAAA,KAAO,CAACvC,yBAAyB;IACjD,MAAMgD,OACJ,OAAOD,YAAY,YACnB,AAACxC,kBAAwCmC,QAAQ,CAACK,WAC9CA,UACApC;IAGN,2EAA2E;IAC3E,8DAA8D;IAC9D,MAAMsC,SAASL,YAAY,YAAYM,QAAQX,yBAAAA,KAAO,CAACxC,2BAA2B;IAElF,4EAA4E;IAC5E,0EAA0E;IAC1E,oEAAoE;IACpE,uDAAuD;IACvD,MAAMoD,UACJP,YAAY,WAAWM,QAAQX,yBAAAA,KAAO,CAACtC,4BAA4B;IACrE,MAAMmD,gBAAgBD,UAClBtB,QACEU,yBAAAA,KAAO,CAACrC,iCAAiC,EACzCU,mCACAG,iCAEF;IAEJ,MAAMsC,aAAqC;QACzC,CAAC9B,uBAAuB,EAAEqB;IAC5B;IACA,IAAIK,QAAQI,UAAU,CAAC7B,sBAAsB,GAAG;IAEhD,MAAM8B,QAAgC;QACpC,CAAC7B,uBAAuB,EAAE,GAAGoB,WAAW,EAAE,CAAC;QAC3C,CAACnB,oBAAoB,EAAE,GAAGoB,QAAQ,EAAE,CAAC;IACvC;IACA,wEAAwE;IACxE,0DAA0D;IAC1D,IAAIK,SAASG,KAAK,CAAC3B,2BAA2B,GAAG,GAAGyB,cAAc,EAAE,CAAC;IAErE,OAAO;QACLZ,QAAQA;QACRI;QACAI;QACAH;QACAC;QACAG;QACAE;QACAC;QACAG,WAAW,GAAGJ,UAAUjC,wBAAwBD,gBAAgB,CAAC,EAC/DE,gCACCqB,OAAO,CAAC,EAAEpB,8BAA8B4B,MAAM;QACjDK;QACAC;IACF;AACF;AAEA;;;;CAIC,GACD,OAAO,SAASE,iBAAiBjB,KAAsC;IACrE,MAAMC,SAASD,yBAAAA,KAAO,CAAC5C,oBAAoB;IAC3C,OACE,OAAO6C,WAAW,YAClBA,WAAWpC,kBACX,AAACC,kBAAwCqC,QAAQ,CAACF;AAEtD"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* The "start hidden" class and the one CSS rule behind it.
|
|
19
|
+
*
|
|
20
|
+
* Its own module because a published page reads only the rule text — it goes
|
|
21
|
+
* into the SSR HTML so an author-applied hidden class paints hidden from the
|
|
22
|
+
* first frame — while `element-ui.ts` around it is the authoring-time
|
|
23
|
+
* choreography contract: the visibility executor, the drawer and menu command
|
|
24
|
+
* buses, leaf-selector expansion and the responsive bands, and through
|
|
25
|
+
* `compose-layout-nodes.ts` the layout composer as well. None of that runs to
|
|
26
|
+
* paint a hidden element, and a bundler cannot drop it around a single named
|
|
27
|
+
* import.
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Class the show/hide steps toggle. The tenant page ships
|
|
31
|
+
* {@link ELEMENT_HIDDEN_STYLE_TEXT} in its SSR HTML so an author-applied
|
|
32
|
+
* "start hidden" class paints hidden from the first frame; the besigner
|
|
33
|
+
* canvas deliberately omits the rule so hidden elements stay editable
|
|
34
|
+
* (same posture as the AGL-557 reveal outcome).
|
|
35
|
+
*/
|
|
36
|
+
export declare const ELEMENT_HIDDEN_CLASS = "aglyn-hidden";
|
|
37
|
+
/** Stylesheet rule backing {@link ELEMENT_HIDDEN_CLASS}. */
|
|
38
|
+
export declare const ELEMENT_HIDDEN_STYLE_TEXT = ".aglyn-hidden{display:none !important}";
|
|
39
|
+
/** Id of the injected fallback style tag (idempotence marker). */
|
|
40
|
+
export declare const ELEMENT_HIDDEN_STYLE_ID = "aglyn-element-hidden-style";
|
|
41
|
+
/**
|
|
42
|
+
* Ensures the hidden-class rule exists in the document (the tenant page
|
|
43
|
+
* renders it during SSR; this is the belt-and-braces path for other
|
|
44
|
+
* surfaces, e.g. the interaction builder's Test button).
|
|
45
|
+
*/
|
|
46
|
+
export declare function ensureElementHiddenStyle(doc?: Document): void;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ /**
|
|
17
|
+
* The "start hidden" class and the one CSS rule behind it.
|
|
18
|
+
*
|
|
19
|
+
* Its own module because a published page reads only the rule text — it goes
|
|
20
|
+
* into the SSR HTML so an author-applied hidden class paints hidden from the
|
|
21
|
+
* first frame — while `element-ui.ts` around it is the authoring-time
|
|
22
|
+
* choreography contract: the visibility executor, the drawer and menu command
|
|
23
|
+
* buses, leaf-selector expansion and the responsive bands, and through
|
|
24
|
+
* `compose-layout-nodes.ts` the layout composer as well. None of that runs to
|
|
25
|
+
* paint a hidden element, and a bundler cannot drop it around a single named
|
|
26
|
+
* import.
|
|
27
|
+
*/ /**
|
|
28
|
+
* Class the show/hide steps toggle. The tenant page ships
|
|
29
|
+
* {@link ELEMENT_HIDDEN_STYLE_TEXT} in its SSR HTML so an author-applied
|
|
30
|
+
* "start hidden" class paints hidden from the first frame; the besigner
|
|
31
|
+
* canvas deliberately omits the rule so hidden elements stay editable
|
|
32
|
+
* (same posture as the AGL-557 reveal outcome).
|
|
33
|
+
*/ export const ELEMENT_HIDDEN_CLASS = 'aglyn-hidden';
|
|
34
|
+
/** Stylesheet rule backing {@link ELEMENT_HIDDEN_CLASS}. */ export const ELEMENT_HIDDEN_STYLE_TEXT = `.${ELEMENT_HIDDEN_CLASS}{display:none !important}`;
|
|
35
|
+
/** Id of the injected fallback style tag (idempotence marker). */ export const ELEMENT_HIDDEN_STYLE_ID = 'aglyn-element-hidden-style';
|
|
36
|
+
/**
|
|
37
|
+
* Ensures the hidden-class rule exists in the document (the tenant page
|
|
38
|
+
* renders it during SSR; this is the belt-and-braces path for other
|
|
39
|
+
* surfaces, e.g. the interaction builder's Test button).
|
|
40
|
+
*/ export function ensureElementHiddenStyle(doc = document) {
|
|
41
|
+
if (doc.getElementById(ELEMENT_HIDDEN_STYLE_ID)) return;
|
|
42
|
+
const style = doc.createElement('style');
|
|
43
|
+
style.id = ELEMENT_HIDDEN_STYLE_ID;
|
|
44
|
+
style.textContent = ELEMENT_HIDDEN_STYLE_TEXT;
|
|
45
|
+
doc.head.appendChild(style);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
//# sourceMappingURL=element-hidden-style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../libs/aglyn/src/lib/app-utils/element-hidden-style.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * The \"start hidden\" class and the one CSS rule behind it.\n *\n * Its own module because a published page reads only the rule text — it goes\n * into the SSR HTML so an author-applied hidden class paints hidden from the\n * first frame — while `element-ui.ts` around it is the authoring-time\n * choreography contract: the visibility executor, the drawer and menu command\n * buses, leaf-selector expansion and the responsive bands, and through\n * `compose-layout-nodes.ts` the layout composer as well. None of that runs to\n * paint a hidden element, and a bundler cannot drop it around a single named\n * import.\n */\n\n/**\n * Class the show/hide steps toggle. The tenant page ships\n * {@link ELEMENT_HIDDEN_STYLE_TEXT} in its SSR HTML so an author-applied\n * \"start hidden\" class paints hidden from the first frame; the besigner\n * canvas deliberately omits the rule so hidden elements stay editable\n * (same posture as the AGL-557 reveal outcome).\n */\nexport const ELEMENT_HIDDEN_CLASS = 'aglyn-hidden'\n\n/** Stylesheet rule backing {@link ELEMENT_HIDDEN_CLASS}. */\nexport const ELEMENT_HIDDEN_STYLE_TEXT = `.${ELEMENT_HIDDEN_CLASS}{display:none !important}`\n\n/** Id of the injected fallback style tag (idempotence marker). */\nexport const ELEMENT_HIDDEN_STYLE_ID = 'aglyn-element-hidden-style'\n\n/**\n * Ensures the hidden-class rule exists in the document (the tenant page\n * renders it during SSR; this is the belt-and-braces path for other\n * surfaces, e.g. the interaction builder's Test button).\n */\nexport function ensureElementHiddenStyle(doc: Document = document): void {\n if (doc.getElementById(ELEMENT_HIDDEN_STYLE_ID)) return\n const style = doc.createElement('style')\n style.id = ELEMENT_HIDDEN_STYLE_ID\n style.textContent = ELEMENT_HIDDEN_STYLE_TEXT\n doc.head.appendChild(style)\n}\n"],"names":["ELEMENT_HIDDEN_CLASS","ELEMENT_HIDDEN_STYLE_TEXT","ELEMENT_HIDDEN_STYLE_ID","ensureElementHiddenStyle","doc","document","getElementById","style","createElement","id","textContent","head","appendChild"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED;;;;;;;;;;;CAWC,GAED;;;;;;CAMC,GACD,OAAO,MAAMA,uBAAuB,eAAc;AAElD,0DAA0D,GAC1D,OAAO,MAAMC,4BAA4B,CAAC,CAAC,EAAED,qBAAqB,yBAAyB,CAAC,CAAA;AAE5F,gEAAgE,GAChE,OAAO,MAAME,0BAA0B,6BAA4B;AAEnE;;;;CAIC,GACD,OAAO,SAASC,yBAAyBC,MAAgBC,QAAQ;IAC/D,IAAID,IAAIE,cAAc,CAACJ,0BAA0B;IACjD,MAAMK,QAAQH,IAAII,aAAa,CAAC;IAChCD,MAAME,EAAE,GAAGP;IACXK,MAAMG,WAAW,GAAGT;IACpBG,IAAIO,IAAI,CAACC,WAAW,CAACL;AACvB"}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Element UI choreography contract (AGL-562): the shared pieces the
|
|
19
|
+
* interactions executor (marketing site runtime), the drawer element
|
|
20
|
+
* (plugins-mui), and the besigner authoring surfaces agree on —
|
|
21
|
+
* show/hide semantics, the drawer command event bus, and the responsive
|
|
22
|
+
* visibility media bands. Pure constants + DOM helpers; every function
|
|
23
|
+
* that touches `window`/`document` is only ever called client-side.
|
|
24
|
+
*/
|
|
25
|
+
import { type ScrollToBehavior } from './actions';
|
|
26
|
+
export * from './element-hidden-style';
|
|
27
|
+
export type ElementVisibilityCommand = 'show' | 'hide' | 'toggle';
|
|
28
|
+
/**
|
|
29
|
+
* Applies a show/hide/toggle command to every element the selector
|
|
30
|
+
* matches. Hide adds the shared hidden class; show removes it AND any
|
|
31
|
+
* inline `display: none` so an element hidden either way reveals; toggle
|
|
32
|
+
* flips per element. Returns the number of elements touched (0 for a
|
|
33
|
+
* selector that matches nothing — steps never throw).
|
|
34
|
+
*/
|
|
35
|
+
export declare function applyElementVisibility(command: ElementVisibilityCommand, selector: string, root?: ParentNode): number;
|
|
36
|
+
export interface ElementVisibilityOptions {
|
|
37
|
+
/** Defer the change; a later visibility step on the same selector
|
|
38
|
+
* cancels the pending one — the hover grace period. */
|
|
39
|
+
delayMs?: number;
|
|
40
|
+
/** Self-dismiss a SHOWN element on Escape / a pointerdown outside it. */
|
|
41
|
+
dismissOn?: Array<'escape' | 'outsideClick'>;
|
|
42
|
+
}
|
|
43
|
+
/** Tears down all pending timers and dismiss listeners (tests). */
|
|
44
|
+
export declare function resetElementVisibilityChoreography(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Runs an element-visibility step with menu-grade choreography (AGL-589):
|
|
47
|
+
*
|
|
48
|
+
* - `delayMs` defers the change; ANY later visibility step on the same
|
|
49
|
+
* selector cancels the pending one first. Hover menus author
|
|
50
|
+
* hover-enter → show (immediate, cancels a pending hide) and
|
|
51
|
+
* hover-leave → hide with a small delay — the classic grace period.
|
|
52
|
+
* - `dismissOn` arms Escape / outside-pointerdown listeners while the
|
|
53
|
+
* element is shown (armed AFTER the change applies, so the click that
|
|
54
|
+
* opened it can never instantly close it) and disarms them on hide.
|
|
55
|
+
*
|
|
56
|
+
* Without options this is exactly {@link applyElementVisibility}.
|
|
57
|
+
*/
|
|
58
|
+
export declare function runElementVisibilityStep(command: ElementVisibilityCommand, selector: string, options?: ElementVisibilityOptions, doc?: Document): void;
|
|
59
|
+
/**
|
|
60
|
+
* Strips a single leading LAYOUT namespace prefix from a node/leaf id so ids
|
|
61
|
+
* authored against the raw canvas id and ids stamped on the live
|
|
62
|
+
* layout-composed DOM compare equal (AGL-573). Idempotent for an
|
|
63
|
+
* already-raw id, and only a *leading* prefix is removed, so unrelated ids
|
|
64
|
+
* can never be coerced into colliding.
|
|
65
|
+
*
|
|
66
|
+
* Deliberately does NOT try to strip a reusable-component graft — that
|
|
67
|
+
* namespace is unparseable (see {@link isComponentGraft}); `leafIdsMatch`
|
|
68
|
+
* and `expandLeafSelector` handle grafts by suffix.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* normalizeLeafId('layout___5I3TBXywa') // → '_5I3TBXywa'
|
|
72
|
+
* normalizeLeafId('_5I3TBXywa') // → '_5I3TBXywa'
|
|
73
|
+
*/
|
|
74
|
+
export declare function normalizeLeafId(id: string | undefined | null): string;
|
|
75
|
+
/**
|
|
76
|
+
* Whether two node ids address the same node ignoring composition
|
|
77
|
+
* namespace prefixes (AGL-573, extended to reusable-component grafts by
|
|
78
|
+
* AGL-1229) — the durable half of the fix for interactions authored on
|
|
79
|
+
* composed elements, whose stored command id is the raw canvas id while the
|
|
80
|
+
* live element's id is namespaced.
|
|
81
|
+
*
|
|
82
|
+
* Layout prefixes are stripped exactly. A component graft is matched by
|
|
83
|
+
* SUFFIX instead, because its namespace cannot be parsed off unambiguously
|
|
84
|
+
* (see {@link isComponentGraft}) — a composed id always ends in `__` plus
|
|
85
|
+
* the raw id it was built from, and a raw id is a single nanoid with no
|
|
86
|
+
* `__` boundary to spare, so the suffix cannot reach an unrelated node.
|
|
87
|
+
*
|
|
88
|
+
* Two empty ids never match (a missing id is not a wildcard).
|
|
89
|
+
*/
|
|
90
|
+
export declare function leafIdsMatch(a: string | undefined | null, b: string | undefined | null): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Extracts the leaf id from a canonical `[data-aglyn="leaf:<id>"]`
|
|
93
|
+
* selector (the exact form the renderer and the interaction builder emit),
|
|
94
|
+
* or `undefined` for any other selector.
|
|
95
|
+
*/
|
|
96
|
+
export declare function leafIdFromSelector(selector: string): string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Rewrites a `[data-aglyn="leaf:<id>"]` selector so it ALSO matches the
|
|
99
|
+
* same node once composition has namespaced its live id (AGL-573, extended
|
|
100
|
+
* to reusable components by AGL-1229):
|
|
101
|
+
*
|
|
102
|
+
* [data-aglyn="leaf:_5I3TBXywa"]
|
|
103
|
+
* → [data-aglyn="leaf:_5I3TBXywa"],
|
|
104
|
+
* [data-aglyn="leaf:layout___5I3TBXywa"],
|
|
105
|
+
* [data-aglyn$="___5I3TBXywa"]
|
|
106
|
+
*
|
|
107
|
+
* The layout alternatives stay enumerated and exactly anchored. The last is
|
|
108
|
+
* a SUFFIX match, and it is the only way to reach a reusable-component
|
|
109
|
+
* graft: its namespace is `cmp__{instanceId}__`, one per placement, so
|
|
110
|
+
* there is no finite prefix list to enumerate.
|
|
111
|
+
*
|
|
112
|
+
* The suffix cannot collide. A composed id always ends in the raw id it was
|
|
113
|
+
* built from, so matching `__` + the exact raw id can only reach a
|
|
114
|
+
* composition OF THAT id — reaching an unrelated node would need that
|
|
115
|
+
* node's own raw id to end in `__` plus a full id, and raw ids are a single
|
|
116
|
+
* fixed-length nanoid with no `__` boundary to spare.
|
|
117
|
+
*
|
|
118
|
+
* Any non-leaf selector — a plain CSS selector an author typed by hand —
|
|
119
|
+
* passes through verbatim.
|
|
120
|
+
*/
|
|
121
|
+
export declare function expandLeafSelector(selector: string): string;
|
|
122
|
+
export type DrawerCommand = 'open' | 'close' | 'toggle';
|
|
123
|
+
/** Window event carrying a drawer command (AGL-562). */
|
|
124
|
+
export declare const DRAWER_COMMAND_EVENT = "aglyn:drawer-command";
|
|
125
|
+
export interface DrawerCommandDetail {
|
|
126
|
+
command: DrawerCommand;
|
|
127
|
+
/** Target drawer's canvas node id; absent = the page's first drawer. */
|
|
128
|
+
nodeId?: string;
|
|
129
|
+
}
|
|
130
|
+
/** Dispatches a drawer command onto the window event bus. */
|
|
131
|
+
export declare function dispatchDrawerCommand(command: DrawerCommand, nodeId?: string): void;
|
|
132
|
+
/**
|
|
133
|
+
* Subscribes to drawer commands; returns the unsubscriber. The handler
|
|
134
|
+
* receives every command — drawer instances filter by their own node id
|
|
135
|
+
* (or first-registered status for broadcasts).
|
|
136
|
+
*/
|
|
137
|
+
export declare function subscribeDrawerCommands(handler: (detail: DrawerCommandDetail) => void): () => void;
|
|
138
|
+
export type MenuCommand = 'open' | 'close' | 'toggle';
|
|
139
|
+
/**
|
|
140
|
+
* Window event carrying a nav-menu command (AGL-568): the interactions
|
|
141
|
+
* system's open/close/toggle steps address Dropdown Menu and Mega Menu
|
|
142
|
+
* elements over this bus, exactly like drawers — no bespoke "open on"
|
|
143
|
+
* attribute involved.
|
|
144
|
+
*/
|
|
145
|
+
export declare const MENU_COMMAND_EVENT = "aglyn:menu-command";
|
|
146
|
+
export interface MenuCommandDetail {
|
|
147
|
+
command: MenuCommand;
|
|
148
|
+
/** Target menu's canvas node id; absent = the page's first menu. */
|
|
149
|
+
nodeId?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Set when the command came from a hover trigger: a menu opened this
|
|
152
|
+
* way closes itself once the pointer leaves the trigger + panel
|
|
153
|
+
* surface (standard hover-menu UX), while click/command opens stay
|
|
154
|
+
* put until an explicit close, click-away, or Escape.
|
|
155
|
+
*/
|
|
156
|
+
hover?: boolean;
|
|
157
|
+
}
|
|
158
|
+
/** Dispatches a menu command onto the window event bus. */
|
|
159
|
+
export declare function dispatchMenuCommand(command: MenuCommand, nodeId?: string, options?: {
|
|
160
|
+
hover?: boolean;
|
|
161
|
+
}): void;
|
|
162
|
+
/**
|
|
163
|
+
* Subscribes to menu commands; returns the unsubscriber. The handler
|
|
164
|
+
* receives every command — menu instances filter by their own node id
|
|
165
|
+
* (or first-registered status for broadcasts).
|
|
166
|
+
*/
|
|
167
|
+
export declare function subscribeMenuCommands(handler: (detail: MenuCommandDetail) => void): () => void;
|
|
168
|
+
/**
|
|
169
|
+
* The element a one-target step acts on: the first match that has a layout
|
|
170
|
+
* box, or null.
|
|
171
|
+
*
|
|
172
|
+
* Every match is read rather than only the first, because one element can
|
|
173
|
+
* legitimately appear twice — an expanded leaf selector reaches each
|
|
174
|
+
* composition of an id, and a page may carry a desktop and a mobile copy with
|
|
175
|
+
* one hidden at each breakpoint. The copy the visitor can see is the one they
|
|
176
|
+
* meant.
|
|
177
|
+
*
|
|
178
|
+
* A match with no box is never acted on. Scrolling to a `display: none`
|
|
179
|
+
* element lands at the top of the page, and pressing a hidden player starts a
|
|
180
|
+
* film nobody can see, so a target that is not on the page in the layout
|
|
181
|
+
* sense makes the step a no-op, as a missing or deleted one does.
|
|
182
|
+
*/
|
|
183
|
+
export declare function resolveStepTarget(selector: string, root?: ParentNode): HTMLElement | SVGElement | null;
|
|
184
|
+
export interface ScrollToStepOptions {
|
|
185
|
+
/** Absent means `smooth`; reduced motion overrides either to `instant`. */
|
|
186
|
+
behavior?: ScrollToBehavior;
|
|
187
|
+
/** Pixels left above the target; clamped to 0–{@link SCROLL_TO_MAX_OFFSET_PX}. */
|
|
188
|
+
offsetPx?: number;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Runs a `scrollTo` step: brings the target to the top of the window, less
|
|
192
|
+
* the offset, and moves focus to it. Returns whether there was a target.
|
|
193
|
+
*
|
|
194
|
+
* The position is computed and handed to the window rather than asked of
|
|
195
|
+
* `scrollIntoView`, because the offset has nowhere to go in that call except
|
|
196
|
+
* a `scroll-margin` written onto the author's element. A target inside a box
|
|
197
|
+
* that scrolls its own content is the exception, and there the box has to be
|
|
198
|
+
* scrolled too, which `scrollIntoView` does for every such ancestor at once;
|
|
199
|
+
* the offset is for a header over the page, not for a panel's own edge.
|
|
200
|
+
*
|
|
201
|
+
* Reduced motion is read at the moment of the press, so a visitor who changes
|
|
202
|
+
* the setting mid-visit gets what they asked for on the next one.
|
|
203
|
+
*/
|
|
204
|
+
export declare function runScrollToStep(selector: string, options?: ScrollToStepOptions, doc?: Document): boolean;
|
|
205
|
+
/**
|
|
206
|
+
* The event a Video element answers with its own poster press.
|
|
207
|
+
*
|
|
208
|
+
* Dispatched ON the element, where the drawer and menu commands go to
|
|
209
|
+
* `window`. Those buses need an address because a command with none means
|
|
210
|
+
* "the page's first drawer"; a `playVideo` step has already found its element
|
|
211
|
+
* through its selector, so the element that receives the event is the one that
|
|
212
|
+
* should answer, with no id to parse or compare.
|
|
213
|
+
*/
|
|
214
|
+
export declare const VIDEO_COMMAND_EVENT = "aglyn:video-command";
|
|
215
|
+
export type VideoCommand = 'play';
|
|
216
|
+
export interface VideoCommandDetail {
|
|
217
|
+
command: VideoCommand;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Sends a command to an element. Returns whether a Video element answered —
|
|
221
|
+
* a listener registered through {@link subscribeVideoCommands} cancels the
|
|
222
|
+
* event to say so — which is false for an element that is not a Video.
|
|
223
|
+
*/
|
|
224
|
+
export declare function dispatchVideoCommand(element: EventTarget, command: VideoCommand): boolean;
|
|
225
|
+
/** Answers video commands sent to `element`; returns the unsubscriber. */
|
|
226
|
+
export declare function subscribeVideoCommands(element: EventTarget, handler: (detail: VideoCommandDetail) => void): () => void;
|
|
227
|
+
/**
|
|
228
|
+
* Runs a `playVideo` step: presses the poster of the Video element the
|
|
229
|
+
* selector names. Returns whether a Video answered.
|
|
230
|
+
*/
|
|
231
|
+
export declare function runPlayVideoStep(selector: string, doc?: Document): boolean;
|
|
232
|
+
/**
|
|
233
|
+
* The three authoring-facing visibility bands and the sx media-query
|
|
234
|
+
* keys the styles panel writes `display: none` under. Range-scoped
|
|
235
|
+
* queries (not MUI's mobile-first responsive objects) so hiding one band
|
|
236
|
+
* never needs a "restore" display value on the others — the element's
|
|
237
|
+
* natural display simply keeps applying outside the hidden range.
|
|
238
|
+
* Boundaries follow the MUI defaults the device preview uses: mobile
|
|
239
|
+
* under 600, tablet 600–899, desktop 900 and up.
|
|
240
|
+
*/
|
|
241
|
+
export declare const VISIBILITY_BANDS: readonly ["mobile", "tablet", "desktop"];
|
|
242
|
+
export type VisibilityBand = (typeof VISIBILITY_BANDS)[number];
|
|
243
|
+
export declare const VISIBILITY_BAND_MEDIA: Record<VisibilityBand, string>;
|