@modelform/react-native 0.14.0 → 0.16.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.
@@ -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, 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, 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 {
@@ -28,6 +28,7 @@ export interface FillForm {
28
28
  /** Runtime choices, for selects that use choicesFrom. */
29
29
  choices: Record<string, InputChoice[]>;
30
30
  }
31
+ export declare const choicesOf: (p: InputPanel, runtime: Record<string, InputChoice[]>) => InputChoice[];
31
32
  /** The fields a filler can fill: the form's inputs outside groups, except counters. */
32
33
  export declare function fillForm(dashboard: Dashboard, choices?: Record<string, InputChoice[]>): FillForm;
33
34
  /**
@@ -58,21 +59,12 @@ export interface FillResult {
58
59
  * doesn't fit the input is reported instead of filled. Keys that aren't fields are ignored.
59
60
  */
60
61
  export declare function readFill(form: FillForm, answer: unknown): FillResult;
61
- /**
62
- * Fills a form without a model: each field's value is what follows its name ("weight 72.5,
63
- * sleep seven hours, notes felt good"), and fields not named are found by what they take: a
64
- * number with the field's unit ("72.5 kilos"), or a choice only that field has ("went for a swim").
65
- * Works offline on every device, but people have to say the field names.
66
- */
67
- export declare function ruleFill(form: FillForm, said: string): FillResult;
68
62
  /**
69
63
  * Fills a form from what was said. The rule-based filler is the default; an on-device model can
70
64
  * be dropped in later (see modelFiller) without changing the form. Whatever a filler returns
71
65
  * should come from readFill, so it can only hold values typing could have entered.
72
66
  */
73
67
  export type FormFiller = (form: FillForm, said: string) => Promise<FillResult>;
74
- /** The filler that needs no model: ruleFill. Works offline on every device. */
75
- export declare const ruleFiller: FormFiller;
76
68
  /**
77
69
  * Generates a reply for a model filler: `schema` is fillSchema(form), for models with guided
78
70
  * generation; others can ignore it (the prompt describes the fields too). Resolve with the
@@ -13,6 +13,7 @@ export * from './grafana';
13
13
  export * from './inputs';
14
14
  export * from './speech';
15
15
  export * from './formFill';
16
+ export * from './ruleFill';
16
17
  export * from './local';
17
18
  export * from './gazetteer';
18
19
  export * from './links';
@@ -251,8 +251,8 @@
251
251
 
252
252
 
253
253
 
254
- var _chunkXWSPLZNCjs = require('../chunk-XWSPLZNC.js');
255
254
 
255
+ var _chunkPVLALJT5js = require('../chunk-PVLALJT5.js');
256
256
 
257
257
 
258
258
 
@@ -505,4 +505,6 @@ var _chunkXWSPLZNCjs = require('../chunk-XWSPLZNC.js');
505
505
 
506
506
 
507
507
 
508
- exports.ALL = _chunkXWSPLZNCjs.ALL; exports.AUTHORING_GUIDE = _chunkXWSPLZNCjs.AUTHORING_GUIDE; exports.BUNDLE_ACCEPT = _chunkXWSPLZNCjs.BUNDLE_ACCEPT; exports.BUNDLE_TYPE = _chunkXWSPLZNCjs.BUNDLE_TYPE; exports.CANVAS_GAP = _chunkXWSPLZNCjs.CANVAS_GAP; exports.CANVAS_ROW_HEADER = _chunkXWSPLZNCjs.CANVAS_ROW_HEADER; exports.ConfigLoader = _chunkXWSPLZNCjs.ConfigLoader; exports.DASHBOARD_DS = _chunkXWSPLZNCjs.DASHBOARD_DS; exports.DEFAULT_GAZETTEER = _chunkXWSPLZNCjs.DEFAULT_GAZETTEER; exports.DICTATION_TYPES = _chunkXWSPLZNCjs.DICTATION_TYPES; exports.DOCUMENT_GUIDE = _chunkXWSPLZNCjs.DOCUMENT_GUIDE; exports.EDITABLE_VARIABLE_TYPES = _chunkXWSPLZNCjs.EDITABLE_VARIABLE_TYPES; exports.EXAMPLE_TEMPLATE = _chunkXWSPLZNCjs.EXAMPLE_TEMPLATE; exports.GRID_COLUMNS = _chunkXWSPLZNCjs.GRID_COLUMNS; exports.GROUP_FIELD_TYPES = _chunkXWSPLZNCjs.GROUP_FIELD_TYPES; exports.GrafanaClient = _chunkXWSPLZNCjs.GrafanaClient; exports.GrafanaDataSource = _chunkXWSPLZNCjs.GrafanaDataSource; exports.GrafanaError = _chunkXWSPLZNCjs.GrafanaError; exports.HttpConfigFiles = _chunkXWSPLZNCjs.HttpConfigFiles; exports.INPUT_GROUP = _chunkXWSPLZNCjs.INPUT_GROUP; exports.INPUT_OPTION_KEYS = _chunkXWSPLZNCjs.INPUT_OPTION_KEYS; exports.INPUT_TYPES = _chunkXWSPLZNCjs.INPUT_TYPES; exports.LOCAL_DATASOURCE_TYPE = _chunkXWSPLZNCjs.LOCAL_DATASOURCE_TYPE; exports.LocalDataSource = _chunkXWSPLZNCjs.LocalDataSource; exports.MANIFEST_VERSION = _chunkXWSPLZNCjs.MANIFEST_VERSION; exports.MAPPING_TYPES = _chunkXWSPLZNCjs.MAPPING_TYPES; exports.MemoryEntryStore = _chunkXWSPLZNCjs.MemoryEntryStore; exports.NAMED_COLORS = _chunkXWSPLZNCjs.NAMED_COLORS; exports.OPTION_CATEGORIES = _chunkXWSPLZNCjs.OPTION_CATEGORIES; exports.OVERRIDE_MATCHERS = _chunkXWSPLZNCjs.OVERRIDE_MATCHERS; exports.PANEL_TYPES = _chunkXWSPLZNCjs.PANEL_TYPES; exports.REDUCER_LABELS = _chunkXWSPLZNCjs.REDUCER_LABELS; exports.REFRESH_CHOICES = _chunkXWSPLZNCjs.REFRESH_CHOICES; exports.RELATIVE_RANGES = _chunkXWSPLZNCjs.RELATIVE_RANGES; exports.SERIES_PALETTE = _chunkXWSPLZNCjs.SERIES_PALETTE; exports.SNIPPET_VERSION = _chunkXWSPLZNCjs.SNIPPET_VERSION; exports.SPECIAL_MATCHES = _chunkXWSPLZNCjs.SPECIAL_MATCHES; exports.SaveConflictError = _chunkXWSPLZNCjs.SaveConflictError; exports.TEMPLATE_VERSION = _chunkXWSPLZNCjs.TEMPLATE_VERSION; exports.TIME_PRESETS = _chunkXWSPLZNCjs.TIME_PRESETS; exports.UNIT_CHOICES = _chunkXWSPLZNCjs.UNIT_CHOICES; exports.addTime = _chunkXWSPLZNCjs.addTime; exports.appSchema = _chunkXWSPLZNCjs.appSchema; exports.applyDashboardLink = _chunkXWSPLZNCjs.applyDashboardLink; exports.applyJsonEdits = _chunkXWSPLZNCjs.applyJsonEdits; exports.applyTemplate = _chunkXWSPLZNCjs.applyTemplate; exports.applyTransformations = _chunkXWSPLZNCjs.applyTransformations; exports.assembleBundle = _chunkXWSPLZNCjs.assembleBundle; exports.assembleFromResponse = _chunkXWSPLZNCjs.assembleFromResponse; exports.buildFrames = _chunkXWSPLZNCjs.buildFrames; exports.bundleFromFiles = _chunkXWSPLZNCjs.bundleFromFiles; exports.bundleRoot = _chunkXWSPLZNCjs.bundleRoot; exports.calculateInterval = _chunkXWSPLZNCjs.calculateInterval; exports.checkFiles = _chunkXWSPLZNCjs.checkFiles; exports.cleanDashboard = _chunkXWSPLZNCjs.cleanDashboard; exports.cleanPanelOptions = _chunkXWSPLZNCjs.cleanPanelOptions; exports.collapseRow = _chunkXWSPLZNCjs.collapseRow; exports.compactGrid = _chunkXWSPLZNCjs.compactGrid; exports.copyPanels = _chunkXWSPLZNCjs.copyPanels; exports.dashboardSchema = _chunkXWSPLZNCjs.dashboardSchema; exports.dashboardSchemaIssues = _chunkXWSPLZNCjs.dashboardSchemaIssues; exports.dashboardSourceIds = _chunkXWSPLZNCjs.dashboardSourceIds; exports.defaultFetchJson = _chunkXWSPLZNCjs.defaultFetchJson; exports.describeRange = _chunkXWSPLZNCjs.describeRange; exports.dictationHints = _chunkXWSPLZNCjs.dictationHints; exports.diffJson = _chunkXWSPLZNCjs.diffJson; exports.documentChanges = _chunkXWSPLZNCjs.documentChanges; exports.documentIdFor = _chunkXWSPLZNCjs.documentIdFor; exports.documentKind = _chunkXWSPLZNCjs.documentKind; exports.documentPrompt = _chunkXWSPLZNCjs.documentPrompt; exports.documentUses = _chunkXWSPLZNCjs.documentUses; exports.dropTarget = _chunkXWSPLZNCjs.dropTarget; exports.duplicatePanel = _chunkXWSPLZNCjs.duplicatePanel; exports.entriesSavedWith = _chunkXWSPLZNCjs.entriesSavedWith; exports.entriesToItems = _chunkXWSPLZNCjs.entriesToItems; exports.entryToInputValue = _chunkXWSPLZNCjs.entryToInputValue; exports.expandRow = _chunkXWSPLZNCjs.expandRow; exports.fetchBundle = _chunkXWSPLZNCjs.fetchBundle; exports.fetchJsonWithToken = _chunkXWSPLZNCjs.fetchJsonWithToken; exports.fieldDisplayName = _chunkXWSPLZNCjs.fieldDisplayName; exports.fieldMatches = _chunkXWSPLZNCjs.fieldMatches; exports.fillForm = _chunkXWSPLZNCjs.fillForm; exports.fillHints = _chunkXWSPLZNCjs.fillHints; exports.fillPrompt = _chunkXWSPLZNCjs.fillPrompt; exports.fillSchema = _chunkXWSPLZNCjs.fillSchema; exports.fixDocumentPrompt = _chunkXWSPLZNCjs.fixDocumentPrompt; exports.fixTemplatePrompt = _chunkXWSPLZNCjs.fixTemplatePrompt; exports.formatClock = _chunkXWSPLZNCjs.formatClock; exports.formatDisplay = _chunkXWSPLZNCjs.formatDisplay; exports.formatDuration = _chunkXWSPLZNCjs.formatDuration; exports.formatJsonText = _chunkXWSPLZNCjs.formatJsonText; exports.formatLocalDateTime = _chunkXWSPLZNCjs.formatLocalDateTime; exports.formatValue = _chunkXWSPLZNCjs.formatValue; exports.frameLength = _chunkXWSPLZNCjs.frameLength; exports.framesToOptions = _chunkXWSPLZNCjs.framesToOptions; exports.fromWire = _chunkXWSPLZNCjs.fromWire; exports.getPath = _chunkXWSPLZNCjs.getPath; exports.gridOffsetPx = _chunkXWSPLZNCjs.gridOffsetPx; exports.gridUnitsToPx = _chunkXWSPLZNCjs.gridUnitsToPx; exports.groupField = _chunkXWSPLZNCjs.groupField; exports.groupFields = _chunkXWSPLZNCjs.groupFields; exports.groupProblems = _chunkXWSPLZNCjs.groupProblems; exports.groupToEntries = _chunkXWSPLZNCjs.groupToEntries; exports.httpFetchJson = _chunkXWSPLZNCjs.httpFetchJson; exports.initialVariableValues = _chunkXWSPLZNCjs.initialVariableValues; exports.inputGroups = _chunkXWSPLZNCjs.inputGroups; exports.inputPanels = _chunkXWSPLZNCjs.inputPanels; exports.inputProblem = _chunkXWSPLZNCjs.inputProblem; exports.insertPanel = _chunkXWSPLZNCjs.insertPanel; exports.interpolate = _chunkXWSPLZNCjs.interpolate; exports.interpolateDeep = _chunkXWSPLZNCjs.interpolateDeep; exports.isBundleResponse = _chunkXWSPLZNCjs.isBundleResponse; exports.isEditableVariableType = _chunkXWSPLZNCjs.isEditableVariableType; exports.isEmptyItem = _chunkXWSPLZNCjs.isEmptyItem; exports.isFormPanelType = _chunkXWSPLZNCjs.isFormPanelType; exports.isInputGroup = _chunkXWSPLZNCjs.isInputGroup; exports.isInputPanel = _chunkXWSPLZNCjs.isInputPanel; exports.isInputType = _chunkXWSPLZNCjs.isInputType; exports.isLocalDatasource = _chunkXWSPLZNCjs.isLocalDatasource; exports.isReducer = _chunkXWSPLZNCjs.isReducer; exports.isRow = _chunkXWSPLZNCjs.isRow; exports.isSqlDatasource = _chunkXWSPLZNCjs.isSqlDatasource; exports.jsonFromAnswer = _chunkXWSPLZNCjs.jsonFromAnswer; exports.layoutCanvas = _chunkXWSPLZNCjs.layoutCanvas; exports.layoutDashboard = _chunkXWSPLZNCjs.layoutDashboard; exports.lineColumn = _chunkXWSPLZNCjs.lineColumn; exports.loadGazetteer = _chunkXWSPLZNCjs.loadGazetteer; exports.locate = _chunkXWSPLZNCjs.locate; exports.makeTemplate = _chunkXWSPLZNCjs.makeTemplate; exports.manifestSchemaIssues = _chunkXWSPLZNCjs.manifestSchemaIssues; exports.mappedResult = _chunkXWSPLZNCjs.mappedResult; exports.mappingProblem = _chunkXWSPLZNCjs.mappingProblem; exports.mappingRow = _chunkXWSPLZNCjs.mappingRow; exports.mappingRows = _chunkXWSPLZNCjs.mappingRows; exports.matchChoices = _chunkXWSPLZNCjs.matchChoices; exports.metricChanges = _chunkXWSPLZNCjs.metricChanges; exports.modelFiller = _chunkXWSPLZNCjs.modelFiller; exports.movePanel = _chunkXWSPLZNCjs.movePanel; exports.newDocument = _chunkXWSPLZNCjs.newDocument; exports.newPanel = _chunkXWSPLZNCjs.newPanel; exports.newSaveId = _chunkXWSPLZNCjs.newSaveId; exports.newVariable = _chunkXWSPLZNCjs.newVariable; exports.nextPanelId = _chunkXWSPLZNCjs.nextPanelId; exports.normalizeRef = _chunkXWSPLZNCjs.normalizeRef; exports.numberFields = _chunkXWSPLZNCjs.numberFields; exports.optionValue = _chunkXWSPLZNCjs.optionValue; exports.overrideProperties = _chunkXWSPLZNCjs.overrideProperties; exports.panelEdits = _chunkXWSPLZNCjs.panelEdits; exports.panelHasQueries = _chunkXWSPLZNCjs.panelHasQueries; exports.panelKey = _chunkXWSPLZNCjs.panelKey; exports.panelMetrics = _chunkXWSPLZNCjs.panelMetrics; exports.panelOptions = _chunkXWSPLZNCjs.panelOptions; exports.panelOverrides = _chunkXWSPLZNCjs.panelOverrides; exports.panelSize = _chunkXWSPLZNCjs.panelSize; exports.panelSpan = _chunkXWSPLZNCjs.panelSpan; exports.parseClockDigits = _chunkXWSPLZNCjs.parseClockDigits; exports.parseDashboardLink = _chunkXWSPLZNCjs.parseDashboardLink; exports.parseDuration = _chunkXWSPLZNCjs.parseDuration; exports.parseFillAnswer = _chunkXWSPLZNCjs.parseFillAnswer; exports.parseGazetteer = _chunkXWSPLZNCjs.parseGazetteer; exports.parseJsonText = _chunkXWSPLZNCjs.parseJsonText; exports.parseLocalDateTime = _chunkXWSPLZNCjs.parseLocalDateTime; exports.parseRange = _chunkXWSPLZNCjs.parseRange; exports.parseSnippet = _chunkXWSPLZNCjs.parseSnippet; exports.parseSpokenDuration = _chunkXWSPLZNCjs.parseSpokenDuration; exports.parseSpokenNumber = _chunkXWSPLZNCjs.parseSpokenNumber; exports.parseSpokenYesNo = _chunkXWSPLZNCjs.parseSpokenYesNo; exports.parseTemplate = _chunkXWSPLZNCjs.parseTemplate; exports.parseTime = _chunkXWSPLZNCjs.parseTime; exports.pasteSnippet = _chunkXWSPLZNCjs.pasteSnippet; exports.placePanel = _chunkXWSPLZNCjs.placePanel; exports.plainInputPanels = _chunkXWSPLZNCjs.plainInputPanels; exports.pointerToPath = _chunkXWSPLZNCjs.pointerToPath; exports.prepareDashboard = _chunkXWSPLZNCjs.prepareDashboard; exports.previewPaste = _chunkXWSPLZNCjs.previewPaste; exports.queryPanel = _chunkXWSPLZNCjs.queryPanel; exports.queryParam = _chunkXWSPLZNCjs.queryParam; exports.readConfigFiles = _chunkXWSPLZNCjs.readConfigFiles; exports.readDocumentAnswer = _chunkXWSPLZNCjs.readDocumentAnswer; exports.readFill = _chunkXWSPLZNCjs.readFill; exports.readTemplateAnswer = _chunkXWSPLZNCjs.readTemplateAnswer; exports.readingOrder = _chunkXWSPLZNCjs.readingOrder; exports.reduce = _chunkXWSPLZNCjs.reduce; exports.refineOptions = _chunkXWSPLZNCjs.refineOptions; exports.refreshedVariables = _chunkXWSPLZNCjs.refreshedVariables; exports.removeDocumentFromManifest = _chunkXWSPLZNCjs.removeDocumentFromManifest; exports.removePanel = _chunkXWSPLZNCjs.removePanel; exports.renameDocumentInManifest = _chunkXWSPLZNCjs.renameDocumentInManifest; exports.renameMetrics = _chunkXWSPLZNCjs.renameMetrics; exports.renameVariableInPanels = _chunkXWSPLZNCjs.renameVariableInPanels; exports.repack = _chunkXWSPLZNCjs.repack; exports.repeatOptions = _chunkXWSPLZNCjs.repeatOptions; exports.requiredManifestVersion = _chunkXWSPLZNCjs.requiredManifestVersion; exports.resizePanel = _chunkXWSPLZNCjs.resizePanel; exports.resolveColor = _chunkXWSPLZNCjs.resolveColor; exports.resolveFieldConfig = _chunkXWSPLZNCjs.resolveFieldConfig; exports.resolveLinks = _chunkXWSPLZNCjs.resolveLinks; exports.resolveTimezone = _chunkXWSPLZNCjs.resolveTimezone; exports.resolveUrl = _chunkXWSPLZNCjs.resolveUrl; exports.resolveVariables = _chunkXWSPLZNCjs.resolveVariables; exports.revalidateBundle = _chunkXWSPLZNCjs.revalidateBundle; exports.rowsToMappings = _chunkXWSPLZNCjs.rowsToMappings; exports.ruleFill = _chunkXWSPLZNCjs.ruleFill; exports.ruleFiller = _chunkXWSPLZNCjs.ruleFiller; exports.sameSave = _chunkXWSPLZNCjs.sameSave; exports.sampleEntries = _chunkXWSPLZNCjs.sampleEntries; exports.screenDocuments = _chunkXWSPLZNCjs.screenDocuments; exports.screenOfType = _chunkXWSPLZNCjs.screenOfType; exports.selectValue = _chunkXWSPLZNCjs.selectValue; exports.seriesColor = _chunkXWSPLZNCjs.seriesColor; exports.setHiddenOnPhones = _chunkXWSPLZNCjs.setHiddenOnPhones; exports.setJsonValue = _chunkXWSPLZNCjs.setJsonValue; exports.setOption = _chunkXWSPLZNCjs.setOption; exports.setOptionValue = _chunkXWSPLZNCjs.setOptionValue; exports.setOverrides = _chunkXWSPLZNCjs.setOverrides; exports.settleLayout = _chunkXWSPLZNCjs.settleLayout; exports.snapToGrid = _chunkXWSPLZNCjs.snapToGrid; exports.splitPath = _chunkXWSPLZNCjs.splitPath; exports.spokenValue = _chunkXWSPLZNCjs.spokenValue; exports.startOf = _chunkXWSPLZNCjs.startOf; exports.stringifyCompact = _chunkXWSPLZNCjs.stringifyCompact; exports.tabIdFor = _chunkXWSPLZNCjs.tabIdFor; exports.takesDictation = _chunkXWSPLZNCjs.takesDictation; exports.templateNeeds = _chunkXWSPLZNCjs.templateNeeds; exports.templatePrompt = _chunkXWSPLZNCjs.templatePrompt; exports.textSuggestions = _chunkXWSPLZNCjs.textSuggestions; exports.thresholdStep = _chunkXWSPLZNCjs.thresholdStep; exports.timeExprError = _chunkXWSPLZNCjs.timeExprError; exports.timeField = _chunkXWSPLZNCjs.timeField; exports.toEntries = _chunkXWSPLZNCjs.toEntries; exports.toMillis = _chunkXWSPLZNCjs.toMillis; exports.toSeries = _chunkXWSPLZNCjs.toSeries; exports.toXYSeries = _chunkXWSPLZNCjs.toXYSeries; exports.uniqueNames = _chunkXWSPLZNCjs.uniqueNames; exports.validateBundle = _chunkXWSPLZNCjs.validateBundle; exports.validateDashboard = _chunkXWSPLZNCjs.validateDashboard; exports.validateManifest = _chunkXWSPLZNCjs.validateManifest; exports.valueColor = _chunkXWSPLZNCjs.valueColor; exports.valueText = _chunkXWSPLZNCjs.valueText; exports.variableDependents = _chunkXWSPLZNCjs.variableDependents; exports.variableInfo = _chunkXWSPLZNCjs.variableInfo; exports.variableNameError = _chunkXWSPLZNCjs.variableNameError; exports.variableOptions = _chunkXWSPLZNCjs.variableOptions; exports.variableOrder = _chunkXWSPLZNCjs.variableOrder; exports.variableReferences = _chunkXWSPLZNCjs.variableReferences; exports.variableUses = _chunkXWSPLZNCjs.variableUses; exports.variableWithCurrent = _chunkXWSPLZNCjs.variableWithCurrent; exports.variableWithFlags = _chunkXWSPLZNCjs.variableWithFlags; exports.variableWithQuery = _chunkXWSPLZNCjs.variableWithQuery; exports.variableWithType = _chunkXWSPLZNCjs.variableWithType; exports.visibleVariables = _chunkXWSPLZNCjs.visibleVariables; exports.zoomRange = _chunkXWSPLZNCjs.zoomRange;
508
+
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;
@@ -53,6 +53,7 @@ import {
53
53
  bundleRoot,
54
54
  calculateInterval,
55
55
  checkFiles,
56
+ choicesOf,
56
57
  cleanDashboard,
57
58
  cleanPanelOptions,
58
59
  collapseRow,
@@ -251,7 +252,7 @@ import {
251
252
  variableWithType,
252
253
  visibleVariables,
253
254
  zoomRange
254
- } from "../chunk-72OFPTDE.mjs";
255
+ } from "../chunk-Q5GMOQT7.mjs";
255
256
  export {
256
257
  ALL,
257
258
  AUTHORING_GUIDE,
@@ -307,6 +308,7 @@ export {
307
308
  bundleRoot,
308
309
  calculateInterval,
309
310
  checkFiles,
311
+ choicesOf,
310
312
  cleanDashboard,
311
313
  cleanPanelOptions,
312
314
  collapseRow,
@@ -0,0 +1,12 @@
1
+ import { type FillForm, type FillResult, type FormFiller } from './formFill';
2
+ /**
3
+ * Fills a form without a model. A named field takes the value said next to it ("weight 72.5",
4
+ * "slept badly, maybe five hours", "didn't drink", "mood pretty low"), the last time it was named
5
+ * if it was named twice ("mood 3, no wait, mood 4"). Then fields not named are found in the rest
6
+ * of what was said by what only they could take: a number with the field's unit ("72.5 kilos",
7
+ * "5k"), a time when one field takes times ("for an hour and a half"), or a choice only that
8
+ * field has ("went for a jog"). Works offline on every device.
9
+ */
10
+ export declare function ruleFill(form: FillForm, said: string): FillResult;
11
+ /** The filler that needs no model: ruleFill. Works offline on every device. */
12
+ export declare const ruleFiller: FormFiller;
@@ -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 three extensions, all of which Grafana ignores:
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;