@newsletterstudio/umbraco 14.0.0-rc1
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/dist/backend-api/core/ApiError.d.ts +10 -0
- package/dist/backend-api/core/ApiRequestOptions.d.ts +14 -0
- package/dist/backend-api/core/ApiResult.d.ts +7 -0
- package/dist/backend-api/core/CancelablePromise.d.ts +26 -0
- package/dist/backend-api/core/OpenAPI.d.ts +27 -0
- package/dist/backend-api/core/request.d.ts +29 -0
- package/dist/backend-api/enums.gen.d.ts +7 -0
- package/dist/backend-api/index.d.ts +5 -0
- package/dist/backend-api/schemas.gen.d.ts +3730 -0
- package/dist/backend-api/services.gen.d.ts +577 -0
- package/dist/backend-api/types.gen.d.ts +2633 -0
- package/dist/constants.d.ts +1 -0
- package/dist/core/actions/components/ns-action-dropdown.element.d.ts +30 -0
- package/dist/core/avatars/ns-avatar.context.d.ts +14 -0
- package/dist/core/components/drag/index.d.ts +4 -0
- package/dist/core/components/drag/lit-sortable.d.ts +29 -0
- package/dist/core/components/drag/ns-drag-container-controller.d.ts +11 -0
- package/dist/core/components/drag/ns-drag-container.element.d.ts +31 -0
- package/dist/core/components/drag/ns-drag-item.element.d.ts +17 -0
- package/dist/core/components/index.d.ts +50 -0
- package/dist/core/components/ns-align/ns-align.element.d.ts +28 -0
- package/dist/core/components/ns-auto-scroll/auto-scroller.d.ts +2 -0
- package/dist/core/components/ns-auto-scroll/ns-auto-scroll.element.d.ts +19 -0
- package/dist/core/components/ns-avatar/ns-avatar.element.d.ts +39 -0
- package/dist/core/components/ns-box/ns-box.element.d.ts +23 -0
- package/dist/core/components/ns-campaign-sending-progress/ns-campaign-sending-progress.element.d.ts +35 -0
- package/dist/core/components/ns-chart-campaign-doughnut/ns-chart-campaign-doughnut.element.d.ts +25 -0
- package/dist/core/components/ns-chart-campaign-doughnut/stories/demo-ns-chart-campaign-doughnut.element.d.ts +25 -0
- package/dist/core/components/ns-chart-campaign-stats/ns-chart-campaign-stats.element.d.ts +39 -0
- package/dist/core/components/ns-chart-funnel/ns-chart-funnel.element.d.ts +19 -0
- package/dist/core/components/ns-chart-subscriber-growth/ns-chart-subscriber-growth.element.d.ts +26 -0
- package/dist/core/components/ns-checkbox/ns-checkbox.element.d.ts +43 -0
- package/dist/core/components/ns-checkbox-list/ns-checkbox-list.element.d.ts +37 -0
- package/dist/core/components/ns-color-picker/ns-color-picker.element.d.ts +79 -0
- package/dist/core/components/ns-color-picker/ns-color-picker.helpers.d.ts +1 -0
- package/dist/core/components/ns-create-form/ns-create-form.element.d.ts +28 -0
- package/dist/core/components/ns-create-form/stories/demo-ns-create-form.element.d.ts +19 -0
- package/dist/core/components/ns-css/index.d.ts +5 -0
- package/dist/core/components/ns-css/ns-alert-styles.d.ts +1 -0
- package/dist/core/components/ns-css/ns-button-group-styles.d.ts +1 -0
- package/dist/core/components/ns-css/ns-button-styles.d.ts +2 -0
- package/dist/core/components/ns-css/ns-form-styles.d.ts +1 -0
- package/dist/core/components/ns-css/ns-select-style.d.ts +1 -0
- package/dist/core/components/ns-css/ns-transactional-indicator-styles.d.ts +1 -0
- package/dist/core/components/ns-css/ns-variables.d.ts +5 -0
- package/dist/core/components/ns-days-picker/ns-days-picker.element.d.ts +23 -0
- package/dist/core/components/ns-email-address-collection/ns-email-address-collection.element.d.ts +35 -0
- package/dist/core/components/ns-email-campaign-send/ns-email-campaign-send.element.d.ts +30 -0
- package/dist/core/components/ns-email-editor/actions/ns-email-editor-action-icon.element.d.ts +24 -0
- package/dist/core/components/ns-email-editor/controls/create-control-editor-element.d.ts +29 -0
- package/dist/core/components/ns-email-editor/controls/ns-email-editor-control-display-ui.element.d.ts +28 -0
- package/dist/core/components/ns-email-editor/index.d.ts +1 -0
- package/dist/core/components/ns-email-editor/ns-email-editor-add-row.element.d.ts +27 -0
- package/dist/core/components/ns-email-editor/ns-email-editor-columns.element.d.ts +33 -0
- package/dist/core/components/ns-email-editor/ns-email-editor-controls.element.d.ts +32 -0
- package/dist/core/components/ns-email-editor/ns-email-editor-rows.element.d.ts +31 -0
- package/dist/core/components/ns-email-editor/ns-email-editor.controller.d.ts +8 -0
- package/dist/core/components/ns-email-editor/ns-email-editor.element.d.ts +32 -0
- package/dist/core/components/ns-email-editor/readme-json-example.json +859 -0
- package/dist/core/components/ns-email-editor/sidebar/insert/ns-email-editor-insert-control.element.d.ts +19 -0
- package/dist/core/components/ns-email-editor/sidebar/ns-email-editor-control-edit-ui.element.d.ts +30 -0
- package/dist/core/components/ns-email-editor/sidebar/ns-email-editor-sidebar.element.d.ts +29 -0
- package/dist/core/components/ns-email-editor/sidebar/row/ns-email-editor-row-settings.element.d.ts +23 -0
- package/dist/core/components/ns-email-editor/sidebar/settings/ns-email-editor-email-settings.element.d.ts +21 -0
- package/dist/core/components/ns-email-editor/stories/demo-ns-email-editor.__stories__.d.ts +0 -0
- package/dist/core/components/ns-email-editor/stories/demo-ns-email-editor.element.d.ts +1 -0
- package/dist/core/components/ns-email-list/ns-email-list-item.element.d.ts +30 -0
- package/dist/core/components/ns-email-list/ns-email-list.element.d.ts +62 -0
- package/dist/core/components/ns-email-list/stories/demo-ns-email-list.element.d.ts +13 -0
- package/dist/core/components/ns-email-modal-layout/ns-email-modal-layout.element.d.ts +32 -0
- package/dist/core/components/ns-email-modal-layout/stories/demo-ns-email-modal-layout.element.d.ts +24 -0
- package/dist/core/components/ns-email-preview/ns-email-preview.element.d.ts +33 -0
- package/dist/core/components/ns-error-box/ns-error-box.element.d.ts +23 -0
- package/dist/core/components/ns-expandable/ns-expandable.element.d.ts +27 -0
- package/dist/core/components/ns-expander/ns-expander.element.d.ts +19 -0
- package/dist/core/components/ns-filter-dropdown/ns-filter-dropdown.element.d.ts +34 -0
- package/dist/core/components/ns-filter-input/ns-filter-input.element.d.ts +21 -0
- package/dist/core/components/ns-font-picker/ns-font-picker.element.d.ts +33 -0
- package/dist/core/components/ns-font-size-picker/ns-font-size-picker.element.d.ts +30 -0
- package/dist/core/components/ns-form-server-validation/ns-form-server-validation.element.d.ts +0 -0
- package/dist/core/components/ns-icons/index.d.ts +10 -0
- package/dist/core/components/ns-icons/ns-icon-align-center.d.ts +1 -0
- package/dist/core/components/ns-icons/ns-icon-align-left.d.ts +1 -0
- package/dist/core/components/ns-icons/ns-icon-align-right.d.ts +1 -0
- package/dist/core/components/ns-icons/ns-icon-arrow-down.d.ts +1 -0
- package/dist/core/components/ns-icons/ns-icon-arrow-up.d.ts +1 -0
- package/dist/core/components/ns-icons/ns-icon-back.d.ts +1 -0
- package/dist/core/components/ns-icons/ns-icon-check.d.ts +1 -0
- package/dist/core/components/ns-icons/ns-icon-color-picker.d.ts +1 -0
- package/dist/core/components/ns-icons/ns-icon-next.d.ts +1 -0
- package/dist/core/components/ns-icons/ns-icon-padding.d.ts +1 -0
- package/dist/core/components/ns-iframe/ns-iframe.element.d.ts +22 -0
- package/dist/core/components/ns-json-debug/ns-json-debug.element.d.ts +24 -0
- package/dist/core/components/ns-license-tag/ns-license-tag.element.d.ts +25 -0
- package/dist/core/components/ns-link-picker/ns-link-picker.element.d.ts +45 -0
- package/dist/core/components/ns-mailing-list-picker/ns-mailing-list-picker.element.d.ts +34 -0
- package/dist/core/components/ns-numeric-input/ns-numeric-input.element.d.ts +54 -0
- package/dist/core/components/ns-padding-editor/ns-padding-editor.element.d.ts +74 -0
- package/dist/core/components/ns-property/ns-property-group.element.d.ts +35 -0
- package/dist/core/components/ns-property/ns-property.element.d.ts +37 -0
- package/dist/core/components/ns-property/ns-property.models.d.ts +1 -0
- package/dist/core/components/ns-recipient-list-picker/ns-recipient-list-picker.element.d.ts +24 -0
- package/dist/core/components/ns-select/ns-select.element.d.ts +28 -0
- package/dist/core/components/ns-sending-progress/ns-sending-progress.element.d.ts +18 -0
- package/dist/core/components/ns-size/ns-size.element.d.ts +28 -0
- package/dist/core/components/ns-stats-box/ns-stats-box.element.d.ts +19 -0
- package/dist/core/components/ns-stats-bullet/ns-stats-bullet.element.d.ts +16 -0
- package/dist/core/components/ns-timeline/ns-timeline-date.element.d.ts +14 -0
- package/dist/core/components/ns-timeline/ns-timeline-event.element.d.ts +18 -0
- package/dist/core/components/ns-timeline/ns-timeline-icon.element.d.ts +20 -0
- package/dist/core/components/ns-timeline/ns-timeline.element.d.ts +14 -0
- package/dist/core/components/ns-transactional-email-picker/ns-transactional-email-picker.element.d.ts +34 -0
- package/dist/core/components/ns-tree-menu/ns-tree-menu.element.d.ts +28 -0
- package/dist/core/components/ns-umb-demo/ns-umb-demo.element.d.ts +23 -0
- package/dist/core/components/ns-validation-errors-debug/ns-validation-errors-debug.element.d.ts +20 -0
- package/dist/core/debugging/renderCounter.d.ts +16 -0
- package/dist/core/extensibility/actions/ns-actions.models.d.ts +33 -0
- package/dist/core/extensibility/email-editor/NsEmailEditorControlDisplayUiBase.d.ts +13 -0
- package/dist/core/extensibility/email-editor/NsEmailEditorControlEditUiBase.d.ts +4 -0
- package/dist/core/extensibility/email-editor/NsEmailEditorControlUiBase.d.ts +14 -0
- package/dist/core/extensibility/email-editor/email-control.models.d.ts +13 -0
- package/dist/core/extensibility/email-editor/email-editor-css.d.ts +1 -0
- package/dist/core/extensibility/email-editor/email-editor.models.d.ts +94 -0
- package/dist/core/extensibility/email-service/NsEmailServiceProviderUiBase.d.ts +23 -0
- package/dist/core/extensibility/email-service/email-service-provider.models.d.ts +9 -0
- package/dist/core/extensibility/index.d.ts +10 -0
- package/dist/core/extensibility/unique.model.d.ts +3 -0
- package/dist/core/form.helper.d.ts +7 -0
- package/dist/core/formatting.d.ts +19 -0
- package/dist/core/forms/index.d.ts +2 -0
- package/dist/core/forms/ns-form-context.d.ts +43 -0
- package/dist/core/forms/umb-fixes/bind-form-to-validation.lit-directive.d.ts +34 -0
- package/dist/core/forms/umb-fixes/bind-server-validation-to-form-control.controller.d.ts +19 -0
- package/dist/core/forms/umb-fixes/bind-to-validation.lit-directive.d.ts +34 -0
- package/dist/core/generic-events.d.ts +11 -0
- package/dist/core/index.d.ts +20 -0
- package/dist/core/links.d.ts +1 -0
- package/dist/core/localization.helper.d.ts +3 -0
- package/dist/core/manifest.d.ts +1 -0
- package/dist/core/merge-fields-helper.d.ts +2 -0
- package/dist/core/modal/modal-adjustments.d.ts +5 -0
- package/dist/core/modal/ns-item-picker-modal/manifest.d.ts +2 -0
- package/dist/core/modal/ns-item-picker-modal/ns-item-picker-modal.element.d.ts +25 -0
- package/dist/core/modal/ns-item-picker-modal/ns-item-picker-modal.token.d.ts +27 -0
- package/dist/core/notification.helper.d.ts +5 -0
- package/dist/core/ns-click-outside.controller.d.ts +20 -0
- package/dist/core/ns-lit.element.d.ts +14 -0
- package/dist/core/page.d.ts +3 -0
- package/dist/core/realtime/index.d.ts +1 -0
- package/dist/core/realtime/ns-realtime-context.d.ts +17 -0
- package/dist/core/refresh-events.d.ts +14 -0
- package/dist/core/scroll-to-top.d.ts +8 -0
- package/dist/core/string.helper.d.ts +9 -0
- package/dist/core/types.d.ts +17 -0
- package/dist/core/udi-helper.d.ts +7 -0
- package/dist/entry.d.ts +3 -0
- package/dist/external/lit/index.d.ts +13 -0
- package/dist/manifest.d.ts +2 -0
- package/dist/modules/administration/about/ns-administration-about.element.d.ts +17 -0
- package/dist/modules/administration/debug/ns-administration-debug.element.d.ts +27 -0
- package/dist/modules/administration/edit/components/ns-administration-edit-custom-fields.element.d.ts +31 -0
- package/dist/modules/administration/edit/components/ns-administration-edit-permissions.element.d.ts +38 -0
- package/dist/modules/administration/edit/email-services/ns-email-service-settings-pickup.element.d.ts +18 -0
- package/dist/modules/administration/edit/email-services/ns-email-service-settings-smtp.element.d.ts +35 -0
- package/dist/modules/administration/edit/manifest.d.ts +2 -0
- package/dist/modules/administration/edit/ns-administration-edit.element.d.ts +35 -0
- package/dist/modules/administration/entity.d.ts +1 -0
- package/dist/modules/administration/index.d.ts +2 -0
- package/dist/modules/administration/list/components/ns-administration-connect-license.element.d.ts +42 -0
- package/dist/modules/administration/list/ns-administration-list.element.d.ts +23 -0
- package/dist/modules/administration/manifest.d.ts +2 -0
- package/dist/modules/administration/new/ns-administration-new-workspace.element.d.ts +24 -0
- package/dist/modules/administration/ns-administration-workspace.context.d.ts +24 -0
- package/dist/modules/campaign/campaign-utilities.d.ts +17 -0
- package/dist/modules/campaign/common/email-list-item-updater.d.ts +3 -0
- package/dist/modules/campaign/content-section/index.d.ts +2 -0
- package/dist/modules/campaign/content-section/manifest.d.ts +2 -0
- package/dist/modules/campaign/content-section/modal/manifest.d.ts +1 -0
- package/dist/modules/campaign/content-section/modal/ns-campaign-content-section-modal.element.d.ts +24 -0
- package/dist/modules/campaign/content-section/modal/ns-document-campaign-modal-context.d.ts +39 -0
- package/dist/modules/campaign/content-section/modal/steps/ns-document-campaign-edit-information.element.d.ts +28 -0
- package/dist/modules/campaign/content-section/modal/steps/ns-document-campaign-edit-preview.element.d.ts +22 -0
- package/dist/modules/campaign/content-section/modal/steps/ns-document-campaign-edit-send.element.d.ts +27 -0
- package/dist/modules/campaign/content-section/ns-document-campaign-workspace-modal.token.d.ts +7 -0
- package/dist/modules/campaign/content-section/ns-document-campaign-workspace.context.d.ts +30 -0
- package/dist/modules/campaign/content-section/views/manifest.d.ts +9 -0
- package/dist/modules/campaign/content-section/views/ns-campaign-content-section-workspace-view.element.d.ts +35 -0
- package/dist/modules/campaign/email-section/index.d.ts +2 -0
- package/dist/modules/campaign/email-section/manifest.d.ts +1 -0
- package/dist/modules/campaign/email-section/modal/manifest.d.ts +1 -0
- package/dist/modules/campaign/email-section/modal/ns-editor-campaign-modal-context.d.ts +39 -0
- package/dist/modules/campaign/email-section/modal/ns-editor-campaign-modal.element.d.ts +22 -0
- package/dist/modules/campaign/email-section/modal/steps/ns-editor-campaign-edit-design.element.d.ts +22 -0
- package/dist/modules/campaign/email-section/modal/steps/ns-editor-campaign-edit-information.element.d.ts +32 -0
- package/dist/modules/campaign/email-section/modal/steps/ns-editor-campaign-edit-preview.element.d.ts +22 -0
- package/dist/modules/campaign/email-section/modal/steps/ns-editor-campaign-edit-send.element.d.ts +31 -0
- package/dist/modules/campaign/email-section/ns-campaign-workspace-modal-token.d.ts +9 -0
- package/dist/modules/campaign/email-section/ns-campaign-workspace.context.d.ts +24 -0
- package/dist/modules/campaign/email-section/report/ns-campaign-report-section.element.d.ts +23 -0
- package/dist/modules/campaign/email-section/views/ns-campaigns.element.d.ts +35 -0
- package/dist/modules/campaign/entity.d.ts +4 -0
- package/dist/modules/campaign/index.d.ts +5 -0
- package/dist/modules/campaign/manifest.d.ts +1 -0
- package/dist/modules/campaign/report/campaign-report-workspace-modal.token.d.ts +5 -0
- package/dist/modules/campaign/report/campaign-report-workspace.context.d.ts +25 -0
- package/dist/modules/campaign/report/index.d.ts +2 -0
- package/dist/modules/campaign/report/manifest.d.ts +2 -0
- package/dist/modules/campaign/report/ns-campaign-report-root.element.d.ts +25 -0
- package/dist/modules/campaign/report/overview/ns-campaign-report-overview.element.d.ts +20 -0
- package/dist/modules/campaign/report/recipients/ns-campaign-report-recipients.element.d.ts +24 -0
- package/dist/modules/campaign/report/recipients/timeline/manifest.d.ts +2 -0
- package/dist/modules/campaign/report/recipients/timeline/ns-campaign-report-recipient-timeline-modal.token.d.ts +8 -0
- package/dist/modules/campaign/report/recipients/timeline/ns-campaign-report-recipient.timeline.element.d.ts +26 -0
- package/dist/modules/dashboard/components/ns-dashboard-license-status.element.d.ts +23 -0
- package/dist/modules/dashboard/components/ns-workspace-dashboard-view.element.d.ts +34 -0
- package/dist/modules/dashboard/manifest.d.ts +15 -0
- package/dist/modules/dashboard/ns-workspace-dashboard.element.d.ts +21 -0
- package/dist/modules/email-editor/controls/button/manifest.d.ts +2 -0
- package/dist/modules/email-editor/controls/button/ns-email-editor-control-button-display.element.d.ts +16 -0
- package/dist/modules/email-editor/controls/button/ns-email-editor-control-button-edit.element.d.ts +20 -0
- package/dist/modules/email-editor/controls/button/ns-email-editor-control-button.models.d.ts +3 -0
- package/dist/modules/email-editor/controls/divider/manifest.d.ts +2 -0
- package/dist/modules/email-editor/controls/divider/ns-email-editor-control-divider-display.element.d.ts +16 -0
- package/dist/modules/email-editor/controls/divider/ns-email-editor-control-divider-edit.element.d.ts +16 -0
- package/dist/modules/email-editor/controls/divider/ns-email-editor-control-divider.models.d.ts +3 -0
- package/dist/modules/email-editor/controls/image/manifest.d.ts +2 -0
- package/dist/modules/email-editor/controls/image/ns-email-editor-control-image-display.element.d.ts +21 -0
- package/dist/modules/email-editor/controls/image/ns-email-editor-control-image-edit.element.d.ts +24 -0
- package/dist/modules/email-editor/controls/image/ns-email-editor-control-image.models.d.ts +3 -0
- package/dist/modules/email-editor/controls/macro/manifest.d.ts +2 -0
- package/dist/modules/email-editor/controls/macro/ns-email-editor-control-macro-display.element.d.ts +18 -0
- package/dist/modules/email-editor/controls/macro/ns-email-editor-control-macro-edit.element.d.ts +23 -0
- package/dist/modules/email-editor/controls/macro/ns-email-editor-control-macro.models.d.ts +3 -0
- package/dist/modules/email-editor/controls/text/manifest.d.ts +3 -0
- package/dist/modules/email-editor/controls/text/ns-email-editor-control-text-display.element.d.ts +20 -0
- package/dist/modules/email-editor/controls/text/ns-email-editor-control-text-edit.element.d.ts +23 -0
- package/dist/modules/email-editor/controls/text/ns-email-editor-control-text.models.d.ts +3 -0
- package/dist/modules/email-editor/controls/text/tiny-mce-plugin.d.ts +6 -0
- package/dist/modules/email-editor/index.d.ts +5 -0
- package/dist/modules/email-editor/manifest.d.ts +1 -0
- package/dist/modules/email-editor/ns-email-editor-context-token.d.ts +3 -0
- package/dist/modules/email-editor/ns-email-editor-context.d.ts +68 -0
- package/dist/modules/email-editor/ns-email-editor-context.models.d.ts +23 -0
- package/dist/modules/email-editor/ns-email-modal-base-element.d.ts +74 -0
- package/dist/modules/email-editor/ns-email-modal-context-base.d.ts +22 -0
- package/dist/modules/email-editor/ns-email-modal-valiation-path-translator.d.ts +19 -0
- package/dist/modules/email-editor/ns-email-settings-collection.d.ts +22 -0
- package/dist/modules/global/index.d.ts +1 -0
- package/dist/modules/global/newsletter-studio.context.d.ts +14 -0
- package/dist/modules/mailing-list/edit/actions/export/ns-maling-list-export.action.d.ts +6 -0
- package/dist/modules/mailing-list/edit/actions/import/manifest.d.ts +2 -0
- package/dist/modules/mailing-list/edit/actions/import/ns-mailing-list-import-modal.element.d.ts +34 -0
- package/dist/modules/mailing-list/edit/actions/import/ns-mailing-list-import-modal.token.d.ts +7 -0
- package/dist/modules/mailing-list/edit/actions/import/ns-mailing-list-import.action.d.ts +6 -0
- package/dist/modules/mailing-list/edit/actions/manifest.d.ts +2 -0
- package/dist/modules/mailing-list/edit/actions/remove/ns-mailing-list-remove.action.d.ts +6 -0
- package/dist/modules/mailing-list/edit/ns-mailing-list-edit.element.d.ts +31 -0
- package/dist/modules/mailing-list/entity.d.ts +1 -0
- package/dist/modules/mailing-list/index.d.ts +3 -0
- package/dist/modules/mailing-list/list/ns-mailing-list-list.element.d.ts +23 -0
- package/dist/modules/mailing-list/manifest.d.ts +2 -0
- package/dist/modules/mailing-list/new/ns-mailing-list-new.element.d.ts +19 -0
- package/dist/modules/mailing-list/ns-mailing-list-workspace-context-token.d.ts +0 -0
- package/dist/modules/mailing-list/ns-mailing-list-workspace-modal.token.d.ts +5 -0
- package/dist/modules/mailing-list/ns-mailing-list-workspace.context.d.ts +17 -0
- package/dist/modules/manifest.d.ts +1 -0
- package/dist/modules/property-editors/index.d.ts +0 -0
- package/dist/modules/property-editors/mailing-list-picker/manifest.d.ts +2 -0
- package/dist/modules/property-editors/mailing-list-picker/ns-mailing-list-picker-property-editor.element.d.ts +33 -0
- package/dist/modules/property-editors/manifest.d.ts +1 -0
- package/dist/modules/property-editors/transactional-email-picker/manifest.d.ts +2 -0
- package/dist/modules/property-editors/transactional-email-picker/ns-transactional-email-picker-editor.element.d.ts +31 -0
- package/dist/modules/recipient/edit/actions/ns-recipient-remove.action.d.ts +6 -0
- package/dist/modules/recipient/edit/components/ns-recipient-subscriptions.element.d.ts +27 -0
- package/dist/modules/recipient/edit/manifest.d.ts +2 -0
- package/dist/modules/recipient/edit/ns-recipient-edit.element.d.ts +29 -0
- package/dist/modules/recipient/entity.d.ts +1 -0
- package/dist/modules/recipient/features/ns-recipient-export-downloader.d.ts +3 -0
- package/dist/modules/recipient/index.d.ts +4 -0
- package/dist/modules/recipient/list/actions/ns-recipients-export.action.d.ts +6 -0
- package/dist/modules/recipient/list/manifest.d.ts +2 -0
- package/dist/modules/recipient/list/ns-recipient-list.element.d.ts +27 -0
- package/dist/modules/recipient/manifest.d.ts +2 -0
- package/dist/modules/recipient/ns-recipient-workspace-modal.token.d.ts +5 -0
- package/dist/modules/recipient/ns-recipient-workspace.context.d.ts +17 -0
- package/dist/modules/settings/edit/ns-settings-edit.element.d.ts +21 -0
- package/dist/modules/settings/entity.d.ts +1 -0
- package/dist/modules/settings/index.d.ts +2 -0
- package/dist/modules/settings/manifest.d.ts +2 -0
- package/dist/modules/settings/ns-settings-workspace.context.d.ts +17 -0
- package/dist/modules/transactional/activities/components/ns-transactional-log.element.d.ts +28 -0
- package/dist/modules/transactional/activities/details/ns-transactional-email-details.element.d.ts +24 -0
- package/dist/modules/transactional/activities/message/ns-transactional-view-message.element.d.ts +26 -0
- package/dist/modules/transactional/activities/ns-transactional-all-activities.element.d.ts +22 -0
- package/dist/modules/transactional/entity.d.ts +2 -0
- package/dist/modules/transactional/index.d.ts +3 -0
- package/dist/modules/transactional/manifest.d.ts +2 -0
- package/dist/modules/transactional/ns-transactional-workspace-modal.token.d.ts +8 -0
- package/dist/modules/transactional/ns-transactional-workspace.context.d.ts +17 -0
- package/dist/modules/transactional/template/create/ns-transactional-template-create.element.d.ts +19 -0
- package/dist/modules/transactional/template/edit/actions/ns-transactional-remove.action.d.ts +6 -0
- package/dist/modules/transactional/template/edit/activities/ns-transactional-template-edit-activities.element.d.ts +20 -0
- package/dist/modules/transactional/template/edit/manifest.d.ts +2 -0
- package/dist/modules/transactional/template/edit/ns-transactional-template-edit.context.d.ts +42 -0
- package/dist/modules/transactional/template/edit/ns-transactional-template-edit.element.d.ts +28 -0
- package/dist/modules/transactional/template/edit/settings/modal/manifest.d.ts +0 -0
- package/dist/modules/transactional/template/edit/settings/modal/models.d.ts +0 -0
- package/dist/modules/transactional/template/edit/settings/modal/ns-transactional-template-email-designer.context.d.ts +11 -0
- package/dist/modules/transactional/template/edit/settings/modal/ns-transactional-template-email-designer.element.d.ts +21 -0
- package/dist/modules/transactional/template/edit/settings/modal/steps/ns-transactional-template-edit-design.element.d.ts +23 -0
- package/dist/modules/transactional/template/edit/settings/modal/steps/ns-transactional-template-edit-information.element.d.ts +28 -0
- package/dist/modules/transactional/template/edit/settings/modal/steps/ns-transactional-template-edit-preview.element.d.ts +20 -0
- package/dist/modules/transactional/template/edit/settings/ns-transactional-template-edit-settings.element.d.ts +25 -0
- package/dist/modules/transactional/template/list/ns-transactional-template-list.element.d.ts +26 -0
- package/dist/modules/transactional/template/manifest.d.ts +1 -0
- package/dist/section-tree.element.d.ts +12 -0
- package/dist/section.d.ts +1 -0
- package/package.json +35 -0
- package/readme.md +74 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { UmbMediaItemModel } from '@umbraco-cms/backoffice/media';
|
|
2
|
+
import type { UmbDocumentItemModel } from '@umbraco-cms/backoffice/document';
|
|
3
|
+
import { LitElement } from '@newsletterstudio/umbraco/lit';
|
|
4
|
+
import type { NsMergeFieldGroup } from '../../../modules/email-editor/ns-email-editor-context.models.js';
|
|
5
|
+
type NsActiveTab = "content" | "media" | "url" | "field";
|
|
6
|
+
declare const NsLinkPickerElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/element-api").UmbElement> & typeof LitElement;
|
|
7
|
+
/**
|
|
8
|
+
* ns-link-picker description
|
|
9
|
+
* @element ns-link-picker
|
|
10
|
+
* @fires CustomEvent#change - lorem ipsum
|
|
11
|
+
* @cssprop --ns-foo-bar - Color of lorem
|
|
12
|
+
*/
|
|
13
|
+
export declare class NsLinkPickerElement extends NsLinkPickerElement_base {
|
|
14
|
+
#private;
|
|
15
|
+
/**
|
|
16
|
+
* Description
|
|
17
|
+
*/
|
|
18
|
+
value?: string;
|
|
19
|
+
mergeFields: NsMergeFieldGroup[];
|
|
20
|
+
activeTab: NsActiveTab;
|
|
21
|
+
/** Reusable loading state, eg. when document/media infor is fetched from server. */
|
|
22
|
+
loading: boolean;
|
|
23
|
+
_selectedDocument?: UmbDocumentItemModel;
|
|
24
|
+
_selectedMedia?: UmbMediaItemModel;
|
|
25
|
+
_urlInputValue: string;
|
|
26
|
+
_selectedMergeField: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
constructor();
|
|
31
|
+
connectedCallback(): Promise<void>;
|
|
32
|
+
protected updated(_changedProperties: Map<PropertyKey, unknown>): void;
|
|
33
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
34
|
+
static styles: import("lit").CSSResult[];
|
|
35
|
+
}
|
|
36
|
+
export default NsLinkPickerElement;
|
|
37
|
+
export declare class NsLinkChangeEvent extends Event {
|
|
38
|
+
link: string;
|
|
39
|
+
constructor(link: string);
|
|
40
|
+
}
|
|
41
|
+
declare global {
|
|
42
|
+
interface HTMLElementTagNameMap {
|
|
43
|
+
'ns-link-picker': NsLinkPickerElement;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import type { MailingListPickerWorkspaceItemFrontendModel, MailingListPropertyEditorSelectionFrontendModel, MailingListPropertyEditorValueModel } from '@newsletterstudio/umbraco/backend';
|
|
3
|
+
declare const NsMailingListPickerElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/validation").UmbFormControlMixinElement<MailingListPropertyEditorValueModel[]>> & typeof UmbLitElement;
|
|
4
|
+
/**
|
|
5
|
+
* ns-mailing-list-picker description
|
|
6
|
+
* @element ns-mailing-list-picker
|
|
7
|
+
* @fires CustomEvent#change - When selection changes
|
|
8
|
+
*/
|
|
9
|
+
export declare class NsMailingListPickerElement extends NsMailingListPickerElement_base {
|
|
10
|
+
#private;
|
|
11
|
+
min: number;
|
|
12
|
+
max: number;
|
|
13
|
+
_value: MailingListPropertyEditorValueModel[];
|
|
14
|
+
set value(value: MailingListPropertyEditorValueModel[] | undefined);
|
|
15
|
+
get value(): MailingListPropertyEditorValueModel[] | undefined;
|
|
16
|
+
_workspaces?: MailingListPickerWorkspaceItemFrontendModel[];
|
|
17
|
+
/** Holds the local "state" for listing items in the component, the value-property will be updated with parts of this information */
|
|
18
|
+
_model: NsMailingListPickerSortableListItem[];
|
|
19
|
+
constructor();
|
|
20
|
+
connectedCallback(): Promise<void>;
|
|
21
|
+
updateModel(selections?: MailingListPropertyEditorValueModel[]): Promise<void>;
|
|
22
|
+
fetchUpdateFromServer(selections?: MailingListPropertyEditorValueModel[]): Promise<void>;
|
|
23
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
24
|
+
static styles: import("lit").CSSResult[];
|
|
25
|
+
}
|
|
26
|
+
export default NsMailingListPickerElement;
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'ns-mailing-list-picker': NsMailingListPickerElement;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
type NsMailingListPickerSortableListItem = MailingListPropertyEditorSelectionFrontendModel & {
|
|
33
|
+
unique: string;
|
|
34
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { LitElement } from "@newsletterstudio/umbraco/lit";
|
|
2
|
+
/**
|
|
3
|
+
* @element ns-numeric-input
|
|
4
|
+
* @fires CustomEvent#change - fires when the element is clicked
|
|
5
|
+
* @cssprop --ns-button-color - Sets the button color
|
|
6
|
+
* @cssprop --ns-button-background-color - Sets the button background color
|
|
7
|
+
* @cssprop --ns-button-color-hover - Sets the button color on hover
|
|
8
|
+
* @cssprop --ns-button-background-color-hover - Sets the button background color on hover
|
|
9
|
+
* @cssprop --ns-control-border-width - Sets the border width
|
|
10
|
+
* @cssprop --ns-control-border-color - Set the border color
|
|
11
|
+
* @cssprop --ns-control-border-color-hover - Set the hover border color
|
|
12
|
+
* @cssprop --ns-color-border - Fallback for border colors
|
|
13
|
+
*/
|
|
14
|
+
export declare class NsNumericInputElement extends LitElement {
|
|
15
|
+
/**
|
|
16
|
+
* Holds the value
|
|
17
|
+
* @type {number}
|
|
18
|
+
* @attr
|
|
19
|
+
* @default 0
|
|
20
|
+
*/
|
|
21
|
+
value: number;
|
|
22
|
+
/**
|
|
23
|
+
* Label for the value
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @attr
|
|
26
|
+
*/
|
|
27
|
+
label: string;
|
|
28
|
+
/**
|
|
29
|
+
* Sets the minimum value that can be picked
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @attr
|
|
32
|
+
*/
|
|
33
|
+
min: number;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the maximum value that can be picked
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @attr
|
|
38
|
+
*/
|
|
39
|
+
max: number;
|
|
40
|
+
private _handleKeyDown;
|
|
41
|
+
private _handleKeyPress;
|
|
42
|
+
private _handleKeyUp;
|
|
43
|
+
private _handleUp;
|
|
44
|
+
private _handleDown;
|
|
45
|
+
_handleTextboxClick(e: MouseEvent): void;
|
|
46
|
+
private _setValue;
|
|
47
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
48
|
+
static styles: import("lit").CSSResult[];
|
|
49
|
+
}
|
|
50
|
+
declare global {
|
|
51
|
+
interface HTMLElementTagNameMap {
|
|
52
|
+
'ns-numeric-input': NsNumericInputElement;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { LitElement } from "@newsletterstudio/umbraco/lit";
|
|
2
|
+
import './../ns-numeric-input/ns-numeric-input.element.js';
|
|
3
|
+
/**
|
|
4
|
+
* @element ns-padding-editor
|
|
5
|
+
* @description - Control for editing padding/margin for an element (top,right,bottom,left)
|
|
6
|
+
* @fires CustomEvent#change - fires when the element is clicked
|
|
7
|
+
* @cssprop --ns-button-color - Sets the button color
|
|
8
|
+
* @cssprop --ns-button-background-color - Sets the button background color
|
|
9
|
+
* @cssprop --ns-button-color-hover - Sets the button color on hover
|
|
10
|
+
* @cssprop --ns-button-background-color-hover - Sets the button background color on hover
|
|
11
|
+
* @cssprop --ns-control-border-width - Sets the border width
|
|
12
|
+
* @cssprop --ns-control-border-color - Set the border color
|
|
13
|
+
* @cssprop --ns-control-border-color-hover - Set the hover border color
|
|
14
|
+
* @cssprop --ns-color-border - Fallback for border colors
|
|
15
|
+
*/
|
|
16
|
+
export declare class NsPaddingEditorElement extends LitElement {
|
|
17
|
+
/**
|
|
18
|
+
* Holds the value for top
|
|
19
|
+
* @type {number}
|
|
20
|
+
* @attr
|
|
21
|
+
* @default 0
|
|
22
|
+
*/
|
|
23
|
+
top: number;
|
|
24
|
+
/**
|
|
25
|
+
* Holds the value for right
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @attr
|
|
28
|
+
* @default 0
|
|
29
|
+
*/
|
|
30
|
+
right: number;
|
|
31
|
+
/**
|
|
32
|
+
* Holds the value for bottom
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @attr
|
|
35
|
+
* @default 0
|
|
36
|
+
*/
|
|
37
|
+
bottom: number;
|
|
38
|
+
/**
|
|
39
|
+
* Holds the value for left
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @attr
|
|
42
|
+
* @default 0
|
|
43
|
+
*/
|
|
44
|
+
left: number;
|
|
45
|
+
get value(): IPaddingValue;
|
|
46
|
+
set value(padding: IPaddingValue);
|
|
47
|
+
private expanded;
|
|
48
|
+
connectedCallback(): void;
|
|
49
|
+
private _setAllToSame;
|
|
50
|
+
private _handleToggle;
|
|
51
|
+
private _handleAllChange;
|
|
52
|
+
private _handleTopChange;
|
|
53
|
+
private _handleRightChange;
|
|
54
|
+
private _handleBottomChange;
|
|
55
|
+
private _handleLeftChange;
|
|
56
|
+
private _dispatchChange;
|
|
57
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
58
|
+
static styles: import("lit").CSSResult[];
|
|
59
|
+
}
|
|
60
|
+
export declare class NsPaddingChangedEvent extends CustomEvent<IPaddingValue> {
|
|
61
|
+
constructor(paddingValue: IPaddingValue);
|
|
62
|
+
}
|
|
63
|
+
interface IPaddingValue {
|
|
64
|
+
top: number;
|
|
65
|
+
right: number;
|
|
66
|
+
bottom: number;
|
|
67
|
+
left: number;
|
|
68
|
+
}
|
|
69
|
+
declare global {
|
|
70
|
+
interface HTMLElementTagNameMap {
|
|
71
|
+
'ns-padding-editor': NsPaddingEditorElement;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { NsPropertyLook } from '@newsletterstudio/umbraco/components';
|
|
2
|
+
import { LitElement } from '@newsletterstudio/umbraco/lit';
|
|
3
|
+
declare const NsPropertyGroupElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/element-api").UmbElement> & typeof LitElement;
|
|
4
|
+
/**
|
|
5
|
+
* The component is used to wrap properties that needs a label.
|
|
6
|
+
* @element ns-property-group
|
|
7
|
+
* @fires CustomEvent#change - lorem ipsum
|
|
8
|
+
* @cssprop --ns-foo-bar - Color of lorem
|
|
9
|
+
*/
|
|
10
|
+
export declare class NsPropertyGroupElement extends NsPropertyGroupElement_base {
|
|
11
|
+
#private;
|
|
12
|
+
/**
|
|
13
|
+
* Label for the property group
|
|
14
|
+
*/
|
|
15
|
+
label: string;
|
|
16
|
+
description: string;
|
|
17
|
+
look: NsPropertyLook;
|
|
18
|
+
noDivider: boolean;
|
|
19
|
+
required: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Holds state to indicate if there are any nested ns-property-groups inside the slot of this group.
|
|
22
|
+
*/
|
|
23
|
+
_hasNestedPropertyGroups: boolean;
|
|
24
|
+
isLastPropertyElement: boolean;
|
|
25
|
+
constructor();
|
|
26
|
+
connectedCallback(): void;
|
|
27
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
28
|
+
static styles: import("lit").CSSResult[];
|
|
29
|
+
}
|
|
30
|
+
export default NsPropertyGroupElement;
|
|
31
|
+
declare global {
|
|
32
|
+
interface HTMLElementTagNameMap {
|
|
33
|
+
'ns-property-group': NsPropertyGroupElement;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { NsPropertyLook } from '@newsletterstudio/umbraco/components';
|
|
2
|
+
import { LitElement } from '@newsletterstudio/umbraco/lit';
|
|
3
|
+
declare const NsPropertyElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/element-api").UmbElement> & typeof LitElement;
|
|
4
|
+
/**
|
|
5
|
+
* The ns-property can be placed inside any ns-property-group or inside any other html element.
|
|
6
|
+
* For the automatic responsive UI to work a wrapper needs to have the css property `container-type:inline-size;`
|
|
7
|
+
* @element ns-property
|
|
8
|
+
* @fires CustomEvent#change - lorem ipsum
|
|
9
|
+
* @cssprop --ns-foo-bar - Color of lorem
|
|
10
|
+
*/
|
|
11
|
+
export declare class NsPropertyElement extends NsPropertyElement_base {
|
|
12
|
+
#private;
|
|
13
|
+
/**
|
|
14
|
+
* Label for the property
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
description: string;
|
|
18
|
+
required: boolean;
|
|
19
|
+
look: NsPropertyLook;
|
|
20
|
+
noDivider: boolean;
|
|
21
|
+
stack: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Used to override automatic detection if this is the last ns-property or ns-property-group in a list.
|
|
24
|
+
*/
|
|
25
|
+
notLast: boolean;
|
|
26
|
+
isLastPropertyElement: boolean;
|
|
27
|
+
constructor();
|
|
28
|
+
connectedCallback(): void;
|
|
29
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
30
|
+
static styles: import("lit").CSSResult[];
|
|
31
|
+
}
|
|
32
|
+
export default NsPropertyElement;
|
|
33
|
+
declare global {
|
|
34
|
+
interface HTMLElementTagNameMap {
|
|
35
|
+
'ns-property': NsPropertyElement;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type NsPropertyLook = 'bold' | 'normal';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import type { NsCheckboxListChangedEvent } from '../ns-checkbox-list/ns-checkbox-list.element.js';
|
|
3
|
+
import { type RecipientListProviderResponseFrontendModel } from '@newsletterstudio/umbraco/backend';
|
|
4
|
+
declare const NsRecipientListPickerElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/validation").UmbFormControlMixinElement<string[]>> & typeof UmbLitElement;
|
|
5
|
+
/**
|
|
6
|
+
* ns-recipient-list-picker description
|
|
7
|
+
* @element ns-recipient-list-picker
|
|
8
|
+
* @fires CustomEvent#change - when the element is updated
|
|
9
|
+
*/
|
|
10
|
+
export declare class NsRecipientListPickerElement extends NsRecipientListPickerElement_base {
|
|
11
|
+
workspaceKey: string;
|
|
12
|
+
_providers?: RecipientListProviderResponseFrontendModel[];
|
|
13
|
+
_state: Map<string, string[]>;
|
|
14
|
+
connectedCallback(): Promise<void>;
|
|
15
|
+
handleCheckboxListChange(e: NsCheckboxListChangedEvent): void;
|
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
static styles: import("lit").CSSResult[];
|
|
18
|
+
}
|
|
19
|
+
export default NsRecipientListPickerElement;
|
|
20
|
+
declare global {
|
|
21
|
+
interface HTMLElementTagNameMap {
|
|
22
|
+
'ns-recipient-list-picker': NsRecipientListPickerElement;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LitElement } from '@newsletterstudio/umbraco/lit';
|
|
2
|
+
export type Option = {
|
|
3
|
+
value: string;
|
|
4
|
+
name: string;
|
|
5
|
+
};
|
|
6
|
+
declare const NsSelectElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/element-api").UmbElement> & (new (...args: any[]) => import("@umbraco-ui/uui-base").UUIFormControlMixinElement<string>) & typeof LitElement;
|
|
7
|
+
/**
|
|
8
|
+
* ns-select description
|
|
9
|
+
* @element ns-select
|
|
10
|
+
* @fires CustomEvent#change - Fires when the selected item changes.
|
|
11
|
+
* @cssprop --ns-foo-bar - Color of lorem
|
|
12
|
+
*/
|
|
13
|
+
export declare class NsSelectElement extends NsSelectElement_base {
|
|
14
|
+
#private;
|
|
15
|
+
_selectElement: HTMLSelectElement;
|
|
16
|
+
options: Option[];
|
|
17
|
+
placeholder?: string | undefined;
|
|
18
|
+
required: boolean;
|
|
19
|
+
getFormElement(): HTMLSelectElement;
|
|
20
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
21
|
+
static styles: import("lit").CSSResult[];
|
|
22
|
+
}
|
|
23
|
+
export default NsSelectElement;
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLElementTagNameMap {
|
|
26
|
+
'ns-select': NsSelectElement;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LitElement } from '@umbraco-cms/backoffice/external/lit';
|
|
2
|
+
import '@newsletterstudio/umbraco/components';
|
|
3
|
+
/**
|
|
4
|
+
* ns-sending-progress
|
|
5
|
+
*/
|
|
6
|
+
export declare class NsSendingProgressElement extends LitElement {
|
|
7
|
+
total?: number;
|
|
8
|
+
processed?: number;
|
|
9
|
+
headline?: string;
|
|
10
|
+
text?: string;
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
static styles: import("lit").CSSResult[];
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
'ns-sending-progress': NsSendingProgressElement;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LitElement } from '@newsletterstudio/umbraco/lit';
|
|
2
|
+
import '@umbraco-cms/backoffice/components';
|
|
3
|
+
declare const NsSizeElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/element-api").UmbElement> & typeof LitElement;
|
|
4
|
+
/**
|
|
5
|
+
* ns-align description
|
|
6
|
+
* @element ns-align
|
|
7
|
+
* @fires NsASizeChangeEvent#change - Fired when selection changes
|
|
8
|
+
*/
|
|
9
|
+
export declare class NsSizeElement extends NsSizeElement_base {
|
|
10
|
+
/**
|
|
11
|
+
* Description
|
|
12
|
+
*/
|
|
13
|
+
value: NsSizeValue;
|
|
14
|
+
setValue(value: NsSizeValue): void;
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
static styles: import("lit").CSSResult[];
|
|
17
|
+
}
|
|
18
|
+
export default NsSizeElement;
|
|
19
|
+
export declare class NsSizeChangeEvent extends Event {
|
|
20
|
+
value: string;
|
|
21
|
+
constructor(value: string);
|
|
22
|
+
}
|
|
23
|
+
export type NsSizeValue = 'small' | 'medium' | 'large';
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLElementTagNameMap {
|
|
26
|
+
'ns-size': NsSizeElement;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '@newsletterstudio/umbraco/components';
|
|
3
|
+
/**
|
|
4
|
+
* ns-stats-box
|
|
5
|
+
*/
|
|
6
|
+
export declare class NsStatsBoxElement extends LitElement {
|
|
7
|
+
/** The headline */
|
|
8
|
+
heading?: string;
|
|
9
|
+
/** Number to be shown */
|
|
10
|
+
number?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
static styles: import("lit").CSSResult;
|
|
14
|
+
}
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'ns-stats-box': NsStatsBoxElement;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement } from '@umbraco-cms/backoffice/external/lit';
|
|
2
|
+
/**
|
|
3
|
+
* ns-stats-bullet
|
|
4
|
+
*/
|
|
5
|
+
export declare class NsStatsBulletElement extends LitElement {
|
|
6
|
+
color: string;
|
|
7
|
+
headline: string;
|
|
8
|
+
text: string;
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
'ns-stats-bullet': NsStatsBulletElement;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* ns-timeline-date
|
|
4
|
+
*/
|
|
5
|
+
export declare class NsTimelineDateElement extends LitElement {
|
|
6
|
+
date: string;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
static styles: import("lit").CSSResult[];
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
'ns-timeline-date': NsTimelineDateElement;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import '@newsletterstudio/umbraco/components';
|
|
3
|
+
import './ns-timeline-icon.element.js';
|
|
4
|
+
export type NsTimelineEventType = undefined | 'default' | 'campaign-delivered' | 'campaign-opened' | 'campaign-clicked' | 'campaign-view-in-browser' | 'campaign-delivery-error' | 'mailinglist-subscribed' | 'mailinglist-unsubscribed' | 'recipient-added' | 'transactional-delivered' | 'transactional-opened' | 'transactional-clicked' | 'transactional-error';
|
|
5
|
+
/**
|
|
6
|
+
* ns-timeline-event
|
|
7
|
+
*/
|
|
8
|
+
export declare class NsTimelineEventElement extends UmbLitElement {
|
|
9
|
+
type: NsTimelineEventType;
|
|
10
|
+
date: string;
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
static styles: import("lit").CSSResult[];
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
'ns-timeline-event': NsTimelineEventElement;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import type { NsTimelineEventType } from './ns-timeline-event.element.js';
|
|
3
|
+
/**
|
|
4
|
+
* ns-timeline-icon
|
|
5
|
+
*/
|
|
6
|
+
export declare class NsTimelineIconElement extends UmbLitElement {
|
|
7
|
+
#private;
|
|
8
|
+
look: NsTimelineEventType;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
constructor();
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
static styles: import("lit").CSSResult[];
|
|
15
|
+
}
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'ns-timeline-icon': NsTimelineIconElement;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from '@umbraco-cms/backoffice/external/lit';
|
|
2
|
+
/**
|
|
3
|
+
* ns-timeline
|
|
4
|
+
*/
|
|
5
|
+
export declare class NsTimelineElement extends LitElement {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
static styles: import("lit").CSSResult;
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
'ns-timeline': NsTimelineElement;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import type { TransactionalEmailPickerWorkspaceFrontendModel, TransactionalEmailPropertyEditorSelectionFrontendModel, TransactionalEmailPropertyEditorValueModel } from '@newsletterstudio/umbraco/backend';
|
|
3
|
+
declare const NsTransactionalEmailPickerElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/validation").UmbFormControlMixinElement<TransactionalEmailPropertyEditorValueModel[]>> & typeof UmbLitElement;
|
|
4
|
+
/**
|
|
5
|
+
* ns-mailing-list-picker description
|
|
6
|
+
* @element ns-mailing-list-picker
|
|
7
|
+
* @fires CustomEvent#change - When selection changes
|
|
8
|
+
*/
|
|
9
|
+
export declare class NsTransactionalEmailPickerElement extends NsTransactionalEmailPickerElement_base {
|
|
10
|
+
#private;
|
|
11
|
+
min: number;
|
|
12
|
+
max: number;
|
|
13
|
+
_value: TransactionalEmailPropertyEditorValueModel[];
|
|
14
|
+
set value(value: TransactionalEmailPropertyEditorValueModel[] | undefined);
|
|
15
|
+
get value(): TransactionalEmailPropertyEditorValueModel[] | undefined;
|
|
16
|
+
_workspaces?: TransactionalEmailPickerWorkspaceFrontendModel[];
|
|
17
|
+
/** Holds the local "state" for listing items in the component, the value-property will be updated with parts of this information */
|
|
18
|
+
_model: NsTransactionalEmailPickerSortableListItem[];
|
|
19
|
+
constructor();
|
|
20
|
+
connectedCallback(): Promise<void>;
|
|
21
|
+
updateModel(selections?: TransactionalEmailPropertyEditorValueModel[]): Promise<void>;
|
|
22
|
+
fetchUpdateFromServer(selections?: TransactionalEmailPropertyEditorValueModel[]): Promise<void>;
|
|
23
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
24
|
+
static styles: import("lit").CSSResult[];
|
|
25
|
+
}
|
|
26
|
+
export default NsTransactionalEmailPickerElement;
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'ns-transactional-email-picker': NsTransactionalEmailPickerElement;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
type NsTransactionalEmailPickerSortableListItem = TransactionalEmailPropertyEditorSelectionFrontendModel & {
|
|
33
|
+
unique: string;
|
|
34
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LitElement } from '@newsletterstudio/umbraco/lit';
|
|
2
|
+
import type { TemplateResult } from '@newsletterstudio/umbraco/lit';
|
|
3
|
+
import type { TreeItemModel } from '@newsletterstudio/umbraco/backend';
|
|
4
|
+
type RenderedTreeItemModel = TreeItemModel & {
|
|
5
|
+
active: boolean;
|
|
6
|
+
showChildren: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const NsTreeMenuElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/element-api").UmbElement> & typeof LitElement;
|
|
9
|
+
/**
|
|
10
|
+
* ns-tree-menu description
|
|
11
|
+
* @element ns-tree-menu
|
|
12
|
+
*/
|
|
13
|
+
export declare class NsTreeMenuElement extends NsTreeMenuElement_base {
|
|
14
|
+
#private;
|
|
15
|
+
items?: RenderedTreeItemModel[];
|
|
16
|
+
constructor();
|
|
17
|
+
connectedCallback(): Promise<void>;
|
|
18
|
+
getAncestorMenuItems(menuItem: RenderedTreeItemModel): RenderedTreeItemModel[];
|
|
19
|
+
render(): TemplateResult<1>;
|
|
20
|
+
renderMenuItem(menuItem: RenderedTreeItemModel): TemplateResult;
|
|
21
|
+
static styles: import("lit").CSSResult[];
|
|
22
|
+
}
|
|
23
|
+
export default NsTreeMenuElement;
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLElementTagNameMap {
|
|
26
|
+
'ns-tree-menu': NsTreeMenuElement;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { UmbInputTinyMceElement } from '@umbraco-cms/backoffice/tiny-mce';
|
|
2
|
+
import { UmbPropertyEditorConfigCollection } from "@umbraco-cms/backoffice/property-editor";
|
|
3
|
+
import { LitElement } from "@newsletterstudio/umbraco/lit";
|
|
4
|
+
import '@umbraco-cms/backoffice/components';
|
|
5
|
+
import '@umbraco-cms/backoffice/tiny-mce';
|
|
6
|
+
declare const NsUmbDemoElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/element-api").UmbElement> & typeof LitElement;
|
|
7
|
+
export declare class NsUmbDemoElement extends NsUmbDemoElement_base {
|
|
8
|
+
counter: number;
|
|
9
|
+
html: string;
|
|
10
|
+
rte: UmbInputTinyMceElement;
|
|
11
|
+
onClickLoadData(): void;
|
|
12
|
+
onRteChange(e: InputEvent): void;
|
|
13
|
+
onTinyInit(e: Event): void;
|
|
14
|
+
getTinyMceConfig(): UmbPropertyEditorConfigCollection;
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
static styles: import("lit").CSSResult[];
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'ns-umb-demo': NsUmbDemoElement;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export {};
|
package/dist/core/components/ns-validation-errors-debug/ns-validation-errors-debug.element.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { UmbValidationController } from '@umbraco-cms/backoffice/validation';
|
|
2
|
+
import { LitElement } from '@newsletterstudio/umbraco/lit';
|
|
3
|
+
declare const NsValidationErrorsDebugElement_base: import("@umbraco-cms/backoffice/extension-api").HTMLElementConstructor<import("@umbraco-cms/backoffice/element-api").UmbElement> & typeof LitElement;
|
|
4
|
+
/**
|
|
5
|
+
* ns-validation-errors-debug description
|
|
6
|
+
* @element ns-validation-errors-debug
|
|
7
|
+
*/
|
|
8
|
+
export declare class NsValidationErrorsDebugElement extends NsValidationErrorsDebugElement_base {
|
|
9
|
+
validationContext?: UmbValidationController;
|
|
10
|
+
_validationErrors: any[];
|
|
11
|
+
constructor();
|
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
static styles: import("lit").CSSResult[];
|
|
14
|
+
}
|
|
15
|
+
export default NsValidationErrorsDebugElement;
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'ns-validation-errors-debug': NsValidationErrorsDebugElement;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type CountedOperation = {
|
|
2
|
+
name: string;
|
|
3
|
+
occurrences: number;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Class used for debugging and measuring re-rendering and other operations.
|
|
7
|
+
* Call "count('message')" every time a operation occours, "output()" will group and count them.
|
|
8
|
+
*/
|
|
9
|
+
export declare class NsOperationsCounter {
|
|
10
|
+
operations: CountedOperation[];
|
|
11
|
+
count(name: string): void;
|
|
12
|
+
reset(): void;
|
|
13
|
+
output(): void;
|
|
14
|
+
}
|
|
15
|
+
export declare const operation: NsOperationsCounter;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UmbControllerBase } from "@umbraco-cms/backoffice/class-api";
|
|
2
|
+
import { UmbControllerHost } from "@umbraco-cms/backoffice/controller-api";
|
|
3
|
+
import { UmbElement } from "@umbraco-cms/backoffice/element-api";
|
|
4
|
+
import { ManifestElementAndApi, UmbApi } from "@umbraco-cms/backoffice/extension-api";
|
|
5
|
+
import { UmbLocalizationController } from "@umbraco-cms/backoffice/localization-api";
|
|
6
|
+
export interface ManifestNsAction extends ManifestElementAndApi<UmbElement, NsAction<any>> {
|
|
7
|
+
type: 'nsAction';
|
|
8
|
+
meta: MetaNsAction;
|
|
9
|
+
}
|
|
10
|
+
export interface MetaNsAction {
|
|
11
|
+
entityType: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}
|
|
14
|
+
export declare abstract class NsAction<TArgs> extends UmbControllerBase implements UmbApi {
|
|
15
|
+
localize: UmbLocalizationController;
|
|
16
|
+
args: TArgs;
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new instance of the action API. This ctor should only be called by the extension API.
|
|
19
|
+
* @param host Controller host
|
|
20
|
+
* @param args Generic arguments that the using code should provide (see ns-action-dropdown.element.ts for example where createExtensionApi() is used to pass the arguments)
|
|
21
|
+
*/
|
|
22
|
+
constructor(host: UmbControllerHost, args: TArgs);
|
|
23
|
+
abstract execute(): Promise<void>;
|
|
24
|
+
destroy(): void;
|
|
25
|
+
}
|
|
26
|
+
export type NsWorkspaceActionArgs = {
|
|
27
|
+
workspaceKey: string;
|
|
28
|
+
};
|
|
29
|
+
export type NsEntityActionArgs = NsWorkspaceActionArgs & {
|
|
30
|
+
/** Entity key where the action applies */
|
|
31
|
+
key: string;
|
|
32
|
+
name: string;
|
|
33
|
+
};
|