@ai-table/grid 0.1.17 → 0.1.19

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.
@@ -1 +1 @@
1
- {"version":3,"file":"field-setting.component.d.ts","sourceRoot":"","sources":["../../../../packages/grid/src/components/field-setting/field-setting.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGH,MAAM,EACN,WAAW,EAQd,MAAM,eAAe,CAAC;AAgBvB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,gBAAgB,EAAkB,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIzI,OAAO,EAAE,OAAO,EAAkE,MAAM,YAAY,CAAC;;AAGrG,qBAqCa,mBAAoB,YAAW,MAAM;IAC9C,WAAW,oDAAkC;IAE7C,QAAQ,CAAC,OAAO,+CAA6B;IAE7C,QAAQ,CAAC,kBAAkB,+DAAwC;IAEnE,QAAQ,CAAC,YAAY,qEAA8B;IAEnD,QAAQ,CAAC,QAAQ,qEAAmE;IAEpF,QAAQ,CAAC,QAAQ,yDAA0B;IAE3C,QAAQ,CAAC,QAAQ;sBAA0B,eAAe;sBAAgB,OAAO;OAAM;IAEvF,QAAQ,CAAC,mBAAmB,qDAEzB;IAEH,cAAc,SAAM;IAEpB,QAAQ,CAAC,eAAe;;;;;;;OASrB;IAEH,QAAQ,CAAC,YAAY;cACX,kBAAkB,EAAE;kBAChB,kBAAkB,EAAE;OAO/B;IAEH,gBAAgB,0BAAoB;IAEpC,gBAAgB,UAAS;IAEzB,OAAO,CAAC,iBAAiB,CAAiB;IAE1C,OAAO,CAAC,eAAe,CAAC,CAA4B;IAEpD,SAAS,CAAC,aAAa,+BAA8C;IAErE,QAAQ,IAAI,IAAI;IAOhB,eAAe,GAAI,WAAW,MAAM,wCAOlC;IAEF,eAAe,CAAC,KAAK,EAAE,kBAAkB;IAmBzC,iBAAiB;IAejB,oBAAoB;IAUpB,cAAc,CAAC,CAAC,EAAE,KAAK;IAKvB,UAAU,CAAC,KAAK,EAAE,KAAK;IAIvB,MAAM;IAIN,SAAS;;;;;;;;;OAWN;yCAzIM,mBAAmB;2CAAnB,mBAAmB;CA0I/B"}
1
+ {"version":3,"file":"field-setting.component.d.ts","sourceRoot":"","sources":["../../../../packages/grid/src/components/field-setting/field-setting.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGH,MAAM,EACN,WAAW,EAQd,MAAM,eAAe,CAAC;AAgBvB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,EACH,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAEhB,iBAAiB,EAEpB,MAAM,iBAAiB,CAAC;AAIzB,OAAO,EAAE,OAAO,EAAkE,MAAM,YAAY,CAAC;;AAGrG,qBAqCa,mBAAoB,YAAW,MAAM;IAC9C,WAAW,oDAAkC;IAE7C,QAAQ,CAAC,OAAO,+CAA6B;IAE7C,QAAQ,CAAC,kBAAkB,+DAAwC;IAEnE,QAAQ,CAAC,YAAY,qEAA8B;IAEnD,QAAQ,CAAC,QAAQ,qEAAmE;IAEpF,QAAQ,CAAC,QAAQ,yDAA0B;IAE3C,QAAQ,CAAC,QAAQ;sBAA0B,eAAe;sBAAgB,OAAO;OAAM;IAEvF,QAAQ,CAAC,mBAAmB,qDAEzB;IAEH,cAAc,SAAM;IAEpB,QAAQ,CAAC,eAAe;;;;;;;OASrB;IAEH,QAAQ,CAAC,YAAY;cACX,kBAAkB,EAAE;kBAChB,kBAAkB,EAAE;OAO/B;IAEH,gBAAgB,0BAAoB;IAEpC,gBAAgB,UAAS;IAEzB,OAAO,CAAC,iBAAiB,CAAiB;IAE1C,OAAO,CAAC,eAAe,CAAC,CAA4B;IAEpD,SAAS,CAAC,aAAa,+BAA8C;IAErE,QAAQ,IAAI,IAAI;IAOhB,eAAe,GAAI,WAAW,MAAM,wCAOlC;IAEF,eAAe,CAAC,KAAK,EAAE,kBAAkB;IA8BzC,iBAAiB;IAejB,oBAAoB;IAUpB,cAAc,CAAC,CAAC,EAAE,KAAK;IAKvB,UAAU,CAAC,KAAK,EAAE,KAAK;IAIvB,MAAM;IAIN,SAAS;;;;;;;;;OAWN;yCApJM,mBAAmB;2CAAnB,mBAAmB;CAqJ/B"}
package/core/context.d.ts CHANGED
@@ -14,6 +14,7 @@ export declare class RendererContext {
14
14
  scrollAction: (options: ScrollActionOptions) => void;
15
15
  maxFields: Signal<number | undefined>;
16
16
  maxRecords: Signal<number | undefined>;
17
+ maxSelectOptions: Signal<number | undefined>;
17
18
  fieldOptions: Signal<AITableFieldOption[]>;
18
19
  fieldOptionMap: Signal<Map<string, AITableFieldOption>>;
19
20
  readonly?: Signal<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/core/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC1I,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAExE,qBAAa,eAAe;IACxB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACvC,aAAa,EAAE,cAAc,CAAC,oBAAoB,CAAC,CAAC;IACpD,WAAW,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC;IAChD,sBAAsB,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACpD,mBAAmB,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACjD,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACtC,aAAa,EAAE,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACjD,YAAY,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACrD,SAAS,EAAE,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC,UAAU,EAAE,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvC,YAAY,EAAE,MAAM,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAC3C,cAAc,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;gBAEf,OAAO,EAAE,cAAc;IAmCnC,gBAAgB,CAAC,QAAQ,EAAE,OAAO,CAAC,oBAAoB,CAAC;IAaxD,cAAc,CAAC,WAAW,EAAE,OAAO,CAAC,kBAAkB,CAAC;CAG1D"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../packages/grid/src/core/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC1I,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAExE,qBAAa,eAAe;IACxB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACvC,aAAa,EAAE,cAAc,CAAC,oBAAoB,CAAC,CAAC;IACpD,WAAW,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC;IAChD,sBAAsB,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACpD,mBAAmB,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACjD,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACtC,aAAa,EAAE,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACjD,YAAY,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACrD,SAAS,EAAE,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC,UAAU,EAAE,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvC,gBAAgB,EAAE,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C,YAAY,EAAE,MAAM,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAC3C,cAAc,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;gBAEf,OAAO,EAAE,cAAc;IAqCnC,gBAAgB,CAAC,QAAQ,EAAE,OAAO,CAAC,oBAAoB,CAAC;IAaxD,cAAc,CAAC,WAAW,EAAE,OAAO,CAAC,kBAAkB,CAAC;CAG1D"}
@@ -25,7 +25,7 @@ import { Transformer } from 'konva/lib/shapes/Transformer';
25
25
  import { Wedge } from 'konva/lib/shapes/Wedge';
26
26
  import * as i1$1 from 'ngx-tethys/popover';
27
27
  import { ThyPopoverRef, ThyPopover, ThyPopoverModule } from 'ngx-tethys/popover';
28
- import { AITableFieldGroup, AITableFieldType, AITableRowColumnType, DragType, isUndefinedOrNull, idCreator as idCreator$1, isUrl, AITableSelectOptionStyle, isEmpty, AITableFilterOperation, AttachmentFieldBase, DateFieldBase, isDateValid, isDateAndReturnDate, LinkFieldBase, MemberFieldBase, NumberFieldBase, ProgressFieldBase, isProgress, RateFieldBase, RichTextFieldBase, SelectFieldBase, generateOptionsByTexts, TextFieldBase, FieldModelBaseMap } from '@ai-table/utils';
28
+ import { AITableFieldGroup, AITableFieldType, AITableRowColumnType, DragType, isUndefinedOrNull, idCreator as idCreator$1, isUrl, AITableSelectOptionStyle, isEmpty, AITableFilterOperation, AttachmentFieldBase, DateFieldBase, isDateValid, isDateAndReturnDate, LinkFieldBase, MemberFieldBase, NumberFieldBase, ProgressFieldBase, isProgressAndReturnValue, RateFieldBase, RichTextFieldBase, SelectFieldBase, generateOptionsByTexts, TextFieldBase, FieldModelBaseMap } from '@ai-table/utils';
29
29
  import ObjectID from 'bson-objectid';
30
30
  import { customAlphabet } from 'nanoid';
31
31
  import * as _ from 'lodash';
@@ -1330,7 +1330,7 @@ const AITableQueries = {
1330
1330
 
1331
1331
  class RendererContext {
1332
1332
  constructor(options) {
1333
- const { rowHeadWidth, linearRows, pointPosition, scrollState, visibleColumnsIndexMap, visibleRowsIndexMap, frozenColumnCount, references, aiFieldConfig, scrollAction, maxFields, maxRecords, fieldOptions, fieldOptionMap, readonly } = options;
1333
+ const { rowHeadWidth, linearRows, pointPosition, scrollState, visibleColumnsIndexMap, visibleRowsIndexMap, frozenColumnCount, references, aiFieldConfig, scrollAction, maxFields, maxRecords, maxSelectOptions, fieldOptions, fieldOptionMap, readonly } = options;
1334
1334
  this.rowHeadWidth = rowHeadWidth;
1335
1335
  this.linearRows = linearRows;
1336
1336
  this.pointPosition = pointPosition;
@@ -1343,6 +1343,7 @@ class RendererContext {
1343
1343
  this.aiFieldConfig = aiFieldConfig;
1344
1344
  this.maxFields = maxFields;
1345
1345
  this.maxRecords = maxRecords;
1346
+ this.maxSelectOptions = maxSelectOptions;
1346
1347
  this.fieldOptions = fieldOptions;
1347
1348
  this.fieldOptionMap = fieldOptionMap;
1348
1349
  this.readonly = readonly;
@@ -3082,10 +3083,7 @@ function toProgressFieldValue(plainText, targetField, originData) {
3082
3083
  break;
3083
3084
  }
3084
3085
  }
3085
- if (isProgress(value)) {
3086
- return parseFloat(value);
3087
- }
3088
- return null;
3086
+ return isProgressAndReturnValue(value);
3089
3087
  }
3090
3088
 
3091
3089
  class RateField extends RateFieldBase {
@@ -5083,8 +5081,19 @@ class AITableActionIcon {
5083
5081
  source
5084
5082
  };
5085
5083
  });
5084
+ this.iconGroupConfig = computed(() => {
5085
+ let { backgroundWidth, backgroundHeight, size = DEFAULT_ICON_SIZE, scaleX, scaleY, offsetX, offsetY } = this.config();
5086
+ return {
5087
+ x: backgroundWidth && (backgroundWidth - size * (scaleX || 1)) / 2,
5088
+ y: backgroundHeight && (backgroundHeight - size * (scaleY || 1)) / 2,
5089
+ offsetX,
5090
+ offsetY,
5091
+ scaleX: scaleX || size / DEFAULT_ICON_SIZE,
5092
+ scaleY: scaleY || size / DEFAULT_ICON_SIZE
5093
+ };
5094
+ });
5086
5095
  this.iconConfig = computed(() => {
5087
- let { type, data, backgroundWidth, backgroundHeight, size = DEFAULT_ICON_SIZE, stroke, strokeWidth = 1, scaleX, scaleY, offsetX, offsetY, rotation, fill, hoverFill: hoverFill, transformsEnabled = 'position' } = this.config();
5096
+ let { type, data, size = DEFAULT_ICON_SIZE, stroke, strokeWidth = 1, scaleX, scaleY, offsetX, offsetY, rotation, fill, hoverFill: hoverFill, transformsEnabled = 'position' } = this.config();
5088
5097
  fill = fill || Colors.gray600;
5089
5098
  let pathData = data;
5090
5099
  switch (type) {
@@ -5096,8 +5105,6 @@ class AITableActionIcon {
5096
5105
  break;
5097
5106
  }
5098
5107
  return {
5099
- x: backgroundWidth && (backgroundWidth - size * (scaleX || 1)) / 2,
5100
- y: backgroundHeight && (backgroundHeight - size * (scaleY || 1)) / 2,
5101
5108
  data: pathData,
5102
5109
  width: size,
5103
5110
  height: size,
@@ -5143,7 +5150,9 @@ class AITableActionIcon {
5143
5150
  (koMouseleave)="koMouseleave($event)"
5144
5151
  >
5145
5152
  <ko-rect [config]="squareShapeConfig()"></ko-rect>
5146
- <ko-path [config]="iconConfig()"></ko-path>
5153
+ <ko-group [config]="iconGroupConfig()">
5154
+ <ko-path [config]="iconConfig()"></ko-path>
5155
+ </ko-group>
5147
5156
  </ko-group>
5148
5157
  `, isInline: true, dependencies: [{ kind: "component", type: KoContainer, selector: "ko-layer, ko-fastlayer, ko-group" }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5149
5158
  }
@@ -5160,7 +5169,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
5160
5169
  (koMouseleave)="koMouseleave($event)"
5161
5170
  >
5162
5171
  <ko-rect [config]="squareShapeConfig()"></ko-rect>
5163
- <ko-path [config]="iconConfig()"></ko-path>
5172
+ <ko-group [config]="iconGroupConfig()">
5173
+ <ko-path [config]="iconConfig()"></ko-path>
5174
+ </ko-group>
5164
5175
  </ko-group>
5165
5176
  `,
5166
5177
  imports: [KoContainer, KoShape],
@@ -8362,14 +8373,17 @@ class AITableCellRate extends CoverCellComponent {
8362
8373
  const pointPosition = aiTable.context.pointPosition();
8363
8374
  const { x, y } = render;
8364
8375
  const { columnIndex } = pointPosition;
8365
- const isActive = isActiveCell([recordId, field._id], aiTable);
8376
+ const hasSelectedArea = aiTable.selection().selectedCells.size > 0 ||
8377
+ aiTable.selection().selectedRecords.size > 0 ||
8378
+ aiTable.selection().selectedFields.size > 0;
8379
+ const bgColor = hasSelectedArea ? null : Colors.white;
8366
8380
  return {
8367
8381
  x: x - AI_TABLE_CELL_PADDING + AI_TABLE_CELL_BORDER,
8368
8382
  y: y + AI_TABLE_CELL_BORDER + AI_TABLE_OFFSET,
8369
8383
  width: coordinate.getColumnWidth(columnIndex) - (AI_TABLE_CELL_BORDER + AI_TABLE_OFFSET) * 2,
8370
8384
  height: AI_TABLE_ROW_BLANK_HEIGHT - (AI_TABLE_CELL_BORDER + AI_TABLE_OFFSET),
8371
- fill: Colors.white,
8372
- stroke: isActive ? null : Colors.white,
8385
+ fill: bgColor,
8386
+ stroke: bgColor,
8373
8387
  zIndex: 0,
8374
8388
  name: generateTargetName({
8375
8389
  targetName: AI_TABLE_CELL,
@@ -8528,14 +8542,17 @@ class AITableCellProgress extends CoverCellComponent {
8528
8542
  const pointPosition = aiTable.context.pointPosition();
8529
8543
  const { x, y } = render;
8530
8544
  const { columnIndex } = pointPosition;
8531
- const isActive = isActiveCell([recordId, field._id], aiTable);
8545
+ const hasSelectedArea = aiTable.selection().selectedCells.size > 0 ||
8546
+ aiTable.selection().selectedRecords.size > 0 ||
8547
+ aiTable.selection().selectedFields.size > 0;
8548
+ const bgColor = hasSelectedArea ? null : Colors.white;
8532
8549
  return {
8533
8550
  x: x - AI_TABLE_CELL_PADDING + AI_TABLE_CELL_BORDER / 2,
8534
8551
  y: y + AI_TABLE_CELL_BORDER + AI_TABLE_OFFSET,
8535
8552
  width: coordinate.getColumnWidth(columnIndex) - (AI_TABLE_CELL_BORDER + AI_TABLE_OFFSET) * 2 + AI_TABLE_CELL_BORDER / 2,
8536
8553
  height: AI_TABLE_ROW_BLANK_HEIGHT - (AI_TABLE_CELL_BORDER + AI_TABLE_OFFSET),
8537
- fill: Colors.white,
8538
- stroke: isActive ? null : Colors.white,
8554
+ fill: bgColor,
8555
+ stroke: bgColor,
8539
8556
  name: generateTargetName({
8540
8557
  targetName: AI_TABLE_CELL,
8541
8558
  fieldId: field._id,
@@ -8931,11 +8948,20 @@ class AITableFieldSetting {
8931
8948
  const fieldsSizeMap = this.aiTable().gridData().fieldsSizeMap;
8932
8949
  this.aiEditField.update((item) => {
8933
8950
  const width = fieldsSizeMap[item._id] ?? field.width;
8934
- const name = this.isManualInputName() ? item.name : createDefaultFieldName(this.aiTable(), field);
8951
+ const name = this.isManualInputName() || this.isUpdate() ? item.name : createDefaultFieldName(this.aiTable(), field);
8935
8952
  let settings = field.settings || {};
8936
8953
  if (this.isUpdate() && field.type === AITableFieldType.select) {
8937
8954
  const { options, optionStyle } = getOptionsByFieldAndRecords(this.aiTable(), this.aiEditField(), this.aiReferences());
8938
- settings = { ...settings, options, option_style: optionStyle };
8955
+ const maxCount = this.aiTable().context?.maxSelectOptions();
8956
+ let selectOptions = options;
8957
+ if (!isUndefinedOrNull(maxCount) && options.length > maxCount) {
8958
+ selectOptions = options.slice(0, maxCount);
8959
+ }
8960
+ settings = {
8961
+ ...settings,
8962
+ options: selectOptions,
8963
+ option_style: optionStyle
8964
+ };
8939
8965
  }
8940
8966
  return { ...item, ...field, width, name, settings };
8941
8967
  });
@@ -9522,6 +9548,7 @@ class AITableGridBase {
9522
9548
  this.aiPlugins = input();
9523
9549
  this.aiMaxFields = input();
9524
9550
  this.aiMaxRecords = input();
9551
+ this.aiMaxSelectOptions = input();
9525
9552
  this.aiReferences = input.required();
9526
9553
  this.aiBuildRenderDataFn = input();
9527
9554
  this.aiGetI18nTextByKey = input();
@@ -9644,7 +9671,7 @@ class AITableGridBase {
9644
9671
  }
9645
9672
  }
9646
9673
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AITableGridBase, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9647
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: AITableGridBase, isStandalone: true, selector: "ai-table-grid-base", inputs: { aiRecords: { classPropertyName: "aiRecords", publicName: "aiRecords", isSignal: true, isRequired: true, transformFunction: null }, aiFields: { classPropertyName: "aiFields", publicName: "aiFields", isSignal: true, isRequired: true, transformFunction: null }, aiFieldsSizeMap: { classPropertyName: "aiFieldsSizeMap", publicName: "aiFieldsSizeMap", isSignal: true, isRequired: true, transformFunction: null }, aiContextMenuItems: { classPropertyName: "aiContextMenuItems", publicName: "aiContextMenuItems", isSignal: true, isRequired: false, transformFunction: null }, aiFieldConfig: { classPropertyName: "aiFieldConfig", publicName: "aiFieldConfig", isSignal: true, isRequired: false, transformFunction: null }, aiReadonly: { classPropertyName: "aiReadonly", publicName: "aiReadonly", isSignal: true, isRequired: false, transformFunction: null }, aiPlugins: { classPropertyName: "aiPlugins", publicName: "aiPlugins", isSignal: true, isRequired: false, transformFunction: null }, aiMaxFields: { classPropertyName: "aiMaxFields", publicName: "aiMaxFields", isSignal: true, isRequired: false, transformFunction: null }, aiMaxRecords: { classPropertyName: "aiMaxRecords", publicName: "aiMaxRecords", isSignal: true, isRequired: false, transformFunction: null }, aiReferences: { classPropertyName: "aiReferences", publicName: "aiReferences", isSignal: true, isRequired: true, transformFunction: null }, aiBuildRenderDataFn: { classPropertyName: "aiBuildRenderDataFn", publicName: "aiBuildRenderDataFn", isSignal: true, isRequired: false, transformFunction: null }, aiGetI18nTextByKey: { classPropertyName: "aiGetI18nTextByKey", publicName: "aiGetI18nTextByKey", isSignal: true, isRequired: false, transformFunction: null }, aiKeywords: { classPropertyName: "aiKeywords", publicName: "aiKeywords", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { aiRecords: "aiRecordsChange", aiFields: "aiFieldsChange", aiFieldsSizeMap: "aiFieldsSizeMapChange", aiTableInitialized: "aiTableInitialized", aiAddRecord: "aiAddRecord", aiAddField: "aiAddField", aiMoveField: "aiMoveField", aiUpdateFieldValues: "aiUpdateFieldValues", aiSetField: "aiSetField", aiSetFieldWidth: "aiSetFieldWidth", aiMoveRecords: "aiMoveRecords", aiClick: "aiClick", aiDbClick: "aiDbClick" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9674
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: AITableGridBase, isStandalone: true, selector: "ai-table-grid-base", inputs: { aiRecords: { classPropertyName: "aiRecords", publicName: "aiRecords", isSignal: true, isRequired: true, transformFunction: null }, aiFields: { classPropertyName: "aiFields", publicName: "aiFields", isSignal: true, isRequired: true, transformFunction: null }, aiFieldsSizeMap: { classPropertyName: "aiFieldsSizeMap", publicName: "aiFieldsSizeMap", isSignal: true, isRequired: true, transformFunction: null }, aiContextMenuItems: { classPropertyName: "aiContextMenuItems", publicName: "aiContextMenuItems", isSignal: true, isRequired: false, transformFunction: null }, aiFieldConfig: { classPropertyName: "aiFieldConfig", publicName: "aiFieldConfig", isSignal: true, isRequired: false, transformFunction: null }, aiReadonly: { classPropertyName: "aiReadonly", publicName: "aiReadonly", isSignal: true, isRequired: false, transformFunction: null }, aiPlugins: { classPropertyName: "aiPlugins", publicName: "aiPlugins", isSignal: true, isRequired: false, transformFunction: null }, aiMaxFields: { classPropertyName: "aiMaxFields", publicName: "aiMaxFields", isSignal: true, isRequired: false, transformFunction: null }, aiMaxRecords: { classPropertyName: "aiMaxRecords", publicName: "aiMaxRecords", isSignal: true, isRequired: false, transformFunction: null }, aiMaxSelectOptions: { classPropertyName: "aiMaxSelectOptions", publicName: "aiMaxSelectOptions", isSignal: true, isRequired: false, transformFunction: null }, aiReferences: { classPropertyName: "aiReferences", publicName: "aiReferences", isSignal: true, isRequired: true, transformFunction: null }, aiBuildRenderDataFn: { classPropertyName: "aiBuildRenderDataFn", publicName: "aiBuildRenderDataFn", isSignal: true, isRequired: false, transformFunction: null }, aiGetI18nTextByKey: { classPropertyName: "aiGetI18nTextByKey", publicName: "aiGetI18nTextByKey", isSignal: true, isRequired: false, transformFunction: null }, aiKeywords: { classPropertyName: "aiKeywords", publicName: "aiKeywords", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { aiRecords: "aiRecordsChange", aiFields: "aiFieldsChange", aiFieldsSizeMap: "aiFieldsSizeMapChange", aiTableInitialized: "aiTableInitialized", aiAddRecord: "aiAddRecord", aiAddField: "aiAddField", aiMoveField: "aiMoveField", aiUpdateFieldValues: "aiUpdateFieldValues", aiSetField: "aiSetField", aiSetFieldWidth: "aiSetFieldWidth", aiMoveRecords: "aiMoveRecords", aiClick: "aiClick", aiDbClick: "aiDbClick" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9648
9675
  }
9649
9676
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AITableGridBase, decorators: [{
9650
9677
  type: Component,
@@ -10397,7 +10424,8 @@ class AITableGrid extends AITableGridBase {
10397
10424
  readonly: this.aiReadonly(),
10398
10425
  actions: this.actions,
10399
10426
  maxFields: this.aiMaxFields(),
10400
- maxRecords: this.aiMaxRecords()
10427
+ maxRecords: this.aiMaxRecords(),
10428
+ maxSelectOptions: this.aiMaxSelectOptions()
10401
10429
  };
10402
10430
  });
10403
10431
  this.coordinate = computed(() => {
@@ -10537,6 +10565,7 @@ class AITableGrid extends AITableGridBase {
10537
10565
  scrollAction: this.scrollAction,
10538
10566
  maxFields: this.aiMaxFields,
10539
10567
  maxRecords: this.aiMaxRecords,
10568
+ maxSelectOptions: this.aiMaxSelectOptions,
10540
10569
  fieldOptions: this.fieldOptions,
10541
10570
  fieldOptionMap: this.fieldOptionMap,
10542
10571
  readonly: this.aiReadonly