@univerjs-pro/bases 1.0.0-alpha.3 → 1.0.0-alpha.5
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/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/set-base-name.command.d.ts +6 -0
- package/lib/types/facade/f-event.d.ts +0 -15
- package/lib/types/index.d.ts +2 -0
- package/lib/types/ot/json1-op-factory.d.ts +2 -0
- package/lib/types/services/base-formula.service.d.ts +2 -5
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3985(_0x4c398c,_0x47ceeb){_0x4c398c=_0x4c398c-0x6a;const _0x4cef40=_0x4cef();let _0x398554=_0x4cef40[_0x4c398c];return _0x398554;}const _0x58624b=_0x3985;(function(_0x3bd890,_0x240465){const _0x3b2090=_0x3985,_0x14921e=_0x3bd890();while(!![]){try{const _0x52e827=parseInt(_0x3b2090(0x87))/0x1*(-parseInt(_0x3b2090(0x6c))/0x2)+parseInt(_0x3b2090(0x7f))/0x3*(parseInt(_0x3b2090(0x75))/0x4)+parseInt(_0x3b2090(0x84))/0x5+parseInt(_0x3b2090(0x72))/0x6*(-parseInt(_0x3b2090(0x76))/0x7)+parseInt(_0x3b2090(0x6b))/0x8*(-parseInt(_0x3b2090(0x7c))/0x9)+-parseInt(_0x3b2090(0x6e))/0xa*(-parseInt(_0x3b2090(0x77))/0xb)+parseInt(_0x3b2090(0x82))/0xc;if(_0x52e827===_0x240465)break;else _0x14921e['push'](_0x14921e['shift']());}catch(_0x493a8f){_0x14921e['push'](_0x14921e['shift']());}}}(_0x4cef,0x94509));function _0x4cef(){const _0x4ac99a=['甘特視圖需要開始和結束日期字段','20457SFstai','更新視圖設置','刪除記錄','3ZGJwjF','電話號碼','看板需要可分組字段','265284iddecs','創建記錄','4253515FlVSRG','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','單元格值無效','1QDHNxe','創建人','3880KqBqWq','135114aWfZXN','修改人','1307910wBeUar','輸入內容','字段標題不能為空','字段類型無效','3448890WbLTOj','更新單元格','記錄\x20ID','3302036SxlxfL','7TDiSwc','55xxelGo','創建時間','複選框','刪除字段'];_0x4cef=function(){return _0x4ac99a;};return _0x4cef();}const e={'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x58624b(0x79),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x58624b(0x80),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':'雙向關聯','recordId':_0x58624b(0x74),'createdBy':_0x58624b(0x6a),'updatedBy':_0x58624b(0x6d),'createdAt':_0x58624b(0x78),'updatedAt':'更新時間','summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x58624b(0x6f),'linkPlaceholder':_0x58624b(0x85)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':_0x58624b(0x70),'invalidFieldType':_0x58624b(0x71),'invalidCellValue':_0x58624b(0x86),'invalidKanbanGroupField':_0x58624b(0x81),'invalidCalendarDateField':'日曆需要日期字段','invalidGanttDateField':_0x58624b(0x7b)},'command':{'updateCell':_0x58624b(0x73),'createField':'創建字段','deleteField':_0x58624b(0x7a),'createRecord':_0x58624b(0x83),'deleteRecord':_0x58624b(0x7e),'updateViewConfig':_0x58624b(0x7d)}}};export{e as default};
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
1
|
import type { BaseCellValue, IFieldSnapshot, IRecordSnapshot, ITableSnapshot, IViewSnapshot } from '@univerjs/core';
|
|
17
2
|
import type { IEventBase } from '@univerjs/core/facade';
|
|
18
3
|
import type { FBase } from './f-base';
|
package/lib/types/index.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export { RenameBaseViewCommand } from './commands/commands/rename-base-view.comm
|
|
|
36
36
|
export type { IRenameBaseViewCommandParams } from './commands/commands/rename-base-view.command';
|
|
37
37
|
export { SetBaseKanbanGroupFieldCommand } from './commands/commands/set-base-kanban-group-field.command';
|
|
38
38
|
export type { ISetBaseKanbanGroupFieldCommandParams } from './commands/commands/set-base-kanban-group-field.command';
|
|
39
|
+
export { SetBaseNameCommand } from './commands/commands/set-base-name.command';
|
|
40
|
+
export type { ISetBaseNameCommandParams } from './commands/commands/set-base-name.command';
|
|
39
41
|
export { SetBaseRangeValuesCommand } from './commands/commands/set-base-range-values.command';
|
|
40
42
|
export type { ISetBaseRangeValuesCommandParams } from './commands/commands/set-base-range-values.command';
|
|
41
43
|
export { SetBaseRecordValuesCommand } from './commands/commands/set-base-record-values.command';
|
|
@@ -15,6 +15,8 @@ export interface ISetRangeValuesPatch {
|
|
|
15
15
|
value: BaseCellValue | IBaseCellData | null;
|
|
16
16
|
}
|
|
17
17
|
export declare class BaseJson1OpFactory {
|
|
18
|
+
setBaseName(snapshot: IBaseSnapshot, name: string): JSONXActions;
|
|
19
|
+
renameFormulaUnitReferences(snapshot: IBaseSnapshot, oldName: string, newName: string): JSONXActions | undefined;
|
|
18
20
|
createTable(snapshot: IBaseSnapshot, table: ITableSnapshot, index?: number): JSONXActions;
|
|
19
21
|
renameTable(snapshot: IBaseSnapshot, tableId: TableId, name: string): JSONXActions;
|
|
20
22
|
deleteTable(snapshot: IBaseSnapshot, tableId: TableId): JSONXActions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ISuperTable, ISuperTableService } from '@univerjs-pro/engine-formula';
|
|
1
|
+
import type { ISetFormulaCalculationResultMutation, ISuperTable, ISuperTableService } from '@univerjs-pro/engine-formula';
|
|
2
2
|
import type { IBaseCellData, IBaseSnapshot, ITableSnapshot } from '@univerjs/core';
|
|
3
3
|
import { ObjectMatrix } from '@univerjs/core';
|
|
4
4
|
export interface IBaseFormulaValidationResult {
|
|
@@ -27,10 +27,7 @@ export interface IBaseFormulaCalculationDataset {
|
|
|
27
27
|
unitStylesData: Record<string, Record<string, unknown>>;
|
|
28
28
|
unitSheetNameMap: Record<string, Record<string, string>>;
|
|
29
29
|
}
|
|
30
|
-
export
|
|
31
|
-
unitData?: Record<string, Record<string, Record<number, Record<number, IBaseCellData | null>> | null> | null>;
|
|
32
|
-
unitOtherData?: unknown;
|
|
33
|
-
}
|
|
30
|
+
export type IBaseFormulaCalculationResult = ISetFormulaCalculationResultMutation;
|
|
34
31
|
export interface IBaseSuperTableRegistration {
|
|
35
32
|
tableId: string;
|
|
36
33
|
tableName: string;
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1891(){const _0x4deb7f=['Name','getSnapshot','fieldOrder','DuplicateBaseRecordCommand','updateConfig','SetBaseViewFieldOrderCommand','caseSensitive','getAllUnitsForType','UniverProBasesFacade','_recordId','BaseTableRecordCreated','CreateBaseViewCommand','createdAt','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','setName','addField','ensureBaseTableCellLayout','getRow','SetBaseViewFilterCommand','beforeCommandExecuted',',\x20range:\x20','_injector','fieldKey','FBasesEventNameMixin','getField','Failed\x20to\x20add\x20records','disposeWithMe','ChangeBaseFieldTypeCommand','Kanban','orderKey','toStringTag','_base','BaseTableViewCreated','_tableId','UpdateBaseRecordOrderCommand','Failed\x20to\x20duplicate\x20table\x20\x22','tables','endRow','BaseFieldKeyEnum','getTableById','_getRecord','get','getCurrentUnitOfType','[FBase]:\x20table\x20\x22',',\x20max\x20columns:\x20','[FView]:\x20view\x20\x22','getType','getDefaultValue','36mKChUZ','getSchema','_viewId','241673Znflpd','Calendar','test','object','SetBaseRecordValuesCommand','getColumn','FEnum','ICommandService','registerEventHandler','message','FEventName','searchBaseTable','getDataRange','indexOf','FBaseTableField','_inject','entries','getTableByName','[FTable]:\x20table\x20\x22','UNIVER_BASE','onCommandExecuted','exports','getTable','[FBaseRange]:\x20table\x20does\x20not\x20exist.','Failed\x20to\x20delete\x20table\x20\x22','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','copyBaseTableSnapshot','length','from','BaseFilterConjunction','getValues','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','primaryFieldId','getFieldSettings','fieldSettings','getDescription','getUnit','deleteRecords','generateRandomId','offset','IBaseProjectionService','deepClone','CreateBaseTableCommand','BeforeBaseTableCellValueChange','SetBaseViewGroupCommand','getFieldById','getGroup','string','tableOrder','42FOcmfu','setFieldVisible','params','rows','startRow','forEach','getView','_getView','BaseTableFieldCreated','setFilter','UpdateBaseCellCommand','values','Grid','AND','views','startColumn','now','stringify','_getField','tableId','getActiveBase','amd','createUnit','createView','_initBaseAfterEvents','[FField]:\x20field\x20\x22','Event','Field\x20type\x20is\x20required','record','regenerateViewIds','some','number','recordOrder','UpdateBaseViewConfigCommand','index','_initBaseBeforeEvents','MoveBaseViewCommand','UniverInstanceType','getRecord','defineProperty','Failed\x20to\x20create\x20view\x20\x22','\x20Copy','CanceledError','endColumn','getNumColumns','changeType','operator','UniverCoreFacade','getVisibleFields','getFilter','RenameBaseTableCommand','getNumRows','getBaseCellValue','BaseTableCellValueChanged','delete','max','getBaseId','getBase','238506fTlQoO','isArray','queryRecords','group','2062092lrviMc','\x20exceeds\x20range\x20size\x20','setValues','Date','recordId','updatedAt','Tools','createInstance','getConfig','getViewByName','BaseSortDirection','getProjection','BaseViewType','getRange','isReadonly','value','type','map','addRecord','description','records','resolveBaseFieldKey','318184vrDrRQ','sort','21rSovjX','search','CreateBaseFieldCommand','duplicateTable','filter','cancel','BaseFieldType','config','getId','fireEvent','SetBaseViewFieldWidthCommand','every','Inject','extend','fieldId','_table','BeforeBaseTableRecordCreate','UniverProBases','_initialize','187685HHIoYJ','Injector','IUniverInstanceService','BeforeBaseTableFieldCreate','_fieldId','Duplicate\x20Base\x20field\x20name:\x20','@univerjs/core','getOwnPropertyDescriptor','Gallery','BatchDeleteBaseRecordsCommand','BatchCreateBaseRecordsCommand','moveField','includeRecords','_range','viewOrder','createDefaultBaseTableSnapshot','getUnitId','BeforeBaseTableCreate','addRecords','FBaseTable','fieldIds','getRecordById','FUniver','conditions','fields','915108FSrXWF','flatMap','setConfig','syncExecuteCommand','\x22\x20does\x20not\x20exist.','SetBaseViewFieldVisibleCommand','CreateBaseRecordCommand','1662370IexlgS','BaseTableCreated','matches','update','getBases','move','FBaseTableRecord','Invalid\x20Base\x20regex\x20filter:\x20','BaseFilterOperator','getPrimaryField','name','[FRecord]:\x20record\x20\x22','setFieldWidth','function','getTables','setValue','getTableId','setGroup','_getTable','localeCompare','getName','DeleteBaseTableCommand','_resolveRecordIds','UpdateBaseFieldCommand','find','slice','limit','deleteTable','_assertInBounds','@univerjs/core/facade','viewId','Auto','View\x20type\x20is\x20required','Failed\x20to\x20create\x20table\x20\x22','invalid','table','colId','save','hidden','setSort','decorate','BeforeBaseTableViewCreate','setOrderKey','auto'];_0x1891=function(){return _0x4deb7f;};return _0x1891();}function _0x2bef(_0x58a973,_0xc1ec1f){_0x58a973=_0x58a973-0x1c0;const _0x189172=_0x1891();let _0x2bef38=_0x189172[_0x58a973];return _0x2bef38;}(function(_0x291a05,_0x355fe0){const _0x44cdb8=_0x2bef,_0x8fa07a=_0x291a05();while(!![]){try{const _0x393354=parseInt(_0x44cdb8(0x291))/0x1+parseInt(_0x44cdb8(0x1e3))/0x2+-parseInt(_0x44cdb8(0x22b))/0x3+-parseInt(_0x44cdb8(0x1e7))/0x4+parseInt(_0x44cdb8(0x212))/0x5*(parseInt(_0x44cdb8(0x2c2))/0x6)+parseInt(_0x44cdb8(0x1ff))/0x7*(-parseInt(_0x44cdb8(0x1fd))/0x8)+-parseInt(_0x44cdb8(0x28e))/0x9*(-parseInt(_0x44cdb8(0x232))/0xa);if(_0x393354===_0x355fe0)break;else _0x8fa07a['push'](_0x8fa07a['shift']());}catch(_0x47c9c6){_0x8fa07a['push'](_0x8fa07a['shift']());}}}(_0x1891,0x55253),function(_0xfbfd49,_0x367955){const _0x3d9873=_0x2bef;typeof exports==_0x3d9873(0x294)&&typeof module<'u'?_0x367955(exports,require('@univerjs-pro/bases'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x3d9873(0x23f)&&define[_0x3d9873(0x2d7)]?define([_0x3d9873(0x2a6),'@univerjs-pro/bases',_0x3d9873(0x218),_0x3d9873(0x24f)],_0x367955):(_0xfbfd49=typeof globalThis<'u'?globalThis:_0xfbfd49||self,_0x367955(_0xfbfd49[_0x3d9873(0x266)]={},_0xfbfd49[_0x3d9873(0x210)],_0xfbfd49['UniverCore'],_0xfbfd49[_0x3d9873(0x1d8)]));}(this,function(_0x1284ec,_0x55af74,_0x67e984,_0x1a8bc3){const _0x5220ed=_0x2bef;Object['defineProperty'](_0x1284ec,Symbol[_0x5220ed(0x27c)],{'value':'Module'});var _0x2cacd9=class{constructor(_0x9b4aef,_0x36b587,_0x1d3f1e,_0x3370e8){const _0x521463=_0x5220ed;this[_0x521463(0x27d)]=_0x9b4aef,this['_table']=_0x36b587,this[_0x521463(0x216)]=_0x1d3f1e,this['_inject']=_0x3370e8;}[_0x5220ed(0x207)](){return this['_fieldId'];}[_0x5220ed(0x276)](){return this['_getField']();}['getName'](){const _0x3bd9f9=_0x5220ed;return this[_0x3bd9f9(0x2d4)]()[_0x3bd9f9(0x23c)];}[_0x5220ed(0x28c)](){const _0x35284a=_0x5220ed;return this[_0x35284a(0x2d4)]()[_0x35284a(0x1f7)];}[_0x5220ed(0x1ef)](){return this['_getField']()['config'];}[_0x5220ed(0x28d)](){const _0x29a080=_0x5220ed;return this[_0x29a080(0x2d4)]()['defaultValue'];}[_0x5220ed(0x2b4)](){const _0x12a6a2=_0x5220ed;return this[_0x12a6a2(0x2d4)]()[_0x12a6a2(0x1fa)];}[_0x5220ed(0x1f5)](){const _0x3b21be=_0x5220ed;return!!this[_0x3b21be(0x2d4)]()['readonly'];}['setName'](_0x4dc289){const _0x7497b9=_0x5220ed;return this[_0x7497b9(0x235)]({'name':_0x4dc289});}[_0x5220ed(0x22d)](_0x2d1c37){const _0x99d556=_0x5220ed;return this[_0x99d556(0x235)]({'config':_0x2d1c37});}['setDefaultValue'](_0x972708){return this['update']({'defaultValue':_0x972708});}[_0x5220ed(0x235)](_0x31f00a){const _0x48fc0c=_0x5220ed;return this[_0x48fc0c(0x2a0)]['get'](_0x67e984['ICommandService'])['syncExecuteCommand'](_0x55af74[_0x48fc0c(0x249)]['id'],{'unitId':this[_0x48fc0c(0x27d)][_0x48fc0c(0x207)](),'tableId':this[_0x48fc0c(0x20e)][_0x48fc0c(0x207)](),'fieldId':this[_0x48fc0c(0x216)],'patch':_0x31f00a});}[_0x5220ed(0x1d6)](_0xc7853,_0xca3058={}){const _0xb2b1b0=_0x5220ed;return this[_0xb2b1b0(0x2a0)][_0xb2b1b0(0x287)](_0x67e984[_0xb2b1b0(0x298)])[_0xb2b1b0(0x22e)](_0x55af74[_0xb2b1b0(0x279)]['id'],{'unitId':this[_0xb2b1b0(0x27d)]['getId'](),'tableId':this[_0xb2b1b0(0x20e)][_0xb2b1b0(0x207)](),'fieldId':this[_0xb2b1b0(0x216)],'input':{'type':_0xc7853,'config':_0xca3058}});}[_0x5220ed(0x1df)](){const _0x328e64=_0x5220ed;return this['_inject'][_0x328e64(0x287)](_0x67e984[_0x328e64(0x298)])[_0x328e64(0x22e)](_0x55af74['DeleteBaseFieldCommand']['id'],{'unitId':this[_0x328e64(0x27d)][_0x328e64(0x207)](),'tableId':this[_0x328e64(0x20e)][_0x328e64(0x207)](),'fieldId':this[_0x328e64(0x216)]});}[_0x5220ed(0x237)](_0x467d1c){const _0x3904ad=_0x5220ed;return this['_inject'][_0x3904ad(0x287)](_0x67e984[_0x3904ad(0x298)])[_0x3904ad(0x22e)](_0x55af74['MoveBaseFieldCommand']['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x3904ad(0x20e)][_0x3904ad(0x207)](),'fieldId':this[_0x3904ad(0x216)],'target':_0x467d1c});}[_0x5220ed(0x2d4)](){const _0x286315=_0x5220ed;let _0x5a1e92=this[_0x286315(0x20e)]['getTable']()[_0x286315(0x22a)][this['_fieldId']];if(!_0x5a1e92)throw Error(_0x286315(0x1c2)+this[_0x286315(0x216)]+_0x286315(0x22f));return _0x5a1e92;}},_0x39826c=class _0x113766{constructor(_0x52e8b3,_0x5a713f,_0x5c925c,_0x20b94c){const _0x831a91=_0x5220ed;this['_base']=_0x52e8b3,this['_table']=_0x5a713f,this[_0x831a91(0x21f)]=_0x5c925c,this[_0x831a91(0x2a0)]=_0x20b94c,this['_assertInBounds']();}[_0x5220ed(0x1e1)](){const _0x3ddcdb=_0x5220ed;return this[_0x3ddcdb(0x27d)][_0x3ddcdb(0x207)]();}[_0x5220ed(0x242)](){const _0x88ceff=_0x5220ed;return this['_table'][_0x88ceff(0x207)]();}[_0x5220ed(0x1f4)](){const _0x49b346=_0x5220ed;return{...this[_0x49b346(0x21f)]};}[_0x5220ed(0x26f)](){const _0x519854=_0x5220ed;return this[_0x519854(0x21f)][_0x519854(0x2c6)];}[_0x5220ed(0x296)](){const _0x231f70=_0x5220ed;return this[_0x231f70(0x21f)][_0x231f70(0x2d1)];}[_0x5220ed(0x1dc)](){const _0x2c25cb=_0x5220ed;return this[_0x2c25cb(0x21f)][_0x2c25cb(0x283)]-this[_0x2c25cb(0x21f)][_0x2c25cb(0x2c6)]+0x1;}[_0x5220ed(0x1d5)](){const _0x44a79c=_0x5220ed;return this[_0x44a79c(0x21f)][_0x44a79c(0x1d4)]-this['_range'][_0x44a79c(0x2d1)]+0x1;}[_0x5220ed(0x2af)](){const _0x45cd6e=_0x5220ed;let _0x4d9c9c=this[_0x45cd6e(0x244)](),_0x1e7227=[];for(let _0x5a8705=this[_0x45cd6e(0x21f)][_0x45cd6e(0x2c6)];_0x5a8705<=this[_0x45cd6e(0x21f)][_0x45cd6e(0x283)];_0x5a8705++){var _0x57b587;let _0x48987d=(_0x57b587=_0x4d9c9c['rowId'])==null?void 0x0:_0x57b587[_0x5a8705],_0xb1d4=[];for(let _0x3db6f1=this[_0x45cd6e(0x21f)][_0x45cd6e(0x2d1)];_0x3db6f1<=this[_0x45cd6e(0x21f)]['endColumn'];_0x3db6f1++){var _0xbe9c09;let _0x1ae7ca=(_0xbe9c09=_0x4d9c9c[_0x45cd6e(0x256)])==null?void 0x0:_0xbe9c09[_0x3db6f1];_0xb1d4['push'](_0x48987d&&_0x1ae7ca?(0x0,_0x55af74[_0x45cd6e(0x1dd)])(_0x4d9c9c,_0x48987d,_0x1ae7ca):null);}_0x1e7227['push'](_0xb1d4);}return _0x1e7227;}['getValue'](){const _0x9810b7=_0x5220ed;var _0x59cd4d,_0x162a63;return(_0x59cd4d=(_0x162a63=this[_0x9810b7(0x2af)]()[0x0])==null?void 0x0:_0x162a63[0x0])==null?null:_0x59cd4d;}[_0x5220ed(0x241)](_0x23318b){return this['setValues']([[_0x23318b]]);}['setValues'](_0xf54c09){const _0x34a783=_0x5220ed;let _0x33c09f=this[_0x34a783(0x1dc)](),_0x2ee270=this[_0x34a783(0x1d5)]();if(_0xf54c09[_0x34a783(0x2ac)]>_0x33c09f||_0xf54c09[_0x34a783(0x1c7)](_0x4f194c=>_0x4f194c[_0x34a783(0x2ac)]>_0x2ee270)){var _0x1ad1d9,_0x524d56;throw Error('[FBaseRange]:\x20values\x20size\x20'+_0xf54c09[_0x34a783(0x2ac)]+'x'+((_0x1ad1d9=(_0x524d56=_0xf54c09[0x0])==null?void 0x0:_0x524d56['length'])==null?0x0:_0x1ad1d9)+_0x34a783(0x1e8)+_0x33c09f+'x'+_0x2ee270+'.');}let _0x408e30=this[_0x34a783(0x2a0)][_0x34a783(0x287)](_0x67e984[_0x34a783(0x298)]),_0x363656=_0xf54c09[_0x34a783(0x22c)]((_0x4fd3f3,_0x2b1e9f)=>_0x4fd3f3[_0x34a783(0x1f8)]((_0x5369cb,_0x447642)=>({'row':this[_0x34a783(0x21f)][_0x34a783(0x2c6)]+_0x2b1e9f,'col':this[_0x34a783(0x21f)][_0x34a783(0x2d1)]+_0x447642,'value':_0x5369cb})));return _0x408e30[_0x34a783(0x22e)](_0x55af74['SetBaseRangeValuesCommand']['id'],{'unitId':this[_0x34a783(0x27d)][_0x34a783(0x207)](),'tableId':this[_0x34a783(0x20e)][_0x34a783(0x207)](),'patches':_0x363656});}['clear'](){const _0x3009e2=_0x5220ed;return this[_0x3009e2(0x1e9)](Array[_0x3009e2(0x2ad)]({'length':this[_0x3009e2(0x1dc)]()},()=>Array['from']({'length':this[_0x3009e2(0x1d5)]()},()=>null)));}[_0x5220ed(0x2b8)](_0x2160a4,_0x35e940,_0x2b880a=this[_0x5220ed(0x1dc)](),_0x34074c=this[_0x5220ed(0x1d5)]()){const _0x15e0c6=_0x5220ed;return this[_0x15e0c6(0x2a0)][_0x15e0c6(0x1ee)](_0x113766,this[_0x15e0c6(0x27d)],this[_0x15e0c6(0x20e)],{'startRow':this['_range'][_0x15e0c6(0x2c6)]+_0x2160a4,'startColumn':this[_0x15e0c6(0x21f)][_0x15e0c6(0x2d1)]+_0x35e940,'endRow':this[_0x15e0c6(0x21f)]['startRow']+_0x2160a4+_0x2b880a-0x1,'endColumn':this['_range'][_0x15e0c6(0x2d1)]+_0x35e940+_0x34074c-0x1},this['_inject']);}[_0x5220ed(0x244)](){const _0x4bf8a2=_0x5220ed;let _0x115384=this[_0x4bf8a2(0x20e)]['getTable']();if(!_0x115384)throw Error(_0x4bf8a2(0x2a8));return(0x0,_0x55af74[_0x4bf8a2(0x26e)])(_0x115384);}[_0x5220ed(0x24e)](){const _0x3eba93=_0x5220ed;var _0x3c30e4,_0xeb0b44;let _0x2ae786=this[_0x3eba93(0x244)](),_0x1192a9=(_0x3c30e4=(_0xeb0b44=_0x2ae786[_0x3eba93(0x1c9)])==null?void 0x0:_0xeb0b44[_0x3eba93(0x2ac)])==null?0x0:_0x3c30e4,_0x2f2813=_0x2ae786[_0x3eba93(0x260)][_0x3eba93(0x2ac)];if(this[_0x3eba93(0x21f)][_0x3eba93(0x2c6)]<0x0||this[_0x3eba93(0x21f)][_0x3eba93(0x2d1)]<0x0||this[_0x3eba93(0x21f)][_0x3eba93(0x283)]<this[_0x3eba93(0x21f)][_0x3eba93(0x2c6)]||this['_range'][_0x3eba93(0x1d4)]<this['_range'][_0x3eba93(0x2d1)]||this[_0x3eba93(0x21f)]['endRow']>=Math['max'](_0x1192a9,0x1)||this[_0x3eba93(0x21f)][_0x3eba93(0x1d4)]>=Math[_0x3eba93(0x1e0)](_0x2f2813,0x1))throw Error(_0x3eba93(0x26b)+_0x1192a9+_0x3eba93(0x28a)+_0x2f2813+_0x3eba93(0x272)+JSON[_0x3eba93(0x2d3)](this[_0x3eba93(0x21f)])+'.');}};let _0x3e672c=function(_0x24e9d9){const _0xa80e13=_0x5220ed;return _0x24e9d9['Id']='id',_0x24e9d9[_0xa80e13(0x25e)]=_0xa80e13(0x23c),_0x24e9d9[_0xa80e13(0x251)]=_0xa80e13(0x25d),_0x24e9d9;}({});function _0x39c66b(_0x40d499,_0xf3d440,_0x112a65='id'){const _0x46eac0=_0x5220ed;if(!_0xf3d440)return{};let _0x4cc688={};return Object[_0x46eac0(0x2a1)](_0xf3d440)[_0x46eac0(0x2c7)](([_0x3409f8,_0x3d37c6])=>{_0x4cc688[_0x1e39c3(_0x40d499,_0x3409f8,_0x112a65)]=_0x3d37c6;}),_0x4cc688;}function _0x1e39c3(_0x513edf,_0xf2fd71,_0x4bb421){const _0x16e4a9=_0x5220ed;if(_0x4bb421==='id'||_0x4bb421===_0x16e4a9(0x25d)&&_0x513edf['fields'][_0xf2fd71])return _0xf2fd71;let _0x223702=Object[_0x16e4a9(0x2cd)](_0x513edf[_0x16e4a9(0x22a)])[_0x16e4a9(0x203)](_0x27763d=>_0x27763d[_0x16e4a9(0x23c)]===_0xf2fd71);if(_0x223702[_0x16e4a9(0x2ac)]===0x1)return _0x223702[0x0]['id'];throw _0x223702['length']>0x1?Error(_0x16e4a9(0x217)+_0xf2fd71):Error('Base\x20field\x20not\x20found:\x20'+_0xf2fd71);}var _0x5eccbc=class _0x3971f5{constructor(_0x395c54,_0xabaa9b,_0x18490b,_0x2428aa){const _0xcf2541=_0x5220ed;this[_0xcf2541(0x27d)]=_0x395c54,this[_0xcf2541(0x20e)]=_0xabaa9b,this[_0xcf2541(0x267)]=_0x18490b,this[_0xcf2541(0x2a0)]=_0x2428aa;}[_0x5220ed(0x207)](){const _0x4a4aa1=_0x5220ed;return this[_0x4a4aa1(0x267)];}[_0x5220ed(0x1cf)](){return this['_getRecord']();}['getValue'](_0x24b285){const _0x3153af=_0x5220ed;var _0xd3f73b;return(_0xd3f73b=this[_0x3153af(0x286)]()[_0x3153af(0x2cd)][_0x24b285])==null?null:_0xd3f73b;}['getValues'](){const _0x25c653=_0x5220ed;return{...this[_0x25c653(0x286)]()[_0x25c653(0x2cd)]};}[_0x5220ed(0x241)](_0xc1fab5,_0x3d1e92){const _0x3d9b68=_0x5220ed;return this[_0x3d9b68(0x2a0)][_0x3d9b68(0x287)](_0x67e984[_0x3d9b68(0x298)])[_0x3d9b68(0x22e)](_0x55af74[_0x3d9b68(0x2cc)]['id'],{'unitId':this[_0x3d9b68(0x27d)][_0x3d9b68(0x207)](),'tableId':this[_0x3d9b68(0x20e)]['getId'](),'recordId':this[_0x3d9b68(0x267)],'fieldId':_0xc1fab5,'value':_0x3d1e92});}[_0x5220ed(0x1e9)](_0x1af24b,_0x49cab3='id'){const _0x4c4c87=_0x5220ed;let _0x23d6f2=this[_0x4c4c87(0x2a0)]['get'](_0x67e984['ICommandService']),_0x2d0980=this['_table'][_0x4c4c87(0x2a7)](),_0x23dc7f=[{'recordId':this['_recordId'],'values':_0x39c66b(_0x2d0980,_0x1af24b,_0x49cab3)}];return _0x23d6f2[_0x4c4c87(0x22e)](_0x55af74[_0x4c4c87(0x295)]['id'],{'unitId':this[_0x4c4c87(0x27d)][_0x4c4c87(0x207)](),'tableId':this['_table'][_0x4c4c87(0x207)](),'patches':_0x23dc7f});}['delete'](){const _0x59df76=_0x5220ed;return this[_0x59df76(0x2a0)][_0x59df76(0x287)](_0x67e984[_0x59df76(0x298)])[_0x59df76(0x22e)](_0x55af74['DeleteBaseRecordCommand']['id'],{'unitId':this[_0x59df76(0x27d)][_0x59df76(0x207)](),'tableId':this[_0x59df76(0x20e)]['getId'](),'recordId':this[_0x59df76(0x267)]});}['duplicate'](_0x53fade){const _0x393d73=_0x5220ed;let _0x20d3bf=this[_0x393d73(0x2a0)]['get'](_0x67e984[_0x393d73(0x298)]),_0x58a13a={...this[_0x393d73(0x286)](),..._0x53fade,'id':(0x0,_0x67e984[_0x393d73(0x2b7)])(0x6)};_0x53fade!=null&&_0x53fade[_0x393d73(0x2cd)]&&(_0x58a13a[_0x393d73(0x2cd)]={..._0x58a13a['values'],..._0x53fade[_0x393d73(0x2cd)]});let _0x425e3e=Date['now']();if(_0x58a13a['orderKey']||(_0x58a13a[_0x393d73(0x27b)]=''+_0x425e3e),_0x58a13a[_0x393d73(0x26a)]||(_0x58a13a[_0x393d73(0x26a)]=_0x425e3e),_0x58a13a[_0x393d73(0x1ec)]||(_0x58a13a[_0x393d73(0x1ec)]=_0x425e3e),!_0x20d3bf['syncExecuteCommand'](_0x55af74[_0x393d73(0x261)]['id'],{'unitId':this['_base'][_0x393d73(0x207)](),'tableId':this[_0x393d73(0x20e)]['getId'](),'sourceRecordId':this[_0x393d73(0x267)],'record':_0x58a13a}))throw Error(_0x393d73(0x2b0)+this[_0x393d73(0x267)]+'\x22.');return this['_inject'][_0x393d73(0x1ee)](_0x3971f5,this[_0x393d73(0x27d)],this[_0x393d73(0x20e)],_0x58a13a['id'],this[_0x393d73(0x2a0)]);}[_0x5220ed(0x25c)](_0x566096){const _0x11aca2=_0x5220ed;return this[_0x11aca2(0x2a0)]['get'](_0x67e984[_0x11aca2(0x298)])[_0x11aca2(0x22e)](_0x55af74[_0x11aca2(0x280)]['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table']['getId'](),'recordId':this[_0x11aca2(0x267)],'orderKey':_0x566096});}[_0x5220ed(0x286)](){const _0x2389c1=_0x5220ed;let _0x5b0246=this[_0x2389c1(0x20e)][_0x2389c1(0x2a7)]()[_0x2389c1(0x1fb)][this['_recordId']];if(!_0x5b0246)throw Error(_0x2389c1(0x23d)+this[_0x2389c1(0x267)]+_0x2389c1(0x22f));return _0x5b0246;}},_0x1e95f8=class{constructor(_0x442828,_0x4ec9f6,_0x12564c,_0x20592a){const _0x230057=_0x5220ed;this[_0x230057(0x27d)]=_0x442828,this[_0x230057(0x20e)]=_0x4ec9f6,this['_viewId']=_0x12564c,this[_0x230057(0x273)]=_0x20592a;}['getId'](){const _0x4358ad=_0x5220ed;return this[_0x4358ad(0x290)];}[_0x5220ed(0x2c8)](){const _0x142ac7=_0x5220ed;return this[_0x142ac7(0x2c9)]();}[_0x5220ed(0x246)](){const _0x145f1f=_0x5220ed;return this[_0x145f1f(0x2c9)]()[_0x145f1f(0x23c)];}[_0x5220ed(0x28c)](){const _0x72633b=_0x5220ed;return this[_0x72633b(0x2c9)]()['type'];}[_0x5220ed(0x26c)](_0x2b111d){const _0x4fc70c=_0x5220ed;return this[_0x4fc70c(0x273)][_0x4fc70c(0x287)](_0x67e984[_0x4fc70c(0x298)])[_0x4fc70c(0x22e)](_0x55af74['RenameBaseViewCommand']['id'],{'unitId':this['_base'][_0x4fc70c(0x207)](),'tableId':this[_0x4fc70c(0x20e)][_0x4fc70c(0x207)](),'viewId':this[_0x4fc70c(0x290)],'name':_0x2b111d});}[_0x5220ed(0x1ef)](){const _0x6f0aaa=_0x5220ed;let _0xa22369=this[_0x6f0aaa(0x28c)](),_0x3486aa=this['_getView']()[_0x6f0aaa(0x206)];switch(_0xa22369){case _0x67e984[_0x6f0aaa(0x1f3)][_0x6f0aaa(0x2ce)]:return _0x3486aa;case _0x67e984['BaseViewType']['Kanban']:return _0x3486aa;case _0x67e984[_0x6f0aaa(0x1f3)][_0x6f0aaa(0x292)]:return _0x3486aa;case _0x67e984[_0x6f0aaa(0x1f3)]['Gantt']:return _0x3486aa;case _0x67e984[_0x6f0aaa(0x1f3)][_0x6f0aaa(0x21a)]:return _0x3486aa;default:return _0x3486aa;}}[_0x5220ed(0x262)](_0x15541d){const _0x45e79d=_0x5220ed;return this['_injector'][_0x45e79d(0x287)](_0x67e984[_0x45e79d(0x298)])[_0x45e79d(0x22e)](_0x55af74[_0x45e79d(0x1ca)]['id'],{'unitId':this['_base'][_0x45e79d(0x207)](),'tableId':this[_0x45e79d(0x20e)][_0x45e79d(0x207)](),'viewId':this['_viewId'],'patch':_0x15541d});}[_0x5220ed(0x1da)](){const _0x25fb65=_0x5220ed;var _0x368d19;return(_0x368d19=this[_0x25fb65(0x2c9)]()['filter'])==null?null:_0x368d19;}[_0x5220ed(0x2cb)](_0xa72ac4){const _0x313f9c=_0x5220ed;return this['_injector']['get'](_0x67e984[_0x313f9c(0x298)])[_0x313f9c(0x22e)](_0x55af74[_0x313f9c(0x270)]['id'],{'unitId':this[_0x313f9c(0x27d)][_0x313f9c(0x207)](),'tableId':this[_0x313f9c(0x20e)][_0x313f9c(0x207)](),'viewId':this['_viewId'],'filter':_0xa72ac4});}['getSort'](){const _0x2394de=_0x5220ed;var _0x3c0d0f;return(_0x3c0d0f=this[_0x2394de(0x2c9)]()['sort'])==null?[]:_0x3c0d0f;}[_0x5220ed(0x259)](_0x5f3a34){const _0x2a7577=_0x5220ed;return this['_injector']['get'](_0x67e984[_0x2a7577(0x298)])[_0x2a7577(0x22e)](_0x55af74['SetBaseViewSortCommand']['id'],{'unitId':this[_0x2a7577(0x27d)][_0x2a7577(0x207)](),'tableId':this[_0x2a7577(0x20e)][_0x2a7577(0x207)](),'viewId':this[_0x2a7577(0x290)],'sort':_0x5f3a34});}[_0x5220ed(0x2bf)](){const _0x3e12cf=_0x5220ed;var _0x550cd6;return(_0x550cd6=this[_0x3e12cf(0x2c9)]()[_0x3e12cf(0x1e6)])==null?[]:_0x550cd6;}[_0x5220ed(0x243)](_0x374626){const _0x1d3074=_0x5220ed;return this[_0x1d3074(0x273)][_0x1d3074(0x287)](_0x67e984['ICommandService'])[_0x1d3074(0x22e)](_0x55af74[_0x1d3074(0x2bd)]['id'],{'unitId':this[_0x1d3074(0x27d)][_0x1d3074(0x207)](),'tableId':this[_0x1d3074(0x20e)][_0x1d3074(0x207)](),'viewId':this[_0x1d3074(0x290)],'group':_0x374626});}[_0x5220ed(0x2b2)](_0x595b04){const _0x27ade2=_0x5220ed;var _0x29b9a4,_0x19d588;return(_0x29b9a4=(_0x19d588=this['_getView']()[_0x27ade2(0x2b3)])==null?void 0x0:_0x19d588[_0x595b04])==null?{}:_0x29b9a4;}[_0x5220ed(0x1d9)](){const _0x2880ba=_0x5220ed;var _0x35f701;let _0x3b7972=this[_0x2880ba(0x20e)]['getTable'](),_0x2fed07=this[_0x2880ba(0x2c9)]();return((_0x35f701=_0x2fed07[_0x2880ba(0x260)])==null?_0x3b7972[_0x2880ba(0x260)]:_0x35f701)[_0x2880ba(0x203)](_0x3ecc81=>{const _0x5472ba=_0x2880ba;var _0x3901b2;return _0x3b7972[_0x5472ba(0x22a)][_0x3ecc81]&&!(!((_0x3901b2=_0x2fed07[_0x5472ba(0x2b3)])==null||(_0x3901b2=_0x3901b2[_0x3ecc81])==null)&&_0x3901b2[_0x5472ba(0x258)]);})[_0x2880ba(0x1f8)](_0x1785d1=>this['_injector'][_0x2880ba(0x1ee)](_0x2cacd9,this[_0x2880ba(0x27d)],this['_table'],_0x1785d1,this['_injector']));}[_0x5220ed(0x2c3)](_0x254f38,_0x29838a){const _0x144c2f=_0x5220ed;return this[_0x144c2f(0x273)][_0x144c2f(0x287)](_0x67e984[_0x144c2f(0x298)])[_0x144c2f(0x22e)](_0x55af74[_0x144c2f(0x230)]['id'],{'unitId':this[_0x144c2f(0x27d)]['getId'](),'tableId':this['_table']['getId'](),'viewId':this[_0x144c2f(0x290)],'fieldId':_0x254f38,'visible':_0x29838a});}[_0x5220ed(0x23e)](_0x1ed3d,_0x50db94){const _0x60e6d6=_0x5220ed;return this[_0x60e6d6(0x273)]['get'](_0x67e984[_0x60e6d6(0x298)])['syncExecuteCommand'](_0x55af74[_0x60e6d6(0x209)]['id'],{'unitId':this['_base'][_0x60e6d6(0x207)](),'tableId':this[_0x60e6d6(0x20e)][_0x60e6d6(0x207)](),'viewId':this['_viewId'],'fieldId':_0x1ed3d,'width':_0x50db94});}[_0x5220ed(0x21d)](_0x5b3f7c,_0x9b3a95){const _0x54bdbc=_0x5220ed;return this[_0x54bdbc(0x273)]['get'](_0x67e984[_0x54bdbc(0x298)])[_0x54bdbc(0x22e)](_0x55af74[_0x54bdbc(0x263)]['id'],{'unitId':this['_base'][_0x54bdbc(0x207)](),'tableId':this['_table'][_0x54bdbc(0x207)](),'viewId':this['_viewId'],'fieldId':_0x5b3f7c,'target':_0x9b3a95});}[_0x5220ed(0x237)](_0x1ff083){const _0x27bb0d=_0x5220ed;return this[_0x27bb0d(0x273)]['get'](_0x67e984['ICommandService'])[_0x27bb0d(0x22e)](_0x55af74[_0x27bb0d(0x1cd)]['id'],{'unitId':this[_0x27bb0d(0x27d)][_0x27bb0d(0x207)](),'tableId':this[_0x27bb0d(0x20e)][_0x27bb0d(0x207)](),'viewId':this[_0x27bb0d(0x290)],'target':_0x1ff083});}[_0x5220ed(0x1df)](){const _0x362f00=_0x5220ed;return this[_0x362f00(0x273)][_0x362f00(0x287)](_0x67e984[_0x362f00(0x298)])[_0x362f00(0x22e)](_0x55af74['DeleteBaseViewCommand']['id'],{'unitId':this[_0x362f00(0x27d)][_0x362f00(0x207)](),'tableId':this[_0x362f00(0x20e)][_0x362f00(0x207)](),'viewId':this[_0x362f00(0x290)]});}[_0x5220ed(0x1f2)](){const _0x1cab8a=_0x5220ed;return this[_0x1cab8a(0x273)][_0x1cab8a(0x287)](_0x55af74[_0x1cab8a(0x2b9)])[_0x1cab8a(0x1f2)](this[_0x1cab8a(0x27d)][_0x1cab8a(0x1e2)]()['getSnapshot'](),this[_0x1cab8a(0x20e)][_0x1cab8a(0x207)](),this[_0x1cab8a(0x290)]);}['_getView'](){const _0x490417=_0x5220ed;let _0x79b9c1=this[_0x490417(0x20e)][_0x490417(0x2a7)]()[_0x490417(0x2d0)][this[_0x490417(0x290)]];if(!_0x79b9c1)throw Error(_0x490417(0x28b)+this[_0x490417(0x290)]+_0x490417(0x22f));return _0x79b9c1;}},_0x532c67=class{constructor(_0x10301d,_0x11d239,_0x5b55da){const _0x1fe82e=_0x5220ed;this[_0x1fe82e(0x27d)]=_0x10301d,this[_0x1fe82e(0x27f)]=_0x11d239,this[_0x1fe82e(0x273)]=_0x5b55da;}[_0x5220ed(0x1e2)](){const _0x3c0a43=_0x5220ed;return this[_0x3c0a43(0x27d)][_0x3c0a43(0x1e2)]();}[_0x5220ed(0x2a7)](){const _0x4aa92b=_0x5220ed;return this[_0x4aa92b(0x244)]();}[_0x5220ed(0x207)](){const _0x593631=_0x5220ed;return this[_0x593631(0x27f)];}[_0x5220ed(0x246)](){const _0x31f345=_0x5220ed;return this['_getTable']()[_0x31f345(0x23c)];}[_0x5220ed(0x26c)](_0xfb7146){const _0x4e3969=_0x5220ed;return this['_injector'][_0x4e3969(0x287)](_0x67e984[_0x4e3969(0x298)])[_0x4e3969(0x22e)](_0x55af74[_0x4e3969(0x1db)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x4e3969(0x27f)],'name':_0xfb7146});}[_0x5220ed(0x200)](_0x51b37c,_0x1e1701){const _0x479b95=_0x5220ed;var _0x548dc1;let _0x10e380=this['_injector'][_0x479b95(0x287)](_0x55af74[_0x479b95(0x2b9)]),_0x50132f=this[_0x479b95(0x27d)][_0x479b95(0x1e2)]()['getSnapshot'](),_0x2dbd7a=this['_getTable']();if(_0x1e1701){var _0x35e099;let _0x159a61=_0x10e380[_0x479b95(0x1f2)](_0x50132f,this['_tableId'],_0x1e1701),_0x4e2f2d=_0x2dbd7a[_0x479b95(0x2d0)][_0x1e1701],_0x56acd5=(_0x35e099=_0x51b37c[_0x479b95(0x226)])==null?_0x4a5f98(_0x2dbd7a,_0x4e2f2d,_0x159a61):_0x35e099,_0x1c81e1=_0x479b95(0x2c5)in _0x159a61&&Array['isArray'](_0x159a61[_0x479b95(0x2c5)])?_0x159a61[_0x479b95(0x2c5)]:[];return(0x0,_0x55af74[_0x479b95(0x29c)])({..._0x51b37c,'table':_0x2dbd7a,'fieldIds':_0x56acd5,'rows':_0x1c81e1});}let _0x412172=(_0x2dbd7a[_0x479b95(0x1c9)]?_0x2dbd7a['recordOrder'][_0x479b95(0x1f8)](_0x5a5d2f=>_0x2dbd7a[_0x479b95(0x1fb)][_0x5a5d2f]):Object[_0x479b95(0x2cd)](_0x2dbd7a[_0x479b95(0x1fb)])[_0x479b95(0x1fe)]((_0x44cfbf,_0x4df813)=>_0x44cfbf[_0x479b95(0x27b)][_0x479b95(0x245)](_0x4df813[_0x479b95(0x27b)])))[_0x479b95(0x203)](_0x32a6d4=>_0x32a6d4)[_0x479b95(0x1f8)](_0x124961=>({'recordId':_0x124961['id'],'values':_0x124961[_0x479b95(0x2cd)]})),_0x207274=(_0x548dc1=_0x51b37c['fieldIds'])==null?_0x2dbd7a[_0x479b95(0x260)]['filter'](_0x26819f=>_0x2dbd7a[_0x479b95(0x22a)][_0x26819f]):_0x548dc1;return(0x0,_0x55af74[_0x479b95(0x29c)])({..._0x51b37c,'table':_0x2dbd7a,'fieldIds':_0x207274,'rows':_0x412172});}['getPrimaryFieldId'](){const _0x2b054d=_0x5220ed;return this[_0x2b054d(0x244)]()[_0x2b054d(0x2b1)];}['getFields'](){const _0x4f3c7f=_0x5220ed;let _0x5c8341=this[_0x4f3c7f(0x244)]();return _0x5c8341[_0x4f3c7f(0x260)]['map'](_0x310af7=>_0x5c8341['fields'][_0x310af7])[_0x4f3c7f(0x203)](_0x284d37=>_0x284d37)['map'](_0xc9e621=>this[_0x4f3c7f(0x273)][_0x4f3c7f(0x1ee)](_0x2cacd9,this[_0x4f3c7f(0x27d)],this,_0xc9e621['id'],this[_0x4f3c7f(0x273)]));}[_0x5220ed(0x2be)](_0x194cdb){const _0x2f9b47=_0x5220ed;let _0x31712c=this[_0x2f9b47(0x244)]()['fields'][_0x194cdb];return _0x31712c?this[_0x2f9b47(0x273)][_0x2f9b47(0x1ee)](_0x2cacd9,this[_0x2f9b47(0x27d)],this,_0x31712c['id'],this[_0x2f9b47(0x273)]):null;}['getFieldByName'](_0x26d609){const _0x1a220e=_0x5220ed;let _0x5da710=this[_0x1a220e(0x244)]()[_0x1a220e(0x22a)],_0x2138b4=Object[_0x1a220e(0x2cd)](_0x5da710)[_0x1a220e(0x24a)](_0x28353b=>_0x28353b[_0x1a220e(0x23c)]===_0x26d609);return _0x2138b4?this['_injector'][_0x1a220e(0x1ee)](_0x2cacd9,this[_0x1a220e(0x27d)],this,_0x2138b4['id'],this[_0x1a220e(0x273)]):null;}[_0x5220ed(0x23b)](){const _0x28ca83=_0x5220ed;let _0x463c28=this[_0x28ca83(0x244)]()[_0x28ca83(0x2b1)];return this[_0x28ca83(0x273)][_0x28ca83(0x1ee)](_0x2cacd9,this[_0x28ca83(0x27d)],this,_0x463c28,this[_0x28ca83(0x273)]);}[_0x5220ed(0x26d)](_0x230465,_0x51885b,_0x8d4147){const _0x3d6e37=_0x5220ed;var _0x375d52;let _0x30fd09=this['_injector'][_0x3d6e37(0x287)](_0x67e984[_0x3d6e37(0x298)]),_0x11a659=(_0x375d52=_0x8d4147==null?void 0x0:_0x8d4147['field'])==null?{}:_0x375d52;if(_0x11a659['id']=(0x0,_0x67e984[_0x3d6e37(0x2b7)])(0x6),_0x11a659[_0x3d6e37(0x23c)]=_0x230465,_0x11a659[_0x3d6e37(0x1f7)]=_0x51885b,!_0x11a659[_0x3d6e37(0x1f7)])throw Error(_0x3d6e37(0x1c4));if(_0x11a659[_0x3d6e37(0x206)]||(_0x11a659[_0x3d6e37(0x206)]={}),!_0x30fd09[_0x3d6e37(0x22e)](_0x55af74[_0x3d6e37(0x201)]['id'],{'unitId':this['_base'][_0x3d6e37(0x207)](),'tableId':this[_0x3d6e37(0x27f)],'field':_0x11a659,'index':_0x8d4147==null?void 0x0:_0x8d4147[_0x3d6e37(0x1cb)]}))throw Error('Failed\x20to\x20add\x20field\x20\x22'+_0x230465+'\x22');return this[_0x3d6e37(0x273)][_0x3d6e37(0x1ee)](_0x2cacd9,this[_0x3d6e37(0x27d)],this,_0x11a659['id'],this['_injector']);}['getRecords'](){const _0x5b7f98=_0x5220ed;return this[_0x5b7f98(0x248)]()['map'](_0x5f1e33=>this['_injector'][_0x5b7f98(0x1ee)](_0x5eccbc,this[_0x5b7f98(0x27d)],this,_0x5f1e33,this[_0x5b7f98(0x273)]));}[_0x5220ed(0x227)](_0x26757f){const _0x3790b1=_0x5220ed;return this[_0x3790b1(0x244)]()[_0x3790b1(0x1fb)][_0x26757f]?this[_0x3790b1(0x273)]['createInstance'](_0x5eccbc,this['_base'],this,_0x26757f,this[_0x3790b1(0x273)]):null;}[_0x5220ed(0x1e5)](_0x19ca8a={}){const _0x116ddd=_0x5220ed;var _0x1ebbb1;let _0x4085cd=this[_0x116ddd(0x244)](),_0x12835b=this[_0x116ddd(0x248)](_0x19ca8a),_0x4d81ee=Math['max'](0x0,(_0x1ebbb1=_0x19ca8a[_0x116ddd(0x2b8)])==null?0x0:_0x1ebbb1),_0x4f51b4=_0x19ca8a['limit']==null?null:Math[_0x116ddd(0x1e0)](0x0,_0x19ca8a[_0x116ddd(0x24c)]),_0x19c8fc=_0x482ee1(_0x12835b['map'](_0x2de7a8=>_0x4085cd['records'][_0x2de7a8])['filter'](_0x3d7a61=>_0x3770e1(_0x3d7a61,_0x4085cd,_0x19ca8a[_0x116ddd(0x203)])),_0x4085cd,_0x19ca8a['sort']);return{'records':_0x548402(_0x19c8fc,_0x19ca8a)[_0x116ddd(0x1f8)](_0x321aa4=>this[_0x116ddd(0x273)][_0x116ddd(0x1ee)](_0x5eccbc,this[_0x116ddd(0x27d)],this,_0x321aa4['id'],this[_0x116ddd(0x273)])),'total':_0x19c8fc['length'],'offset':_0x4d81ee,'limit':_0x4f51b4,'hasMore':_0x4f51b4!=null&&_0x4d81ee+_0x4f51b4<_0x19c8fc['length']};}[_0x5220ed(0x1f9)](_0x961580,_0x4293c4='id',_0xb93e48){const _0x5205be=_0x5220ed;let _0x33f8ca=this['_injector'][_0x5205be(0x287)](_0x67e984[_0x5205be(0x298)]),_0x1140b9=this[_0x5205be(0x244)](),_0x1d98e6=_0xb93e48==null?{}:_0xb93e48;_0x1d98e6['id']=(0x0,_0x67e984[_0x5205be(0x2b7)])(0x6),_0x1d98e6[_0x5205be(0x2cd)]=_0x39c66b(_0x1140b9,_0x961580,_0x4293c4);let _0x22d455=Date[_0x5205be(0x2d2)]();if(_0x1d98e6[_0x5205be(0x27b)]||(_0x1d98e6[_0x5205be(0x27b)]=''+_0x22d455),_0x1d98e6[_0x5205be(0x26a)]||(_0x1d98e6[_0x5205be(0x26a)]=_0x22d455),_0x1d98e6[_0x5205be(0x1ec)]||(_0x1d98e6['updatedAt']=_0x22d455),!_0x33f8ca[_0x5205be(0x22e)](_0x55af74[_0x5205be(0x231)]['id'],{'unitId':this[_0x5205be(0x27d)][_0x5205be(0x207)](),'tableId':this[_0x5205be(0x27f)],'record':_0x1d98e6}))throw Error('Failed\x20to\x20add\x20record\x20with\x20id\x20\x22'+_0x1d98e6['id']+'\x22');return this['_injector'][_0x5205be(0x1ee)](_0x5eccbc,this['_base'],this,_0x1d98e6['id'],this['_injector']);}[_0x5220ed(0x224)](_0x5bdb1b){const _0x2444f9=_0x5220ed;if(!_0x5bdb1b[_0x2444f9(0x2ac)])return[];let _0x27723a=this[_0x2444f9(0x273)][_0x2444f9(0x287)](_0x67e984[_0x2444f9(0x298)]),_0x4cf5c4=this[_0x2444f9(0x244)](),_0x497ccc=Date[_0x2444f9(0x2d2)](),_0x2697c7=_0x5bdb1b[_0x2444f9(0x1f8)]((_0x2b674e,_0x58694d)=>{const _0x10bb00=_0x2444f9;var _0x45b2a0,_0x4fb2cd;let _0x3cef5b=(_0x45b2a0=_0x2b674e[_0x10bb00(0x1c5)])==null?{}:_0x45b2a0;return _0x3cef5b['id']=(0x0,_0x67e984[_0x10bb00(0x2b7)])(0x6),_0x3cef5b[_0x10bb00(0x2cd)]=_0x39c66b(_0x4cf5c4,_0x2b674e[_0x10bb00(0x2cd)],(_0x4fb2cd=_0x2b674e[_0x10bb00(0x274)])==null?'id':_0x4fb2cd),_0x3cef5b[_0x10bb00(0x27b)]||(_0x3cef5b[_0x10bb00(0x27b)]=''+(_0x497ccc+_0x58694d)),_0x3cef5b[_0x10bb00(0x26a)]||(_0x3cef5b[_0x10bb00(0x26a)]=_0x497ccc),_0x3cef5b[_0x10bb00(0x1ec)]||(_0x3cef5b[_0x10bb00(0x1ec)]=_0x497ccc),_0x3cef5b;});if(!_0x27723a['syncExecuteCommand'](_0x55af74[_0x2444f9(0x21c)]['id'],{'unitId':this[_0x2444f9(0x27d)][_0x2444f9(0x207)](),'tableId':this[_0x2444f9(0x27f)],'records':_0x2697c7}))throw Error(_0x2444f9(0x277));return _0x2697c7[_0x2444f9(0x1f8)](_0x449d2b=>this[_0x2444f9(0x273)][_0x2444f9(0x1ee)](_0x5eccbc,this[_0x2444f9(0x27d)],this,_0x449d2b['id'],this[_0x2444f9(0x273)]));}[_0x5220ed(0x2b6)](_0x25103f){const _0x44c066=_0x5220ed;return _0x25103f[_0x44c066(0x2ac)]?this[_0x44c066(0x273)][_0x44c066(0x287)](_0x67e984[_0x44c066(0x298)])[_0x44c066(0x22e)](_0x55af74[_0x44c066(0x21b)]['id'],{'unitId':this[_0x44c066(0x27d)]['getId'](),'tableId':this[_0x44c066(0x27f)],'recordIds':_0x25103f}):!0x0;}[_0x5220ed(0x1f4)](_0x2ba6d7,_0x4d0113,_0x46df0a=0x1,_0x210cd9=0x1){const _0x461af6=_0x5220ed;return this[_0x461af6(0x273)][_0x461af6(0x1ee)](_0x39826c,this[_0x461af6(0x27d)],this,{'startRow':_0x2ba6d7,'endRow':_0x2ba6d7+_0x46df0a-0x1,'startColumn':_0x4d0113,'endColumn':_0x4d0113+_0x210cd9-0x1},this[_0x461af6(0x273)]);}[_0x5220ed(0x29d)](){const _0x59b144=_0x5220ed;var _0x533fc6,_0x19356e;let _0xc4612d=(0x0,_0x55af74['ensureBaseTableCellLayout'])(this['_getTable']()),_0xcb63e1=(_0x533fc6=(_0x19356e=_0xc4612d[_0x59b144(0x1c9)])==null?void 0x0:_0x19356e[_0x59b144(0x2ac)])==null?0x0:_0x533fc6,_0x4c2f2d=_0xc4612d['fieldOrder'][_0x59b144(0x2ac)];return this['getRange'](0x0,0x0,Math[_0x59b144(0x1e0)](_0xcb63e1,0x1),Math['max'](_0x4c2f2d,0x1));}['getViews'](){const _0x386247=_0x5220ed;let _0x14e241=this['_getTable']();return _0x14e241['viewOrder'][_0x386247(0x203)](_0x4c71f3=>_0x14e241['views'][_0x4c71f3])[_0x386247(0x1f8)](_0x47f965=>this[_0x386247(0x273)][_0x386247(0x1ee)](_0x1e95f8,this['_base'],this,_0x47f965,this['_injector']));}['getViewById'](_0x4e1ab6){const _0x29fb67=_0x5220ed;return this['_getTable']()[_0x29fb67(0x2d0)][_0x4e1ab6]?this[_0x29fb67(0x273)][_0x29fb67(0x1ee)](_0x1e95f8,this[_0x29fb67(0x27d)],this,_0x4e1ab6,this['_injector']):null;}[_0x5220ed(0x1f0)](_0x2d4176){const _0x15294a=_0x5220ed;let _0x34fdc5=this[_0x15294a(0x244)](),_0x28d49a=Object['values'](_0x34fdc5[_0x15294a(0x2d0)])['find'](_0x55628e=>_0x55628e[_0x15294a(0x23c)]===_0x2d4176);return _0x28d49a?this[_0x15294a(0x273)]['createInstance'](_0x1e95f8,this['_base'],this,_0x28d49a['id'],this[_0x15294a(0x273)]):null;}[_0x5220ed(0x1c0)](_0x57d323,_0x266302,_0x58308f){const _0x4dad47=_0x5220ed;var _0x68c60e;let _0x50ccfc=this[_0x4dad47(0x273)][_0x4dad47(0x287)](_0x67e984[_0x4dad47(0x298)]),_0xaf9cc5=this[_0x4dad47(0x244)](),_0x50747e=(_0x68c60e=_0x58308f==null?void 0x0:_0x58308f['view'])==null?{}:_0x68c60e;if(_0x50747e['id']=(0x0,_0x67e984[_0x4dad47(0x2b7)])(0x6),_0x50747e[_0x4dad47(0x23c)]=_0x57d323,_0x50747e[_0x4dad47(0x1f7)]=_0x266302,_0x50747e[_0x4dad47(0x2d5)]=this['_tableId'],!_0x50747e[_0x4dad47(0x1f7)])throw Error(_0x4dad47(0x252));if(_0x50747e[_0x4dad47(0x206)]||(_0x50747e[_0x4dad47(0x206)]={}),_0x50747e[_0x4dad47(0x260)]||(_0x50747e[_0x4dad47(0x260)]=[..._0xaf9cc5[_0x4dad47(0x260)]]),!_0x50ccfc[_0x4dad47(0x22e)](_0x55af74['CreateBaseViewCommand']['id'],{'unitId':this[_0x4dad47(0x27d)][_0x4dad47(0x207)](),'tableId':this[_0x4dad47(0x27f)],'view':_0x50747e,'index':_0x58308f==null?void 0x0:_0x58308f[_0x4dad47(0x1cb)]}))throw Error(_0x4dad47(0x1d1)+_0x57d323+'\x22');return this[_0x4dad47(0x273)][_0x4dad47(0x1ee)](_0x1e95f8,this['_base'],this,_0x50747e['id'],this['_injector']);}[_0x5220ed(0x28f)](){const _0x3f08f5=_0x5220ed;let _0x573857=this[_0x3f08f5(0x244)](),_0x2bc768=_0x573857[_0x3f08f5(0x260)][_0x3f08f5(0x203)](_0x6a1dc2=>_0x573857[_0x3f08f5(0x22a)][_0x6a1dc2]),_0xc83d1c=_0x573857[_0x3f08f5(0x220)][_0x3f08f5(0x203)](_0xd2b770=>_0x573857['views'][_0xd2b770]);return{'id':_0x573857['id'],'name':_0x573857[_0x3f08f5(0x23c)],'primaryFieldId':_0x573857[_0x3f08f5(0x2b1)],'fieldIds':_0x2bc768,'viewIds':_0xc83d1c,'recordCount':this[_0x3f08f5(0x248)]()['length'],'fields':_0x2bc768[_0x3f08f5(0x1f8)](_0x4c5a51=>{const _0x5f0035=_0x3f08f5;let _0x52fb61=_0x573857['fields'][_0x4c5a51];return{'id':_0x52fb61['id'],'name':_0x52fb61['name'],'type':_0x52fb61[_0x5f0035(0x1f7)],'config':_0x52fb61['config'],'readonly':_0x52fb61['readonly'],'description':_0x52fb61[_0x5f0035(0x1fa)]};}),'views':_0xc83d1c[_0x3f08f5(0x1f8)](_0x464cd5=>{const _0x3b3778=_0x3f08f5;let _0x22b215=_0x573857['views'][_0x464cd5];return{'id':_0x22b215['id'],'name':_0x22b215[_0x3b3778(0x23c)],'type':_0x22b215[_0x3b3778(0x1f7)]};})};}[_0x5220ed(0x244)](){const _0x2f8476=_0x5220ed;let _0x206258=this[_0x2f8476(0x27d)]['getBase']()[_0x2f8476(0x25f)]()[_0x2f8476(0x282)][this[_0x2f8476(0x27f)]];if(!_0x206258)throw Error(_0x2f8476(0x2a3)+this[_0x2f8476(0x27f)]+_0x2f8476(0x22f));return _0x206258;}[_0x5220ed(0x248)](_0x4c4b2e={}){const _0x201922=_0x5220ed;let _0x46b6c4=this['_injector'][_0x201922(0x287)](_0x55af74[_0x201922(0x2b9)]),_0x4ad29a=this['_base'][_0x201922(0x1e2)]()[_0x201922(0x25f)](),_0x59178d=this[_0x201922(0x244)]();if(_0x4c4b2e[_0x201922(0x250)]){let _0xbef850=_0x46b6c4['getProjection'](_0x4ad29a,this[_0x201922(0x27f)],_0x4c4b2e['viewId']);if(_0x201922(0x2c5)in _0xbef850&&Array[_0x201922(0x1e4)](_0xbef850[_0x201922(0x2c5)]))return _0xbef850[_0x201922(0x2c5)]['map'](_0x3822aa=>_0x3822aa[_0x201922(0x1eb)]);}return(_0x59178d[_0x201922(0x1c9)]?_0x59178d['recordOrder']['map'](_0x341636=>_0x59178d[_0x201922(0x1fb)][_0x341636]):Object[_0x201922(0x2cd)](_0x59178d[_0x201922(0x1fb)])[_0x201922(0x1fe)]((_0x559123,_0x2b3c73)=>_0x559123['orderKey'][_0x201922(0x245)](_0x2b3c73['orderKey'])))[_0x201922(0x203)](_0x2f1229=>_0x2f1229)[_0x201922(0x1f8)](_0x21dbd5=>_0x21dbd5['id']);}};function _0x548402(_0x13e294,_0x2b2fc6){const _0x19167a=_0x5220ed;var _0x5e070a;let _0x5e2975=Math[_0x19167a(0x1e0)](0x0,(_0x5e070a=_0x2b2fc6[_0x19167a(0x2b8)])==null?0x0:_0x5e070a);return _0x2b2fc6[_0x19167a(0x24c)]==null?_0x13e294[_0x19167a(0x24b)](_0x5e2975):_0x13e294[_0x19167a(0x24b)](_0x5e2975,_0x5e2975+Math[_0x19167a(0x1e0)](0x0,_0x2b2fc6[_0x19167a(0x24c)]));}function _0x482ee1(_0x5f4a16,_0x890a0f,_0x338889=[]){const _0x571b45=_0x5220ed;return _0x338889[_0x571b45(0x2ac)]?[..._0x5f4a16][_0x571b45(0x1fe)]((_0x41a8d0,_0x185734)=>{const _0x1997be=_0x571b45;var _0x7cf7ad,_0x42a54a;for(let _0x20f1d of _0x338889){var _0x1456bd;let _0x580de0=_0x20f1d['direction']===_0x67e984['BaseSortDirection']['DESC']?-0x1:0x1,_0x39fbab=_0x40d9b2(_0x41a8d0['values'][_0x20f1d['fieldId']],_0x185734[_0x1997be(0x2cd)][_0x20f1d[_0x1997be(0x20d)]],(_0x1456bd=_0x890a0f['fields'][_0x20f1d[_0x1997be(0x20d)]])==null?void 0x0:_0x1456bd[_0x1997be(0x1f7)]);if(_0x39fbab!==0x0)return _0x39fbab*_0x580de0;}return String((_0x7cf7ad=_0x41a8d0[_0x1997be(0x27b)])==null?_0x41a8d0['id']:_0x7cf7ad)[_0x1997be(0x245)](String((_0x42a54a=_0x185734[_0x1997be(0x27b)])==null?_0x185734['id']:_0x42a54a));}):_0x5f4a16;}function _0x40d9b2(_0x565751,_0x22488e,_0x634ae8){const _0x5b0120=_0x5220ed;return _0x565751==null&&_0x22488e==null?0x0:_0x565751==null?-0x1:_0x22488e==null?0x1:typeof _0x565751==_0x5b0120(0x1c8)&&typeof _0x22488e==_0x5b0120(0x1c8)?_0x565751-_0x22488e:_0x634ae8===_0x67e984[_0x5b0120(0x205)][_0x5b0120(0x1ea)]?Number(_0x565751)-Number(_0x22488e):String(_0x565751)['localeCompare'](String(_0x22488e));}function _0x3770e1(_0x2e773d,_0x18a4b0,_0x577909){const _0x256ff3=_0x5220ed;var _0x1157f8;if(!_0x577909||!((_0x1157f8=_0x577909[_0x256ff3(0x229)])!=null&&_0x1157f8[_0x256ff3(0x2ac)]))return!0x0;let {conjunction:_0xbf096=_0x67e984['BaseFilterConjunction']['OR'],conditions:_0x396cc9}=_0x577909;return _0xbf096===_0x67e984[_0x256ff3(0x2ae)][_0x256ff3(0x2cf)]&&_0x396cc9[_0x256ff3(0x2ac)]>0x1?_0x396cc9[_0x256ff3(0x20a)](_0xdf4b4f=>_0x2c8eef(_0x2e773d,_0x18a4b0,_0xdf4b4f)):_0x396cc9['some'](_0x280ef0=>_0x2c8eef(_0x2e773d,_0x18a4b0,_0x280ef0));}function _0x2c8eef(_0x361cd9,_0x282bf9,_0x139397){const _0x82e0c6=_0x5220ed;let _0x555d4e=_0x361cd9[_0x82e0c6(0x2cd)][_0x139397[_0x82e0c6(0x20d)]],_0x17ed0f=_0x282bf9[_0x82e0c6(0x22a)][_0x139397['fieldId']];if(_0x230cb3(_0x139397)){let _0x4b952f=_0xcb2f8c(_0x139397)[_0x82e0c6(0x293)](String(_0x555d4e==null?'':_0x555d4e));return _0x139397[_0x82e0c6(0x1d7)]===_0x82e0c6(0x234)?_0x4b952f:!_0x4b952f;}return _0x17ed0f?(0x0,_0x55af74['matchesBaseCondition'])(_0x555d4e,_0x139397['operator'],_0x139397['value'],_0x17ed0f):!0x0;}function _0x230cb3(_0x1efc74){const _0x2d0abf=_0x5220ed;return _0x1efc74[_0x2d0abf(0x1d7)]===_0x2d0abf(0x234)||_0x1efc74[_0x2d0abf(0x1d7)]==='notMatches';}function _0xcb2f8c(_0x360f54){const _0x318d59=_0x5220ed;var _0x38622e;let _0xf8300=String((_0x38622e=_0x360f54[_0x318d59(0x1f6)])==null?'':_0x38622e);if(_0xf8300[_0x318d59(0x2ac)]>0x200)throw Error(_0x318d59(0x2aa));try{return new RegExp(_0xf8300,_0x360f54[_0x318d59(0x264)]?void 0x0:'i');}catch(_0x50a682){throw Error(_0x318d59(0x239)+_0xf8300+'.\x20'+(_0x50a682 instanceof Error?_0x50a682[_0x318d59(0x29a)]:String(_0x50a682)));}}function _0x4a5f98(_0x28cfe8,_0x4b1031,_0x325795){const _0x46a850=_0x5220ed;if(_0x325795[_0x46a850(0x1f7)]!==_0x46a850(0x254)){var _0x95b926;if(_0x325795[_0x46a850(0x1f7)]===_0x67e984[_0x46a850(0x1f3)][_0x46a850(0x27a)]){var _0x5be66d,_0xf124ec,_0x43b9e6;let _0x218306=[(_0x5be66d=(_0xf124ec=_0x325795[_0x46a850(0x22a)])==null||(_0xf124ec=_0xf124ec[0x0])==null?void 0x0:_0xf124ec['id'])==null?_0x28cfe8[_0x46a850(0x2b1)]:_0x5be66d,...(_0x43b9e6=_0x325795['visibleCardFieldIds'])==null?[]:_0x43b9e6];return Array[_0x46a850(0x2ad)](new Set(_0x218306[_0x46a850(0x203)](_0x296dc7=>!!_0x28cfe8[_0x46a850(0x22a)][_0x296dc7])));}if((_0x95b926=_0x325795[_0x46a850(0x22a)])!=null&&_0x95b926['length'])return _0x325795[_0x46a850(0x22a)][_0x46a850(0x1f8)](_0x3a9e18=>_0x3a9e18['id'])['filter'](_0x2994eb=>{const _0x3fdd5f=_0x46a850;var _0x1909ce;return!!(_0x28cfe8[_0x3fdd5f(0x22a)][_0x2994eb]&&!(!(_0x4b1031==null||(_0x1909ce=_0x4b1031[_0x3fdd5f(0x2b3)])==null||(_0x1909ce=_0x1909ce[_0x2994eb])==null)&&_0x1909ce[_0x3fdd5f(0x258)]));});}return _0x28cfe8[_0x46a850(0x260)][_0x46a850(0x203)](_0x5134f2=>{const _0x409fcf=_0x46a850;var _0x30f2c3;return!!(_0x28cfe8[_0x409fcf(0x22a)][_0x5134f2]&&!(!(_0x4b1031==null||(_0x30f2c3=_0x4b1031['fieldSettings'])==null||(_0x30f2c3=_0x30f2c3[_0x5134f2])==null)&&_0x30f2c3['hidden']));});}function _0x446537(_0x31706d,_0x41cb9e){return function(_0xa05f52,_0x5ac063){_0x41cb9e(_0xa05f52,_0x5ac063,_0x31706d);};}function _0x44a575(_0x45ff57,_0x28e4e5,_0x191e2c,_0x45c594){const _0x881a6d=_0x5220ed;var _0x3f6cba=arguments[_0x881a6d(0x2ac)],_0x436083=_0x3f6cba<0x3?_0x28e4e5:_0x45c594===null?_0x45c594=Object[_0x881a6d(0x219)](_0x28e4e5,_0x191e2c):_0x45c594,_0x2854e2;if(typeof Reflect==_0x881a6d(0x294)&&typeof Reflect[_0x881a6d(0x25a)]==_0x881a6d(0x23f))_0x436083=Reflect[_0x881a6d(0x25a)](_0x45ff57,_0x28e4e5,_0x191e2c,_0x45c594);else{for(var _0x294e00=_0x45ff57[_0x881a6d(0x2ac)]-0x1;_0x294e00>=0x0;_0x294e00--)(_0x2854e2=_0x45ff57[_0x294e00])&&(_0x436083=(_0x3f6cba<0x3?_0x2854e2(_0x436083):_0x3f6cba>0x3?_0x2854e2(_0x28e4e5,_0x191e2c,_0x436083):_0x2854e2(_0x28e4e5,_0x191e2c))||_0x436083);}return _0x3f6cba>0x3&&_0x436083&&Object['defineProperty'](_0x28e4e5,_0x191e2c,_0x436083),_0x436083;}let _0x3e7152=class{constructor(_0x500480,_0x2a3c02){const _0x1aa0ce=_0x5220ed;this[_0x1aa0ce(0x27d)]=_0x500480,this['_injector']=_0x2a3c02;}[_0x5220ed(0x1e2)](){return this['_base'];}[_0x5220ed(0x207)](){const _0x58aa1f=_0x5220ed;return this[_0x58aa1f(0x27d)][_0x58aa1f(0x222)]();}[_0x5220ed(0x257)](){const _0x710ab6=_0x5220ed;return _0x67e984['Tools'][_0x710ab6(0x2ba)](this['_base'][_0x710ab6(0x25f)]());}[_0x5220ed(0x246)](){const _0x2e3289=_0x5220ed;return this[_0x2e3289(0x27d)][_0x2e3289(0x25f)]()['name'];}['setName'](_0x1b8ce3){const _0x2af4ec=_0x5220ed;this[_0x2af4ec(0x27d)][_0x2af4ec(0x26c)](_0x1b8ce3);}[_0x5220ed(0x240)](){const _0xd61b4c=_0x5220ed;let _0x2ce15c=this['_base']['getSnapshot']();return _0x2ce15c[_0xd61b4c(0x2c1)]['map'](_0x413a6d=>_0x2ce15c[_0xd61b4c(0x282)][_0x413a6d])[_0xd61b4c(0x203)](_0x37e0ad=>_0x37e0ad)[_0xd61b4c(0x1f8)](_0x4e0d2f=>this[_0xd61b4c(0x273)]['createInstance'](_0x532c67,this,_0x4e0d2f['id'],this[_0xd61b4c(0x273)]));}[_0x5220ed(0x285)](_0x57c820){const _0x17efbb=_0x5220ed;let _0x48c18b=this[_0x17efbb(0x27d)][_0x17efbb(0x25f)]()[_0x17efbb(0x282)][_0x57c820];return _0x48c18b?this[_0x17efbb(0x273)]['createInstance'](_0x532c67,this,_0x48c18b['id'],this['_injector']):null;}[_0x5220ed(0x2a2)](_0x1e02f9){const _0x4aa8ce=_0x5220ed;let _0x5d9dd7=this[_0x4aa8ce(0x27d)][_0x4aa8ce(0x25f)](),_0x14a26c=Object[_0x4aa8ce(0x2cd)](_0x5d9dd7[_0x4aa8ce(0x282)])[_0x4aa8ce(0x24a)](_0x1462d5=>_0x1462d5[_0x4aa8ce(0x23c)]===_0x1e02f9);return _0x14a26c?this[_0x4aa8ce(0x273)][_0x4aa8ce(0x1ee)](_0x532c67,this,_0x14a26c['id'],this[_0x4aa8ce(0x273)]):null;}['insertTable'](_0x3cf4cc,_0x21617a){const _0x1df0fe=_0x5220ed;var _0xe70ac5;let _0x54e42f=this[_0x1df0fe(0x273)][_0x1df0fe(0x287)](_0x67e984[_0x1df0fe(0x298)]),_0x3b2e2e=(0x0,_0x67e984[_0x1df0fe(0x221)])({'id':(0x0,_0x67e984[_0x1df0fe(0x2b7)])(),'name':_0x3cf4cc,..._0x21617a==null?void 0x0:_0x21617a[_0x1df0fe(0x255)],'primaryFieldName':_0x21617a==null?void 0x0:_0x21617a['primaryFieldName']}),_0x4a40f7=_0x67e984[_0x1df0fe(0x1ed)]['commonExtend'](_0x3b2e2e,(_0xe70ac5=_0x21617a==null?void 0x0:_0x21617a[_0x1df0fe(0x255)])==null?{}:_0xe70ac5);if(!_0x54e42f[_0x1df0fe(0x22e)](_0x55af74[_0x1df0fe(0x2bb)]['id'],{'unitId':this['_base'][_0x1df0fe(0x222)](),'table':_0x4a40f7,'index':_0x21617a==null?void 0x0:_0x21617a[_0x1df0fe(0x1cb)]}))throw Error(_0x1df0fe(0x253)+_0x3cf4cc+'\x22.');return this[_0x1df0fe(0x273)][_0x1df0fe(0x1ee)](_0x532c67,this,_0x4a40f7['id'],this[_0x1df0fe(0x273)]);}[_0x5220ed(0x24d)](_0x4b9b4d){const _0x53fc98=_0x5220ed;let _0x166602=this['_injector']['get'](_0x67e984['ICommandService']),_0xbf05b7=typeof _0x4b9b4d=='string'?_0x4b9b4d:_0x4b9b4d[_0x53fc98(0x207)]();if(!_0x166602[_0x53fc98(0x22e)](_0x55af74[_0x53fc98(0x247)]['id'],{'unitId':this['_base'][_0x53fc98(0x222)](),'tableId':_0xbf05b7}))throw Error(_0x53fc98(0x2a9)+_0xbf05b7+'\x22.');return!0x0;}[_0x5220ed(0x202)](_0x45f165,_0x2718e6){const _0x2daa33=_0x5220ed;var _0x317327,_0x2c05ab;let _0x2eda5e=this[_0x2daa33(0x273)][_0x2daa33(0x287)](_0x67e984[_0x2daa33(0x298)]),_0x264ef6=this['_base']['getSnapshot'](),_0x1e9ae1=typeof _0x45f165==_0x2daa33(0x2c0)?_0x45f165:_0x45f165[_0x2daa33(0x207)](),_0x42ec5f=_0x264ef6[_0x2daa33(0x282)][_0x1e9ae1];if(!_0x42ec5f)throw Error(_0x2daa33(0x289)+_0x1e9ae1+_0x2daa33(0x22f));let _0x5210a6=_0x264ef6[_0x2daa33(0x2c1)][_0x2daa33(0x29e)](_0x1e9ae1)+0x1,_0x5516c6=(0x0,_0x55af74[_0x2daa33(0x2ab)])(_0x42ec5f,{'id':(0x0,_0x67e984[_0x2daa33(0x2b7)])(),'name':_0x42ec5f[_0x2daa33(0x23c)]+_0x2daa33(0x1d2),'includeRecords':(_0x317327=_0x2718e6==null?void 0x0:_0x2718e6[_0x2daa33(0x21e)])==null?!0x1:_0x317327,'regenerateViewIds':(_0x2c05ab=_0x2718e6==null?void 0x0:_0x2718e6[_0x2daa33(0x1c6)])==null?!0x1:_0x2c05ab});if(!_0x2eda5e['syncExecuteCommand'](_0x55af74['CreateBaseTableCommand']['id'],{'unitId':this['_base'][_0x2daa33(0x222)](),'table':_0x5516c6,'index':_0x5210a6}))throw Error(_0x2daa33(0x281)+_0x1e9ae1+'\x22.');return this[_0x2daa33(0x273)]['createInstance'](_0x532c67,this,_0x5516c6['id'],this[_0x2daa33(0x273)]);}[_0x5220ed(0x28f)](){const _0x4b4de3=_0x5220ed;let _0x37f358=this[_0x4b4de3(0x27d)][_0x4b4de3(0x25f)]();return{'id':_0x37f358['id'],'name':_0x37f358[_0x4b4de3(0x23c)],'tables':this['getTables']()[_0x4b4de3(0x1f8)](_0x3078a5=>_0x3078a5[_0x4b4de3(0x28f)]())};}};_0x3e7152=_0x44a575([_0x446537(0x1,(0x0,_0x67e984[_0x5220ed(0x20b)])(_0x67e984[_0x5220ed(0x213)]))],_0x3e7152);var _0x3d6ac7=class extends _0x1a8bc3[_0x5220ed(0x228)]{[_0x5220ed(0x211)](){const _0x44e718=_0x5220ed;this[_0x44e718(0x1cc)](),this[_0x44e718(0x1c1)]();}['createBase'](_0x28e491={},_0x14a6f6){const _0x36e5df=_0x5220ed;let _0x35b4eb=this[_0x36e5df(0x273)][_0x36e5df(0x287)](_0x67e984[_0x36e5df(0x214)])[_0x36e5df(0x2d8)](_0x67e984[_0x36e5df(0x1ce)][_0x36e5df(0x2a4)],_0x28e491,_0x14a6f6);return this[_0x36e5df(0x273)][_0x36e5df(0x1ee)](_0x3e7152,_0x35b4eb);}[_0x5220ed(0x2d6)](){const _0x115ee0=_0x5220ed;let _0xf9ef44=this[_0x115ee0(0x273)][_0x115ee0(0x287)](_0x67e984[_0x115ee0(0x214)])[_0x115ee0(0x288)](_0x67e984[_0x115ee0(0x1ce)][_0x115ee0(0x2a4)]);return _0xf9ef44?this['_injector'][_0x115ee0(0x1ee)](_0x3e7152,_0xf9ef44):null;}[_0x5220ed(0x1e2)](_0x25c465){const _0x2c83ad=_0x5220ed;let _0x3ecae5=this[_0x2c83ad(0x273)][_0x2c83ad(0x287)](_0x67e984[_0x2c83ad(0x214)])[_0x2c83ad(0x2b5)](_0x25c465,_0x67e984[_0x2c83ad(0x1ce)][_0x2c83ad(0x2a4)]);return _0x3ecae5?this[_0x2c83ad(0x273)][_0x2c83ad(0x1ee)](_0x3e7152,_0x3ecae5):null;}[_0x5220ed(0x236)](){const _0x3c8020=_0x5220ed;return this[_0x3c8020(0x273)][_0x3c8020(0x287)](_0x67e984['IUniverInstanceService'])[_0x3c8020(0x265)](_0x67e984['UniverInstanceType'][_0x3c8020(0x2a4)])[_0x3c8020(0x1f8)](_0xca3836=>this[_0x3c8020(0x273)]['createInstance'](_0x3e7152,_0xca3836));}[_0x5220ed(0x1c1)](){const _0x511a81=_0x5220ed;let _0x105291=this['_injector'][_0x511a81(0x287)](_0x67e984[_0x511a81(0x298)]);this['disposeWithMe'](this[_0x511a81(0x299)](this[_0x511a81(0x1c3)]['BaseTableCreated'],()=>_0x105291[_0x511a81(0x2a5)](_0x495444=>{const _0x10624d=_0x511a81;if(_0x495444['id']!==_0x55af74[_0x10624d(0x2bb)]['id'])return;let {unitId:_0x33192a,table:_0xb0ee53,index:_0x2bb24b}=_0x495444['params'],_0x54301c=this[_0x10624d(0x1e2)](_0x33192a);if(!_0x54301c)return;let _0x3284ce={'base':_0x54301c,'table':_0xb0ee53,'index':_0x2bb24b};this[_0x10624d(0x208)](this[_0x10624d(0x1c3)][_0x10624d(0x233)],_0x3284ce);}))),this[_0x511a81(0x278)](this[_0x511a81(0x299)](this[_0x511a81(0x1c3)][_0x511a81(0x2ca)],()=>_0x105291[_0x511a81(0x2a5)](_0x3edd21=>{const _0x30f4b1=_0x511a81;if(_0x3edd21['id']!==_0x55af74['CreateBaseFieldCommand']['id'])return;let {unitId:_0x5a90b8,tableId:_0x38cb63,field:_0x9b7319,index:_0x232243,viewIndexes:_0x4ecec6}=_0x3edd21[_0x30f4b1(0x2c4)],_0x23ebb1=this[_0x30f4b1(0x1e2)](_0x5a90b8);if(!_0x23ebb1)return;let _0xe4a6b0=_0x23ebb1[_0x30f4b1(0x285)](_0x38cb63);if(!_0xe4a6b0)return;let _0x1ad5e3={'base':_0x23ebb1,'table':_0xe4a6b0,'field':_0x9b7319,'index':_0x232243,'viewIndexes':_0x4ecec6};this['fireEvent'](this[_0x30f4b1(0x1c3)][_0x30f4b1(0x2ca)],_0x1ad5e3);}))),this[_0x511a81(0x278)](this['registerEventHandler'](this[_0x511a81(0x1c3)][_0x511a81(0x268)],()=>_0x105291[_0x511a81(0x2a5)](_0x1ec565=>{const _0x50c2c5=_0x511a81;var _0x5a4f03;if(_0x1ec565['id']!==_0x55af74[_0x50c2c5(0x231)]['id']&&_0x1ec565['id']!==_0x55af74[_0x50c2c5(0x21c)]['id'])return;let _0x4ed4f8=_0x1ec565['params'],{unitId:_0x3c4ba8,tableId:_0x5e256b}=_0x4ed4f8,_0x242da2=(_0x5a4f03=_0x4ed4f8[_0x50c2c5(0x1fb)])==null?[_0x4ed4f8[_0x50c2c5(0x1c5)]]:_0x5a4f03,_0x382a06=this[_0x50c2c5(0x1e2)](_0x3c4ba8);if(!_0x382a06)return;let _0xd5173=_0x382a06[_0x50c2c5(0x285)](_0x5e256b);if(!_0xd5173)return;let _0x4ee850={'base':_0x382a06,'table':_0xd5173,'records':_0x242da2};this[_0x50c2c5(0x208)](this[_0x50c2c5(0x1c3)]['BaseTableRecordCreated'],_0x4ee850);}))),this[_0x511a81(0x278)](this[_0x511a81(0x299)](this[_0x511a81(0x1c3)][_0x511a81(0x27e)],()=>_0x105291['onCommandExecuted'](_0x46fa62=>{const _0x4dd064=_0x511a81;if(_0x46fa62['id']!==_0x55af74['CreateBaseViewCommand']['id'])return;let {unitId:_0x28ac41,tableId:_0x3c792d,view:_0x9237b9,index:_0xd44956}=_0x46fa62[_0x4dd064(0x2c4)],_0x3d2373=this['getBase'](_0x28ac41);if(!_0x3d2373)return;let _0x28198b=_0x3d2373[_0x4dd064(0x285)](_0x3c792d);if(!_0x28198b)return;let _0x2f4b01={'base':_0x3d2373,'table':_0x28198b,'view':_0x9237b9,'index':_0xd44956};this[_0x4dd064(0x208)](this[_0x4dd064(0x1c3)][_0x4dd064(0x27e)],_0x2f4b01);}))),this[_0x511a81(0x278)](this[_0x511a81(0x299)](this[_0x511a81(0x1c3)][_0x511a81(0x1de)],()=>_0x105291['onCommandExecuted'](_0x29ad18=>{const _0x51bd0a=_0x511a81;if(_0x29ad18['id']!==_0x55af74[_0x51bd0a(0x2cc)]['id'])return;let {unitId:_0x3847a0,tableId:_0x1ac48d,recordId:_0x43fa35,fieldId:_0x11d007,value:_0x121ba5}=_0x29ad18[_0x51bd0a(0x2c4)],_0x216e28=this['getBase'](_0x3847a0);if(!_0x216e28)return;let _0x58b899=_0x216e28[_0x51bd0a(0x285)](_0x1ac48d);if(!_0x58b899)return;let _0x19e1f4=_0x58b899[_0x51bd0a(0x2be)](_0x11d007);if(!_0x19e1f4)return;let _0x241e6d=_0x58b899[_0x51bd0a(0x227)](_0x43fa35);if(!_0x241e6d)return;let _0x7ffa95={'base':_0x216e28,'table':_0x58b899,'field':_0x19e1f4,'record':_0x241e6d,'value':_0x121ba5};this[_0x51bd0a(0x208)](this[_0x51bd0a(0x1c3)][_0x51bd0a(0x1de)],_0x7ffa95);})));}[_0x5220ed(0x1cc)](){const _0x1023b5=_0x5220ed;let _0x46604f=this['_injector'][_0x1023b5(0x287)](_0x67e984[_0x1023b5(0x298)]);this[_0x1023b5(0x278)](this[_0x1023b5(0x299)](this[_0x1023b5(0x1c3)][_0x1023b5(0x223)],()=>_0x46604f[_0x1023b5(0x271)](_0xca53ee=>{const _0x170f85=_0x1023b5;if(_0xca53ee['id']!==_0x55af74[_0x170f85(0x2bb)]['id'])return;let {unitId:_0x3cf0ea,table:_0x3efbd9,index:_0x447dbf}=_0xca53ee[_0x170f85(0x2c4)],_0x1b31fd=this['getBase'](_0x3cf0ea);if(!_0x1b31fd)return;let _0x56a807={'base':_0x1b31fd,'table':_0x3efbd9,'index':_0x447dbf};if(this[_0x170f85(0x208)](this['Event'][_0x170f85(0x223)],_0x56a807),_0x56a807[_0x170f85(0x204)])throw new _0x67e984[(_0x170f85(0x1d3))]();}))),this[_0x1023b5(0x278)](this[_0x1023b5(0x299)](this[_0x1023b5(0x1c3)][_0x1023b5(0x215)],()=>_0x46604f[_0x1023b5(0x271)](_0x305538=>{const _0x287454=_0x1023b5;if(_0x305538['id']!==_0x55af74[_0x287454(0x201)]['id'])return;let {unitId:_0x1837a5,tableId:_0x42dbaf,field:_0x2989bd,index:_0x376f6c,viewIndexes:_0x571519}=_0x305538['params'],_0x511b89=this[_0x287454(0x1e2)](_0x1837a5);if(!_0x511b89)return;let _0x1dd156=_0x511b89[_0x287454(0x285)](_0x42dbaf);if(!_0x1dd156)return;let _0x2bfe1d={'base':_0x511b89,'table':_0x1dd156,'field':_0x2989bd,'index':_0x376f6c,'viewIndexes':_0x571519};if(this[_0x287454(0x208)](this['Event'][_0x287454(0x215)],_0x2bfe1d),_0x2bfe1d[_0x287454(0x204)])throw new _0x67e984[(_0x287454(0x1d3))]();}))),this[_0x1023b5(0x278)](this[_0x1023b5(0x299)](this[_0x1023b5(0x1c3)][_0x1023b5(0x20f)],()=>_0x46604f[_0x1023b5(0x271)](_0x57c5b6=>{const _0x264552=_0x1023b5;var _0x5c277d;if(_0x57c5b6['id']!==_0x55af74[_0x264552(0x231)]['id']&&_0x57c5b6['id']!==_0x55af74['BatchCreateBaseRecordsCommand']['id'])return;let _0x6d611e=_0x57c5b6[_0x264552(0x2c4)],{unitId:_0x4f1ecd,tableId:_0x5c0a87}=_0x6d611e,_0x7d2711=(_0x5c277d=_0x6d611e[_0x264552(0x1fb)])==null?[_0x6d611e[_0x264552(0x1c5)]]:_0x5c277d,_0x5dc733=this['getBase'](_0x4f1ecd);if(!_0x5dc733)return;let _0x7a68d5=_0x5dc733[_0x264552(0x285)](_0x5c0a87);if(!_0x7a68d5)return;let _0xcea7b1={'base':_0x5dc733,'table':_0x7a68d5,'records':_0x7d2711};if(this[_0x264552(0x208)](this[_0x264552(0x1c3)][_0x264552(0x20f)],_0xcea7b1),_0xcea7b1[_0x264552(0x204)])throw new _0x67e984[(_0x264552(0x1d3))]();}))),this[_0x1023b5(0x278)](this[_0x1023b5(0x299)](this[_0x1023b5(0x1c3)][_0x1023b5(0x25b)],()=>_0x46604f[_0x1023b5(0x271)](_0x2fab2b=>{const _0xecbcc2=_0x1023b5;if(_0x2fab2b['id']!==_0x55af74[_0xecbcc2(0x269)]['id'])return;let {unitId:_0x3932a9,tableId:_0x585e8b,view:_0x973751,index:_0x4f7a59}=_0x2fab2b[_0xecbcc2(0x2c4)],_0x5cb09b=this['getBase'](_0x3932a9);if(!_0x5cb09b)return;let _0x2ab449=_0x5cb09b[_0xecbcc2(0x285)](_0x585e8b);if(!_0x2ab449)return;let _0x49039f={'base':_0x5cb09b,'table':_0x2ab449,'view':_0x973751,'index':_0x4f7a59};if(this[_0xecbcc2(0x208)](this[_0xecbcc2(0x1c3)]['BeforeBaseTableViewCreate'],_0x49039f),_0x49039f[_0xecbcc2(0x204)])throw new _0x67e984[(_0xecbcc2(0x1d3))]();}))),this[_0x1023b5(0x278)](this[_0x1023b5(0x299)](this[_0x1023b5(0x1c3)][_0x1023b5(0x2bc)],()=>_0x46604f[_0x1023b5(0x271)](_0x4ab855=>{const _0x1214e5=_0x1023b5;if(_0x4ab855['id']!==_0x55af74['UpdateBaseCellCommand']['id'])return;let {unitId:_0x4d6ff1,tableId:_0x1d0b78,recordId:_0x4ff85f,fieldId:_0xdb16eb,value:_0x108426}=_0x4ab855[_0x1214e5(0x2c4)],_0x1f7620=this['getBase'](_0x4d6ff1);if(!_0x1f7620)return;let _0x232771=_0x1f7620[_0x1214e5(0x285)](_0x1d0b78);if(!_0x232771)return;let _0x13f469=_0x232771[_0x1214e5(0x2be)](_0xdb16eb);if(!_0x13f469)return;let _0x268954=_0x232771['getRecordById'](_0x4ff85f);if(!_0x268954)return;let _0x7bcb29={'base':_0x1f7620,'table':_0x232771,'field':_0x13f469,'record':_0x268954,'value':_0x108426};if(this[_0x1214e5(0x208)](this[_0x1214e5(0x1c3)]['BeforeBaseTableCellValueChange'],_0x7bcb29),_0x7bcb29[_0x1214e5(0x204)])throw new _0x67e984[(_0x1214e5(0x1d3))]();})));}};_0x1a8bc3[_0x5220ed(0x228)][_0x5220ed(0x20c)](_0x3d6ac7);var _0x26aa1b=class extends _0x1a8bc3[_0x5220ed(0x297)]{get['BaseFieldType'](){return _0x67e984['BaseFieldType'];}get[_0x5220ed(0x2ae)](){const _0x2ddace=_0x5220ed;return _0x67e984[_0x2ddace(0x2ae)];}get[_0x5220ed(0x23a)](){const _0x3ff80d=_0x5220ed;return _0x67e984[_0x3ff80d(0x23a)];}get[_0x5220ed(0x284)](){return _0x3e672c;}get[_0x5220ed(0x1f3)](){const _0x5b6072=_0x5220ed;return _0x67e984[_0x5b6072(0x1f3)];}get[_0x5220ed(0x1f1)](){const _0x1a236e=_0x5220ed;return _0x67e984[_0x1a236e(0x1f1)];}};_0x1a8bc3[_0x5220ed(0x297)][_0x5220ed(0x20c)](_0x26aa1b);var _0x487203=class extends _0x1a8bc3[_0x5220ed(0x29b)]{get['BaseTableCreated'](){const _0x2dd3e0=_0x5220ed;return _0x2dd3e0(0x233);}get[_0x5220ed(0x223)](){const _0x136509=_0x5220ed;return _0x136509(0x223);}get['BaseTableFieldCreated'](){const _0x1f3639=_0x5220ed;return _0x1f3639(0x2ca);}get['BeforeBaseTableFieldCreate'](){return'BeforeBaseTableFieldCreate';}get[_0x5220ed(0x268)](){const _0x4a53a4=_0x5220ed;return _0x4a53a4(0x268);}get['BeforeBaseTableRecordCreate'](){const _0x260d9c=_0x5220ed;return _0x260d9c(0x20f);}get[_0x5220ed(0x27e)](){const _0x14a1d9=_0x5220ed;return _0x14a1d9(0x27e);}get[_0x5220ed(0x25b)](){const _0x6d4039=_0x5220ed;return _0x6d4039(0x25b);}get[_0x5220ed(0x1de)](){const _0x3d7f38=_0x5220ed;return _0x3d7f38(0x1de);}get[_0x5220ed(0x2bc)](){const _0x5aac7c=_0x5220ed;return _0x5aac7c(0x2bc);}};_0x1a8bc3['FEventName'][_0x5220ed(0x20c)](_0x487203),_0x1284ec[_0x5220ed(0x284)]=_0x3e672c,Object[_0x5220ed(0x1d0)](_0x1284ec,'FBase',{'enumerable':!0x0,'get':function(){return _0x3e7152;}}),_0x1284ec[_0x5220ed(0x225)]=_0x532c67,_0x1284ec[_0x5220ed(0x29f)]=_0x2cacd9,_0x1284ec['FBaseTableRange']=_0x39826c,_0x1284ec[_0x5220ed(0x238)]=_0x5eccbc,_0x1284ec['FBaseTableView']=_0x1e95f8,_0x1284ec[_0x5220ed(0x275)]=_0x487203,_0x1284ec[_0x5220ed(0x1fc)]=_0x1e39c3,_0x1284ec['resolveBaseFieldValues']=_0x39c66b;}));
|
|
1
|
+
function _0x2aee(_0x2129f1,_0x75c4bc){_0x2129f1=_0x2129f1-0x119;const _0x47c518=_0x47c5();let _0x2aeea6=_0x47c518[_0x2129f1];return _0x2aeea6;}(function(_0x11c170,_0x89df88){const _0x2e1945=_0x2aee,_0x5191de=_0x11c170();while(!![]){try{const _0x1501fa=parseInt(_0x2e1945(0x192))/0x1*(-parseInt(_0x2e1945(0x121))/0x2)+parseInt(_0x2e1945(0x17b))/0x3+-parseInt(_0x2e1945(0x229))/0x4*(-parseInt(_0x2e1945(0x15b))/0x5)+-parseInt(_0x2e1945(0x21a))/0x6+-parseInt(_0x2e1945(0x22e))/0x7+parseInt(_0x2e1945(0x1e1))/0x8+-parseInt(_0x2e1945(0x126))/0x9;if(_0x1501fa===_0x89df88)break;else _0x5191de['push'](_0x5191de['shift']());}catch(_0xbffa2f){_0x5191de['push'](_0x5191de['shift']());}}}(_0x47c5,0x42e94),function(_0x3bc634,_0x34633b){const _0x345ac8=_0x2aee;typeof exports==_0x345ac8(0x1bc)&&typeof module<'u'?_0x34633b(exports,require('@univerjs-pro/bases'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x345ac8(0x148)&&define[_0x345ac8(0x15a)]?define([_0x345ac8(0x11f),_0x345ac8(0x142),_0x345ac8(0x130),_0x345ac8(0x14c)],_0x34633b):(_0x3bc634=typeof globalThis<'u'?globalThis:_0x3bc634||self,_0x34633b(_0x3bc634[_0x345ac8(0x1cf)]={},_0x3bc634['UniverProBases'],_0x3bc634['UniverCore'],_0x3bc634[_0x345ac8(0x19b)]));}(this,function(_0x1cf2ae,_0x44ca51,_0x248e19,_0x210b35){const _0x2f4013=_0x2aee;Object[_0x2f4013(0x149)](_0x1cf2ae,Symbol[_0x2f4013(0x175)],{'value':_0x2f4013(0x16a)});var _0x2d9779=class{constructor(_0x153d37,_0x424556,_0xa50a1c,_0x58ee1a){const _0x394556=_0x2f4013;this['_base']=_0x153d37,this[_0x394556(0x183)]=_0x424556,this[_0x394556(0x1ae)]=_0xa50a1c,this[_0x394556(0x13c)]=_0x58ee1a;}[_0x2f4013(0x157)](){const _0x6c757f=_0x2f4013;return this[_0x6c757f(0x1ae)];}[_0x2f4013(0x1ba)](){const _0xb50d32=_0x2f4013;return this[_0xb50d32(0x1f2)]();}[_0x2f4013(0x1a6)](){const _0x5c706d=_0x2f4013;return this[_0x5c706d(0x1f2)]()[_0x5c706d(0x1c7)];}[_0x2f4013(0x18b)](){const _0xd2dcf=_0x2f4013;return this[_0xd2dcf(0x1f2)]()['type'];}[_0x2f4013(0x19a)](){const _0x3580a5=_0x2f4013;return this[_0x3580a5(0x1f2)]()[_0x3580a5(0x211)];}[_0x2f4013(0x1c4)](){const _0x3f8cbb=_0x2f4013;return this[_0x3f8cbb(0x1f2)]()['defaultValue'];}[_0x2f4013(0x1c8)](){const _0x490dd0=_0x2f4013;return this[_0x490dd0(0x1f2)]()[_0x490dd0(0x1bb)];}[_0x2f4013(0x20d)](){const _0x35cc6a=_0x2f4013;return!!this[_0x35cc6a(0x1f2)]()[_0x35cc6a(0x1d2)];}[_0x2f4013(0x1b9)](_0x450c0e){const _0x41a98a=_0x2f4013;return this[_0x41a98a(0x1fe)]({'name':_0x450c0e});}[_0x2f4013(0x1ea)](_0x17d28e){return this['update']({'config':_0x17d28e});}[_0x2f4013(0x233)](_0x26ff83){const _0x54cba9=_0x2f4013;return this[_0x54cba9(0x1fe)]({'defaultValue':_0x26ff83});}[_0x2f4013(0x1fe)](_0x5cf65e){const _0xa5a29e=_0x2f4013;return this[_0xa5a29e(0x13c)][_0xa5a29e(0x146)](_0x248e19[_0xa5a29e(0x1ca)])[_0xa5a29e(0x16c)](_0x44ca51[_0xa5a29e(0x22d)]['id'],{'unitId':this['_base'][_0xa5a29e(0x157)](),'tableId':this['_table']['getId'](),'fieldId':this[_0xa5a29e(0x1ae)],'patch':_0x5cf65e});}['changeType'](_0x7e7a03,_0x580f7c={}){const _0xa31c71=_0x2f4013;return this['_inject'][_0xa31c71(0x146)](_0x248e19[_0xa31c71(0x1ca)])[_0xa31c71(0x16c)](_0x44ca51[_0xa31c71(0x12e)]['id'],{'unitId':this[_0xa31c71(0x143)][_0xa31c71(0x157)](),'tableId':this[_0xa31c71(0x183)]['getId'](),'fieldId':this[_0xa31c71(0x1ae)],'input':{'type':_0x7e7a03,'config':_0x580f7c}});}[_0x2f4013(0x21e)](){const _0x1ad9fe=_0x2f4013;return this[_0x1ad9fe(0x13c)][_0x1ad9fe(0x146)](_0x248e19[_0x1ad9fe(0x1ca)])[_0x1ad9fe(0x16c)](_0x44ca51['DeleteBaseFieldCommand']['id'],{'unitId':this[_0x1ad9fe(0x143)]['getId'](),'tableId':this[_0x1ad9fe(0x183)]['getId'](),'fieldId':this[_0x1ad9fe(0x1ae)]});}[_0x2f4013(0x221)](_0x23f238){const _0x105c0b=_0x2f4013;return this[_0x105c0b(0x13c)][_0x105c0b(0x146)](_0x248e19[_0x105c0b(0x1ca)])[_0x105c0b(0x16c)](_0x44ca51['MoveBaseFieldCommand']['id'],{'unitId':this['_base'][_0x105c0b(0x157)](),'tableId':this[_0x105c0b(0x183)][_0x105c0b(0x157)](),'fieldId':this[_0x105c0b(0x1ae)],'target':_0x23f238});}[_0x2f4013(0x1f2)](){const _0x5c7d50=_0x2f4013;let _0x1ed753=this['_table'][_0x5c7d50(0x1d0)]()[_0x5c7d50(0x214)][this['_fieldId']];if(!_0x1ed753)throw Error(_0x5c7d50(0x1fb)+this[_0x5c7d50(0x1ae)]+'\x22\x20does\x20not\x20exist.');return _0x1ed753;}},_0x5f0e81=class _0x331790{constructor(_0x1b314a,_0x83f1c7,_0x1488ce,_0xceacc2){const _0x5d9c7a=_0x2f4013;this[_0x5d9c7a(0x143)]=_0x1b314a,this['_table']=_0x83f1c7,this[_0x5d9c7a(0x197)]=_0x1488ce,this['_inject']=_0xceacc2,this[_0x5d9c7a(0x1d1)]();}[_0x2f4013(0x21c)](){const _0x1e7ab1=_0x2f4013;return this[_0x1e7ab1(0x143)][_0x1e7ab1(0x157)]();}[_0x2f4013(0x1b0)](){const _0x2be526=_0x2f4013;return this['_table'][_0x2be526(0x157)]();}[_0x2f4013(0x178)](){const _0x4592e1=_0x2f4013;return{...this[_0x4592e1(0x197)]};}[_0x2f4013(0x1e8)](){const _0x553cd8=_0x2f4013;return this[_0x553cd8(0x197)][_0x553cd8(0x179)];}['getColumn'](){const _0xbd7726=_0x2f4013;return this[_0xbd7726(0x197)][_0xbd7726(0x1f1)];}['getNumRows'](){const _0x2faf70=_0x2f4013;return this[_0x2faf70(0x197)][_0x2faf70(0x236)]-this[_0x2faf70(0x197)]['startRow']+0x1;}[_0x2f4013(0x1f4)](){const _0x2dcb61=_0x2f4013;return this[_0x2dcb61(0x197)][_0x2dcb61(0x15d)]-this[_0x2dcb61(0x197)][_0x2dcb61(0x1f1)]+0x1;}['getValues'](){const _0x337e5e=_0x2f4013;let _0x1da5a0=this[_0x337e5e(0x1b1)](),_0x276698=[];for(let _0x4a23ff=this[_0x337e5e(0x197)][_0x337e5e(0x179)];_0x4a23ff<=this[_0x337e5e(0x197)][_0x337e5e(0x236)];_0x4a23ff++){var _0x2081fe;let _0x4a10e6=(_0x2081fe=_0x1da5a0['rowId'])==null?void 0x0:_0x2081fe[_0x4a23ff],_0x3291a3=[];for(let _0x21e28d=this[_0x337e5e(0x197)][_0x337e5e(0x1f1)];_0x21e28d<=this['_range'][_0x337e5e(0x15d)];_0x21e28d++){var _0x3c6d4a;let _0x398bdf=(_0x3c6d4a=_0x1da5a0['colId'])==null?void 0x0:_0x3c6d4a[_0x21e28d];_0x3291a3[_0x337e5e(0x191)](_0x4a10e6&&_0x398bdf?(0x0,_0x44ca51[_0x337e5e(0x219)])(_0x1da5a0,_0x4a10e6,_0x398bdf):null);}_0x276698[_0x337e5e(0x191)](_0x3291a3);}return _0x276698;}[_0x2f4013(0x201)](){const _0x5db857=_0x2f4013;var _0x2f3021,_0x274b17;return(_0x2f3021=(_0x274b17=this[_0x5db857(0x13f)]()[0x0])==null?void 0x0:_0x274b17[0x0])==null?null:_0x2f3021;}[_0x2f4013(0x202)](_0x5037e7){const _0x4fe12e=_0x2f4013;return this[_0x4fe12e(0x222)]([[_0x5037e7]]);}[_0x2f4013(0x222)](_0x55e2dd){const _0x442147=_0x2f4013;let _0x17dd3b=this['getNumRows'](),_0x511274=this['getNumColumns']();if(_0x55e2dd[_0x442147(0x1b3)]>_0x17dd3b||_0x55e2dd['some'](_0xcd8046=>_0xcd8046[_0x442147(0x1b3)]>_0x511274)){var _0x6734d4,_0x3a7f48;throw Error(_0x442147(0x220)+_0x55e2dd[_0x442147(0x1b3)]+'x'+((_0x6734d4=(_0x3a7f48=_0x55e2dd[0x0])==null?void 0x0:_0x3a7f48[_0x442147(0x1b3)])==null?0x0:_0x6734d4)+'\x20exceeds\x20range\x20size\x20'+_0x17dd3b+'x'+_0x511274+'.');}let _0xb25345=this['_inject']['get'](_0x248e19[_0x442147(0x1ca)]),_0x35f871=_0x55e2dd[_0x442147(0x119)]((_0x5429fa,_0x148d74)=>_0x5429fa[_0x442147(0x153)]((_0x54b462,_0x219c8f)=>({'row':this['_range'][_0x442147(0x179)]+_0x148d74,'col':this[_0x442147(0x197)][_0x442147(0x1f1)]+_0x219c8f,'value':_0x54b462})));return _0xb25345[_0x442147(0x16c)](_0x44ca51[_0x442147(0x180)]['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x442147(0x183)]['getId'](),'patches':_0x35f871});}[_0x2f4013(0x1b8)](){const _0x188861=_0x2f4013;return this['setValues'](Array[_0x188861(0x18f)]({'length':this[_0x188861(0x150)]()},()=>Array[_0x188861(0x18f)]({'length':this[_0x188861(0x1f4)]()},()=>null)));}[_0x2f4013(0x1a2)](_0x39150d,_0x48361e,_0x5c205b=this[_0x2f4013(0x150)](),_0x41c557=this[_0x2f4013(0x1f4)]()){const _0x1d2a7e=_0x2f4013;return this['_inject'][_0x1d2a7e(0x20f)](_0x331790,this[_0x1d2a7e(0x143)],this[_0x1d2a7e(0x183)],{'startRow':this[_0x1d2a7e(0x197)][_0x1d2a7e(0x179)]+_0x39150d,'startColumn':this[_0x1d2a7e(0x197)][_0x1d2a7e(0x1f1)]+_0x48361e,'endRow':this[_0x1d2a7e(0x197)][_0x1d2a7e(0x179)]+_0x39150d+_0x5c205b-0x1,'endColumn':this[_0x1d2a7e(0x197)][_0x1d2a7e(0x1f1)]+_0x48361e+_0x41c557-0x1},this[_0x1d2a7e(0x13c)]);}[_0x2f4013(0x1b1)](){const _0x552534=_0x2f4013;let _0x2543c9=this[_0x552534(0x183)][_0x552534(0x1d0)]();if(!_0x2543c9)throw Error(_0x552534(0x1e7));return(0x0,_0x44ca51[_0x552534(0x1c0)])(_0x2543c9);}[_0x2f4013(0x1d1)](){const _0x32731a=_0x2f4013;var _0x4487cd,_0x54e7ed;let _0x4ad854=this[_0x32731a(0x1b1)](),_0x4d890a=(_0x4487cd=(_0x54e7ed=_0x4ad854['recordOrder'])==null?void 0x0:_0x54e7ed['length'])==null?0x0:_0x4487cd,_0x4a7330=_0x4ad854['fieldOrder'][_0x32731a(0x1b3)];if(this[_0x32731a(0x197)]['startRow']<0x0||this[_0x32731a(0x197)]['startColumn']<0x0||this[_0x32731a(0x197)][_0x32731a(0x236)]<this[_0x32731a(0x197)]['startRow']||this[_0x32731a(0x197)][_0x32731a(0x15d)]<this[_0x32731a(0x197)][_0x32731a(0x1f1)]||this[_0x32731a(0x197)][_0x32731a(0x236)]>=Math[_0x32731a(0x1db)](_0x4d890a,0x1)||this[_0x32731a(0x197)][_0x32731a(0x15d)]>=Math[_0x32731a(0x1db)](_0x4a7330,0x1))throw Error(_0x32731a(0x13a)+_0x4d890a+_0x32731a(0x1f8)+_0x4a7330+_0x32731a(0x1b4)+JSON[_0x32731a(0x227)](this[_0x32731a(0x197)])+'.');}};let _0x3f327f=function(_0x45d94b){const _0x462eb4=_0x2f4013;return _0x45d94b['Id']='id',_0x45d94b[_0x462eb4(0x1d6)]=_0x462eb4(0x1c7),_0x45d94b['Auto']='auto',_0x45d94b;}({});function _0x3d4450(_0x285f78,_0x89c72d,_0x4b71da='id'){const _0x490001=_0x2f4013;if(!_0x89c72d)return{};let _0x2e6f40={};return Object[_0x490001(0x1a9)](_0x89c72d)['forEach'](([_0x5682a7,_0x3208e1])=>{_0x2e6f40[_0x5419b2(_0x285f78,_0x5682a7,_0x4b71da)]=_0x3208e1;}),_0x2e6f40;}function _0x5419b2(_0x4a4006,_0x440bea,_0x39f977){const _0x264be4=_0x2f4013;if(_0x39f977==='id'||_0x39f977===_0x264be4(0x213)&&_0x4a4006[_0x264be4(0x214)][_0x440bea])return _0x440bea;let _0x74e36b=Object['values'](_0x4a4006['fields'])['filter'](_0x5b18c6=>_0x5b18c6[_0x264be4(0x1c7)]===_0x440bea);if(_0x74e36b[_0x264be4(0x1b3)]===0x1)return _0x74e36b[0x0]['id'];throw _0x74e36b[_0x264be4(0x1b3)]>0x1?Error(_0x264be4(0x1fa)+_0x440bea):Error(_0x264be4(0x136)+_0x440bea);}var _0x5b39e2=class _0x4cfe98{constructor(_0x2c6e3b,_0xda69cf,_0x35871e,_0x2f755c){const _0x49cac6=_0x2f4013;this[_0x49cac6(0x143)]=_0x2c6e3b,this[_0x49cac6(0x183)]=_0xda69cf,this['_recordId']=_0x35871e,this['_inject']=_0x2f755c;}[_0x2f4013(0x157)](){const _0x42490f=_0x2f4013;return this[_0x42490f(0x166)];}[_0x2f4013(0x1e6)](){const _0x1e946d=_0x2f4013;return this[_0x1e946d(0x207)]();}[_0x2f4013(0x201)](_0x18de0d){const _0x9ccfd9=_0x2f4013;var _0x195d90;return(_0x195d90=this[_0x9ccfd9(0x207)]()[_0x9ccfd9(0x160)][_0x18de0d])==null?null:_0x195d90;}[_0x2f4013(0x13f)](){const _0x2d9965=_0x2f4013;return{...this[_0x2d9965(0x207)]()[_0x2d9965(0x160)]};}['setValue'](_0x1e97da,_0x3d4b99){const _0xfa4b6d=_0x2f4013;return this[_0xfa4b6d(0x13c)][_0xfa4b6d(0x146)](_0x248e19[_0xfa4b6d(0x1ca)])[_0xfa4b6d(0x16c)](_0x44ca51[_0xfa4b6d(0x1e2)]['id'],{'unitId':this['_base'][_0xfa4b6d(0x157)](),'tableId':this[_0xfa4b6d(0x183)][_0xfa4b6d(0x157)](),'recordId':this['_recordId'],'fieldId':_0x1e97da,'value':_0x3d4b99});}[_0x2f4013(0x222)](_0x473ee2,_0x458d0c='id'){const _0x3f5e1e=_0x2f4013;let _0x3e6c9f=this[_0x3f5e1e(0x13c)]['get'](_0x248e19['ICommandService']),_0x23f68f=this['_table'][_0x3f5e1e(0x1d0)](),_0x5bcde1=[{'recordId':this[_0x3f5e1e(0x166)],'values':_0x3d4450(_0x23f68f,_0x473ee2,_0x458d0c)}];return _0x3e6c9f[_0x3f5e1e(0x16c)](_0x44ca51['SetBaseRecordValuesCommand']['id'],{'unitId':this['_base'][_0x3f5e1e(0x157)](),'tableId':this['_table'][_0x3f5e1e(0x157)](),'patches':_0x5bcde1});}[_0x2f4013(0x21e)](){const _0x23468d=_0x2f4013;return this['_inject'][_0x23468d(0x146)](_0x248e19[_0x23468d(0x1ca)])[_0x23468d(0x16c)](_0x44ca51[_0x23468d(0x1af)]['id'],{'unitId':this['_base'][_0x23468d(0x157)](),'tableId':this[_0x23468d(0x183)][_0x23468d(0x157)](),'recordId':this[_0x23468d(0x166)]});}[_0x2f4013(0x14b)](_0x487492){const _0x159a0e=_0x2f4013;let _0x4f3105=this[_0x159a0e(0x13c)][_0x159a0e(0x146)](_0x248e19[_0x159a0e(0x1ca)]),_0x23d1b5={...this['_getRecord'](),..._0x487492,'id':(0x0,_0x248e19['generateRandomId'])(0x6)};_0x487492!=null&&_0x487492[_0x159a0e(0x160)]&&(_0x23d1b5[_0x159a0e(0x160)]={..._0x23d1b5['values'],..._0x487492[_0x159a0e(0x160)]});let _0x9d78c0=Date[_0x159a0e(0x13d)]();if(_0x23d1b5['orderKey']||(_0x23d1b5[_0x159a0e(0x1f7)]=''+_0x9d78c0),_0x23d1b5[_0x159a0e(0x1d9)]||(_0x23d1b5[_0x159a0e(0x1d9)]=_0x9d78c0),_0x23d1b5[_0x159a0e(0x15c)]||(_0x23d1b5['updatedAt']=_0x9d78c0),!_0x4f3105[_0x159a0e(0x16c)](_0x44ca51[_0x159a0e(0x1e4)]['id'],{'unitId':this['_base'][_0x159a0e(0x157)](),'tableId':this[_0x159a0e(0x183)]['getId'](),'sourceRecordId':this[_0x159a0e(0x166)],'record':_0x23d1b5}))throw Error(_0x159a0e(0x1c2)+this[_0x159a0e(0x166)]+'\x22.');return this[_0x159a0e(0x13c)][_0x159a0e(0x20f)](_0x4cfe98,this['_base'],this[_0x159a0e(0x183)],_0x23d1b5['id'],this[_0x159a0e(0x13c)]);}[_0x2f4013(0x22b)](_0xd6917){const _0x93f5f9=_0x2f4013;return this[_0x93f5f9(0x13c)][_0x93f5f9(0x146)](_0x248e19['ICommandService'])[_0x93f5f9(0x16c)](_0x44ca51[_0x93f5f9(0x181)]['id'],{'unitId':this['_base'][_0x93f5f9(0x157)](),'tableId':this[_0x93f5f9(0x183)]['getId'](),'recordId':this[_0x93f5f9(0x166)],'orderKey':_0xd6917});}[_0x2f4013(0x207)](){const _0x549d5f=_0x2f4013;let _0xfb3397=this[_0x549d5f(0x183)]['getTable']()[_0x549d5f(0x209)][this[_0x549d5f(0x166)]];if(!_0xfb3397)throw Error(_0x549d5f(0x145)+this[_0x549d5f(0x166)]+_0x549d5f(0x18a));return _0xfb3397;}},_0x3bf3d6=class{constructor(_0x2eed6b,_0x583db4,_0x212400,_0x95de3f){const _0x3c7be7=_0x2f4013;this['_base']=_0x2eed6b,this[_0x3c7be7(0x183)]=_0x583db4,this[_0x3c7be7(0x1a3)]=_0x212400,this[_0x3c7be7(0x12f)]=_0x95de3f;}[_0x2f4013(0x157)](){const _0x1d8ec6=_0x2f4013;return this[_0x1d8ec6(0x1a3)];}[_0x2f4013(0x165)](){return this['_getView']();}[_0x2f4013(0x1a6)](){const _0x259da5=_0x2f4013;return this[_0x259da5(0x1cb)]()[_0x259da5(0x1c7)];}[_0x2f4013(0x18b)](){const _0xf3bd8e=_0x2f4013;return this[_0xf3bd8e(0x1cb)]()[_0xf3bd8e(0x19f)];}['setName'](_0x22e1ec){const _0x5df341=_0x2f4013;return this[_0x5df341(0x12f)][_0x5df341(0x146)](_0x248e19['ICommandService'])[_0x5df341(0x16c)](_0x44ca51[_0x5df341(0x1df)]['id'],{'unitId':this[_0x5df341(0x143)][_0x5df341(0x157)](),'tableId':this[_0x5df341(0x183)][_0x5df341(0x157)](),'viewId':this['_viewId'],'name':_0x22e1ec});}[_0x2f4013(0x19a)](){const _0x5e27bd=_0x2f4013;let _0x494247=this[_0x5e27bd(0x18b)](),_0x5ed2ed=this[_0x5e27bd(0x1cb)]()[_0x5e27bd(0x211)];switch(_0x494247){case _0x248e19['BaseViewType'][_0x5e27bd(0x1b5)]:return _0x5ed2ed;case _0x248e19[_0x5e27bd(0x15e)]['Kanban']:return _0x5ed2ed;case _0x248e19[_0x5e27bd(0x15e)][_0x5e27bd(0x1d3)]:return _0x5ed2ed;case _0x248e19[_0x5e27bd(0x15e)][_0x5e27bd(0x129)]:return _0x5ed2ed;case _0x248e19[_0x5e27bd(0x15e)][_0x5e27bd(0x1ce)]:return _0x5ed2ed;default:return _0x5ed2ed;}}[_0x2f4013(0x132)](_0x363ff0){const _0x33f538=_0x2f4013;return this[_0x33f538(0x12f)][_0x33f538(0x146)](_0x248e19['ICommandService'])[_0x33f538(0x16c)](_0x44ca51[_0x33f538(0x176)]['id'],{'unitId':this['_base'][_0x33f538(0x157)](),'tableId':this[_0x33f538(0x183)][_0x33f538(0x157)](),'viewId':this['_viewId'],'patch':_0x363ff0});}['getFilter'](){const _0x1fa576=_0x2f4013;var _0x30b026;return(_0x30b026=this[_0x1fa576(0x1cb)]()[_0x1fa576(0x155)])==null?null:_0x30b026;}[_0x2f4013(0x1c3)](_0x2823f2){const _0x121ce0=_0x2f4013;return this['_injector'][_0x121ce0(0x146)](_0x248e19[_0x121ce0(0x1ca)])[_0x121ce0(0x16c)](_0x44ca51[_0x121ce0(0x159)]['id'],{'unitId':this[_0x121ce0(0x143)][_0x121ce0(0x157)](),'tableId':this['_table'][_0x121ce0(0x157)](),'viewId':this[_0x121ce0(0x1a3)],'filter':_0x2823f2});}[_0x2f4013(0x235)](){const _0x3dd9ce=_0x2f4013;var _0x260963;return(_0x260963=this['_getView']()[_0x3dd9ce(0x170)])==null?[]:_0x260963;}[_0x2f4013(0x1c9)](_0x1da5bb){const _0x49c088=_0x2f4013;return this[_0x49c088(0x12f)][_0x49c088(0x146)](_0x248e19['ICommandService'])['syncExecuteCommand'](_0x44ca51[_0x49c088(0x17f)]['id'],{'unitId':this[_0x49c088(0x143)]['getId'](),'tableId':this[_0x49c088(0x183)]['getId'](),'viewId':this['_viewId'],'sort':_0x1da5bb});}[_0x2f4013(0x16f)](){const _0x312cc4=_0x2f4013;var _0x516bac;return(_0x516bac=this[_0x312cc4(0x1cb)]()[_0x312cc4(0x195)])==null?[]:_0x516bac;}[_0x2f4013(0x156)](_0x19dbe8){const _0x1dd533=_0x2f4013;return this[_0x1dd533(0x12f)][_0x1dd533(0x146)](_0x248e19[_0x1dd533(0x1ca)])['syncExecuteCommand'](_0x44ca51['SetBaseViewGroupCommand']['id'],{'unitId':this[_0x1dd533(0x143)][_0x1dd533(0x157)](),'tableId':this[_0x1dd533(0x183)][_0x1dd533(0x157)](),'viewId':this[_0x1dd533(0x1a3)],'group':_0x19dbe8});}[_0x2f4013(0x11a)](_0x49062c){const _0x2bcd20=_0x2f4013;var _0xe93d89,_0x37e502;return(_0xe93d89=(_0x37e502=this[_0x2bcd20(0x1cb)]()[_0x2bcd20(0x20e)])==null?void 0x0:_0x37e502[_0x49062c])==null?{}:_0xe93d89;}[_0x2f4013(0x172)](){const _0x9ec63f=_0x2f4013;var _0x1ad8df;let _0x478c92=this['_table'][_0x9ec63f(0x1d0)](),_0x39b39b=this[_0x9ec63f(0x1cb)]();return((_0x1ad8df=_0x39b39b[_0x9ec63f(0x18d)])==null?_0x478c92[_0x9ec63f(0x18d)]:_0x1ad8df)[_0x9ec63f(0x155)](_0xaef086=>{const _0x377f81=_0x9ec63f;var _0x5f39c7;return _0x478c92[_0x377f81(0x214)][_0xaef086]&&!(!((_0x5f39c7=_0x39b39b[_0x377f81(0x20e)])==null||(_0x5f39c7=_0x5f39c7[_0xaef086])==null)&&_0x5f39c7[_0x377f81(0x12c)]);})[_0x9ec63f(0x153)](_0x3ee8a8=>this[_0x9ec63f(0x12f)]['createInstance'](_0x2d9779,this['_base'],this['_table'],_0x3ee8a8,this[_0x9ec63f(0x12f)]));}['setFieldVisible'](_0x56a0d9,_0x1e3697){const _0x32f611=_0x2f4013;return this[_0x32f611(0x12f)][_0x32f611(0x146)](_0x248e19[_0x32f611(0x1ca)])[_0x32f611(0x16c)](_0x44ca51['SetBaseViewFieldVisibleCommand']['id'],{'unitId':this[_0x32f611(0x143)]['getId'](),'tableId':this[_0x32f611(0x183)]['getId'](),'viewId':this[_0x32f611(0x1a3)],'fieldId':_0x56a0d9,'visible':_0x1e3697});}[_0x2f4013(0x163)](_0x30be16,_0x4ab43e){const _0x3dbbf1=_0x2f4013;return this['_injector'][_0x3dbbf1(0x146)](_0x248e19[_0x3dbbf1(0x1ca)])[_0x3dbbf1(0x16c)](_0x44ca51[_0x3dbbf1(0x1cd)]['id'],{'unitId':this[_0x3dbbf1(0x143)][_0x3dbbf1(0x157)](),'tableId':this['_table'][_0x3dbbf1(0x157)](),'viewId':this['_viewId'],'fieldId':_0x30be16,'width':_0x4ab43e});}[_0x2f4013(0x1ad)](_0x167895,_0x16c0a9){const _0x595b1d=_0x2f4013;return this[_0x595b1d(0x12f)][_0x595b1d(0x146)](_0x248e19[_0x595b1d(0x1ca)])[_0x595b1d(0x16c)](_0x44ca51[_0x595b1d(0x231)]['id'],{'unitId':this[_0x595b1d(0x143)][_0x595b1d(0x157)](),'tableId':this[_0x595b1d(0x183)][_0x595b1d(0x157)](),'viewId':this['_viewId'],'fieldId':_0x167895,'target':_0x16c0a9});}['move'](_0x514ef2){const _0x34007a=_0x2f4013;return this[_0x34007a(0x12f)][_0x34007a(0x146)](_0x248e19[_0x34007a(0x1ca)])['syncExecuteCommand'](_0x44ca51[_0x34007a(0x1f9)]['id'],{'unitId':this[_0x34007a(0x143)][_0x34007a(0x157)](),'tableId':this[_0x34007a(0x183)][_0x34007a(0x157)](),'viewId':this['_viewId'],'target':_0x514ef2});}['delete'](){const _0x4c2af2=_0x2f4013;return this[_0x4c2af2(0x12f)][_0x4c2af2(0x146)](_0x248e19[_0x4c2af2(0x1ca)])[_0x4c2af2(0x16c)](_0x44ca51[_0x4c2af2(0x20c)]['id'],{'unitId':this['_base'][_0x4c2af2(0x157)](),'tableId':this[_0x4c2af2(0x183)]['getId'](),'viewId':this[_0x4c2af2(0x1a3)]});}['getProjection'](){const _0x57e709=_0x2f4013;return this['_injector']['get'](_0x44ca51[_0x57e709(0x185)])['getProjection'](this[_0x57e709(0x143)][_0x57e709(0x13e)]()[_0x57e709(0x131)](),this['_table'][_0x57e709(0x157)](),this[_0x57e709(0x1a3)]);}[_0x2f4013(0x1cb)](){const _0x3812ef=_0x2f4013;let _0x532a22=this[_0x3812ef(0x183)]['getTable']()[_0x3812ef(0x1ef)][this[_0x3812ef(0x1a3)]];if(!_0x532a22)throw Error(_0x3812ef(0x173)+this[_0x3812ef(0x1a3)]+_0x3812ef(0x18a));return _0x532a22;}},_0x4ab4c=class{constructor(_0x2af206,_0x13351b,_0x1f5a02){const _0x4a9fbd=_0x2f4013;this[_0x4a9fbd(0x143)]=_0x2af206,this['_tableId']=_0x13351b,this[_0x4a9fbd(0x12f)]=_0x1f5a02;}[_0x2f4013(0x13e)](){const _0x16ecd3=_0x2f4013;return this['_base'][_0x16ecd3(0x13e)]();}['getTable'](){const _0x4919ec=_0x2f4013;return this[_0x4919ec(0x1b1)]();}[_0x2f4013(0x157)](){return this['_tableId'];}[_0x2f4013(0x1a6)](){const _0x53ceb9=_0x2f4013;return this[_0x53ceb9(0x1b1)]()[_0x53ceb9(0x1c7)];}['setName'](_0x4de38a){const _0x244465=_0x2f4013;return this['_injector']['get'](_0x248e19[_0x244465(0x1ca)])[_0x244465(0x16c)](_0x44ca51[_0x244465(0x1b7)]['id'],{'unitId':this['_base'][_0x244465(0x157)](),'tableId':this['_tableId'],'name':_0x4de38a});}['search'](_0x1b5489,_0x2a02f3){const _0x33f8c5=_0x2f4013;var _0x36fd0f;let _0x5d2967=this[_0x33f8c5(0x12f)]['get'](_0x44ca51[_0x33f8c5(0x185)]),_0x5b7071=this[_0x33f8c5(0x143)][_0x33f8c5(0x13e)]()['getSnapshot'](),_0x4b7adc=this['_getTable']();if(_0x2a02f3){var _0x3638c5;let _0x295e27=_0x5d2967[_0x33f8c5(0x154)](_0x5b7071,this[_0x33f8c5(0x19c)],_0x2a02f3),_0x24b206=_0x4b7adc[_0x33f8c5(0x1ef)][_0x2a02f3],_0x23024a=(_0x3638c5=_0x1b5489['fieldIds'])==null?_0x1448bd(_0x4b7adc,_0x24b206,_0x295e27):_0x3638c5,_0x261e29=_0x33f8c5(0x1fd)in _0x295e27&&Array[_0x33f8c5(0x122)](_0x295e27[_0x33f8c5(0x1fd)])?_0x295e27[_0x33f8c5(0x1fd)]:[];return(0x0,_0x44ca51[_0x33f8c5(0x1e3)])({..._0x1b5489,'table':_0x4b7adc,'fieldIds':_0x23024a,'rows':_0x261e29});}let _0x2bfc3a=(_0x4b7adc[_0x33f8c5(0x158)]?_0x4b7adc[_0x33f8c5(0x158)]['map'](_0x133037=>_0x4b7adc['records'][_0x133037]):Object['values'](_0x4b7adc[_0x33f8c5(0x209)])[_0x33f8c5(0x170)]((_0x3b0038,_0x3bfc90)=>_0x3b0038['orderKey'][_0x33f8c5(0x11d)](_0x3bfc90['orderKey'])))[_0x33f8c5(0x155)](_0x4e73d6=>_0x4e73d6)[_0x33f8c5(0x153)](_0x279350=>({'recordId':_0x279350['id'],'values':_0x279350['values']})),_0x5a82f4=(_0x36fd0f=_0x1b5489[_0x33f8c5(0x186)])==null?_0x4b7adc[_0x33f8c5(0x18d)][_0x33f8c5(0x155)](_0x4f24d9=>_0x4b7adc[_0x33f8c5(0x214)][_0x4f24d9]):_0x36fd0f;return(0x0,_0x44ca51['searchBaseTable'])({..._0x1b5489,'table':_0x4b7adc,'fieldIds':_0x5a82f4,'rows':_0x2bfc3a});}['getPrimaryFieldId'](){const _0x4ac09b=_0x2f4013;return this[_0x4ac09b(0x1b1)]()[_0x4ac09b(0x20b)];}[_0x2f4013(0x144)](){const _0x1cf73c=_0x2f4013;let _0x4f0410=this[_0x1cf73c(0x1b1)]();return _0x4f0410['fieldOrder']['map'](_0x413352=>_0x4f0410[_0x1cf73c(0x214)][_0x413352])['filter'](_0x1bac39=>_0x1bac39)[_0x1cf73c(0x153)](_0x1d1aea=>this[_0x1cf73c(0x12f)][_0x1cf73c(0x20f)](_0x2d9779,this['_base'],this,_0x1d1aea['id'],this[_0x1cf73c(0x12f)]));}[_0x2f4013(0x11b)](_0x5af9e0){const _0xc98d94=_0x2f4013;let _0x1c9d2f=this[_0xc98d94(0x1b1)]()[_0xc98d94(0x214)][_0x5af9e0];return _0x1c9d2f?this[_0xc98d94(0x12f)][_0xc98d94(0x20f)](_0x2d9779,this[_0xc98d94(0x143)],this,_0x1c9d2f['id'],this['_injector']):null;}['getFieldByName'](_0x14f430){const _0x2eaedd=_0x2f4013;let _0x5c32f2=this['_getTable']()[_0x2eaedd(0x214)],_0xe01a3a=Object[_0x2eaedd(0x160)](_0x5c32f2)['find'](_0x28179f=>_0x28179f[_0x2eaedd(0x1c7)]===_0x14f430);return _0xe01a3a?this[_0x2eaedd(0x12f)][_0x2eaedd(0x20f)](_0x2d9779,this['_base'],this,_0xe01a3a['id'],this[_0x2eaedd(0x12f)]):null;}[_0x2f4013(0x22c)](){const _0x1e6f65=_0x2f4013;let _0x415d96=this['_getTable']()[_0x1e6f65(0x20b)];return this[_0x1e6f65(0x12f)][_0x1e6f65(0x20f)](_0x2d9779,this['_base'],this,_0x415d96,this[_0x1e6f65(0x12f)]);}['addField'](_0x3cae4e,_0x3a37a3,_0xe6c1a5){const _0x387493=_0x2f4013;var _0x55b3a3;let _0x56532d=this[_0x387493(0x12f)][_0x387493(0x146)](_0x248e19[_0x387493(0x1ca)]),_0x2a62dd=(_0x55b3a3=_0xe6c1a5==null?void 0x0:_0xe6c1a5[_0x387493(0x21d)])==null?{}:_0x55b3a3;if(_0x2a62dd['id']=(0x0,_0x248e19[_0x387493(0x147)])(0x6),_0x2a62dd[_0x387493(0x1c7)]=_0x3cae4e,_0x2a62dd[_0x387493(0x19f)]=_0x3a37a3,!_0x2a62dd[_0x387493(0x19f)])throw Error(_0x387493(0x1aa));if(_0x2a62dd[_0x387493(0x211)]||(_0x2a62dd[_0x387493(0x211)]={}),!_0x56532d['syncExecuteCommand'](_0x44ca51[_0x387493(0x212)]['id'],{'unitId':this[_0x387493(0x143)][_0x387493(0x157)](),'tableId':this['_tableId'],'field':_0x2a62dd,'index':_0xe6c1a5==null?void 0x0:_0xe6c1a5[_0x387493(0x1f6)]}))throw Error(_0x387493(0x1ed)+_0x3cae4e+'\x22');return this['_injector'][_0x387493(0x20f)](_0x2d9779,this['_base'],this,_0x2a62dd['id'],this['_injector']);}['getRecords'](){const _0x26ccc9=_0x2f4013;return this[_0x26ccc9(0x21b)]()[_0x26ccc9(0x153)](_0x18e0ef=>this[_0x26ccc9(0x12f)]['createInstance'](_0x5b39e2,this[_0x26ccc9(0x143)],this,_0x18e0ef,this[_0x26ccc9(0x12f)]));}[_0x2f4013(0x12a)](_0xf3bdf4){const _0x25f7fa=_0x2f4013;return this[_0x25f7fa(0x1b1)]()[_0x25f7fa(0x209)][_0xf3bdf4]?this[_0x25f7fa(0x12f)][_0x25f7fa(0x20f)](_0x5b39e2,this[_0x25f7fa(0x143)],this,_0xf3bdf4,this[_0x25f7fa(0x12f)]):null;}[_0x2f4013(0x17e)](_0x3cb833={}){const _0x1e21d8=_0x2f4013;var _0x47e0d5;let _0x2a528d=this['_getTable'](),_0x48a8b8=this['_resolveRecordIds'](_0x3cb833),_0x4fbf91=Math[_0x1e21d8(0x1db)](0x0,(_0x47e0d5=_0x3cb833[_0x1e21d8(0x1a2)])==null?0x0:_0x47e0d5),_0x59f21f=_0x3cb833[_0x1e21d8(0x19e)]==null?null:Math[_0x1e21d8(0x1db)](0x0,_0x3cb833['limit']),_0x1cd938=_0x333b0b(_0x48a8b8['map'](_0x5c202c=>_0x2a528d['records'][_0x5c202c])['filter'](_0x893fc7=>_0x2d5716(_0x893fc7,_0x2a528d,_0x3cb833[_0x1e21d8(0x155)])),_0x2a528d,_0x3cb833[_0x1e21d8(0x170)]);return{'records':_0x470ad1(_0x1cd938,_0x3cb833)[_0x1e21d8(0x153)](_0x49ffeb=>this[_0x1e21d8(0x12f)][_0x1e21d8(0x20f)](_0x5b39e2,this[_0x1e21d8(0x143)],this,_0x49ffeb['id'],this['_injector'])),'total':_0x1cd938[_0x1e21d8(0x1b3)],'offset':_0x4fbf91,'limit':_0x59f21f,'hasMore':_0x59f21f!=null&&_0x4fbf91+_0x59f21f<_0x1cd938[_0x1e21d8(0x1b3)]};}[_0x2f4013(0x223)](_0xc5636f,_0x4b656b='id',_0x5bec4c){const _0x41a3c7=_0x2f4013;let _0x2e1ba5=this[_0x41a3c7(0x12f)][_0x41a3c7(0x146)](_0x248e19['ICommandService']),_0x2f0b2a=this[_0x41a3c7(0x1b1)](),_0x303059=_0x5bec4c==null?{}:_0x5bec4c;_0x303059['id']=(0x0,_0x248e19[_0x41a3c7(0x147)])(0x6),_0x303059['values']=_0x3d4450(_0x2f0b2a,_0xc5636f,_0x4b656b);let _0x187054=Date['now']();if(_0x303059[_0x41a3c7(0x1f7)]||(_0x303059[_0x41a3c7(0x1f7)]=''+_0x187054),_0x303059[_0x41a3c7(0x1d9)]||(_0x303059[_0x41a3c7(0x1d9)]=_0x187054),_0x303059[_0x41a3c7(0x15c)]||(_0x303059[_0x41a3c7(0x15c)]=_0x187054),!_0x2e1ba5[_0x41a3c7(0x16c)](_0x44ca51[_0x41a3c7(0x151)]['id'],{'unitId':this[_0x41a3c7(0x143)]['getId'](),'tableId':this[_0x41a3c7(0x19c)],'record':_0x303059}))throw Error(_0x41a3c7(0x128)+_0x303059['id']+'\x22');return this['_injector'][_0x41a3c7(0x20f)](_0x5b39e2,this['_base'],this,_0x303059['id'],this['_injector']);}[_0x2f4013(0x216)](_0x55d8f8){const _0x1fb3c3=_0x2f4013;if(!_0x55d8f8[_0x1fb3c3(0x1b3)])return[];let _0x2554a2=this[_0x1fb3c3(0x12f)]['get'](_0x248e19[_0x1fb3c3(0x1ca)]),_0x9a7f5e=this[_0x1fb3c3(0x1b1)](),_0x402bac=Date[_0x1fb3c3(0x13d)](),_0x1ee829=_0x55d8f8[_0x1fb3c3(0x153)]((_0x2f2241,_0x39fccf)=>{const _0x1b6412=_0x1fb3c3;var _0xa1e662,_0x23b0ef;let _0x2d4908=(_0xa1e662=_0x2f2241[_0x1b6412(0x133)])==null?{}:_0xa1e662;return _0x2d4908['id']=(0x0,_0x248e19[_0x1b6412(0x147)])(0x6),_0x2d4908['values']=_0x3d4450(_0x9a7f5e,_0x2f2241[_0x1b6412(0x160)],(_0x23b0ef=_0x2f2241[_0x1b6412(0x1d7)])==null?'id':_0x23b0ef),_0x2d4908[_0x1b6412(0x1f7)]||(_0x2d4908[_0x1b6412(0x1f7)]=''+(_0x402bac+_0x39fccf)),_0x2d4908['createdAt']||(_0x2d4908[_0x1b6412(0x1d9)]=_0x402bac),_0x2d4908[_0x1b6412(0x15c)]||(_0x2d4908[_0x1b6412(0x15c)]=_0x402bac),_0x2d4908;});if(!_0x2554a2[_0x1fb3c3(0x16c)](_0x44ca51['BatchCreateBaseRecordsCommand']['id'],{'unitId':this[_0x1fb3c3(0x143)][_0x1fb3c3(0x157)](),'tableId':this['_tableId'],'records':_0x1ee829}))throw Error('Failed\x20to\x20add\x20records');return _0x1ee829['map'](_0x34c2db=>this[_0x1fb3c3(0x12f)][_0x1fb3c3(0x20f)](_0x5b39e2,this[_0x1fb3c3(0x143)],this,_0x34c2db['id'],this[_0x1fb3c3(0x12f)]));}[_0x2f4013(0x1e9)](_0x1fd002){const _0x43d335=_0x2f4013;return _0x1fd002[_0x43d335(0x1b3)]?this[_0x43d335(0x12f)]['get'](_0x248e19[_0x43d335(0x1ca)])[_0x43d335(0x16c)](_0x44ca51[_0x43d335(0x14f)]['id'],{'unitId':this['_base'][_0x43d335(0x157)](),'tableId':this[_0x43d335(0x19c)],'recordIds':_0x1fd002}):!0x0;}['getRange'](_0x3800d5,_0x482321,_0x4d4450=0x1,_0x5d0afb=0x1){const _0x45800e=_0x2f4013;return this[_0x45800e(0x12f)][_0x45800e(0x20f)](_0x5f0e81,this[_0x45800e(0x143)],this,{'startRow':_0x3800d5,'endRow':_0x3800d5+_0x4d4450-0x1,'startColumn':_0x482321,'endColumn':_0x482321+_0x5d0afb-0x1},this[_0x45800e(0x12f)]);}['getDataRange'](){const _0x22d657=_0x2f4013;var _0x55db2b,_0x31b597;let _0x370f9f=(0x0,_0x44ca51['ensureBaseTableCellLayout'])(this['_getTable']()),_0x12408a=(_0x55db2b=(_0x31b597=_0x370f9f[_0x22d657(0x158)])==null?void 0x0:_0x31b597['length'])==null?0x0:_0x55db2b,_0x23606d=_0x370f9f[_0x22d657(0x18d)]['length'];return this['getRange'](0x0,0x0,Math[_0x22d657(0x1db)](_0x12408a,0x1),Math[_0x22d657(0x1db)](_0x23606d,0x1));}[_0x2f4013(0x16e)](){const _0x5f8618=_0x2f4013;let _0x2c4667=this[_0x5f8618(0x1b1)]();return _0x2c4667[_0x5f8618(0x199)][_0x5f8618(0x155)](_0x519283=>_0x2c4667[_0x5f8618(0x1ef)][_0x519283])['map'](_0x2d3757=>this[_0x5f8618(0x12f)]['createInstance'](_0x3bf3d6,this[_0x5f8618(0x143)],this,_0x2d3757,this[_0x5f8618(0x12f)]));}[_0x2f4013(0x17d)](_0x2ffaff){const _0xe1166a=_0x2f4013;return this[_0xe1166a(0x1b1)]()['views'][_0x2ffaff]?this['_injector'][_0xe1166a(0x20f)](_0x3bf3d6,this[_0xe1166a(0x143)],this,_0x2ffaff,this[_0xe1166a(0x12f)]):null;}[_0x2f4013(0x224)](_0x292c5b){const _0x506121=_0x2f4013;let _0x27d6c0=this[_0x506121(0x1b1)](),_0x45ae46=Object[_0x506121(0x160)](_0x27d6c0[_0x506121(0x1ef)])[_0x506121(0x152)](_0x3fa964=>_0x3fa964[_0x506121(0x1c7)]===_0x292c5b);return _0x45ae46?this[_0x506121(0x12f)][_0x506121(0x20f)](_0x3bf3d6,this[_0x506121(0x143)],this,_0x45ae46['id'],this[_0x506121(0x12f)]):null;}[_0x2f4013(0x12d)](_0x47fcd0,_0x5d4c67,_0xdfa66b){const _0x1a5216=_0x2f4013;var _0x51979d;let _0x2aa48e=this['_injector']['get'](_0x248e19[_0x1a5216(0x1ca)]),_0x4e3414=this['_getTable'](),_0x200f78=(_0x51979d=_0xdfa66b==null?void 0x0:_0xdfa66b[_0x1a5216(0x14a)])==null?{}:_0x51979d;if(_0x200f78['id']=(0x0,_0x248e19[_0x1a5216(0x147)])(0x6),_0x200f78[_0x1a5216(0x1c7)]=_0x47fcd0,_0x200f78[_0x1a5216(0x19f)]=_0x5d4c67,_0x200f78[_0x1a5216(0x1fc)]=this['_tableId'],!_0x200f78[_0x1a5216(0x19f)])throw Error(_0x1a5216(0x169));if(_0x200f78[_0x1a5216(0x211)]||(_0x200f78[_0x1a5216(0x211)]={}),_0x200f78[_0x1a5216(0x18d)]||(_0x200f78[_0x1a5216(0x18d)]=[..._0x4e3414[_0x1a5216(0x18d)]]),!_0x2aa48e[_0x1a5216(0x16c)](_0x44ca51[_0x1a5216(0x19d)]['id'],{'unitId':this[_0x1a5216(0x143)][_0x1a5216(0x157)](),'tableId':this['_tableId'],'view':_0x200f78,'index':_0xdfa66b==null?void 0x0:_0xdfa66b[_0x1a5216(0x1f6)]}))throw Error(_0x1a5216(0x1e0)+_0x47fcd0+'\x22');return this[_0x1a5216(0x12f)]['createInstance'](_0x3bf3d6,this[_0x1a5216(0x143)],this,_0x200f78['id'],this[_0x1a5216(0x12f)]);}['getSchema'](){const _0x8ec220=_0x2f4013;let _0x4d147e=this[_0x8ec220(0x1b1)](),_0xd851b9=_0x4d147e[_0x8ec220(0x18d)][_0x8ec220(0x155)](_0x567684=>_0x4d147e[_0x8ec220(0x214)][_0x567684]),_0x94d83b=_0x4d147e['viewOrder']['filter'](_0x468633=>_0x4d147e[_0x8ec220(0x1ef)][_0x468633]);return{'id':_0x4d147e['id'],'name':_0x4d147e['name'],'primaryFieldId':_0x4d147e[_0x8ec220(0x20b)],'fieldIds':_0xd851b9,'viewIds':_0x94d83b,'recordCount':this[_0x8ec220(0x21b)]()[_0x8ec220(0x1b3)],'fields':_0xd851b9[_0x8ec220(0x153)](_0x30f2d5=>{const _0x353077=_0x8ec220;let _0x21007a=_0x4d147e[_0x353077(0x214)][_0x30f2d5];return{'id':_0x21007a['id'],'name':_0x21007a[_0x353077(0x1c7)],'type':_0x21007a[_0x353077(0x19f)],'config':_0x21007a[_0x353077(0x211)],'readonly':_0x21007a['readonly'],'description':_0x21007a['description']};}),'views':_0x94d83b['map'](_0x25d8f8=>{const _0x29080c=_0x8ec220;let _0x4e40ea=_0x4d147e[_0x29080c(0x1ef)][_0x25d8f8];return{'id':_0x4e40ea['id'],'name':_0x4e40ea[_0x29080c(0x1c7)],'type':_0x4e40ea[_0x29080c(0x19f)]};})};}['_getTable'](){const _0x50c751=_0x2f4013;let _0x585114=this[_0x50c751(0x143)][_0x50c751(0x13e)]()[_0x50c751(0x131)]()[_0x50c751(0x1d8)][this['_tableId']];if(!_0x585114)throw Error('[FTable]:\x20table\x20\x22'+this['_tableId']+_0x50c751(0x18a));return _0x585114;}[_0x2f4013(0x21b)](_0x14e52c={}){const _0x12f750=_0x2f4013;let _0x59ebc7=this[_0x12f750(0x12f)][_0x12f750(0x146)](_0x44ca51['IBaseProjectionService']),_0x145e24=this['_base']['getBase']()['getSnapshot'](),_0x27a3af=this[_0x12f750(0x1b1)]();if(_0x14e52c[_0x12f750(0x162)]){let _0x56c4b2=_0x59ebc7[_0x12f750(0x154)](_0x145e24,this['_tableId'],_0x14e52c[_0x12f750(0x162)]);if(_0x12f750(0x1fd)in _0x56c4b2&&Array['isArray'](_0x56c4b2[_0x12f750(0x1fd)]))return _0x56c4b2[_0x12f750(0x1fd)][_0x12f750(0x153)](_0x577977=>_0x577977[_0x12f750(0x1dc)]);}return(_0x27a3af[_0x12f750(0x158)]?_0x27a3af[_0x12f750(0x158)][_0x12f750(0x153)](_0x5a00a6=>_0x27a3af[_0x12f750(0x209)][_0x5a00a6]):Object[_0x12f750(0x160)](_0x27a3af['records'])[_0x12f750(0x170)]((_0x4942d3,_0x32f5f9)=>_0x4942d3[_0x12f750(0x1f7)][_0x12f750(0x11d)](_0x32f5f9[_0x12f750(0x1f7)])))['filter'](_0x3c8b7f=>_0x3c8b7f)['map'](_0x55b1e7=>_0x55b1e7['id']);}};function _0x470ad1(_0x462379,_0x25c7a6){const _0x12a463=_0x2f4013;var _0x2c277a;let _0x14c6ec=Math['max'](0x0,(_0x2c277a=_0x25c7a6[_0x12a463(0x1a2)])==null?0x0:_0x2c277a);return _0x25c7a6[_0x12a463(0x19e)]==null?_0x462379[_0x12a463(0x1ee)](_0x14c6ec):_0x462379[_0x12a463(0x1ee)](_0x14c6ec,_0x14c6ec+Math['max'](0x0,_0x25c7a6[_0x12a463(0x19e)]));}function _0x333b0b(_0x5ca4a3,_0x599da6,_0x1a6ccb=[]){const _0x410460=_0x2f4013;return _0x1a6ccb[_0x410460(0x1b3)]?[..._0x5ca4a3][_0x410460(0x170)]((_0x28165d,_0x2b04f0)=>{const _0x1af10c=_0x410460;var _0xcbe882,_0x36d82a;for(let _0x1d0006 of _0x1a6ccb){var _0x4800d9;let _0x152cf6=_0x1d0006[_0x1af10c(0x1d4)]===_0x248e19[_0x1af10c(0x187)][_0x1af10c(0x141)]?-0x1:0x1,_0x1ebe98=_0x491d7d(_0x28165d[_0x1af10c(0x160)][_0x1d0006[_0x1af10c(0x230)]],_0x2b04f0[_0x1af10c(0x160)][_0x1d0006['fieldId']],(_0x4800d9=_0x599da6['fields'][_0x1d0006[_0x1af10c(0x230)]])==null?void 0x0:_0x4800d9[_0x1af10c(0x19f)]);if(_0x1ebe98!==0x0)return _0x1ebe98*_0x152cf6;}return String((_0xcbe882=_0x28165d[_0x1af10c(0x1f7)])==null?_0x28165d['id']:_0xcbe882)[_0x1af10c(0x11d)](String((_0x36d82a=_0x2b04f0[_0x1af10c(0x1f7)])==null?_0x2b04f0['id']:_0x36d82a));}):_0x5ca4a3;}function _0x491d7d(_0xb1cc13,_0xf58979,_0x1c6886){const _0x52bfcf=_0x2f4013;return _0xb1cc13==null&&_0xf58979==null?0x0:_0xb1cc13==null?-0x1:_0xf58979==null?0x1:typeof _0xb1cc13==_0x52bfcf(0x206)&&typeof _0xf58979==_0x52bfcf(0x206)?_0xb1cc13-_0xf58979:_0x1c6886===_0x248e19[_0x52bfcf(0x1e5)][_0x52bfcf(0x1c6)]?Number(_0xb1cc13)-Number(_0xf58979):String(_0xb1cc13)[_0x52bfcf(0x11d)](String(_0xf58979));}function _0x2d5716(_0x34733c,_0x40f0b0,_0x39afbd){const _0x56a7c6=_0x2f4013;var _0x4e14ac;if(!_0x39afbd||!((_0x4e14ac=_0x39afbd[_0x56a7c6(0x217)])!=null&&_0x4e14ac['length']))return!0x0;let {conjunction:_0x2b6278=_0x248e19[_0x56a7c6(0x18c)]['OR'],conditions:_0x4646cb}=_0x39afbd;return _0x2b6278===_0x248e19[_0x56a7c6(0x18c)][_0x56a7c6(0x1b2)]&&_0x4646cb[_0x56a7c6(0x1b3)]>0x1?_0x4646cb[_0x56a7c6(0x204)](_0x228f0c=>_0xdbb407(_0x34733c,_0x40f0b0,_0x228f0c)):_0x4646cb[_0x56a7c6(0x22f)](_0xf32e98=>_0xdbb407(_0x34733c,_0x40f0b0,_0xf32e98));}function _0xdbb407(_0x1ad931,_0x5df97f,_0x391514){const _0x2ef497=_0x2f4013;let _0xab51c9=_0x1ad931[_0x2ef497(0x160)][_0x391514[_0x2ef497(0x230)]],_0x20a155=_0x5df97f[_0x2ef497(0x214)][_0x391514['fieldId']];if(_0x1a3bb3(_0x391514)){let _0x4a7df5=_0x5d4b87(_0x391514)[_0x2ef497(0x1da)](String(_0xab51c9==null?'':_0xab51c9));return _0x391514[_0x2ef497(0x189)]===_0x2ef497(0x1eb)?_0x4a7df5:!_0x4a7df5;}return _0x20a155?(0x0,_0x44ca51['matchesBaseCondition'])(_0xab51c9,_0x391514[_0x2ef497(0x189)],_0x391514[_0x2ef497(0x168)],_0x20a155):!0x0;}function _0x1a3bb3(_0xdad45c){const _0x315244=_0x2f4013;return _0xdad45c[_0x315244(0x189)]===_0x315244(0x1eb)||_0xdad45c[_0x315244(0x189)]==='notMatches';}function _0x5d4b87(_0x5aeef9){const _0x4134f7=_0x2f4013;var _0x3c13a6;let _0x5c2108=String((_0x3c13a6=_0x5aeef9[_0x4134f7(0x168)])==null?'':_0x3c13a6);if(_0x5c2108['length']>0x200)throw Error(_0x4134f7(0x190));try{return new RegExp(_0x5c2108,_0x5aeef9[_0x4134f7(0x1c1)]?void 0x0:'i');}catch(_0x23349a){throw Error('Invalid\x20Base\x20regex\x20filter:\x20'+_0x5c2108+'.\x20'+(_0x23349a instanceof Error?_0x23349a[_0x4134f7(0x1de)]:String(_0x23349a)));}}function _0x1448bd(_0x5c79b6,_0x20c0f6,_0x2631bc){const _0x17fd56=_0x2f4013;if(_0x2631bc['type']!==_0x17fd56(0x11c)){var _0x5cd645;if(_0x2631bc[_0x17fd56(0x19f)]===_0x248e19[_0x17fd56(0x15e)][_0x17fd56(0x234)]){var _0x31970c,_0x42da13,_0x3988ba;let _0x3b2ddf=[(_0x31970c=(_0x42da13=_0x2631bc[_0x17fd56(0x214)])==null||(_0x42da13=_0x42da13[0x0])==null?void 0x0:_0x42da13['id'])==null?_0x5c79b6[_0x17fd56(0x20b)]:_0x31970c,...(_0x3988ba=_0x2631bc[_0x17fd56(0x226)])==null?[]:_0x3988ba];return Array[_0x17fd56(0x18f)](new Set(_0x3b2ddf[_0x17fd56(0x155)](_0x3ace18=>!!_0x5c79b6[_0x17fd56(0x214)][_0x3ace18])));}if((_0x5cd645=_0x2631bc[_0x17fd56(0x214)])!=null&&_0x5cd645['length'])return _0x2631bc[_0x17fd56(0x214)]['map'](_0x1e144c=>_0x1e144c['id'])['filter'](_0x3e38bb=>{const _0x1d1707=_0x17fd56;var _0x2ffb16;return!!(_0x5c79b6[_0x1d1707(0x214)][_0x3e38bb]&&!(!(_0x20c0f6==null||(_0x2ffb16=_0x20c0f6[_0x1d1707(0x20e)])==null||(_0x2ffb16=_0x2ffb16[_0x3e38bb])==null)&&_0x2ffb16[_0x1d1707(0x12c)]));});}return _0x5c79b6['fieldOrder'][_0x17fd56(0x155)](_0x2823df=>{const _0x194aa3=_0x17fd56;var _0x55da45;return!!(_0x5c79b6['fields'][_0x2823df]&&!(!(_0x20c0f6==null||(_0x55da45=_0x20c0f6['fieldSettings'])==null||(_0x55da45=_0x55da45[_0x2823df])==null)&&_0x55da45[_0x194aa3(0x12c)]));});}function _0x3c42b2(_0x712a20,_0x231c24){return function(_0x25ac3e,_0x5c1584){_0x231c24(_0x25ac3e,_0x5c1584,_0x712a20);};}function _0x4ba2b3(_0x956de0,_0x1ef689,_0x24998f,_0x38c90f){const _0x32d662=_0x2f4013;var _0x34a9df=arguments[_0x32d662(0x1b3)],_0x2d2216=_0x34a9df<0x3?_0x1ef689:_0x38c90f===null?_0x38c90f=Object[_0x32d662(0x1ac)](_0x1ef689,_0x24998f):_0x38c90f,_0x3b81f4;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x32d662(0x148))_0x2d2216=Reflect[_0x32d662(0x124)](_0x956de0,_0x1ef689,_0x24998f,_0x38c90f);else{for(var _0x3a4ba0=_0x956de0[_0x32d662(0x1b3)]-0x1;_0x3a4ba0>=0x0;_0x3a4ba0--)(_0x3b81f4=_0x956de0[_0x3a4ba0])&&(_0x2d2216=(_0x34a9df<0x3?_0x3b81f4(_0x2d2216):_0x34a9df>0x3?_0x3b81f4(_0x1ef689,_0x24998f,_0x2d2216):_0x3b81f4(_0x1ef689,_0x24998f))||_0x2d2216);}return _0x34a9df>0x3&&_0x2d2216&&Object[_0x32d662(0x149)](_0x1ef689,_0x24998f,_0x2d2216),_0x2d2216;}let _0xfbe76f=class{constructor(_0x29d4bb,_0x1fa846){const _0x49ea68=_0x2f4013;this['_base']=_0x29d4bb,this[_0x49ea68(0x12f)]=_0x1fa846;}[_0x2f4013(0x13e)](){const _0x17a077=_0x2f4013;return this[_0x17a077(0x143)];}['getId'](){const _0x267859=_0x2f4013;return this[_0x267859(0x143)]['getUnitId']();}[_0x2f4013(0x127)](){const _0xdc00b8=_0x2f4013;return _0x248e19[_0xdc00b8(0x1a0)][_0xdc00b8(0x1be)](this[_0xdc00b8(0x143)][_0xdc00b8(0x131)]());}[_0x2f4013(0x1a6)](){const _0x2fe42e=_0x2f4013;return this[_0x2fe42e(0x143)][_0x2fe42e(0x131)]()[_0x2fe42e(0x1c7)];}[_0x2f4013(0x1b9)](_0x376333){const _0x95675b=_0x2f4013;this['_injector'][_0x95675b(0x146)](_0x248e19[_0x95675b(0x1ca)])[_0x95675b(0x16c)](_0x44ca51[_0x95675b(0x16b)]['id'],{'unitId':this['getId'](),'name':_0x376333});}[_0x2f4013(0x137)](){const _0x47f520=_0x2f4013;let _0x5ba876=this['_base'][_0x47f520(0x131)]();return _0x5ba876[_0x47f520(0x1f5)][_0x47f520(0x153)](_0x373a56=>_0x5ba876['tables'][_0x373a56])['filter'](_0x195b3a=>_0x195b3a)[_0x47f520(0x153)](_0x150361=>this[_0x47f520(0x12f)]['createInstance'](_0x4ab4c,this,_0x150361['id'],this[_0x47f520(0x12f)]));}['getTableById'](_0x2bb8bb){const _0x212cfc=_0x2f4013;let _0x1a6fdf=this[_0x212cfc(0x143)][_0x212cfc(0x131)]()[_0x212cfc(0x1d8)][_0x2bb8bb];return _0x1a6fdf?this['_injector']['createInstance'](_0x4ab4c,this,_0x1a6fdf['id'],this[_0x212cfc(0x12f)]):null;}[_0x2f4013(0x1a5)](_0x67b9f3){const _0x1bbe66=_0x2f4013;let _0x2842b3=this[_0x1bbe66(0x143)][_0x1bbe66(0x131)](),_0x592f5f=Object[_0x1bbe66(0x160)](_0x2842b3['tables'])[_0x1bbe66(0x152)](_0x198520=>_0x198520[_0x1bbe66(0x1c7)]===_0x67b9f3);return _0x592f5f?this[_0x1bbe66(0x12f)][_0x1bbe66(0x20f)](_0x4ab4c,this,_0x592f5f['id'],this['_injector']):null;}['insertTable'](_0x2f25ef,_0x551047){const _0x538078=_0x2f4013;var _0x11aaf5;let _0x1d836a=this[_0x538078(0x12f)]['get'](_0x248e19[_0x538078(0x1ca)]),_0x30b137=(0x0,_0x248e19[_0x538078(0x218)])({'id':(0x0,_0x248e19[_0x538078(0x147)])(),'name':_0x2f25ef,..._0x551047==null?void 0x0:_0x551047['table'],'primaryFieldName':_0x551047==null?void 0x0:_0x551047['primaryFieldName']}),_0x179ab3=_0x248e19['Tools']['commonExtend'](_0x30b137,(_0x11aaf5=_0x551047==null?void 0x0:_0x551047[_0x538078(0x134)])==null?{}:_0x11aaf5);if(!_0x1d836a['syncExecuteCommand'](_0x44ca51[_0x538078(0x174)]['id'],{'unitId':this[_0x538078(0x143)][_0x538078(0x13b)](),'table':_0x179ab3,'index':_0x551047==null?void 0x0:_0x551047[_0x538078(0x1f6)]}))throw Error(_0x538078(0x1ab)+_0x2f25ef+'\x22.');return this['_injector'][_0x538078(0x20f)](_0x4ab4c,this,_0x179ab3['id'],this[_0x538078(0x12f)]);}[_0x2f4013(0x198)](_0x30dcf8){const _0x4b976b=_0x2f4013;let _0xfab737=this[_0x4b976b(0x12f)]['get'](_0x248e19[_0x4b976b(0x1ca)]),_0x2d2bbf=typeof _0x30dcf8=='string'?_0x30dcf8:_0x30dcf8['getId']();if(!_0xfab737[_0x4b976b(0x16c)](_0x44ca51[_0x4b976b(0x18e)]['id'],{'unitId':this['_base'][_0x4b976b(0x13b)](),'tableId':_0x2d2bbf}))throw Error(_0x4b976b(0x171)+_0x2d2bbf+'\x22.');return!0x0;}['duplicateTable'](_0x3e875b,_0x20c75e){const _0x51a0c2=_0x2f4013;var _0x28ec6f,_0x1dde25;let _0x33856a=this[_0x51a0c2(0x12f)][_0x51a0c2(0x146)](_0x248e19[_0x51a0c2(0x1ca)]),_0x537674=this[_0x51a0c2(0x143)][_0x51a0c2(0x131)](),_0x2178ad=typeof _0x3e875b==_0x51a0c2(0x200)?_0x3e875b:_0x3e875b[_0x51a0c2(0x157)](),_0xe30963=_0x537674[_0x51a0c2(0x1d8)][_0x2178ad];if(!_0xe30963)throw Error(_0x51a0c2(0x1a4)+_0x2178ad+'\x22\x20does\x20not\x20exist.');let _0x306ef2=_0x537674['tableOrder'][_0x51a0c2(0x139)](_0x2178ad)+0x1,_0x57c3aa=(0x0,_0x44ca51[_0x51a0c2(0x12b)])(_0xe30963,{'id':(0x0,_0x248e19[_0x51a0c2(0x147)])(),'name':_0xe30963['name']+_0x51a0c2(0x14e),'includeRecords':(_0x28ec6f=_0x20c75e==null?void 0x0:_0x20c75e[_0x51a0c2(0x125)])==null?!0x1:_0x28ec6f,'regenerateViewIds':(_0x1dde25=_0x20c75e==null?void 0x0:_0x20c75e['regenerateViewIds'])==null?!0x1:_0x1dde25});if(!_0x33856a['syncExecuteCommand'](_0x44ca51['CreateBaseTableCommand']['id'],{'unitId':this['_base'][_0x51a0c2(0x13b)](),'table':_0x57c3aa,'index':_0x306ef2}))throw Error(_0x51a0c2(0x161)+_0x2178ad+'\x22.');return this[_0x51a0c2(0x12f)][_0x51a0c2(0x20f)](_0x4ab4c,this,_0x57c3aa['id'],this['_injector']);}[_0x2f4013(0x16d)](){const _0x35cf06=_0x2f4013;let _0x226fbc=this[_0x35cf06(0x143)][_0x35cf06(0x131)]();return{'id':_0x226fbc['id'],'name':_0x226fbc[_0x35cf06(0x1c7)],'tables':this[_0x35cf06(0x137)]()[_0x35cf06(0x153)](_0x4ce7f5=>_0x4ce7f5[_0x35cf06(0x16d)]())};}};_0xfbe76f=_0x4ba2b3([_0x3c42b2(0x1,(0x0,_0x248e19[_0x2f4013(0x14d)])(_0x248e19[_0x2f4013(0x228)]))],_0xfbe76f);var _0x1d6428=class extends _0x210b35[_0x2f4013(0x17c)]{['_initialize'](){const _0x565d4b=_0x2f4013;this[_0x565d4b(0x1f0)](),this[_0x565d4b(0x203)]();}[_0x2f4013(0x1a7)](_0x273e40={},_0x391b4b){const _0x581c9c=_0x2f4013;let _0x36f494=this[_0x581c9c(0x12f)][_0x581c9c(0x146)](_0x248e19[_0x581c9c(0x135)])[_0x581c9c(0x208)](_0x248e19[_0x581c9c(0x232)][_0x581c9c(0x1bf)],_0x273e40,_0x391b4b);return this[_0x581c9c(0x12f)][_0x581c9c(0x20f)](_0xfbe76f,_0x36f494);}[_0x2f4013(0x1ff)](){const _0x2e155e=_0x2f4013;let _0x285ba2=this[_0x2e155e(0x12f)]['get'](_0x248e19['IUniverInstanceService'])[_0x2e155e(0x1d5)](_0x248e19[_0x2e155e(0x232)]['UNIVER_BASE']);return _0x285ba2?this[_0x2e155e(0x12f)][_0x2e155e(0x20f)](_0xfbe76f,_0x285ba2):null;}['getBase'](_0x211d89){const _0x5b5700=_0x2f4013;let _0x3e910e=this['_injector'][_0x5b5700(0x146)](_0x248e19[_0x5b5700(0x135)])[_0x5b5700(0x164)](_0x211d89,_0x248e19[_0x5b5700(0x232)][_0x5b5700(0x1bf)]);return _0x3e910e?this[_0x5b5700(0x12f)][_0x5b5700(0x20f)](_0xfbe76f,_0x3e910e):null;}[_0x2f4013(0x22a)](){const _0x491b61=_0x2f4013;return this[_0x491b61(0x12f)][_0x491b61(0x146)](_0x248e19[_0x491b61(0x135)])['getAllUnitsForType'](_0x248e19[_0x491b61(0x232)][_0x491b61(0x1bf)])[_0x491b61(0x153)](_0x58fc24=>this[_0x491b61(0x12f)][_0x491b61(0x20f)](_0xfbe76f,_0x58fc24));}[_0x2f4013(0x203)](){const _0x56e2ea=_0x2f4013;let _0x23a9fb=this[_0x56e2ea(0x12f)][_0x56e2ea(0x146)](_0x248e19[_0x56e2ea(0x1ca)]);this['disposeWithMe'](this[_0x56e2ea(0x140)](this[_0x56e2ea(0x182)][_0x56e2ea(0x1b6)],()=>_0x23a9fb['onCommandExecuted'](_0x405626=>{const _0x1f4725=_0x56e2ea;if(_0x405626['id']!==_0x44ca51[_0x1f4725(0x174)]['id'])return;let {unitId:_0x2b603d,table:_0x2de2d9,index:_0x4ce2be}=_0x405626['params'],_0x3f7a61=this['getBase'](_0x2b603d);if(!_0x3f7a61)return;let _0x16bd33={'base':_0x3f7a61,'table':_0x2de2d9,'index':_0x4ce2be};this[_0x1f4725(0x1a1)](this[_0x1f4725(0x182)][_0x1f4725(0x1b6)],_0x16bd33);}))),this[_0x56e2ea(0x177)](this[_0x56e2ea(0x140)](this[_0x56e2ea(0x182)][_0x56e2ea(0x167)],()=>_0x23a9fb[_0x56e2ea(0x15f)](_0x444757=>{const _0x53df0f=_0x56e2ea;if(_0x444757['id']!==_0x44ca51[_0x53df0f(0x212)]['id'])return;let {unitId:_0x3668f6,tableId:_0x550d2b,field:_0x8bee4b,index:_0x4b8acc,viewIndexes:_0x655170}=_0x444757['params'],_0x4cb416=this['getBase'](_0x3668f6);if(!_0x4cb416)return;let _0x57418b=_0x4cb416[_0x53df0f(0x225)](_0x550d2b);if(!_0x57418b)return;let _0x4ba2f7={'base':_0x4cb416,'table':_0x57418b,'field':_0x8bee4b,'index':_0x4b8acc,'viewIndexes':_0x655170};this['fireEvent'](this['Event'][_0x53df0f(0x167)],_0x4ba2f7);}))),this[_0x56e2ea(0x177)](this[_0x56e2ea(0x140)](this[_0x56e2ea(0x182)][_0x56e2ea(0x1dd)],()=>_0x23a9fb[_0x56e2ea(0x15f)](_0x5c527b=>{const _0x5cef92=_0x56e2ea;var _0x4bcea5;if(_0x5c527b['id']!==_0x44ca51[_0x5cef92(0x151)]['id']&&_0x5c527b['id']!==_0x44ca51[_0x5cef92(0x120)]['id'])return;let _0x2c0f73=_0x5c527b[_0x5cef92(0x188)],{unitId:_0x23e0a4,tableId:_0x2183d1}=_0x2c0f73,_0x42a3f0=(_0x4bcea5=_0x2c0f73[_0x5cef92(0x209)])==null?[_0x2c0f73[_0x5cef92(0x133)]]:_0x4bcea5,_0x280314=this['getBase'](_0x23e0a4);if(!_0x280314)return;let _0x3bd2fd=_0x280314['getTableById'](_0x2183d1);if(!_0x3bd2fd)return;let _0x3a0839={'base':_0x280314,'table':_0x3bd2fd,'records':_0x42a3f0};this[_0x5cef92(0x1a1)](this[_0x5cef92(0x182)][_0x5cef92(0x1dd)],_0x3a0839);}))),this[_0x56e2ea(0x177)](this['registerEventHandler'](this['Event']['BaseTableViewCreated'],()=>_0x23a9fb[_0x56e2ea(0x15f)](_0x552a19=>{const _0x55cc00=_0x56e2ea;if(_0x552a19['id']!==_0x44ca51[_0x55cc00(0x19d)]['id'])return;let {unitId:_0x4622c7,tableId:_0x4b3c73,view:_0x44280b,index:_0x376186}=_0x552a19[_0x55cc00(0x188)],_0xd9218f=this['getBase'](_0x4622c7);if(!_0xd9218f)return;let _0xb13a52=_0xd9218f[_0x55cc00(0x225)](_0x4b3c73);if(!_0xb13a52)return;let _0x3c1c72={'base':_0xd9218f,'table':_0xb13a52,'view':_0x44280b,'index':_0x376186};this[_0x55cc00(0x1a1)](this[_0x55cc00(0x182)][_0x55cc00(0x21f)],_0x3c1c72);}))),this[_0x56e2ea(0x177)](this[_0x56e2ea(0x140)](this['Event'][_0x56e2ea(0x205)],()=>_0x23a9fb[_0x56e2ea(0x15f)](_0x7364da=>{const _0x247011=_0x56e2ea;if(_0x7364da['id']!==_0x44ca51[_0x247011(0x1e2)]['id'])return;let {unitId:_0x3f2c20,tableId:_0xb24932,recordId:_0xc90004,fieldId:_0x42d420,value:_0x412468}=_0x7364da[_0x247011(0x188)],_0x23fa4e=this[_0x247011(0x13e)](_0x3f2c20);if(!_0x23fa4e)return;let _0x27eb8e=_0x23fa4e[_0x247011(0x225)](_0xb24932);if(!_0x27eb8e)return;let _0x160a35=_0x27eb8e[_0x247011(0x11b)](_0x42d420);if(!_0x160a35)return;let _0x40bfc4=_0x27eb8e[_0x247011(0x12a)](_0xc90004);if(!_0x40bfc4)return;let _0x3aeadd={'base':_0x23fa4e,'table':_0x27eb8e,'field':_0x160a35,'record':_0x40bfc4,'value':_0x412468};this[_0x247011(0x1a1)](this[_0x247011(0x182)]['BaseTableCellValueChanged'],_0x3aeadd);})));}['_initBaseBeforeEvents'](){const _0x2b0358=_0x2f4013;let _0x21a3b1=this['_injector']['get'](_0x248e19[_0x2b0358(0x1ca)]);this[_0x2b0358(0x177)](this[_0x2b0358(0x140)](this[_0x2b0358(0x182)][_0x2b0358(0x215)],()=>_0x21a3b1[_0x2b0358(0x20a)](_0x2c1422=>{const _0x5d525d=_0x2b0358;if(_0x2c1422['id']!==_0x44ca51[_0x5d525d(0x174)]['id'])return;let {unitId:_0x5eb6a5,table:_0x219072,index:_0x1fbd46}=_0x2c1422[_0x5d525d(0x188)],_0x419b91=this[_0x5d525d(0x13e)](_0x5eb6a5);if(!_0x419b91)return;let _0x12644e={'base':_0x419b91,'table':_0x219072,'index':_0x1fbd46};if(this[_0x5d525d(0x1a1)](this[_0x5d525d(0x182)][_0x5d525d(0x215)],_0x12644e),_0x12644e[_0x5d525d(0x210)])throw new _0x248e19[(_0x5d525d(0x1c5))]();}))),this[_0x2b0358(0x177)](this['registerEventHandler'](this[_0x2b0358(0x182)][_0x2b0358(0x196)],()=>_0x21a3b1[_0x2b0358(0x20a)](_0x1e671a=>{const _0x2de73c=_0x2b0358;if(_0x1e671a['id']!==_0x44ca51['CreateBaseFieldCommand']['id'])return;let {unitId:_0x3c16e6,tableId:_0x18f801,field:_0x23a66d,index:_0x1c7615,viewIndexes:_0x55f307}=_0x1e671a[_0x2de73c(0x188)],_0x3366d7=this[_0x2de73c(0x13e)](_0x3c16e6);if(!_0x3366d7)return;let _0x53769b=_0x3366d7['getTableById'](_0x18f801);if(!_0x53769b)return;let _0x485ca9={'base':_0x3366d7,'table':_0x53769b,'field':_0x23a66d,'index':_0x1c7615,'viewIndexes':_0x55f307};if(this[_0x2de73c(0x1a1)](this['Event']['BeforeBaseTableFieldCreate'],_0x485ca9),_0x485ca9[_0x2de73c(0x210)])throw new _0x248e19[(_0x2de73c(0x1c5))]();}))),this['disposeWithMe'](this[_0x2b0358(0x140)](this['Event'][_0x2b0358(0x1f3)],()=>_0x21a3b1[_0x2b0358(0x20a)](_0x4c7318=>{const _0x1d41ff=_0x2b0358;var _0xabd53f;if(_0x4c7318['id']!==_0x44ca51[_0x1d41ff(0x151)]['id']&&_0x4c7318['id']!==_0x44ca51[_0x1d41ff(0x120)]['id'])return;let _0x110a08=_0x4c7318[_0x1d41ff(0x188)],{unitId:_0x2551fe,tableId:_0x30b117}=_0x110a08,_0x30e233=(_0xabd53f=_0x110a08[_0x1d41ff(0x209)])==null?[_0x110a08[_0x1d41ff(0x133)]]:_0xabd53f,_0x7314b7=this[_0x1d41ff(0x13e)](_0x2551fe);if(!_0x7314b7)return;let _0x42a3ef=_0x7314b7[_0x1d41ff(0x225)](_0x30b117);if(!_0x42a3ef)return;let _0x219e27={'base':_0x7314b7,'table':_0x42a3ef,'records':_0x30e233};if(this[_0x1d41ff(0x1a1)](this[_0x1d41ff(0x182)]['BeforeBaseTableRecordCreate'],_0x219e27),_0x219e27['cancel'])throw new _0x248e19[(_0x1d41ff(0x1c5))]();}))),this['disposeWithMe'](this[_0x2b0358(0x140)](this[_0x2b0358(0x182)][_0x2b0358(0x1cc)],()=>_0x21a3b1[_0x2b0358(0x20a)](_0x3463c3=>{const _0x4da388=_0x2b0358;if(_0x3463c3['id']!==_0x44ca51[_0x4da388(0x19d)]['id'])return;let {unitId:_0x3c0100,tableId:_0x57ba85,view:_0x1cca0e,index:_0x39d7c8}=_0x3463c3[_0x4da388(0x188)],_0x4d05d9=this[_0x4da388(0x13e)](_0x3c0100);if(!_0x4d05d9)return;let _0x26b33e=_0x4d05d9[_0x4da388(0x225)](_0x57ba85);if(!_0x26b33e)return;let _0x3a9496={'base':_0x4d05d9,'table':_0x26b33e,'view':_0x1cca0e,'index':_0x39d7c8};if(this[_0x4da388(0x1a1)](this[_0x4da388(0x182)][_0x4da388(0x1cc)],_0x3a9496),_0x3a9496[_0x4da388(0x210)])throw new _0x248e19[(_0x4da388(0x1c5))]();}))),this[_0x2b0358(0x177)](this[_0x2b0358(0x140)](this[_0x2b0358(0x182)]['BeforeBaseTableCellValueChange'],()=>_0x21a3b1[_0x2b0358(0x20a)](_0x46f2ac=>{const _0x54f574=_0x2b0358;if(_0x46f2ac['id']!==_0x44ca51[_0x54f574(0x1e2)]['id'])return;let {unitId:_0x3317fe,tableId:_0xb6bc77,recordId:_0x4c8cc6,fieldId:_0x29b79b,value:_0x2a6395}=_0x46f2ac['params'],_0x3c07fc=this[_0x54f574(0x13e)](_0x3317fe);if(!_0x3c07fc)return;let _0x400d16=_0x3c07fc[_0x54f574(0x225)](_0xb6bc77);if(!_0x400d16)return;let _0x44d72f=_0x400d16[_0x54f574(0x11b)](_0x29b79b);if(!_0x44d72f)return;let _0x5cc290=_0x400d16['getRecordById'](_0x4c8cc6);if(!_0x5cc290)return;let _0x47a2fb={'base':_0x3c07fc,'table':_0x400d16,'field':_0x44d72f,'record':_0x5cc290,'value':_0x2a6395};if(this[_0x54f574(0x1a1)](this[_0x54f574(0x182)][_0x54f574(0x1ec)],_0x47a2fb),_0x47a2fb[_0x54f574(0x210)])throw new _0x248e19[(_0x54f574(0x1c5))]();})));}};_0x210b35[_0x2f4013(0x17c)][_0x2f4013(0x1bd)](_0x1d6428);var _0x350c72=class extends _0x210b35['FEnum']{get['BaseFieldType'](){return _0x248e19['BaseFieldType'];}get[_0x2f4013(0x18c)](){const _0x2b4c23=_0x2f4013;return _0x248e19[_0x2b4c23(0x18c)];}get['BaseFilterOperator'](){return _0x248e19['BaseFilterOperator'];}get[_0x2f4013(0x1a8)](){return _0x3f327f;}get[_0x2f4013(0x15e)](){const _0x3d7192=_0x2f4013;return _0x248e19[_0x3d7192(0x15e)];}get[_0x2f4013(0x187)](){const _0x1ce481=_0x2f4013;return _0x248e19[_0x1ce481(0x187)];}};_0x210b35[_0x2f4013(0x184)][_0x2f4013(0x1bd)](_0x350c72);var _0x53f7c2=class extends _0x210b35['FEventName']{get[_0x2f4013(0x1b6)](){const _0x2ff975=_0x2f4013;return _0x2ff975(0x1b6);}get[_0x2f4013(0x215)](){const _0x28488c=_0x2f4013;return _0x28488c(0x215);}get[_0x2f4013(0x167)](){const _0x534681=_0x2f4013;return _0x534681(0x167);}get[_0x2f4013(0x196)](){return'BeforeBaseTableFieldCreate';}get[_0x2f4013(0x1dd)](){return'BaseTableRecordCreated';}get[_0x2f4013(0x1f3)](){const _0x3f3677=_0x2f4013;return _0x3f3677(0x1f3);}get['BaseTableViewCreated'](){return'BaseTableViewCreated';}get[_0x2f4013(0x1cc)](){const _0x149620=_0x2f4013;return _0x149620(0x1cc);}get[_0x2f4013(0x205)](){const _0x354803=_0x2f4013;return _0x354803(0x205);}get[_0x2f4013(0x1ec)](){const _0xf0b2b5=_0x2f4013;return _0xf0b2b5(0x1ec);}};_0x210b35['FEventName'][_0x2f4013(0x1bd)](_0x53f7c2),_0x1cf2ae[_0x2f4013(0x1a8)]=_0x3f327f,Object[_0x2f4013(0x149)](_0x1cf2ae,'FBase',{'enumerable':!0x0,'get':function(){return _0xfbe76f;}}),_0x1cf2ae[_0x2f4013(0x123)]=_0x4ab4c,_0x1cf2ae['FBaseTableField']=_0x2d9779,_0x1cf2ae[_0x2f4013(0x17a)]=_0x5f0e81,_0x1cf2ae['FBaseTableRecord']=_0x5b39e2,_0x1cf2ae[_0x2f4013(0x193)]=_0x3bf3d6,_0x1cf2ae[_0x2f4013(0x194)]=_0x53f7c2,_0x1cf2ae[_0x2f4013(0x138)]=_0x5419b2,_0x1cf2ae[_0x2f4013(0x11e)]=_0x3d4450;}));function _0x47c5(){const _0x561ac1=['deepClone','UNIVER_BASE','ensureBaseTableCellLayout','caseSensitive','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','setFilter','getDefaultValue','CanceledError','Date','name','getDescription','setSort','ICommandService','_getView','BeforeBaseTableViewCreate','SetBaseViewFieldWidthCommand','Gallery','UniverProBasesFacade','getTable','_assertInBounds','readonly','Calendar','direction','getCurrentUnitOfType','Name','fieldKey','tables','createdAt','test','max','recordId','BaseTableRecordCreated','message','RenameBaseViewCommand','Failed\x20to\x20create\x20view\x20\x22','3106064buVPPX','UpdateBaseCellCommand','searchBaseTable','DuplicateBaseRecordCommand','BaseFieldType','getRecord','[FBaseRange]:\x20table\x20does\x20not\x20exist.','getRow','deleteRecords','setConfig','matches','BeforeBaseTableCellValueChange','Failed\x20to\x20add\x20field\x20\x22','slice','views','_initBaseBeforeEvents','startColumn','_getField','BeforeBaseTableRecordCreate','getNumColumns','tableOrder','index','orderKey',',\x20max\x20columns:\x20','MoveBaseViewCommand','Duplicate\x20Base\x20field\x20name:\x20','[FField]:\x20field\x20\x22','tableId','rows','update','getActiveBase','string','getValue','setValue','_initBaseAfterEvents','every','BaseTableCellValueChanged','number','_getRecord','createUnit','records','beforeCommandExecuted','primaryFieldId','DeleteBaseViewCommand','isReadonly','fieldSettings','createInstance','cancel','config','CreateBaseFieldCommand','auto','fields','BeforeBaseTableCreate','addRecords','conditions','createDefaultBaseTableSnapshot','getBaseCellValue','1452456noORHh','_resolveRecordIds','getBaseId','field','delete','BaseTableViewCreated','[FBaseRange]:\x20values\x20size\x20','move','setValues','addRecord','getViewByName','getTableById','visibleCardFieldIds','stringify','Injector','4AzgJzV','getBases','setOrderKey','getPrimaryField','UpdateBaseFieldCommand','1452528zJeqau','some','fieldId','SetBaseViewFieldOrderCommand','UniverInstanceType','setDefaultValue','Kanban','getSort','endRow','flatMap','getFieldSettings','getFieldById','invalid','localeCompare','resolveBaseFieldValues','exports','BatchCreateBaseRecordsCommand','2atrqnG','isArray','FBaseTable','decorate','includeRecords','726714AxTIKe','save','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','Gantt','getRecordById','copyBaseTableSnapshot','hidden','createView','ChangeBaseFieldTypeCommand','_injector','@univerjs/core','getSnapshot','updateConfig','record','table','IUniverInstanceService','Base\x20field\x20not\x20found:\x20','getTables','resolveBaseFieldKey','indexOf','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','getUnitId','_inject','now','getBase','getValues','registerEventHandler','DESC','@univerjs-pro/bases','_base','getFields','[FRecord]:\x20record\x20\x22','get','generateRandomId','function','defineProperty','view','duplicate','@univerjs/core/facade','Inject','\x20Copy','BatchDeleteBaseRecordsCommand','getNumRows','CreateBaseRecordCommand','find','map','getProjection','filter','setGroup','getId','recordOrder','SetBaseViewFilterCommand','amd','896820kEIwiE','updatedAt','endColumn','BaseViewType','onCommandExecuted','values','Failed\x20to\x20duplicate\x20table\x20\x22','viewId','setFieldWidth','getUnit','getView','_recordId','BaseTableFieldCreated','value','View\x20type\x20is\x20required','Module','SetBaseNameCommand','syncExecuteCommand','getSchema','getViews','getGroup','sort','Failed\x20to\x20delete\x20table\x20\x22','getVisibleFields','[FView]:\x20view\x20\x22','CreateBaseTableCommand','toStringTag','UpdateBaseViewConfigCommand','disposeWithMe','getRange','startRow','FBaseTableRange','1326306oRFbMU','FUniver','getViewById','queryRecords','SetBaseViewSortCommand','SetBaseRangeValuesCommand','UpdateBaseRecordOrderCommand','Event','_table','FEnum','IBaseProjectionService','fieldIds','BaseSortDirection','params','operator','\x22\x20does\x20not\x20exist.','getType','BaseFilterConjunction','fieldOrder','DeleteBaseTableCommand','from','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','push','205330cgamac','FBaseTableView','FBasesEventNameMixin','group','BeforeBaseTableFieldCreate','_range','deleteTable','viewOrder','getConfig','UniverCoreFacade','_tableId','CreateBaseViewCommand','limit','type','Tools','fireEvent','offset','_viewId','[FBase]:\x20table\x20\x22','getTableByName','getName','createBase','BaseFieldKeyEnum','entries','Field\x20type\x20is\x20required','Failed\x20to\x20create\x20table\x20\x22','getOwnPropertyDescriptor','moveField','_fieldId','DeleteBaseRecordCommand','getTableId','_getTable','AND','length',',\x20range:\x20','Grid','BaseTableCreated','RenameBaseTableCommand','clear','setName','getField','description','object','extend'];_0x47c5=function(){return _0x561ac1;};return _0x47c5();}
|