@modelform/react-native 0.9.0 → 0.10.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/README.md +2 -0
- package/dist/{chunk-FBZDJWT2.js → chunk-KROS6BLM.js} +230 -1
- package/dist/{chunk-KOCUG6GH.mjs → chunk-QXUFH447.mjs} +230 -1
- package/dist/core/authoring.d.ts +30 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +14 -2
- package/dist/core/index.mjs +13 -1
- package/dist/index.js +167 -155
- package/dist/index.mjs +13 -1
- package/package.json +1 -1
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,
|
|
@@ -8,6 +9,7 @@ import {
|
|
|
8
9
|
DASHBOARD_DS,
|
|
9
10
|
DEFAULT_GAZETTEER,
|
|
10
11
|
EDITABLE_VARIABLE_TYPES,
|
|
12
|
+
EXAMPLE_TEMPLATE,
|
|
11
13
|
GRID_COLUMNS,
|
|
12
14
|
GROUP_FIELD_TYPES,
|
|
13
15
|
GrafanaClient,
|
|
@@ -73,6 +75,7 @@ import {
|
|
|
73
75
|
fetchJsonWithToken,
|
|
74
76
|
fieldDisplayName,
|
|
75
77
|
fieldMatches,
|
|
78
|
+
fixTemplatePrompt,
|
|
76
79
|
formatClock,
|
|
77
80
|
formatDisplay,
|
|
78
81
|
formatDuration,
|
|
@@ -108,6 +111,7 @@ import {
|
|
|
108
111
|
isReducer,
|
|
109
112
|
isRow,
|
|
110
113
|
isSqlDatasource,
|
|
114
|
+
jsonFromAnswer,
|
|
111
115
|
layoutCanvas,
|
|
112
116
|
layoutDashboard,
|
|
113
117
|
lineColumn,
|
|
@@ -157,6 +161,7 @@ import {
|
|
|
157
161
|
queryPanel,
|
|
158
162
|
queryParam,
|
|
159
163
|
readConfigFiles,
|
|
164
|
+
readTemplateAnswer,
|
|
160
165
|
readingOrder,
|
|
161
166
|
reduce,
|
|
162
167
|
refineOptions,
|
|
@@ -195,6 +200,7 @@ import {
|
|
|
195
200
|
stringifyCompact,
|
|
196
201
|
tabIdFor,
|
|
197
202
|
templateNeeds,
|
|
203
|
+
templatePrompt,
|
|
198
204
|
textSuggestions,
|
|
199
205
|
thresholdStep,
|
|
200
206
|
timeExprError,
|
|
@@ -222,7 +228,7 @@ import {
|
|
|
222
228
|
variableWithType,
|
|
223
229
|
visibleVariables,
|
|
224
230
|
zoomRange
|
|
225
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-QXUFH447.mjs";
|
|
226
232
|
|
|
227
233
|
// src/ui/theme.tsx
|
|
228
234
|
import { createContext, useContext } from "react";
|
|
@@ -4303,6 +4309,7 @@ var styles15 = StyleSheet15.create({
|
|
|
4303
4309
|
});
|
|
4304
4310
|
export {
|
|
4305
4311
|
ALL,
|
|
4312
|
+
AUTHORING_GUIDE,
|
|
4306
4313
|
BUNDLE_ACCEPT,
|
|
4307
4314
|
BUNDLE_TYPE,
|
|
4308
4315
|
CANVAS_GAP,
|
|
@@ -4317,6 +4324,7 @@ export {
|
|
|
4317
4324
|
DashboardToolbar,
|
|
4318
4325
|
DashboardView,
|
|
4319
4326
|
EDITABLE_VARIABLE_TYPES,
|
|
4327
|
+
EXAMPLE_TEMPLATE,
|
|
4320
4328
|
GRID_COLUMNS,
|
|
4321
4329
|
GROUP_FIELD_TYPES,
|
|
4322
4330
|
GrafanaClient,
|
|
@@ -4389,6 +4397,7 @@ export {
|
|
|
4389
4397
|
fetchJsonWithToken,
|
|
4390
4398
|
fieldDisplayName,
|
|
4391
4399
|
fieldMatches,
|
|
4400
|
+
fixTemplatePrompt,
|
|
4392
4401
|
formatClock,
|
|
4393
4402
|
formatDisplay,
|
|
4394
4403
|
formatDuration,
|
|
@@ -4425,6 +4434,7 @@ export {
|
|
|
4425
4434
|
isReducer,
|
|
4426
4435
|
isRow,
|
|
4427
4436
|
isSqlDatasource,
|
|
4437
|
+
jsonFromAnswer,
|
|
4428
4438
|
layoutCanvas,
|
|
4429
4439
|
layoutDashboard,
|
|
4430
4440
|
lightTheme,
|
|
@@ -4475,6 +4485,7 @@ export {
|
|
|
4475
4485
|
queryPanel,
|
|
4476
4486
|
queryParam,
|
|
4477
4487
|
readConfigFiles,
|
|
4488
|
+
readTemplateAnswer,
|
|
4478
4489
|
readingOrder,
|
|
4479
4490
|
reduce,
|
|
4480
4491
|
refineOptions,
|
|
@@ -4514,6 +4525,7 @@ export {
|
|
|
4514
4525
|
stringifyCompact,
|
|
4515
4526
|
tabIdFor,
|
|
4516
4527
|
templateNeeds,
|
|
4528
|
+
templatePrompt,
|
|
4517
4529
|
textSuggestions,
|
|
4518
4530
|
thresholdStep,
|
|
4519
4531
|
timeExprError,
|
package/package.json
CHANGED