@modelform/react-native 0.4.0 → 0.5.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
@@ -31,12 +31,14 @@ import {
31
31
  SNIPPET_VERSION,
32
32
  SPECIAL_MATCHES,
33
33
  SaveConflictError,
34
+ TEMPLATE_VERSION,
34
35
  TIME_PRESETS,
35
36
  UNIT_CHOICES,
36
37
  addTime,
37
38
  appSchema,
38
39
  applyDashboardLink,
39
40
  applyJsonEdits,
41
+ applyTemplate,
40
42
  applyTransformations,
41
43
  assembleBundle,
42
44
  assembleFromResponse,
@@ -99,6 +101,7 @@ import {
99
101
  lineColumn,
100
102
  loadGazetteer,
101
103
  locate,
104
+ makeTemplate,
102
105
  manifestSchemaIssues,
103
106
  mappedResult,
104
107
  mappingProblem,
@@ -117,6 +120,7 @@ import {
117
120
  panelEdits,
118
121
  panelHasQueries,
119
122
  panelKey,
123
+ panelMetrics,
120
124
  panelOptions,
121
125
  panelOverrides,
122
126
  panelSize,
@@ -129,6 +133,7 @@ import {
129
133
  parseLocalDateTime,
130
134
  parseRange,
131
135
  parseSnippet,
136
+ parseTemplate,
132
137
  parseTime,
133
138
  pasteSnippet,
134
139
  placePanel,
@@ -145,6 +150,7 @@ import {
145
150
  removeDocumentFromManifest,
146
151
  removePanel,
147
152
  renameDocumentInManifest,
153
+ renameMetrics,
148
154
  renameVariableInPanels,
149
155
  repack,
150
156
  repeatOptions,
@@ -173,6 +179,7 @@ import {
173
179
  startOf,
174
180
  stringifyCompact,
175
181
  tabIdFor,
182
+ templateNeeds,
176
183
  textSuggestions,
177
184
  thresholdStep,
178
185
  timeExprError,
@@ -200,7 +207,7 @@ import {
200
207
  variableWithType,
201
208
  visibleVariables,
202
209
  zoomRange
203
- } from "./chunk-ATRMUHKJ.mjs";
210
+ } from "./chunk-5SGVTAFJ.mjs";
204
211
 
205
212
  // src/ui/theme.tsx
206
213
  import { createContext, useContext } from "react";
@@ -4011,12 +4018,14 @@ export {
4011
4018
  SNIPPET_VERSION,
4012
4019
  SPECIAL_MATCHES,
4013
4020
  SaveConflictError,
4021
+ TEMPLATE_VERSION,
4014
4022
  TIME_PRESETS,
4015
4023
  UNIT_CHOICES,
4016
4024
  addTime,
4017
4025
  appSchema,
4018
4026
  applyDashboardLink,
4019
4027
  applyJsonEdits,
4028
+ applyTemplate,
4020
4029
  applyTransformations,
4021
4030
  assembleBundle,
4022
4031
  assembleFromResponse,
@@ -4081,6 +4090,7 @@ export {
4081
4090
  lineColumn,
4082
4091
  loadGazetteer,
4083
4092
  locate,
4093
+ makeTemplate,
4084
4094
  manifestSchemaIssues,
4085
4095
  mappedResult,
4086
4096
  mappingProblem,
@@ -4099,6 +4109,7 @@ export {
4099
4109
  panelEdits,
4100
4110
  panelHasQueries,
4101
4111
  panelKey,
4112
+ panelMetrics,
4102
4113
  panelOptions,
4103
4114
  panelOverrides,
4104
4115
  panelSize,
@@ -4111,6 +4122,7 @@ export {
4111
4122
  parseLocalDateTime,
4112
4123
  parseRange,
4113
4124
  parseSnippet,
4125
+ parseTemplate,
4114
4126
  parseTime,
4115
4127
  pasteSnippet,
4116
4128
  placePanel,
@@ -4128,6 +4140,7 @@ export {
4128
4140
  removeDocumentFromManifest,
4129
4141
  removePanel,
4130
4142
  renameDocumentInManifest,
4143
+ renameMetrics,
4131
4144
  renameVariableInPanels,
4132
4145
  repack,
4133
4146
  repeatOptions,
@@ -4156,6 +4169,7 @@ export {
4156
4169
  startOf,
4157
4170
  stringifyCompact,
4158
4171
  tabIdFor,
4172
+ templateNeeds,
4159
4173
  textSuggestions,
4160
4174
  thresholdStep,
4161
4175
  timeExprError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelform/react-native",
3
- "version": "0.4.0",
3
+ "version": "0.5.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",