@adobe/data 0.5.23 → 0.6.0
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/README.md +96 -110
- package/dist/blob/blob-handle.d.ts +53 -2
- package/dist/blob/blob-handle.js +48 -4
- package/dist/blob/blob-handle.js.map +1 -1
- package/dist/blob/blob-meta.d.ts +26 -1
- package/dist/blob/blob-meta.js +14 -1
- package/dist/blob/blob-meta.js.map +1 -1
- package/dist/blob/index.d.ts +0 -2
- package/dist/blob/index.js +21 -2
- package/dist/blob/index.js.map +1 -1
- package/dist/cache/functions/hashing/blob-to-hash.js +7 -5
- package/dist/cache/functions/hashing/blob-to-hash.js.map +1 -1
- package/dist/ecs/database/create-database.js +56 -50
- package/dist/ecs/database/create-database.js.map +1 -1
- package/dist/ecs/database/create-database.test.js +2 -1
- package/dist/ecs/database/create-database.test.js.map +1 -1
- package/dist/ecs/database/database-schema/create-database-schema-test.js +1 -1
- package/dist/ecs/database/database-schema/create-database-schema-test.js.map +1 -1
- package/dist/ecs/database/database-schema/create-database-schema.js +0 -2
- package/dist/ecs/database/database-schema/create-database-schema.js.map +1 -1
- package/dist/ecs/database/transactional-store/apply-operations.js.map +1 -1
- package/dist/ecs/database/transactional-store/coalesce-transactions.js +2 -2
- package/dist/ecs/database/transactional-store/coalesce-transactions.js.map +1 -1
- package/dist/ecs/database/transactional-store/patch-entity-values.js.map +1 -1
- package/dist/ecs/store/core/select-entities.js +2 -2
- package/dist/ecs/store/core/select-entities.js.map +1 -1
- package/dist/ecs/store/store-schema/create-store-schema-test.js +2 -2
- package/dist/ecs/store/store-schema/create-store-schema-test.js.map +1 -1
- package/dist/ecs/store/store-schema/create-store-schema.d.ts +11 -1
- package/dist/ecs/store/store-schema/create-store-schema.js +30 -44
- package/dist/ecs/store/store-schema/create-store-schema.js.map +1 -1
- package/dist/ecs/store/store-schema/index.d.ts +2 -1
- package/dist/ecs/store/store-schema/index.js +23 -20
- package/dist/ecs/store/store-schema/index.js.map +1 -1
- package/dist/ecs/store/store-schema/store-schema.d.ts +12 -1
- package/dist/ecs/store/store-schema/store-schema.js +21 -55
- package/dist/ecs/store/store-schema/store-schema.js.map +1 -1
- package/dist/ecs/store/store.js +2 -2
- package/dist/ecs/store/store.js.map +1 -1
- package/dist/functions/merge-patch.js.map +1 -1
- package/dist/functions/merge-patch.test.js +21 -0
- package/dist/functions/merge-patch.test.js.map +1 -1
- package/dist/functions/serialization/index.js +21 -0
- package/dist/functions/serialization/index.js.map +1 -1
- package/dist/functions/serialization/register-blob-codecs.js.map +1 -1
- package/dist/functions/serialization/register-typed-array-codecs.js.map +1 -1
- package/dist/functions/serialization/serialize-to-blobs.js +21 -0
- package/dist/functions/serialization/serialize-to-blobs.js.map +1 -1
- package/dist/functions/serialization/serialize-to-blobs.test.js +21 -0
- package/dist/functions/serialization/serialize-to-blobs.test.js.map +1 -1
- package/dist/functions/serialization/serialize-to-storage.js +21 -0
- package/dist/functions/serialization/serialize-to-storage.js.map +1 -1
- package/dist/functions/serialization/serialize-to-storage.test.js +21 -0
- package/dist/functions/serialization/serialize-to-storage.test.js.map +1 -1
- package/dist/functions/serialization/serialize.js +21 -0
- package/dist/functions/serialization/serialize.js.map +1 -1
- package/dist/graphics/frame.d.ts +22 -1
- package/dist/graphics/frame.js +11 -14
- package/dist/graphics/frame.js.map +1 -1
- package/dist/graphics/get-web-gpu-device-and-context.d.ts +2 -1
- package/dist/graphics/get-web-gpu-device-and-context.js +20 -23
- package/dist/graphics/get-web-gpu-device-and-context.js.map +1 -1
- package/dist/graphics/graphics-context.d.ts +5 -1
- package/dist/graphics/graphics-context.js +0 -5
- package/dist/graphics/graphics-context.js.map +1 -1
- package/dist/internal/array-buffer-like/copy.js +0 -420
- package/dist/internal/array-buffer-like/copy.js.map +1 -1
- package/dist/internal/array-buffer-like/is-array-buffer.js +0 -420
- package/dist/internal/array-buffer-like/is-array-buffer.js.map +1 -1
- package/dist/internal/array-buffer-like/is-shared-array-buffer.js +0 -420
- package/dist/internal/array-buffer-like/is-shared-array-buffer.js.map +1 -1
- package/dist/internal/data-view-32/data-view-32.js +0 -21
- package/dist/internal/data-view-32/data-view-32.js.map +1 -1
- package/dist/lit/elements/service-application.d.ts +9 -0
- package/dist/lit/elements/service-application.js +55 -0
- package/dist/lit/elements/service-application.js.map +1 -0
- package/dist/lit/elements/service-context.d.ts +1 -0
- package/dist/{ecs/entity/u32.js → lit/elements/service-context.js} +3 -3
- package/dist/lit/elements/service-context.js.map +1 -0
- package/dist/lit/elements/service-element.d.ts +6 -0
- package/dist/lit/elements/service-element.js +43 -0
- package/dist/lit/elements/service-element.js.map +1 -0
- package/dist/lit/hooks/index.d.ts +1 -0
- package/dist/lit/hooks/index.js +1 -0
- package/dist/lit/hooks/index.js.map +1 -1
- package/dist/lit/hooks/use-debounce.d.ts +8 -0
- package/dist/lit/hooks/use-debounce.js +41 -0
- package/dist/lit/hooks/use-debounce.js.map +1 -0
- package/dist/lit/hooks/use-drag-observe.d.ts +6 -5
- package/dist/lit/hooks/use-drag-observe.js +2 -2
- package/dist/lit/hooks/use-drag-observe.js.map +1 -1
- package/dist/lit/hooks/use-drag-transaction.d.ts +1 -1
- package/dist/lit/hooks/use-drag-transaction.js +1 -2
- package/dist/lit/hooks/use-drag-transaction.js.map +1 -1
- package/dist/lit/hooks/use-draggable.d.ts +5 -6
- package/dist/lit/hooks/use-draggable.js +23 -31
- package/dist/lit/hooks/use-draggable.js.map +1 -1
- package/dist/lit/hooks/use-effect.js +1 -1
- package/dist/lit/hooks/use-effect.js.map +1 -1
- package/dist/lit/hooks/use-resize-observer.d.ts +2 -0
- package/dist/lit/hooks/use-resize-observer.js +2 -0
- package/dist/lit/hooks/use-resize-observer.js.map +1 -1
- package/dist/lit/hooks/use-updated.js +21 -0
- package/dist/lit/hooks/use-updated.js.map +1 -1
- package/dist/math/aabb/aabb.js +1 -0
- package/dist/math/aabb/aabb.js.map +1 -1
- package/dist/math/aabb-face/aabb-face.d.ts +14 -19
- package/dist/math/aabb-face/aabb-face.js +31 -19
- package/dist/math/aabb-face/aabb-face.js.map +1 -1
- package/dist/math/f32/f32.js +1 -0
- package/dist/math/f32/f32.js.map +1 -1
- package/dist/math/i32/i32.js +1 -0
- package/dist/math/i32/i32.js.map +1 -1
- package/dist/math/line2/line2.js +1 -0
- package/dist/math/line2/line2.js.map +1 -1
- package/dist/math/line3/line3.js +1 -0
- package/dist/math/line3/line3.js.map +1 -1
- package/dist/math/mat4x4/mat4x4.js +1 -0
- package/dist/math/mat4x4/mat4x4.js.map +1 -1
- package/dist/math/picking/get-closest-entity-to-line.js +1 -1
- package/dist/math/picking/get-closest-entity-to-line.js.map +1 -1
- package/dist/math/picking/get-closest-entity-to-point.js +1 -1
- package/dist/math/picking/get-closest-entity-to-point.js.map +1 -1
- package/dist/math/picking/pick-from-tables.js +1 -1
- package/dist/math/picking/pick-from-tables.js.map +1 -1
- package/dist/math/picking/pick-result.d.ts +2 -4
- package/dist/math/plane/plane.js +1 -0
- package/dist/math/plane/plane.js.map +1 -1
- package/dist/math/quat/quat.js +1 -0
- package/dist/math/quat/quat.js.map +1 -1
- package/dist/math/u32/u32.js +1 -0
- package/dist/math/u32/u32.js.map +1 -1
- package/dist/math/vec2/vec2.js +1 -0
- package/dist/math/vec2/vec2.js.map +1 -1
- package/dist/math/vec3/vec3.d.ts +1 -0
- package/dist/math/vec3/vec3.js +2 -0
- package/dist/math/vec3/vec3.js.map +1 -1
- package/dist/math/vec4/vec4.d.ts +1 -0
- package/dist/math/vec4/vec4.js +7 -0
- package/dist/math/vec4/vec4.js.map +1 -1
- package/dist/observe/to-async-generator.test.js +5 -8
- package/dist/observe/to-async-generator.test.js.map +1 -1
- package/dist/observe/with-default.js +0 -1
- package/dist/observe/with-default.js.map +1 -1
- package/dist/old-ecs/action-ecs/action-ecs.test.js +1 -1
- package/dist/old-ecs/action-ecs/action-ecs.test.js.map +1 -1
- package/dist/old-ecs/core-ecs/core-ecs-serialization.test.js +4 -208
- package/dist/old-ecs/core-ecs/core-ecs-serialization.test.js.map +1 -1
- package/dist/old-ecs/core-ecs/core-ecs-types.d.ts +1 -4
- package/dist/old-ecs/core-ecs/core-ecs.d.ts +0 -2
- package/dist/old-ecs/core-ecs/core-ecs.js +9 -13
- package/dist/old-ecs/core-ecs/core-ecs.js.map +1 -1
- package/dist/old-ecs/ecs/ecs.test.js +1 -1
- package/dist/old-ecs/ecs/ecs.test.js.map +1 -1
- package/dist/old-ecs/transaction-ecs/transaction-ecs.test.js +1 -1
- package/dist/old-ecs/transaction-ecs/transaction-ecs.test.js.map +1 -1
- package/dist/samples/todo/elements/todo-list/todo-list-presentation.d.ts +0 -17
- package/dist/samples/todo/elements/todo-list/todo-list-presentation.js.map +1 -1
- package/dist/samples/todo/elements/todo-list/todo-list.css.d.ts +0 -17
- package/dist/samples/todo/elements/todo-list/todo-list.css.js +21 -17
- package/dist/samples/todo/elements/todo-list/todo-list.css.js.map +1 -1
- package/dist/samples/todo/elements/todo-list/todo-list.js +21 -17
- package/dist/samples/todo/elements/todo-list/todo-list.js.map +1 -1
- package/dist/samples/todo/elements/todo-row/index.d.ts +0 -17
- package/dist/samples/todo/elements/todo-row/index.js +21 -17
- package/dist/samples/todo/elements/todo-row/index.js.map +1 -1
- package/dist/samples/todo/elements/todo-row/todo-row-presentation.js +23 -19
- package/dist/samples/todo/elements/todo-row/todo-row-presentation.js.map +1 -1
- package/dist/samples/todo/elements/todo-row/todo-row.css.js +21 -17
- package/dist/samples/todo/elements/todo-row/todo-row.css.js.map +1 -1
- package/dist/samples/todo/elements/todo-row/todo-row.js +21 -17
- package/dist/samples/todo/elements/todo-row/todo-row.js.map +1 -1
- package/dist/samples/todo/elements/todo-toolbar/index.d.ts +0 -17
- package/dist/samples/todo/elements/todo-toolbar/index.js +21 -17
- package/dist/samples/todo/elements/todo-toolbar/index.js.map +1 -1
- package/dist/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.js +21 -17
- package/dist/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.js.map +1 -1
- package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.css.js +21 -17
- package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.css.js.map +1 -1
- package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.js +21 -17
- package/dist/samples/todo/elements/todo-toolbar/todo-toolbar.js.map +1 -1
- package/dist/samples/todo/elements/todo-undo-redo/index.d.ts +0 -17
- package/dist/samples/todo/elements/todo-undo-redo/index.js +21 -17
- package/dist/samples/todo/elements/todo-undo-redo/index.js.map +1 -1
- package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.js +21 -17
- package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.js.map +1 -1
- package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.js +21 -17
- package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.js.map +1 -1
- package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.js +21 -17
- package/dist/samples/todo/elements/todo-undo-redo/todo-undo-redo.js.map +1 -1
- package/dist/samples/todo/services/dependent-state-service/create-dependent-state-service.js +21 -17
- package/dist/samples/todo/services/dependent-state-service/create-dependent-state-service.js.map +1 -1
- package/dist/samples/todo/services/dependent-state-service/dependent-state/all-todos.d.ts +0 -17
- package/dist/samples/todo/services/dependent-state-service/dependent-state/all-todos.js.map +1 -1
- package/dist/samples/todo/services/dependent-state-service/dependent-state/complete-todos.d.ts +0 -17
- package/dist/samples/todo/services/dependent-state-service/dependent-state/complete-todos.js.map +1 -1
- package/dist/samples/todo/services/dependent-state-service/dependent-state/incomplete-todos.d.ts +0 -17
- package/dist/samples/todo/services/dependent-state-service/dependent-state/incomplete-todos.js.map +1 -1
- package/dist/samples/todo/services/dependent-state-service/dependent-state/index.d.ts +0 -17
- package/dist/samples/todo/services/dependent-state-service/dependent-state/index.js +21 -17
- package/dist/samples/todo/services/dependent-state-service/dependent-state/index.js.map +1 -1
- package/dist/samples/todo/services/dependent-state-service/dependent-state-service.d.ts +0 -17
- package/dist/samples/todo/services/main-service/create-main-service.d.ts +0 -17
- package/dist/samples/todo/services/main-service/create-main-service.js.map +1 -1
- package/dist/samples/todo/services/main-service/todo-main-service.d.ts +0 -17
- package/dist/samples/todo/services/state-service/create-todo-database.js +21 -17
- package/dist/samples/todo/services/state-service/create-todo-database.js.map +1 -1
- package/dist/samples/todo/services/state-service/create-todo-store.js +21 -17
- package/dist/samples/todo/services/state-service/create-todo-store.js.map +1 -1
- package/dist/samples/todo/services/state-service/todo-state-service.d.ts +0 -17
- package/dist/samples/todo/services/state-service/transactions/create-bulk-todos.js +21 -17
- package/dist/samples/todo/services/state-service/transactions/create-bulk-todos.js.map +1 -1
- package/dist/samples/todo/services/state-service/transactions/create-todo.d.ts +0 -17
- package/dist/samples/todo/services/state-service/transactions/create-todo.js.map +1 -1
- package/dist/samples/todo/services/state-service/transactions/create-todo.test.js +21 -17
- package/dist/samples/todo/services/state-service/transactions/create-todo.test.js.map +1 -1
- package/dist/samples/todo/services/state-service/transactions/delete-all-todos.d.ts +0 -17
- package/dist/samples/todo/services/state-service/transactions/delete-all-todos.js.map +1 -1
- package/dist/samples/todo/services/state-service/transactions/delete-todo.js +21 -17
- package/dist/samples/todo/services/state-service/transactions/delete-todo.js.map +1 -1
- package/dist/samples/todo/services/state-service/transactions/delete-todo.test.js +21 -17
- package/dist/samples/todo/services/state-service/transactions/delete-todo.test.js.map +1 -1
- package/dist/samples/todo/services/state-service/transactions/drag-todo.js +21 -17
- package/dist/samples/todo/services/state-service/transactions/drag-todo.js.map +1 -1
- package/dist/samples/todo/services/state-service/transactions/index.d.ts +0 -17
- package/dist/samples/todo/services/state-service/transactions/index.js +21 -17
- package/dist/samples/todo/services/state-service/transactions/index.js.map +1 -1
- package/dist/samples/todo/services/state-service/transactions/reorder-todos.d.ts +0 -17
- package/dist/samples/todo/services/state-service/transactions/reorder-todos.js.map +1 -1
- package/dist/samples/todo/services/state-service/transactions/toggle-complete.d.ts +0 -17
- package/dist/samples/todo/services/state-service/transactions/toggle-complete.js.map +1 -1
- package/dist/samples/todo/services/state-service/transactions/toggle-complete.test.js +21 -17
- package/dist/samples/todo/services/state-service/transactions/toggle-complete.test.js.map +1 -1
- package/dist/samples/todo/todo-element.d.ts +0 -17
- package/dist/samples/todo/todo-element.js.map +1 -1
- package/dist/samples/todo/todo-main-element.d.ts +0 -17
- package/dist/samples/todo/todo-main-element.js +21 -17
- package/dist/samples/todo/todo-main-element.js.map +1 -1
- package/dist/schema/schema.d.ts +12 -15
- package/dist/schema/schema.js +2 -5
- package/dist/schema/schema.js.map +1 -1
- package/dist/service/index.d.ts +1 -1
- package/dist/service/index.js +1 -1
- package/dist/service/index.js.map +1 -1
- package/dist/table/table.js +1 -0
- package/dist/table/table.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/typed-buffer/create-struct-buffer.js +0 -1
- package/dist/typed-buffer/create-struct-buffer.js.map +1 -1
- package/dist/typed-buffer/create-struct-buffer.test.js +5 -3
- package/dist/typed-buffer/create-struct-buffer.test.js.map +1 -1
- package/dist/typed-buffer/is-typed-buffer.js +21 -0
- package/dist/typed-buffer/is-typed-buffer.js.map +1 -1
- package/dist/typed-buffer/is-typed-buffer.test.js +21 -0
- package/dist/typed-buffer/is-typed-buffer.test.js.map +1 -1
- package/dist/typed-buffer/typed-buffer-equals.js +21 -0
- package/dist/typed-buffer/typed-buffer-equals.js.map +1 -1
- package/dist/types/replace.d.ts +0 -4
- package/dist/types/replace.js.map +1 -1
- package/package.json +1 -1
- package/dist/ecs/entity/entity.d.ts +0 -8
- package/dist/ecs/entity/entity.js +0 -3
- package/dist/ecs/entity/entity.js.map +0 -1
- package/dist/ecs/entity/u32.d.ts +0 -8
- package/dist/ecs/entity/u32.js.map +0 -1
- package/dist/math/aabb-face/face.d.ts +0 -51
- package/dist/math/aabb-face/face.js +0 -110
- package/dist/math/aabb-face/face.js.map +0 -1
- package/dist/math/aabb-face/face.test.d.ts +0 -1
- package/dist/math/aabb-face/face.test.js +0 -94
- package/dist/math/aabb-face/face.test.js.map +0 -1
- package/dist/math/box/box.d.ts +0 -50
- package/dist/math/box/box.js +0 -23
- package/dist/math/box/box.js.map +0 -1
- package/dist/math/face/face.d.ts +0 -51
- package/dist/math/face/face.js +0 -110
- package/dist/math/face/face.js.map +0 -1
- package/dist/math/face/face.test.d.ts +0 -1
- package/dist/math/face/face.test.js +0 -94
- package/dist/math/face/face.test.js.map +0 -1
- package/dist/math/picking/face.d.ts +0 -1
- package/dist/math/picking/face.js +0 -2
- package/dist/math/picking/face.js.map +0 -1
- package/dist/math/picking/getClosestEntityToLine.d.ts +0 -4
- package/dist/math/picking/getClosestEntityToLine.js +0 -29
- package/dist/math/picking/getClosestEntityToLine.js.map +0 -1
- package/dist/math/picking/getClosestEntityToPoint.d.ts +0 -4
- package/dist/math/picking/getClosestEntityToPoint.js +0 -27
- package/dist/math/picking/getClosestEntityToPoint.js.map +0 -1
- package/dist/math/picking/getIntersectingEntities.d.ts +0 -12
- package/dist/math/picking/getIntersectingEntities.js +0 -15
- package/dist/math/picking/getIntersectingEntities.js.map +0 -1
- package/dist/math/transform/debug-inverse.d.ts +0 -1
- package/dist/math/transform/debug-inverse.js +0 -28
- package/dist/math/transform/debug-inverse.js.map +0 -1
- package/dist/math/transform/debug-quat.d.ts +0 -1
- package/dist/math/transform/debug-quat.js +0 -23
- package/dist/math/transform/debug-quat.js.map +0 -1
- package/dist/math/transform/debug-test.d.ts +0 -1
- package/dist/math/transform/debug-test.js +0 -34
- package/dist/math/transform/debug-test.js.map +0 -1
- package/dist/math/transform/transform.d.ts +0 -58
- package/dist/math/transform/transform.js +0 -101
- package/dist/math/transform/transform.js.map +0 -1
- package/dist/math/transform/transform.test.d.ts +0 -1
- package/dist/math/transform/transform.test.js +0 -309
- package/dist/math/transform/transform.test.js.map +0 -1
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
/*MIT License
|
|
2
|
+
|
|
3
|
+
© Copyright 2025 Adobe. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.*/
|
|
18
22
|
export * from './create-todo.js';
|
|
19
23
|
export * from './delete-todo.js';
|
|
20
24
|
export * from './toggle-complete.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AACX,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,oFAAoF;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/*************************************************************************
|
|
2
|
-
*
|
|
3
|
-
* ADOBE CONFIDENTIAL
|
|
4
|
-
* ___________________
|
|
5
|
-
*
|
|
6
|
-
* Copyright 2025 Adobe
|
|
7
|
-
* All Rights Reserved.
|
|
8
|
-
*
|
|
9
|
-
* NOTICE: All information contained herein is, and remains
|
|
10
|
-
* the property of Adobe and its suppliers, if any. The intellectual
|
|
11
|
-
* and technical concepts contained herein are proprietary to Adobe
|
|
12
|
-
* and its suppliers and are protected by all applicable intellectual
|
|
13
|
-
* property laws, including trade secret and copyright laws.
|
|
14
|
-
* Dissemination of this information or reproduction of this material
|
|
15
|
-
* is strictly forbidden unless prior written permission is obtained
|
|
16
|
-
* from Adobe.
|
|
17
|
-
**************************************************************************/
|
|
18
1
|
import { TodoStore } from '../create-todo-store.js';
|
|
19
2
|
/**
|
|
20
3
|
* Ensures each todo has an monotonically increasing integer order value.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reorder-todos.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/reorder-todos.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reorder-todos.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/reorder-todos.ts"],"names":[],"mappings":"AAuBA;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAY,EAAE,EAAE;IAC3C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IACjF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IACnC,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/*************************************************************************
|
|
2
|
-
*
|
|
3
|
-
* ADOBE CONFIDENTIAL
|
|
4
|
-
* ___________________
|
|
5
|
-
*
|
|
6
|
-
* Copyright 2025 Adobe
|
|
7
|
-
* All Rights Reserved.
|
|
8
|
-
*
|
|
9
|
-
* NOTICE: All information contained herein is, and remains
|
|
10
|
-
* the property of Adobe and its suppliers, if any. The intellectual
|
|
11
|
-
* and technical concepts contained herein are proprietary to Adobe
|
|
12
|
-
* and its suppliers and are protected by all applicable intellectual
|
|
13
|
-
* property laws, including trade secret and copyright laws.
|
|
14
|
-
* Dissemination of this information or reproduction of this material
|
|
15
|
-
* is strictly forbidden unless prior written permission is obtained
|
|
16
|
-
* from Adobe.
|
|
17
|
-
**************************************************************************/
|
|
18
1
|
import { type Entity } from '../../../../../ecs/index.js';
|
|
19
2
|
import { type TodoStore } from '../create-todo-store.js';
|
|
20
3
|
export declare const toggleComplete: (t: TodoStore, id: Entity) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-complete.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/toggle-complete.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggle-complete.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/toggle-complete.ts"],"names":[],"mappings":"AAyBA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAY,EAAE,EAAU,EAAE,EAAE;IACzD,CAAC,CAAC,QAAQ,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACjC,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACxB,wCAAwC;IACxC,uCAAuC;IACvC,yDAAyD;IACzD,IAAI,IAAI,EAAE,CAAC;QACT,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC7C,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
/*MIT License
|
|
2
|
+
|
|
3
|
+
© Copyright 2025 Adobe. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.*/
|
|
18
22
|
import { createTodo } from './create-todo.js';
|
|
19
23
|
import { toggleComplete } from './toggle-complete.js';
|
|
20
24
|
import { describe, expect, it } from 'vitest';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-complete.test.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/toggle-complete.test.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"toggle-complete.test.js","sourceRoot":"","sources":["../../../../../../src/samples/todo/services/state-service/transactions/toggle-complete.test.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/*************************************************************************
|
|
2
|
-
*
|
|
3
|
-
* ADOBE CONFIDENTIAL
|
|
4
|
-
* ___________________
|
|
5
|
-
*
|
|
6
|
-
* Copyright 2024 Adobe
|
|
7
|
-
* All Rights Reserved.
|
|
8
|
-
*
|
|
9
|
-
* NOTICE: All information contained herein is, and remains
|
|
10
|
-
* the property of Adobe and its suppliers, if any. The intellectual
|
|
11
|
-
* and technical concepts contained herein are proprietary to Adobe
|
|
12
|
-
* and its suppliers and are protected by all applicable intellectual
|
|
13
|
-
* property laws, including trade secret and copyright laws.
|
|
14
|
-
* Dissemination of this information or reproduction of this material
|
|
15
|
-
* is strictly forbidden unless prior written permission is obtained
|
|
16
|
-
* from Adobe.
|
|
17
|
-
**************************************************************************/
|
|
18
1
|
import { TodoMainService } from './services/main-service/todo-main-service.js';
|
|
19
2
|
import { ApplicationElement } from '../../lit/elements/application-element.js';
|
|
20
3
|
export declare class TodoElement extends ApplicationElement<TodoMainService> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"todo-element.js","sourceRoot":"","sources":["../../../src/samples/todo/todo-element.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"todo-element.js","sourceRoot":"","sources":["../../../src/samples/todo/todo-element.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAE/E,MAAM,OAAO,WAAY,SAAQ,kBAAmC;CAAI"}
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/*************************************************************************
|
|
2
|
-
*
|
|
3
|
-
* ADOBE CONFIDENTIAL
|
|
4
|
-
* ___________________
|
|
5
|
-
*
|
|
6
|
-
* Copyright 2024 Adobe
|
|
7
|
-
* All Rights Reserved.
|
|
8
|
-
*
|
|
9
|
-
* NOTICE: All information contained herein is, and remains
|
|
10
|
-
* the property of Adobe and its suppliers, if any. The intellectual
|
|
11
|
-
* and technical concepts contained herein are proprietary to Adobe
|
|
12
|
-
* and its suppliers and are protected by all applicable intellectual
|
|
13
|
-
* property laws, including trade secret and copyright laws.
|
|
14
|
-
* Dissemination of this information or reproduction of this material
|
|
15
|
-
* is strictly forbidden unless prior written permission is obtained
|
|
16
|
-
* from Adobe.
|
|
17
|
-
**************************************************************************/
|
|
18
1
|
import './elements/todo-list/todo-list.js';
|
|
19
2
|
import './elements/todo-row/todo-row.js';
|
|
20
3
|
import './elements/todo-toolbar/todo-toolbar.js';
|
|
@@ -4,23 +4,27 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
7
|
+
/*MIT License
|
|
8
|
+
|
|
9
|
+
© Copyright 2025 Adobe. All rights reserved.
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.*/
|
|
24
28
|
import './elements/todo-list/todo-list.js';
|
|
25
29
|
import './elements/todo-row/todo-row.js';
|
|
26
30
|
import './elements/todo-toolbar/todo-toolbar.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"todo-main-element.js","sourceRoot":"","sources":["../../../src/samples/todo/todo-main-element.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"todo-main-element.js","sourceRoot":"","sources":["../../../src/samples/todo/todo-main-element.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AACX,OAAO,mCAAmC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,yCAAyC,CAAC;AACjD,OAAO,6CAA6C,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,CAAC,MAAM,OAAO,GAAG,WAAW,CAAC;AAG5B,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,WAAW;aACvC,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;GAkBlB,AAlBY,CAkBX;IAEF,MAAM;QACJ,OAAO,IAAI,CAAA;;;KAGV,CAAC;IACJ,CAAC;;AA1BU,eAAe;IAD3B,aAAa,CAAC,OAAO,CAAC;GACV,eAAe,CA2B3B"}
|
package/dist/schema/schema.d.ts
CHANGED
|
@@ -29,9 +29,19 @@ export interface UIProperties {
|
|
|
29
29
|
readonly [key: string]: UIProperties;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
declare const schemaTypes: {
|
|
33
|
+
readonly number: true;
|
|
34
|
+
readonly integer: true;
|
|
35
|
+
readonly string: true;
|
|
36
|
+
readonly boolean: true;
|
|
37
|
+
readonly null: true;
|
|
38
|
+
readonly array: true;
|
|
39
|
+
readonly object: true;
|
|
40
|
+
readonly 'typed-buffer': true;
|
|
41
|
+
readonly blob: true;
|
|
42
|
+
};
|
|
33
43
|
export interface Schema {
|
|
34
|
-
type?:
|
|
44
|
+
type?: keyof typeof schemaTypes;
|
|
35
45
|
conditionals?: readonly Conditional[];
|
|
36
46
|
ui?: UIProperties;
|
|
37
47
|
transient?: boolean;
|
|
@@ -60,19 +70,6 @@ export interface Schema {
|
|
|
60
70
|
const?: any;
|
|
61
71
|
enum?: readonly any[];
|
|
62
72
|
layout?: Layout;
|
|
63
|
-
/**
|
|
64
|
-
* Classification of data according to privacy regulations and cookie consent frameworks.
|
|
65
|
-
* Used to categorize data collection and processing for privacy compliance.
|
|
66
|
-
* Useful resource:
|
|
67
|
-
* https://www.onetrust.com/products/cookie-consent/
|
|
68
|
-
*
|
|
69
|
-
* @remarks
|
|
70
|
-
* - `strictlyNecessary`: Essential data required for basic functionality and security
|
|
71
|
-
* - `performance`: Data used for analytics, performance monitoring, and site optimization
|
|
72
|
-
* - `functional`: Data used for enhanced features and user experience improvements
|
|
73
|
-
* - `advertising`: Data used for advertising, marketing, and personalized content
|
|
74
|
-
*/
|
|
75
|
-
privacy?: 'strictlyNecessary' | 'performance' | 'functional' | 'advertising';
|
|
76
73
|
}
|
|
77
74
|
export type FromSchemas<T> = {
|
|
78
75
|
[K in Extract<keyof T, string>]: FromSchema<T[K]>;
|
package/dist/schema/schema.js
CHANGED
|
@@ -19,11 +19,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.*/
|
|
22
|
-
|
|
23
|
-
return typeof schema === 'object' && schema !== null && ('type' in schema && typeof schema.type === 'string'
|
|
24
|
-
||
|
|
25
|
-
'default' in schema && typeof schema.default !== 'undefined');
|
|
26
|
-
};
|
|
22
|
+
const schemaTypes = { number: true, integer: true, string: true, boolean: true, null: true, array: true, object: true, 'typed-buffer': true, blob: true };
|
|
27
23
|
const mySchema = {
|
|
28
24
|
type: 'object',
|
|
29
25
|
properties: {
|
|
@@ -34,4 +30,5 @@ const mySchema = {
|
|
|
34
30
|
required: ['a', 'c'],
|
|
35
31
|
additionalProperties: false,
|
|
36
32
|
};
|
|
33
|
+
export {};
|
|
37
34
|
//# sourceMappingURL=schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/schema/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAwCX,MAAM,
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/schema/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAwCX,MAAM,WAAW,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAW,CAAC;AAyLnK,MAAM,QAAQ,GAAG;IACf,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACrB,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACrB,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;KACvB;IACD,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;IACpB,oBAAoB,EAAE,KAAK;CACF,CAAC"}
|
package/dist/service/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { type Service } from './service.js';
|
|
2
2
|
export { isService } from './is-service.js';
|
|
3
3
|
export { type WithObservableActions, type ServiceActionMessages, addObservableActions } from './add-observable-actions.js';
|
|
4
|
-
export
|
|
4
|
+
export { type ErrorResult, type IntermediateResult, type SuccessResult, type FinalResult, type ProgressiveResult, isErrorResult, isIntermediateResult, isSuccessResult, ErrorResultSchema, IntermediateResultSchema, SuccessResultSchema, ProgressiveResultSchema } from './progressive-result.js';
|
package/dist/service/index.js
CHANGED
|
@@ -21,5 +21,5 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
21
21
|
SOFTWARE.*/
|
|
22
22
|
export { isService } from './is-service.js';
|
|
23
23
|
export { addObservableActions } from './add-observable-actions.js';
|
|
24
|
-
export
|
|
24
|
+
export { isErrorResult, isIntermediateResult, isSuccessResult, ErrorResultSchema, IntermediateResultSchema, SuccessResultSchema, ProgressiveResultSchema } from './progressive-result.js';
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/service/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAGX,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAA0D,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAC3H,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/service/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAGX,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAA0D,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAC3H,OAAO,EAEH,aAAa,EAAE,oBAAoB,EAAE,eAAe,EACpD,iBAAiB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,uBAAuB,EAC5F,MAAM,yBAAyB,CAAC"}
|
package/dist/table/table.js
CHANGED
package/dist/table/table.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../src/table/table.ts"],"names":[],"mappings":"AAmCA,MAAM,KAAW,KAAK,CAMrB;AAND,WAAiB,KAAK;IAEL,eAAS,GAAG,CAAuB,KAAwB,EAAE,SAAY,EAA0C,EAAE;QAC9H,OAAO,SAAS,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,SAAS,CAAC;IAChF,CAAC,CAAA;AAEL,CAAC,EANgB,KAAK,KAAL,KAAK,QAMrB"}
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../src/table/table.ts"],"names":[],"mappings":"AAmCA,2DAA2D;AAC3D,MAAM,KAAW,KAAK,CAMrB;AAND,WAAiB,KAAK;IAEL,eAAS,GAAG,CAAuB,KAAwB,EAAE,SAAY,EAA0C,EAAE;QAC9H,OAAO,SAAS,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,SAAS,CAAC;IAChF,CAAC,CAAA;AAEL,CAAC,EANgB,KAAK,KAAL,KAAK,QAMrB"}
|