@archilogic/floor-plan-sdk 3.2.0 → 4.4.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 +19 -14
- package/dist/fpe.api.json +2827 -0
- package/dist/fpe.d.ts +1476 -0
- package/dist/fpe.es.js +861 -0
- package/dist/fpe.mjs +847 -0
- package/dist/fpe.umd.js +847 -0
- package/dist/style.css +1 -0
- package/package.json +23 -8
- package/fpe.css +0 -8
- package/fpe.d.ts +0 -832
- package/fpe.esm.js +0 -254
- package/fpe.js +0 -254
package/README.md
CHANGED
|
@@ -2,9 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
The @archilogic/floor-plan-sdk package enables you to create and embed interactive, customizable floor plans in the browser
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Install
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```bash
|
|
8
|
+
npm i @archilogic/floor-plan-sdk
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## API Extractor
|
|
12
|
+
|
|
13
|
+
This package uses [API Extractor](https://api-extractor.com/) to generate [API report](./api.md) and [doc model](https://api-extractor.com/pages/overview/demo_docs/#whats-in-the-json-file) files
|
|
14
|
+
|
|
15
|
+
- The API report is used to track changes to the public API. This file is internal and tracked by git
|
|
16
|
+
- The doc model file is distributed with the npm package, and is used to generate the public documentation
|
|
17
|
+
|
|
18
|
+
Both files are generated by the `npm run build:api` command
|
|
8
19
|
|
|
9
20
|
## Usage
|
|
10
21
|
|
|
@@ -13,22 +24,16 @@ https://developers.archilogic.com/floor-plan-engine/guide.html
|
|
|
13
24
|
npm i @archilogic/floor-plan-sdk
|
|
14
25
|
```
|
|
15
26
|
```js
|
|
16
|
-
|
|
17
|
-
import FloorPlanEngine from '@archilogic/floor-plan-sdk'
|
|
27
|
+
import { FloorPlanEngine } from '@archilogic/floor-plan-sdk'
|
|
18
28
|
```
|
|
19
29
|
|
|
30
|
+
### es module import via CDN
|
|
20
31
|
```js
|
|
21
|
-
|
|
22
|
-
import '@archilogic/floor-plan-sdk'
|
|
32
|
+
import { FloorPlanEngine } from 'https://code.archilogic.com/fpe-sdk/v5.0.0-beta.0/fpe.es.js'
|
|
23
33
|
```
|
|
24
34
|
|
|
25
|
-
### CDN
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
import FloorPlanEngine from 'https://unpkg.com/@archilogic/floor-plan-sdk?module'
|
|
35
|
+
### umd module import via CDN
|
|
36
|
+
```html
|
|
37
|
+
<script src="https://code.archilogic.com/fpe-sdk/v5.0.0-beta.0/fpe.umd.js" >
|
|
29
38
|
```
|
|
30
39
|
|
|
31
|
-
```js
|
|
32
|
-
// importing as UMD module via public CDN
|
|
33
|
-
import 'https://unpkg.com/@archilogic/floor-plan-sdk'
|
|
34
|
-
```
|