@pacem/pacem-cms 1.0.0-amaldi → 1.0.0-archimedes
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 +50 -0
- package/dist/browser/pacem-cms.js +1 -1
- package/dist/browser/pacem-cms.min.js +1 -1
- package/dist/bundle/pacem-cms.min.mjs +1 -1
- package/dist/bundle/pacem-cms.mjs +1 -1
- package/dist/esm/index-iife.js +1 -1
- package/dist/esm/index.cms.js +1 -1
- package/dist/esm/index.components.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/types.js +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
[](https://www.npmjs.com/package/@pacem/pacem-cms)
|
|
2
|
+
[](https://github.com/pacem-it/pacem/blob/main/LICENSE)
|
|
3
|
+
|
|
4
|
+
# @pacem/pacem-cms
|
|
5
|
+
|
|
6
|
+
CMS/dashboard building blocks for the [Pacem JS](https://js.pacem.it) ecosystem: configurable widgets (`pacem-widget-data`, `-datagrid`, `-datacolumn`(s), `-grid`, `-picker`, `-text`, `-toolbar`, `-clock`, `-fetch`, `-translator`, `-apimanifest`), an `pacem-element-picker`, and a `pacem-expression` evaluator — 14 custom elements in total, plus `Cms` (types, widgets) and `OpenApi` (Swagger-driven helpers) namespaces.
|
|
7
|
+
|
|
8
|
+
Depends on [`@pacem/pacem-foundation`](https://www.npmjs.com/package/@pacem/pacem-foundation), [`@pacem/pacem-core`](https://www.npmjs.com/package/@pacem/pacem-core), [`@pacem/pacem-ui`](https://www.npmjs.com/package/@pacem/pacem-ui), [`@pacem/pacem-maps`](https://www.npmjs.com/package/@pacem/pacem-maps), [`@pacem/pacem-scaffolding`](https://www.npmjs.com/package/@pacem/pacem-scaffolding), and [`@pacem/pacem-plus`](https://www.npmjs.com/package/@pacem/pacem-plus).
|
|
9
|
+
|
|
10
|
+
Part of the [Pacem JS](https://js.pacem.it) ecosystem. Install [`@pacem/pacem`](https://www.npmjs.com/package/@pacem/pacem) instead if you want every package bundled together.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install @pacem/pacem-cms
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
### As an ES module
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
import { Components, Cms, OpenApi } from '@pacem/pacem-cms';
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### In the browser, without a bundler
|
|
27
|
+
|
|
28
|
+
```html
|
|
29
|
+
<script src="node_modules/@pacem/pacem-foundation/dist/browser/pacem-foundation.min.js"></script>
|
|
30
|
+
<script src="node_modules/@pacem/pacem-core/dist/browser/pacem-core.min.js"></script>
|
|
31
|
+
<script src="node_modules/@pacem/pacem-ui/dist/browser/pacem-ui.min.js"></script>
|
|
32
|
+
<script src="node_modules/@pacem/pacem-maps/dist/browser/pacem-maps.min.js"></script>
|
|
33
|
+
<script src="node_modules/@pacem/pacem-scaffolding/dist/browser/pacem-scaffolding.min.js"></script>
|
|
34
|
+
<script src="node_modules/@pacem/pacem-plus/dist/browser/pacem-plus.min.js"></script>
|
|
35
|
+
<script src="node_modules/@pacem/pacem-cms/dist/browser/pacem-cms.min.js"></script>
|
|
36
|
+
|
|
37
|
+
<pacem-widget-clock></pacem-widget-clock>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### TypeScript
|
|
41
|
+
|
|
42
|
+
Typings ship in `typings/index.d.ts` and are resolved automatically via the package's `exports` field — both for the ES module import style and for the ambient `Pacem` global used by the plain `<script>` include above.
|
|
43
|
+
|
|
44
|
+
## Custom elements
|
|
45
|
+
|
|
46
|
+
14 elements — the `pacem-widget-*` family, `pacem-element-picker`, and `pacem-expression` — see [`@pacem/pacem`](https://www.npmjs.com/package/@pacem/pacem)'s `dist/vscode.html-custom.json` for the full, up-to-date list with attributes and editor IntelliSense support.
|
|
47
|
+
|
|
48
|
+
## License
|
|
49
|
+
|
|
50
|
+
[Apache-2.0](https://github.com/pacem-it/pacem/blob/main/LICENSE) © [Pacem](https://pacem.it)
|
package/dist/esm/index-iife.js
CHANGED
package/dist/esm/index.cms.js
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/esm/types.js
CHANGED