@jinntec/fore 3.2.1 → 3.3.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 +6 -9
- package/dist/fore-dev.js +14262 -34604
- package/dist/fore.js +13417 -31481
- package/index.js +1 -0
- package/package.json +3 -2
- package/resources/fore.css +22 -0
- package/src/ForeElementMixin.js +18 -0
- package/src/actions/abstract-action.js +94 -24
- package/src/actions/fx-insert.js +2 -2
- package/src/fx-bind.js +28 -0
- package/src/fx-fore.js +132 -30
- package/src/fx-instance.js +51 -4
- package/src/fx-model.js +189 -4
- package/src/fx-submission.js +29 -0
- package/src/modelitem.js +35 -0
- package/src/ui/abstract-control.js +2 -1
- package/src/ui/fx-control.js +93 -1
- package/src/ui/fx-items.js +3 -3
- package/src/xpath-evaluation.js +43 -0
package/README.md
CHANGED
|
@@ -198,17 +198,14 @@ npx cypress run
|
|
|
198
198
|
|
|
199
199
|
## Building a package
|
|
200
200
|
|
|
201
|
-
```npm run build``` creates two bundles in
|
|
201
|
+
```npm run build``` creates two bundles in the `dist/` directory using Vite + esbuild:
|
|
202
202
|
|
|
203
|
-
* fore.js
|
|
204
|
-
* fore-
|
|
205
|
-
The package is still huge but is expected to shrink massively.
|
|
203
|
+
* `fore.js` — production bundle: minified, console output stripped, no devtools
|
|
204
|
+
* `fore-dev.js` — development bundle: minified but retains console output and includes the Fore devtools panel
|
|
206
205
|
|
|
207
|
-
Include the
|
|
208
|
-
```
|
|
209
|
-
<script type="module">
|
|
210
|
-
import 'dist/fore-all.js';
|
|
211
|
-
</script>
|
|
206
|
+
Include the bundle in your webpage with a module import:
|
|
207
|
+
```html
|
|
208
|
+
<script type="module" src="dist/fore.js"></script>
|
|
212
209
|
```
|
|
213
210
|
|
|
214
211
|
## Giant shoulders
|