@ai-table/state 0.0.12 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- package/action/field.d.ts +14 -0
- package/action/field.d.ts.map +1 -0
- package/action/general.d.ts +5 -0
- package/action/general.d.ts.map +1 -0
- package/action/index.d.ts +17 -0
- package/action/index.d.ts.map +1 -0
- package/action/position.d.ts +9 -0
- package/action/position.d.ts.map +1 -0
- package/action/record.d.ts +13 -0
- package/action/record.d.ts.map +1 -0
- package/{view/action → action}/view.d.ts +1 -1
- package/action/view.d.ts.map +1 -0
- package/constants/field-menu-item.d.ts +22 -0
- package/constants/field-menu-item.d.ts.map +1 -0
- package/constants/index.d.ts +3 -0
- package/constants/index.d.ts.map +1 -0
- package/constants/view.d.ts +3 -0
- package/constants/view.d.ts.map +1 -0
- package/esm2022/action/field.mjs +57 -0
- package/esm2022/action/general.mjs +179 -0
- package/esm2022/action/index.mjs +13 -0
- package/esm2022/action/position.mjs +21 -0
- package/esm2022/action/record.mjs +44 -0
- package/esm2022/action/view.mjs +47 -0
- package/esm2022/constants/field-menu-item.mjs +39 -0
- package/esm2022/constants/index.mjs +3 -0
- package/esm2022/constants/view.mjs +3 -0
- package/esm2022/plugins/state.plugin.mjs +20 -0
- package/esm2022/public-api.mjs +4 -4
- package/esm2022/shared/to-table/array-event.mjs +9 -9
- package/esm2022/shared/to-table/index.mjs +2 -2
- package/esm2022/shared/to-table/map-event.mjs +3 -4
- package/esm2022/shared/to-yjs/add-node.mjs +5 -5
- package/esm2022/shared/to-yjs/index.mjs +1 -1
- package/esm2022/shared/to-yjs/remove-node.mjs +4 -5
- package/esm2022/shared/to-yjs/set-node.mjs +3 -4
- package/esm2022/shared/to-yjs/update-field-value.mjs +1 -1
- package/esm2022/shared/utils/init-shared.mjs +1 -1
- package/esm2022/types/action.mjs +23 -0
- package/esm2022/types/ai-table.mjs +2 -0
- package/esm2022/types/index.mjs +4 -1
- package/esm2022/types/view.mjs +1 -12
- package/esm2022/utils/build.mjs +7 -7
- package/esm2022/utils/common.mjs +21 -1
- package/esm2022/utils/field/add-fields.mjs +19 -0
- package/esm2022/utils/field/model/date.mjs +74 -0
- package/esm2022/utils/field/model/field.mjs +63 -0
- package/esm2022/utils/field/model/index.mjs +22 -0
- package/esm2022/utils/field/model/number.mjs +46 -0
- package/esm2022/utils/field/model/rate.mjs +38 -0
- package/esm2022/utils/field/model/select.mjs +55 -0
- package/esm2022/utils/field/model/text.mjs +27 -0
- package/esm2022/utils/field/sort-fields.mjs +5 -0
- package/esm2022/utils/index.mjs +9 -3
- package/esm2022/utils/record/add-records.mjs +48 -0
- package/esm2022/utils/record/filter.mjs +65 -0
- package/esm2022/utils/record/sort.mjs +34 -0
- package/esm2022/utils/record/update-field-value.mjs +5 -0
- package/esm2022/utils/view.mjs +6 -11
- package/esm2022/utils/weak-map.mjs +2 -0
- package/fesm2022/ai-table-state.mjs +710 -437
- package/fesm2022/ai-table-state.mjs.map +1 -1
- package/package.json +1 -1
- package/plugins/state.plugin.d.ts +3 -0
- package/plugins/state.plugin.d.ts.map +1 -0
- package/public-api.d.ts +3 -3
- package/public-api.d.ts.map +1 -1
- package/shared/to-table/array-event.d.ts +2 -3
- package/shared/to-table/array-event.d.ts.map +1 -1
- package/shared/to-table/index.d.ts +2 -2
- package/shared/to-table/index.d.ts.map +1 -1
- package/shared/to-table/map-event.d.ts +2 -2
- package/shared/to-table/map-event.d.ts.map +1 -1
- package/shared/to-yjs/add-node.d.ts +1 -2
- package/shared/to-yjs/add-node.d.ts.map +1 -1
- package/shared/to-yjs/index.d.ts +2 -2
- package/shared/to-yjs/index.d.ts.map +1 -1
- package/shared/to-yjs/remove-node.d.ts +1 -2
- package/shared/to-yjs/remove-node.d.ts.map +1 -1
- package/shared/to-yjs/set-node.d.ts +1 -2
- package/shared/to-yjs/set-node.d.ts.map +1 -1
- package/shared/to-yjs/update-field-value.d.ts +1 -2
- package/shared/to-yjs/update-field-value.d.ts.map +1 -1
- package/shared/utils/init-shared.d.ts.map +1 -1
- package/types/action.d.ts +90 -0
- package/types/action.d.ts.map +1 -0
- package/types/ai-table.d.ts +15 -0
- package/types/ai-table.d.ts.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.d.ts.map +1 -1
- package/types/view.d.ts +1 -47
- package/types/view.d.ts.map +1 -1
- package/utils/build.d.ts +3 -4
- package/utils/build.d.ts.map +1 -1
- package/utils/common.d.ts +5 -0
- package/utils/common.d.ts.map +1 -1
- package/utils/field/add-fields.d.ts +4 -0
- package/utils/field/add-fields.d.ts.map +1 -0
- package/utils/field/{date.d.ts → model/date.d.ts} +1 -1
- package/utils/field/model/date.d.ts.map +1 -0
- package/utils/field/{field.d.ts → model/field.d.ts} +1 -1
- package/utils/field/model/field.d.ts.map +1 -0
- package/utils/field/model/index.d.ts.map +1 -0
- package/utils/field/{number.d.ts → model/number.d.ts} +1 -1
- package/utils/field/model/number.d.ts.map +1 -0
- package/utils/field/{rate.d.ts → model/rate.d.ts} +1 -1
- package/utils/field/model/rate.d.ts.map +1 -0
- package/utils/field/{select.d.ts → model/select.d.ts} +1 -1
- package/utils/field/model/select.d.ts.map +1 -0
- package/utils/field/{text.d.ts → model/text.d.ts} +1 -1
- package/utils/field/model/text.d.ts.map +1 -0
- package/utils/field/sort-fields.d.ts +4 -0
- package/utils/field/sort-fields.d.ts.map +1 -0
- package/utils/index.d.ts +8 -2
- package/utils/index.d.ts.map +1 -1
- package/utils/record/add-records.d.ts +5 -0
- package/utils/record/add-records.d.ts.map +1 -0
- package/utils/record/filter.d.ts +6 -0
- package/utils/record/filter.d.ts.map +1 -0
- package/utils/record/sort.d.ts +5 -0
- package/utils/record/sort.d.ts.map +1 -0
- package/utils/record/update-field-value.d.ts +4 -0
- package/utils/record/update-field-value.d.ts.map +1 -0
- package/utils/view.d.ts +1 -2
- package/utils/view.d.ts.map +1 -1
- package/utils/weak-map.d.ts +3 -0
- package/utils/weak-map.d.ts.map +1 -0
- package/esm2022/utils/field/date.mjs +0 -74
- package/esm2022/utils/field/field.mjs +0 -63
- package/esm2022/utils/field/index.mjs +0 -22
- package/esm2022/utils/field/number.mjs +0 -46
- package/esm2022/utils/field/rate.mjs +0 -38
- package/esm2022/utils/field/select.mjs +0 -55
- package/esm2022/utils/field/text.mjs +0 -27
- package/esm2022/utils/filter-records.mjs +0 -52
- package/esm2022/utils/sort-records.mjs +0 -34
- package/esm2022/view/action/general.mjs +0 -137
- package/esm2022/view/action/index.mjs +0 -4
- package/esm2022/view/action/position.mjs +0 -21
- package/esm2022/view/action/view.mjs +0 -47
- package/esm2022/view/constants/view.mjs +0 -4
- package/esm2022/view/plugins/view.plugin.mjs +0 -34
- package/utils/field/date.d.ts.map +0 -1
- package/utils/field/field.d.ts.map +0 -1
- package/utils/field/index.d.ts.map +0 -1
- package/utils/field/number.d.ts.map +0 -1
- package/utils/field/rate.d.ts.map +0 -1
- package/utils/field/select.d.ts.map +0 -1
- package/utils/field/text.d.ts.map +0 -1
- package/utils/filter-records.d.ts +0 -5
- package/utils/filter-records.d.ts.map +0 -1
- package/utils/sort-records.d.ts +0 -5
- package/utils/sort-records.d.ts.map +0 -1
- package/view/action/general.d.ts +0 -14
- package/view/action/general.d.ts.map +0 -1
- package/view/action/index.d.ts +0 -4
- package/view/action/index.d.ts.map +0 -1
- package/view/action/position.d.ts +0 -8
- package/view/action/position.d.ts.map +0 -1
- package/view/action/view.d.ts.map +0 -1
- package/view/constants/view.d.ts +0 -4
- package/view/constants/view.d.ts.map +0 -1
- package/view/plugins/view.plugin.d.ts +0 -3
- package/view/plugins/view.plugin.d.ts.map +0 -1
- /package/utils/field/{index.d.ts → model/index.d.ts} +0 -0
package/package.json
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.plugin.d.ts","sourceRoot":"","sources":["../../../packages/state/src/plugins/state.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAKzC,eAAO,MAAM,SAAS,YAAa,OAAO,YAkBzC,CAAC"}
|
package/public-api.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export * from './shared';
|
2
2
|
export * from './types';
|
3
|
-
export * from './view/action';
|
4
|
-
export * from './view/plugins/view.plugin';
|
5
|
-
export * from './view/constants/view';
|
6
3
|
export * from './utils';
|
4
|
+
export * from './plugins/state.plugin';
|
5
|
+
export * from './action';
|
6
|
+
export * from './constants';
|
7
7
|
//# sourceMappingURL=public-api.d.ts.map
|
package/public-api.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../packages/state/src/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../packages/state/src/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { ActionName } from '@ai-table/grid';
|
2
1
|
import * as Y from 'yjs';
|
3
|
-
import {
|
4
|
-
export default function translateArrayEvent(aiTable: AIViewTable, sharedType: SharedType, event: Y.YEvent<any>):
|
2
|
+
import { ActionName, AITableAction, AIViewTable, SharedType, SyncMapElement } from '../../types';
|
3
|
+
export default function translateArrayEvent(aiTable: AIViewTable, sharedType: SharedType, event: Y.YEvent<any>): AITableAction[];
|
5
4
|
export declare function isAddOrRemove(targetPath: number[]): boolean;
|
6
5
|
export declare function isPositionOperation(fieldIndex: number, sharedFields: Y.Array<SyncMapElement>): boolean;
|
7
6
|
export declare function getRemoveIds(event: Y.YEvent<any>, type: ActionName.RemoveField | ActionName.RemoveRecord): [string][];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"array-event.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-table/array-event.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"array-event.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-table/array-event.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACH,UAAU,EACV,aAAa,EAIb,WAAW,EACX,UAAU,EAEV,cAAc,EACjB,MAAM,aAAa,CAAC;AAKrB,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,EAAE,CA2I/H;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAE3D;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,OAAO,CAEtG;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,WAAW,GAAG,UAAU,CAAC,YAAY,cAyBxG"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as Y from 'yjs';
|
2
|
-
import {
|
3
|
-
export declare function translateYjsEvent(aiTable: AIViewTable, sharedType: SharedType, event: Y.YEvent<any>):
|
2
|
+
import { AITableAction, AIViewTable, SharedType } from '../../types';
|
3
|
+
export declare function translateYjsEvent(aiTable: AIViewTable, sharedType: SharedType, event: Y.YEvent<any>): AITableAction[];
|
4
4
|
export declare function applyEvents(aiTable: AIViewTable, sharedType: SharedType, events: Y.YEvent<any>[]): void;
|
5
5
|
export declare function applyYjsEvents(aiTable: AIViewTable, sharedType: SharedType, events: Y.YEvent<any>[]): void;
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAKrE,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,EAAE,CAQrH;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,QAMhG;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,IAAI,CAQ1G"}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import * as Y from 'yjs';
|
2
|
-
import {
|
3
|
-
export default function translateMapEvent(aiTable: AIViewTable, sharedType: SharedType, event: Y.YMapEvent<unknown>):
|
2
|
+
import { AITableAction, AIViewTable, SharedType } from '../../types';
|
3
|
+
export default function translateMapEvent(aiTable: AIViewTable, sharedType: SharedType, event: Y.YMapEvent<unknown>): AITableAction[];
|
4
4
|
//# sourceMappingURL=map-event.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"map-event.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-table/map-event.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,
|
1
|
+
{"version":3,"file":"map-event.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-table/map-event.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAc,aAAa,EAAe,WAAW,EAAE,UAAU,EAAkB,MAAM,aAAa,CAAC;AAE9G,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACrC,OAAO,EAAE,WAAW,EACpB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAC5B,aAAa,EAAE,CAkDjB"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { AddRecordPositionAction, AddViewAction, SharedType } from '../../types';
|
2
|
-
import { AddFieldAction, AddRecordAction } from '@ai-table/grid';
|
1
|
+
import { AddFieldAction, AddRecordAction, AddRecordPositionAction, AddViewAction, SharedType } from '../../types';
|
3
2
|
export default function addNode(sharedType: SharedType, action: AddFieldAction | AddRecordAction | AddViewAction | AddRecordPositionAction): SharedType;
|
4
3
|
//# sourceMappingURL=add-node.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"add-node.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-yjs/add-node.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"add-node.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-yjs/add-node.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,cAAc,EACd,eAAe,EACf,uBAAuB,EACvB,aAAa,EAEb,UAAU,EAGb,MAAM,aAAa,CAAC;AAGrB,MAAM,CAAC,OAAO,UAAU,OAAO,CAC3B,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,cAAc,GAAG,eAAe,GAAG,aAAa,GAAG,uBAAuB,GACnF,UAAU,CAqCZ"}
|
package/shared/to-yjs/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { AITable
|
2
|
-
import { SharedType } from '../../types';
|
1
|
+
import { AITable } from '@ai-table/grid';
|
2
|
+
import { AITableAction, SharedType } from '../../types';
|
3
3
|
export type ActionMapper<O extends AITableAction = AITableAction> = {
|
4
4
|
[K in O['type']]: O extends {
|
5
5
|
type: K;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-yjs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-yjs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAKxD,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,IAAI;KAC/D,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK;CACjE,CAAC;AAEF,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,IAAI,CAAC,UAAU,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,KAAK,UAAU,CAAC;AAE/G,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,CAYpD,CAAC;AAEF,wBAAgB,cAAc,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,OAAO,EAAE,OAAO,GAAG,UAAU,CAc7G"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { RemoveFieldAction, RemoveRecordAction } from '
|
2
|
-
import { RemoveRecordPositionAction, RemoveViewAction, SharedType } from '../../types';
|
1
|
+
import { RemoveFieldAction, RemoveRecordAction, RemoveRecordPositionAction, RemoveViewAction, SharedType } from '../../types';
|
3
2
|
export default function removeNode(sharedType: SharedType, action: RemoveFieldAction | RemoveRecordAction | RemoveViewAction | RemoveRecordPositionAction): SharedType;
|
4
3
|
//# sourceMappingURL=remove-node.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"remove-node.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-yjs/remove-node.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"remove-node.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-yjs/remove-node.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,iBAAiB,EACjB,kBAAkB,EAClB,0BAA0B,EAC1B,gBAAgB,EAChB,UAAU,EAGb,MAAM,aAAa,CAAC;AAGrB,MAAM,CAAC,OAAO,UAAU,UAAU,CAC9B,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,iBAAiB,GAAG,kBAAkB,GAAG,gBAAgB,GAAG,0BAA0B,GAC/F,UAAU,CAgDZ"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { SetViewAction, SharedType } from '../../types';
|
2
|
-
import { SetFieldAction } from '@ai-table/grid';
|
1
|
+
import { SetFieldAction, SetViewAction, SharedType } from '../../types';
|
3
2
|
export default function setNode(sharedType: SharedType, action: SetFieldAction | SetViewAction): SharedType;
|
4
3
|
//# sourceMappingURL=set-node.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"set-node.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-yjs/set-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,UAAU,
|
1
|
+
{"version":3,"file":"set-node.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-yjs/set-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,EAAE,aAAa,EAAE,UAAU,EAAkB,MAAM,aAAa,CAAC;AAGpG,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,GAAG,aAAa,GAAG,UAAU,CA6B1G"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { UpdateFieldValueAction } from '
|
2
|
-
import { SharedType } from '../../types';
|
1
|
+
import { SharedType, UpdateFieldValueAction } from '../../types';
|
3
2
|
export default function updateFieldValue(sharedType: SharedType, action: UpdateFieldValueAction): SharedType;
|
4
3
|
//# sourceMappingURL=update-field-value.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-field-value.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-yjs/update-field-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"update-field-value.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/to-yjs/update-field-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAoC,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAInG,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,sBAAsB,GAAG,UAAU,CAe3G"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"init-shared.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/utils/init-shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,YAAY,
|
1
|
+
{"version":3,"file":"init-shared.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/shared/utils/init-shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAErH,eAAO,MAAM,gBAAgB,kBAI5B,CAAC;AAEF,eAAO,MAAM,cAAc,QAClB,EAAE,GAAG,mBACO;IACb,MAAM,EAAE,iBAAiB,CAAC;IAC1B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,YAAY,CAAC;CACvB,eAKJ,CAAC;AAEF,wBAAgB,YAAY,CACxB,UAAU,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EACtB,IAAI,EAAE;IACF,MAAM,EAAE,iBAAiB,CAAC;IAC1B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,YAAY,CAAC;CACvB,GACF,IAAI,CAcN;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAMvD;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAiBpF"}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
import { AIFieldValueIdPath, AITableField, AITableRecord, IdPath, NumberPath } from '@ai-table/grid';
|
2
|
+
import { AITableView, Positions } from './view';
|
3
|
+
export declare enum ActionName {
|
4
|
+
UpdateFieldValue = "update_field_value",
|
5
|
+
AddRecord = "add_record",
|
6
|
+
AddField = "add_field",
|
7
|
+
MoveField = "move_field",
|
8
|
+
MoveRecord = "move_record",
|
9
|
+
RemoveField = "remove_field",
|
10
|
+
RemoveRecord = "remove_record",
|
11
|
+
SetField = "set_field",
|
12
|
+
SetView = "set_view",
|
13
|
+
AddView = "add_view",
|
14
|
+
RemoveView = "remove_view",
|
15
|
+
AddRecordPosition = "add_record_position",
|
16
|
+
RemoveRecordPosition = "remove_record_position"
|
17
|
+
}
|
18
|
+
export declare enum ExecuteType {
|
19
|
+
Execute = 0,
|
20
|
+
Undo = 1,
|
21
|
+
Redo = 2
|
22
|
+
}
|
23
|
+
export type UpdateFieldValueAction = {
|
24
|
+
type: ActionName.UpdateFieldValue;
|
25
|
+
path: AIFieldValueIdPath;
|
26
|
+
fieldValue: any;
|
27
|
+
newFieldValue: any;
|
28
|
+
};
|
29
|
+
export type AddRecordAction = {
|
30
|
+
type: ActionName.AddRecord;
|
31
|
+
path: NumberPath;
|
32
|
+
record: AITableRecord;
|
33
|
+
};
|
34
|
+
export type AddFieldAction = {
|
35
|
+
type: ActionName.AddField;
|
36
|
+
path: NumberPath;
|
37
|
+
field: AITableField;
|
38
|
+
};
|
39
|
+
export type MoveFieldAction = {
|
40
|
+
type: ActionName.MoveField;
|
41
|
+
path: NumberPath;
|
42
|
+
newPath: NumberPath;
|
43
|
+
};
|
44
|
+
export type MoveRecordAction = {
|
45
|
+
type: ActionName.MoveRecord;
|
46
|
+
path: NumberPath;
|
47
|
+
newPath: NumberPath;
|
48
|
+
};
|
49
|
+
export type RemoveFieldAction = {
|
50
|
+
type: ActionName.RemoveField;
|
51
|
+
path: IdPath;
|
52
|
+
};
|
53
|
+
export type RemoveRecordAction = {
|
54
|
+
type: ActionName.RemoveRecord;
|
55
|
+
path: IdPath;
|
56
|
+
};
|
57
|
+
export type SetFieldAction = {
|
58
|
+
type: ActionName.SetField;
|
59
|
+
path: IdPath;
|
60
|
+
properties: Partial<AITableField>;
|
61
|
+
newProperties: Partial<AITableField>;
|
62
|
+
};
|
63
|
+
export interface SetViewAction {
|
64
|
+
type: ActionName.SetView;
|
65
|
+
properties: Partial<AITableView>;
|
66
|
+
newProperties: Partial<AITableView>;
|
67
|
+
path: IdPath;
|
68
|
+
}
|
69
|
+
export interface AddViewAction {
|
70
|
+
type: ActionName.AddView;
|
71
|
+
view: AITableView;
|
72
|
+
path: [number];
|
73
|
+
}
|
74
|
+
export interface RemoveViewAction {
|
75
|
+
type: ActionName.RemoveView;
|
76
|
+
path: IdPath;
|
77
|
+
}
|
78
|
+
export interface AddRecordPositionAction {
|
79
|
+
type: ActionName.AddRecordPosition;
|
80
|
+
position: Positions;
|
81
|
+
path: IdPath;
|
82
|
+
}
|
83
|
+
export interface RemoveRecordPositionAction {
|
84
|
+
type: ActionName.RemoveRecordPosition;
|
85
|
+
path: [string, string];
|
86
|
+
}
|
87
|
+
export type AITableViewAction = SetViewAction | AddViewAction | RemoveViewAction;
|
88
|
+
export type AITablePositionAction = AddRecordPositionAction | RemoveRecordPositionAction;
|
89
|
+
export type AITableAction = UpdateFieldValueAction | AddRecordAction | AddFieldAction | RemoveRecordAction | RemoveFieldAction | SetFieldAction | MoveFieldAction | MoveRecordAction | AITableViewAction | AITablePositionAction;
|
90
|
+
//# sourceMappingURL=action.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../packages/state/src/types/action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEhD,oBAAY,UAAU;IAClB,gBAAgB,uBAAuB;IACvC,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,SAAS,eAAe;IACxB,UAAU,gBAAgB;IAC1B,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,QAAQ,cAAc;IACtB,OAAO,aAAa;IACpB,OAAO,aAAa;IACpB,UAAU,gBAAgB;IAC1B,iBAAiB,wBAAwB;IACzC,oBAAoB,2BAA2B;CAClD;AAED,oBAAY,WAAW;IACnB,OAAO,IAAA;IACP,IAAI,IAAA;IACJ,IAAI,IAAA;CACP;AAED,MAAM,MAAM,sBAAsB,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAClC,IAAI,EAAE,kBAAkB,CAAC;IACzB,UAAU,EAAE,GAAG,CAAC;IAChB,aAAa,EAAE,GAAG,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC;IAC3B,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC;IAC3B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;IAC5B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,EAAE,UAAU,CAAC,YAAY,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,aAAa,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;CACxC,CAAC;AAEF,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACjC,aAAa,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC;IACzB,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACpC,IAAI,EAAE,UAAU,CAAC,iBAAiB,CAAC;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,UAAU,CAAC,oBAAoB,CAAC;IACtC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAEjF,MAAM,MAAM,qBAAqB,GAAG,uBAAuB,GAAG,0BAA0B,CAAC;AAEzF,MAAM,MAAM,aAAa,GACnB,sBAAsB,GACtB,eAAe,GACf,cAAc,GACd,kBAAkB,GAClB,iBAAiB,GACjB,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,iBAAiB,GACjB,qBAAqB,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { AITable } from "@ai-table/grid";
|
2
|
+
import { WritableSignal, Signal } from "@angular/core";
|
3
|
+
import { AITableAction } from "./action";
|
4
|
+
import { AITableView } from "./view";
|
5
|
+
export interface AIViewTable extends AITable {
|
6
|
+
views: WritableSignal<AITableView[]>;
|
7
|
+
activeViewId: WritableSignal<string>;
|
8
|
+
viewsMap: Signal<{
|
9
|
+
[key: string]: AITableView;
|
10
|
+
}>;
|
11
|
+
actions: AITableAction[];
|
12
|
+
onChange: () => void;
|
13
|
+
apply: (action: AITableAction) => void;
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=ai-table.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ai-table.d.ts","sourceRoot":"","sources":["../../../packages/state/src/types/ai-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,MAAM,WAAW,WAAY,SAAQ,OAAO;IACxC,KAAK,EAAE,cAAc,CAAC,WAAW,EAAE,CAAC,CAAC;IACrC,YAAY,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,CAAC,CAAC;IACjD,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;CAC1C"}
|
package/types/index.d.ts
CHANGED
package/types/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/state/src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/state/src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
|
package/types/view.d.ts
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { Signal, WritableSignal } from '@angular/core';
|
1
|
+
import { AITableField, AITableRecord } from '@ai-table/grid';
|
3
2
|
import { Id } from 'ngx-tethys/types';
|
4
3
|
export declare class Positions {
|
5
4
|
[view_id: string]: number;
|
@@ -61,49 +60,4 @@ export interface AITableSortOptions {
|
|
61
60
|
}[];
|
62
61
|
}
|
63
62
|
export type AITableViews = AITableView[];
|
64
|
-
export type AIViewIdPath = [string];
|
65
|
-
export interface AIViewTable extends AITable {
|
66
|
-
views: WritableSignal<AITableView[]>;
|
67
|
-
activeViewId: WritableSignal<string>;
|
68
|
-
viewsMap: Signal<{
|
69
|
-
[key: string]: AITableView;
|
70
|
-
}>;
|
71
|
-
apply: (action: AITableSharedAction) => void;
|
72
|
-
}
|
73
|
-
export declare enum ViewActionName {
|
74
|
-
SetView = "set_view",
|
75
|
-
AddView = "add_view",
|
76
|
-
RemoveView = "remove_view"
|
77
|
-
}
|
78
|
-
export declare enum PositionActionName {
|
79
|
-
AddRecordPosition = "add_record_position",
|
80
|
-
RemoveRecordPosition = "remove_record_position"
|
81
|
-
}
|
82
|
-
export interface SetViewAction {
|
83
|
-
type: ViewActionName.SetView;
|
84
|
-
properties: Partial<AITableView>;
|
85
|
-
newProperties: Partial<AITableView>;
|
86
|
-
path: AIViewIdPath;
|
87
|
-
}
|
88
|
-
export interface AddViewAction {
|
89
|
-
type: ViewActionName.AddView;
|
90
|
-
view: AITableView;
|
91
|
-
path: [number];
|
92
|
-
}
|
93
|
-
export interface RemoveViewAction {
|
94
|
-
type: ViewActionName.RemoveView;
|
95
|
-
path: AIViewIdPath;
|
96
|
-
}
|
97
|
-
export interface AddRecordPositionAction {
|
98
|
-
type: PositionActionName.AddRecordPosition;
|
99
|
-
position: Positions;
|
100
|
-
path: AIRecordIdPath;
|
101
|
-
}
|
102
|
-
export interface RemoveRecordPositionAction {
|
103
|
-
type: PositionActionName.RemoveRecordPosition;
|
104
|
-
path: [string, string];
|
105
|
-
}
|
106
|
-
export type AITableViewAction = SetViewAction | AddViewAction | RemoveViewAction;
|
107
|
-
export type AITablePositionAction = AddRecordPositionAction | RemoveRecordPositionAction;
|
108
|
-
export type AITableSharedAction = AITableViewAction | AITableAction | AITablePositionAction;
|
109
63
|
//# sourceMappingURL=view.d.ts.map
|
package/types/view.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../packages/state/src/types/view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../packages/state/src/types/view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAEtC,qBAAa,SAAS;IAClB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACpD,SAAS,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IAClD,SAAS,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,EAAE,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,EAAE,CAAC;AAEnD,oBAAY,SAAS;IACjB,OAAO,IAAI;IACX,SAAS,IAAI;IACb,UAAU,KAAK;CAClB;AAED,oBAAY,oBAAoB;IAC5B,GAAG,QAAQ;IACX,EAAE,OAAO;CACZ;AAED,oBAAY,sBAAsB;IAC9B,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,UAAU,gBAAgB;CAC7B;AAED,MAAM,MAAM,YAAY,GAAG,uBAAuB,GAAG,kBAAkB,CAAC;AAExE,MAAM,WAAW,WAAW;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,YAAY,CAAC;CAC3B;AAED,MAAM,WAAW,sBAAsB,CAAC,MAAM,GAAG,OAAO;IACpD,QAAQ,EAAE,EAAE,CAAC;IACb,SAAS,EAAE,sBAAsB,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,uBAAuB,CAAC,MAAM,GAAG,OAAO;IACrD,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IACzC,UAAU,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC,EAAE,CAAC;CACjD;AAED,MAAM,WAAW,kBAAkB;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE;QACJ,OAAO,EAAE,EAAE,CAAC;QACZ,SAAS,EAAE,SAAS,CAAC;KACxB,EAAE,CAAC;CACP;AAED,MAAM,MAAM,YAAY,GAAG,WAAW,EAAE,CAAC"}
|
package/utils/build.d.ts
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
import { AITableView, AITableViewFields, AITableViewRecords } from '../types';
|
2
|
-
|
3
|
-
export declare function
|
4
|
-
export declare function buildFieldsByView(fields: AITableViewFields, activeView: AITableView): (import("../types").AITableViewRecord | import("../types").AITableViewField)[];
|
1
|
+
import { AITableView, AITableViewFields, AITableViewRecords, AIViewTable } from '../types';
|
2
|
+
export declare function buildRecordsByView(aiTable: AIViewTable, records: AITableViewRecords, fields: AITableViewFields, activeView: AITableView): (import("../types").AITableViewRecord | import("../types").AITableViewField)[];
|
3
|
+
export declare function buildFieldsByView(aiTable: AIViewTable, fields: AITableViewFields, activeView: AITableView): AITableViewFields;
|
5
4
|
//# sourceMappingURL=build.d.ts.map
|
package/utils/build.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../packages/state/src/utils/build.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../packages/state/src/utils/build.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAK3F,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,kFAGvI;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,qBAEzG"}
|
package/utils/common.d.ts
CHANGED
@@ -1,2 +1,7 @@
|
|
1
|
+
import { Path } from '@ai-table/grid';
|
2
|
+
import { AITableView, AITableViewFields, AITableViewRecords } from '../types';
|
1
3
|
export declare function isEmpty(value: any): boolean;
|
4
|
+
export declare function getNewIdsByCount(count: number): string[];
|
5
|
+
export declare function isPathEqual(path: Path, another: Path): boolean;
|
6
|
+
export declare function sortByViewPosition(data: AITableViewRecords | AITableViewFields, activeView: AITableView): (import("../types").AITableViewRecord | import("../types").AITableViewField)[];
|
2
7
|
//# sourceMappingURL=common.d.ts.map
|
package/utils/common.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../packages/state/src/utils/common.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../packages/state/src/utils/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9E,wBAAgB,OAAO,CAAC,KAAK,EAAE,GAAG,WAUjC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,YAO7C;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,GAAG,OAAO,CAE9D;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,kBAAkB,GAAG,iBAAiB,EAAE,UAAU,EAAE,WAAW,kFAMvG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"add-fields.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/utils/field/add-fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA2B,MAAM,gBAAgB,CAAC;AAE1E,OAAO,EAAqB,WAAW,EAAE,MAAM,aAAa,CAAC;AAI7D,wBAAgB,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,QAavE"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Field } from './field';
|
2
2
|
import { DateFieldValue } from '@ai-table/grid';
|
3
|
-
import { AITableFilterCondition } from '
|
3
|
+
import { AITableFilterCondition } from '../../../types';
|
4
4
|
export declare class DateField extends Field {
|
5
5
|
isMeetFilter(condition: AITableFilterCondition<string>, cellValue: DateFieldValue): boolean;
|
6
6
|
getTimeRange(value: string | number | number[]): number[];
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../../packages/state/src/utils/field/model/date.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,sBAAsB,EAA0B,MAAM,gBAAgB,CAAA;AAG/E,qBAAa,SAAU,SAAQ,KAAK;IACvB,YAAY,CAAC,SAAS,EAAE,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,cAAc;IAoB1F,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE;IA8B9C,iBAAiB,CAAC,UAAU,EAAE,cAAc,GAAG,MAAM,GAAG,IAAI;IAI5D,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,GAAG,MAAM;IActE,OAAO,CAAC,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,GAAG,MAAM;CAGnF"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AITableField, FieldValue } from '@ai-table/grid';
|
2
|
-
import { AITableFilterCondition, AITableFilterOperation } from '
|
2
|
+
import { AITableFilterCondition, AITableFilterOperation } from '../../../types';
|
3
3
|
export declare const zhIntlCollator: Intl.Collator | undefined;
|
4
4
|
export declare abstract class Field {
|
5
5
|
protected stringInclude(str: string, searchStr: string): boolean;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../../packages/state/src/utils/field/model/field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAIhF,eAAO,MAAM,cAAc,2BAAuE,CAAC;AAEnG,8BAAsB,KAAK;IACvB,SAAS,CAAC,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAItD,QAAQ,CAAC,iBAAiB,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,YAAY,GAAG,MAAM,GAAG,IAAI;IAErF,YAAY,CAAC,SAAS,EAAE,sBAAsB,EAAE,SAAS,EAAE,UAAU;IAYrE,YAAY,CAAC,SAAS,EAAE,sBAAsB,CAAC,KAAK,GAAG,sBAAsB,CAAC,MAAM,EAAE,SAAS,EAAE,UAAU;IAc3G,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,GAAG,OAAO;IAI7C,OAAO,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,YAAY,GAAG,MAAM;CA8BvF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/state/src/utils/field/model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAOhC,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,gBAAgB,EAAE,KAAK,CAc5D,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../../../../packages/state/src/utils/field/model/number.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAA0B,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,qBAAa,WAAY,SAAQ,KAAK;IACzB,YAAY,CAAC,SAAS,EAAE,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,UAAU;IAuBtF,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI;IAIxD,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM;IAatD,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM;CAGnE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["../../../../../packages/state/src/utils/field/model/rate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAA0B,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,qBAAa,SAAU,SAAQ,KAAK;IACvB,YAAY,CAAC,SAAS,EAAE,sBAAsB,CAAC,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,cAAc,GAAG,MAAM;IAerG,iBAAiB,CAAC,UAAU,EAAE,cAAc,GAAG,MAAM,GAAG,IAAI;IAI5D,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM;IAatD,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM;CAGnE"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AITableFilterCondition } from '
|
1
|
+
import { AITableFilterCondition } from '../../../types';
|
2
2
|
import { Field } from './field';
|
3
3
|
import { AITableField, AITableSelectOption, SelectFieldValue } from '@ai-table/grid';
|
4
4
|
import { Id } from 'ngx-tethys/types';
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../packages/state/src/utils/field/model/select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAA0B,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AACrG,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAEtC,qBAAa,WAAY,SAAQ,KAAK;IACzB,YAAY,CAAC,SAAS,EAAE,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,gBAAgB;IAe5F,iBAAiB,CAAC,SAAS,EAAE,gBAAgB,EAAE,KAAK,EAAE,YAAY,GAAG,MAAM,GAAG,IAAI;IAIlF,gBAAgB,CAAC,SAAS,EAAE,gBAAgB,EAAE,KAAK,EAAE,YAAY,GAAG,MAAM,EAAE,GAAG,IAAI;IAcnF,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,GAAG,mBAAmB,GAAG,IAAI;IAIvE,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI;CAGjE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../../packages/state/src/utils/field/model/text.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAA0B,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,qBAAa,SAAU,SAAQ,KAAK;IACvB,YAAY,CAAC,SAAS,EAAE,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,UAAU;IAatF,MAAM,CAAC,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAI1C,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO;IAI5D,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI;CAG7D"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { AITable } from "@ai-table/grid";
|
2
|
+
import { AITableView, AITableViewFields } from "../../types";
|
3
|
+
export declare function getSortFields(aiTable: AITable, fields: AITableViewFields, activeView: AITableView): AITableViewFields;
|
4
|
+
//# sourceMappingURL=sort-fields.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sort-fields.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/utils/field/sort-fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAG7D,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,qBAEjG"}
|
package/utils/index.d.ts
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
export * from './build';
|
2
|
-
export * from './
|
3
|
-
export * from '
|
2
|
+
export * from './field/model';
|
3
|
+
export * from './/field/add-fields';
|
4
|
+
export * from './/field/sort-fields';
|
4
5
|
export * from './view';
|
5
6
|
export * from './common';
|
7
|
+
export * from './record/add-records';
|
8
|
+
export * from './record/sort';
|
9
|
+
export * from './record/filter';
|
10
|
+
export * from './record/update-field-value';
|
11
|
+
export * from './weak-map';
|
6
12
|
//# sourceMappingURL=index.d.ts.map
|
package/utils/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/state/src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/state/src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { AddRecordOptions } from '@ai-table/grid';
|
2
|
+
import { AIViewTable } from '../../types';
|
3
|
+
export declare function addRecords(aiTable: AIViewTable, options: AddRecordOptions): void;
|
4
|
+
export declare function getDefaultRecordValues(aiTable: AIViewTable, isDuplicate?: boolean, recordId?: string): Record<string, any>;
|
5
|
+
//# sourceMappingURL=add-records.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"add-records.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/utils/record/add-records.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAA+C,MAAM,gBAAgB,CAAC;AAC/F,OAAO,EAAyC,WAAW,EAAE,MAAM,aAAa,CAAC;AAOjF,wBAAgB,UAAU,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,QAsBzE;AAED,wBAAgB,sBAAsB,CAClC,OAAO,EAAE,WAAW,EACpB,WAAW,UAAQ,EACnB,QAAQ,CAAC,EAAE,MAAM,uBAiBpB"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { FieldValue } from '@ai-table/grid';
|
2
|
+
import { AITableFilterCondition, AITableFilterLogical, AITableView, AITableViewField, AITableViewFields, AITableViewRecords, AIViewTable } from '../../types';
|
3
|
+
export declare function getFilteredRecords(aiTable: AIViewTable, records: AITableViewRecords, fields: AITableViewFields, activeView: AITableView): AITableViewRecords;
|
4
|
+
export declare function doFilter(condition: AITableFilterCondition, field: AITableViewField, cellValue: FieldValue): boolean;
|
5
|
+
export declare function getDefaultRecordDataByFilter(recordValues: Record<string, FieldValue>, conditions: AITableFilterCondition[], conditionLogical?: AITableFilterLogical): Record<string, any>;
|
6
|
+
//# sourceMappingURL=filter.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/utils/record/filter.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EACH,sBAAsB,EAEtB,oBAAoB,EAEpB,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACd,MAAM,aAAa,CAAC;AAIrB,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,sBAgBvI;AA6BD,wBAAgB,QAAQ,CAAC,SAAS,EAAE,sBAAsB,EAAE,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,UAAU,WASzG;AAED,wBAAgB,4BAA4B,CACxC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,EACxC,UAAU,EAAE,sBAAsB,EAAE,EACpC,gBAAgB,CAAC,EAAE,oBAAoB,uBAQ1C"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { AITable } from '@ai-table/grid';
|
2
|
+
import { AITableView, AITableViewRecords } from '../../types';
|
3
|
+
export declare function getSortRecords(aiTable: AITable, records: AITableViewRecords, activeView: AITableView): (import("../../types").AITableViewRecord | import("../../types").AITableViewField)[];
|
4
|
+
export declare function sortRecordsBySortInfo(aiTable: AITable, records: AITableViewRecords, activeView: AITableView): import("../../types").AITableViewRecord[];
|
5
|
+
//# sourceMappingURL=sort.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/utils/record/sort.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAI9D,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,WAAW,wFASpG;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,WAAW,6CAoB3G"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update-field-value.d.ts","sourceRoot":"","sources":["../../../../packages/state/src/utils/record/update-field-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,uBAAuB,QAEtF"}
|
package/utils/view.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
import { AITableView,
|
1
|
+
import { AITableView, AITableViewFields, AITableViewRecords, AIViewTable, Positions } from '../types';
|
2
2
|
export declare function createDefaultPositions(views: AITableView[], activeId: string, data: AITableViewRecords | AITableViewFields, index: number): Positions;
|
3
3
|
export declare function getPosition(data: AITableViewRecords | AITableViewFields, activeViewId: string, index: number): number;
|
4
4
|
export declare function addView(aiTable: AIViewTable, type: 'add' | 'copy'): AITableView;
|
5
5
|
export declare function removeView(aiTable: AIViewTable, records: AITableViewRecords, fields: AITableViewFields, activeViewId: string): void;
|
6
|
-
export declare function sortByViewPosition(data: AITableViewRecords | AITableViewFields, activeView: AITableView): (import("../types").AITableViewRecord | AITableViewField)[];
|
7
6
|
//# sourceMappingURL=view.d.ts.map
|
package/utils/view.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../packages/state/src/utils/view.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../packages/state/src/utils/view.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAoB,iBAAiB,EAAE,kBAAkB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAKxH,wBAAgB,sBAAsB,CAClC,KAAK,EAAE,WAAW,EAAE,EACpB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,kBAAkB,GAAG,iBAAiB,EAC5C,KAAK,EAAE,MAAM,aAShB;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,kBAAkB,GAAG,iBAAiB,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,UAU5G;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,GAAG,MAAM,eAmCjE;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,QAgB5H"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"weak-map.d.ts","sourceRoot":"","sources":["../../../packages/state/src/utils/weak-map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,QAAQ,+BAAsC,CAAC"}
|