@myrmidon/gve-core 6.1.6 → 7.0.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 +1 -10
- package/fesm2022/myrmidon-gve-core.mjs +130 -91
- package/fesm2022/myrmidon-gve-core.mjs.map +1 -1
- package/package.json +5 -5
- package/types/myrmidon-gve-core.d.ts +41 -20
package/README.md
CHANGED
|
@@ -56,16 +56,7 @@ This is the core UI library for [GVE](https://vedph.github.io/gve-doc).
|
|
|
56
56
|
|
|
57
57
|
## Snapshot Editor
|
|
58
58
|
|
|
59
|
-
The snapshot editor is the top-level component in the library and orchestrates the behavior of all the components included in it.
|
|
60
|
-
|
|
61
|
-
- ▶️ `snapshot` (`Snapshot`): the snapshot to edit.
|
|
62
|
-
- ▶️ `batchOps` (`string`): the batch operations text to set for the editor.
|
|
63
|
-
- ▶️ `noSave` (`boolean`): true to disable saving.
|
|
64
|
-
- ▶️ `featureDefs` (`FeatureDefinitions`): preset feature definitions, if any.
|
|
65
|
-
- ▶️ `elementFeatureDefs` (`FeatureDefinitions`): preset feature definitions for graphical elements, if any.
|
|
66
|
-
- ▶️ `diplomaticFeatureDefs` (`FeatureDefinitions`): preset diplomatic feature definitions, if any.
|
|
67
|
-
- 🔥 `snapshotChange` (`Snapshot`): emitted when the user saves the edited snapshot.
|
|
68
|
-
- 🔥 `snapshotCancel` (`void`): emitted when the user cancels the snapshot editing.
|
|
59
|
+
The snapshot editor is the top-level component in the library and orchestrates the behavior of all the components included in it.
|
|
69
60
|
|
|
70
61
|
As for **feature definitions**, the `FeatureDefinitions` interface can be provided with this model:
|
|
71
62
|
|