@modelform/react-native 0.7.0 → 0.9.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.
@@ -220,9 +220,9 @@
220
220
 
221
221
 
222
222
 
223
- var _chunkYUXA7I4Jjs = require('../chunk-YUXA7I4J.js');
224
223
 
225
224
 
225
+ var _chunkFBZDJWT2js = require('../chunk-FBZDJWT2.js');
226
226
 
227
227
 
228
228
 
@@ -443,4 +443,8 @@ var _chunkYUXA7I4Jjs = require('../chunk-YUXA7I4J.js');
443
443
 
444
444
 
445
445
 
446
- exports.ALL = _chunkYUXA7I4Jjs.ALL; exports.BUNDLE_ACCEPT = _chunkYUXA7I4Jjs.BUNDLE_ACCEPT; exports.BUNDLE_TYPE = _chunkYUXA7I4Jjs.BUNDLE_TYPE; exports.CANVAS_GAP = _chunkYUXA7I4Jjs.CANVAS_GAP; exports.CANVAS_ROW_HEADER = _chunkYUXA7I4Jjs.CANVAS_ROW_HEADER; exports.ConfigLoader = _chunkYUXA7I4Jjs.ConfigLoader; exports.DASHBOARD_DS = _chunkYUXA7I4Jjs.DASHBOARD_DS; exports.DEFAULT_GAZETTEER = _chunkYUXA7I4Jjs.DEFAULT_GAZETTEER; exports.EDITABLE_VARIABLE_TYPES = _chunkYUXA7I4Jjs.EDITABLE_VARIABLE_TYPES; exports.GRID_COLUMNS = _chunkYUXA7I4Jjs.GRID_COLUMNS; exports.GROUP_FIELD_TYPES = _chunkYUXA7I4Jjs.GROUP_FIELD_TYPES; exports.GrafanaClient = _chunkYUXA7I4Jjs.GrafanaClient; exports.GrafanaDataSource = _chunkYUXA7I4Jjs.GrafanaDataSource; exports.GrafanaError = _chunkYUXA7I4Jjs.GrafanaError; exports.HttpConfigFiles = _chunkYUXA7I4Jjs.HttpConfigFiles; exports.INPUT_GROUP = _chunkYUXA7I4Jjs.INPUT_GROUP; exports.INPUT_OPTION_KEYS = _chunkYUXA7I4Jjs.INPUT_OPTION_KEYS; exports.INPUT_TYPES = _chunkYUXA7I4Jjs.INPUT_TYPES; exports.LOCAL_DATASOURCE_TYPE = _chunkYUXA7I4Jjs.LOCAL_DATASOURCE_TYPE; exports.LocalDataSource = _chunkYUXA7I4Jjs.LocalDataSource; exports.MANIFEST_VERSION = _chunkYUXA7I4Jjs.MANIFEST_VERSION; exports.MAPPING_TYPES = _chunkYUXA7I4Jjs.MAPPING_TYPES; exports.MemoryEntryStore = _chunkYUXA7I4Jjs.MemoryEntryStore; exports.NAMED_COLORS = _chunkYUXA7I4Jjs.NAMED_COLORS; exports.OPTION_CATEGORIES = _chunkYUXA7I4Jjs.OPTION_CATEGORIES; exports.OVERRIDE_MATCHERS = _chunkYUXA7I4Jjs.OVERRIDE_MATCHERS; exports.PANEL_TYPES = _chunkYUXA7I4Jjs.PANEL_TYPES; exports.REDUCER_LABELS = _chunkYUXA7I4Jjs.REDUCER_LABELS; exports.REFRESH_CHOICES = _chunkYUXA7I4Jjs.REFRESH_CHOICES; exports.RELATIVE_RANGES = _chunkYUXA7I4Jjs.RELATIVE_RANGES; exports.SERIES_PALETTE = _chunkYUXA7I4Jjs.SERIES_PALETTE; exports.SNIPPET_VERSION = _chunkYUXA7I4Jjs.SNIPPET_VERSION; exports.SPECIAL_MATCHES = _chunkYUXA7I4Jjs.SPECIAL_MATCHES; exports.SaveConflictError = _chunkYUXA7I4Jjs.SaveConflictError; exports.TEMPLATE_VERSION = _chunkYUXA7I4Jjs.TEMPLATE_VERSION; exports.TIME_PRESETS = _chunkYUXA7I4Jjs.TIME_PRESETS; exports.UNIT_CHOICES = _chunkYUXA7I4Jjs.UNIT_CHOICES; exports.addTime = _chunkYUXA7I4Jjs.addTime; exports.appSchema = _chunkYUXA7I4Jjs.appSchema; exports.applyDashboardLink = _chunkYUXA7I4Jjs.applyDashboardLink; exports.applyJsonEdits = _chunkYUXA7I4Jjs.applyJsonEdits; exports.applyTemplate = _chunkYUXA7I4Jjs.applyTemplate; exports.applyTransformations = _chunkYUXA7I4Jjs.applyTransformations; exports.assembleBundle = _chunkYUXA7I4Jjs.assembleBundle; exports.assembleFromResponse = _chunkYUXA7I4Jjs.assembleFromResponse; exports.buildFrames = _chunkYUXA7I4Jjs.buildFrames; exports.bundleFromFiles = _chunkYUXA7I4Jjs.bundleFromFiles; exports.bundleRoot = _chunkYUXA7I4Jjs.bundleRoot; exports.calculateInterval = _chunkYUXA7I4Jjs.calculateInterval; exports.checkFiles = _chunkYUXA7I4Jjs.checkFiles; exports.cleanDashboard = _chunkYUXA7I4Jjs.cleanDashboard; exports.cleanPanelOptions = _chunkYUXA7I4Jjs.cleanPanelOptions; exports.collapseRow = _chunkYUXA7I4Jjs.collapseRow; exports.compactGrid = _chunkYUXA7I4Jjs.compactGrid; exports.copyPanels = _chunkYUXA7I4Jjs.copyPanels; exports.dashboardSchema = _chunkYUXA7I4Jjs.dashboardSchema; exports.dashboardSchemaIssues = _chunkYUXA7I4Jjs.dashboardSchemaIssues; exports.dashboardSourceIds = _chunkYUXA7I4Jjs.dashboardSourceIds; exports.defaultFetchJson = _chunkYUXA7I4Jjs.defaultFetchJson; exports.describeRange = _chunkYUXA7I4Jjs.describeRange; exports.diffJson = _chunkYUXA7I4Jjs.diffJson; exports.documentIdFor = _chunkYUXA7I4Jjs.documentIdFor; exports.documentUses = _chunkYUXA7I4Jjs.documentUses; exports.dropTarget = _chunkYUXA7I4Jjs.dropTarget; exports.duplicatePanel = _chunkYUXA7I4Jjs.duplicatePanel; exports.entriesSavedWith = _chunkYUXA7I4Jjs.entriesSavedWith; exports.entriesToItems = _chunkYUXA7I4Jjs.entriesToItems; exports.entryToInputValue = _chunkYUXA7I4Jjs.entryToInputValue; exports.expandRow = _chunkYUXA7I4Jjs.expandRow; exports.fetchBundle = _chunkYUXA7I4Jjs.fetchBundle; exports.fetchJsonWithToken = _chunkYUXA7I4Jjs.fetchJsonWithToken; exports.fieldDisplayName = _chunkYUXA7I4Jjs.fieldDisplayName; exports.fieldMatches = _chunkYUXA7I4Jjs.fieldMatches; exports.formatClock = _chunkYUXA7I4Jjs.formatClock; exports.formatDisplay = _chunkYUXA7I4Jjs.formatDisplay; exports.formatDuration = _chunkYUXA7I4Jjs.formatDuration; exports.formatJsonText = _chunkYUXA7I4Jjs.formatJsonText; exports.formatLocalDateTime = _chunkYUXA7I4Jjs.formatLocalDateTime; exports.formatValue = _chunkYUXA7I4Jjs.formatValue; exports.frameLength = _chunkYUXA7I4Jjs.frameLength; exports.framesToOptions = _chunkYUXA7I4Jjs.framesToOptions; exports.fromWire = _chunkYUXA7I4Jjs.fromWire; exports.getPath = _chunkYUXA7I4Jjs.getPath; exports.gridOffsetPx = _chunkYUXA7I4Jjs.gridOffsetPx; exports.gridUnitsToPx = _chunkYUXA7I4Jjs.gridUnitsToPx; exports.groupFields = _chunkYUXA7I4Jjs.groupFields; exports.groupProblems = _chunkYUXA7I4Jjs.groupProblems; exports.groupToEntries = _chunkYUXA7I4Jjs.groupToEntries; exports.httpFetchJson = _chunkYUXA7I4Jjs.httpFetchJson; exports.initialVariableValues = _chunkYUXA7I4Jjs.initialVariableValues; exports.inputGroups = _chunkYUXA7I4Jjs.inputGroups; exports.inputPanels = _chunkYUXA7I4Jjs.inputPanels; exports.inputProblem = _chunkYUXA7I4Jjs.inputProblem; exports.insertPanel = _chunkYUXA7I4Jjs.insertPanel; exports.interpolate = _chunkYUXA7I4Jjs.interpolate; exports.interpolateDeep = _chunkYUXA7I4Jjs.interpolateDeep; exports.isBundleResponse = _chunkYUXA7I4Jjs.isBundleResponse; exports.isEditableVariableType = _chunkYUXA7I4Jjs.isEditableVariableType; exports.isEmptyItem = _chunkYUXA7I4Jjs.isEmptyItem; exports.isFormPanelType = _chunkYUXA7I4Jjs.isFormPanelType; exports.isInputGroup = _chunkYUXA7I4Jjs.isInputGroup; exports.isInputPanel = _chunkYUXA7I4Jjs.isInputPanel; exports.isInputType = _chunkYUXA7I4Jjs.isInputType; exports.isLocalDatasource = _chunkYUXA7I4Jjs.isLocalDatasource; exports.isReducer = _chunkYUXA7I4Jjs.isReducer; exports.isRow = _chunkYUXA7I4Jjs.isRow; exports.isSqlDatasource = _chunkYUXA7I4Jjs.isSqlDatasource; exports.layoutCanvas = _chunkYUXA7I4Jjs.layoutCanvas; exports.layoutDashboard = _chunkYUXA7I4Jjs.layoutDashboard; exports.lineColumn = _chunkYUXA7I4Jjs.lineColumn; exports.loadGazetteer = _chunkYUXA7I4Jjs.loadGazetteer; exports.locate = _chunkYUXA7I4Jjs.locate; exports.makeTemplate = _chunkYUXA7I4Jjs.makeTemplate; exports.manifestSchemaIssues = _chunkYUXA7I4Jjs.manifestSchemaIssues; exports.mappedResult = _chunkYUXA7I4Jjs.mappedResult; exports.mappingProblem = _chunkYUXA7I4Jjs.mappingProblem; exports.mappingRow = _chunkYUXA7I4Jjs.mappingRow; exports.mappingRows = _chunkYUXA7I4Jjs.mappingRows; exports.metricChanges = _chunkYUXA7I4Jjs.metricChanges; exports.movePanel = _chunkYUXA7I4Jjs.movePanel; exports.newDocument = _chunkYUXA7I4Jjs.newDocument; exports.newPanel = _chunkYUXA7I4Jjs.newPanel; exports.newSaveId = _chunkYUXA7I4Jjs.newSaveId; exports.newVariable = _chunkYUXA7I4Jjs.newVariable; exports.nextPanelId = _chunkYUXA7I4Jjs.nextPanelId; exports.normalizeRef = _chunkYUXA7I4Jjs.normalizeRef; exports.numberFields = _chunkYUXA7I4Jjs.numberFields; exports.optionValue = _chunkYUXA7I4Jjs.optionValue; exports.overrideProperties = _chunkYUXA7I4Jjs.overrideProperties; exports.panelEdits = _chunkYUXA7I4Jjs.panelEdits; exports.panelHasQueries = _chunkYUXA7I4Jjs.panelHasQueries; exports.panelKey = _chunkYUXA7I4Jjs.panelKey; exports.panelMetrics = _chunkYUXA7I4Jjs.panelMetrics; exports.panelOptions = _chunkYUXA7I4Jjs.panelOptions; exports.panelOverrides = _chunkYUXA7I4Jjs.panelOverrides; exports.panelSize = _chunkYUXA7I4Jjs.panelSize; exports.panelSpan = _chunkYUXA7I4Jjs.panelSpan; exports.parseClockDigits = _chunkYUXA7I4Jjs.parseClockDigits; exports.parseDashboardLink = _chunkYUXA7I4Jjs.parseDashboardLink; exports.parseDuration = _chunkYUXA7I4Jjs.parseDuration; exports.parseGazetteer = _chunkYUXA7I4Jjs.parseGazetteer; exports.parseJsonText = _chunkYUXA7I4Jjs.parseJsonText; exports.parseLocalDateTime = _chunkYUXA7I4Jjs.parseLocalDateTime; exports.parseRange = _chunkYUXA7I4Jjs.parseRange; exports.parseSnippet = _chunkYUXA7I4Jjs.parseSnippet; exports.parseTemplate = _chunkYUXA7I4Jjs.parseTemplate; exports.parseTime = _chunkYUXA7I4Jjs.parseTime; exports.pasteSnippet = _chunkYUXA7I4Jjs.pasteSnippet; exports.placePanel = _chunkYUXA7I4Jjs.placePanel; exports.plainInputPanels = _chunkYUXA7I4Jjs.plainInputPanels; exports.pointerToPath = _chunkYUXA7I4Jjs.pointerToPath; exports.prepareDashboard = _chunkYUXA7I4Jjs.prepareDashboard; exports.previewPaste = _chunkYUXA7I4Jjs.previewPaste; exports.queryPanel = _chunkYUXA7I4Jjs.queryPanel; exports.queryParam = _chunkYUXA7I4Jjs.queryParam; exports.readConfigFiles = _chunkYUXA7I4Jjs.readConfigFiles; exports.readingOrder = _chunkYUXA7I4Jjs.readingOrder; exports.reduce = _chunkYUXA7I4Jjs.reduce; exports.refineOptions = _chunkYUXA7I4Jjs.refineOptions; exports.refreshedVariables = _chunkYUXA7I4Jjs.refreshedVariables; exports.removeDocumentFromManifest = _chunkYUXA7I4Jjs.removeDocumentFromManifest; exports.removePanel = _chunkYUXA7I4Jjs.removePanel; exports.renameDocumentInManifest = _chunkYUXA7I4Jjs.renameDocumentInManifest; exports.renameMetrics = _chunkYUXA7I4Jjs.renameMetrics; exports.renameVariableInPanels = _chunkYUXA7I4Jjs.renameVariableInPanels; exports.repack = _chunkYUXA7I4Jjs.repack; exports.repeatOptions = _chunkYUXA7I4Jjs.repeatOptions; exports.resizePanel = _chunkYUXA7I4Jjs.resizePanel; exports.resolveColor = _chunkYUXA7I4Jjs.resolveColor; exports.resolveFieldConfig = _chunkYUXA7I4Jjs.resolveFieldConfig; exports.resolveLinks = _chunkYUXA7I4Jjs.resolveLinks; exports.resolveTimezone = _chunkYUXA7I4Jjs.resolveTimezone; exports.resolveUrl = _chunkYUXA7I4Jjs.resolveUrl; exports.resolveVariables = _chunkYUXA7I4Jjs.resolveVariables; exports.revalidateBundle = _chunkYUXA7I4Jjs.revalidateBundle; exports.rowsToMappings = _chunkYUXA7I4Jjs.rowsToMappings; exports.sameSave = _chunkYUXA7I4Jjs.sameSave; exports.sampleEntries = _chunkYUXA7I4Jjs.sampleEntries; exports.screenDocuments = _chunkYUXA7I4Jjs.screenDocuments; exports.screenOfType = _chunkYUXA7I4Jjs.screenOfType; exports.selectValue = _chunkYUXA7I4Jjs.selectValue; exports.seriesColor = _chunkYUXA7I4Jjs.seriesColor; exports.setHiddenOnPhones = _chunkYUXA7I4Jjs.setHiddenOnPhones; exports.setJsonValue = _chunkYUXA7I4Jjs.setJsonValue; exports.setOption = _chunkYUXA7I4Jjs.setOption; exports.setOptionValue = _chunkYUXA7I4Jjs.setOptionValue; exports.setOverrides = _chunkYUXA7I4Jjs.setOverrides; exports.settleLayout = _chunkYUXA7I4Jjs.settleLayout; exports.snapToGrid = _chunkYUXA7I4Jjs.snapToGrid; exports.splitPath = _chunkYUXA7I4Jjs.splitPath; exports.startOf = _chunkYUXA7I4Jjs.startOf; exports.stringifyCompact = _chunkYUXA7I4Jjs.stringifyCompact; exports.tabIdFor = _chunkYUXA7I4Jjs.tabIdFor; exports.templateNeeds = _chunkYUXA7I4Jjs.templateNeeds; exports.textSuggestions = _chunkYUXA7I4Jjs.textSuggestions; exports.thresholdStep = _chunkYUXA7I4Jjs.thresholdStep; exports.timeExprError = _chunkYUXA7I4Jjs.timeExprError; exports.timeField = _chunkYUXA7I4Jjs.timeField; exports.toEntries = _chunkYUXA7I4Jjs.toEntries; exports.toMillis = _chunkYUXA7I4Jjs.toMillis; exports.toSeries = _chunkYUXA7I4Jjs.toSeries; exports.toXYSeries = _chunkYUXA7I4Jjs.toXYSeries; exports.uniqueNames = _chunkYUXA7I4Jjs.uniqueNames; exports.validateBundle = _chunkYUXA7I4Jjs.validateBundle; exports.validateDashboard = _chunkYUXA7I4Jjs.validateDashboard; exports.validateManifest = _chunkYUXA7I4Jjs.validateManifest; exports.valueColor = _chunkYUXA7I4Jjs.valueColor; exports.valueText = _chunkYUXA7I4Jjs.valueText; exports.variableDependents = _chunkYUXA7I4Jjs.variableDependents; exports.variableInfo = _chunkYUXA7I4Jjs.variableInfo; exports.variableNameError = _chunkYUXA7I4Jjs.variableNameError; exports.variableOptions = _chunkYUXA7I4Jjs.variableOptions; exports.variableOrder = _chunkYUXA7I4Jjs.variableOrder; exports.variableReferences = _chunkYUXA7I4Jjs.variableReferences; exports.variableUses = _chunkYUXA7I4Jjs.variableUses; exports.variableWithCurrent = _chunkYUXA7I4Jjs.variableWithCurrent; exports.variableWithFlags = _chunkYUXA7I4Jjs.variableWithFlags; exports.variableWithQuery = _chunkYUXA7I4Jjs.variableWithQuery; exports.variableWithType = _chunkYUXA7I4Jjs.variableWithType; exports.visibleVariables = _chunkYUXA7I4Jjs.visibleVariables; exports.zoomRange = _chunkYUXA7I4Jjs.zoomRange;
446
+
447
+
448
+
449
+
450
+ exports.ALL = _chunkFBZDJWT2js.ALL; exports.BUNDLE_ACCEPT = _chunkFBZDJWT2js.BUNDLE_ACCEPT; exports.BUNDLE_TYPE = _chunkFBZDJWT2js.BUNDLE_TYPE; exports.CANVAS_GAP = _chunkFBZDJWT2js.CANVAS_GAP; exports.CANVAS_ROW_HEADER = _chunkFBZDJWT2js.CANVAS_ROW_HEADER; exports.ConfigLoader = _chunkFBZDJWT2js.ConfigLoader; exports.DASHBOARD_DS = _chunkFBZDJWT2js.DASHBOARD_DS; exports.DEFAULT_GAZETTEER = _chunkFBZDJWT2js.DEFAULT_GAZETTEER; exports.EDITABLE_VARIABLE_TYPES = _chunkFBZDJWT2js.EDITABLE_VARIABLE_TYPES; exports.GRID_COLUMNS = _chunkFBZDJWT2js.GRID_COLUMNS; exports.GROUP_FIELD_TYPES = _chunkFBZDJWT2js.GROUP_FIELD_TYPES; exports.GrafanaClient = _chunkFBZDJWT2js.GrafanaClient; exports.GrafanaDataSource = _chunkFBZDJWT2js.GrafanaDataSource; exports.GrafanaError = _chunkFBZDJWT2js.GrafanaError; exports.HttpConfigFiles = _chunkFBZDJWT2js.HttpConfigFiles; exports.INPUT_GROUP = _chunkFBZDJWT2js.INPUT_GROUP; exports.INPUT_OPTION_KEYS = _chunkFBZDJWT2js.INPUT_OPTION_KEYS; exports.INPUT_TYPES = _chunkFBZDJWT2js.INPUT_TYPES; exports.LOCAL_DATASOURCE_TYPE = _chunkFBZDJWT2js.LOCAL_DATASOURCE_TYPE; exports.LocalDataSource = _chunkFBZDJWT2js.LocalDataSource; exports.MANIFEST_VERSION = _chunkFBZDJWT2js.MANIFEST_VERSION; exports.MAPPING_TYPES = _chunkFBZDJWT2js.MAPPING_TYPES; exports.MemoryEntryStore = _chunkFBZDJWT2js.MemoryEntryStore; exports.NAMED_COLORS = _chunkFBZDJWT2js.NAMED_COLORS; exports.OPTION_CATEGORIES = _chunkFBZDJWT2js.OPTION_CATEGORIES; exports.OVERRIDE_MATCHERS = _chunkFBZDJWT2js.OVERRIDE_MATCHERS; exports.PANEL_TYPES = _chunkFBZDJWT2js.PANEL_TYPES; exports.REDUCER_LABELS = _chunkFBZDJWT2js.REDUCER_LABELS; exports.REFRESH_CHOICES = _chunkFBZDJWT2js.REFRESH_CHOICES; exports.RELATIVE_RANGES = _chunkFBZDJWT2js.RELATIVE_RANGES; exports.SERIES_PALETTE = _chunkFBZDJWT2js.SERIES_PALETTE; exports.SNIPPET_VERSION = _chunkFBZDJWT2js.SNIPPET_VERSION; exports.SPECIAL_MATCHES = _chunkFBZDJWT2js.SPECIAL_MATCHES; exports.SaveConflictError = _chunkFBZDJWT2js.SaveConflictError; exports.TEMPLATE_VERSION = _chunkFBZDJWT2js.TEMPLATE_VERSION; exports.TIME_PRESETS = _chunkFBZDJWT2js.TIME_PRESETS; exports.UNIT_CHOICES = _chunkFBZDJWT2js.UNIT_CHOICES; exports.addTime = _chunkFBZDJWT2js.addTime; exports.appSchema = _chunkFBZDJWT2js.appSchema; exports.applyDashboardLink = _chunkFBZDJWT2js.applyDashboardLink; exports.applyJsonEdits = _chunkFBZDJWT2js.applyJsonEdits; exports.applyTemplate = _chunkFBZDJWT2js.applyTemplate; exports.applyTransformations = _chunkFBZDJWT2js.applyTransformations; exports.assembleBundle = _chunkFBZDJWT2js.assembleBundle; exports.assembleFromResponse = _chunkFBZDJWT2js.assembleFromResponse; exports.buildFrames = _chunkFBZDJWT2js.buildFrames; exports.bundleFromFiles = _chunkFBZDJWT2js.bundleFromFiles; exports.bundleRoot = _chunkFBZDJWT2js.bundleRoot; exports.calculateInterval = _chunkFBZDJWT2js.calculateInterval; exports.checkFiles = _chunkFBZDJWT2js.checkFiles; exports.cleanDashboard = _chunkFBZDJWT2js.cleanDashboard; exports.cleanPanelOptions = _chunkFBZDJWT2js.cleanPanelOptions; exports.collapseRow = _chunkFBZDJWT2js.collapseRow; exports.compactGrid = _chunkFBZDJWT2js.compactGrid; exports.copyPanels = _chunkFBZDJWT2js.copyPanels; exports.dashboardSchema = _chunkFBZDJWT2js.dashboardSchema; exports.dashboardSchemaIssues = _chunkFBZDJWT2js.dashboardSchemaIssues; exports.dashboardSourceIds = _chunkFBZDJWT2js.dashboardSourceIds; exports.defaultFetchJson = _chunkFBZDJWT2js.defaultFetchJson; exports.describeRange = _chunkFBZDJWT2js.describeRange; exports.diffJson = _chunkFBZDJWT2js.diffJson; exports.documentIdFor = _chunkFBZDJWT2js.documentIdFor; exports.documentKind = _chunkFBZDJWT2js.documentKind; exports.documentUses = _chunkFBZDJWT2js.documentUses; exports.dropTarget = _chunkFBZDJWT2js.dropTarget; exports.duplicatePanel = _chunkFBZDJWT2js.duplicatePanel; exports.entriesSavedWith = _chunkFBZDJWT2js.entriesSavedWith; exports.entriesToItems = _chunkFBZDJWT2js.entriesToItems; exports.entryToInputValue = _chunkFBZDJWT2js.entryToInputValue; exports.expandRow = _chunkFBZDJWT2js.expandRow; exports.fetchBundle = _chunkFBZDJWT2js.fetchBundle; exports.fetchJsonWithToken = _chunkFBZDJWT2js.fetchJsonWithToken; exports.fieldDisplayName = _chunkFBZDJWT2js.fieldDisplayName; exports.fieldMatches = _chunkFBZDJWT2js.fieldMatches; exports.formatClock = _chunkFBZDJWT2js.formatClock; exports.formatDisplay = _chunkFBZDJWT2js.formatDisplay; exports.formatDuration = _chunkFBZDJWT2js.formatDuration; exports.formatJsonText = _chunkFBZDJWT2js.formatJsonText; exports.formatLocalDateTime = _chunkFBZDJWT2js.formatLocalDateTime; exports.formatValue = _chunkFBZDJWT2js.formatValue; exports.frameLength = _chunkFBZDJWT2js.frameLength; exports.framesToOptions = _chunkFBZDJWT2js.framesToOptions; exports.fromWire = _chunkFBZDJWT2js.fromWire; exports.getPath = _chunkFBZDJWT2js.getPath; exports.gridOffsetPx = _chunkFBZDJWT2js.gridOffsetPx; exports.gridUnitsToPx = _chunkFBZDJWT2js.gridUnitsToPx; exports.groupField = _chunkFBZDJWT2js.groupField; exports.groupFields = _chunkFBZDJWT2js.groupFields; exports.groupProblems = _chunkFBZDJWT2js.groupProblems; exports.groupToEntries = _chunkFBZDJWT2js.groupToEntries; exports.httpFetchJson = _chunkFBZDJWT2js.httpFetchJson; exports.initialVariableValues = _chunkFBZDJWT2js.initialVariableValues; exports.inputGroups = _chunkFBZDJWT2js.inputGroups; exports.inputPanels = _chunkFBZDJWT2js.inputPanels; exports.inputProblem = _chunkFBZDJWT2js.inputProblem; exports.insertPanel = _chunkFBZDJWT2js.insertPanel; exports.interpolate = _chunkFBZDJWT2js.interpolate; exports.interpolateDeep = _chunkFBZDJWT2js.interpolateDeep; exports.isBundleResponse = _chunkFBZDJWT2js.isBundleResponse; exports.isEditableVariableType = _chunkFBZDJWT2js.isEditableVariableType; exports.isEmptyItem = _chunkFBZDJWT2js.isEmptyItem; exports.isFormPanelType = _chunkFBZDJWT2js.isFormPanelType; exports.isInputGroup = _chunkFBZDJWT2js.isInputGroup; exports.isInputPanel = _chunkFBZDJWT2js.isInputPanel; exports.isInputType = _chunkFBZDJWT2js.isInputType; exports.isLocalDatasource = _chunkFBZDJWT2js.isLocalDatasource; exports.isReducer = _chunkFBZDJWT2js.isReducer; exports.isRow = _chunkFBZDJWT2js.isRow; exports.isSqlDatasource = _chunkFBZDJWT2js.isSqlDatasource; exports.layoutCanvas = _chunkFBZDJWT2js.layoutCanvas; exports.layoutDashboard = _chunkFBZDJWT2js.layoutDashboard; exports.lineColumn = _chunkFBZDJWT2js.lineColumn; exports.loadGazetteer = _chunkFBZDJWT2js.loadGazetteer; exports.locate = _chunkFBZDJWT2js.locate; exports.makeTemplate = _chunkFBZDJWT2js.makeTemplate; exports.manifestSchemaIssues = _chunkFBZDJWT2js.manifestSchemaIssues; exports.mappedResult = _chunkFBZDJWT2js.mappedResult; exports.mappingProblem = _chunkFBZDJWT2js.mappingProblem; exports.mappingRow = _chunkFBZDJWT2js.mappingRow; exports.mappingRows = _chunkFBZDJWT2js.mappingRows; exports.metricChanges = _chunkFBZDJWT2js.metricChanges; exports.movePanel = _chunkFBZDJWT2js.movePanel; exports.newDocument = _chunkFBZDJWT2js.newDocument; exports.newPanel = _chunkFBZDJWT2js.newPanel; exports.newSaveId = _chunkFBZDJWT2js.newSaveId; exports.newVariable = _chunkFBZDJWT2js.newVariable; exports.nextPanelId = _chunkFBZDJWT2js.nextPanelId; exports.normalizeRef = _chunkFBZDJWT2js.normalizeRef; exports.numberFields = _chunkFBZDJWT2js.numberFields; exports.optionValue = _chunkFBZDJWT2js.optionValue; exports.overrideProperties = _chunkFBZDJWT2js.overrideProperties; exports.panelEdits = _chunkFBZDJWT2js.panelEdits; exports.panelHasQueries = _chunkFBZDJWT2js.panelHasQueries; exports.panelKey = _chunkFBZDJWT2js.panelKey; exports.panelMetrics = _chunkFBZDJWT2js.panelMetrics; exports.panelOptions = _chunkFBZDJWT2js.panelOptions; exports.panelOverrides = _chunkFBZDJWT2js.panelOverrides; exports.panelSize = _chunkFBZDJWT2js.panelSize; exports.panelSpan = _chunkFBZDJWT2js.panelSpan; exports.parseClockDigits = _chunkFBZDJWT2js.parseClockDigits; exports.parseDashboardLink = _chunkFBZDJWT2js.parseDashboardLink; exports.parseDuration = _chunkFBZDJWT2js.parseDuration; exports.parseGazetteer = _chunkFBZDJWT2js.parseGazetteer; exports.parseJsonText = _chunkFBZDJWT2js.parseJsonText; exports.parseLocalDateTime = _chunkFBZDJWT2js.parseLocalDateTime; exports.parseRange = _chunkFBZDJWT2js.parseRange; exports.parseSnippet = _chunkFBZDJWT2js.parseSnippet; exports.parseTemplate = _chunkFBZDJWT2js.parseTemplate; exports.parseTime = _chunkFBZDJWT2js.parseTime; exports.pasteSnippet = _chunkFBZDJWT2js.pasteSnippet; exports.placePanel = _chunkFBZDJWT2js.placePanel; exports.plainInputPanels = _chunkFBZDJWT2js.plainInputPanels; exports.pointerToPath = _chunkFBZDJWT2js.pointerToPath; exports.prepareDashboard = _chunkFBZDJWT2js.prepareDashboard; exports.previewPaste = _chunkFBZDJWT2js.previewPaste; exports.queryPanel = _chunkFBZDJWT2js.queryPanel; exports.queryParam = _chunkFBZDJWT2js.queryParam; exports.readConfigFiles = _chunkFBZDJWT2js.readConfigFiles; exports.readingOrder = _chunkFBZDJWT2js.readingOrder; exports.reduce = _chunkFBZDJWT2js.reduce; exports.refineOptions = _chunkFBZDJWT2js.refineOptions; exports.refreshedVariables = _chunkFBZDJWT2js.refreshedVariables; exports.removeDocumentFromManifest = _chunkFBZDJWT2js.removeDocumentFromManifest; exports.removePanel = _chunkFBZDJWT2js.removePanel; exports.renameDocumentInManifest = _chunkFBZDJWT2js.renameDocumentInManifest; exports.renameMetrics = _chunkFBZDJWT2js.renameMetrics; exports.renameVariableInPanels = _chunkFBZDJWT2js.renameVariableInPanels; exports.repack = _chunkFBZDJWT2js.repack; exports.repeatOptions = _chunkFBZDJWT2js.repeatOptions; exports.resizePanel = _chunkFBZDJWT2js.resizePanel; exports.resolveColor = _chunkFBZDJWT2js.resolveColor; exports.resolveFieldConfig = _chunkFBZDJWT2js.resolveFieldConfig; exports.resolveLinks = _chunkFBZDJWT2js.resolveLinks; exports.resolveTimezone = _chunkFBZDJWT2js.resolveTimezone; exports.resolveUrl = _chunkFBZDJWT2js.resolveUrl; exports.resolveVariables = _chunkFBZDJWT2js.resolveVariables; exports.revalidateBundle = _chunkFBZDJWT2js.revalidateBundle; exports.rowsToMappings = _chunkFBZDJWT2js.rowsToMappings; exports.sameSave = _chunkFBZDJWT2js.sameSave; exports.sampleEntries = _chunkFBZDJWT2js.sampleEntries; exports.screenDocuments = _chunkFBZDJWT2js.screenDocuments; exports.screenOfType = _chunkFBZDJWT2js.screenOfType; exports.selectValue = _chunkFBZDJWT2js.selectValue; exports.seriesColor = _chunkFBZDJWT2js.seriesColor; exports.setHiddenOnPhones = _chunkFBZDJWT2js.setHiddenOnPhones; exports.setJsonValue = _chunkFBZDJWT2js.setJsonValue; exports.setOption = _chunkFBZDJWT2js.setOption; exports.setOptionValue = _chunkFBZDJWT2js.setOptionValue; exports.setOverrides = _chunkFBZDJWT2js.setOverrides; exports.settleLayout = _chunkFBZDJWT2js.settleLayout; exports.snapToGrid = _chunkFBZDJWT2js.snapToGrid; exports.splitPath = _chunkFBZDJWT2js.splitPath; exports.startOf = _chunkFBZDJWT2js.startOf; exports.stringifyCompact = _chunkFBZDJWT2js.stringifyCompact; exports.tabIdFor = _chunkFBZDJWT2js.tabIdFor; exports.templateNeeds = _chunkFBZDJWT2js.templateNeeds; exports.textSuggestions = _chunkFBZDJWT2js.textSuggestions; exports.thresholdStep = _chunkFBZDJWT2js.thresholdStep; exports.timeExprError = _chunkFBZDJWT2js.timeExprError; exports.timeField = _chunkFBZDJWT2js.timeField; exports.toEntries = _chunkFBZDJWT2js.toEntries; exports.toMillis = _chunkFBZDJWT2js.toMillis; exports.toSeries = _chunkFBZDJWT2js.toSeries; exports.toXYSeries = _chunkFBZDJWT2js.toXYSeries; exports.uniqueNames = _chunkFBZDJWT2js.uniqueNames; exports.validateBundle = _chunkFBZDJWT2js.validateBundle; exports.validateDashboard = _chunkFBZDJWT2js.validateDashboard; exports.validateManifest = _chunkFBZDJWT2js.validateManifest; exports.valueColor = _chunkFBZDJWT2js.valueColor; exports.valueText = _chunkFBZDJWT2js.valueText; exports.variableDependents = _chunkFBZDJWT2js.variableDependents; exports.variableInfo = _chunkFBZDJWT2js.variableInfo; exports.variableNameError = _chunkFBZDJWT2js.variableNameError; exports.variableOptions = _chunkFBZDJWT2js.variableOptions; exports.variableOrder = _chunkFBZDJWT2js.variableOrder; exports.variableReferences = _chunkFBZDJWT2js.variableReferences; exports.variableUses = _chunkFBZDJWT2js.variableUses; exports.variableWithCurrent = _chunkFBZDJWT2js.variableWithCurrent; exports.variableWithFlags = _chunkFBZDJWT2js.variableWithFlags; exports.variableWithQuery = _chunkFBZDJWT2js.variableWithQuery; exports.variableWithType = _chunkFBZDJWT2js.variableWithType; exports.visibleVariables = _chunkFBZDJWT2js.visibleVariables; exports.zoomRange = _chunkFBZDJWT2js.zoomRange;
@@ -61,6 +61,7 @@ import {
61
61
  describeRange,
62
62
  diffJson,
63
63
  documentIdFor,
64
+ documentKind,
64
65
  documentUses,
65
66
  dropTarget,
66
67
  duplicatePanel,
@@ -84,6 +85,7 @@ import {
84
85
  getPath,
85
86
  gridOffsetPx,
86
87
  gridUnitsToPx,
88
+ groupField,
87
89
  groupFields,
88
90
  groupProblems,
89
91
  groupToEntries,
@@ -220,7 +222,7 @@ import {
220
222
  variableWithType,
221
223
  visibleVariables,
222
224
  zoomRange
223
- } from "../chunk-BW6HKFAB.mjs";
225
+ } from "../chunk-KOCUG6GH.mjs";
224
226
  export {
225
227
  ALL,
226
228
  BUNDLE_ACCEPT,
@@ -284,6 +286,7 @@ export {
284
286
  describeRange,
285
287
  diffJson,
286
288
  documentIdFor,
289
+ documentKind,
287
290
  documentUses,
288
291
  dropTarget,
289
292
  duplicatePanel,
@@ -307,6 +310,7 @@ export {
307
310
  getPath,
308
311
  gridOffsetPx,
309
312
  gridUnitsToPx,
313
+ groupField,
310
314
  groupFields,
311
315
  groupProblems,
312
316
  groupToEntries,
@@ -1,4 +1,4 @@
1
- import type { Dashboard, Panel } from './schema';
1
+ import type { Dashboard, DocumentKind, Panel } from './schema';
2
2
  /**
3
3
  * Input forms reuse the dashboard format: a form is a dashboard whose panels have
4
4
  * `input-*` types. Layout, rows and gridPos work exactly like visualization panels,
@@ -107,6 +107,11 @@ export declare const GROUP_FIELD_TYPES: ("input-number" | "input-slider" | "inpu
107
107
  export declare function groupFields(group: InputGroupPanel): InputPanel[];
108
108
  /** Every input that records, groups' fields included. */
109
109
  export declare function inputPanels(dashboard: Dashboard): InputPanel[];
110
+ /**
111
+ * Whether a document is a form or a dashboard: its `kind` when it states one, otherwise a form
112
+ * if it has inputs. Prefer stating `kind`: a guess changes when a form's last input is removed.
113
+ */
114
+ export declare function documentKind(dashboard: Partial<Dashboard>): DocumentKind;
110
115
  /** The form's input-group panels. */
111
116
  export declare function inputGroups(dashboard: Dashboard): InputGroupPanel[];
112
117
  /** Inputs outside groups. */
@@ -9,6 +9,9 @@ import type { DataSourceRef, Target } from './schema';
9
9
  * { "refId": "A", "metric": "weight" } raw points
10
10
  * { "refId": "A", "metric": "water", "aggregate": "sum", "bucket": "1d" } daily totals
11
11
  * { "refId": "A", "metric": "mood", "aggregate": "count", "groupBy": "text" } one series per choice
12
+ * { "refId": "A", "metric": "sets-weight", "aggregate": "max", "bucket": "1w",
13
+ * "groupBy": { "field": "sets-exercise" } } one series per exercise
14
+ * { "refId": "A", "metric": "meal-calories", "aggregate": "sum", "bucket": "save" } one point per save
12
15
  */
13
16
  export declare const LOCAL_DATASOURCE_TYPE = "modelform-local";
14
17
  /** Whether a panel or target's datasource is the local one, under its current name or its old one. */
@@ -34,10 +37,19 @@ export type Aggregate = 'none' | 'sum' | 'avg' | 'min' | 'max' | 'count' | 'last
34
37
  export interface LocalTarget extends Target {
35
38
  metric: string;
36
39
  aggregate?: Aggregate;
37
- /** Bucket size such as "1h", "1d", "1w", "1M", or "auto" to follow the panel's interval. */
40
+ /**
41
+ * Bucket size such as "1h", "1d", "1w", "1M", or "auto" to follow the panel's interval;
42
+ * or "save" for one point per Save (the calories of each meal rather than of each day).
43
+ */
38
44
  bucket?: string;
39
- /** "text" splits into one series per distinct text value (e.g. select choices). */
40
- groupBy?: 'text';
45
+ /**
46
+ * "text" splits into one series per distinct text value (e.g. select choices).
47
+ * `{ field }` splits by another input's value recorded in the same Save and, inside an
48
+ * input-group, the same item: the weight of each set by its exercise.
49
+ */
50
+ groupBy?: 'text' | {
51
+ field: string;
52
+ };
41
53
  /** Fill empty buckets with 0. Defaults to true for sum/count. */
42
54
  fillZero?: boolean;
43
55
  /**
@@ -62,7 +74,11 @@ export declare class LocalDataSource implements DataSource {
62
74
  constructor(store: EntryStore, options?: LocalDataSourceOptions);
63
75
  query(request: QueryRequest): Promise<DataFrame[]>;
64
76
  }
65
- export declare function buildFrames(target: LocalTarget, entries: Entry[], request: Pick<QueryRequest, 'range' | 'intervalMs'>, label?: LocalDataSourceOptions['label']): DataFrame[];
77
+ /** The metric a target splits its series by, for `groupBy: { field }`. */
78
+ export declare function groupField(target: LocalTarget): string | undefined;
79
+ export declare function buildFrames(target: LocalTarget, entries: Entry[], request: Pick<QueryRequest, 'range' | 'intervalMs'>, label?: LocalDataSourceOptions['label'],
80
+ /** For `groupBy: { field }`: that field's entries, whose values name the series. */
81
+ siblings?: Entry[]): DataFrame[];
66
82
  /** In-memory EntryStore for tests, previews and web. */
67
83
  export declare class MemoryEntryStore implements EntryStore {
68
84
  private entries;
@@ -89,7 +89,10 @@ export declare function prepareDashboard(json: unknown, file: string): {
89
89
  };
90
90
  /** The issues `prepareDashboard` would find. */
91
91
  export declare function validateDashboard(json: unknown, file: string): ConfigIssue[];
92
- /** Cross-checks a loaded bundle: screens must point at documents that exist, and forms must have inputs. */
92
+ /**
93
+ * Cross-checks a loaded bundle: screens must point at documents that exist, forms must have inputs,
94
+ * and a document that states its kind is shown as that kind.
95
+ */
93
96
  export declare function validateBundle(bundle: ConfigBundle, file?: string): ConfigIssue[];
94
97
  /**
95
98
  * Resolves `rel` against the URL of the file that referenced it. Hand-rolled because
@@ -3,11 +3,18 @@
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 two extensions, both of which Grafana ignores:
6
+ * modelform adds three extensions, all of which Grafana ignores:
7
+ * - `kind` to say whether the document is a form or a dashboard
7
8
  * - `panel.mobile` to tune phone layout per panel
8
9
  * - `input-*` panel types for data entry forms (see inputs.ts)
9
10
  */
11
+ export type DocumentKind = 'form' | 'dashboard';
10
12
  export interface Dashboard {
13
+ /**
14
+ * Whether this document is a form (for recording entries) or a dashboard (for showing them).
15
+ * Without it, a document with input-* panels counts as a form. See documentKind().
16
+ */
17
+ kind?: DocumentKind;
11
18
  uid?: string;
12
19
  title: string;
13
20
  description?: string;