@sdcorejs/angular 20.3.0 → 20.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/components/file-explorer/index.d.ts +447 -57
- package/components/form-generic/index.d.ts +58 -5
- package/components/index.d.ts +1 -0
- package/components/kanban/index.d.ts +179 -0
- package/components/section/index.d.ts +2 -1
- package/components/tab/index.d.ts +3 -1
- package/fesm2022/sdcorejs-angular-components-button.mjs +2 -2
- package/fesm2022/sdcorejs-angular-components-button.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-file-explorer.mjs +2162 -90
- package/fesm2022/sdcorejs-angular-components-file-explorer.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs +638 -35
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-kanban.mjs +441 -0
- package/fesm2022/sdcorejs-angular-components-kanban.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-components-section.mjs +5 -4
- package/fesm2022/sdcorejs-angular-components-section.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-stepper.mjs +5 -1
- package/fesm2022/sdcorejs-angular-components-stepper.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-tab.mjs +12 -4
- package/fesm2022/sdcorejs-angular-components-tab.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components.mjs +1 -0
- package/fesm2022/sdcorejs-angular-components.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-segmented.mjs +244 -0
- package/fesm2022/sdcorejs-angular-forms-segmented.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-forms.mjs +8 -0
- package/fesm2022/sdcorejs-angular-forms.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-i18n.mjs +300 -0
- package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-services-confirm.mjs +2 -2
- package/forms/index.d.ts +8 -6
- package/forms/segmented/index.d.ts +90 -0
- package/i18n/index.d.ts +59 -0
- package/package.json +9 -1
|
@@ -70,11 +70,11 @@ class DialogConfirmComponent {
|
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DialogConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
73
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: DialogConfirmComponent, isStandalone: true, selector: "sd-dialog-confirm", ngImport: i0, template: "<div mat-dialog-content class=\"sd-dialog-confirm__content\" [class.sd-dialog-confirm__content--radio]=\"data.radio\">\n <div class=\"sd-dialog-confirm__header\">\n <span class=\"sd-dialog-confirm__icon\" aria-hidden=\"true\" [attr.data-icon]=\"resolvedIcon\" [attr.data-tone]=\"iconTone\" [attr.data-icon-shape]=\"iconShape\">\n <sd-icon [name]=\"resolvedIcon\" size=\"22px\"></sd-icon>\n </span>\n <div class=\"sd-dialog-confirm__copy\">\n <h2 mat-dialog-title class=\"sd-dialog-confirm__title\" [innerHtml]=\"data.title || 'Confirm'\"></h2>\n @if (data.message) {\n <div class=\"sd-dialog-confirm__message\" [innerHtml]=\"data.message\"></div>\n }\n </div>\n </div>\n @if (hasFields) {\n <div class=\"sd-dialog-confirm__fields\">\n @if (data.input) {\n <sd-textarea\n [label]=\"data.input.label\"\n [placeholder]=\"data.input.placeholder\"\n [(model)]=\"value\"\n [rows]=\"3\"\n [required]=\"data.input.required\"\n [maxlength]=\"data.input.maxlength!\" />\n }\n @if (data.select) {\n <sd-select\n [placeholder]=\"data.select.placeholder\"\n [items]=\"data.select.items\"\n [valueField]=\"data.select.valueField\"\n [displayField]=\"data.select.displayField\"\n [multiple]=\"data.select.multiple\"\n [(model)]=\"value\"\n [required]=\"data.select.required\">\n </sd-select>\n }\n @if (data.date) {\n <sd-date\n [placeholder]=\"data.date.placeholder\"\n [(model)]=\"value\"\n type=\"date\"\n [min]=\"data.date.min!\"\n [max]=\"data.date.max!\"\n [required]=\"data.date.required\">\n </sd-date>\n }\n @if (data.datetime) {\n <sd-datetime\n [placeholder]=\"data.datetime.placeholder\"\n [(model)]=\"value\"\n [min]=\"data.datetime.min!\"\n [max]=\"data.datetime.max!\"\n [showSeconds]=\"data.datetime.showSeconds\"\n [required]=\"data.datetime.required\">\n </sd-datetime>\n }\n @if (data.radio) {\n <sd-radio\n [items]=\"data.radio.items\"\n [valueField]=\"data.radio.valueField\"\n [displayField]=\"data.radio.displayField\"\n [display]=\"data.radio.display || 'column'\"\n [(model)]=\"value\"\n [required]=\"data.radio.required\">\n </sd-radio>\n }\n </div>\n }\n</div>\n<div mat-dialog-actions align=\"end\" class=\"sd-dialog-confirm__actions\">\n @if (data.noTitle) {\n <sd-button\n data-confirm-cancel\n size=\"sm\"\n type=\"light\"\n htmlType=\"button\"\n [color]=\"data.noButtonColor || 'secondary'\"\n [title]=\"data.noTitle\"\n (click)=\"onCancel()\"></sd-button>\n }\n @if (data.yesTitle) {\n <sd-button\n data-confirm-accept\n size=\"sm\"\n type=\"fill\"\n htmlType=\"button\"\n [color]=\"data.yesButtonColor || 'primary'\"\n [disabled]=\"\n required &&\n (value === undefined ||\n value === null ||\n value === '' ||\n (data.input && !value.trim()) ||\n (value.length !== undefined && value.length === 0))\n \"\n [title]=\"data.yesTitle\"\n (click)=\"onAccept()\"></sd-button>\n }\n</div>\n", styles: [":host{display:flex;flex-direction:column;box-sizing:border-box;min-height:0;max-height:calc(100dvh - 32px);padding:
|
|
73
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: DialogConfirmComponent, isStandalone: true, selector: "sd-dialog-confirm", ngImport: i0, template: "<div mat-dialog-content class=\"sd-dialog-confirm__content\" [class.sd-dialog-confirm__content--radio]=\"data.radio\">\n <div class=\"sd-dialog-confirm__header\">\n <span class=\"sd-dialog-confirm__icon\" aria-hidden=\"true\" [attr.data-icon]=\"resolvedIcon\" [attr.data-tone]=\"iconTone\" [attr.data-icon-shape]=\"iconShape\">\n <sd-icon [name]=\"resolvedIcon\" size=\"22px\"></sd-icon>\n </span>\n <div class=\"sd-dialog-confirm__copy\">\n <h2 mat-dialog-title class=\"sd-dialog-confirm__title\" [innerHtml]=\"data.title || 'Confirm'\"></h2>\n @if (data.message) {\n <div class=\"sd-dialog-confirm__message\" [innerHtml]=\"data.message\"></div>\n }\n </div>\n </div>\n @if (hasFields) {\n <div class=\"sd-dialog-confirm__fields\">\n @if (data.input) {\n <sd-textarea\n [label]=\"data.input.label\"\n [placeholder]=\"data.input.placeholder\"\n [(model)]=\"value\"\n [rows]=\"3\"\n [required]=\"data.input.required\"\n [maxlength]=\"data.input.maxlength!\" />\n }\n @if (data.select) {\n <sd-select\n [placeholder]=\"data.select.placeholder\"\n [items]=\"data.select.items\"\n [valueField]=\"data.select.valueField\"\n [displayField]=\"data.select.displayField\"\n [multiple]=\"data.select.multiple\"\n [(model)]=\"value\"\n [required]=\"data.select.required\">\n </sd-select>\n }\n @if (data.date) {\n <sd-date\n [placeholder]=\"data.date.placeholder\"\n [(model)]=\"value\"\n type=\"date\"\n [min]=\"data.date.min!\"\n [max]=\"data.date.max!\"\n [required]=\"data.date.required\">\n </sd-date>\n }\n @if (data.datetime) {\n <sd-datetime\n [placeholder]=\"data.datetime.placeholder\"\n [(model)]=\"value\"\n [min]=\"data.datetime.min!\"\n [max]=\"data.datetime.max!\"\n [showSeconds]=\"data.datetime.showSeconds\"\n [required]=\"data.datetime.required\">\n </sd-datetime>\n }\n @if (data.radio) {\n <sd-radio\n [items]=\"data.radio.items\"\n [valueField]=\"data.radio.valueField\"\n [displayField]=\"data.radio.displayField\"\n [display]=\"data.radio.display || 'column'\"\n [(model)]=\"value\"\n [required]=\"data.radio.required\">\n </sd-radio>\n }\n </div>\n }\n</div>\n<div mat-dialog-actions align=\"end\" class=\"sd-dialog-confirm__actions\">\n @if (data.noTitle) {\n <sd-button\n data-confirm-cancel\n size=\"sm\"\n type=\"light\"\n htmlType=\"button\"\n [color]=\"data.noButtonColor || 'secondary'\"\n [title]=\"data.noTitle\"\n (click)=\"onCancel()\"></sd-button>\n }\n @if (data.yesTitle) {\n <sd-button\n data-confirm-accept\n size=\"sm\"\n type=\"fill\"\n htmlType=\"button\"\n [color]=\"data.yesButtonColor || 'primary'\"\n [disabled]=\"\n required &&\n (value === undefined ||\n value === null ||\n value === '' ||\n (data.input && !value.trim()) ||\n (value.length !== undefined && value.length === 0))\n \"\n [title]=\"data.yesTitle\"\n (click)=\"onAccept()\"></sd-button>\n }\n</div>\n", styles: [":host{display:flex;flex-direction:column;box-sizing:border-box;min-height:0;max-height:calc(100dvh - 32px);padding:20px;overflow:hidden}.sd-dialog-confirm__content{min-height:0;max-height:none;margin:0;padding:0;color:var(--sd-text)}.sd-dialog-confirm__header{display:flex;align-items:flex-start;gap:12px}.sd-dialog-confirm__icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:var(--sd-icon-shape-radius, var(--sd-radius-8, 8px));color:var(--sd-primary-dark);background:var(--sd-primary-light)}.sd-dialog-confirm__icon[data-tone=success]{color:var(--sd-success-dark);background:var(--sd-success-light)}.sd-dialog-confirm__icon[data-tone=info]{color:var(--sd-info-dark);background:var(--sd-info-light)}.sd-dialog-confirm__icon[data-tone=warning]{color:var(--sd-warning-dark);background:var(--sd-warning-light)}.sd-dialog-confirm__icon[data-tone=error]{color:var(--sd-error-dark);background:var(--sd-error-light)}.sd-dialog-confirm__icon[data-icon-shape=circle]{border-radius:50%}.sd-dialog-confirm__icon[data-icon-shape=none]{background:transparent}.sd-dialog-confirm__icon sd-icon{width:22px;height:22px;font-size:var(--sd-font-size-22, 22px);line-height:var(--sd-line-height-22, 22px)}.sd-dialog-confirm__copy{min-width:0}.sd-dialog-confirm__title{margin:0 0 6px;padding:0;font:inherit;font-size:var(--sd-font-size-18, 18px);font-weight:var(--sd-font-weight-semibold, 600);line-height:25px;letter-spacing:normal;color:var(--sd-text);overflow-wrap:anywhere}.sd-dialog-confirm__title:before{display:none}.sd-dialog-confirm__message{font-size:var(--sd-font-size-14, 14px);line-height:21px;letter-spacing:normal;color:var(--sd-text-secondary);overflow-wrap:anywhere}.sd-dialog-confirm__fields{margin-top:20px}.sd-dialog-confirm__fields sd-radio{height:auto}.sd-dialog-confirm__fields ::ng-deep .mdc-radio{display:inline-flex;align-items:center;justify-content:center}.sd-dialog-confirm__fields ::ng-deep .mat-mdc-radio-button{display:inline-flex;align-items:center;min-height:48px}.sd-dialog-confirm__fields ::ng-deep .c-radio-group-row{flex-wrap:wrap;row-gap:4px}.sd-dialog-confirm__actions{flex-shrink:0;gap:8px;min-height:0;margin:24px 0 0;padding:0}::ng-deep .sd-confirm-panel .mat-mdc-dialog-surface{border-radius:var(--sd-radius-8, 8px);box-shadow:0 16px 48px #00000029,0 2px 8px #0000000f}::ng-deep .sd-confirm-panel .sd-dialog-confirm__actions button:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary));outline-offset:3px}::ng-deep .sd-confirm-panel .sd-dialog-confirm__message>:first-child{margin-top:0}::ng-deep .sd-confirm-panel .sd-dialog-confirm__message>:last-child{margin-bottom:0}@media(prefers-reduced-motion:reduce){::ng-deep .sd-confirm-panel .mat-mdc-dialog-container,::ng-deep .sd-confirm-panel .mat-mdc-dialog-surface{transition:none!important}}@media(max-width:600px){::ng-deep .sd-confirm-panel .sd-dialog-confirm__actions sd-button{flex:1}::ng-deep .sd-confirm-panel .sd-dialog-confirm__actions sd-button button{width:100%;min-height:44px}}@media(max-width:600px){:host{padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}}\n"], dependencies: [{ kind: "component", type: SdIcon, selector: "sd-icon", inputs: ["name", "fontIcon", "color", "set", "fontSet", "size", "strokeWidth", "absoluteStrokeWidth", "ariaLabel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: SdButton, selector: "sd-button", inputs: ["autoId", "type", "color", "size", "fontSet", "title", "width", "tooltip", "prefixIcon", "suffixIcon", "disabled", "openOnHover", "loading", "block", "htmlType"], outputs: ["click"] }, { kind: "component", type: SdDate, selector: "sd-date", inputs: ["autoId", "name", "size", "form", "label", "helperText", "placeholder", "hideInlineError", "required", "disabled", "viewed", "clearable", "inlineError", "hyperlink", "appearance", "floatLabel", "labelPlacement", "min", "minDate", "max", "maxDate", "transform", "model"], outputs: ["modelChange", "sdChange", "sdFocus"] }, { kind: "component", type: SdDatetime, selector: "sd-datetime", inputs: ["autoId", "name", "size", "form", "label", "helperText", "placeholder", "hideInlineError", "required", "disabled", "viewed", "showSeconds", "clearable", "inlineError", "hyperlink", "appearance", "floatLabel", "labelPlacement", "min", "minDate", "max", "maxDate", "transform", "model"], outputs: ["modelChange", "sdChange", "sdFocus"] }, { kind: "component", type: SdRadio, selector: "sd-radio", inputs: ["autoId", "name", "form", "label", "placeholder", "display", "items", "valueField", "displayField", "required", "inlineError", "disabled", "viewed", "color", "hyperlink", "model"], outputs: ["modelChange", "sdChange", "sdSelection"] }, { kind: "component", type: SdSelect, selector: "sd-select", inputs: ["autoId", "name", "size", "form", "label", "helperText", "placeholder", "valueField", "displayField", "disabledField", "cacheChecksum", "limit", "virtualScroll", "itemSize", "hyperlink", "minWidthPanel", "hideInlineError", "hideReadError", "required", "disabled", "viewed", "multiple", "showSelectAll", "clearable", "validator", "inlineError", "appearance", "floatLabel", "labelPlacement", "items", "model"], outputs: ["sdReadStateChange", "modelChange", "sdChange", "sdSelection"] }, { kind: "component", type: SdTextarea, selector: "sd-textarea", inputs: ["autoId", "name", "size", "form", "label", "helperText", "placeholder", "rows", "hideInlineError", "required", "disabled", "viewed", "autoHeight", "maxlength", "minlength", "pattern", "validator", "inlineError", "appearance", "floatLabel", "labelPlacement", "model"], outputs: ["modelChange", "sdChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
74
74
|
}
|
|
75
75
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DialogConfirmComponent, decorators: [{
|
|
76
76
|
type: Component,
|
|
77
|
-
args: [{ selector: 'sd-dialog-confirm', changeDetection: ChangeDetectionStrategy.OnPush, imports: [SdIcon, CommonModule, FormsModule, MatDialogModule, SdButton, SdDate, SdDatetime, SdRadio, SdSelect, SdTextarea], template: "<div mat-dialog-content class=\"sd-dialog-confirm__content\" [class.sd-dialog-confirm__content--radio]=\"data.radio\">\n <div class=\"sd-dialog-confirm__header\">\n <span class=\"sd-dialog-confirm__icon\" aria-hidden=\"true\" [attr.data-icon]=\"resolvedIcon\" [attr.data-tone]=\"iconTone\" [attr.data-icon-shape]=\"iconShape\">\n <sd-icon [name]=\"resolvedIcon\" size=\"22px\"></sd-icon>\n </span>\n <div class=\"sd-dialog-confirm__copy\">\n <h2 mat-dialog-title class=\"sd-dialog-confirm__title\" [innerHtml]=\"data.title || 'Confirm'\"></h2>\n @if (data.message) {\n <div class=\"sd-dialog-confirm__message\" [innerHtml]=\"data.message\"></div>\n }\n </div>\n </div>\n @if (hasFields) {\n <div class=\"sd-dialog-confirm__fields\">\n @if (data.input) {\n <sd-textarea\n [label]=\"data.input.label\"\n [placeholder]=\"data.input.placeholder\"\n [(model)]=\"value\"\n [rows]=\"3\"\n [required]=\"data.input.required\"\n [maxlength]=\"data.input.maxlength!\" />\n }\n @if (data.select) {\n <sd-select\n [placeholder]=\"data.select.placeholder\"\n [items]=\"data.select.items\"\n [valueField]=\"data.select.valueField\"\n [displayField]=\"data.select.displayField\"\n [multiple]=\"data.select.multiple\"\n [(model)]=\"value\"\n [required]=\"data.select.required\">\n </sd-select>\n }\n @if (data.date) {\n <sd-date\n [placeholder]=\"data.date.placeholder\"\n [(model)]=\"value\"\n type=\"date\"\n [min]=\"data.date.min!\"\n [max]=\"data.date.max!\"\n [required]=\"data.date.required\">\n </sd-date>\n }\n @if (data.datetime) {\n <sd-datetime\n [placeholder]=\"data.datetime.placeholder\"\n [(model)]=\"value\"\n [min]=\"data.datetime.min!\"\n [max]=\"data.datetime.max!\"\n [showSeconds]=\"data.datetime.showSeconds\"\n [required]=\"data.datetime.required\">\n </sd-datetime>\n }\n @if (data.radio) {\n <sd-radio\n [items]=\"data.radio.items\"\n [valueField]=\"data.radio.valueField\"\n [displayField]=\"data.radio.displayField\"\n [display]=\"data.radio.display || 'column'\"\n [(model)]=\"value\"\n [required]=\"data.radio.required\">\n </sd-radio>\n }\n </div>\n }\n</div>\n<div mat-dialog-actions align=\"end\" class=\"sd-dialog-confirm__actions\">\n @if (data.noTitle) {\n <sd-button\n data-confirm-cancel\n size=\"sm\"\n type=\"light\"\n htmlType=\"button\"\n [color]=\"data.noButtonColor || 'secondary'\"\n [title]=\"data.noTitle\"\n (click)=\"onCancel()\"></sd-button>\n }\n @if (data.yesTitle) {\n <sd-button\n data-confirm-accept\n size=\"sm\"\n type=\"fill\"\n htmlType=\"button\"\n [color]=\"data.yesButtonColor || 'primary'\"\n [disabled]=\"\n required &&\n (value === undefined ||\n value === null ||\n value === '' ||\n (data.input && !value.trim()) ||\n (value.length !== undefined && value.length === 0))\n \"\n [title]=\"data.yesTitle\"\n (click)=\"onAccept()\"></sd-button>\n }\n</div>\n", styles: [":host{display:flex;flex-direction:column;box-sizing:border-box;min-height:0;max-height:calc(100dvh - 32px);padding:
|
|
77
|
+
args: [{ selector: 'sd-dialog-confirm', changeDetection: ChangeDetectionStrategy.OnPush, imports: [SdIcon, CommonModule, FormsModule, MatDialogModule, SdButton, SdDate, SdDatetime, SdRadio, SdSelect, SdTextarea], template: "<div mat-dialog-content class=\"sd-dialog-confirm__content\" [class.sd-dialog-confirm__content--radio]=\"data.radio\">\n <div class=\"sd-dialog-confirm__header\">\n <span class=\"sd-dialog-confirm__icon\" aria-hidden=\"true\" [attr.data-icon]=\"resolvedIcon\" [attr.data-tone]=\"iconTone\" [attr.data-icon-shape]=\"iconShape\">\n <sd-icon [name]=\"resolvedIcon\" size=\"22px\"></sd-icon>\n </span>\n <div class=\"sd-dialog-confirm__copy\">\n <h2 mat-dialog-title class=\"sd-dialog-confirm__title\" [innerHtml]=\"data.title || 'Confirm'\"></h2>\n @if (data.message) {\n <div class=\"sd-dialog-confirm__message\" [innerHtml]=\"data.message\"></div>\n }\n </div>\n </div>\n @if (hasFields) {\n <div class=\"sd-dialog-confirm__fields\">\n @if (data.input) {\n <sd-textarea\n [label]=\"data.input.label\"\n [placeholder]=\"data.input.placeholder\"\n [(model)]=\"value\"\n [rows]=\"3\"\n [required]=\"data.input.required\"\n [maxlength]=\"data.input.maxlength!\" />\n }\n @if (data.select) {\n <sd-select\n [placeholder]=\"data.select.placeholder\"\n [items]=\"data.select.items\"\n [valueField]=\"data.select.valueField\"\n [displayField]=\"data.select.displayField\"\n [multiple]=\"data.select.multiple\"\n [(model)]=\"value\"\n [required]=\"data.select.required\">\n </sd-select>\n }\n @if (data.date) {\n <sd-date\n [placeholder]=\"data.date.placeholder\"\n [(model)]=\"value\"\n type=\"date\"\n [min]=\"data.date.min!\"\n [max]=\"data.date.max!\"\n [required]=\"data.date.required\">\n </sd-date>\n }\n @if (data.datetime) {\n <sd-datetime\n [placeholder]=\"data.datetime.placeholder\"\n [(model)]=\"value\"\n [min]=\"data.datetime.min!\"\n [max]=\"data.datetime.max!\"\n [showSeconds]=\"data.datetime.showSeconds\"\n [required]=\"data.datetime.required\">\n </sd-datetime>\n }\n @if (data.radio) {\n <sd-radio\n [items]=\"data.radio.items\"\n [valueField]=\"data.radio.valueField\"\n [displayField]=\"data.radio.displayField\"\n [display]=\"data.radio.display || 'column'\"\n [(model)]=\"value\"\n [required]=\"data.radio.required\">\n </sd-radio>\n }\n </div>\n }\n</div>\n<div mat-dialog-actions align=\"end\" class=\"sd-dialog-confirm__actions\">\n @if (data.noTitle) {\n <sd-button\n data-confirm-cancel\n size=\"sm\"\n type=\"light\"\n htmlType=\"button\"\n [color]=\"data.noButtonColor || 'secondary'\"\n [title]=\"data.noTitle\"\n (click)=\"onCancel()\"></sd-button>\n }\n @if (data.yesTitle) {\n <sd-button\n data-confirm-accept\n size=\"sm\"\n type=\"fill\"\n htmlType=\"button\"\n [color]=\"data.yesButtonColor || 'primary'\"\n [disabled]=\"\n required &&\n (value === undefined ||\n value === null ||\n value === '' ||\n (data.input && !value.trim()) ||\n (value.length !== undefined && value.length === 0))\n \"\n [title]=\"data.yesTitle\"\n (click)=\"onAccept()\"></sd-button>\n }\n</div>\n", styles: [":host{display:flex;flex-direction:column;box-sizing:border-box;min-height:0;max-height:calc(100dvh - 32px);padding:20px;overflow:hidden}.sd-dialog-confirm__content{min-height:0;max-height:none;margin:0;padding:0;color:var(--sd-text)}.sd-dialog-confirm__header{display:flex;align-items:flex-start;gap:12px}.sd-dialog-confirm__icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:var(--sd-icon-shape-radius, var(--sd-radius-8, 8px));color:var(--sd-primary-dark);background:var(--sd-primary-light)}.sd-dialog-confirm__icon[data-tone=success]{color:var(--sd-success-dark);background:var(--sd-success-light)}.sd-dialog-confirm__icon[data-tone=info]{color:var(--sd-info-dark);background:var(--sd-info-light)}.sd-dialog-confirm__icon[data-tone=warning]{color:var(--sd-warning-dark);background:var(--sd-warning-light)}.sd-dialog-confirm__icon[data-tone=error]{color:var(--sd-error-dark);background:var(--sd-error-light)}.sd-dialog-confirm__icon[data-icon-shape=circle]{border-radius:50%}.sd-dialog-confirm__icon[data-icon-shape=none]{background:transparent}.sd-dialog-confirm__icon sd-icon{width:22px;height:22px;font-size:var(--sd-font-size-22, 22px);line-height:var(--sd-line-height-22, 22px)}.sd-dialog-confirm__copy{min-width:0}.sd-dialog-confirm__title{margin:0 0 6px;padding:0;font:inherit;font-size:var(--sd-font-size-18, 18px);font-weight:var(--sd-font-weight-semibold, 600);line-height:25px;letter-spacing:normal;color:var(--sd-text);overflow-wrap:anywhere}.sd-dialog-confirm__title:before{display:none}.sd-dialog-confirm__message{font-size:var(--sd-font-size-14, 14px);line-height:21px;letter-spacing:normal;color:var(--sd-text-secondary);overflow-wrap:anywhere}.sd-dialog-confirm__fields{margin-top:20px}.sd-dialog-confirm__fields sd-radio{height:auto}.sd-dialog-confirm__fields ::ng-deep .mdc-radio{display:inline-flex;align-items:center;justify-content:center}.sd-dialog-confirm__fields ::ng-deep .mat-mdc-radio-button{display:inline-flex;align-items:center;min-height:48px}.sd-dialog-confirm__fields ::ng-deep .c-radio-group-row{flex-wrap:wrap;row-gap:4px}.sd-dialog-confirm__actions{flex-shrink:0;gap:8px;min-height:0;margin:24px 0 0;padding:0}::ng-deep .sd-confirm-panel .mat-mdc-dialog-surface{border-radius:var(--sd-radius-8, 8px);box-shadow:0 16px 48px #00000029,0 2px 8px #0000000f}::ng-deep .sd-confirm-panel .sd-dialog-confirm__actions button:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary));outline-offset:3px}::ng-deep .sd-confirm-panel .sd-dialog-confirm__message>:first-child{margin-top:0}::ng-deep .sd-confirm-panel .sd-dialog-confirm__message>:last-child{margin-bottom:0}@media(prefers-reduced-motion:reduce){::ng-deep .sd-confirm-panel .mat-mdc-dialog-container,::ng-deep .sd-confirm-panel .mat-mdc-dialog-surface{transition:none!important}}@media(max-width:600px){::ng-deep .sd-confirm-panel .sd-dialog-confirm__actions sd-button{flex:1}::ng-deep .sd-confirm-panel .sd-dialog-confirm__actions sd-button button{width:100%;min-height:44px}}@media(max-width:600px){:host{padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}}\n"] }]
|
|
78
78
|
}], ctorParameters: () => [] });
|
|
79
79
|
|
|
80
80
|
class SdConfirmService {
|
package/forms/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i22 from '@sdcorejs/angular/forms/directives';
|
|
2
2
|
export * from '@sdcorejs/angular/forms/directives';
|
|
3
3
|
export * from '@sdcorejs/angular/forms/models';
|
|
4
4
|
import * as i1 from '@sdcorejs/angular/forms/label';
|
|
@@ -33,19 +33,21 @@ import * as i15 from '@sdcorejs/angular/forms/switch';
|
|
|
33
33
|
export * from '@sdcorejs/angular/forms/switch';
|
|
34
34
|
import * as i16 from '@sdcorejs/angular/forms/radio';
|
|
35
35
|
export * from '@sdcorejs/angular/forms/radio';
|
|
36
|
-
import * as i17 from '@sdcorejs/angular/forms/
|
|
36
|
+
import * as i17 from '@sdcorejs/angular/forms/segmented';
|
|
37
|
+
export * from '@sdcorejs/angular/forms/segmented';
|
|
38
|
+
import * as i18 from '@sdcorejs/angular/forms/textarea';
|
|
37
39
|
export * from '@sdcorejs/angular/forms/textarea';
|
|
38
|
-
import * as
|
|
40
|
+
import * as i19 from '@sdcorejs/angular/forms/chip';
|
|
39
41
|
export * from '@sdcorejs/angular/forms/chip';
|
|
40
|
-
import * as
|
|
42
|
+
import * as i20 from '@sdcorejs/angular/forms/chip-calendar';
|
|
41
43
|
export * from '@sdcorejs/angular/forms/chip-calendar';
|
|
42
|
-
import * as
|
|
44
|
+
import * as i21 from '@sdcorejs/angular/forms/checkbox';
|
|
43
45
|
export * from '@sdcorejs/angular/forms/checkbox';
|
|
44
46
|
import * as i0 from '@angular/core';
|
|
45
47
|
|
|
46
48
|
declare class SdFormsModule {
|
|
47
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdFormsModule, never>;
|
|
48
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SdFormsModule, never, [typeof i1.SdLabel, typeof i2.SdInput, typeof i3.SdInputColor, typeof i4.SdInlineText, typeof i5.SdInputNumber, typeof i6.SdDate, typeof i7.SdDatetime, typeof i8.SdDateRange, typeof i9.SdTime, typeof i10.SdTimeRange, typeof i11.SdEntityPicker, typeof i12.SdTreeSelect, typeof i13.SdSelect, typeof i14.SdAutocomplete, typeof i15.SdSwitch, typeof i16.SdRadio, typeof i17.
|
|
50
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SdFormsModule, never, [typeof i1.SdLabel, typeof i2.SdInput, typeof i3.SdInputColor, typeof i4.SdInlineText, typeof i5.SdInputNumber, typeof i6.SdDate, typeof i7.SdDatetime, typeof i8.SdDateRange, typeof i9.SdTime, typeof i10.SdTimeRange, typeof i11.SdEntityPicker, typeof i12.SdTreeSelect, typeof i13.SdSelect, typeof i14.SdAutocomplete, typeof i15.SdSwitch, typeof i16.SdRadio, typeof i17.SdSegmentedComponent, typeof i18.SdTextarea, typeof i19.SdChip, typeof i20.SdChipCalendar, typeof i21.SdCheckbox, typeof i22.SdSuffixDefDirective, typeof i17.SdSegmentedItemTemplateDirective, typeof i22.SdLabelDefDirective, typeof i22.SdViewDefDirective, typeof i22.SdItemDefDefDirective, typeof i13.SdSelectFooterActionDirective, typeof i11.SdEntityPickerSelectedTemplateDirective, typeof i11.SdEntityPickerRowTemplateDirective, typeof i11.SdEntityPickerDetailTemplateDirective, typeof i12.SdTreeSelectNodeTemplateDirective], [typeof i1.SdLabel, typeof i2.SdInput, typeof i3.SdInputColor, typeof i4.SdInlineText, typeof i5.SdInputNumber, typeof i6.SdDate, typeof i7.SdDatetime, typeof i8.SdDateRange, typeof i9.SdTime, typeof i10.SdTimeRange, typeof i11.SdEntityPicker, typeof i12.SdTreeSelect, typeof i13.SdSelect, typeof i14.SdAutocomplete, typeof i15.SdSwitch, typeof i16.SdRadio, typeof i17.SdSegmentedComponent, typeof i18.SdTextarea, typeof i19.SdChip, typeof i20.SdChipCalendar, typeof i21.SdCheckbox, typeof i22.SdSuffixDefDirective, typeof i17.SdSegmentedItemTemplateDirective, typeof i22.SdLabelDefDirective, typeof i22.SdViewDefDirective, typeof i22.SdItemDefDefDirective, typeof i13.SdSelectFooterActionDirective, typeof i11.SdEntityPickerSelectedTemplateDirective, typeof i11.SdEntityPickerRowTemplateDirective, typeof i11.SdEntityPickerDetailTemplateDirective, typeof i12.SdTreeSelectNodeTemplateDirective]>;
|
|
49
51
|
static ɵinj: i0.ɵɵInjectorDeclaration<SdFormsModule>;
|
|
50
52
|
}
|
|
51
53
|
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as _sdcorejs_angular_forms_models from '@sdcorejs/angular/forms/models';
|
|
2
|
+
import { ɵSdFormControlParent as _SdFormControlParent } from '@sdcorejs/angular/forms/models';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { TemplateRef } from '@angular/core';
|
|
5
|
+
import { ValidatorFn, FormControl } from '@angular/forms';
|
|
6
|
+
import { Size, Color } from '@sdcorejs/utils/models';
|
|
7
|
+
import { SdIconSet } from '@sdcorejs/angular/modules/icon';
|
|
8
|
+
|
|
9
|
+
type SdSegmentedValue = string | number | boolean;
|
|
10
|
+
type SdSegmentedModel<T extends SdSegmentedValue = SdSegmentedValue> = T | readonly T[] | null | undefined;
|
|
11
|
+
/** Appearance only: neutral track with a raised (`light`), solid (`fill`) or bordered (`outline`) selection. */
|
|
12
|
+
type SdSegmentedType = 'light' | 'fill' | 'outline';
|
|
13
|
+
interface SdSegmentedItem<T extends SdSegmentedValue = SdSegmentedValue> {
|
|
14
|
+
readonly value: T;
|
|
15
|
+
/** Visible label, also the default accessible name for icon-only choices. */
|
|
16
|
+
readonly label: string;
|
|
17
|
+
readonly prefixIcon?: string;
|
|
18
|
+
readonly suffixIcon?: string;
|
|
19
|
+
readonly fontSet?: SdIconSet;
|
|
20
|
+
readonly iconOnly?: boolean;
|
|
21
|
+
readonly disabled?: boolean;
|
|
22
|
+
}
|
|
23
|
+
interface SdSegmentedOption {
|
|
24
|
+
/** Single selection by default. Multiple mode emits a fresh array in item order. */
|
|
25
|
+
readonly multiple?: boolean;
|
|
26
|
+
/** Allow selecting the active single item again to clear to `null`. */
|
|
27
|
+
readonly allowEmpty?: boolean;
|
|
28
|
+
readonly orientation?: 'horizontal' | 'vertical';
|
|
29
|
+
readonly stretch?: boolean;
|
|
30
|
+
}
|
|
31
|
+
interface SdSegmentedItemTemplateContext<T extends SdSegmentedValue = SdSegmentedValue> {
|
|
32
|
+
readonly $implicit: SdSegmentedItem<T>;
|
|
33
|
+
readonly item: SdSegmentedItem<T>;
|
|
34
|
+
readonly selected: boolean;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class SdSegmentedItemTemplateDirective<T extends SdSegmentedValue = SdSegmentedValue> {
|
|
38
|
+
/** Optional items binding supplies strict template type inference. */
|
|
39
|
+
readonly items: _angular_core.InputSignal<"" | readonly SdSegmentedItem<T>[]>;
|
|
40
|
+
readonly template: TemplateRef<SdSegmentedItemTemplateContext<T>>;
|
|
41
|
+
static ngTemplateContextGuard<T extends SdSegmentedValue>(_directive: SdSegmentedItemTemplateDirective<T>, _context: unknown): _context is SdSegmentedItemTemplateContext<T>;
|
|
42
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdSegmentedItemTemplateDirective<any>, never>;
|
|
43
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SdSegmentedItemTemplateDirective<any>, "ng-template[sdSegmentedItemTemplate]", never, { "items": { "alias": "sdSegmentedItemTemplate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
/** Segmented control: a form-integrated choice control; the consumer owns any associated content. */
|
|
46
|
+
declare class SdSegmentedComponent<T extends SdSegmentedValue = SdSegmentedValue> {
|
|
47
|
+
#private;
|
|
48
|
+
readonly id: string;
|
|
49
|
+
readonly items: _angular_core.InputSignalWithTransform<readonly SdSegmentedItem<T>[], readonly SdSegmentedItem<T>[] | null | undefined>;
|
|
50
|
+
readonly option: _angular_core.InputSignalWithTransform<SdSegmentedOption, SdSegmentedOption | null | undefined>;
|
|
51
|
+
readonly model: _angular_core.ModelSignal<SdSegmentedModel<T>>;
|
|
52
|
+
readonly label: _angular_core.InputSignal<string | null | undefined>;
|
|
53
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null | undefined>;
|
|
54
|
+
readonly size: _angular_core.InputSignal<Size>;
|
|
55
|
+
readonly color: _angular_core.InputSignal<Color>;
|
|
56
|
+
readonly type: _angular_core.InputSignal<SdSegmentedType>;
|
|
57
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
58
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
59
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
60
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
61
|
+
readonly inlineError: _angular_core.InputSignal<string | null | undefined>;
|
|
62
|
+
readonly validator: _angular_core.InputSignal<ValidatorFn | readonly ValidatorFn[] | null | undefined>;
|
|
63
|
+
readonly form: _angular_core.InputSignal<_SdFormControlParent>;
|
|
64
|
+
readonly name: _angular_core.InputSignal<string | null | undefined>;
|
|
65
|
+
readonly autoId: _angular_core.InputSignal<string | null | undefined>;
|
|
66
|
+
readonly sdChange: _angular_core.OutputEmitterRef<SdSegmentedModel<T>>;
|
|
67
|
+
readonly formControl: FormControl<SdSegmentedModel<T>>;
|
|
68
|
+
protected readonly state: _angular_core.Signal<_sdcorejs_angular_forms_models.ɵSdFormControlConnectorState<SdSegmentedModel<T>>>;
|
|
69
|
+
protected readonly itemTemplate: _angular_core.Signal<SdSegmentedItemTemplateDirective<T> | undefined>;
|
|
70
|
+
protected readonly multiple: _angular_core.Signal<boolean>;
|
|
71
|
+
protected readonly focused: _angular_core.WritableSignal<T | undefined>;
|
|
72
|
+
protected readonly dataInvalid: _angular_core.Signal<boolean>;
|
|
73
|
+
protected readonly blocked: _angular_core.Signal<boolean>;
|
|
74
|
+
protected readonly selectedValues: _angular_core.Signal<readonly T[]>;
|
|
75
|
+
protected readonly tabValue: _angular_core.Signal<T>;
|
|
76
|
+
protected readonly errorMessage: _angular_core.Signal<string | undefined>;
|
|
77
|
+
protected readonly groupLabel: _angular_core.Signal<string>;
|
|
78
|
+
protected selected(item: SdSegmentedItem<T>): boolean;
|
|
79
|
+
protected context(item: SdSegmentedItem<T>): SdSegmentedItemTemplateContext<T>;
|
|
80
|
+
protected choose(item: SdSegmentedItem<T>): void;
|
|
81
|
+
protected keydown(event: KeyboardEvent, item: SdSegmentedItem<T>): void;
|
|
82
|
+
protected blur(event: FocusEvent): void;
|
|
83
|
+
/** Refresh validators in existing Core UI form submission flows. */
|
|
84
|
+
reValidate(): void;
|
|
85
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdSegmentedComponent<any>, never>;
|
|
86
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdSegmentedComponent<any>, "sd-segmented", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": false; "isSignal": true; }; "model": { "alias": "model"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "inlineError": { "alias": "inlineError"; "required": false; "isSignal": true; }; "validator": { "alias": "validator"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; }, { "model": "modelChange"; "sdChange": "sdChange"; }, ["itemTemplate"], never, true, never>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export { SdSegmentedComponent, SdSegmentedItemTemplateDirective };
|
|
90
|
+
export type { SdSegmentedItem, SdSegmentedItemTemplateContext, SdSegmentedModel, SdSegmentedOption, SdSegmentedType, SdSegmentedValue };
|
package/i18n/index.d.ts
CHANGED
|
@@ -752,6 +752,15 @@ declare const EN_MESSAGES: {
|
|
|
752
752
|
readonly 'core.component.file-explorer.share.copy-manual': "Press Ctrl+C (⌘C on macOS) to copy the selected link.";
|
|
753
753
|
readonly 'core.component.file-explorer.share.error': "Unable to create the share link";
|
|
754
754
|
readonly 'core.component.file-explorer.close': "Close";
|
|
755
|
+
readonly 'core.component.file-explorer.selection.label': "File selection";
|
|
756
|
+
readonly 'core.component.file-explorer.selection.none': "Select files";
|
|
757
|
+
readonly 'core.component.file-explorer.selection.selected': "{count} files selected";
|
|
758
|
+
readonly 'core.component.file-explorer.selection.selected-one': "{count} file selected";
|
|
759
|
+
readonly 'core.component.file-explorer.selection.select-all': "Select all visible files ({count})";
|
|
760
|
+
readonly 'core.component.file-explorer.selection.select-item': "Select {name}";
|
|
761
|
+
readonly 'core.component.file-explorer.selection.clear': "Deselect all";
|
|
762
|
+
readonly 'core.component.file-explorer.action-loading': "In progress";
|
|
763
|
+
readonly 'core.component.file-explorer.item-actions': "Actions for {name}";
|
|
755
764
|
readonly 'core.component.image-editor.group-history': "History";
|
|
756
765
|
readonly 'core.component.image-editor.undo': "Undo (Ctrl+Z)";
|
|
757
766
|
readonly 'core.component.image-editor.redo': "Redo (Ctrl+Shift+Z)";
|
|
@@ -1043,6 +1052,56 @@ declare const EN_MESSAGES: {
|
|
|
1043
1052
|
readonly 'core.component.form-generic.validation.failed': "Validator \"{id}\" failed.";
|
|
1044
1053
|
readonly 'core.form.input.minlength': "Minimum length: {min}";
|
|
1045
1054
|
readonly 'core.form.textarea.minlength': "Minimum length: {min}";
|
|
1055
|
+
readonly 'core.component.kanban.label': "Board";
|
|
1056
|
+
readonly 'core.component.kanban.search': "Search cards";
|
|
1057
|
+
readonly 'core.component.kanban.saving': "Saving move…";
|
|
1058
|
+
readonly 'core.component.kanban.pending': "Moving {title}";
|
|
1059
|
+
readonly 'core.component.kanban.moved': "{title} moved to {column}, position {position}";
|
|
1060
|
+
readonly 'core.component.kanban.rejected': "The move was rejected. Try another destination.";
|
|
1061
|
+
readonly 'core.component.kanban.error': "Unable to move the card. Try again.";
|
|
1062
|
+
readonly 'core.component.kanban.invalid-data': "Check the board mappings and unique card/column IDs.";
|
|
1063
|
+
readonly 'core.component.kanban.dismiss': "Dismiss";
|
|
1064
|
+
readonly 'core.component.kanban.instructions': "Use the movement menu, or Alt plus arrow keys on the move handle to reorder or change columns.";
|
|
1065
|
+
readonly 'core.component.kanban.count': "{count} cards";
|
|
1066
|
+
readonly 'core.component.kanban.expand': "Expand {column}";
|
|
1067
|
+
readonly 'core.component.kanban.collapse': "Collapse {column}";
|
|
1068
|
+
readonly 'core.component.kanban.move-card': "Move {title}";
|
|
1069
|
+
readonly 'core.component.kanban.move-menu': "Movement options for {title}";
|
|
1070
|
+
readonly 'core.component.kanban.move-up': "Move up";
|
|
1071
|
+
readonly 'core.component.kanban.move-down': "Move down";
|
|
1072
|
+
readonly 'core.component.kanban.move-to': "Move to {column}";
|
|
1073
|
+
readonly 'core.component.kanban.no-results': "No matching cards";
|
|
1074
|
+
readonly 'core.component.kanban.empty-column': "No cards";
|
|
1075
|
+
readonly 'core.form.segmented.label': "Choices";
|
|
1076
|
+
readonly 'core.form.segmented.required': "Please select an option";
|
|
1077
|
+
readonly 'core.form.segmented.invalid-items': "Choices must have unique string, number, or boolean values.";
|
|
1078
|
+
readonly 'core.component.file-explorer.move.destination-tip': "Choose a suitable destination. Move becomes available when these files can be moved there.";
|
|
1079
|
+
readonly 'core.component.file-explorer.action-unavailable': "This action is unavailable for the current destination or files.";
|
|
1080
|
+
readonly 'core.component.file-explorer.move.to': "Move to…";
|
|
1081
|
+
readonly 'core.component.file-explorer.move.confirm': "Move";
|
|
1082
|
+
readonly 'core.component.file-explorer.move.pending': "Moving files…";
|
|
1083
|
+
readonly 'core.component.file-explorer.move.cancelled': "Move cancelled.";
|
|
1084
|
+
readonly 'core.component.file-explorer.move.error': "Could not move files.";
|
|
1085
|
+
readonly 'core.component.file-explorer.move.done': "Files moved.";
|
|
1086
|
+
readonly 'core.component.file-explorer.move.refresh-error': "Files moved, but the list could not be refreshed.";
|
|
1087
|
+
readonly 'core.component.file-explorer.move.retry-refresh': "Retry refresh";
|
|
1088
|
+
readonly 'core.component.form-builder.page.settings': "Page settings";
|
|
1089
|
+
readonly 'core.component.form-builder.page.navigation': "Navigation";
|
|
1090
|
+
readonly 'core.component.form-builder.page.single': "Single page";
|
|
1091
|
+
readonly 'core.component.form-builder.page.tabs': "Tabs";
|
|
1092
|
+
readonly 'core.component.form-builder.page.steps': "Steps";
|
|
1093
|
+
readonly 'core.component.form-builder.page.linear': "Validate previous steps";
|
|
1094
|
+
readonly 'core.component.form-builder.page.add': "Add page";
|
|
1095
|
+
readonly 'core.component.form-builder.page.icon': "Icon name";
|
|
1096
|
+
readonly 'core.component.form-builder.page.rules-hint': "Page visibility rules apply in preview. The page remains editable.";
|
|
1097
|
+
readonly 'core.component.form-builder.page.unsupported': "This page contains an unsupported element and cannot be duplicated safely.";
|
|
1098
|
+
readonly 'core.component.form-builder.page.delete-confirm': "Delete page \"{label}\" and its fields? External references: {count}.";
|
|
1099
|
+
readonly 'core.component.form-generic.page': "Page {number}";
|
|
1100
|
+
readonly 'core.component.form-generic.pages': "Form pages";
|
|
1101
|
+
readonly 'core.component.form-generic.previous': "Previous";
|
|
1102
|
+
readonly 'core.component.form-generic.linear-tip': "Fix the fields marked with an error before continuing.";
|
|
1103
|
+
readonly 'core.component.form-generic.next': "Next";
|
|
1104
|
+
readonly 'core.component.form-generic.progress': "Step {number} of {count}";
|
|
1046
1105
|
};
|
|
1047
1106
|
|
|
1048
1107
|
type I18nKey = keyof typeof EN_MESSAGES;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdcorejs/angular",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.1",
|
|
4
4
|
"description": "Angular component library: data table, query bar/builder, 20+ signal-based form controls, layout, auth and workflow services. Standalone, OnPush, signals-first. Published in parallel lines for Angular 19, 20, 21 and 22.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -156,6 +156,10 @@
|
|
|
156
156
|
"types": "./components/job-progress/index.d.ts",
|
|
157
157
|
"default": "./fesm2022/sdcorejs-angular-components-job-progress.mjs"
|
|
158
158
|
},
|
|
159
|
+
"./components/kanban": {
|
|
160
|
+
"types": "./components/kanban/index.d.ts",
|
|
161
|
+
"default": "./fesm2022/sdcorejs-angular-components-kanban.mjs"
|
|
162
|
+
},
|
|
159
163
|
"./components/mini-editor": {
|
|
160
164
|
"types": "./components/mini-editor/index.d.ts",
|
|
161
165
|
"default": "./fesm2022/sdcorejs-angular-components-mini-editor.mjs"
|
|
@@ -308,6 +312,10 @@
|
|
|
308
312
|
"types": "./forms/radio/index.d.ts",
|
|
309
313
|
"default": "./fesm2022/sdcorejs-angular-forms-radio.mjs"
|
|
310
314
|
},
|
|
315
|
+
"./forms/segmented": {
|
|
316
|
+
"types": "./forms/segmented/index.d.ts",
|
|
317
|
+
"default": "./fesm2022/sdcorejs-angular-forms-segmented.mjs"
|
|
318
|
+
},
|
|
311
319
|
"./forms/select": {
|
|
312
320
|
"types": "./forms/select/index.d.ts",
|
|
313
321
|
"default": "./fesm2022/sdcorejs-angular-forms-select.mjs"
|