@modelform/react-native 0.16.0 → 0.17.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/dist/{chunk-PVLALJT5.js → chunk-24ABPZKO.js} +13 -9
- package/dist/{chunk-Q5GMOQT7.mjs → chunk-IMXL2SZA.mjs} +13 -9
- package/dist/core/authoring.d.ts +2 -2
- package/dist/core/formFill.d.ts +2 -0
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/core/inputs.d.ts +5 -0
- package/dist/index.js +162 -162
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/schema/dashboard.schema.json +2 -1
|
@@ -1822,13 +1822,13 @@ function fillForm(dashboard, choices2 = {}) {
|
|
|
1822
1822
|
let field2;
|
|
1823
1823
|
switch (p.type) {
|
|
1824
1824
|
case "input-number":
|
|
1825
|
-
field2 = { ...base, type: "number", unit: o.unit, min: o.min, max: o.max };
|
|
1825
|
+
field2 = { ...base, type: "number", unit: o.unit, min: o.min, max: o.max, step: _nullishCoalesce(o.step, () => ( 1)) };
|
|
1826
1826
|
break;
|
|
1827
1827
|
case "input-rating":
|
|
1828
|
-
field2 = { ...base, type: "number", min: Math.round(_nullishCoalesce(o.min, () => ( 1))), max: Math.round(_nullishCoalesce(o.max, () => ( 5))) };
|
|
1828
|
+
field2 = { ...base, type: "number", min: Math.round(_nullishCoalesce(o.min, () => ( 1))), max: Math.round(_nullishCoalesce(o.max, () => ( 5))), step: 1 };
|
|
1829
1829
|
break;
|
|
1830
1830
|
case "input-slider":
|
|
1831
|
-
field2 = { ...base, type: "number", unit: o.unit, min: _nullishCoalesce(o.min, () => ( 0)), max: _nullishCoalesce(o.max, () => ( 10)), choices: _optionalChain([o, 'access', _156 => _156.labels, 'optionalAccess', _157 => _157.length]) ? o.labels : void 0 };
|
|
1831
|
+
field2 = { ...base, type: "number", unit: o.unit, min: _nullishCoalesce(o.min, () => ( 0)), max: _nullishCoalesce(o.max, () => ( 10)), step: _nullishCoalesce(o.step, () => ( 1)), choices: _optionalChain([o, 'access', _156 => _156.labels, 'optionalAccess', _157 => _157.length]) ? o.labels : void 0 };
|
|
1832
1832
|
break;
|
|
1833
1833
|
case "input-duration":
|
|
1834
1834
|
field2 = { ...base, type: "duration" };
|
|
@@ -1856,8 +1856,11 @@ function fillForm(dashboard, choices2 = {}) {
|
|
|
1856
1856
|
function describe(f) {
|
|
1857
1857
|
const range = f.min != null && f.max != null ? `, from ${f.min} to ${f.max}` : f.min != null ? `, ${f.min} or more` : f.max != null ? `, at most ${f.max}` : "";
|
|
1858
1858
|
switch (f.type) {
|
|
1859
|
-
case "number":
|
|
1860
|
-
|
|
1859
|
+
case "number": {
|
|
1860
|
+
const whole = f.step === void 0 || Number.isInteger(f.step);
|
|
1861
|
+
const precision = whole ? "" : ` (to ${f.step})`;
|
|
1862
|
+
return `a ${whole ? "whole number" : "number"}${f.unit ? ` in ${f.unit}` : ""}${precision}${range}${f.choices ? ` (${f.choices.join(" \u2026 ")} along the scale)` : ""}`;
|
|
1863
|
+
}
|
|
1861
1864
|
case "duration":
|
|
1862
1865
|
return "a duration in seconds";
|
|
1863
1866
|
case "choice":
|
|
@@ -1877,7 +1880,7 @@ function fillSchema(form) {
|
|
|
1877
1880
|
switch (f.type) {
|
|
1878
1881
|
case "number":
|
|
1879
1882
|
case "duration":
|
|
1880
|
-
properties[f.key] = { type: "number", description, ...f.min != null && { minimum: f.min }, ...f.max != null && { maximum: f.max } };
|
|
1883
|
+
properties[f.key] = { type: f.type === "number" && (f.step === void 0 || Number.isInteger(f.step)) ? "integer" : "number", description, ...f.min != null && { minimum: f.min }, ...f.max != null && { maximum: f.max } };
|
|
1881
1884
|
break;
|
|
1882
1885
|
case "choice":
|
|
1883
1886
|
properties[f.key] = { type: "string", enum: f.choices, description };
|
|
@@ -3812,7 +3815,8 @@ var dashboard_schema_default = {
|
|
|
3812
3815
|
type: "number"
|
|
3813
3816
|
},
|
|
3814
3817
|
step: {
|
|
3815
|
-
type: "number"
|
|
3818
|
+
type: "number",
|
|
3819
|
+
description: "input-number and input-slider: what + and \u2212 (or a slider notch) move by, which also sets the precision. 1, the default, takes whole numbers only; a step with decimals takes decimals, e.g. 0.1 for a weight like 72.5."
|
|
3816
3820
|
},
|
|
3817
3821
|
placeholder: {
|
|
3818
3822
|
type: "string"
|
|
@@ -4550,7 +4554,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
4550
4554
|
var schema18 = { "type": "string", "enum": ["form", "dashboard"], "description": "The subset of the Grafana dashboard JSON model that modelform understands. Unknown keys are tolerated and ignored, so dashboards exported from Grafana load as-is. See https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/view-dashboard-json-model/\n\nmodelform adds four extensions, all of which Grafana ignores: - `kind` to say whether the document is a form or a dashboard - `localOnly` to keep a form's entries on the device that records them - `panel.mobile` to tune phone layout per panel - `input-*` panel types for data entry forms (see inputs.ts)" };
|
|
4551
4555
|
var schema19 = { "type": "object", "properties": { "id": { "type": "number" }, "type": { "type": "string", "examples": ["row", "timeseries", "trend", "xychart", "stat", "gauge", "bargauge", "piechart", "barchart", "table", "text", "geomap", "input-number", "input-slider", "input-select", "input-toggle", "input-rating", "input-text", "input-counter", "input-duration", "input-group"] }, "title": { "type": "string" }, "description": { "type": "string" }, "gridPos": { "$ref": "#/definitions/GridPos" }, "datasource": { "anyOf": [{ "$ref": "#/definitions/DataSourceRef" }, { "type": "string" }, { "type": "null" }] }, "targets": { "type": "array", "items": { "$ref": "#/definitions/Target" } }, "fieldConfig": { "type": "object", "properties": { "defaults": { "$ref": "#/definitions/FieldConfig" }, "overrides": { "type": "array", "items": { "$ref": "#/definitions/FieldOverride" } } } }, "options": { "type": "object" }, "transformations": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "options": { "type": "object" }, "disabled": { "type": "boolean" } }, "required": ["id"] }, "description": "Applied in order to the query results. See transform.ts for the ones modelform implements." }, "collapsed": { "type": "boolean", "description": "Rows only." }, "panels": { "type": "array", "items": { "$ref": "#/definitions/Panel" }, "description": "Rows only: children of a collapsed row live here instead of at the top level." }, "repeat": { "type": "string", "description": "Repeat this row (or panel) once per selected value of the named variable." }, "repeatDirection": { "type": "string", "enum": ["h", "v"], "description": "Panel repeats: side by side (`h`, wrapping at maxPerRow) or stacked (`v`)." }, "maxPerRow": { "type": "number" }, "scopedVars": { "type": "object", "additionalProperties": { "type": "object", "properties": { "text": { "type": "string" }, "value": { "type": "string" } }, "required": ["text", "value"] }, "description": "Set on each copy of a repeated row or panel: the single value it was repeated for." }, "mobile": { "$ref": "#/definitions/MobileOptions" }, "links": { "type": "array", "items": { "$ref": "#/definitions/DataLink" }, "description": "Panel links, from the panel header menu in Grafana." } }, "required": ["type", "gridPos"], "additionalProperties": {}, "allOf": [{ "if": { "properties": { "type": { "pattern": "^input-(?!group$)" } }, "required": ["type"] }, "then": { "required": ["options"], "properties": { "options": { "$ref": "#/definitions/InputOptions" } } } }, { "if": { "properties": { "type": { "const": "input-group" } }, "required": ["type"] }, "then": { "required": ["options"], "properties": { "options": { "$ref": "#/definitions/InputGroupOptions" } } } }] };
|
|
4552
4556
|
var pattern1 = new RegExp("^input-(?!group$)", "u");
|
|
4553
|
-
var schema20 = { "type": "object", "properties": { "metric": { "type": "string", "description": "The metric this input records to. Visualization queries select data by this name." }, "unit": { "type": "string" }, "min": { "type": "number" }, "max": { "type": "number" }, "step": { "type": "number" }, "placeholder": { "type": "string" }, "labels": { "type": "array", "items": { "type": "string" }, "description": 'input-slider only: text spaced evenly along the track, first at min and last at max, e.g. ["Understeer", "Neutral", "Oversteer"]. Replaces the numeric min/max labels.' }, "default": { "anyOf": [{ "type": "number" }, { "type": "string" }, { "type": "boolean" }, { "type": "string", "const": "last" }], "description": 'Initial value: a literal, or "last" to start from the most recent entry.' }, "record": { "type": "string", "enum": ["changed", "always"], "description": '"changed" (the default) records the value only when it was edited before Save; "always" records it on every Save, so a default like "last" is kept with each save.' }, "required": { "type": "boolean", "description": "Save waits until this has a value." }, "choices": { "type": "array", "items": { "$ref": "#/definitions/InputChoice" }, "description": "input-select only." }, "choicesFrom": { "type": "string", "description": "input-select only: take the choices from the app at runtime instead of `choices`, for lists that live in app data (e.g. wheel sets). Names a key of InputForm's `choices` prop." }, "multi": { "type": "boolean", "description": "input-select only: allow selecting several. Each selection is recorded as its own entry." }, "increment": { "type": "number", "description": "input-counter only: the amount each tap records (default 1)." }, "suggest": { "type": "boolean", "description": "input-text only: a single-line field that suggests values recorded earlier, matching what's typed." }, "suggestWith": { "type": "string", "description": "input-text with `suggest` only: another input's metric whose current value narrows the suggestions to values saved alongside it (e.g. configurations of the chosen track). Falls back to every earlier value when none were." } }, "required": ["metric"] };
|
|
4557
|
+
var schema20 = { "type": "object", "properties": { "metric": { "type": "string", "description": "The metric this input records to. Visualization queries select data by this name." }, "unit": { "type": "string" }, "min": { "type": "number" }, "max": { "type": "number" }, "step": { "type": "number", "description": "input-number and input-slider: what + and \u2212 (or a slider notch) move by, which also sets the precision. 1, the default, takes whole numbers only; a step with decimals takes decimals, e.g. 0.1 for a weight like 72.5." }, "placeholder": { "type": "string" }, "labels": { "type": "array", "items": { "type": "string" }, "description": 'input-slider only: text spaced evenly along the track, first at min and last at max, e.g. ["Understeer", "Neutral", "Oversteer"]. Replaces the numeric min/max labels.' }, "default": { "anyOf": [{ "type": "number" }, { "type": "string" }, { "type": "boolean" }, { "type": "string", "const": "last" }], "description": 'Initial value: a literal, or "last" to start from the most recent entry.' }, "record": { "type": "string", "enum": ["changed", "always"], "description": '"changed" (the default) records the value only when it was edited before Save; "always" records it on every Save, so a default like "last" is kept with each save.' }, "required": { "type": "boolean", "description": "Save waits until this has a value." }, "choices": { "type": "array", "items": { "$ref": "#/definitions/InputChoice" }, "description": "input-select only." }, "choicesFrom": { "type": "string", "description": "input-select only: take the choices from the app at runtime instead of `choices`, for lists that live in app data (e.g. wheel sets). Names a key of InputForm's `choices` prop." }, "multi": { "type": "boolean", "description": "input-select only: allow selecting several. Each selection is recorded as its own entry." }, "increment": { "type": "number", "description": "input-counter only: the amount each tap records (default 1)." }, "suggest": { "type": "boolean", "description": "input-text only: a single-line field that suggests values recorded earlier, matching what's typed." }, "suggestWith": { "type": "string", "description": "input-text with `suggest` only: another input's metric whose current value narrows the suggestions to values saved alongside it (e.g. configurations of the chosen track). Falls back to every earlier value when none were." } }, "required": ["metric"] };
|
|
4554
4558
|
var schema21 = { "type": "object", "properties": { "label": { "type": "string" }, "value": { "type": ["number", "string"] } }, "required": ["label", "value"] };
|
|
4555
4559
|
function validate19(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
4556
4560
|
let vErrors = null;
|
|
@@ -12398,7 +12402,7 @@ Forms hold input panels. Each records to a \`metric\` (lowercase words joined wi
|
|
|
12398
12402
|
|
|
12399
12403
|
| type | what | options besides metric |
|
|
12400
12404
|
|---|---|---|
|
|
12401
|
-
| input-number | a number typed or stepped with + and \u2212 | unit, step, min, max |
|
|
12405
|
+
| input-number | a number typed or stepped with + and \u2212 | unit, step (1 by default: whole numbers only; give 0.1 for decimals, e.g. a weight), min, max |
|
|
12402
12406
|
| input-slider | a value dragged along a range | min, max, step, unit, labels (text spread along the track) |
|
|
12403
12407
|
| input-select | one of a set of choices | choices: [{ "label", "value" }], multi (allow several) |
|
|
12404
12408
|
| input-toggle | yes or no (records 1 or 0) | |
|
|
@@ -1822,13 +1822,13 @@ function fillForm(dashboard, choices2 = {}) {
|
|
|
1822
1822
|
let field2;
|
|
1823
1823
|
switch (p.type) {
|
|
1824
1824
|
case "input-number":
|
|
1825
|
-
field2 = { ...base, type: "number", unit: o.unit, min: o.min, max: o.max };
|
|
1825
|
+
field2 = { ...base, type: "number", unit: o.unit, min: o.min, max: o.max, step: o.step ?? 1 };
|
|
1826
1826
|
break;
|
|
1827
1827
|
case "input-rating":
|
|
1828
|
-
field2 = { ...base, type: "number", min: Math.round(o.min ?? 1), max: Math.round(o.max ?? 5) };
|
|
1828
|
+
field2 = { ...base, type: "number", min: Math.round(o.min ?? 1), max: Math.round(o.max ?? 5), step: 1 };
|
|
1829
1829
|
break;
|
|
1830
1830
|
case "input-slider":
|
|
1831
|
-
field2 = { ...base, type: "number", unit: o.unit, min: o.min ?? 0, max: o.max ?? 10, choices: o.labels?.length ? o.labels : void 0 };
|
|
1831
|
+
field2 = { ...base, type: "number", unit: o.unit, min: o.min ?? 0, max: o.max ?? 10, step: o.step ?? 1, choices: o.labels?.length ? o.labels : void 0 };
|
|
1832
1832
|
break;
|
|
1833
1833
|
case "input-duration":
|
|
1834
1834
|
field2 = { ...base, type: "duration" };
|
|
@@ -1856,8 +1856,11 @@ function fillForm(dashboard, choices2 = {}) {
|
|
|
1856
1856
|
function describe(f) {
|
|
1857
1857
|
const range = f.min != null && f.max != null ? `, from ${f.min} to ${f.max}` : f.min != null ? `, ${f.min} or more` : f.max != null ? `, at most ${f.max}` : "";
|
|
1858
1858
|
switch (f.type) {
|
|
1859
|
-
case "number":
|
|
1860
|
-
|
|
1859
|
+
case "number": {
|
|
1860
|
+
const whole = f.step === void 0 || Number.isInteger(f.step);
|
|
1861
|
+
const precision = whole ? "" : ` (to ${f.step})`;
|
|
1862
|
+
return `a ${whole ? "whole number" : "number"}${f.unit ? ` in ${f.unit}` : ""}${precision}${range}${f.choices ? ` (${f.choices.join(" \u2026 ")} along the scale)` : ""}`;
|
|
1863
|
+
}
|
|
1861
1864
|
case "duration":
|
|
1862
1865
|
return "a duration in seconds";
|
|
1863
1866
|
case "choice":
|
|
@@ -1877,7 +1880,7 @@ function fillSchema(form) {
|
|
|
1877
1880
|
switch (f.type) {
|
|
1878
1881
|
case "number":
|
|
1879
1882
|
case "duration":
|
|
1880
|
-
properties[f.key] = { type: "number", description, ...f.min != null && { minimum: f.min }, ...f.max != null && { maximum: f.max } };
|
|
1883
|
+
properties[f.key] = { type: f.type === "number" && (f.step === void 0 || Number.isInteger(f.step)) ? "integer" : "number", description, ...f.min != null && { minimum: f.min }, ...f.max != null && { maximum: f.max } };
|
|
1881
1884
|
break;
|
|
1882
1885
|
case "choice":
|
|
1883
1886
|
properties[f.key] = { type: "string", enum: f.choices, description };
|
|
@@ -3812,7 +3815,8 @@ var dashboard_schema_default = {
|
|
|
3812
3815
|
type: "number"
|
|
3813
3816
|
},
|
|
3814
3817
|
step: {
|
|
3815
|
-
type: "number"
|
|
3818
|
+
type: "number",
|
|
3819
|
+
description: "input-number and input-slider: what + and \u2212 (or a slider notch) move by, which also sets the precision. 1, the default, takes whole numbers only; a step with decimals takes decimals, e.g. 0.1 for a weight like 72.5."
|
|
3816
3820
|
},
|
|
3817
3821
|
placeholder: {
|
|
3818
3822
|
type: "string"
|
|
@@ -4550,7 +4554,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
4550
4554
|
var schema18 = { "type": "string", "enum": ["form", "dashboard"], "description": "The subset of the Grafana dashboard JSON model that modelform understands. Unknown keys are tolerated and ignored, so dashboards exported from Grafana load as-is. See https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/view-dashboard-json-model/\n\nmodelform adds four extensions, all of which Grafana ignores: - `kind` to say whether the document is a form or a dashboard - `localOnly` to keep a form's entries on the device that records them - `panel.mobile` to tune phone layout per panel - `input-*` panel types for data entry forms (see inputs.ts)" };
|
|
4551
4555
|
var schema19 = { "type": "object", "properties": { "id": { "type": "number" }, "type": { "type": "string", "examples": ["row", "timeseries", "trend", "xychart", "stat", "gauge", "bargauge", "piechart", "barchart", "table", "text", "geomap", "input-number", "input-slider", "input-select", "input-toggle", "input-rating", "input-text", "input-counter", "input-duration", "input-group"] }, "title": { "type": "string" }, "description": { "type": "string" }, "gridPos": { "$ref": "#/definitions/GridPos" }, "datasource": { "anyOf": [{ "$ref": "#/definitions/DataSourceRef" }, { "type": "string" }, { "type": "null" }] }, "targets": { "type": "array", "items": { "$ref": "#/definitions/Target" } }, "fieldConfig": { "type": "object", "properties": { "defaults": { "$ref": "#/definitions/FieldConfig" }, "overrides": { "type": "array", "items": { "$ref": "#/definitions/FieldOverride" } } } }, "options": { "type": "object" }, "transformations": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "options": { "type": "object" }, "disabled": { "type": "boolean" } }, "required": ["id"] }, "description": "Applied in order to the query results. See transform.ts for the ones modelform implements." }, "collapsed": { "type": "boolean", "description": "Rows only." }, "panels": { "type": "array", "items": { "$ref": "#/definitions/Panel" }, "description": "Rows only: children of a collapsed row live here instead of at the top level." }, "repeat": { "type": "string", "description": "Repeat this row (or panel) once per selected value of the named variable." }, "repeatDirection": { "type": "string", "enum": ["h", "v"], "description": "Panel repeats: side by side (`h`, wrapping at maxPerRow) or stacked (`v`)." }, "maxPerRow": { "type": "number" }, "scopedVars": { "type": "object", "additionalProperties": { "type": "object", "properties": { "text": { "type": "string" }, "value": { "type": "string" } }, "required": ["text", "value"] }, "description": "Set on each copy of a repeated row or panel: the single value it was repeated for." }, "mobile": { "$ref": "#/definitions/MobileOptions" }, "links": { "type": "array", "items": { "$ref": "#/definitions/DataLink" }, "description": "Panel links, from the panel header menu in Grafana." } }, "required": ["type", "gridPos"], "additionalProperties": {}, "allOf": [{ "if": { "properties": { "type": { "pattern": "^input-(?!group$)" } }, "required": ["type"] }, "then": { "required": ["options"], "properties": { "options": { "$ref": "#/definitions/InputOptions" } } } }, { "if": { "properties": { "type": { "const": "input-group" } }, "required": ["type"] }, "then": { "required": ["options"], "properties": { "options": { "$ref": "#/definitions/InputGroupOptions" } } } }] };
|
|
4552
4556
|
var pattern1 = new RegExp("^input-(?!group$)", "u");
|
|
4553
|
-
var schema20 = { "type": "object", "properties": { "metric": { "type": "string", "description": "The metric this input records to. Visualization queries select data by this name." }, "unit": { "type": "string" }, "min": { "type": "number" }, "max": { "type": "number" }, "step": { "type": "number" }, "placeholder": { "type": "string" }, "labels": { "type": "array", "items": { "type": "string" }, "description": 'input-slider only: text spaced evenly along the track, first at min and last at max, e.g. ["Understeer", "Neutral", "Oversteer"]. Replaces the numeric min/max labels.' }, "default": { "anyOf": [{ "type": "number" }, { "type": "string" }, { "type": "boolean" }, { "type": "string", "const": "last" }], "description": 'Initial value: a literal, or "last" to start from the most recent entry.' }, "record": { "type": "string", "enum": ["changed", "always"], "description": '"changed" (the default) records the value only when it was edited before Save; "always" records it on every Save, so a default like "last" is kept with each save.' }, "required": { "type": "boolean", "description": "Save waits until this has a value." }, "choices": { "type": "array", "items": { "$ref": "#/definitions/InputChoice" }, "description": "input-select only." }, "choicesFrom": { "type": "string", "description": "input-select only: take the choices from the app at runtime instead of `choices`, for lists that live in app data (e.g. wheel sets). Names a key of InputForm's `choices` prop." }, "multi": { "type": "boolean", "description": "input-select only: allow selecting several. Each selection is recorded as its own entry." }, "increment": { "type": "number", "description": "input-counter only: the amount each tap records (default 1)." }, "suggest": { "type": "boolean", "description": "input-text only: a single-line field that suggests values recorded earlier, matching what's typed." }, "suggestWith": { "type": "string", "description": "input-text with `suggest` only: another input's metric whose current value narrows the suggestions to values saved alongside it (e.g. configurations of the chosen track). Falls back to every earlier value when none were." } }, "required": ["metric"] };
|
|
4557
|
+
var schema20 = { "type": "object", "properties": { "metric": { "type": "string", "description": "The metric this input records to. Visualization queries select data by this name." }, "unit": { "type": "string" }, "min": { "type": "number" }, "max": { "type": "number" }, "step": { "type": "number", "description": "input-number and input-slider: what + and \u2212 (or a slider notch) move by, which also sets the precision. 1, the default, takes whole numbers only; a step with decimals takes decimals, e.g. 0.1 for a weight like 72.5." }, "placeholder": { "type": "string" }, "labels": { "type": "array", "items": { "type": "string" }, "description": 'input-slider only: text spaced evenly along the track, first at min and last at max, e.g. ["Understeer", "Neutral", "Oversteer"]. Replaces the numeric min/max labels.' }, "default": { "anyOf": [{ "type": "number" }, { "type": "string" }, { "type": "boolean" }, { "type": "string", "const": "last" }], "description": 'Initial value: a literal, or "last" to start from the most recent entry.' }, "record": { "type": "string", "enum": ["changed", "always"], "description": '"changed" (the default) records the value only when it was edited before Save; "always" records it on every Save, so a default like "last" is kept with each save.' }, "required": { "type": "boolean", "description": "Save waits until this has a value." }, "choices": { "type": "array", "items": { "$ref": "#/definitions/InputChoice" }, "description": "input-select only." }, "choicesFrom": { "type": "string", "description": "input-select only: take the choices from the app at runtime instead of `choices`, for lists that live in app data (e.g. wheel sets). Names a key of InputForm's `choices` prop." }, "multi": { "type": "boolean", "description": "input-select only: allow selecting several. Each selection is recorded as its own entry." }, "increment": { "type": "number", "description": "input-counter only: the amount each tap records (default 1)." }, "suggest": { "type": "boolean", "description": "input-text only: a single-line field that suggests values recorded earlier, matching what's typed." }, "suggestWith": { "type": "string", "description": "input-text with `suggest` only: another input's metric whose current value narrows the suggestions to values saved alongside it (e.g. configurations of the chosen track). Falls back to every earlier value when none were." } }, "required": ["metric"] };
|
|
4554
4558
|
var schema21 = { "type": "object", "properties": { "label": { "type": "string" }, "value": { "type": ["number", "string"] } }, "required": ["label", "value"] };
|
|
4555
4559
|
function validate19(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
4556
4560
|
let vErrors = null;
|
|
@@ -12398,7 +12402,7 @@ Forms hold input panels. Each records to a \`metric\` (lowercase words joined wi
|
|
|
12398
12402
|
|
|
12399
12403
|
| type | what | options besides metric |
|
|
12400
12404
|
|---|---|---|
|
|
12401
|
-
| input-number | a number typed or stepped with + and \u2212 | unit, step, min, max |
|
|
12405
|
+
| input-number | a number typed or stepped with + and \u2212 | unit, step (1 by default: whole numbers only; give 0.1 for decimals, e.g. a weight), min, max |
|
|
12402
12406
|
| input-slider | a value dragged along a range | min, max, step, unit, labels (text spread along the track) |
|
|
12403
12407
|
| input-select | one of a set of choices | choices: [{ "label", "value" }], multi (allow several) |
|
|
12404
12408
|
| input-toggle | yes or no (records 1 or 0) | |
|
package/dist/core/authoring.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Dashboard, DocumentKind } from './schema';
|
|
2
2
|
import { type AppTemplate } from './templates';
|
|
3
3
|
/** How to write forms and dashboards, for an assistant: the part of the guide that applies to one document. */
|
|
4
|
-
export declare const DOCUMENT_GUIDE = "## Documents\n\nA document is a subset of Grafana's dashboard JSON: `{ \"kind\": \"form\" | \"dashboard\", \"title\": \"\u2026\", \"panels\": [ \u2026 ] }`, and dashboards add `\"time\": { \"from\": \"now-30d\", \"to\": \"now\" }`.\n\nEvery panel has an `id` (a number, unique in its document), a `type`, a `title`, and a `gridPos` `{ \"x\", \"y\", \"w\", \"h\" }` on a 24-column grid: `w: 24` is full width, `w: 12` half. Stack panels top to bottom with no gaps or overlaps (each `y` is the previous `y + h` unless they sit side by side). On phones panels show full width in that order.\n\nA `\"row\"` panel (`h: 1`, no options) is a section heading for the panels under it, in forms and dashboards.\n\n## Forms\n\nForms hold input panels. Each records to a `metric` (lowercase words joined with dashes, e.g. `\"body-weight\"`), and charts read entries by that metric. Two inputs never share a metric. Use `h: 3` for inputs.\n\n| type | what | options besides metric |\n|---|---|---|\n| input-number | a number typed or stepped with + and \u2212 | unit, step, min, max |\n| input-slider | a value dragged along a range | min, max, step, unit, labels (text spread along the track) |\n| input-select | one of a set of choices | choices: [{ \"label\", \"value\" }], multi (allow several) |\n| input-toggle | yes or no (records 1 or 0) | |\n| input-rating | a score, e.g. 1 to 5 | min, max |\n| input-text | free text | placeholder, suggest (offer earlier values) |\n| input-counter | taps that add up, e.g. glasses of water | increment, unit |\n| input-duration | a length of time, recorded in seconds | placeholder |\n\nA form can set `\"localOnly\": true` (beside `\"kind\"`) to keep what it records on the device where it's recorded: it's never synced to an account, other devices or assistants. Use it only when asked, e.g. for a private journal.\n\nAny input (not counter) can also take `required: true`, `default` (a value, or `\"last\"` for the last one saved), and `record: \"always\"` to record its value on every save even when it wasn't changed.\n\n`input-group` repeats fields once per item, for things like the sets of a workout or the dishes of a meal. Give it `h: 12` and options `{ \"itemTitle\": \"Set\", \"titleFrom\": \"<a field's metric>\", \"start\": 1 | \"last\", \"min\", \"max\", \"fields\": [ { \"type\": \"input-\u2026\", \"title\", \"span\": 1\u201324, \"options\": { \"metric\", \u2026 } } ] }`. Fields can be any input but input-counter.\n\n## Dashboards\n\nChart panels read the app's entries with `\"datasource\": { \"type\": \"modelform-local\" }` and `\"targets\": [ { \"refId\": \"A\", \"metric\": \"\u2026\" } ]` (refIds A, B, C\u2026 for more series). A target can also have:\n\n- `aggregate`: \"sum\", \"avg\", \"min\", \"max\", \"count\" or \"last\", with `bucket`: \"1h\", \"1d\", \"1w\" or \"1M\". Without them each entry is a point.\n- `groupBy`: \"text\" for one series per text or choice value; `{ \"field\": \"<metric>\" }` for one series per value of another input saved at the same time (in an input-group, of the same item, e.g. weight per exercise).\n- `alias`: the series name. `fillZero: false` leaves empty buckets out.\n\n| type | use for | h |\n|---|---|---|\n| timeseries | values over time | 7\u20138 |\n| barchart | totals per day, week or category | 7\u20138 |\n| stat | one big number; `\"options\": { \"reduceOptions\": { \"calcs\": [\"lastNotNull\" or \"mean\" or \"sum\"] } }` | 4 |\n| gauge, bargauge | a value against a range (set min and max) | 5\u20136 |\n| piechart | how a total splits, e.g. by choice with groupBy \"text\" and aggregate \"count\" | 8 |\n| table | rows of values | 8 |\n| text | markdown notes: `\"options\": { \"content\": \"\u2026\" }`, no targets | 3\u20134 |\n\nUnits and ranges go in `\"fieldConfig\": { \"defaults\": { \"unit\": \"\u2026\", \"min\", \"max\", \"decimals\" } }`. Units are Grafana's, e.g. \"percent\", \"masskg\", \"lengthkm\", \"s\", or \"suffix: <text>\" for anything else (`\"suffix: glasses\"`). Don't use trend, xychart or geomap panels.\n\nCharts can't do arithmetic across metrics (weight \u00D7 reps, a ratio of two inputs). Chart what's recorded instead, or add an input for the combined value, and say which you did in the sentence before the JSON.\n\n";
|
|
4
|
+
export declare const DOCUMENT_GUIDE = "## Documents\n\nA document is a subset of Grafana's dashboard JSON: `{ \"kind\": \"form\" | \"dashboard\", \"title\": \"\u2026\", \"panels\": [ \u2026 ] }`, and dashboards add `\"time\": { \"from\": \"now-30d\", \"to\": \"now\" }`.\n\nEvery panel has an `id` (a number, unique in its document), a `type`, a `title`, and a `gridPos` `{ \"x\", \"y\", \"w\", \"h\" }` on a 24-column grid: `w: 24` is full width, `w: 12` half. Stack panels top to bottom with no gaps or overlaps (each `y` is the previous `y + h` unless they sit side by side). On phones panels show full width in that order.\n\nA `\"row\"` panel (`h: 1`, no options) is a section heading for the panels under it, in forms and dashboards.\n\n## Forms\n\nForms hold input panels. Each records to a `metric` (lowercase words joined with dashes, e.g. `\"body-weight\"`), and charts read entries by that metric. Two inputs never share a metric. Use `h: 3` for inputs.\n\n| type | what | options besides metric |\n|---|---|---|\n| input-number | a number typed or stepped with + and \u2212 | unit, step (1 by default: whole numbers only; give 0.1 for decimals, e.g. a weight), min, max |\n| input-slider | a value dragged along a range | min, max, step, unit, labels (text spread along the track) |\n| input-select | one of a set of choices | choices: [{ \"label\", \"value\" }], multi (allow several) |\n| input-toggle | yes or no (records 1 or 0) | |\n| input-rating | a score, e.g. 1 to 5 | min, max |\n| input-text | free text | placeholder, suggest (offer earlier values) |\n| input-counter | taps that add up, e.g. glasses of water | increment, unit |\n| input-duration | a length of time, recorded in seconds | placeholder |\n\nA form can set `\"localOnly\": true` (beside `\"kind\"`) to keep what it records on the device where it's recorded: it's never synced to an account, other devices or assistants. Use it only when asked, e.g. for a private journal.\n\nAny input (not counter) can also take `required: true`, `default` (a value, or `\"last\"` for the last one saved), and `record: \"always\"` to record its value on every save even when it wasn't changed.\n\n`input-group` repeats fields once per item, for things like the sets of a workout or the dishes of a meal. Give it `h: 12` and options `{ \"itemTitle\": \"Set\", \"titleFrom\": \"<a field's metric>\", \"start\": 1 | \"last\", \"min\", \"max\", \"fields\": [ { \"type\": \"input-\u2026\", \"title\", \"span\": 1\u201324, \"options\": { \"metric\", \u2026 } } ] }`. Fields can be any input but input-counter.\n\n## Dashboards\n\nChart panels read the app's entries with `\"datasource\": { \"type\": \"modelform-local\" }` and `\"targets\": [ { \"refId\": \"A\", \"metric\": \"\u2026\" } ]` (refIds A, B, C\u2026 for more series). A target can also have:\n\n- `aggregate`: \"sum\", \"avg\", \"min\", \"max\", \"count\" or \"last\", with `bucket`: \"1h\", \"1d\", \"1w\" or \"1M\". Without them each entry is a point.\n- `groupBy`: \"text\" for one series per text or choice value; `{ \"field\": \"<metric>\" }` for one series per value of another input saved at the same time (in an input-group, of the same item, e.g. weight per exercise).\n- `alias`: the series name. `fillZero: false` leaves empty buckets out.\n\n| type | use for | h |\n|---|---|---|\n| timeseries | values over time | 7\u20138 |\n| barchart | totals per day, week or category | 7\u20138 |\n| stat | one big number; `\"options\": { \"reduceOptions\": { \"calcs\": [\"lastNotNull\" or \"mean\" or \"sum\"] } }` | 4 |\n| gauge, bargauge | a value against a range (set min and max) | 5\u20136 |\n| piechart | how a total splits, e.g. by choice with groupBy \"text\" and aggregate \"count\" | 8 |\n| table | rows of values | 8 |\n| text | markdown notes: `\"options\": { \"content\": \"\u2026\" }`, no targets | 3\u20134 |\n\nUnits and ranges go in `\"fieldConfig\": { \"defaults\": { \"unit\": \"\u2026\", \"min\", \"max\", \"decimals\" } }`. Units are Grafana's, e.g. \"percent\", \"masskg\", \"lengthkm\", \"s\", or \"suffix: <text>\" for anything else (`\"suffix: glasses\"`). Don't use trend, xychart or geomap panels.\n\nCharts can't do arithmetic across metrics (weight \u00D7 reps, a ratio of two inputs). Chart what's recorded instead, or add an input for the combined value, and say which you did in the sentence before the JSON.\n\n";
|
|
5
5
|
/** How to write a modelform template, for an assistant. Kept next to the format so they change together. */
|
|
6
|
-
export declare const AUTHORING_GUIDE = "# modelform templates\n\nA template is JSON that adds forms (for recording entries) and dashboards (for charting them) to an app, plus tabs to show them.\n\n```\n{\n \"$modelform\": \"template\",\n \"version\": 1,\n \"title\": \"Short name\",\n \"description\": \"One sentence on what it's for.\",\n \"documents\": [ { \"kind\": \"form\" | \"dashboard\", \"id\": \"letters-digits-dashes\", \"dashboard\": { ...document } } ],\n \"tabs\": [ ...tabs ]\n}\n```\n\nEach document's `kind` matches its entry in `documents`.\n\n## Documents\n\nA document is a subset of Grafana's dashboard JSON: `{ \"kind\": \"form\" | \"dashboard\", \"title\": \"\u2026\", \"panels\": [ \u2026 ] }`, and dashboards add `\"time\": { \"from\": \"now-30d\", \"to\": \"now\" }`.\n\nEvery panel has an `id` (a number, unique in its document), a `type`, a `title`, and a `gridPos` `{ \"x\", \"y\", \"w\", \"h\" }` on a 24-column grid: `w: 24` is full width, `w: 12` half. Stack panels top to bottom with no gaps or overlaps (each `y` is the previous `y + h` unless they sit side by side). On phones panels show full width in that order.\n\nA `\"row\"` panel (`h: 1`, no options) is a section heading for the panels under it, in forms and dashboards.\n\n## Forms\n\nForms hold input panels. Each records to a `metric` (lowercase words joined with dashes, e.g. `\"body-weight\"`), and charts read entries by that metric. Two inputs never share a metric. Use `h: 3` for inputs.\n\n| type | what | options besides metric |\n|---|---|---|\n| input-number | a number typed or stepped with + and \u2212 | unit, step, min, max |\n| input-slider | a value dragged along a range | min, max, step, unit, labels (text spread along the track) |\n| input-select | one of a set of choices | choices: [{ \"label\", \"value\" }], multi (allow several) |\n| input-toggle | yes or no (records 1 or 0) | |\n| input-rating | a score, e.g. 1 to 5 | min, max |\n| input-text | free text | placeholder, suggest (offer earlier values) |\n| input-counter | taps that add up, e.g. glasses of water | increment, unit |\n| input-duration | a length of time, recorded in seconds | placeholder |\n\nA form can set `\"localOnly\": true` (beside `\"kind\"`) to keep what it records on the device where it's recorded: it's never synced to an account, other devices or assistants. Use it only when asked, e.g. for a private journal.\n\nAny input (not counter) can also take `required: true`, `default` (a value, or `\"last\"` for the last one saved), and `record: \"always\"` to record its value on every save even when it wasn't changed.\n\n`input-group` repeats fields once per item, for things like the sets of a workout or the dishes of a meal. Give it `h: 12` and options `{ \"itemTitle\": \"Set\", \"titleFrom\": \"<a field's metric>\", \"start\": 1 | \"last\", \"min\", \"max\", \"fields\": [ { \"type\": \"input-\u2026\", \"title\", \"span\": 1\u201324, \"options\": { \"metric\", \u2026 } } ] }`. Fields can be any input but input-counter.\n\n## Dashboards\n\nChart panels read the app's entries with `\"datasource\": { \"type\": \"modelform-local\" }` and `\"targets\": [ { \"refId\": \"A\", \"metric\": \"\u2026\" } ]` (refIds A, B, C\u2026 for more series). A target can also have:\n\n- `aggregate`: \"sum\", \"avg\", \"min\", \"max\", \"count\" or \"last\", with `bucket`: \"1h\", \"1d\", \"1w\" or \"1M\". Without them each entry is a point.\n- `groupBy`: \"text\" for one series per text or choice value; `{ \"field\": \"<metric>\" }` for one series per value of another input saved at the same time (in an input-group, of the same item, e.g. weight per exercise).\n- `alias`: the series name. `fillZero: false` leaves empty buckets out.\n\n| type | use for | h |\n|---|---|---|\n| timeseries | values over time | 7\u20138 |\n| barchart | totals per day, week or category | 7\u20138 |\n| stat | one big number; `\"options\": { \"reduceOptions\": { \"calcs\": [\"lastNotNull\" or \"mean\" or \"sum\"] } }` | 4 |\n| gauge, bargauge | a value against a range (set min and max) | 5\u20136 |\n| piechart | how a total splits, e.g. by choice with groupBy \"text\" and aggregate \"count\" | 8 |\n| table | rows of values | 8 |\n| text | markdown notes: `\"options\": { \"content\": \"\u2026\" }`, no targets | 3\u20134 |\n\nUnits and ranges go in `\"fieldConfig\": { \"defaults\": { \"unit\": \"\u2026\", \"min\", \"max\", \"decimals\" } }`. Units are Grafana's, e.g. \"percent\", \"masskg\", \"lengthkm\", \"s\", or \"suffix: <text>\" for anything else (`\"suffix: glasses\"`). Don't use trend, xychart or geomap panels.\n\nCharts can't do arithmetic across metrics (weight \u00D7 reps, a ratio of two inputs). Chart what's recorded instead, or add an input for the combined value, and say which you did in the sentence before the JSON.\n\n## Tabs\n\n`{ \"id\": \"\u2026\", \"title\": \"\u2026\", \"icon\": \"\u2026\", \"screen\": \u2026 }`, where the screen is one of:\n\n- `{ \"type\": \"forms\", \"forms\": [\"<form id>\", \u2026] }`\n- `{ \"type\": \"dashboard\", \"dashboard\": \"<dashboard id>\" }`\n- `{ \"type\": \"menu\", \"items\": [ { \"form\": \"<id>\" } or { \"dashboard\": \"<id>\", \"description\": \"\u2026\" } ] }`\n\nUsually one tab for the forms and one per dashboard.\n";
|
|
6
|
+
export declare const AUTHORING_GUIDE = "# modelform templates\n\nA template is JSON that adds forms (for recording entries) and dashboards (for charting them) to an app, plus tabs to show them.\n\n```\n{\n \"$modelform\": \"template\",\n \"version\": 1,\n \"title\": \"Short name\",\n \"description\": \"One sentence on what it's for.\",\n \"documents\": [ { \"kind\": \"form\" | \"dashboard\", \"id\": \"letters-digits-dashes\", \"dashboard\": { ...document } } ],\n \"tabs\": [ ...tabs ]\n}\n```\n\nEach document's `kind` matches its entry in `documents`.\n\n## Documents\n\nA document is a subset of Grafana's dashboard JSON: `{ \"kind\": \"form\" | \"dashboard\", \"title\": \"\u2026\", \"panels\": [ \u2026 ] }`, and dashboards add `\"time\": { \"from\": \"now-30d\", \"to\": \"now\" }`.\n\nEvery panel has an `id` (a number, unique in its document), a `type`, a `title`, and a `gridPos` `{ \"x\", \"y\", \"w\", \"h\" }` on a 24-column grid: `w: 24` is full width, `w: 12` half. Stack panels top to bottom with no gaps or overlaps (each `y` is the previous `y + h` unless they sit side by side). On phones panels show full width in that order.\n\nA `\"row\"` panel (`h: 1`, no options) is a section heading for the panels under it, in forms and dashboards.\n\n## Forms\n\nForms hold input panels. Each records to a `metric` (lowercase words joined with dashes, e.g. `\"body-weight\"`), and charts read entries by that metric. Two inputs never share a metric. Use `h: 3` for inputs.\n\n| type | what | options besides metric |\n|---|---|---|\n| input-number | a number typed or stepped with + and \u2212 | unit, step (1 by default: whole numbers only; give 0.1 for decimals, e.g. a weight), min, max |\n| input-slider | a value dragged along a range | min, max, step, unit, labels (text spread along the track) |\n| input-select | one of a set of choices | choices: [{ \"label\", \"value\" }], multi (allow several) |\n| input-toggle | yes or no (records 1 or 0) | |\n| input-rating | a score, e.g. 1 to 5 | min, max |\n| input-text | free text | placeholder, suggest (offer earlier values) |\n| input-counter | taps that add up, e.g. glasses of water | increment, unit |\n| input-duration | a length of time, recorded in seconds | placeholder |\n\nA form can set `\"localOnly\": true` (beside `\"kind\"`) to keep what it records on the device where it's recorded: it's never synced to an account, other devices or assistants. Use it only when asked, e.g. for a private journal.\n\nAny input (not counter) can also take `required: true`, `default` (a value, or `\"last\"` for the last one saved), and `record: \"always\"` to record its value on every save even when it wasn't changed.\n\n`input-group` repeats fields once per item, for things like the sets of a workout or the dishes of a meal. Give it `h: 12` and options `{ \"itemTitle\": \"Set\", \"titleFrom\": \"<a field's metric>\", \"start\": 1 | \"last\", \"min\", \"max\", \"fields\": [ { \"type\": \"input-\u2026\", \"title\", \"span\": 1\u201324, \"options\": { \"metric\", \u2026 } } ] }`. Fields can be any input but input-counter.\n\n## Dashboards\n\nChart panels read the app's entries with `\"datasource\": { \"type\": \"modelform-local\" }` and `\"targets\": [ { \"refId\": \"A\", \"metric\": \"\u2026\" } ]` (refIds A, B, C\u2026 for more series). A target can also have:\n\n- `aggregate`: \"sum\", \"avg\", \"min\", \"max\", \"count\" or \"last\", with `bucket`: \"1h\", \"1d\", \"1w\" or \"1M\". Without them each entry is a point.\n- `groupBy`: \"text\" for one series per text or choice value; `{ \"field\": \"<metric>\" }` for one series per value of another input saved at the same time (in an input-group, of the same item, e.g. weight per exercise).\n- `alias`: the series name. `fillZero: false` leaves empty buckets out.\n\n| type | use for | h |\n|---|---|---|\n| timeseries | values over time | 7\u20138 |\n| barchart | totals per day, week or category | 7\u20138 |\n| stat | one big number; `\"options\": { \"reduceOptions\": { \"calcs\": [\"lastNotNull\" or \"mean\" or \"sum\"] } }` | 4 |\n| gauge, bargauge | a value against a range (set min and max) | 5\u20136 |\n| piechart | how a total splits, e.g. by choice with groupBy \"text\" and aggregate \"count\" | 8 |\n| table | rows of values | 8 |\n| text | markdown notes: `\"options\": { \"content\": \"\u2026\" }`, no targets | 3\u20134 |\n\nUnits and ranges go in `\"fieldConfig\": { \"defaults\": { \"unit\": \"\u2026\", \"min\", \"max\", \"decimals\" } }`. Units are Grafana's, e.g. \"percent\", \"masskg\", \"lengthkm\", \"s\", or \"suffix: <text>\" for anything else (`\"suffix: glasses\"`). Don't use trend, xychart or geomap panels.\n\nCharts can't do arithmetic across metrics (weight \u00D7 reps, a ratio of two inputs). Chart what's recorded instead, or add an input for the combined value, and say which you did in the sentence before the JSON.\n\n## Tabs\n\n`{ \"id\": \"\u2026\", \"title\": \"\u2026\", \"icon\": \"\u2026\", \"screen\": \u2026 }`, where the screen is one of:\n\n- `{ \"type\": \"forms\", \"forms\": [\"<form id>\", \u2026] }`\n- `{ \"type\": \"dashboard\", \"dashboard\": \"<dashboard id>\" }`\n- `{ \"type\": \"menu\", \"items\": [ { \"form\": \"<id>\" } or { \"dashboard\": \"<id>\", \"description\": \"\u2026\" } ] }`\n\nUsually one tab for the forms and one per dashboard.\n";
|
|
7
7
|
/** The example the guide ends with, for tests and editors. */
|
|
8
8
|
export declare const EXAMPLE_TEMPLATE: AppTemplate;
|
|
9
9
|
export interface PromptContext {
|
package/dist/core/formFill.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export interface FillField {
|
|
|
18
18
|
unit?: string;
|
|
19
19
|
min?: number;
|
|
20
20
|
max?: number;
|
|
21
|
+
/** Number fields: the input's step. A whole number (1 by default) means whole numbers only. */
|
|
22
|
+
step?: number;
|
|
21
23
|
/** Choice labels, for choice and choices fields; a slider's labels for a number field. */
|
|
22
24
|
choices?: string[];
|
|
23
25
|
}
|
package/dist/core/index.js
CHANGED
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
|
|
253
253
|
|
|
254
254
|
|
|
255
|
-
var
|
|
255
|
+
var _chunk24ABPZKOjs = require('../chunk-24ABPZKO.js');
|
|
256
256
|
|
|
257
257
|
|
|
258
258
|
|
|
@@ -507,4 +507,4 @@ var _chunkPVLALJT5js = require('../chunk-PVLALJT5.js');
|
|
|
507
507
|
|
|
508
508
|
|
|
509
509
|
|
|
510
|
-
exports.ALL = _chunkPVLALJT5js.ALL; exports.AUTHORING_GUIDE = _chunkPVLALJT5js.AUTHORING_GUIDE; exports.BUNDLE_ACCEPT = _chunkPVLALJT5js.BUNDLE_ACCEPT; exports.BUNDLE_TYPE = _chunkPVLALJT5js.BUNDLE_TYPE; exports.CANVAS_GAP = _chunkPVLALJT5js.CANVAS_GAP; exports.CANVAS_ROW_HEADER = _chunkPVLALJT5js.CANVAS_ROW_HEADER; exports.ConfigLoader = _chunkPVLALJT5js.ConfigLoader; exports.DASHBOARD_DS = _chunkPVLALJT5js.DASHBOARD_DS; exports.DEFAULT_GAZETTEER = _chunkPVLALJT5js.DEFAULT_GAZETTEER; exports.DICTATION_TYPES = _chunkPVLALJT5js.DICTATION_TYPES; exports.DOCUMENT_GUIDE = _chunkPVLALJT5js.DOCUMENT_GUIDE; exports.EDITABLE_VARIABLE_TYPES = _chunkPVLALJT5js.EDITABLE_VARIABLE_TYPES; exports.EXAMPLE_TEMPLATE = _chunkPVLALJT5js.EXAMPLE_TEMPLATE; exports.GRID_COLUMNS = _chunkPVLALJT5js.GRID_COLUMNS; exports.GROUP_FIELD_TYPES = _chunkPVLALJT5js.GROUP_FIELD_TYPES; exports.GrafanaClient = _chunkPVLALJT5js.GrafanaClient; exports.GrafanaDataSource = _chunkPVLALJT5js.GrafanaDataSource; exports.GrafanaError = _chunkPVLALJT5js.GrafanaError; exports.HttpConfigFiles = _chunkPVLALJT5js.HttpConfigFiles; exports.INPUT_GROUP = _chunkPVLALJT5js.INPUT_GROUP; exports.INPUT_OPTION_KEYS = _chunkPVLALJT5js.INPUT_OPTION_KEYS; exports.INPUT_TYPES = _chunkPVLALJT5js.INPUT_TYPES; exports.LOCAL_DATASOURCE_TYPE = _chunkPVLALJT5js.LOCAL_DATASOURCE_TYPE; exports.LocalDataSource = _chunkPVLALJT5js.LocalDataSource; exports.MANIFEST_VERSION = _chunkPVLALJT5js.MANIFEST_VERSION; exports.MAPPING_TYPES = _chunkPVLALJT5js.MAPPING_TYPES; exports.MemoryEntryStore = _chunkPVLALJT5js.MemoryEntryStore; exports.NAMED_COLORS = _chunkPVLALJT5js.NAMED_COLORS; exports.OPTION_CATEGORIES = _chunkPVLALJT5js.OPTION_CATEGORIES; exports.OVERRIDE_MATCHERS = _chunkPVLALJT5js.OVERRIDE_MATCHERS; exports.PANEL_TYPES = _chunkPVLALJT5js.PANEL_TYPES; exports.REDUCER_LABELS = _chunkPVLALJT5js.REDUCER_LABELS; exports.REFRESH_CHOICES = _chunkPVLALJT5js.REFRESH_CHOICES; exports.RELATIVE_RANGES = _chunkPVLALJT5js.RELATIVE_RANGES; exports.SERIES_PALETTE = _chunkPVLALJT5js.SERIES_PALETTE; exports.SNIPPET_VERSION = _chunkPVLALJT5js.SNIPPET_VERSION; exports.SPECIAL_MATCHES = _chunkPVLALJT5js.SPECIAL_MATCHES; exports.SaveConflictError = _chunkPVLALJT5js.SaveConflictError; exports.TEMPLATE_VERSION = _chunkPVLALJT5js.TEMPLATE_VERSION; exports.TIME_PRESETS = _chunkPVLALJT5js.TIME_PRESETS; exports.UNIT_CHOICES = _chunkPVLALJT5js.UNIT_CHOICES; exports.addTime = _chunkPVLALJT5js.addTime; exports.appSchema = _chunkPVLALJT5js.appSchema; exports.applyDashboardLink = _chunkPVLALJT5js.applyDashboardLink; exports.applyJsonEdits = _chunkPVLALJT5js.applyJsonEdits; exports.applyTemplate = _chunkPVLALJT5js.applyTemplate; exports.applyTransformations = _chunkPVLALJT5js.applyTransformations; exports.assembleBundle = _chunkPVLALJT5js.assembleBundle; exports.assembleFromResponse = _chunkPVLALJT5js.assembleFromResponse; exports.buildFrames = _chunkPVLALJT5js.buildFrames; exports.bundleFromFiles = _chunkPVLALJT5js.bundleFromFiles; exports.bundleRoot = _chunkPVLALJT5js.bundleRoot; exports.calculateInterval = _chunkPVLALJT5js.calculateInterval; exports.checkFiles = _chunkPVLALJT5js.checkFiles; exports.choicesOf = _chunkPVLALJT5js.choicesOf; exports.cleanDashboard = _chunkPVLALJT5js.cleanDashboard; exports.cleanPanelOptions = _chunkPVLALJT5js.cleanPanelOptions; exports.collapseRow = _chunkPVLALJT5js.collapseRow; exports.compactGrid = _chunkPVLALJT5js.compactGrid; exports.copyPanels = _chunkPVLALJT5js.copyPanels; exports.dashboardSchema = _chunkPVLALJT5js.dashboardSchema; exports.dashboardSchemaIssues = _chunkPVLALJT5js.dashboardSchemaIssues; exports.dashboardSourceIds = _chunkPVLALJT5js.dashboardSourceIds; exports.defaultFetchJson = _chunkPVLALJT5js.defaultFetchJson; exports.describeRange = _chunkPVLALJT5js.describeRange; exports.dictationHints = _chunkPVLALJT5js.dictationHints; exports.diffJson = _chunkPVLALJT5js.diffJson; exports.documentChanges = _chunkPVLALJT5js.documentChanges; exports.documentIdFor = _chunkPVLALJT5js.documentIdFor; exports.documentKind = _chunkPVLALJT5js.documentKind; exports.documentPrompt = _chunkPVLALJT5js.documentPrompt; exports.documentUses = _chunkPVLALJT5js.documentUses; exports.dropTarget = _chunkPVLALJT5js.dropTarget; exports.duplicatePanel = _chunkPVLALJT5js.duplicatePanel; exports.entriesSavedWith = _chunkPVLALJT5js.entriesSavedWith; exports.entriesToItems = _chunkPVLALJT5js.entriesToItems; exports.entryToInputValue = _chunkPVLALJT5js.entryToInputValue; exports.expandRow = _chunkPVLALJT5js.expandRow; exports.fetchBundle = _chunkPVLALJT5js.fetchBundle; exports.fetchJsonWithToken = _chunkPVLALJT5js.fetchJsonWithToken; exports.fieldDisplayName = _chunkPVLALJT5js.fieldDisplayName; exports.fieldMatches = _chunkPVLALJT5js.fieldMatches; exports.fillForm = _chunkPVLALJT5js.fillForm; exports.fillHints = _chunkPVLALJT5js.fillHints; exports.fillPrompt = _chunkPVLALJT5js.fillPrompt; exports.fillSchema = _chunkPVLALJT5js.fillSchema; exports.fixDocumentPrompt = _chunkPVLALJT5js.fixDocumentPrompt; exports.fixTemplatePrompt = _chunkPVLALJT5js.fixTemplatePrompt; exports.formatClock = _chunkPVLALJT5js.formatClock; exports.formatDisplay = _chunkPVLALJT5js.formatDisplay; exports.formatDuration = _chunkPVLALJT5js.formatDuration; exports.formatJsonText = _chunkPVLALJT5js.formatJsonText; exports.formatLocalDateTime = _chunkPVLALJT5js.formatLocalDateTime; exports.formatValue = _chunkPVLALJT5js.formatValue; exports.frameLength = _chunkPVLALJT5js.frameLength; exports.framesToOptions = _chunkPVLALJT5js.framesToOptions; exports.fromWire = _chunkPVLALJT5js.fromWire; exports.getPath = _chunkPVLALJT5js.getPath; exports.gridOffsetPx = _chunkPVLALJT5js.gridOffsetPx; exports.gridUnitsToPx = _chunkPVLALJT5js.gridUnitsToPx; exports.groupField = _chunkPVLALJT5js.groupField; exports.groupFields = _chunkPVLALJT5js.groupFields; exports.groupProblems = _chunkPVLALJT5js.groupProblems; exports.groupToEntries = _chunkPVLALJT5js.groupToEntries; exports.httpFetchJson = _chunkPVLALJT5js.httpFetchJson; exports.initialVariableValues = _chunkPVLALJT5js.initialVariableValues; exports.inputGroups = _chunkPVLALJT5js.inputGroups; exports.inputPanels = _chunkPVLALJT5js.inputPanels; exports.inputProblem = _chunkPVLALJT5js.inputProblem; exports.insertPanel = _chunkPVLALJT5js.insertPanel; exports.interpolate = _chunkPVLALJT5js.interpolate; exports.interpolateDeep = _chunkPVLALJT5js.interpolateDeep; exports.isBundleResponse = _chunkPVLALJT5js.isBundleResponse; exports.isEditableVariableType = _chunkPVLALJT5js.isEditableVariableType; exports.isEmptyItem = _chunkPVLALJT5js.isEmptyItem; exports.isFormPanelType = _chunkPVLALJT5js.isFormPanelType; exports.isInputGroup = _chunkPVLALJT5js.isInputGroup; exports.isInputPanel = _chunkPVLALJT5js.isInputPanel; exports.isInputType = _chunkPVLALJT5js.isInputType; exports.isLocalDatasource = _chunkPVLALJT5js.isLocalDatasource; exports.isReducer = _chunkPVLALJT5js.isReducer; exports.isRow = _chunkPVLALJT5js.isRow; exports.isSqlDatasource = _chunkPVLALJT5js.isSqlDatasource; exports.jsonFromAnswer = _chunkPVLALJT5js.jsonFromAnswer; exports.layoutCanvas = _chunkPVLALJT5js.layoutCanvas; exports.layoutDashboard = _chunkPVLALJT5js.layoutDashboard; exports.lineColumn = _chunkPVLALJT5js.lineColumn; exports.loadGazetteer = _chunkPVLALJT5js.loadGazetteer; exports.locate = _chunkPVLALJT5js.locate; exports.makeTemplate = _chunkPVLALJT5js.makeTemplate; exports.manifestSchemaIssues = _chunkPVLALJT5js.manifestSchemaIssues; exports.mappedResult = _chunkPVLALJT5js.mappedResult; exports.mappingProblem = _chunkPVLALJT5js.mappingProblem; exports.mappingRow = _chunkPVLALJT5js.mappingRow; exports.mappingRows = _chunkPVLALJT5js.mappingRows; exports.matchChoices = _chunkPVLALJT5js.matchChoices; exports.metricChanges = _chunkPVLALJT5js.metricChanges; exports.modelFiller = _chunkPVLALJT5js.modelFiller; exports.movePanel = _chunkPVLALJT5js.movePanel; exports.newDocument = _chunkPVLALJT5js.newDocument; exports.newPanel = _chunkPVLALJT5js.newPanel; exports.newSaveId = _chunkPVLALJT5js.newSaveId; exports.newVariable = _chunkPVLALJT5js.newVariable; exports.nextPanelId = _chunkPVLALJT5js.nextPanelId; exports.normalizeRef = _chunkPVLALJT5js.normalizeRef; exports.numberFields = _chunkPVLALJT5js.numberFields; exports.optionValue = _chunkPVLALJT5js.optionValue; exports.overrideProperties = _chunkPVLALJT5js.overrideProperties; exports.panelEdits = _chunkPVLALJT5js.panelEdits; exports.panelHasQueries = _chunkPVLALJT5js.panelHasQueries; exports.panelKey = _chunkPVLALJT5js.panelKey; exports.panelMetrics = _chunkPVLALJT5js.panelMetrics; exports.panelOptions = _chunkPVLALJT5js.panelOptions; exports.panelOverrides = _chunkPVLALJT5js.panelOverrides; exports.panelSize = _chunkPVLALJT5js.panelSize; exports.panelSpan = _chunkPVLALJT5js.panelSpan; exports.parseClockDigits = _chunkPVLALJT5js.parseClockDigits; exports.parseDashboardLink = _chunkPVLALJT5js.parseDashboardLink; exports.parseDuration = _chunkPVLALJT5js.parseDuration; exports.parseFillAnswer = _chunkPVLALJT5js.parseFillAnswer; exports.parseGazetteer = _chunkPVLALJT5js.parseGazetteer; exports.parseJsonText = _chunkPVLALJT5js.parseJsonText; exports.parseLocalDateTime = _chunkPVLALJT5js.parseLocalDateTime; exports.parseRange = _chunkPVLALJT5js.parseRange; exports.parseSnippet = _chunkPVLALJT5js.parseSnippet; exports.parseSpokenDuration = _chunkPVLALJT5js.parseSpokenDuration; exports.parseSpokenNumber = _chunkPVLALJT5js.parseSpokenNumber; exports.parseSpokenYesNo = _chunkPVLALJT5js.parseSpokenYesNo; exports.parseTemplate = _chunkPVLALJT5js.parseTemplate; exports.parseTime = _chunkPVLALJT5js.parseTime; exports.pasteSnippet = _chunkPVLALJT5js.pasteSnippet; exports.placePanel = _chunkPVLALJT5js.placePanel; exports.plainInputPanels = _chunkPVLALJT5js.plainInputPanels; exports.pointerToPath = _chunkPVLALJT5js.pointerToPath; exports.prepareDashboard = _chunkPVLALJT5js.prepareDashboard; exports.previewPaste = _chunkPVLALJT5js.previewPaste; exports.queryPanel = _chunkPVLALJT5js.queryPanel; exports.queryParam = _chunkPVLALJT5js.queryParam; exports.readConfigFiles = _chunkPVLALJT5js.readConfigFiles; exports.readDocumentAnswer = _chunkPVLALJT5js.readDocumentAnswer; exports.readFill = _chunkPVLALJT5js.readFill; exports.readTemplateAnswer = _chunkPVLALJT5js.readTemplateAnswer; exports.readingOrder = _chunkPVLALJT5js.readingOrder; exports.reduce = _chunkPVLALJT5js.reduce; exports.refineOptions = _chunkPVLALJT5js.refineOptions; exports.refreshedVariables = _chunkPVLALJT5js.refreshedVariables; exports.removeDocumentFromManifest = _chunkPVLALJT5js.removeDocumentFromManifest; exports.removePanel = _chunkPVLALJT5js.removePanel; exports.renameDocumentInManifest = _chunkPVLALJT5js.renameDocumentInManifest; exports.renameMetrics = _chunkPVLALJT5js.renameMetrics; exports.renameVariableInPanels = _chunkPVLALJT5js.renameVariableInPanels; exports.repack = _chunkPVLALJT5js.repack; exports.repeatOptions = _chunkPVLALJT5js.repeatOptions; exports.requiredManifestVersion = _chunkPVLALJT5js.requiredManifestVersion; exports.resizePanel = _chunkPVLALJT5js.resizePanel; exports.resolveColor = _chunkPVLALJT5js.resolveColor; exports.resolveFieldConfig = _chunkPVLALJT5js.resolveFieldConfig; exports.resolveLinks = _chunkPVLALJT5js.resolveLinks; exports.resolveTimezone = _chunkPVLALJT5js.resolveTimezone; exports.resolveUrl = _chunkPVLALJT5js.resolveUrl; exports.resolveVariables = _chunkPVLALJT5js.resolveVariables; exports.revalidateBundle = _chunkPVLALJT5js.revalidateBundle; exports.rowsToMappings = _chunkPVLALJT5js.rowsToMappings; exports.ruleFill = _chunkPVLALJT5js.ruleFill; exports.ruleFiller = _chunkPVLALJT5js.ruleFiller; exports.sameSave = _chunkPVLALJT5js.sameSave; exports.sampleEntries = _chunkPVLALJT5js.sampleEntries; exports.screenDocuments = _chunkPVLALJT5js.screenDocuments; exports.screenOfType = _chunkPVLALJT5js.screenOfType; exports.selectValue = _chunkPVLALJT5js.selectValue; exports.seriesColor = _chunkPVLALJT5js.seriesColor; exports.setHiddenOnPhones = _chunkPVLALJT5js.setHiddenOnPhones; exports.setJsonValue = _chunkPVLALJT5js.setJsonValue; exports.setOption = _chunkPVLALJT5js.setOption; exports.setOptionValue = _chunkPVLALJT5js.setOptionValue; exports.setOverrides = _chunkPVLALJT5js.setOverrides; exports.settleLayout = _chunkPVLALJT5js.settleLayout; exports.snapToGrid = _chunkPVLALJT5js.snapToGrid; exports.splitPath = _chunkPVLALJT5js.splitPath; exports.spokenValue = _chunkPVLALJT5js.spokenValue; exports.startOf = _chunkPVLALJT5js.startOf; exports.stringifyCompact = _chunkPVLALJT5js.stringifyCompact; exports.tabIdFor = _chunkPVLALJT5js.tabIdFor; exports.takesDictation = _chunkPVLALJT5js.takesDictation; exports.templateNeeds = _chunkPVLALJT5js.templateNeeds; exports.templatePrompt = _chunkPVLALJT5js.templatePrompt; exports.textSuggestions = _chunkPVLALJT5js.textSuggestions; exports.thresholdStep = _chunkPVLALJT5js.thresholdStep; exports.timeExprError = _chunkPVLALJT5js.timeExprError; exports.timeField = _chunkPVLALJT5js.timeField; exports.toEntries = _chunkPVLALJT5js.toEntries; exports.toMillis = _chunkPVLALJT5js.toMillis; exports.toSeries = _chunkPVLALJT5js.toSeries; exports.toXYSeries = _chunkPVLALJT5js.toXYSeries; exports.uniqueNames = _chunkPVLALJT5js.uniqueNames; exports.validateBundle = _chunkPVLALJT5js.validateBundle; exports.validateDashboard = _chunkPVLALJT5js.validateDashboard; exports.validateManifest = _chunkPVLALJT5js.validateManifest; exports.valueColor = _chunkPVLALJT5js.valueColor; exports.valueText = _chunkPVLALJT5js.valueText; exports.variableDependents = _chunkPVLALJT5js.variableDependents; exports.variableInfo = _chunkPVLALJT5js.variableInfo; exports.variableNameError = _chunkPVLALJT5js.variableNameError; exports.variableOptions = _chunkPVLALJT5js.variableOptions; exports.variableOrder = _chunkPVLALJT5js.variableOrder; exports.variableReferences = _chunkPVLALJT5js.variableReferences; exports.variableUses = _chunkPVLALJT5js.variableUses; exports.variableWithCurrent = _chunkPVLALJT5js.variableWithCurrent; exports.variableWithFlags = _chunkPVLALJT5js.variableWithFlags; exports.variableWithQuery = _chunkPVLALJT5js.variableWithQuery; exports.variableWithType = _chunkPVLALJT5js.variableWithType; exports.visibleVariables = _chunkPVLALJT5js.visibleVariables; exports.zoomRange = _chunkPVLALJT5js.zoomRange;
|
|
510
|
+
exports.ALL = _chunk24ABPZKOjs.ALL; exports.AUTHORING_GUIDE = _chunk24ABPZKOjs.AUTHORING_GUIDE; exports.BUNDLE_ACCEPT = _chunk24ABPZKOjs.BUNDLE_ACCEPT; exports.BUNDLE_TYPE = _chunk24ABPZKOjs.BUNDLE_TYPE; exports.CANVAS_GAP = _chunk24ABPZKOjs.CANVAS_GAP; exports.CANVAS_ROW_HEADER = _chunk24ABPZKOjs.CANVAS_ROW_HEADER; exports.ConfigLoader = _chunk24ABPZKOjs.ConfigLoader; exports.DASHBOARD_DS = _chunk24ABPZKOjs.DASHBOARD_DS; exports.DEFAULT_GAZETTEER = _chunk24ABPZKOjs.DEFAULT_GAZETTEER; exports.DICTATION_TYPES = _chunk24ABPZKOjs.DICTATION_TYPES; exports.DOCUMENT_GUIDE = _chunk24ABPZKOjs.DOCUMENT_GUIDE; exports.EDITABLE_VARIABLE_TYPES = _chunk24ABPZKOjs.EDITABLE_VARIABLE_TYPES; exports.EXAMPLE_TEMPLATE = _chunk24ABPZKOjs.EXAMPLE_TEMPLATE; exports.GRID_COLUMNS = _chunk24ABPZKOjs.GRID_COLUMNS; exports.GROUP_FIELD_TYPES = _chunk24ABPZKOjs.GROUP_FIELD_TYPES; exports.GrafanaClient = _chunk24ABPZKOjs.GrafanaClient; exports.GrafanaDataSource = _chunk24ABPZKOjs.GrafanaDataSource; exports.GrafanaError = _chunk24ABPZKOjs.GrafanaError; exports.HttpConfigFiles = _chunk24ABPZKOjs.HttpConfigFiles; exports.INPUT_GROUP = _chunk24ABPZKOjs.INPUT_GROUP; exports.INPUT_OPTION_KEYS = _chunk24ABPZKOjs.INPUT_OPTION_KEYS; exports.INPUT_TYPES = _chunk24ABPZKOjs.INPUT_TYPES; exports.LOCAL_DATASOURCE_TYPE = _chunk24ABPZKOjs.LOCAL_DATASOURCE_TYPE; exports.LocalDataSource = _chunk24ABPZKOjs.LocalDataSource; exports.MANIFEST_VERSION = _chunk24ABPZKOjs.MANIFEST_VERSION; exports.MAPPING_TYPES = _chunk24ABPZKOjs.MAPPING_TYPES; exports.MemoryEntryStore = _chunk24ABPZKOjs.MemoryEntryStore; exports.NAMED_COLORS = _chunk24ABPZKOjs.NAMED_COLORS; exports.OPTION_CATEGORIES = _chunk24ABPZKOjs.OPTION_CATEGORIES; exports.OVERRIDE_MATCHERS = _chunk24ABPZKOjs.OVERRIDE_MATCHERS; exports.PANEL_TYPES = _chunk24ABPZKOjs.PANEL_TYPES; exports.REDUCER_LABELS = _chunk24ABPZKOjs.REDUCER_LABELS; exports.REFRESH_CHOICES = _chunk24ABPZKOjs.REFRESH_CHOICES; exports.RELATIVE_RANGES = _chunk24ABPZKOjs.RELATIVE_RANGES; exports.SERIES_PALETTE = _chunk24ABPZKOjs.SERIES_PALETTE; exports.SNIPPET_VERSION = _chunk24ABPZKOjs.SNIPPET_VERSION; exports.SPECIAL_MATCHES = _chunk24ABPZKOjs.SPECIAL_MATCHES; exports.SaveConflictError = _chunk24ABPZKOjs.SaveConflictError; exports.TEMPLATE_VERSION = _chunk24ABPZKOjs.TEMPLATE_VERSION; exports.TIME_PRESETS = _chunk24ABPZKOjs.TIME_PRESETS; exports.UNIT_CHOICES = _chunk24ABPZKOjs.UNIT_CHOICES; exports.addTime = _chunk24ABPZKOjs.addTime; exports.appSchema = _chunk24ABPZKOjs.appSchema; exports.applyDashboardLink = _chunk24ABPZKOjs.applyDashboardLink; exports.applyJsonEdits = _chunk24ABPZKOjs.applyJsonEdits; exports.applyTemplate = _chunk24ABPZKOjs.applyTemplate; exports.applyTransformations = _chunk24ABPZKOjs.applyTransformations; exports.assembleBundle = _chunk24ABPZKOjs.assembleBundle; exports.assembleFromResponse = _chunk24ABPZKOjs.assembleFromResponse; exports.buildFrames = _chunk24ABPZKOjs.buildFrames; exports.bundleFromFiles = _chunk24ABPZKOjs.bundleFromFiles; exports.bundleRoot = _chunk24ABPZKOjs.bundleRoot; exports.calculateInterval = _chunk24ABPZKOjs.calculateInterval; exports.checkFiles = _chunk24ABPZKOjs.checkFiles; exports.choicesOf = _chunk24ABPZKOjs.choicesOf; exports.cleanDashboard = _chunk24ABPZKOjs.cleanDashboard; exports.cleanPanelOptions = _chunk24ABPZKOjs.cleanPanelOptions; exports.collapseRow = _chunk24ABPZKOjs.collapseRow; exports.compactGrid = _chunk24ABPZKOjs.compactGrid; exports.copyPanels = _chunk24ABPZKOjs.copyPanels; exports.dashboardSchema = _chunk24ABPZKOjs.dashboardSchema; exports.dashboardSchemaIssues = _chunk24ABPZKOjs.dashboardSchemaIssues; exports.dashboardSourceIds = _chunk24ABPZKOjs.dashboardSourceIds; exports.defaultFetchJson = _chunk24ABPZKOjs.defaultFetchJson; exports.describeRange = _chunk24ABPZKOjs.describeRange; exports.dictationHints = _chunk24ABPZKOjs.dictationHints; exports.diffJson = _chunk24ABPZKOjs.diffJson; exports.documentChanges = _chunk24ABPZKOjs.documentChanges; exports.documentIdFor = _chunk24ABPZKOjs.documentIdFor; exports.documentKind = _chunk24ABPZKOjs.documentKind; exports.documentPrompt = _chunk24ABPZKOjs.documentPrompt; exports.documentUses = _chunk24ABPZKOjs.documentUses; exports.dropTarget = _chunk24ABPZKOjs.dropTarget; exports.duplicatePanel = _chunk24ABPZKOjs.duplicatePanel; exports.entriesSavedWith = _chunk24ABPZKOjs.entriesSavedWith; exports.entriesToItems = _chunk24ABPZKOjs.entriesToItems; exports.entryToInputValue = _chunk24ABPZKOjs.entryToInputValue; exports.expandRow = _chunk24ABPZKOjs.expandRow; exports.fetchBundle = _chunk24ABPZKOjs.fetchBundle; exports.fetchJsonWithToken = _chunk24ABPZKOjs.fetchJsonWithToken; exports.fieldDisplayName = _chunk24ABPZKOjs.fieldDisplayName; exports.fieldMatches = _chunk24ABPZKOjs.fieldMatches; exports.fillForm = _chunk24ABPZKOjs.fillForm; exports.fillHints = _chunk24ABPZKOjs.fillHints; exports.fillPrompt = _chunk24ABPZKOjs.fillPrompt; exports.fillSchema = _chunk24ABPZKOjs.fillSchema; exports.fixDocumentPrompt = _chunk24ABPZKOjs.fixDocumentPrompt; exports.fixTemplatePrompt = _chunk24ABPZKOjs.fixTemplatePrompt; exports.formatClock = _chunk24ABPZKOjs.formatClock; exports.formatDisplay = _chunk24ABPZKOjs.formatDisplay; exports.formatDuration = _chunk24ABPZKOjs.formatDuration; exports.formatJsonText = _chunk24ABPZKOjs.formatJsonText; exports.formatLocalDateTime = _chunk24ABPZKOjs.formatLocalDateTime; exports.formatValue = _chunk24ABPZKOjs.formatValue; exports.frameLength = _chunk24ABPZKOjs.frameLength; exports.framesToOptions = _chunk24ABPZKOjs.framesToOptions; exports.fromWire = _chunk24ABPZKOjs.fromWire; exports.getPath = _chunk24ABPZKOjs.getPath; exports.gridOffsetPx = _chunk24ABPZKOjs.gridOffsetPx; exports.gridUnitsToPx = _chunk24ABPZKOjs.gridUnitsToPx; exports.groupField = _chunk24ABPZKOjs.groupField; exports.groupFields = _chunk24ABPZKOjs.groupFields; exports.groupProblems = _chunk24ABPZKOjs.groupProblems; exports.groupToEntries = _chunk24ABPZKOjs.groupToEntries; exports.httpFetchJson = _chunk24ABPZKOjs.httpFetchJson; exports.initialVariableValues = _chunk24ABPZKOjs.initialVariableValues; exports.inputGroups = _chunk24ABPZKOjs.inputGroups; exports.inputPanels = _chunk24ABPZKOjs.inputPanels; exports.inputProblem = _chunk24ABPZKOjs.inputProblem; exports.insertPanel = _chunk24ABPZKOjs.insertPanel; exports.interpolate = _chunk24ABPZKOjs.interpolate; exports.interpolateDeep = _chunk24ABPZKOjs.interpolateDeep; exports.isBundleResponse = _chunk24ABPZKOjs.isBundleResponse; exports.isEditableVariableType = _chunk24ABPZKOjs.isEditableVariableType; exports.isEmptyItem = _chunk24ABPZKOjs.isEmptyItem; exports.isFormPanelType = _chunk24ABPZKOjs.isFormPanelType; exports.isInputGroup = _chunk24ABPZKOjs.isInputGroup; exports.isInputPanel = _chunk24ABPZKOjs.isInputPanel; exports.isInputType = _chunk24ABPZKOjs.isInputType; exports.isLocalDatasource = _chunk24ABPZKOjs.isLocalDatasource; exports.isReducer = _chunk24ABPZKOjs.isReducer; exports.isRow = _chunk24ABPZKOjs.isRow; exports.isSqlDatasource = _chunk24ABPZKOjs.isSqlDatasource; exports.jsonFromAnswer = _chunk24ABPZKOjs.jsonFromAnswer; exports.layoutCanvas = _chunk24ABPZKOjs.layoutCanvas; exports.layoutDashboard = _chunk24ABPZKOjs.layoutDashboard; exports.lineColumn = _chunk24ABPZKOjs.lineColumn; exports.loadGazetteer = _chunk24ABPZKOjs.loadGazetteer; exports.locate = _chunk24ABPZKOjs.locate; exports.makeTemplate = _chunk24ABPZKOjs.makeTemplate; exports.manifestSchemaIssues = _chunk24ABPZKOjs.manifestSchemaIssues; exports.mappedResult = _chunk24ABPZKOjs.mappedResult; exports.mappingProblem = _chunk24ABPZKOjs.mappingProblem; exports.mappingRow = _chunk24ABPZKOjs.mappingRow; exports.mappingRows = _chunk24ABPZKOjs.mappingRows; exports.matchChoices = _chunk24ABPZKOjs.matchChoices; exports.metricChanges = _chunk24ABPZKOjs.metricChanges; exports.modelFiller = _chunk24ABPZKOjs.modelFiller; exports.movePanel = _chunk24ABPZKOjs.movePanel; exports.newDocument = _chunk24ABPZKOjs.newDocument; exports.newPanel = _chunk24ABPZKOjs.newPanel; exports.newSaveId = _chunk24ABPZKOjs.newSaveId; exports.newVariable = _chunk24ABPZKOjs.newVariable; exports.nextPanelId = _chunk24ABPZKOjs.nextPanelId; exports.normalizeRef = _chunk24ABPZKOjs.normalizeRef; exports.numberFields = _chunk24ABPZKOjs.numberFields; exports.optionValue = _chunk24ABPZKOjs.optionValue; exports.overrideProperties = _chunk24ABPZKOjs.overrideProperties; exports.panelEdits = _chunk24ABPZKOjs.panelEdits; exports.panelHasQueries = _chunk24ABPZKOjs.panelHasQueries; exports.panelKey = _chunk24ABPZKOjs.panelKey; exports.panelMetrics = _chunk24ABPZKOjs.panelMetrics; exports.panelOptions = _chunk24ABPZKOjs.panelOptions; exports.panelOverrides = _chunk24ABPZKOjs.panelOverrides; exports.panelSize = _chunk24ABPZKOjs.panelSize; exports.panelSpan = _chunk24ABPZKOjs.panelSpan; exports.parseClockDigits = _chunk24ABPZKOjs.parseClockDigits; exports.parseDashboardLink = _chunk24ABPZKOjs.parseDashboardLink; exports.parseDuration = _chunk24ABPZKOjs.parseDuration; exports.parseFillAnswer = _chunk24ABPZKOjs.parseFillAnswer; exports.parseGazetteer = _chunk24ABPZKOjs.parseGazetteer; exports.parseJsonText = _chunk24ABPZKOjs.parseJsonText; exports.parseLocalDateTime = _chunk24ABPZKOjs.parseLocalDateTime; exports.parseRange = _chunk24ABPZKOjs.parseRange; exports.parseSnippet = _chunk24ABPZKOjs.parseSnippet; exports.parseSpokenDuration = _chunk24ABPZKOjs.parseSpokenDuration; exports.parseSpokenNumber = _chunk24ABPZKOjs.parseSpokenNumber; exports.parseSpokenYesNo = _chunk24ABPZKOjs.parseSpokenYesNo; exports.parseTemplate = _chunk24ABPZKOjs.parseTemplate; exports.parseTime = _chunk24ABPZKOjs.parseTime; exports.pasteSnippet = _chunk24ABPZKOjs.pasteSnippet; exports.placePanel = _chunk24ABPZKOjs.placePanel; exports.plainInputPanels = _chunk24ABPZKOjs.plainInputPanels; exports.pointerToPath = _chunk24ABPZKOjs.pointerToPath; exports.prepareDashboard = _chunk24ABPZKOjs.prepareDashboard; exports.previewPaste = _chunk24ABPZKOjs.previewPaste; exports.queryPanel = _chunk24ABPZKOjs.queryPanel; exports.queryParam = _chunk24ABPZKOjs.queryParam; exports.readConfigFiles = _chunk24ABPZKOjs.readConfigFiles; exports.readDocumentAnswer = _chunk24ABPZKOjs.readDocumentAnswer; exports.readFill = _chunk24ABPZKOjs.readFill; exports.readTemplateAnswer = _chunk24ABPZKOjs.readTemplateAnswer; exports.readingOrder = _chunk24ABPZKOjs.readingOrder; exports.reduce = _chunk24ABPZKOjs.reduce; exports.refineOptions = _chunk24ABPZKOjs.refineOptions; exports.refreshedVariables = _chunk24ABPZKOjs.refreshedVariables; exports.removeDocumentFromManifest = _chunk24ABPZKOjs.removeDocumentFromManifest; exports.removePanel = _chunk24ABPZKOjs.removePanel; exports.renameDocumentInManifest = _chunk24ABPZKOjs.renameDocumentInManifest; exports.renameMetrics = _chunk24ABPZKOjs.renameMetrics; exports.renameVariableInPanels = _chunk24ABPZKOjs.renameVariableInPanels; exports.repack = _chunk24ABPZKOjs.repack; exports.repeatOptions = _chunk24ABPZKOjs.repeatOptions; exports.requiredManifestVersion = _chunk24ABPZKOjs.requiredManifestVersion; exports.resizePanel = _chunk24ABPZKOjs.resizePanel; exports.resolveColor = _chunk24ABPZKOjs.resolveColor; exports.resolveFieldConfig = _chunk24ABPZKOjs.resolveFieldConfig; exports.resolveLinks = _chunk24ABPZKOjs.resolveLinks; exports.resolveTimezone = _chunk24ABPZKOjs.resolveTimezone; exports.resolveUrl = _chunk24ABPZKOjs.resolveUrl; exports.resolveVariables = _chunk24ABPZKOjs.resolveVariables; exports.revalidateBundle = _chunk24ABPZKOjs.revalidateBundle; exports.rowsToMappings = _chunk24ABPZKOjs.rowsToMappings; exports.ruleFill = _chunk24ABPZKOjs.ruleFill; exports.ruleFiller = _chunk24ABPZKOjs.ruleFiller; exports.sameSave = _chunk24ABPZKOjs.sameSave; exports.sampleEntries = _chunk24ABPZKOjs.sampleEntries; exports.screenDocuments = _chunk24ABPZKOjs.screenDocuments; exports.screenOfType = _chunk24ABPZKOjs.screenOfType; exports.selectValue = _chunk24ABPZKOjs.selectValue; exports.seriesColor = _chunk24ABPZKOjs.seriesColor; exports.setHiddenOnPhones = _chunk24ABPZKOjs.setHiddenOnPhones; exports.setJsonValue = _chunk24ABPZKOjs.setJsonValue; exports.setOption = _chunk24ABPZKOjs.setOption; exports.setOptionValue = _chunk24ABPZKOjs.setOptionValue; exports.setOverrides = _chunk24ABPZKOjs.setOverrides; exports.settleLayout = _chunk24ABPZKOjs.settleLayout; exports.snapToGrid = _chunk24ABPZKOjs.snapToGrid; exports.splitPath = _chunk24ABPZKOjs.splitPath; exports.spokenValue = _chunk24ABPZKOjs.spokenValue; exports.startOf = _chunk24ABPZKOjs.startOf; exports.stringifyCompact = _chunk24ABPZKOjs.stringifyCompact; exports.tabIdFor = _chunk24ABPZKOjs.tabIdFor; exports.takesDictation = _chunk24ABPZKOjs.takesDictation; exports.templateNeeds = _chunk24ABPZKOjs.templateNeeds; exports.templatePrompt = _chunk24ABPZKOjs.templatePrompt; exports.textSuggestions = _chunk24ABPZKOjs.textSuggestions; exports.thresholdStep = _chunk24ABPZKOjs.thresholdStep; exports.timeExprError = _chunk24ABPZKOjs.timeExprError; exports.timeField = _chunk24ABPZKOjs.timeField; exports.toEntries = _chunk24ABPZKOjs.toEntries; exports.toMillis = _chunk24ABPZKOjs.toMillis; exports.toSeries = _chunk24ABPZKOjs.toSeries; exports.toXYSeries = _chunk24ABPZKOjs.toXYSeries; exports.uniqueNames = _chunk24ABPZKOjs.uniqueNames; exports.validateBundle = _chunk24ABPZKOjs.validateBundle; exports.validateDashboard = _chunk24ABPZKOjs.validateDashboard; exports.validateManifest = _chunk24ABPZKOjs.validateManifest; exports.valueColor = _chunk24ABPZKOjs.valueColor; exports.valueText = _chunk24ABPZKOjs.valueText; exports.variableDependents = _chunk24ABPZKOjs.variableDependents; exports.variableInfo = _chunk24ABPZKOjs.variableInfo; exports.variableNameError = _chunk24ABPZKOjs.variableNameError; exports.variableOptions = _chunk24ABPZKOjs.variableOptions; exports.variableOrder = _chunk24ABPZKOjs.variableOrder; exports.variableReferences = _chunk24ABPZKOjs.variableReferences; exports.variableUses = _chunk24ABPZKOjs.variableUses; exports.variableWithCurrent = _chunk24ABPZKOjs.variableWithCurrent; exports.variableWithFlags = _chunk24ABPZKOjs.variableWithFlags; exports.variableWithQuery = _chunk24ABPZKOjs.variableWithQuery; exports.variableWithType = _chunk24ABPZKOjs.variableWithType; exports.visibleVariables = _chunk24ABPZKOjs.visibleVariables; exports.zoomRange = _chunk24ABPZKOjs.zoomRange;
|
package/dist/core/index.mjs
CHANGED
package/dist/core/inputs.d.ts
CHANGED
|
@@ -18,6 +18,11 @@ export interface InputOptions {
|
|
|
18
18
|
unit?: string;
|
|
19
19
|
min?: number;
|
|
20
20
|
max?: number;
|
|
21
|
+
/**
|
|
22
|
+
* input-number and input-slider: what + and − (or a slider notch) move by, which also sets the
|
|
23
|
+
* precision. 1, the default, takes whole numbers only; a step with decimals takes decimals, e.g.
|
|
24
|
+
* 0.1 for a weight like 72.5.
|
|
25
|
+
*/
|
|
21
26
|
step?: number;
|
|
22
27
|
placeholder?: string;
|
|
23
28
|
/**
|