@modelform/react-native 0.3.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
@@ -28,14 +28,17 @@ import {
28
28
  REFRESH_CHOICES,
29
29
  RELATIVE_RANGES,
30
30
  SERIES_PALETTE,
31
+ SNIPPET_VERSION,
31
32
  SPECIAL_MATCHES,
32
33
  SaveConflictError,
34
+ TEMPLATE_VERSION,
33
35
  TIME_PRESETS,
34
36
  UNIT_CHOICES,
35
37
  addTime,
36
38
  appSchema,
37
39
  applyDashboardLink,
38
40
  applyJsonEdits,
41
+ applyTemplate,
39
42
  applyTransformations,
40
43
  assembleBundle,
41
44
  assembleFromResponse,
@@ -48,6 +51,7 @@ import {
48
51
  cleanPanelOptions,
49
52
  collapseRow,
50
53
  compactGrid,
54
+ copyPanels,
51
55
  dashboardSchema,
52
56
  dashboardSchemaIssues,
53
57
  dashboardSourceIds,
@@ -97,6 +101,7 @@ import {
97
101
  lineColumn,
98
102
  loadGazetteer,
99
103
  locate,
104
+ makeTemplate,
100
105
  manifestSchemaIssues,
101
106
  mappedResult,
102
107
  mappingProblem,
@@ -115,6 +120,7 @@ import {
115
120
  panelEdits,
116
121
  panelHasQueries,
117
122
  panelKey,
123
+ panelMetrics,
118
124
  panelOptions,
119
125
  panelOverrides,
120
126
  panelSize,
@@ -126,10 +132,14 @@ import {
126
132
  parseJsonText,
127
133
  parseLocalDateTime,
128
134
  parseRange,
135
+ parseSnippet,
136
+ parseTemplate,
129
137
  parseTime,
138
+ pasteSnippet,
130
139
  placePanel,
131
140
  pointerToPath,
132
141
  prepareDashboard,
142
+ previewPaste,
133
143
  queryPanel,
134
144
  queryParam,
135
145
  readConfigFiles,
@@ -140,6 +150,7 @@ import {
140
150
  removeDocumentFromManifest,
141
151
  removePanel,
142
152
  renameDocumentInManifest,
153
+ renameMetrics,
143
154
  renameVariableInPanels,
144
155
  repack,
145
156
  repeatOptions,
@@ -168,6 +179,7 @@ import {
168
179
  startOf,
169
180
  stringifyCompact,
170
181
  tabIdFor,
182
+ templateNeeds,
171
183
  textSuggestions,
172
184
  thresholdStep,
173
185
  timeExprError,
@@ -195,7 +207,7 @@ import {
195
207
  variableWithType,
196
208
  visibleVariables,
197
209
  zoomRange
198
- } from "./chunk-PU7RRUV4.mjs";
210
+ } from "./chunk-5SGVTAFJ.mjs";
199
211
 
200
212
  // src/ui/theme.tsx
201
213
  import { createContext, useContext } from "react";
@@ -4003,14 +4015,17 @@ export {
4003
4015
  RELATIVE_RANGES,
4004
4016
  RenderBoundary,
4005
4017
  SERIES_PALETTE,
4018
+ SNIPPET_VERSION,
4006
4019
  SPECIAL_MATCHES,
4007
4020
  SaveConflictError,
4021
+ TEMPLATE_VERSION,
4008
4022
  TIME_PRESETS,
4009
4023
  UNIT_CHOICES,
4010
4024
  addTime,
4011
4025
  appSchema,
4012
4026
  applyDashboardLink,
4013
4027
  applyJsonEdits,
4028
+ applyTemplate,
4014
4029
  applyTransformations,
4015
4030
  assembleBundle,
4016
4031
  assembleFromResponse,
@@ -4023,6 +4038,7 @@ export {
4023
4038
  cleanPanelOptions,
4024
4039
  collapseRow,
4025
4040
  compactGrid,
4041
+ copyPanels,
4026
4042
  darkTheme,
4027
4043
  dashboardSchema,
4028
4044
  dashboardSchemaIssues,
@@ -4074,6 +4090,7 @@ export {
4074
4090
  lineColumn,
4075
4091
  loadGazetteer,
4076
4092
  locate,
4093
+ makeTemplate,
4077
4094
  manifestSchemaIssues,
4078
4095
  mappedResult,
4079
4096
  mappingProblem,
@@ -4092,6 +4109,7 @@ export {
4092
4109
  panelEdits,
4093
4110
  panelHasQueries,
4094
4111
  panelKey,
4112
+ panelMetrics,
4095
4113
  panelOptions,
4096
4114
  panelOverrides,
4097
4115
  panelSize,
@@ -4103,10 +4121,14 @@ export {
4103
4121
  parseJsonText,
4104
4122
  parseLocalDateTime,
4105
4123
  parseRange,
4124
+ parseSnippet,
4125
+ parseTemplate,
4106
4126
  parseTime,
4127
+ pasteSnippet,
4107
4128
  placePanel,
4108
4129
  pointerToPath,
4109
4130
  prepareDashboard,
4131
+ previewPaste,
4110
4132
  queryPanel,
4111
4133
  queryParam,
4112
4134
  readConfigFiles,
@@ -4118,6 +4140,7 @@ export {
4118
4140
  removeDocumentFromManifest,
4119
4141
  removePanel,
4120
4142
  renameDocumentInManifest,
4143
+ renameMetrics,
4121
4144
  renameVariableInPanels,
4122
4145
  repack,
4123
4146
  repeatOptions,
@@ -4146,6 +4169,7 @@ export {
4146
4169
  startOf,
4147
4170
  stringifyCompact,
4148
4171
  tabIdFor,
4172
+ templateNeeds,
4149
4173
  textSuggestions,
4150
4174
  thresholdStep,
4151
4175
  timeExprError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelform/react-native",
3
- "version": "0.3.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",