@simplysm/angular 14.0.41 → 14.0.42
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/controls/collapse/sd-collapse-icon.d.ts +2 -4
- package/dist/controls/collapse/sd-collapse-icon.d.ts.map +1 -1
- package/dist/controls/collapse/sd-collapse-icon.js +5 -5
- package/dist/core/modal/sd-modal.d.ts +2 -1
- package/dist/core/modal/sd-modal.d.ts.map +1 -1
- package/dist/core/modal/sd-modal.js +6 -4
- package/dist/core/modal/sd-modal.provider.d.ts +1 -0
- package/dist/core/modal/sd-modal.provider.d.ts.map +1 -1
- package/dist/data/data-sheet/sd-data-sheet.d.ts.map +1 -1
- package/dist/data/data-sheet/sd-data-sheet.js +75 -43
- package/dist/data/sheet/sd-sheet-column-cell-template.d.ts +9 -0
- package/dist/data/sheet/sd-sheet-column-cell-template.d.ts.map +1 -0
- package/dist/data/sheet/sd-sheet-column-cell-template.js +17 -0
- package/dist/data/sheet/sd-sheet-column.d.ts +10 -7
- package/dist/data/sheet/sd-sheet-column.d.ts.map +1 -1
- package/dist/data/sheet/sd-sheet-column.js +10 -6
- package/dist/data/sheet/sd-sheet-config.modal.d.ts +1 -1
- package/dist/data/sheet/sd-sheet-config.modal.d.ts.map +1 -1
- package/dist/data/sheet/sd-sheet.d.ts +3 -2
- package/dist/data/sheet/sd-sheet.d.ts.map +1 -1
- package/dist/data/sheet/sd-sheet.js +59 -34
- package/dist/data/sheet/types.d.ts +2 -0
- package/dist/data/sheet/types.d.ts.map +1 -1
- package/dist/data/sheet/useSheetCellStyling.d.ts.map +1 -1
- package/dist/data/sheet/useSheetCellStyling.js +7 -1
- package/dist/data/sheet/useSheetLayoutEngine.d.ts.map +1 -1
- package/dist/data/sheet/useSheetLayoutEngine.js +2 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/package.json +6 -6
- package/src/controls/collapse/sd-collapse-icon.ts +2 -3
- package/src/core/modal/sd-modal.provider.ts +1 -0
- package/src/core/modal/sd-modal.ts +2 -1
- package/src/data/data-sheet/sd-data-sheet.ts +14 -5
- package/src/data/sheet/sd-sheet-column-cell-template.ts +17 -0
- package/src/data/sheet/sd-sheet-column.ts +12 -5
- package/src/data/sheet/sd-sheet.ts +12 -1
- package/src/data/sheet/types.ts +2 -0
- package/src/data/sheet/useSheetCellStyling.ts +5 -1
- package/src/data/sheet/useSheetLayoutEngine.ts +2 -0
- package/src/index.ts +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-sheet-column.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/sd-sheet-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,WAAW,EACZ,MAAM,eAAe,CAAC;;
|
|
1
|
+
{"version":3,"file":"sd-sheet-column.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/sd-sheet-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,WAAW,EACZ,MAAM,eAAe,CAAC;;AAGvB,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,OAAO;IAC7C,SAAS,EAAE,CAAC,CAAC;IACb,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;CACf;AAED,qBAIa,aAAa,CAAC,CAAC,GAAG,OAAO;IACpC,GAAG,8CAA4B;IAC/B,MAAM,yDAAgC;IACtC,WAAW,0DAAmB;IAC9B,OAAO,0DAAmB;IAC1B,KAAK,0DAAmB;IACxB,KAAK,qEAAiD;IACtD,MAAM,qEAAiD;IACvD,QAAQ,qEAAiD;IACzD,cAAc,qEAAiD;IAC/D,eAAe,qEAAiD;IAChE,QAAQ,8CAAY;IAEpB,UAAU,qEAGR;IACF,YAAY,gEAAgD;IAC5D,aAAa,gEAAiD;yCAlBnD,aAAa;2CAAb,aAAa;CAmBzB"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { booleanAttribute, contentChild, Directive, input, TemplateRef, } from "@angular/core";
|
|
2
|
+
import { SdSheetColumnCellTemplate } from "./sd-sheet-column-cell-template";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
const _c0 = ["
|
|
4
|
+
const _c0 = ["headerTpl"];
|
|
4
5
|
const _c1 = ["summaryTpl"];
|
|
5
6
|
export class SdSheetColumn {
|
|
6
7
|
key = input.required(...(ngDevMode ? [{ debugName: "key" }] : /* istanbul ignore next */ []));
|
|
7
8
|
header = input("", ...(ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []));
|
|
9
|
+
headerStyle = input(...(ngDevMode ? [undefined, { debugName: "headerStyle" }] : /* istanbul ignore next */ []));
|
|
10
|
+
tooltip = input(...(ngDevMode ? [undefined, { debugName: "tooltip" }] : /* istanbul ignore next */ []));
|
|
8
11
|
width = input(...(ngDevMode ? [undefined, { debugName: "width" }] : /* istanbul ignore next */ []));
|
|
9
12
|
fixed = input(false, { ...(ngDevMode ? { debugName: "fixed" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
10
13
|
hidden = input(false, { ...(ngDevMode ? { debugName: "hidden" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
@@ -12,14 +15,15 @@ export class SdSheetColumn {
|
|
|
12
15
|
disableSorting = input(false, { ...(ngDevMode ? { debugName: "disableSorting" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
13
16
|
disableResizing = input(false, { ...(ngDevMode ? { debugName: "disableResizing" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
14
17
|
ordering = input(0, ...(ngDevMode ? [{ debugName: "ordering" }] : /* istanbul ignore next */ []));
|
|
15
|
-
cellTplRef = contentChild(
|
|
18
|
+
cellTplRef = contentChild.required(SdSheetColumnCellTemplate, { read: TemplateRef });
|
|
19
|
+
headerTplRef = contentChild("headerTpl", ...(ngDevMode ? [{ debugName: "headerTplRef" }] : /* istanbul ignore next */ []));
|
|
16
20
|
summaryTplRef = contentChild("summaryTpl", ...(ngDevMode ? [{ debugName: "summaryTplRef" }] : /* istanbul ignore next */ []));
|
|
17
21
|
static ɵfac = function SdSheetColumn_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdSheetColumn)(); };
|
|
18
22
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SdSheetColumn, selectors: [["sd-sheet-column"]], contentQueries: function SdSheetColumn_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
19
|
-
i0.ɵɵcontentQuerySignal(dirIndex, ctx.cellTplRef, _c0, 5)(dirIndex, ctx.summaryTplRef, _c1, 5);
|
|
23
|
+
i0.ɵɵcontentQuerySignal(dirIndex, ctx.cellTplRef, SdSheetColumnCellTemplate, 5, TemplateRef)(dirIndex, ctx.headerTplRef, _c0, 5)(dirIndex, ctx.summaryTplRef, _c1, 5);
|
|
20
24
|
} if (rf & 2) {
|
|
21
|
-
i0.ɵɵqueryAdvance(
|
|
22
|
-
} }, inputs: { key: [1, "key"], header: [1, "header"], width: [1, "width"], fixed: [1, "fixed"], hidden: [1, "hidden"], collapse: [1, "collapse"], disableSorting: [1, "disableSorting"], disableResizing: [1, "disableResizing"], ordering: [1, "ordering"] } });
|
|
25
|
+
i0.ɵɵqueryAdvance(3);
|
|
26
|
+
} }, inputs: { key: [1, "key"], header: [1, "header"], headerStyle: [1, "headerStyle"], tooltip: [1, "tooltip"], width: [1, "width"], fixed: [1, "fixed"], hidden: [1, "hidden"], collapse: [1, "collapse"], disableSorting: [1, "disableSorting"], disableResizing: [1, "disableResizing"], ordering: [1, "ordering"] } });
|
|
23
27
|
}
|
|
24
28
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SdSheetColumn, [{
|
|
25
29
|
type: Directive,
|
|
@@ -27,4 +31,4 @@ export class SdSheetColumn {
|
|
|
27
31
|
selector: "sd-sheet-column",
|
|
28
32
|
standalone: true,
|
|
29
33
|
}]
|
|
30
|
-
}], null, { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: true }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], fixed: [{ type: i0.Input, args: [{ isSignal: true, alias: "fixed", required: false }] }], hidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "hidden", required: false }] }], collapse: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapse", required: false }] }], disableSorting: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableSorting", required: false }] }], disableResizing: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableResizing", required: false }] }], ordering: [{ type: i0.Input, args: [{ isSignal: true, alias: "ordering", required: false }] }], cellTplRef: [{ type: i0.ContentChild, args: ["
|
|
34
|
+
}], null, { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: true }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], headerStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerStyle", required: false }] }], tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], fixed: [{ type: i0.Input, args: [{ isSignal: true, alias: "fixed", required: false }] }], hidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "hidden", required: false }] }], collapse: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapse", required: false }] }], disableSorting: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableSorting", required: false }] }], disableResizing: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableResizing", required: false }] }], ordering: [{ type: i0.Input, args: [{ isSignal: true, alias: "ordering", required: false }] }], cellTplRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SdSheetColumnCellTemplate), { ...{ read: TemplateRef }, isSignal: true }] }], headerTplRef: [{ type: i0.ContentChild, args: ["headerTpl", { isSignal: true }] }], summaryTplRef: [{ type: i0.ContentChild, args: ["summaryTpl", { isSignal: true }] }] }); })();
|
|
@@ -13,7 +13,7 @@ interface ConfigItem {
|
|
|
13
13
|
export declare class SdSheetConfigModal implements SdModalContentDef<SdSheetConfig | undefined> {
|
|
14
14
|
initialized: import("@angular/core").WritableSignal<boolean>;
|
|
15
15
|
close: import("@angular/core").OutputEmitterRef<SdSheetConfig | undefined>;
|
|
16
|
-
controls: import("@angular/core").InputSignal<readonly SdSheetColumn[]>;
|
|
16
|
+
controls: import("@angular/core").InputSignal<readonly SdSheetColumn<unknown>[]>;
|
|
17
17
|
config: import("@angular/core").InputSignal<SdSheetConfig | undefined>;
|
|
18
18
|
_icons: {
|
|
19
19
|
tablerArrowUp: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-sheet-config.modal.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/sd-sheet-config.modal.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;;AAMvD,UAAU,UAAU;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBAmHa,kBAAmB,YAAW,iBAAiB,CAAC,aAAa,GAAG,SAAS,CAAC;IACrF,WAAW,kDAAgB;IAC3B,KAAK,sEAAuC;IAE5C,QAAQ,
|
|
1
|
+
{"version":3,"file":"sd-sheet-config.modal.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/sd-sheet-config.modal.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;;AAMvD,UAAU,UAAU;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBAmHa,kBAAmB,YAAW,iBAAiB,CAAC,aAAa,GAAG,SAAS,CAAC;IACrF,WAAW,kDAAgB;IAC3B,KAAK,sEAAuC;IAE5C,QAAQ,yEAA8C;IACtD,MAAM,iEAA+C;IAErD,MAAM;;;MAAsC;IAE5C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAiB3B;IAEH,MAAM,uDAA0D;IAEhE,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAMhC,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAMjC,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI;IAO9C,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAU/B,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAUjC,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAO3B,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAO7B,IAAI,IAAI,IAAI;IAeZ,QAAQ,IAAI,IAAI;IAIhB,OAAO,IAAI,IAAI;yCAtGJ,kBAAkB;2CAAlB,kBAAkB;CAyG9B"}
|
|
@@ -26,7 +26,7 @@ export declare class SdSheet<T> {
|
|
|
26
26
|
expandedItems: import("@angular/core").ModelSignal<T[]>;
|
|
27
27
|
sorts: import("@angular/core").ModelSignal<SortingDef[]>;
|
|
28
28
|
currentPage: import("@angular/core").ModelSignal<number>;
|
|
29
|
-
columnControls: import("@angular/core").Signal<readonly SdSheetColumn[]>;
|
|
29
|
+
columnControls: import("@angular/core").Signal<readonly SdSheetColumn<any>[]>;
|
|
30
30
|
private readonly _sdModal;
|
|
31
31
|
domAccessor: {
|
|
32
32
|
getHostEl: () => HTMLElement;
|
|
@@ -119,7 +119,8 @@ export declare class SdSheet<T> {
|
|
|
119
119
|
tablerSettings: string;
|
|
120
120
|
};
|
|
121
121
|
private readonly _columnControlMap;
|
|
122
|
-
|
|
122
|
+
getColumnHeaderTpl(key: string): import("@angular/core").TemplateRef<void> | null;
|
|
123
|
+
getColumnCellTpl(key: string): import("@angular/core").TemplateRef<import("./sd-sheet-column").SdSheetCellContext<unknown>> | null;
|
|
123
124
|
getColumnSummaryTpl(key: string): import("@angular/core").TemplateRef<void> | null;
|
|
124
125
|
getSelectableTooltip(item: T): string | null;
|
|
125
126
|
onRowClick(item: T): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-sheet.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/sd-sheet.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAelD,OAAO,EAAqB,KAAK,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAI5F,OAAO,KAAK,EACV,4BAA4B,EAE5B,gBAAgB,EAChB,4BAA4B,EAC7B,MAAM,SAAS,CAAC;;AAUjB,
|
|
1
|
+
{"version":3,"file":"sd-sheet.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/sd-sheet.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAelD,OAAO,EAAqB,KAAK,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAI5F,OAAO,KAAK,EACV,4BAA4B,EAE5B,gBAAgB,EAChB,4BAA4B,EAC7B,MAAM,SAAS,CAAC;;AAUjB,qBAuSa,OAAO,CAAC,CAAC;IAEpB,GAAG,0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,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAIjC,aAAa,CAAC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,GAAG,IAAI;IAIlD,aAAa,CAAC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI;IAI5D,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC;yCA1O/B,OAAO;2CAAP,OAAO;CA0PnB;AAGD,YAAY,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC"}
|
|
@@ -88,8 +88,23 @@ function SdSheet_For_5_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
88
88
|
i0.ɵɵadvance();
|
|
89
89
|
i0.ɵɵconditional(ctx_r1.selectMode() === "multi" ? 1 : -1);
|
|
90
90
|
} }
|
|
91
|
+
function SdSheet_For_5_For_4_Conditional_1_ng_template_0_Template(rf, ctx) { }
|
|
92
|
+
function SdSheet_For_5_For_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
93
|
+
i0.ɵɵtemplate(0, SdSheet_For_5_For_4_Conditional_1_ng_template_0_Template, 0, 0, "ng-template", 13);
|
|
94
|
+
} if (rf & 2) {
|
|
95
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx);
|
|
96
|
+
} }
|
|
97
|
+
function SdSheet_For_5_For_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
+
i0.ɵɵelementStart(0, "span");
|
|
99
|
+
i0.ɵɵtext(1);
|
|
100
|
+
i0.ɵɵelementEnd();
|
|
101
|
+
} if (rf & 2) {
|
|
102
|
+
const cell_r7 = i0.ɵɵnextContext().$implicit;
|
|
103
|
+
i0.ɵɵadvance();
|
|
104
|
+
i0.ɵɵtextInterpolate(cell_r7.text);
|
|
105
|
+
} }
|
|
91
106
|
function SdSheet_For_5_For_4_Conditional_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
-
i0.ɵɵelementStart(0, "span",
|
|
107
|
+
i0.ɵɵelementStart(0, "span", 16);
|
|
93
108
|
i0.ɵɵtext(1);
|
|
94
109
|
i0.ɵɵelementEnd();
|
|
95
110
|
} if (rf & 2) {
|
|
@@ -98,8 +113,8 @@ function SdSheet_For_5_For_4_Conditional_3_Conditional_1_Template(rf, ctx) { if
|
|
|
98
113
|
i0.ɵɵtextInterpolate(sortDef_r8.indexText);
|
|
99
114
|
} }
|
|
100
115
|
function SdSheet_For_5_For_4_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
101
|
-
i0.ɵɵelement(0, "ng-icon",
|
|
102
|
-
i0.ɵɵconditionalCreate(1, SdSheet_For_5_For_4_Conditional_3_Conditional_1_Template, 2, 1, "span",
|
|
116
|
+
i0.ɵɵelement(0, "ng-icon", 15);
|
|
117
|
+
i0.ɵɵconditionalCreate(1, SdSheet_For_5_For_4_Conditional_3_Conditional_1_Template, 2, 1, "span", 16);
|
|
103
118
|
} if (rf & 2) {
|
|
104
119
|
const sortDef_r8 = ctx;
|
|
105
120
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -109,7 +124,7 @@ function SdSheet_For_5_For_4_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
109
124
|
} }
|
|
110
125
|
function SdSheet_For_5_For_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
111
126
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
112
|
-
i0.ɵɵelementStart(0, "div",
|
|
127
|
+
i0.ɵɵelementStart(0, "div", 17);
|
|
113
128
|
i0.ɵɵlistener("mousedown", function SdSheet_For_5_For_4_Conditional_4_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r9); const cell_r7 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onResizerMousedown($event, cell_r7.colDef)); })("dblclick", function SdSheet_For_5_For_4_Conditional_4_Template_div_dblclick_0_listener($event) { i0.ɵɵrestoreView(_r9); const cell_r7 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onResizerDblClick($event, cell_r7.colDef)); });
|
|
114
129
|
i0.ɵɵelementEnd();
|
|
115
130
|
} }
|
|
@@ -117,22 +132,22 @@ function SdSheet_For_5_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
117
132
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
118
133
|
i0.ɵɵelementStart(0, "th", 5);
|
|
119
134
|
i0.ɵɵlistener("click", function SdSheet_For_5_For_4_Template_th_click_0_listener($event) { const cell_r7 = i0.ɵɵrestoreView(_r6).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onHeaderClick($event, cell_r7)); });
|
|
120
|
-
i0.ɵɵ
|
|
121
|
-
i0.ɵɵtext(2);
|
|
122
|
-
i0.ɵɵelementEnd();
|
|
135
|
+
i0.ɵɵconditionalCreate(1, SdSheet_For_5_For_4_Conditional_1_Template, 1, 1, null, 13)(2, SdSheet_For_5_For_4_Conditional_2_Template, 2, 1, "span");
|
|
123
136
|
i0.ɵɵconditionalCreate(3, SdSheet_For_5_For_4_Conditional_3_Template, 2, 2);
|
|
124
|
-
i0.ɵɵconditionalCreate(4, SdSheet_For_5_For_4_Conditional_4_Template, 1, 0, "div",
|
|
137
|
+
i0.ɵɵconditionalCreate(4, SdSheet_For_5_For_4_Conditional_4_Template, 1, 0, "div", 14);
|
|
125
138
|
i0.ɵɵelementEnd();
|
|
126
139
|
} if (rf & 2) {
|
|
127
|
-
let
|
|
140
|
+
let tmp_27_0;
|
|
141
|
+
let tmp_28_0;
|
|
128
142
|
const cell_r7 = ctx.$implicit;
|
|
129
143
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
130
144
|
i0.ɵɵstyleMap(ctx_r1.getHeaderCellStyle(cell_r7));
|
|
131
|
-
i0.ɵɵ
|
|
132
|
-
i0.ɵɵ
|
|
133
|
-
i0.ɵɵtextInterpolate(cell_r7.text);
|
|
145
|
+
i0.ɵɵclassProp("help", cell_r7.colDef == null ? null : cell_r7.colDef.tooltip);
|
|
146
|
+
i0.ɵɵattribute("colspan", cell_r7.colspan > 1 ? cell_r7.colspan : null)("rowspan", cell_r7.rowspan > 1 ? cell_r7.rowspan : null)("aria-sort", ctx_r1.getAriaSortValue(cell_r7))("title", (cell_r7.colDef == null ? null : cell_r7.colDef.tooltip) ?? cell_r7.text);
|
|
134
147
|
i0.ɵɵadvance();
|
|
135
|
-
i0.ɵɵconditional((
|
|
148
|
+
i0.ɵɵconditional((tmp_27_0 = cell_r7.colDef && ctx_r1.getColumnHeaderTpl(cell_r7.colDef.key)) ? 1 : 2, tmp_27_0);
|
|
149
|
+
i0.ɵɵadvance(2);
|
|
150
|
+
i0.ɵɵconditional((tmp_28_0 = cell_r7.colDef && ctx_r1.getSortDef(cell_r7.colDef.key)) ? 3 : -1, tmp_28_0);
|
|
136
151
|
i0.ɵɵadvance();
|
|
137
152
|
i0.ɵɵconditional(cell_r7.isLastRow && cell_r7.colDef && !cell_r7.colDef.disableResizing ? 4 : -1);
|
|
138
153
|
} }
|
|
@@ -140,7 +155,7 @@ function SdSheet_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
140
155
|
i0.ɵɵelementStart(0, "tr");
|
|
141
156
|
i0.ɵɵconditionalCreate(1, SdSheet_For_5_Conditional_1_Template, 3, 2, "th", 8);
|
|
142
157
|
i0.ɵɵconditionalCreate(2, SdSheet_For_5_Conditional_2_Template, 2, 2, "th", 9);
|
|
143
|
-
i0.ɵɵrepeaterCreate(3, SdSheet_For_5_For_4_Template, 5,
|
|
158
|
+
i0.ɵɵrepeaterCreate(3, SdSheet_For_5_For_4_Template, 5, 11, "th", 10, i0.ɵɵrepeaterTrackByIndex);
|
|
144
159
|
i0.ɵɵelementEnd();
|
|
145
160
|
} if (rf & 2) {
|
|
146
161
|
const row_r10 = ctx.$implicit;
|
|
@@ -177,7 +192,7 @@ function SdSheet_For_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
177
192
|
} }
|
|
178
193
|
function SdSheet_For_8_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
179
194
|
const _r15 = i0.ɵɵgetCurrentView();
|
|
180
|
-
i0.ɵɵelementStart(0, "td", 9)(1, "sd-checkbox",
|
|
195
|
+
i0.ɵɵelementStart(0, "td", 9)(1, "sd-checkbox", 20);
|
|
181
196
|
i0.ɵɵlistener("click", function SdSheet_For_8_Conditional_2_Template_sd_checkbox_click_1_listener($event) { i0.ɵɵrestoreView(_r15); const item_r13 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSelectCheckboxClick($event, item_r13)); });
|
|
182
197
|
i0.ɵɵelementEnd()();
|
|
183
198
|
} if (rf & 2) {
|
|
@@ -189,42 +204,42 @@ function SdSheet_For_8_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
189
204
|
} }
|
|
190
205
|
function SdSheet_For_8_For_4_Conditional_1_ng_template_0_Template(rf, ctx) { }
|
|
191
206
|
function SdSheet_For_8_For_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
192
|
-
i0.ɵɵtemplate(0, SdSheet_For_8_For_4_Conditional_1_ng_template_0_Template, 0, 0, "ng-template",
|
|
207
|
+
i0.ɵɵtemplate(0, SdSheet_For_8_For_4_Conditional_1_ng_template_0_Template, 0, 0, "ng-template", 22);
|
|
193
208
|
} if (rf & 2) {
|
|
194
|
-
const ɵ$
|
|
209
|
+
const ɵ$index_72_r18 = i0.ɵɵnextContext().$index;
|
|
195
210
|
const ctx_r18 = i0.ɵɵnextContext();
|
|
196
211
|
const item_r13 = ctx_r18.$implicit;
|
|
197
|
-
const ɵ$
|
|
212
|
+
const ɵ$index_56_r20 = ctx_r18.$index;
|
|
198
213
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
199
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx)("ngTemplateOutletContext", i0.ɵɵpureFunction5(5, _c1, item_r13, item_r13, ɵ$
|
|
214
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx)("ngTemplateOutletContext", i0.ɵɵpureFunction5(5, _c1, item_r13, item_r13, ɵ$index_56_r20, ctx_r1.getChildrenFn() !== undefined ? ctx_r1.getItemDef(item_r13).depth : 0, ctx_r1.cellAgent.isCellEditMode(i0.ɵɵpureFunction2(2, _c0, ɵ$index_56_r20, ɵ$index_72_r18))));
|
|
200
215
|
} }
|
|
201
216
|
function SdSheet_For_8_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
202
217
|
const _r16 = i0.ɵɵgetCurrentView();
|
|
203
|
-
i0.ɵɵelementStart(0, "td",
|
|
218
|
+
i0.ɵɵelementStart(0, "td", 21);
|
|
204
219
|
i0.ɵɵlistener("click", function SdSheet_For_8_For_4_Template_td_click_0_listener($event) { i0.ɵɵrestoreView(_r16); const item_r13 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onCellClick($event, item_r13)); })("focus", function SdSheet_For_8_For_4_Template_td_focus_0_listener() { i0.ɵɵrestoreView(_r16); const item_r13 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onCellFocus(item_r13)); })("keydown", function SdSheet_For_8_For_4_Template_td_keydown_0_listener($event) { const colDef_r17 = i0.ɵɵrestoreView(_r16).$implicit; const item_r13 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onCellKeydown($event, item_r13, colDef_r17.key)); });
|
|
205
|
-
i0.ɵɵconditionalCreate(1, SdSheet_For_8_For_4_Conditional_1_Template, 1, 11, null,
|
|
220
|
+
i0.ɵɵconditionalCreate(1, SdSheet_For_8_For_4_Conditional_1_Template, 1, 11, null, 22);
|
|
206
221
|
i0.ɵɵelementEnd();
|
|
207
222
|
} if (rf & 2) {
|
|
208
223
|
let tmp_26_0;
|
|
209
224
|
const colDef_r17 = ctx.$implicit;
|
|
210
|
-
const ɵ$
|
|
225
|
+
const ɵ$index_72_r18 = ctx.$index;
|
|
211
226
|
const ctx_r18 = i0.ɵɵnextContext();
|
|
212
227
|
const item_r13 = ctx_r18.$implicit;
|
|
213
|
-
const ɵ$
|
|
228
|
+
const ɵ$index_56_r20 = ctx_r18.$index;
|
|
214
229
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
215
|
-
i0.ɵɵstyleMap(ctx_r1.getCellStyleWithIndent(item_r13, colDef_r17, ɵ$
|
|
216
|
-
i0.ɵɵclassMap(ctx_r1.getDataCellClass(item_r13, colDef_r17, ɵ$
|
|
217
|
-
i0.ɵɵattribute("data-r", ɵ$
|
|
230
|
+
i0.ɵɵstyleMap(ctx_r1.getCellStyleWithIndent(item_r13, colDef_r17, ɵ$index_72_r18));
|
|
231
|
+
i0.ɵɵclassMap(ctx_r1.getDataCellClass(item_r13, colDef_r17, ɵ$index_56_r20, ɵ$index_72_r18));
|
|
232
|
+
i0.ɵɵattribute("data-r", ɵ$index_56_r20)("data-c", ɵ$index_72_r18);
|
|
218
233
|
i0.ɵɵadvance();
|
|
219
234
|
i0.ɵɵconditional((tmp_26_0 = ctx_r1.getColumnCellTpl(colDef_r17.key)) ? 1 : -1, tmp_26_0);
|
|
220
235
|
} }
|
|
221
236
|
function SdSheet_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
222
237
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
223
|
-
i0.ɵɵelementStart(0, "tr",
|
|
238
|
+
i0.ɵɵelementStart(0, "tr", 18);
|
|
224
239
|
i0.ɵɵlistener("click", function SdSheet_For_8_Template_tr_click_0_listener() { const item_r13 = i0.ɵɵrestoreView(_r12).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onRowClick(item_r13)); })("keydown", function SdSheet_For_8_Template_tr_keydown_0_listener($event) { const item_r13 = i0.ɵɵrestoreView(_r12).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onItemKeydown($event, item_r13)); });
|
|
225
240
|
i0.ɵɵconditionalCreate(1, SdSheet_For_8_Conditional_1_Template, 2, 1, "td", 8);
|
|
226
241
|
i0.ɵɵconditionalCreate(2, SdSheet_For_8_Conditional_2_Template, 2, 5, "td", 9);
|
|
227
|
-
i0.ɵɵrepeaterCreate(3, SdSheet_For_8_For_4_Template, 2, 7, "td",
|
|
242
|
+
i0.ɵɵrepeaterCreate(3, SdSheet_For_8_For_4_Template, 2, 7, "td", 19, _forTrack1);
|
|
228
243
|
i0.ɵɵelementEnd();
|
|
229
244
|
} if (rf & 2) {
|
|
230
245
|
const item_r13 = ctx.$implicit;
|
|
@@ -246,13 +261,13 @@ function SdSheet_Conditional_9_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
246
261
|
} }
|
|
247
262
|
function SdSheet_Conditional_9_For_5_Conditional_1_ng_template_0_Template(rf, ctx) { }
|
|
248
263
|
function SdSheet_Conditional_9_For_5_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
249
|
-
i0.ɵɵtemplate(0, SdSheet_Conditional_9_For_5_Conditional_1_ng_template_0_Template, 0, 0, "ng-template",
|
|
264
|
+
i0.ɵɵtemplate(0, SdSheet_Conditional_9_For_5_Conditional_1_ng_template_0_Template, 0, 0, "ng-template", 13);
|
|
250
265
|
} if (rf & 2) {
|
|
251
266
|
i0.ɵɵproperty("ngTemplateOutlet", ctx);
|
|
252
267
|
} }
|
|
253
268
|
function SdSheet_Conditional_9_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
254
269
|
i0.ɵɵelementStart(0, "td");
|
|
255
|
-
i0.ɵɵconditionalCreate(1, SdSheet_Conditional_9_For_5_Conditional_1_Template, 1, 1, null,
|
|
270
|
+
i0.ɵɵconditionalCreate(1, SdSheet_Conditional_9_For_5_Conditional_1_Template, 1, 1, null, 13);
|
|
256
271
|
i0.ɵɵelementEnd();
|
|
257
272
|
} if (rf & 2) {
|
|
258
273
|
let tmp_12_0;
|
|
@@ -266,7 +281,7 @@ function SdSheet_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
266
281
|
i0.ɵɵelementStart(0, "tfoot")(1, "tr");
|
|
267
282
|
i0.ɵɵconditionalCreate(2, SdSheet_Conditional_9_Conditional_2_Template, 1, 0, "td", 8);
|
|
268
283
|
i0.ɵɵconditionalCreate(3, SdSheet_Conditional_9_Conditional_3_Template, 1, 0, "td", 9);
|
|
269
|
-
i0.ɵɵrepeaterCreate(4, SdSheet_Conditional_9_For_5_Template, 2, 3, "td",
|
|
284
|
+
i0.ɵɵrepeaterCreate(4, SdSheet_Conditional_9_For_5_Template, 2, 3, "td", 23, _forTrack1);
|
|
270
285
|
i0.ɵɵelementEnd()();
|
|
271
286
|
} if (rf & 2) {
|
|
272
287
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -390,6 +405,10 @@ export class SdSheet {
|
|
|
390
405
|
}
|
|
391
406
|
return map;
|
|
392
407
|
}, ...(ngDevMode ? [{ debugName: "_columnControlMap" }] : /* istanbul ignore next */ []));
|
|
408
|
+
getColumnHeaderTpl(key) {
|
|
409
|
+
const col = this._columnControlMap().get(key);
|
|
410
|
+
return col?.headerTplRef() ?? null;
|
|
411
|
+
}
|
|
393
412
|
getColumnCellTpl(key) {
|
|
394
413
|
const col = this._columnControlMap().get(key);
|
|
395
414
|
return col?.cellTplRef() ?? null;
|
|
@@ -500,7 +519,7 @@ export class SdSheet {
|
|
|
500
519
|
i0.ɵɵlistener("keydown.capture", function SdSheet_keydown_capture_HostBindingHandler($event) { return ctx.onKeydownCapture($event); })("dblclick", function SdSheet_dblclick_HostBindingHandler($event) { return ctx.onDblClick($event); })("blur.capture", function SdSheet_blur_capture_HostBindingHandler($event) { return ctx.onBlurCapture($event); });
|
|
501
520
|
} if (rf & 2) {
|
|
502
521
|
i0.ɵɵattribute("data-sd-inset", ctx.inset());
|
|
503
|
-
} }, inputs: { key: [1, "key"], items: [1, "items"], trackByFn: [1, "trackByFn"], selectMode: [1, "selectMode"], autoSelect: [1, "autoSelect"], getItemSelectableFn: [1, "getItemSelectableFn"], getChildrenFn: [1, "getChildrenFn"], useAutoSort: [1, "useAutoSort"], visiblePageCount: [1, "visiblePageCount"], totalPageCount: [1, "totalPageCount"], itemsPerPage: [1, "itemsPerPage"], focusMode: [1, "focusMode"], inset: [1, "inset"], contentStyle: [1, "contentStyle"], getItemCellClassFn: [1, "getItemCellClassFn"], getItemCellStyleFn: [1, "getItemCellStyleFn"], hideConfigBar: [1, "hideConfigBar"], selectedItems: [1, "selectedItems"], expandedItems: [1, "expandedItems"], sorts: [1, "sorts"], currentPage: [1, "currentPage"] }, outputs: { itemKeydown: "itemKeydown", cellKeydown: "cellKeydown", selectedItems: "selectedItemsChange", expandedItems: "expandedItemsChange", sorts: "sortsChange", currentPage: "currentPageChange" }, decls: 11, vars: 8, consts: [[1, "_tool"], [1, "_container"], [3, "background"], [1, "_resize-indicator"], [3, "currentPage", "totalPageCount", "visiblePageCount"], [3, "click"], [3, "svg"], [3, "currentPageChange", "currentPage", "totalPageCount", "visiblePageCount"], [1, "_expand-col"], [1, "_select-col"], [3, "style"], [3, "value", "inline", "inset"], [3, "click", "value", "inline", "inset"], [1, "_resizer"], [1, "_sort-icon", 3, "svg"], [1, "_sort-index"], [1, "_resizer", 3, "mousedown", "dblclick"], [3, "click", "keydown"], ["tabindex", "0", 3, "class", "style"], [3, "click", "value", "canChangeFn", "inline", "inset"], ["tabindex", "0", 3, "click", "focus", "keydown"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "
|
|
522
|
+
} }, inputs: { key: [1, "key"], items: [1, "items"], trackByFn: [1, "trackByFn"], selectMode: [1, "selectMode"], autoSelect: [1, "autoSelect"], getItemSelectableFn: [1, "getItemSelectableFn"], getChildrenFn: [1, "getChildrenFn"], useAutoSort: [1, "useAutoSort"], visiblePageCount: [1, "visiblePageCount"], totalPageCount: [1, "totalPageCount"], itemsPerPage: [1, "itemsPerPage"], focusMode: [1, "focusMode"], inset: [1, "inset"], contentStyle: [1, "contentStyle"], getItemCellClassFn: [1, "getItemCellClassFn"], getItemCellStyleFn: [1, "getItemCellStyleFn"], hideConfigBar: [1, "hideConfigBar"], selectedItems: [1, "selectedItems"], expandedItems: [1, "expandedItems"], sorts: [1, "sorts"], currentPage: [1, "currentPage"] }, outputs: { itemKeydown: "itemKeydown", cellKeydown: "cellKeydown", selectedItems: "selectedItemsChange", expandedItems: "expandedItemsChange", sorts: "sortsChange", currentPage: "currentPageChange" }, decls: 11, vars: 8, consts: [[1, "_tool"], [1, "_container"], [3, "background"], [1, "_resize-indicator"], [3, "currentPage", "totalPageCount", "visiblePageCount"], [3, "click"], [3, "svg"], [3, "currentPageChange", "currentPage", "totalPageCount", "visiblePageCount"], [1, "_expand-col"], [1, "_select-col"], [3, "help", "style"], [3, "value", "inline", "inset"], [3, "click", "value", "inline", "inset"], [3, "ngTemplateOutlet"], [1, "_resizer"], [1, "_sort-icon", 3, "svg"], [1, "_sort-index"], [1, "_resizer", 3, "mousedown", "dblclick"], [3, "click", "keydown"], ["tabindex", "0", 3, "class", "style"], [3, "click", "value", "canChangeFn", "inline", "inset"], ["tabindex", "0", 3, "click", "focus", "keydown"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "style"]], template: function SdSheet_Template(rf, ctx) { if (rf & 1) {
|
|
504
523
|
i0.ɵɵconditionalCreate(0, SdSheet_Conditional_0_Template, 3, 2, "div", 0);
|
|
505
524
|
i0.ɵɵelementStart(1, "div", 1)(2, "table")(3, "thead");
|
|
506
525
|
i0.ɵɵrepeaterCreate(4, SdSheet_For_5_Template, 5, 2, "tr", null, i0.ɵɵrepeaterTrackByIndex);
|
|
@@ -576,10 +595,16 @@ export class SdSheet {
|
|
|
576
595
|
[attr.colspan]="cell.colspan > 1 ? cell.colspan : null"
|
|
577
596
|
[attr.rowspan]="cell.rowspan > 1 ? cell.rowspan : null"
|
|
578
597
|
[attr.aria-sort]="getAriaSortValue(cell)"
|
|
598
|
+
[attr.title]="cell.colDef?.tooltip ?? cell.text"
|
|
599
|
+
[class.help]="cell.colDef?.tooltip"
|
|
579
600
|
[style]="getHeaderCellStyle(cell)"
|
|
580
601
|
(click)="onHeaderClick($event, cell)"
|
|
581
602
|
>
|
|
582
|
-
|
|
603
|
+
@if (cell.colDef && getColumnHeaderTpl(cell.colDef.key); as headerTpl) {
|
|
604
|
+
<ng-template [ngTemplateOutlet]="headerTpl" />
|
|
605
|
+
} @else {
|
|
606
|
+
<span>{{ cell.text }}</span>
|
|
607
|
+
}
|
|
583
608
|
@if (cell.colDef && getSortDef(cell.colDef.key); as sortDef) {
|
|
584
609
|
<ng-icon
|
|
585
610
|
class="_sort-icon"
|
|
@@ -688,4 +713,4 @@ export class SdSheet {
|
|
|
688
713
|
"(blur.capture)": "onBlurCapture($event)",
|
|
689
714
|
}, styles: ["sd-sheet {\n display: block;\n position: relative;\n overflow: hidden;\n border: 1px solid var(--trans-lighter);\n}\nsd-sheet[data-sd-inset=true] {\n border: none;\n}\nsd-sheet > ._tool {\n display: flex;\n align-items: center;\n gap: var(--gap-sm);\n padding: var(--gap-sm) var(--gap-default);\n border-bottom: 1px solid var(--trans-lighter);\n background: var(--theme-secondary-lightest);\n}\nsd-sheet > ._container {\n overflow: auto;\n width: 100%;\n height: 100%;\n}\nsd-sheet > ._container > table {\n width: 100%;\n border-collapse: collapse;\n table-layout: fixed;\n}\nsd-sheet > ._container > table > thead > tr > th {\n position: sticky;\n top: 0;\n z-index: 2;\n background: var(--theme-secondary-lightest);\n border: 1px solid var(--trans-lighter);\n padding: var(--gap-sm) var(--gap-default);\n text-align: left;\n font-weight: bold;\n white-space: nowrap;\n cursor: pointer;\n user-select: none;\n}\nsd-sheet > ._container > table > thead > tr > th:not(._select-col):not(._expand-col) {\n position: relative;\n}\nsd-sheet > ._container > table > thead > tr > th > ._sort-icon {\n font-size: 0.85em;\n vertical-align: middle;\n margin-left: 0.25em;\n}\nsd-sheet > ._container > table > thead > tr > th > ._sort-index {\n font-size: 0.75em;\n vertical-align: super;\n}\nsd-sheet > ._container > table > thead > tr > th > ._resizer {\n position: absolute;\n top: 0;\n right: -2px;\n width: 5px;\n height: 100%;\n cursor: col-resize;\n z-index: 3;\n}\nsd-sheet > ._container > table > tbody > tr > td {\n border: 1px solid var(--trans-lighter);\n padding: var(--gap-sm) var(--gap-default);\n white-space: nowrap;\n}\nsd-sheet > ._container > table > tbody > tr > td:focus {\n outline: 2px solid var(--theme-primary-default);\n outline-offset: -2px;\n}\nsd-sheet > ._container > table > thead > tr > th._select-col,\nsd-sheet > ._container > table > tbody > tr > td._select-col {\n width: 2em;\n min-width: 2em;\n max-width: 2em;\n text-align: center;\n padding: 0;\n}\nsd-sheet > ._container > table > thead > tr > th._expand-col,\nsd-sheet > ._container > table > tbody > tr > td._expand-col {\n width: 2em;\n min-width: 2em;\n max-width: 2em;\n text-align: center;\n padding: 0;\n}\nsd-sheet > ._container > table > tfoot > tr > td {\n position: sticky;\n bottom: 0;\n z-index: 2;\n background: var(--theme-secondary-lightest);\n border: 1px solid var(--trans-lighter);\n padding: var(--gap-sm) var(--gap-default);\n}\nsd-sheet > ._container > ._resize-indicator {\n position: absolute;\n top: 0;\n width: 2px;\n height: 100%;\n background: var(--theme-primary-default);\n z-index: 10;\n pointer-events: none;\n}"] }]
|
|
690
715
|
}], null, { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], trackByFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "trackByFn", required: false }] }], selectMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectMode", required: false }] }], autoSelect: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoSelect", required: false }] }], getItemSelectableFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "getItemSelectableFn", required: false }] }], getChildrenFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "getChildrenFn", required: false }] }], useAutoSort: [{ type: i0.Input, args: [{ isSignal: true, alias: "useAutoSort", required: false }] }], visiblePageCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "visiblePageCount", required: false }] }], totalPageCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalPageCount", required: false }] }], itemsPerPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsPerPage", required: false }] }], focusMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusMode", required: false }] }], inset: [{ type: i0.Input, args: [{ isSignal: true, alias: "inset", required: false }] }], contentStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentStyle", required: false }] }], getItemCellClassFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "getItemCellClassFn", required: false }] }], getItemCellStyleFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "getItemCellStyleFn", required: false }] }], hideConfigBar: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideConfigBar", required: false }] }], itemKeydown: [{ type: i0.Output, args: ["itemKeydown"] }], cellKeydown: [{ type: i0.Output, args: ["cellKeydown"] }], selectedItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedItems", required: false }] }, { type: i0.Output, args: ["selectedItemsChange"] }], expandedItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedItems", required: false }] }, { type: i0.Output, args: ["expandedItemsChange"] }], sorts: [{ type: i0.Input, args: [{ isSignal: true, alias: "sorts", required: false }] }, { type: i0.Output, args: ["sortsChange"] }], currentPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPage", required: false }] }, { type: i0.Output, args: ["currentPageChange"] }], columnControls: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => SdSheetColumn), { isSignal: true }] }] }); })();
|
|
691
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdSheet, { className: "SdSheet", filePath: "packages/angular/src/data/sheet/sd-sheet.ts", lineNumber:
|
|
716
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdSheet, { className: "SdSheet", filePath: "packages/angular/src/data/sheet/sd-sheet.ts", lineNumber: 343, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACtC;AAED,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,MAAM,CAClB,MAAM,EACN;QACE,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CACF,CAAC;CACH;AAED,MAAM,WAAW,4BAA4B,CAAC,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,aAAa,CAAC;CACtB;AAED,MAAM,WAAW,4BAA4B,CAAC,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC;IACR,GA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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSheetCellStyling.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/useSheetCellStyling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAE9E,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,OAAO,EAAE;IAC9C,UAAU,EAAE,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACvC,YAAY,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC1C,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC;IAC1F,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC;IAC9E,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC,EAAE,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC;IACjF,YAAY,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,aAAa,CAAC,CAAC,CAAC,CAAC;IAC5C,cAAc,EAAE,CAAC,IAAI,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC;CAC7D;+BAgDmC,gBAAgB,KAAG,MAAM,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"useSheetCellStyling.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/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,CAAC,UAAU,gBAAgB,KAAK,MAAM,KAAK,MAAM,KAAG,MAAM,GAAG,IAAI;EAoBlG"}
|
|
@@ -46,7 +46,13 @@ export function useSheetCellStyling(options) {
|
|
|
46
46
|
function getHeaderCellStyle(cell) {
|
|
47
47
|
if (cell.colDef == null)
|
|
48
48
|
return null;
|
|
49
|
-
|
|
49
|
+
const parts = [];
|
|
50
|
+
const baseStyle = headerColumnStyles().get(cell.colDef.key);
|
|
51
|
+
if (baseStyle != null)
|
|
52
|
+
parts.push(baseStyle);
|
|
53
|
+
if (cell.colDef.headerStyle != null)
|
|
54
|
+
parts.push(cell.colDef.headerStyle);
|
|
55
|
+
return parts.length > 0 ? parts.join("; ") : null;
|
|
50
56
|
}
|
|
51
57
|
function getCellStyle(item, colDef) {
|
|
52
58
|
const baseStyle = dataColumnBaseStyles().get(colDef.key) ?? null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSheetLayoutEngine.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/useSheetLayoutEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEjF,wBAAgB,oBAAoB,CAAC,OAAO,EAAE;IAC5C,cAAc,EAAE,MAAM,CAAC,SAAS,aAAa,EAAE,CAAC,CAAC;IACjD,MAAM,EAAE,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;CAC3C;;;;;;
|
|
1
|
+
{"version":3,"file":"useSheetLayoutEngine.d.ts","sourceRoot":"","sources":["../../../src/data/sheet/useSheetLayoutEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEjF,wBAAgB,oBAAoB,CAAC,OAAO,EAAE;IAC5C,cAAc,EAAE,MAAM,CAAC,SAAS,aAAa,EAAE,CAAC,CAAC;IACjD,MAAM,EAAE,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;CAC3C;;;;;;EA0IA"}
|
|
@@ -10,6 +10,8 @@ export function useSheetLayoutEngine(options) {
|
|
|
10
10
|
return {
|
|
11
11
|
key,
|
|
12
12
|
header: col.header(),
|
|
13
|
+
headerStyle: col.headerStyle(),
|
|
14
|
+
tooltip: col.tooltip(),
|
|
13
15
|
width: cfgCol?.width ?? col.width(),
|
|
14
16
|
fixed: cfgCol?.fixed ?? col.fixed(),
|
|
15
17
|
hidden: cfgCol?.hidden ?? col.hidden(),
|
package/dist/index.d.ts
CHANGED
|
@@ -100,7 +100,8 @@ export { SdTopbar } from "./layout/topbar/sd-topbar";
|
|
|
100
100
|
export { SdTopbarMenu } from "./layout/topbar/sd-topbar-menu";
|
|
101
101
|
export { SdTopbarUser, type SdTopbarUserMenu, } from "./layout/topbar/sd-topbar-user";
|
|
102
102
|
export { SdSheet } from "./data/sheet/sd-sheet";
|
|
103
|
-
export { SdSheetColumn } from "./data/sheet/sd-sheet-column";
|
|
103
|
+
export { SdSheetColumn, type SdSheetCellContext } from "./data/sheet/sd-sheet-column";
|
|
104
|
+
export { SdSheetColumnCellTemplate } from "./data/sheet/sd-sheet-column-cell-template";
|
|
104
105
|
export { SdSheetConfigModal } from "./data/sheet/sd-sheet-config.modal";
|
|
105
106
|
export type { SdSheetColumnDef, SdSheetConfig, SdSheetHeaderDef, SdSheetItemKeydownEventParam, SdSheetCellKeydownEventParam, } from "./data/sheet/types";
|
|
106
107
|
export { SdDataSheet } from "./data/data-sheet/sd-data-sheet";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +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E,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -133,6 +133,7 @@ export { SdTopbarUser, } from "./layout/topbar/sd-topbar-user";
|
|
|
133
133
|
// data/sheet
|
|
134
134
|
export { SdSheet } from "./data/sheet/sd-sheet";
|
|
135
135
|
export { SdSheetColumn } from "./data/sheet/sd-sheet-column";
|
|
136
|
+
export { SdSheetColumnCellTemplate } from "./data/sheet/sd-sheet-column-cell-template";
|
|
136
137
|
export { SdSheetConfigModal } from "./data/sheet/sd-sheet-config.modal";
|
|
137
138
|
// data/data-sheet
|
|
138
139
|
export { SdDataSheet } from "./data/data-sheet/sd-data-sheet";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/angular",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.42",
|
|
4
4
|
"description": "심플리즘 패키지 - Angular",
|
|
5
5
|
"author": "심플리즘",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,16 +44,16 @@
|
|
|
44
44
|
"@tiptap/extension-text-style": "^3.22.3",
|
|
45
45
|
"@tiptap/extension-underline": "^3.22.3",
|
|
46
46
|
"@tiptap/starter-kit": "^3.22.3",
|
|
47
|
-
"bwip-js": "^4.9.
|
|
47
|
+
"bwip-js": "^4.9.2",
|
|
48
48
|
"echarts": "^6.0.0",
|
|
49
49
|
"html-to-image": "^1.11.13",
|
|
50
50
|
"jspdf": "^4.2.1",
|
|
51
51
|
"rxjs": "^7.8.2",
|
|
52
52
|
"tabbable": "^6.4.0",
|
|
53
|
-
"@simplysm/core-browser": "14.0.
|
|
54
|
-
"@simplysm/
|
|
55
|
-
"@simplysm/
|
|
56
|
-
"@simplysm/service-
|
|
53
|
+
"@simplysm/core-browser": "14.0.42",
|
|
54
|
+
"@simplysm/core-common": "14.0.42",
|
|
55
|
+
"@simplysm/service-common": "14.0.42",
|
|
56
|
+
"@simplysm/service-client": "14.0.42"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@angular/compiler": "^21.2.8",
|
|
@@ -17,7 +17,7 @@ import { tablerChevronRight } from "@ng-icons/tabler-icons";
|
|
|
17
17
|
standalone: true,
|
|
18
18
|
imports: [NgIcon],
|
|
19
19
|
template: `
|
|
20
|
-
<ng-icon [svg]="
|
|
20
|
+
<ng-icon [svg]="icon()" />
|
|
21
21
|
`,
|
|
22
22
|
styles: [
|
|
23
23
|
/* language=SCSS */ `
|
|
@@ -36,11 +36,10 @@ import { tablerChevronRight } from "@ng-icons/tabler-icons";
|
|
|
36
36
|
},
|
|
37
37
|
})
|
|
38
38
|
export class SdCollapseIcon {
|
|
39
|
+
icon = input(tablerChevronRight);
|
|
39
40
|
open = input(false, { transform: booleanAttribute });
|
|
40
41
|
openRotate = input(90, { transform: numberAttribute });
|
|
41
42
|
|
|
42
|
-
icons = { tablerChevronRight };
|
|
43
|
-
|
|
44
43
|
transformStyle = computed(() => {
|
|
45
44
|
return this.open() ? `rotate(${this.openRotate()}deg)` : "";
|
|
46
45
|
});
|
|
@@ -38,7 +38,7 @@ import "@simplysm/core-browser";
|
|
|
38
38
|
(keydown)="onDialogKeydown($event)"
|
|
39
39
|
(focus)="onDialogFocus()">
|
|
40
40
|
@if (!hideHeader()) {
|
|
41
|
-
<div class="_header" (mousedown)="onHeaderMouseDown($event)">
|
|
41
|
+
<div class="_header" (mousedown)="onHeaderMouseDown($event)" [style]="headerStyle()">
|
|
42
42
|
<span class="_title">{{ title() }}</span>
|
|
43
43
|
@if (actionTplRef()) {
|
|
44
44
|
<ng-container *ngTemplateOutlet="actionTplRef()!" />
|
|
@@ -297,6 +297,7 @@ export class SdModal {
|
|
|
297
297
|
title = input("");
|
|
298
298
|
hideHeader = input(false);
|
|
299
299
|
hideCloseButton = input(false);
|
|
300
|
+
headerStyle = input<string | undefined>(undefined);
|
|
300
301
|
useCloseByBackdrop = input(true);
|
|
301
302
|
useCloseByEscapeKey = input(true);
|
|
302
303
|
float = input(false);
|