@ai-table/grid 0.0.37 → 0.0.39
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/components/cell-editors/text/text-editor.component.d.ts +1 -0
- package/components/cell-editors/text/text-editor.component.d.ts.map +1 -1
- package/components/field-menu/field-menu.component.d.ts.map +1 -1
- package/components/field-setting/field-setting.component.d.ts +12 -8
- package/components/field-setting/field-setting.component.d.ts.map +1 -1
- package/core/constants/field.d.ts +4 -0
- package/core/constants/field.d.ts.map +1 -1
- package/core/types/core.d.ts +1 -0
- package/core/types/core.d.ts.map +1 -1
- package/core/utils/field.d.ts.map +1 -1
- package/esm2022/components/cell-editors/text/text-editor.component.mjs +6 -3
- package/esm2022/components/field-menu/field-menu.component.mjs +3 -11
- package/esm2022/components/field-setting/field-setting.component.mjs +48 -28
- package/esm2022/core/constants/field.mjs +20 -22
- package/esm2022/core/types/core.mjs +1 -1
- package/esm2022/core/utils/field.mjs +8 -4
- package/esm2022/pipes/grid.pipe.mjs +9 -11
- package/esm2022/renderer/components/cells/link.component.mjs +2 -1
- package/esm2022/renderer/drawers/cell-drawer.mjs +13 -6
- package/fesm2022/ai-table-grid.mjs +94 -74
- package/fesm2022/ai-table-grid.mjs.map +1 -1
- package/package.json +1 -1
- package/pipes/grid.pipe.d.ts +5 -5
- package/pipes/grid.pipe.d.ts.map +1 -1
- package/renderer/components/cells/link.component.d.ts.map +1 -1
- package/renderer/drawers/cell-drawer.d.ts +1 -0
- package/renderer/drawers/cell-drawer.d.ts.map +1 -1
package/package.json
CHANGED
package/pipes/grid.pipe.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
2
|
-
import { AITableFieldSettings, AITableSelectOption, MemberSettings, SelectSettings } from '../core';
|
2
|
+
import { AITableField, AITableFieldOption, AITableFieldSettings, AITableSelectOption, MemberSettings, SelectSettings } from '../core';
|
3
3
|
import { AITableReferences, AITableSelection } from '../types';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class SelectOptionPipe implements PipeTransform {
|
@@ -32,9 +32,9 @@ export declare class MemberSettingPipe implements PipeTransform {
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<MemberSettingPipe, never>;
|
33
33
|
static ɵpipe: i0.ɵɵPipeDeclaration<MemberSettingPipe, "memberSetting", true>;
|
34
34
|
}
|
35
|
-
export declare class
|
36
|
-
transform(
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
38
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<
|
35
|
+
export declare class AITableFieldIsSameOptionPipe implements PipeTransform {
|
36
|
+
transform(fieldOption: AITableFieldOption, field: Partial<AITableField>): boolean;
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AITableFieldIsSameOptionPipe, never>;
|
38
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AITableFieldIsSameOptionPipe, "fieldIsSameOption", true>;
|
39
39
|
}
|
40
40
|
//# sourceMappingURL=grid.pipe.d.ts.map
|
package/pipes/grid.pipe.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"grid.pipe.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/pipes/grid.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,
|
1
|
+
{"version":3,"file":"grid.pipe.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/pipes/grid.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EACH,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EAEnB,cAAc,EACd,cAAc,EACjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;;AAE/D,qBAIa,gBAAiB,YAAW,aAAa;IAClD,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,mBAAmB,EAAE;yCAD5C,gBAAgB;uCAAhB,gBAAgB;CAI5B;AAED,qBAIa,iBAAkB,YAAW,aAAa;IACnD,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,OAAO,GAAE,mBAAmB,EAAO;yCADnD,iBAAiB;uCAAjB,iBAAiB;CAU7B;AAED,qBAIa,kBAAmB,YAAW,aAAa;IACpD,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB;yCAD9C,kBAAkB;uCAAlB,kBAAkB;CAI9B;AAED,qBAIa,QAAS,YAAW,aAAa;IAC1C,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,iBAAiB;yCADhD,QAAQ;uCAAR,QAAQ;CAUpB;AAED,qBAIa,iBAAkB,YAAW,aAAa;IACnD,SAAS,CAAC,QAAQ,EAAE,oBAAoB;yCAD/B,iBAAiB;uCAAjB,iBAAiB;CAI7B;AAED,qBAIa,iBAAkB,YAAW,aAAa;IACnD,SAAS,CAAC,QAAQ,EAAE,oBAAoB;yCAD/B,iBAAiB;uCAAjB,iBAAiB;CAI7B;AAED,qBAIa,4BAA6B,YAAW,aAAa;IAC9D,SAAS,CAAC,WAAW,EAAE,kBAAkB,EAAE,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC;yCAD9D,4BAA4B;uCAA5B,4BAA4B;CAIxC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"link.component.d.ts","sourceRoot":"","sources":["../../../../../packages/grid/src/renderer/components/cells/link.component.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAW,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;;AAEtD,qBAWa,eAAgB,YAAW,kBAAkB;IACtD,MAAM,CAAC,SAAS,mBAAyB;IAEzC,MAAM,0EAA+C;IAErD,UAAU,SAA6D;IAEvE,MAAM,4DAAoE;IAE1E,cAAc;cAAoB,MAAM;aAAO,MAAM;OAAyC;IAE9F,QAAQ,0CAA0D;IAElE,UAAU,
|
1
|
+
{"version":3,"file":"link.component.d.ts","sourceRoot":"","sources":["../../../../../packages/grid/src/renderer/components/cells/link.component.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAW,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;;AAEtD,qBAWa,eAAgB,YAAW,kBAAkB;IACtD,MAAM,CAAC,SAAS,mBAAyB;IAEzC,MAAM,0EAA+C;IAErD,UAAU,SAA6D;IAEvE,MAAM,4DAAoE;IAE1E,cAAc;cAAoB,MAAM;aAAO,MAAM;OAAyC;IAE9F,QAAQ,0CAA0D;IAElE,UAAU,yDAmCP;IAEH,SAAS,CAAC,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;IAKtC,aAAa,CAAC,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;yCAvDjC,eAAe;2CAAf,eAAe;CAmE3B"}
|
@@ -11,6 +11,7 @@ export declare class CellDrawer extends Drawer {
|
|
11
11
|
renderCell(render: AITableRender, ctx?: CanvasRenderingContext2D | undefined): void | void[] | null;
|
12
12
|
private renderCellText;
|
13
13
|
private renderCellSelect;
|
14
|
+
private getValidSelectedValue;
|
14
15
|
private renderCellMultiSelect;
|
15
16
|
private renderSingleSelectCell;
|
16
17
|
private renderCellDate;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cell-drawer.d.ts","sourceRoot":"","sources":["../../../../packages/grid/src/renderer/drawers/cell-drawer.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"cell-drawer.d.ts","sourceRoot":"","sources":["../../../../packages/grid/src/renderer/drawers/cell-drawer.ts"],"names":[],"mappings":"AA+CA,OAAO,EAAW,YAAY,EAA8E,MAAM,YAAY,CAAC;AAC/H,OAAO,EAAwC,aAAa,EAAsB,MAAM,aAAa,CAAC;AAEtG,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC;;GAEG;AACH,qBAAa,UAAW,SAAQ,MAAM;IAE3B,SAAS,CAAC,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE;QAAE,UAAU,EAAE,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,IAAI;IAqB5E,UAAU,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,CAAC,EAAE,wBAAwB,GAAG,SAAS;IA4BnF,OAAO,CAAC,cAAc;IA8DtB,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,qBAAqB;IAK7B,OAAO,CAAC,qBAAqB;IA8M7B,OAAO,CAAC,sBAAsB;IA8F9B,OAAO,CAAC,cAAc;IAwBtB,OAAO,CAAC,cAAc;IA0BtB,OAAO,CAAC,kBAAkB;IA8C1B,OAAO,CAAC,gBAAgB;CAqH3B;AAED,eAAO,MAAM,UAAU,YAAmB,CAAC"}
|