@modelform/react-native 0.15.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-P4NMZ77W.js → chunk-24ABPZKO.js} +303 -271
- package/dist/{chunk-GWGDDKJE.mjs → chunk-IMXL2SZA.mjs} +303 -271
- 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/core/schema.d.ts +7 -1
- package/dist/index.js +162 -162
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/schema/dashboard.schema.json +7 -2
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\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\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 _chunkP4NMZ77Wjs = require('../chunk-P4NMZ77W.js');
|
|
|
507
507
|
|
|
508
508
|
|
|
509
509
|
|
|
510
|
-
exports.ALL = _chunkP4NMZ77Wjs.ALL; exports.AUTHORING_GUIDE = _chunkP4NMZ77Wjs.AUTHORING_GUIDE; exports.BUNDLE_ACCEPT = _chunkP4NMZ77Wjs.BUNDLE_ACCEPT; exports.BUNDLE_TYPE = _chunkP4NMZ77Wjs.BUNDLE_TYPE; exports.CANVAS_GAP = _chunkP4NMZ77Wjs.CANVAS_GAP; exports.CANVAS_ROW_HEADER = _chunkP4NMZ77Wjs.CANVAS_ROW_HEADER; exports.ConfigLoader = _chunkP4NMZ77Wjs.ConfigLoader; exports.DASHBOARD_DS = _chunkP4NMZ77Wjs.DASHBOARD_DS; exports.DEFAULT_GAZETTEER = _chunkP4NMZ77Wjs.DEFAULT_GAZETTEER; exports.DICTATION_TYPES = _chunkP4NMZ77Wjs.DICTATION_TYPES; exports.DOCUMENT_GUIDE = _chunkP4NMZ77Wjs.DOCUMENT_GUIDE; exports.EDITABLE_VARIABLE_TYPES = _chunkP4NMZ77Wjs.EDITABLE_VARIABLE_TYPES; exports.EXAMPLE_TEMPLATE = _chunkP4NMZ77Wjs.EXAMPLE_TEMPLATE; exports.GRID_COLUMNS = _chunkP4NMZ77Wjs.GRID_COLUMNS; exports.GROUP_FIELD_TYPES = _chunkP4NMZ77Wjs.GROUP_FIELD_TYPES; exports.GrafanaClient = _chunkP4NMZ77Wjs.GrafanaClient; exports.GrafanaDataSource = _chunkP4NMZ77Wjs.GrafanaDataSource; exports.GrafanaError = _chunkP4NMZ77Wjs.GrafanaError; exports.HttpConfigFiles = _chunkP4NMZ77Wjs.HttpConfigFiles; exports.INPUT_GROUP = _chunkP4NMZ77Wjs.INPUT_GROUP; exports.INPUT_OPTION_KEYS = _chunkP4NMZ77Wjs.INPUT_OPTION_KEYS; exports.INPUT_TYPES = _chunkP4NMZ77Wjs.INPUT_TYPES; exports.LOCAL_DATASOURCE_TYPE = _chunkP4NMZ77Wjs.LOCAL_DATASOURCE_TYPE; exports.LocalDataSource = _chunkP4NMZ77Wjs.LocalDataSource; exports.MANIFEST_VERSION = _chunkP4NMZ77Wjs.MANIFEST_VERSION; exports.MAPPING_TYPES = _chunkP4NMZ77Wjs.MAPPING_TYPES; exports.MemoryEntryStore = _chunkP4NMZ77Wjs.MemoryEntryStore; exports.NAMED_COLORS = _chunkP4NMZ77Wjs.NAMED_COLORS; exports.OPTION_CATEGORIES = _chunkP4NMZ77Wjs.OPTION_CATEGORIES; exports.OVERRIDE_MATCHERS = _chunkP4NMZ77Wjs.OVERRIDE_MATCHERS; exports.PANEL_TYPES = _chunkP4NMZ77Wjs.PANEL_TYPES; exports.REDUCER_LABELS = _chunkP4NMZ77Wjs.REDUCER_LABELS; exports.REFRESH_CHOICES = _chunkP4NMZ77Wjs.REFRESH_CHOICES; exports.RELATIVE_RANGES = _chunkP4NMZ77Wjs.RELATIVE_RANGES; exports.SERIES_PALETTE = _chunkP4NMZ77Wjs.SERIES_PALETTE; exports.SNIPPET_VERSION = _chunkP4NMZ77Wjs.SNIPPET_VERSION; exports.SPECIAL_MATCHES = _chunkP4NMZ77Wjs.SPECIAL_MATCHES; exports.SaveConflictError = _chunkP4NMZ77Wjs.SaveConflictError; exports.TEMPLATE_VERSION = _chunkP4NMZ77Wjs.TEMPLATE_VERSION; exports.TIME_PRESETS = _chunkP4NMZ77Wjs.TIME_PRESETS; exports.UNIT_CHOICES = _chunkP4NMZ77Wjs.UNIT_CHOICES; exports.addTime = _chunkP4NMZ77Wjs.addTime; exports.appSchema = _chunkP4NMZ77Wjs.appSchema; exports.applyDashboardLink = _chunkP4NMZ77Wjs.applyDashboardLink; exports.applyJsonEdits = _chunkP4NMZ77Wjs.applyJsonEdits; exports.applyTemplate = _chunkP4NMZ77Wjs.applyTemplate; exports.applyTransformations = _chunkP4NMZ77Wjs.applyTransformations; exports.assembleBundle = _chunkP4NMZ77Wjs.assembleBundle; exports.assembleFromResponse = _chunkP4NMZ77Wjs.assembleFromResponse; exports.buildFrames = _chunkP4NMZ77Wjs.buildFrames; exports.bundleFromFiles = _chunkP4NMZ77Wjs.bundleFromFiles; exports.bundleRoot = _chunkP4NMZ77Wjs.bundleRoot; exports.calculateInterval = _chunkP4NMZ77Wjs.calculateInterval; exports.checkFiles = _chunkP4NMZ77Wjs.checkFiles; exports.choicesOf = _chunkP4NMZ77Wjs.choicesOf; exports.cleanDashboard = _chunkP4NMZ77Wjs.cleanDashboard; exports.cleanPanelOptions = _chunkP4NMZ77Wjs.cleanPanelOptions; exports.collapseRow = _chunkP4NMZ77Wjs.collapseRow; exports.compactGrid = _chunkP4NMZ77Wjs.compactGrid; exports.copyPanels = _chunkP4NMZ77Wjs.copyPanels; exports.dashboardSchema = _chunkP4NMZ77Wjs.dashboardSchema; exports.dashboardSchemaIssues = _chunkP4NMZ77Wjs.dashboardSchemaIssues; exports.dashboardSourceIds = _chunkP4NMZ77Wjs.dashboardSourceIds; exports.defaultFetchJson = _chunkP4NMZ77Wjs.defaultFetchJson; exports.describeRange = _chunkP4NMZ77Wjs.describeRange; exports.dictationHints = _chunkP4NMZ77Wjs.dictationHints; exports.diffJson = _chunkP4NMZ77Wjs.diffJson; exports.documentChanges = _chunkP4NMZ77Wjs.documentChanges; exports.documentIdFor = _chunkP4NMZ77Wjs.documentIdFor; exports.documentKind = _chunkP4NMZ77Wjs.documentKind; exports.documentPrompt = _chunkP4NMZ77Wjs.documentPrompt; exports.documentUses = _chunkP4NMZ77Wjs.documentUses; exports.dropTarget = _chunkP4NMZ77Wjs.dropTarget; exports.duplicatePanel = _chunkP4NMZ77Wjs.duplicatePanel; exports.entriesSavedWith = _chunkP4NMZ77Wjs.entriesSavedWith; exports.entriesToItems = _chunkP4NMZ77Wjs.entriesToItems; exports.entryToInputValue = _chunkP4NMZ77Wjs.entryToInputValue; exports.expandRow = _chunkP4NMZ77Wjs.expandRow; exports.fetchBundle = _chunkP4NMZ77Wjs.fetchBundle; exports.fetchJsonWithToken = _chunkP4NMZ77Wjs.fetchJsonWithToken; exports.fieldDisplayName = _chunkP4NMZ77Wjs.fieldDisplayName; exports.fieldMatches = _chunkP4NMZ77Wjs.fieldMatches; exports.fillForm = _chunkP4NMZ77Wjs.fillForm; exports.fillHints = _chunkP4NMZ77Wjs.fillHints; exports.fillPrompt = _chunkP4NMZ77Wjs.fillPrompt; exports.fillSchema = _chunkP4NMZ77Wjs.fillSchema; exports.fixDocumentPrompt = _chunkP4NMZ77Wjs.fixDocumentPrompt; exports.fixTemplatePrompt = _chunkP4NMZ77Wjs.fixTemplatePrompt; exports.formatClock = _chunkP4NMZ77Wjs.formatClock; exports.formatDisplay = _chunkP4NMZ77Wjs.formatDisplay; exports.formatDuration = _chunkP4NMZ77Wjs.formatDuration; exports.formatJsonText = _chunkP4NMZ77Wjs.formatJsonText; exports.formatLocalDateTime = _chunkP4NMZ77Wjs.formatLocalDateTime; exports.formatValue = _chunkP4NMZ77Wjs.formatValue; exports.frameLength = _chunkP4NMZ77Wjs.frameLength; exports.framesToOptions = _chunkP4NMZ77Wjs.framesToOptions; exports.fromWire = _chunkP4NMZ77Wjs.fromWire; exports.getPath = _chunkP4NMZ77Wjs.getPath; exports.gridOffsetPx = _chunkP4NMZ77Wjs.gridOffsetPx; exports.gridUnitsToPx = _chunkP4NMZ77Wjs.gridUnitsToPx; exports.groupField = _chunkP4NMZ77Wjs.groupField; exports.groupFields = _chunkP4NMZ77Wjs.groupFields; exports.groupProblems = _chunkP4NMZ77Wjs.groupProblems; exports.groupToEntries = _chunkP4NMZ77Wjs.groupToEntries; exports.httpFetchJson = _chunkP4NMZ77Wjs.httpFetchJson; exports.initialVariableValues = _chunkP4NMZ77Wjs.initialVariableValues; exports.inputGroups = _chunkP4NMZ77Wjs.inputGroups; exports.inputPanels = _chunkP4NMZ77Wjs.inputPanels; exports.inputProblem = _chunkP4NMZ77Wjs.inputProblem; exports.insertPanel = _chunkP4NMZ77Wjs.insertPanel; exports.interpolate = _chunkP4NMZ77Wjs.interpolate; exports.interpolateDeep = _chunkP4NMZ77Wjs.interpolateDeep; exports.isBundleResponse = _chunkP4NMZ77Wjs.isBundleResponse; exports.isEditableVariableType = _chunkP4NMZ77Wjs.isEditableVariableType; exports.isEmptyItem = _chunkP4NMZ77Wjs.isEmptyItem; exports.isFormPanelType = _chunkP4NMZ77Wjs.isFormPanelType; exports.isInputGroup = _chunkP4NMZ77Wjs.isInputGroup; exports.isInputPanel = _chunkP4NMZ77Wjs.isInputPanel; exports.isInputType = _chunkP4NMZ77Wjs.isInputType; exports.isLocalDatasource = _chunkP4NMZ77Wjs.isLocalDatasource; exports.isReducer = _chunkP4NMZ77Wjs.isReducer; exports.isRow = _chunkP4NMZ77Wjs.isRow; exports.isSqlDatasource = _chunkP4NMZ77Wjs.isSqlDatasource; exports.jsonFromAnswer = _chunkP4NMZ77Wjs.jsonFromAnswer; exports.layoutCanvas = _chunkP4NMZ77Wjs.layoutCanvas; exports.layoutDashboard = _chunkP4NMZ77Wjs.layoutDashboard; exports.lineColumn = _chunkP4NMZ77Wjs.lineColumn; exports.loadGazetteer = _chunkP4NMZ77Wjs.loadGazetteer; exports.locate = _chunkP4NMZ77Wjs.locate; exports.makeTemplate = _chunkP4NMZ77Wjs.makeTemplate; exports.manifestSchemaIssues = _chunkP4NMZ77Wjs.manifestSchemaIssues; exports.mappedResult = _chunkP4NMZ77Wjs.mappedResult; exports.mappingProblem = _chunkP4NMZ77Wjs.mappingProblem; exports.mappingRow = _chunkP4NMZ77Wjs.mappingRow; exports.mappingRows = _chunkP4NMZ77Wjs.mappingRows; exports.matchChoices = _chunkP4NMZ77Wjs.matchChoices; exports.metricChanges = _chunkP4NMZ77Wjs.metricChanges; exports.modelFiller = _chunkP4NMZ77Wjs.modelFiller; exports.movePanel = _chunkP4NMZ77Wjs.movePanel; exports.newDocument = _chunkP4NMZ77Wjs.newDocument; exports.newPanel = _chunkP4NMZ77Wjs.newPanel; exports.newSaveId = _chunkP4NMZ77Wjs.newSaveId; exports.newVariable = _chunkP4NMZ77Wjs.newVariable; exports.nextPanelId = _chunkP4NMZ77Wjs.nextPanelId; exports.normalizeRef = _chunkP4NMZ77Wjs.normalizeRef; exports.numberFields = _chunkP4NMZ77Wjs.numberFields; exports.optionValue = _chunkP4NMZ77Wjs.optionValue; exports.overrideProperties = _chunkP4NMZ77Wjs.overrideProperties; exports.panelEdits = _chunkP4NMZ77Wjs.panelEdits; exports.panelHasQueries = _chunkP4NMZ77Wjs.panelHasQueries; exports.panelKey = _chunkP4NMZ77Wjs.panelKey; exports.panelMetrics = _chunkP4NMZ77Wjs.panelMetrics; exports.panelOptions = _chunkP4NMZ77Wjs.panelOptions; exports.panelOverrides = _chunkP4NMZ77Wjs.panelOverrides; exports.panelSize = _chunkP4NMZ77Wjs.panelSize; exports.panelSpan = _chunkP4NMZ77Wjs.panelSpan; exports.parseClockDigits = _chunkP4NMZ77Wjs.parseClockDigits; exports.parseDashboardLink = _chunkP4NMZ77Wjs.parseDashboardLink; exports.parseDuration = _chunkP4NMZ77Wjs.parseDuration; exports.parseFillAnswer = _chunkP4NMZ77Wjs.parseFillAnswer; exports.parseGazetteer = _chunkP4NMZ77Wjs.parseGazetteer; exports.parseJsonText = _chunkP4NMZ77Wjs.parseJsonText; exports.parseLocalDateTime = _chunkP4NMZ77Wjs.parseLocalDateTime; exports.parseRange = _chunkP4NMZ77Wjs.parseRange; exports.parseSnippet = _chunkP4NMZ77Wjs.parseSnippet; exports.parseSpokenDuration = _chunkP4NMZ77Wjs.parseSpokenDuration; exports.parseSpokenNumber = _chunkP4NMZ77Wjs.parseSpokenNumber; exports.parseSpokenYesNo = _chunkP4NMZ77Wjs.parseSpokenYesNo; exports.parseTemplate = _chunkP4NMZ77Wjs.parseTemplate; exports.parseTime = _chunkP4NMZ77Wjs.parseTime; exports.pasteSnippet = _chunkP4NMZ77Wjs.pasteSnippet; exports.placePanel = _chunkP4NMZ77Wjs.placePanel; exports.plainInputPanels = _chunkP4NMZ77Wjs.plainInputPanels; exports.pointerToPath = _chunkP4NMZ77Wjs.pointerToPath; exports.prepareDashboard = _chunkP4NMZ77Wjs.prepareDashboard; exports.previewPaste = _chunkP4NMZ77Wjs.previewPaste; exports.queryPanel = _chunkP4NMZ77Wjs.queryPanel; exports.queryParam = _chunkP4NMZ77Wjs.queryParam; exports.readConfigFiles = _chunkP4NMZ77Wjs.readConfigFiles; exports.readDocumentAnswer = _chunkP4NMZ77Wjs.readDocumentAnswer; exports.readFill = _chunkP4NMZ77Wjs.readFill; exports.readTemplateAnswer = _chunkP4NMZ77Wjs.readTemplateAnswer; exports.readingOrder = _chunkP4NMZ77Wjs.readingOrder; exports.reduce = _chunkP4NMZ77Wjs.reduce; exports.refineOptions = _chunkP4NMZ77Wjs.refineOptions; exports.refreshedVariables = _chunkP4NMZ77Wjs.refreshedVariables; exports.removeDocumentFromManifest = _chunkP4NMZ77Wjs.removeDocumentFromManifest; exports.removePanel = _chunkP4NMZ77Wjs.removePanel; exports.renameDocumentInManifest = _chunkP4NMZ77Wjs.renameDocumentInManifest; exports.renameMetrics = _chunkP4NMZ77Wjs.renameMetrics; exports.renameVariableInPanels = _chunkP4NMZ77Wjs.renameVariableInPanels; exports.repack = _chunkP4NMZ77Wjs.repack; exports.repeatOptions = _chunkP4NMZ77Wjs.repeatOptions; exports.requiredManifestVersion = _chunkP4NMZ77Wjs.requiredManifestVersion; exports.resizePanel = _chunkP4NMZ77Wjs.resizePanel; exports.resolveColor = _chunkP4NMZ77Wjs.resolveColor; exports.resolveFieldConfig = _chunkP4NMZ77Wjs.resolveFieldConfig; exports.resolveLinks = _chunkP4NMZ77Wjs.resolveLinks; exports.resolveTimezone = _chunkP4NMZ77Wjs.resolveTimezone; exports.resolveUrl = _chunkP4NMZ77Wjs.resolveUrl; exports.resolveVariables = _chunkP4NMZ77Wjs.resolveVariables; exports.revalidateBundle = _chunkP4NMZ77Wjs.revalidateBundle; exports.rowsToMappings = _chunkP4NMZ77Wjs.rowsToMappings; exports.ruleFill = _chunkP4NMZ77Wjs.ruleFill; exports.ruleFiller = _chunkP4NMZ77Wjs.ruleFiller; exports.sameSave = _chunkP4NMZ77Wjs.sameSave; exports.sampleEntries = _chunkP4NMZ77Wjs.sampleEntries; exports.screenDocuments = _chunkP4NMZ77Wjs.screenDocuments; exports.screenOfType = _chunkP4NMZ77Wjs.screenOfType; exports.selectValue = _chunkP4NMZ77Wjs.selectValue; exports.seriesColor = _chunkP4NMZ77Wjs.seriesColor; exports.setHiddenOnPhones = _chunkP4NMZ77Wjs.setHiddenOnPhones; exports.setJsonValue = _chunkP4NMZ77Wjs.setJsonValue; exports.setOption = _chunkP4NMZ77Wjs.setOption; exports.setOptionValue = _chunkP4NMZ77Wjs.setOptionValue; exports.setOverrides = _chunkP4NMZ77Wjs.setOverrides; exports.settleLayout = _chunkP4NMZ77Wjs.settleLayout; exports.snapToGrid = _chunkP4NMZ77Wjs.snapToGrid; exports.splitPath = _chunkP4NMZ77Wjs.splitPath; exports.spokenValue = _chunkP4NMZ77Wjs.spokenValue; exports.startOf = _chunkP4NMZ77Wjs.startOf; exports.stringifyCompact = _chunkP4NMZ77Wjs.stringifyCompact; exports.tabIdFor = _chunkP4NMZ77Wjs.tabIdFor; exports.takesDictation = _chunkP4NMZ77Wjs.takesDictation; exports.templateNeeds = _chunkP4NMZ77Wjs.templateNeeds; exports.templatePrompt = _chunkP4NMZ77Wjs.templatePrompt; exports.textSuggestions = _chunkP4NMZ77Wjs.textSuggestions; exports.thresholdStep = _chunkP4NMZ77Wjs.thresholdStep; exports.timeExprError = _chunkP4NMZ77Wjs.timeExprError; exports.timeField = _chunkP4NMZ77Wjs.timeField; exports.toEntries = _chunkP4NMZ77Wjs.toEntries; exports.toMillis = _chunkP4NMZ77Wjs.toMillis; exports.toSeries = _chunkP4NMZ77Wjs.toSeries; exports.toXYSeries = _chunkP4NMZ77Wjs.toXYSeries; exports.uniqueNames = _chunkP4NMZ77Wjs.uniqueNames; exports.validateBundle = _chunkP4NMZ77Wjs.validateBundle; exports.validateDashboard = _chunkP4NMZ77Wjs.validateDashboard; exports.validateManifest = _chunkP4NMZ77Wjs.validateManifest; exports.valueColor = _chunkP4NMZ77Wjs.valueColor; exports.valueText = _chunkP4NMZ77Wjs.valueText; exports.variableDependents = _chunkP4NMZ77Wjs.variableDependents; exports.variableInfo = _chunkP4NMZ77Wjs.variableInfo; exports.variableNameError = _chunkP4NMZ77Wjs.variableNameError; exports.variableOptions = _chunkP4NMZ77Wjs.variableOptions; exports.variableOrder = _chunkP4NMZ77Wjs.variableOrder; exports.variableReferences = _chunkP4NMZ77Wjs.variableReferences; exports.variableUses = _chunkP4NMZ77Wjs.variableUses; exports.variableWithCurrent = _chunkP4NMZ77Wjs.variableWithCurrent; exports.variableWithFlags = _chunkP4NMZ77Wjs.variableWithFlags; exports.variableWithQuery = _chunkP4NMZ77Wjs.variableWithQuery; exports.variableWithType = _chunkP4NMZ77Wjs.variableWithType; exports.visibleVariables = _chunkP4NMZ77Wjs.visibleVariables; exports.zoomRange = _chunkP4NMZ77Wjs.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
|
/**
|
package/dist/core/schema.d.ts
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
* Unknown keys are tolerated and ignored, so dashboards exported from Grafana
|
|
4
4
|
* load as-is. See https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/view-dashboard-json-model/
|
|
5
5
|
*
|
|
6
|
-
* modelform adds
|
|
6
|
+
* modelform adds four extensions, all of which Grafana ignores:
|
|
7
7
|
* - `kind` to say whether the document is a form or a dashboard
|
|
8
|
+
* - `localOnly` to keep a form's entries on the device that records them
|
|
8
9
|
* - `panel.mobile` to tune phone layout per panel
|
|
9
10
|
* - `input-*` panel types for data entry forms (see inputs.ts)
|
|
10
11
|
*/
|
|
@@ -15,6 +16,11 @@ export interface Dashboard {
|
|
|
15
16
|
* Without it, a document with input-* panels counts as a form. See documentKind().
|
|
16
17
|
*/
|
|
17
18
|
kind?: DocumentKind;
|
|
19
|
+
/**
|
|
20
|
+
* Forms: keep what this form records on the device where it's recorded. Apps that sync
|
|
21
|
+
* entries (to an account, other devices, a server) must leave these out. Off by default.
|
|
22
|
+
*/
|
|
23
|
+
localOnly?: boolean;
|
|
18
24
|
uid?: string;
|
|
19
25
|
title: string;
|
|
20
26
|
description?: string;
|