@optionfactory/fml 9.0.0-rc19 → 9.0.0-rc20
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/dist/custom-elements.json +21 -0
- package/dist/fml.css +2 -2
- package/dist/fml.css.map +1 -1
- package/dist/fml.iife.js +264 -3
- package/dist/fml.iife.js.map +1 -1
- package/dist/fml.iife.min.js +1 -1
- package/dist/fml.iife.min.js.map +1 -1
- package/dist/ful.css +2 -2
- package/dist/ful.css.map +1 -1
- package/dist/ful.d.mts +63 -4
- package/dist/ful.iife.js +263 -3
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +264 -5
- package/dist/ful.mjs.map +1 -1
- package/dist/vscode.html-custom-data.json +8 -0
- package/dist/web-types.json +21 -1
- package/package.json +1 -1
|
@@ -140,6 +140,14 @@
|
|
|
140
140
|
{
|
|
141
141
|
"name": "autocomplete",
|
|
142
142
|
"description": "The autofill token every field in the form takes unless it declares one of its own, copied onto the form element the host renders. A form cannot pass it down the way the platform would: each control carries form=\"\" so that the host is the only thing that submits, which leaves it with no form owner to inherit through, so the fields read it off the form instead. (string)"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "track-changes",
|
|
146
|
+
"description": "Keeps track of the edits not saved yet: dirty answers whether a field the user edited since the last commit holds another value, the host matches :state(dirty) and the submit buttons carry a dot while it does. A successful submit commits, and so does the form once its fields have rendered; commit() is for a save of the page's own. (boolean)"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "guard-leave",
|
|
150
|
+
"description": "Asks before the page is left while the form holds edits not saved yet, through the browser's own prompt. Implies track-changes. (boolean)"
|
|
143
151
|
}
|
|
144
152
|
]
|
|
145
153
|
},
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@optionfactory/fml",
|
|
4
|
-
"version": "9.0.0-
|
|
4
|
+
"version": "9.0.0-rc20",
|
|
5
5
|
"description-markup": "none",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -343,6 +343,22 @@
|
|
|
343
343
|
"kind": "plain",
|
|
344
344
|
"type": "string"
|
|
345
345
|
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "track-changes",
|
|
349
|
+
"description": "Keeps track of the edits not saved yet: dirty answers whether a field the user edited since the last commit holds another value, the host matches :state(dirty) and the submit buttons carry a dot while it does. A successful submit commits, and so does the form once its fields have rendered; commit() is for a save of the page's own.",
|
|
350
|
+
"value": {
|
|
351
|
+
"kind": "plain",
|
|
352
|
+
"type": "boolean"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "guard-leave",
|
|
357
|
+
"description": "Asks before the page is left while the form holds edits not saved yet, through the browser's own prompt. Implies track-changes.",
|
|
358
|
+
"value": {
|
|
359
|
+
"kind": "plain",
|
|
360
|
+
"type": "boolean"
|
|
361
|
+
}
|
|
346
362
|
}
|
|
347
363
|
],
|
|
348
364
|
"slots": [],
|
|
@@ -362,6 +378,10 @@
|
|
|
362
378
|
{
|
|
363
379
|
"name": "submit:failure",
|
|
364
380
|
"description": "Fired with the exception when the submit fails. The form does not rethrow."
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "dirty:change",
|
|
384
|
+
"description": "Fired under track-changes when the form starts or stops holding edits not saved yet, with dirty in the detail."
|
|
365
385
|
}
|
|
366
386
|
]
|
|
367
387
|
},
|