@ai-table/grid 0.0.49 → 0.0.51
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/core/utils/field.d.ts +1 -0
- package/core/utils/field.d.ts.map +1 -1
- package/esm2022/components/field-menu/field-menu.component.mjs +3 -3
- package/esm2022/core/utils/field.mjs +7 -3
- package/esm2022/grid.component.mjs +15 -3
- package/esm2022/renderer/drawers/cell-drawer.mjs +8 -4
- package/esm2022/renderer/renderer.component.mjs +7 -3
- package/esm2022/utils/cell.mjs +4 -1
- package/esm2022/utils/field/model/attachment.mjs +7 -4
- package/esm2022/utils/field/model/date.mjs +5 -1
- package/esm2022/utils/field/model/field.mjs +2 -2
- package/esm2022/utils/field/model/index.mjs +3 -2
- package/esm2022/utils/field/model/link.mjs +4 -1
- package/esm2022/utils/field/model/member.mjs +7 -4
- package/esm2022/utils/field/model/number.mjs +4 -1
- package/esm2022/utils/field/model/progress.mjs +4 -1
- package/esm2022/utils/field/model/rate.mjs +4 -1
- package/esm2022/utils/field/model/rich-text.mjs +42 -0
- package/esm2022/utils/field/model/select.mjs +7 -4
- package/esm2022/utils/field/model/text.mjs +4 -1
- package/esm2022/utils/hover-cell.mjs +1 -1
- package/fesm2022/ai-table-grid.mjs +113 -22
- package/fesm2022/ai-table-grid.mjs.map +1 -1
- package/grid.component.d.ts +1 -0
- package/grid.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/renderer/drawers/cell-drawer.d.ts.map +1 -1
- package/renderer/renderer.component.d.ts +3 -1
- package/renderer/renderer.component.d.ts.map +1 -1
- package/utils/cell.d.ts.map +1 -1
- package/utils/field/model/attachment.d.ts +6 -2
- package/utils/field/model/attachment.d.ts.map +1 -1
- package/utils/field/model/date.d.ts +1 -0
- package/utils/field/model/date.d.ts.map +1 -1
- package/utils/field/model/field.d.ts +10 -2
- package/utils/field/model/field.d.ts.map +1 -1
- package/utils/field/model/index.d.ts.map +1 -1
- package/utils/field/model/link.d.ts +1 -0
- package/utils/field/model/link.d.ts.map +1 -1
- package/utils/field/model/member.d.ts +6 -2
- package/utils/field/model/member.d.ts.map +1 -1
- package/utils/field/model/number.d.ts +1 -0
- package/utils/field/model/number.d.ts.map +1 -1
- package/utils/field/model/progress.d.ts +1 -0
- package/utils/field/model/progress.d.ts.map +1 -1
- package/utils/field/model/rate.d.ts +1 -0
- package/utils/field/model/rate.d.ts.map +1 -1
- package/utils/field/model/rich-text.d.ts +23 -0
- package/utils/field/model/rich-text.d.ts.map +1 -0
- package/utils/field/model/select.d.ts +7 -3
- package/utils/field/model/select.d.ts.map +1 -1
- package/utils/field/model/text.d.ts +1 -0
- package/utils/field/model/text.d.ts.map +1 -1
- package/utils/hover-cell.d.ts.map +1 -1
@@ -1239,7 +1239,8 @@ const isArrayField = (field) => {
|
|
1239
1239
|
AITableFieldType.createdBy,
|
1240
1240
|
AITableFieldType.updatedBy,
|
1241
1241
|
AITableFieldType.select,
|
1242
|
-
AITableFieldType.attachment
|
1242
|
+
AITableFieldType.attachment,
|
1243
|
+
AITableFieldType.richText
|
1243
1244
|
].includes(field.type);
|
1244
1245
|
};
|
1245
1246
|
const isSystemField = (field) => {
|
@@ -1248,11 +1249,14 @@ const isSystemField = (field) => {
|
|
1248
1249
|
const isNumberFiled = (field) => {
|
1249
1250
|
return [AITableFieldType.number, AITableFieldType.progress, AITableFieldType.rate].includes(field.type);
|
1250
1251
|
};
|
1252
|
+
const isDateFiled = (field) => {
|
1253
|
+
return [AITableFieldType.date, AITableFieldType.createdAt, AITableFieldType.updatedAt].includes(field.type);
|
1254
|
+
};
|
1251
1255
|
function getDefaultFieldValue(field) {
|
1252
1256
|
if (isArrayField(field)) {
|
1253
1257
|
return [];
|
1254
1258
|
}
|
1255
|
-
if (isNumberFiled(field) || field.type === AITableFieldType.
|
1259
|
+
if (isNumberFiled(field) || isDateFiled(field) || field.type === AITableFieldType.link) {
|
1256
1260
|
return null;
|
1257
1261
|
}
|
1258
1262
|
return '';
|
@@ -2560,13 +2564,13 @@ class AITableFieldMenu extends ThyDropdownAbstractMenu {
|
|
2560
2564
|
return menu.name || '';
|
2561
2565
|
}
|
2562
2566
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AITableFieldMenu, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2563
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: AITableFieldMenu, isStandalone: true, selector: "ai-table-field-menu", inputs: { fieldId: "fieldId", aiTable: "aiTable", fieldMenus: "fieldMenus", origin: "origin", position: "position" }, host: { classAttribute: "field-menu" }, usesInheritance: true, ngImport: i0, template: "@for (menu of fieldMenus; track index; let index = $index) {\n
|
2567
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: AITableFieldMenu, isStandalone: true, selector: "ai-table-field-menu", inputs: { fieldId: "fieldId", aiTable: "aiTable", fieldMenus: "fieldMenus", origin: "origin", position: "position" }, host: { classAttribute: "field-menu" }, usesInheritance: true, ngImport: i0, template: "@if (field()) {\n @for (menu of fieldMenus; track index; let index = $index) {\n @if ((menu.hidden && !menu.hidden(aiTable, field)) || !menu.hidden) {\n @if (menu.type === 'divider') {\n <thy-divider [thyStyle]=\"'solid'\"></thy-divider>\n } @else {\n @let disabled = !!(menu.disabled && menu.disabled(aiTable, field));\n @let isRemoveField = menu.type === 'removeField';\n <a\n thyDropdownMenuItem\n href=\"javascript:;\"\n [ngClass]=\"{ 'remove-field': isRemoveField && !disabled }\"\n (click)=\"execute(menu)\"\n [thyDisabled]=\"disabled\"\n >\n <thy-icon [thyIconName]=\"menu.icon!\"></thy-icon>\n <span>{{ getMenuName(menu, field()) }}</span>\n </a>\n }\n }\n }\n}\n", dependencies: [{ kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "component", type: ThyDivider, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "directive", type: ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2564
2568
|
}
|
2565
2569
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AITableFieldMenu, decorators: [{
|
2566
2570
|
type: Component,
|
2567
2571
|
args: [{ selector: 'ai-table-field-menu', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
2568
2572
|
class: 'field-menu'
|
2569
|
-
}, imports: [ThyIcon, ThyDivider, ThyDropdownMenuItemDirective, NgClass], template: "@for (menu of fieldMenus; track index; let index = $index) {\n
|
2573
|
+
}, imports: [ThyIcon, ThyDivider, ThyDropdownMenuItemDirective, NgClass], template: "@if (field()) {\n @for (menu of fieldMenus; track index; let index = $index) {\n @if ((menu.hidden && !menu.hidden(aiTable, field)) || !menu.hidden) {\n @if (menu.type === 'divider') {\n <thy-divider [thyStyle]=\"'solid'\"></thy-divider>\n } @else {\n @let disabled = !!(menu.disabled && menu.disabled(aiTable, field));\n @let isRemoveField = menu.type === 'removeField';\n <a\n thyDropdownMenuItem\n href=\"javascript:;\"\n [ngClass]=\"{ 'remove-field': isRemoveField && !disabled }\"\n (click)=\"execute(menu)\"\n [thyDisabled]=\"disabled\"\n >\n <thy-icon [thyIconName]=\"menu.icon!\"></thy-icon>\n <span>{{ getMenuName(menu, field()) }}</span>\n </a>\n }\n }\n }\n}\n" }]
|
2570
2574
|
}], propDecorators: { fieldId: [{
|
2571
2575
|
type: Input,
|
2572
2576
|
args: [{ required: true }]
|
@@ -2687,6 +2691,9 @@ function getCellHorizontalPosition(options) {
|
|
2687
2691
|
return { width: columnWidth, offset: 0 };
|
2688
2692
|
}
|
2689
2693
|
function transformCellValue(aiTable, field, cellValue) {
|
2694
|
+
if (cellValue === undefined || cellValue === null) {
|
2695
|
+
return cellValue;
|
2696
|
+
}
|
2690
2697
|
const fieldService = AI_TABLE_GRID_FIELD_SERVICE_MAP.get(aiTable);
|
2691
2698
|
if (!fieldService) {
|
2692
2699
|
return cellValue;
|
@@ -3134,7 +3141,7 @@ function hasIntersect(array1, array2) {
|
|
3134
3141
|
|
3135
3142
|
class Field {
|
3136
3143
|
// 筛选
|
3137
|
-
isMeetFilter(condition, cellValue) {
|
3144
|
+
isMeetFilter(condition, cellValue, options) {
|
3138
3145
|
switch (condition.operation) {
|
3139
3146
|
case AITableFilterOperation.empty:
|
3140
3147
|
case AITableFilterOperation.exists: {
|
@@ -3169,6 +3176,9 @@ class Field {
|
|
3169
3176
|
}
|
3170
3177
|
|
3171
3178
|
class AttachmentField extends Field {
|
3179
|
+
isValid(cellValue) {
|
3180
|
+
return Array.isArray(cellValue) || cellValue === null;
|
3181
|
+
}
|
3172
3182
|
isMeetFilter(condition, cellValue) {
|
3173
3183
|
switch (condition.operation) {
|
3174
3184
|
case AITableFilterOperation.empty:
|
@@ -3183,9 +3193,9 @@ class AttachmentField extends Field {
|
|
3183
3193
|
return super.isMeetFilter(condition, cellValue);
|
3184
3194
|
}
|
3185
3195
|
}
|
3186
|
-
compare(cellValue1, cellValue2,
|
3187
|
-
const value1 = cellValueToSortValue$5(cellValue1, field, references, sortKey);
|
3188
|
-
const value2 = cellValueToSortValue$5(cellValue2, field, references, sortKey);
|
3196
|
+
compare(cellValue1, cellValue2, references, sortKey, options) {
|
3197
|
+
const value1 = cellValueToSortValue$5(cellValue1, options.field, references, sortKey);
|
3198
|
+
const value2 = cellValueToSortValue$5(cellValue2, options.field, references, sortKey);
|
3189
3199
|
return compareString(value1, value2);
|
3190
3200
|
}
|
3191
3201
|
cellFullText(transformValue, field, references) {
|
@@ -3228,6 +3238,10 @@ function cellValueToSortValue$5(cellValue, field, references, sortKey = 'title')
|
|
3228
3238
|
}
|
3229
3239
|
|
3230
3240
|
class DateField extends Field {
|
3241
|
+
isValid(cellValue) {
|
3242
|
+
return ((cellValue && typeof cellValue === 'object' && 'timestamp' in cellValue && typeof cellValue.timestamp === 'number') ||
|
3243
|
+
cellValue === null);
|
3244
|
+
}
|
3231
3245
|
isMeetFilter(condition, cellValue) {
|
3232
3246
|
const [left, right] = this.getTimeRange(condition.value);
|
3233
3247
|
switch (condition.operation) {
|
@@ -3351,6 +3365,9 @@ function transformDateValue(text) {
|
|
3351
3365
|
}
|
3352
3366
|
|
3353
3367
|
class LinkField extends Field {
|
3368
|
+
isValid(cellValue) {
|
3369
|
+
return (cellValue && typeof cellValue === 'object' && 'url' in cellValue && 'text' in cellValue) || cellValue === null;
|
3370
|
+
}
|
3354
3371
|
isMeetFilter(condition, cellValue) {
|
3355
3372
|
const cellTextValue = cellValue?.text;
|
3356
3373
|
switch (condition.operation) {
|
@@ -3402,6 +3419,9 @@ function cellValueToSortValue$3(cellValue) {
|
|
3402
3419
|
}
|
3403
3420
|
|
3404
3421
|
class MemberField extends Field {
|
3422
|
+
isValid(cellValue) {
|
3423
|
+
return Array.isArray(cellValue) || cellValue === null;
|
3424
|
+
}
|
3405
3425
|
isMeetFilter(condition, cellValue) {
|
3406
3426
|
switch (condition.operation) {
|
3407
3427
|
case AITableFilterOperation.empty:
|
@@ -3416,9 +3436,9 @@ class MemberField extends Field {
|
|
3416
3436
|
return super.isMeetFilter(condition, cellValue);
|
3417
3437
|
}
|
3418
3438
|
}
|
3419
|
-
compare(cellValue1, cellValue2,
|
3420
|
-
const value1 = cellValueToSortValue$2(cellValue1, field, references, sortKey);
|
3421
|
-
const value2 = cellValueToSortValue$2(cellValue2, field, references, sortKey);
|
3439
|
+
compare(cellValue1, cellValue2, references, sortKey, options) {
|
3440
|
+
const value1 = cellValueToSortValue$2(cellValue1, options.field, references, sortKey);
|
3441
|
+
const value2 = cellValueToSortValue$2(cellValue2, options.field, references, sortKey);
|
3422
3442
|
return compareString(value1, value2);
|
3423
3443
|
}
|
3424
3444
|
cellFullText(transformValue, field, references) {
|
@@ -3493,6 +3513,9 @@ function cellValueToSortValue$2(cellValue, field, references, sortKey = 'display
|
|
3493
3513
|
}
|
3494
3514
|
|
3495
3515
|
class NumberField extends Field {
|
3516
|
+
isValid(cellValue) {
|
3517
|
+
return typeof cellValue === 'number' || cellValue === null;
|
3518
|
+
}
|
3496
3519
|
isMeetFilter(condition, cellValue) {
|
3497
3520
|
switch (condition.operation) {
|
3498
3521
|
case AITableFilterOperation.empty:
|
@@ -3549,6 +3572,9 @@ function toNumberFieldValue(plainText, targetField, originData) {
|
|
3549
3572
|
}
|
3550
3573
|
|
3551
3574
|
class ProgressField extends Field {
|
3575
|
+
isValid(cellValue) {
|
3576
|
+
return typeof cellValue === 'number' || cellValue === null;
|
3577
|
+
}
|
3552
3578
|
isMeetFilter(condition, cellValue) {
|
3553
3579
|
switch (condition.operation) {
|
3554
3580
|
case AITableFilterOperation.empty:
|
@@ -3622,6 +3648,9 @@ function toProgressFieldValue(plainText, targetField, originData) {
|
|
3622
3648
|
}
|
3623
3649
|
|
3624
3650
|
class RateField extends Field {
|
3651
|
+
isValid(cellValue) {
|
3652
|
+
return typeof cellValue === 'number' || cellValue === null;
|
3653
|
+
}
|
3625
3654
|
isMeetFilter(condition, cellValue) {
|
3626
3655
|
switch (condition.operation) {
|
3627
3656
|
case AITableFilterOperation.empty:
|
@@ -3675,7 +3704,46 @@ function toRateFieldValue(plainText, targetField, originData) {
|
|
3675
3704
|
return null;
|
3676
3705
|
}
|
3677
3706
|
|
3707
|
+
class RichTextField extends Field {
|
3708
|
+
isValid(cellValue) {
|
3709
|
+
return Array.isArray(cellValue) || cellValue === null;
|
3710
|
+
}
|
3711
|
+
isMeetFilter(condition, cellValue, options) {
|
3712
|
+
const textValue = transformCellValue(options.aiTable, options.field, cellValue || []);
|
3713
|
+
switch (condition.operation) {
|
3714
|
+
case AITableFilterOperation.empty:
|
3715
|
+
return isEmpty(textValue);
|
3716
|
+
case AITableFilterOperation.exists:
|
3717
|
+
return !isEmpty(textValue);
|
3718
|
+
case AITableFilterOperation.contain:
|
3719
|
+
return !isEmpty(textValue) && stringInclude(textValue, condition.value);
|
3720
|
+
default:
|
3721
|
+
return super.isMeetFilter(condition, textValue);
|
3722
|
+
}
|
3723
|
+
}
|
3724
|
+
compare(cellValue1, cellValue2, references, sortKey, options) {
|
3725
|
+
const value1 = transformCellValue(options.aiTable, options.field, cellValue1 || []);
|
3726
|
+
const value2 = transformCellValue(options.aiTable, options.field, cellValue2 || []);
|
3727
|
+
return compareString(value1, value2);
|
3728
|
+
}
|
3729
|
+
toFieldValue(plainText, targetField, originData) {
|
3730
|
+
return toRichTextFieldValue(plainText, targetField, originData);
|
3731
|
+
}
|
3732
|
+
}
|
3733
|
+
function toRichTextFieldValue(plainText, targetField, originData) {
|
3734
|
+
if (originData) {
|
3735
|
+
const { field, cellValue } = originData;
|
3736
|
+
if (field.type === AITableFieldType.richText) {
|
3737
|
+
return cellValue;
|
3738
|
+
}
|
3739
|
+
}
|
3740
|
+
return null;
|
3741
|
+
}
|
3742
|
+
|
3678
3743
|
class SelectField extends Field {
|
3744
|
+
isValid(cellValue) {
|
3745
|
+
return Array.isArray(cellValue) || cellValue === null;
|
3746
|
+
}
|
3679
3747
|
isMeetFilter(condition, cellValue) {
|
3680
3748
|
switch (condition.operation) {
|
3681
3749
|
case AITableFilterOperation.empty:
|
@@ -3690,9 +3758,9 @@ class SelectField extends Field {
|
|
3690
3758
|
return super.isMeetFilter(condition, cellValue);
|
3691
3759
|
}
|
3692
3760
|
}
|
3693
|
-
compare(cellValue1, cellValue2,
|
3694
|
-
const value1 = cellValueToSortValue$1(cellValue1, field);
|
3695
|
-
const value2 = cellValueToSortValue$1(cellValue2, field);
|
3761
|
+
compare(cellValue1, cellValue2, references, sortKey, options) {
|
3762
|
+
const value1 = cellValueToSortValue$1(cellValue1, options.field);
|
3763
|
+
const value2 = cellValueToSortValue$1(cellValue2, options.field);
|
3696
3764
|
return compareString(value1, value2);
|
3697
3765
|
}
|
3698
3766
|
cellFullText(transformValue, field) {
|
@@ -3809,6 +3877,9 @@ function cellValueToSortValue$1(cellValue, field) {
|
|
3809
3877
|
}
|
3810
3878
|
|
3811
3879
|
class TextField extends Field {
|
3880
|
+
isValid(cellValue) {
|
3881
|
+
return typeof cellValue === 'string' || cellValue === null;
|
3882
|
+
}
|
3812
3883
|
isMeetFilter(condition, cellValue) {
|
3813
3884
|
switch (condition.operation) {
|
3814
3885
|
case AITableFilterOperation.empty:
|
@@ -3839,7 +3910,7 @@ function cellValueToSortValue(cellValue) {
|
|
3839
3910
|
|
3840
3911
|
const FieldModelMap = {
|
3841
3912
|
[AITableFieldType.text]: new TextField(),
|
3842
|
-
[AITableFieldType.richText]: new
|
3913
|
+
[AITableFieldType.richText]: new RichTextField(),
|
3843
3914
|
[AITableFieldType.select]: new SelectField(),
|
3844
3915
|
[AITableFieldType.date]: new DateField(),
|
3845
3916
|
[AITableFieldType.createdAt]: new DateField(),
|
@@ -7027,8 +7098,12 @@ class CellDrawer extends Drawer {
|
|
7027
7098
|
}
|
7028
7099
|
// 单元格渲染
|
7029
7100
|
renderCell(render, ctx) {
|
7030
|
-
const { field } = render;
|
7101
|
+
const { field, cellValue } = render;
|
7031
7102
|
const fieldType = field.type;
|
7103
|
+
const fieldMethod = FieldModelMap[fieldType];
|
7104
|
+
if (!fieldMethod.isValid(cellValue) || cellValue == null) {
|
7105
|
+
return;
|
7106
|
+
}
|
7032
7107
|
switch (fieldType) {
|
7033
7108
|
case AITableFieldType.text:
|
7034
7109
|
case AITableFieldType.richText:
|
@@ -7056,7 +7131,7 @@ class CellDrawer extends Drawer {
|
|
7056
7131
|
}
|
7057
7132
|
}
|
7058
7133
|
renderCellText(render, ctx) {
|
7059
|
-
const { x, y, transformValue, field, columnWidth, style } = render;
|
7134
|
+
const { x, y, transformValue, cellValue, field, columnWidth, style } = render;
|
7060
7135
|
const fieldType = field.type;
|
7061
7136
|
let renderText = fieldType === AITableFieldType.link ? transformValue?.text : transformValue;
|
7062
7137
|
if (renderText == null) {
|
@@ -8828,6 +8903,7 @@ class AITableRenderer {
|
|
8828
8903
|
this.koWheel = output();
|
8829
8904
|
this.koClick = output();
|
8830
8905
|
this.koDblclick = output();
|
8906
|
+
this.koMouseleave = output();
|
8831
8907
|
this.fields = computed(() => {
|
8832
8908
|
return AITable.getVisibleFields(this.config().aiTable);
|
8833
8909
|
});
|
@@ -8970,8 +9046,11 @@ class AITableRenderer {
|
|
8970
9046
|
stageDblclick(e) {
|
8971
9047
|
this.koDblclick.emit(e);
|
8972
9048
|
}
|
9049
|
+
stageMouseleave(e) {
|
9050
|
+
this.koMouseleave.emit(e);
|
9051
|
+
}
|
8973
9052
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AITableRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
8974
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: AITableRenderer, isStandalone: true, selector: "ai-table-renderer", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { koMousemove: "koMousemove", koMousedown: "koMousedown", koMouseup: "koMouseup", koContextmenu: "koContextmenu", koWheel: "koWheel", koClick: "koClick", koDblclick: "koDblclick" }, ngImport: i0, template: "<ko-stage\n [config]=\"stageConfig()\"\n (koMousemove)=\"stageMousemove($event)\"\n (koMousedown)=\"stageMousedown($event)\"\n (koMouseup)=\"stageMouseup($event)\"\n (koContextmenu)=\"stageContextmenu($event)\"\n (koClick)=\"stageClick($event)\"\n (koDblclick)=\"stageDblclick($event)\"\n>\n <ko-layer>\n <ko-group [config]=\"gridGroupConfig()\">\n <ko-group [config]=\"offsetYConfig()\">\n <ai-table-frozen-cells [config]=\"cellsConfig()\"></ai-table-frozen-cells>\n <ai-table-other-rows [config]=\"cellsConfig()\"></ai-table-other-rows>\n <ai-table-hover-row-heads [config]=\"cellsConfig()\"></ai-table-hover-row-heads>\n <ai-table-frozen-placeholder-cells [config]=\"cellsConfig()\"></ai-table-frozen-placeholder-cells>\n
|
9053
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: AITableRenderer, isStandalone: true, selector: "ai-table-renderer", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { koMousemove: "koMousemove", koMousedown: "koMousedown", koMouseup: "koMouseup", koContextmenu: "koContextmenu", koWheel: "koWheel", koClick: "koClick", koDblclick: "koDblclick", koMouseleave: "koMouseleave" }, ngImport: i0, template: "<ko-stage\n [config]=\"stageConfig()\"\n (koMousemove)=\"stageMousemove($event)\"\n (koMousedown)=\"stageMousedown($event)\"\n (koMouseup)=\"stageMouseup($event)\"\n (koContextmenu)=\"stageContextmenu($event)\"\n (koClick)=\"stageClick($event)\"\n (koDblclick)=\"stageDblclick($event)\"\n (koMouseleave)=\"stageMouseleave($event)\"\n>\n <ko-layer>\n <ko-group [config]=\"gridGroupConfig()\">\n <ko-group [config]=\"offsetYConfig()\">\n <ai-table-frozen-cells [config]=\"cellsConfig()\"></ai-table-frozen-cells>\n <ai-table-other-rows [config]=\"cellsConfig()\"></ai-table-other-rows>\n <ai-table-hover-row-heads [config]=\"cellsConfig()\"></ai-table-hover-row-heads>\n <ai-table-frozen-placeholder-cells [config]=\"cellsConfig()\"></ai-table-frozen-placeholder-cells>\n </ko-group>\n\n <ko-group>\n <ai-table-frozen-column-heads [config]=\"columnHeadOrAddFieldConfig()\"></ai-table-frozen-column-heads>\n </ko-group>\n\n <ko-group [config]=\"commonGroupConfig()\">\n <ko-group [config]=\"offsetConfig()\">\n <ai-table-cells [config]=\"cellsConfig()\"></ai-table-cells>\n </ko-group>\n\n <ko-group [config]=\"offsetXConfig()\">\n <ai-table-column-heads [config]=\"columnHeadOrAddFieldConfig()\"></ai-table-column-heads>\n <ai-table-add-field [config]=\"columnHeadOrAddFieldConfig()\"></ai-table-add-field>\n </ko-group>\n </ko-group>\n\n <ko-group [config]=\"attachGroupConfig()\">\n <ko-group [config]=\"offsetConfig()\">\n <ai-table-placeholder-cells [config]=\"cellsConfig()\"></ai-table-placeholder-cells>\n @if (activeCellBorderConfig().activeCellBorder) {\n <ko-rect [config]=\"activeCellBorderConfig().activeCellBorder!\"></ko-rect>\n }\n <ai-table-hover-cell [config]=\"cellsConfig()\"></ai-table-hover-cell>\n </ko-group>\n </ko-group>\n\n <ko-group [config]=\"frozenAttachGroupConfig()\">\n <ko-group [config]=\"offsetYConfig()\">\n @if (activeCellBorderConfig().frozenActiveCellBorder) {\n <ko-rect [config]=\"activeCellBorderConfig().frozenActiveCellBorder!\"></ko-rect>\n }\n <ai-table-hover-cell [config]=\"cellsConfig()\"></ai-table-hover-cell>\n </ko-group>\n </ko-group>\n </ko-group>\n </ko-layer>\n</ko-stage>\n\n<ng-content></ng-content>\n", dependencies: [{ kind: "component", type: KoContainer, selector: "ko-layer, ko-fastlayer, ko-group" }, { kind: "component", type: KoStage, selector: "ko-stage", inputs: ["config"], outputs: ["koMouseover", "koMousemove", "koMouseout", "koMouseenter", "koMouseleave", "koMousedown", "koMouseup", "koWheel", "koContextmenu", "koClick", "koDblclick", "koTouchstart", "koTouchmove", "koTouchend", "koTap", "koDbltap", "koDragstart", "koDragmove", "koDragend"] }, { kind: "component", type: KoShape, selector: "ko-shape, ko-circle, ko-label, ko-rect, ko-ellipse, ko-wedge, ko-line, ko-sprite, ko-image, ko-text, ko-text-path, ko-star, ko-ring, ko-arc, ko-tag, ko-path, ko-regular-polygon, ko-arrow, ko-transformer", inputs: ["config"], outputs: ["koMouseover", "koMousemove", "koMouseout", "koMouseenter", "koMouseleave", "koMousedown", "koMouseup", "koWheel", "koContextmenu", "koClick", "koDblclick", "koTouchstart", "koTouchmove", "koTouchend", "koTap", "koDbltap", "koDragstart", "koDragmove", "koDragend"] }, { kind: "component", type: AITableColumnHeads, selector: "ai-table-column-heads", inputs: ["config"] }, { kind: "component", type: AITableFrozenColumnHeads, selector: "ai-table-frozen-column-heads", inputs: ["config"] }, { kind: "component", type: AITableCells, selector: "ai-table-cells", inputs: ["config"] }, { kind: "component", type: AITableFrozenCells, selector: "ai-table-frozen-cells", inputs: ["config"] }, { kind: "component", type: AITableFrozenPlaceholderCells, selector: "ai-table-frozen-placeholder-cells", inputs: ["config"] }, { kind: "component", type: AITableHoverCells, selector: "ai-table-hover-cell", inputs: ["config"] }, { kind: "component", type: AITablePlaceholderCells, selector: "ai-table-placeholder-cells", inputs: ["config"] }, { kind: "component", type: AITableAddField, selector: "ai-table-add-field", inputs: ["config"] }, { kind: "component", type: AITableHoverRowHeads, selector: "ai-table-hover-row-heads", inputs: ["config"] }, { kind: "component", type: AITableOtherRows, selector: "ai-table-other-rows", inputs: ["config"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
8975
9054
|
}
|
8976
9055
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AITableRenderer, decorators: [{
|
8977
9056
|
type: Component,
|
@@ -8990,7 +9069,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
8990
9069
|
AITableHoverRowHeads,
|
8991
9070
|
AITableOtherRows,
|
8992
9071
|
AITableCellLink
|
8993
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ko-stage\n [config]=\"stageConfig()\"\n (koMousemove)=\"stageMousemove($event)\"\n (koMousedown)=\"stageMousedown($event)\"\n (koMouseup)=\"stageMouseup($event)\"\n (koContextmenu)=\"stageContextmenu($event)\"\n (koClick)=\"stageClick($event)\"\n (koDblclick)=\"stageDblclick($event)\"\n>\n <ko-layer>\n <ko-group [config]=\"gridGroupConfig()\">\n <ko-group [config]=\"offsetYConfig()\">\n <ai-table-frozen-cells [config]=\"cellsConfig()\"></ai-table-frozen-cells>\n <ai-table-other-rows [config]=\"cellsConfig()\"></ai-table-other-rows>\n <ai-table-hover-row-heads [config]=\"cellsConfig()\"></ai-table-hover-row-heads>\n <ai-table-frozen-placeholder-cells [config]=\"cellsConfig()\"></ai-table-frozen-placeholder-cells>\n
|
9072
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ko-stage\n [config]=\"stageConfig()\"\n (koMousemove)=\"stageMousemove($event)\"\n (koMousedown)=\"stageMousedown($event)\"\n (koMouseup)=\"stageMouseup($event)\"\n (koContextmenu)=\"stageContextmenu($event)\"\n (koClick)=\"stageClick($event)\"\n (koDblclick)=\"stageDblclick($event)\"\n (koMouseleave)=\"stageMouseleave($event)\"\n>\n <ko-layer>\n <ko-group [config]=\"gridGroupConfig()\">\n <ko-group [config]=\"offsetYConfig()\">\n <ai-table-frozen-cells [config]=\"cellsConfig()\"></ai-table-frozen-cells>\n <ai-table-other-rows [config]=\"cellsConfig()\"></ai-table-other-rows>\n <ai-table-hover-row-heads [config]=\"cellsConfig()\"></ai-table-hover-row-heads>\n <ai-table-frozen-placeholder-cells [config]=\"cellsConfig()\"></ai-table-frozen-placeholder-cells>\n </ko-group>\n\n <ko-group>\n <ai-table-frozen-column-heads [config]=\"columnHeadOrAddFieldConfig()\"></ai-table-frozen-column-heads>\n </ko-group>\n\n <ko-group [config]=\"commonGroupConfig()\">\n <ko-group [config]=\"offsetConfig()\">\n <ai-table-cells [config]=\"cellsConfig()\"></ai-table-cells>\n </ko-group>\n\n <ko-group [config]=\"offsetXConfig()\">\n <ai-table-column-heads [config]=\"columnHeadOrAddFieldConfig()\"></ai-table-column-heads>\n <ai-table-add-field [config]=\"columnHeadOrAddFieldConfig()\"></ai-table-add-field>\n </ko-group>\n </ko-group>\n\n <ko-group [config]=\"attachGroupConfig()\">\n <ko-group [config]=\"offsetConfig()\">\n <ai-table-placeholder-cells [config]=\"cellsConfig()\"></ai-table-placeholder-cells>\n @if (activeCellBorderConfig().activeCellBorder) {\n <ko-rect [config]=\"activeCellBorderConfig().activeCellBorder!\"></ko-rect>\n }\n <ai-table-hover-cell [config]=\"cellsConfig()\"></ai-table-hover-cell>\n </ko-group>\n </ko-group>\n\n <ko-group [config]=\"frozenAttachGroupConfig()\">\n <ko-group [config]=\"offsetYConfig()\">\n @if (activeCellBorderConfig().frozenActiveCellBorder) {\n <ko-rect [config]=\"activeCellBorderConfig().frozenActiveCellBorder!\"></ko-rect>\n }\n <ai-table-hover-cell [config]=\"cellsConfig()\"></ai-table-hover-cell>\n </ko-group>\n </ko-group>\n </ko-group>\n </ko-layer>\n</ko-stage>\n\n<ng-content></ng-content>\n" }]
|
8994
9073
|
}] });
|
8995
9074
|
|
8996
9075
|
class AITableDragComponent {
|
@@ -9469,6 +9548,15 @@ class AITableGrid extends AITableGridBase {
|
|
9469
9548
|
stageMouseup(e) {
|
9470
9549
|
this.updateDragSelectionState(false, null);
|
9471
9550
|
}
|
9551
|
+
stageMouseleave(e) {
|
9552
|
+
if (this.timer) {
|
9553
|
+
cancelAnimationFrame(this.timer);
|
9554
|
+
}
|
9555
|
+
this.timer = requestAnimationFrame(() => {
|
9556
|
+
const { context } = this.aiTable;
|
9557
|
+
context.setPointPosition(DEFAULT_POINT_POSITION);
|
9558
|
+
});
|
9559
|
+
}
|
9472
9560
|
stageContextmenu(e) {
|
9473
9561
|
const mouseEvent = e.event.evt;
|
9474
9562
|
mouseEvent.preventDefault();
|
@@ -9575,6 +9663,9 @@ class AITableGrid extends AITableGridBase {
|
|
9575
9663
|
...e,
|
9576
9664
|
targetNameDetail
|
9577
9665
|
});
|
9666
|
+
if (this.aiReadonly()) {
|
9667
|
+
return;
|
9668
|
+
}
|
9578
9669
|
const { fieldId, recordId } = targetNameDetail;
|
9579
9670
|
if (!recordId || !fieldId) {
|
9580
9671
|
return;
|
@@ -9807,18 +9898,18 @@ class AITableGrid extends AITableGridBase {
|
|
9807
9898
|
this.aiTableGridSelectionService.clearDrag();
|
9808
9899
|
}
|
9809
9900
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AITableGrid, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
9810
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: AITableGrid, isStandalone: true, selector: "ai-table-grid", host: { classAttribute: "ai-table-grid" }, providers: [AITableGridEventService, AITableGridFieldService, AITableGridSelectionService], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, isSignal: true }, { propertyName: "verticalBarRef", first: true, predicate: ["verticalBar"], descendants: true, isSignal: true }, { propertyName: "horizontalBarRef", first: true, predicate: ["horizontalBar"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #container class=\"ai-table-grid-view\">\n @if (hasContainerRect()) {\n <ai-table-renderer\n [config]=\"rendererConfig()\"\n (koMousemove)=\"stageMousemove($event)\"\n (koMousedown)=\"stageMousedown($event)\"\n (koMouseup)=\"stageMouseup($event)\"\n (koContextmenu)=\"stageContextmenu($event)\"\n (koClick)=\"stageClick($event)\"\n (koDblclick)=\"stageDblclick($event)\"\n >\n <div #horizontalBar class=\"ai-table-horizontal-scroll-bar-wrapper\" [style.width.px]=\"containerRect().width\">\n <div class=\"ai-table-scroll-bar-inner\" [style.width.px]=\"scrollbarWidth()\"></div>\n </div>\n <div\n #verticalBar\n class=\"ai-table-vertical-scroll-bar-wrapper\"\n [style.height.px]=\"containerRect().height - fieldHeadHeight\"\n [style.top.px]=\"fieldHeadHeight\"\n >\n <div class=\"ai-table-scroll-bar-inner\" [style.height.px]=\"scrollTotalHeight()\"></div>\n </div>\n </ai-table-renderer>\n }\n <ai-table-drag (dragEnd)=\"dragEnd($event)\"></ai-table-drag>\n</div>\n", dependencies: [{ kind: "component", type: AITableRenderer, selector: "ai-table-renderer", inputs: ["config"], outputs: ["koMousemove", "koMousedown", "koMouseup", "koContextmenu", "koWheel", "koClick", "koDblclick"] }, { kind: "component", type: AITableDragComponent, selector: "ai-table-drag", outputs: ["dragEnd"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
9901
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: AITableGrid, isStandalone: true, selector: "ai-table-grid", host: { classAttribute: "ai-table-grid" }, providers: [AITableGridEventService, AITableGridFieldService, AITableGridSelectionService], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, isSignal: true }, { propertyName: "verticalBarRef", first: true, predicate: ["verticalBar"], descendants: true, isSignal: true }, { propertyName: "horizontalBarRef", first: true, predicate: ["horizontalBar"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #container class=\"ai-table-grid-view\">\n @if (hasContainerRect()) {\n <ai-table-renderer\n [config]=\"rendererConfig()\"\n (koMousemove)=\"stageMousemove($event)\"\n (koMousedown)=\"stageMousedown($event)\"\n (koMouseup)=\"stageMouseup($event)\"\n (koContextmenu)=\"stageContextmenu($event)\"\n (koClick)=\"stageClick($event)\"\n (koDblclick)=\"stageDblclick($event)\"\n (koMouseleave)=\"stageMouseleave($event)\"\n >\n <div #horizontalBar class=\"ai-table-horizontal-scroll-bar-wrapper\" [style.width.px]=\"containerRect().width\">\n <div class=\"ai-table-scroll-bar-inner\" [style.width.px]=\"scrollbarWidth()\"></div>\n </div>\n <div\n #verticalBar\n class=\"ai-table-vertical-scroll-bar-wrapper\"\n [style.height.px]=\"containerRect().height - fieldHeadHeight\"\n [style.top.px]=\"fieldHeadHeight\"\n >\n <div class=\"ai-table-scroll-bar-inner\" [style.height.px]=\"scrollTotalHeight()\"></div>\n </div>\n </ai-table-renderer>\n }\n <ai-table-drag (dragEnd)=\"dragEnd($event)\"></ai-table-drag>\n</div>\n", dependencies: [{ kind: "component", type: AITableRenderer, selector: "ai-table-renderer", inputs: ["config"], outputs: ["koMousemove", "koMousedown", "koMouseup", "koContextmenu", "koWheel", "koClick", "koDblclick", "koMouseleave"] }, { kind: "component", type: AITableDragComponent, selector: "ai-table-drag", outputs: ["dragEnd"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
9811
9902
|
}
|
9812
9903
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AITableGrid, decorators: [{
|
9813
9904
|
type: Component,
|
9814
9905
|
args: [{ selector: 'ai-table-grid', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
9815
9906
|
class: 'ai-table-grid'
|
9816
|
-
}, imports: [AITableRenderer, AITableDragComponent], providers: [AITableGridEventService, AITableGridFieldService, AITableGridSelectionService], template: "<div #container class=\"ai-table-grid-view\">\n @if (hasContainerRect()) {\n <ai-table-renderer\n [config]=\"rendererConfig()\"\n (koMousemove)=\"stageMousemove($event)\"\n (koMousedown)=\"stageMousedown($event)\"\n (koMouseup)=\"stageMouseup($event)\"\n (koContextmenu)=\"stageContextmenu($event)\"\n (koClick)=\"stageClick($event)\"\n (koDblclick)=\"stageDblclick($event)\"\n >\n <div #horizontalBar class=\"ai-table-horizontal-scroll-bar-wrapper\" [style.width.px]=\"containerRect().width\">\n <div class=\"ai-table-scroll-bar-inner\" [style.width.px]=\"scrollbarWidth()\"></div>\n </div>\n <div\n #verticalBar\n class=\"ai-table-vertical-scroll-bar-wrapper\"\n [style.height.px]=\"containerRect().height - fieldHeadHeight\"\n [style.top.px]=\"fieldHeadHeight\"\n >\n <div class=\"ai-table-scroll-bar-inner\" [style.height.px]=\"scrollTotalHeight()\"></div>\n </div>\n </ai-table-renderer>\n }\n <ai-table-drag (dragEnd)=\"dragEnd($event)\"></ai-table-drag>\n</div>\n" }]
|
9907
|
+
}, imports: [AITableRenderer, AITableDragComponent], providers: [AITableGridEventService, AITableGridFieldService, AITableGridSelectionService], template: "<div #container class=\"ai-table-grid-view\">\n @if (hasContainerRect()) {\n <ai-table-renderer\n [config]=\"rendererConfig()\"\n (koMousemove)=\"stageMousemove($event)\"\n (koMousedown)=\"stageMousedown($event)\"\n (koMouseup)=\"stageMouseup($event)\"\n (koContextmenu)=\"stageContextmenu($event)\"\n (koClick)=\"stageClick($event)\"\n (koDblclick)=\"stageDblclick($event)\"\n (koMouseleave)=\"stageMouseleave($event)\"\n >\n <div #horizontalBar class=\"ai-table-horizontal-scroll-bar-wrapper\" [style.width.px]=\"containerRect().width\">\n <div class=\"ai-table-scroll-bar-inner\" [style.width.px]=\"scrollbarWidth()\"></div>\n </div>\n <div\n #verticalBar\n class=\"ai-table-vertical-scroll-bar-wrapper\"\n [style.height.px]=\"containerRect().height - fieldHeadHeight\"\n [style.top.px]=\"fieldHeadHeight\"\n >\n <div class=\"ai-table-scroll-bar-inner\" [style.height.px]=\"scrollTotalHeight()\"></div>\n </div>\n </ai-table-renderer>\n }\n <ai-table-drag (dragEnd)=\"dragEnd($event)\"></ai-table-drag>\n</div>\n" }]
|
9817
9908
|
}], ctorParameters: () => [] });
|
9818
9909
|
|
9819
9910
|
/**
|
9820
9911
|
* Generated bundle index. Do not edit.
|
9821
9912
|
*/
|
9822
9913
|
|
9823
|
-
export { AITable, AITableAreaType, AITableAvatarSize, AITableAvatarType, AITableCheckType, AITableContextMenu, AITableDomGrid, AITableFieldIsSameOptionPipe, AITableFieldSetting, AITableFieldType, AITableFilterOperation, AITableGrid, AITableGridEventService, AITableGridFieldService, AITableGridI18nKey, AITableGridSelectionService, AITableMemberType, AITableMouseDownType, AITableQueries, AITableRenderer, AITableRowColumnType, AITableRowType, AITableSelectAllState, AITableSelectOptionStyle, AITableStatType, AI_TABLE_ACTION_COMMON_RADIUS, AI_TABLE_ACTION_COMMON_RIGHT_PADDING, AI_TABLE_ACTION_COMMON_SIZE, AI_TABLE_BLANK, AI_TABLE_CELL, AI_TABLE_CELL_ACTIVE_BORDER_WIDTH, AI_TABLE_CELL_ADD_ITEM_BUTTON_SIZE, AI_TABLE_CELL_ATTACHMENT_ADD, AI_TABLE_CELL_ATTACHMENT_FILE, AI_TABLE_CELL_BORDER, AI_TABLE_CELL_DELETE_ITEM_BUTTON_SIZE, AI_TABLE_CELL_DELETE_ITEM_BUTTON_SIZE_OFFSET, AI_TABLE_CELL_EDIT, AI_TABLE_CELL_EMOJI_PADDING, AI_TABLE_CELL_EMOJI_SIZE, AI_TABLE_CELL_FIELD_ITEM_HEIGHT, AI_TABLE_CELL_MAX_ROW_COUNT, AI_TABLE_CELL_MEMBER_ITEM_HEIGHT, AI_TABLE_CELL_MEMBER_ITEM_PADDING, AI_TABLE_CELL_MEMBER_MAX_HEIGHT, AI_TABLE_CELL_MULTI_DOT_RADIUS, AI_TABLE_CELL_MULTI_ITEM_MARGIN_LEFT, AI_TABLE_CELL_MULTI_ITEM_MARGIN_TOP, AI_TABLE_CELL_MULTI_ITEM_MIN_WIDTH, AI_TABLE_CELL_MULTI_PADDING_LEFT, AI_TABLE_CELL_MULTI_PADDING_TOP, AI_TABLE_CELL_PADDING, AI_TABLE_COMMON_FONT_SIZE, AI_TABLE_DEFAULT_COLUMN_WIDTH, AI_TABLE_DOT_RADIUS, AI_TABLE_FIELD_ADD_BUTTON, AI_TABLE_FIELD_ADD_BUTTON_WIDTH, AI_TABLE_FIELD_HEAD, AI_TABLE_FIELD_HEAD_HEIGHT, AI_TABLE_FIELD_HEAD_ICON_GAP_SIZE, AI_TABLE_FIELD_HEAD_MORE, AI_TABLE_FIELD_HEAD_OPACITY_LINE, AI_TABLE_FIELD_HEAD_SELECT_CHECKBOX, AI_TABLE_FIELD_HEAD_TEXT_MIN_WIDTH, AI_TABLE_FIELD_ITEM_MARGIN_RIGHT, AI_TABLE_FIELD_MAX_WIDTH, AI_TABLE_FIELD_MIDDLE_WIDTH, AI_TABLE_FIELD_MINI_WIDTH, AI_TABLE_FIELD_MIN_WIDTH, AI_TABLE_FILE_ICON_ITEM_HEIGHT, AI_TABLE_FILE_ICON_SIZE, AI_TABLE_GRID_FIELD_SERVICE_MAP, AI_TABLE_ICON_COMMON_SIZE, AI_TABLE_MEMBER_AVATAR_SIZE, AI_TABLE_MEMBER_ITEM_AVATAR_MARGIN_RIGHT, AI_TABLE_MEMBER_ITEM_PADDING_RIGHT, AI_TABLE_MIN_TEXT_WIDTH, AI_TABLE_OFFSET, AI_TABLE_OPTION_ITEM_FONT_SIZE, AI_TABLE_OPTION_ITEM_HEIGHT, AI_TABLE_OPTION_ITEM_PADDING, AI_TABLE_OPTION_ITEM_RADIUS, AI_TABLE_PIECE_RADIUS, AI_TABLE_PIECE_WIDTH, AI_TABLE_POPOVER_LEFT_OFFSET, AI_TABLE_PREVENT_CLEAR_SELECTION_CLASS, AI_TABLE_PROGRESS_BAR_HEIGHT, AI_TABLE_PROGRESS_BAR_RADIUS, AI_TABLE_PROGRESS_TEXT_Width, AI_TABLE_ROW_ADD_BUTTON, AI_TABLE_ROW_BLANK_HEIGHT, AI_TABLE_ROW_HEAD, AI_TABLE_ROW_HEAD_SIZE, AI_TABLE_ROW_HEAD_WIDTH, AI_TABLE_ROW_HEIGHT, AI_TABLE_ROW_SELECT_CHECKBOX, AI_TABLE_SCROLL_BAR_PADDING, AI_TABLE_TAG_FONT_SIZE, AI_TABLE_TAG_PADDING, AI_TABLE_TEXT_GAP, AbstractEditCellEditor, AddOutlinedPath, AttachmentPath, Check, Colors, ColumnCalendarFilledPath, ColumnLinkOutlinedPath, ColumnMemberFilledPath, ColumnMultipleFillPath, ColumnNumberFilledPath, ColumnProgressFilledPath, ColumnRatingFilledPath, ColumnRichTextFilledPath, ColumnSelectFilledPath, ColumnTextFilledPath, Coordinate, DBL_CLICK_EDIT_TYPE, DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE, DEFAULT_FONT_STYLE, DEFAULT_FONT_WEIGHT, DEFAULT_ICON_SHAPE, DEFAULT_ICON_SIZE, DEFAULT_POINT_POSITION, DEFAULT_SCROLL_STATE, DEFAULT_TEXT_ALIGN_CENTER, DEFAULT_TEXT_ALIGN_LEFT, DEFAULT_TEXT_ALIGN_RIGHT, DEFAULT_TEXT_DECORATION, DEFAULT_TEXT_ELLIPSIS, DEFAULT_TEXT_FILL, DEFAULT_TEXT_LINE_HEIGHT, DEFAULT_TEXT_LISTENING, DEFAULT_TEXT_MAX_CACHE, DEFAULT_TEXT_MAX_HEIGHT, DEFAULT_TEXT_SCALE, DEFAULT_TEXT_TRANSFORMS_ENABLED, DEFAULT_TEXT_VERTICAL_ALIGN_MIDDLE, DEFAULT_TEXT_VERTICAL_ALIGN_TOP, DEFAULT_TEXT_WRAP, DEFAULT_WRAP_TEXT_MAX_ROW, DateCellEditorComponent, DepartmentOutlinedPath, Direction, DragType, EditPath, FONT_SIZE_SM, FieldModelMap, GRID_CELL_EDITOR_MAP, IsSelectRecordPipe, KO_CONTAINER_TOKEN, KoComponent, KoContainer, KoShape, KoShapeTypes, KoStage, LinkCellEditorComponent, MIN_COLUMN_WIDTH, MOUSEOVER_EDIT_TYPE, MemberSettingPipe, MoreStandOutlinedPath, NumberCellEditorComponent, ProgressEditorComponent, RatingCellEditorComponent, RendererContext, RowHeight, SelectCellEditorComponent, SelectOptionComponent, SelectOptionPipe, SelectOptionsPipe, SelectSettingPipe, StarFill, TextCellEditorComponent, TextMeasure, Unchecked, UserPipe, WebOutlinedPath, aiTableFragmentAttribute, applyNodeProps, buildClipboardData, buildGridData, buildGridLinearRows, castToString, compareNumber, compareString, createAITable, createActiveCellBorder, createCells, createDefaultField, createDefaultFieldName, createListener, extractLinkUrl, extractText, generateNewName, generateTargetName, getAvatarBgColor, getAvatarShortName, getCellEditorBorderSpace, getCellHorizontalPosition, getColumnIndicesSizeMap, getDefaultFieldValue, getDefaultI18nTextByKey, getDetailByTargetName, getEditorBoxOffset, getEditorSpace, getFieldOptionByField, getFieldOptions, getFieldValue, getHoverCell, getHoverEditorBoxOffset, getHoverEditorSpace, getI18nTextByKey, getMousePosition, getName, getPlaceHolderCellsConfigs, getSystemFieldValue, getTargetName, getTextWidth, getVisibleRangeInfo, handleMouseStyle, hasIntersect, idCreator, idsCreator, imageCache, isArrayField, isCellMatchKeywords, isClipboardReadSupported, isClipboardReadTextSupported, isClipboardWriteSupported, isClipboardWriteTextSupported, isEmpty, isMac, isNumberFiled, isSameFieldOption, isSelectedField, isSystemField, isWindows, isWindowsOS, isWithinFrozenColumnBoundary, readFromClipboard, scrollMax, setMouseStyle, shortIdCreator, shortIdsCreator, stringInclude, textDataCache, transformCellValue, updatePicture, writeToAITable, writeToClipboard, zhIntlCollator };
|
9914
|
+
export { AITable, AITableAreaType, AITableAvatarSize, AITableAvatarType, AITableCheckType, AITableContextMenu, AITableDomGrid, AITableFieldIsSameOptionPipe, AITableFieldSetting, AITableFieldType, AITableFilterOperation, AITableGrid, AITableGridEventService, AITableGridFieldService, AITableGridI18nKey, AITableGridSelectionService, AITableMemberType, AITableMouseDownType, AITableQueries, AITableRenderer, AITableRowColumnType, AITableRowType, AITableSelectAllState, AITableSelectOptionStyle, AITableStatType, AI_TABLE_ACTION_COMMON_RADIUS, AI_TABLE_ACTION_COMMON_RIGHT_PADDING, AI_TABLE_ACTION_COMMON_SIZE, AI_TABLE_BLANK, AI_TABLE_CELL, AI_TABLE_CELL_ACTIVE_BORDER_WIDTH, AI_TABLE_CELL_ADD_ITEM_BUTTON_SIZE, AI_TABLE_CELL_ATTACHMENT_ADD, AI_TABLE_CELL_ATTACHMENT_FILE, AI_TABLE_CELL_BORDER, AI_TABLE_CELL_DELETE_ITEM_BUTTON_SIZE, AI_TABLE_CELL_DELETE_ITEM_BUTTON_SIZE_OFFSET, AI_TABLE_CELL_EDIT, AI_TABLE_CELL_EMOJI_PADDING, AI_TABLE_CELL_EMOJI_SIZE, AI_TABLE_CELL_FIELD_ITEM_HEIGHT, AI_TABLE_CELL_MAX_ROW_COUNT, AI_TABLE_CELL_MEMBER_ITEM_HEIGHT, AI_TABLE_CELL_MEMBER_ITEM_PADDING, AI_TABLE_CELL_MEMBER_MAX_HEIGHT, AI_TABLE_CELL_MULTI_DOT_RADIUS, AI_TABLE_CELL_MULTI_ITEM_MARGIN_LEFT, AI_TABLE_CELL_MULTI_ITEM_MARGIN_TOP, AI_TABLE_CELL_MULTI_ITEM_MIN_WIDTH, AI_TABLE_CELL_MULTI_PADDING_LEFT, AI_TABLE_CELL_MULTI_PADDING_TOP, AI_TABLE_CELL_PADDING, AI_TABLE_COMMON_FONT_SIZE, AI_TABLE_DEFAULT_COLUMN_WIDTH, AI_TABLE_DOT_RADIUS, AI_TABLE_FIELD_ADD_BUTTON, AI_TABLE_FIELD_ADD_BUTTON_WIDTH, AI_TABLE_FIELD_HEAD, AI_TABLE_FIELD_HEAD_HEIGHT, AI_TABLE_FIELD_HEAD_ICON_GAP_SIZE, AI_TABLE_FIELD_HEAD_MORE, AI_TABLE_FIELD_HEAD_OPACITY_LINE, AI_TABLE_FIELD_HEAD_SELECT_CHECKBOX, AI_TABLE_FIELD_HEAD_TEXT_MIN_WIDTH, AI_TABLE_FIELD_ITEM_MARGIN_RIGHT, AI_TABLE_FIELD_MAX_WIDTH, AI_TABLE_FIELD_MIDDLE_WIDTH, AI_TABLE_FIELD_MINI_WIDTH, AI_TABLE_FIELD_MIN_WIDTH, AI_TABLE_FILE_ICON_ITEM_HEIGHT, AI_TABLE_FILE_ICON_SIZE, AI_TABLE_GRID_FIELD_SERVICE_MAP, AI_TABLE_ICON_COMMON_SIZE, AI_TABLE_MEMBER_AVATAR_SIZE, AI_TABLE_MEMBER_ITEM_AVATAR_MARGIN_RIGHT, AI_TABLE_MEMBER_ITEM_PADDING_RIGHT, AI_TABLE_MIN_TEXT_WIDTH, AI_TABLE_OFFSET, AI_TABLE_OPTION_ITEM_FONT_SIZE, AI_TABLE_OPTION_ITEM_HEIGHT, AI_TABLE_OPTION_ITEM_PADDING, AI_TABLE_OPTION_ITEM_RADIUS, AI_TABLE_PIECE_RADIUS, AI_TABLE_PIECE_WIDTH, AI_TABLE_POPOVER_LEFT_OFFSET, AI_TABLE_PREVENT_CLEAR_SELECTION_CLASS, AI_TABLE_PROGRESS_BAR_HEIGHT, AI_TABLE_PROGRESS_BAR_RADIUS, AI_TABLE_PROGRESS_TEXT_Width, AI_TABLE_ROW_ADD_BUTTON, AI_TABLE_ROW_BLANK_HEIGHT, AI_TABLE_ROW_HEAD, AI_TABLE_ROW_HEAD_SIZE, AI_TABLE_ROW_HEAD_WIDTH, AI_TABLE_ROW_HEIGHT, AI_TABLE_ROW_SELECT_CHECKBOX, AI_TABLE_SCROLL_BAR_PADDING, AI_TABLE_TAG_FONT_SIZE, AI_TABLE_TAG_PADDING, AI_TABLE_TEXT_GAP, AbstractEditCellEditor, AddOutlinedPath, AttachmentPath, Check, Colors, ColumnCalendarFilledPath, ColumnLinkOutlinedPath, ColumnMemberFilledPath, ColumnMultipleFillPath, ColumnNumberFilledPath, ColumnProgressFilledPath, ColumnRatingFilledPath, ColumnRichTextFilledPath, ColumnSelectFilledPath, ColumnTextFilledPath, Coordinate, DBL_CLICK_EDIT_TYPE, DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE, DEFAULT_FONT_STYLE, DEFAULT_FONT_WEIGHT, DEFAULT_ICON_SHAPE, DEFAULT_ICON_SIZE, DEFAULT_POINT_POSITION, DEFAULT_SCROLL_STATE, DEFAULT_TEXT_ALIGN_CENTER, DEFAULT_TEXT_ALIGN_LEFT, DEFAULT_TEXT_ALIGN_RIGHT, DEFAULT_TEXT_DECORATION, DEFAULT_TEXT_ELLIPSIS, DEFAULT_TEXT_FILL, DEFAULT_TEXT_LINE_HEIGHT, DEFAULT_TEXT_LISTENING, DEFAULT_TEXT_MAX_CACHE, DEFAULT_TEXT_MAX_HEIGHT, DEFAULT_TEXT_SCALE, DEFAULT_TEXT_TRANSFORMS_ENABLED, DEFAULT_TEXT_VERTICAL_ALIGN_MIDDLE, DEFAULT_TEXT_VERTICAL_ALIGN_TOP, DEFAULT_TEXT_WRAP, DEFAULT_WRAP_TEXT_MAX_ROW, DateCellEditorComponent, DepartmentOutlinedPath, Direction, DragType, EditPath, FONT_SIZE_SM, FieldModelMap, GRID_CELL_EDITOR_MAP, IsSelectRecordPipe, KO_CONTAINER_TOKEN, KoComponent, KoContainer, KoShape, KoShapeTypes, KoStage, LinkCellEditorComponent, MIN_COLUMN_WIDTH, MOUSEOVER_EDIT_TYPE, MemberSettingPipe, MoreStandOutlinedPath, NumberCellEditorComponent, ProgressEditorComponent, RatingCellEditorComponent, RendererContext, RowHeight, SelectCellEditorComponent, SelectOptionComponent, SelectOptionPipe, SelectOptionsPipe, SelectSettingPipe, StarFill, TextCellEditorComponent, TextMeasure, Unchecked, UserPipe, WebOutlinedPath, aiTableFragmentAttribute, applyNodeProps, buildClipboardData, buildGridData, buildGridLinearRows, castToString, compareNumber, compareString, createAITable, createActiveCellBorder, createCells, createDefaultField, createDefaultFieldName, createListener, extractLinkUrl, extractText, generateNewName, generateTargetName, getAvatarBgColor, getAvatarShortName, getCellEditorBorderSpace, getCellHorizontalPosition, getColumnIndicesSizeMap, getDefaultFieldValue, getDefaultI18nTextByKey, getDetailByTargetName, getEditorBoxOffset, getEditorSpace, getFieldOptionByField, getFieldOptions, getFieldValue, getHoverCell, getHoverEditorBoxOffset, getHoverEditorSpace, getI18nTextByKey, getMousePosition, getName, getPlaceHolderCellsConfigs, getSystemFieldValue, getTargetName, getTextWidth, getVisibleRangeInfo, handleMouseStyle, hasIntersect, idCreator, idsCreator, imageCache, isArrayField, isCellMatchKeywords, isClipboardReadSupported, isClipboardReadTextSupported, isClipboardWriteSupported, isClipboardWriteTextSupported, isDateFiled, isEmpty, isMac, isNumberFiled, isSameFieldOption, isSelectedField, isSystemField, isWindows, isWindowsOS, isWithinFrozenColumnBoundary, readFromClipboard, scrollMax, setMouseStyle, shortIdCreator, shortIdsCreator, stringInclude, textDataCache, transformCellValue, updatePicture, writeToAITable, writeToClipboard, zhIntlCollator };
|
9824
9915
|
//# sourceMappingURL=ai-table-grid.mjs.map
|