@modelform/react-native 0.9.0 → 0.11.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/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  ALL,
3
+ AUTHORING_GUIDE,
3
4
  BUNDLE_ACCEPT,
4
5
  BUNDLE_TYPE,
5
6
  CANVAS_GAP,
@@ -7,7 +8,9 @@ import {
7
8
  ConfigLoader,
8
9
  DASHBOARD_DS,
9
10
  DEFAULT_GAZETTEER,
11
+ DOCUMENT_GUIDE,
10
12
  EDITABLE_VARIABLE_TYPES,
13
+ EXAMPLE_TEMPLATE,
11
14
  GRID_COLUMNS,
12
15
  GROUP_FIELD_TYPES,
13
16
  GrafanaClient,
@@ -60,8 +63,10 @@ import {
60
63
  defaultFetchJson,
61
64
  describeRange,
62
65
  diffJson,
66
+ documentChanges,
63
67
  documentIdFor,
64
68
  documentKind,
69
+ documentPrompt,
65
70
  documentUses,
66
71
  dropTarget,
67
72
  duplicatePanel,
@@ -73,6 +78,8 @@ import {
73
78
  fetchJsonWithToken,
74
79
  fieldDisplayName,
75
80
  fieldMatches,
81
+ fixDocumentPrompt,
82
+ fixTemplatePrompt,
76
83
  formatClock,
77
84
  formatDisplay,
78
85
  formatDuration,
@@ -108,6 +115,7 @@ import {
108
115
  isReducer,
109
116
  isRow,
110
117
  isSqlDatasource,
118
+ jsonFromAnswer,
111
119
  layoutCanvas,
112
120
  layoutDashboard,
113
121
  lineColumn,
@@ -157,6 +165,8 @@ import {
157
165
  queryPanel,
158
166
  queryParam,
159
167
  readConfigFiles,
168
+ readDocumentAnswer,
169
+ readTemplateAnswer,
160
170
  readingOrder,
161
171
  reduce,
162
172
  refineOptions,
@@ -195,6 +205,7 @@ import {
195
205
  stringifyCompact,
196
206
  tabIdFor,
197
207
  templateNeeds,
208
+ templatePrompt,
198
209
  textSuggestions,
199
210
  thresholdStep,
200
211
  timeExprError,
@@ -222,7 +233,7 @@ import {
222
233
  variableWithType,
223
234
  visibleVariables,
224
235
  zoomRange
225
- } from "./chunk-KOCUG6GH.mjs";
236
+ } from "./chunk-AJEPW5KG.mjs";
226
237
 
227
238
  // src/ui/theme.tsx
228
239
  import { createContext, useContext } from "react";
@@ -4303,6 +4314,7 @@ var styles15 = StyleSheet15.create({
4303
4314
  });
4304
4315
  export {
4305
4316
  ALL,
4317
+ AUTHORING_GUIDE,
4306
4318
  BUNDLE_ACCEPT,
4307
4319
  BUNDLE_TYPE,
4308
4320
  CANVAS_GAP,
@@ -4312,11 +4324,13 @@ export {
4312
4324
  ConfigLoader,
4313
4325
  DASHBOARD_DS,
4314
4326
  DEFAULT_GAZETTEER,
4327
+ DOCUMENT_GUIDE,
4315
4328
  DashThemeProvider,
4316
4329
  DashboardProvider,
4317
4330
  DashboardToolbar,
4318
4331
  DashboardView,
4319
4332
  EDITABLE_VARIABLE_TYPES,
4333
+ EXAMPLE_TEMPLATE,
4320
4334
  GRID_COLUMNS,
4321
4335
  GROUP_FIELD_TYPES,
4322
4336
  GrafanaClient,
@@ -4376,8 +4390,10 @@ export {
4376
4390
  defaultFetchJson,
4377
4391
  describeRange,
4378
4392
  diffJson,
4393
+ documentChanges,
4379
4394
  documentIdFor,
4380
4395
  documentKind,
4396
+ documentPrompt,
4381
4397
  documentUses,
4382
4398
  dropTarget,
4383
4399
  duplicatePanel,
@@ -4389,6 +4405,8 @@ export {
4389
4405
  fetchJsonWithToken,
4390
4406
  fieldDisplayName,
4391
4407
  fieldMatches,
4408
+ fixDocumentPrompt,
4409
+ fixTemplatePrompt,
4392
4410
  formatClock,
4393
4411
  formatDisplay,
4394
4412
  formatDuration,
@@ -4425,6 +4443,7 @@ export {
4425
4443
  isReducer,
4426
4444
  isRow,
4427
4445
  isSqlDatasource,
4446
+ jsonFromAnswer,
4428
4447
  layoutCanvas,
4429
4448
  layoutDashboard,
4430
4449
  lightTheme,
@@ -4475,6 +4494,8 @@ export {
4475
4494
  queryPanel,
4476
4495
  queryParam,
4477
4496
  readConfigFiles,
4497
+ readDocumentAnswer,
4498
+ readTemplateAnswer,
4478
4499
  readingOrder,
4479
4500
  reduce,
4480
4501
  refineOptions,
@@ -4514,6 +4535,7 @@ export {
4514
4535
  stringifyCompact,
4515
4536
  tabIdFor,
4516
4537
  templateNeeds,
4538
+ templatePrompt,
4517
4539
  textSuggestions,
4518
4540
  thresholdStep,
4519
4541
  timeExprError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelform/react-native",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "description": "Render Grafana-compatible dashboard JSON, and input forms in the same format, as native React Native panels.",
5
5
  "keywords": [
6
6
  "react-native",