@gooddata/sdk-ui-metric-component 0.0.0-stage → 11.65.0-alpha.4
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/LICENSE +29 -0
- package/NOTICE +71721 -0
- package/README.md +13 -2
- package/esm/MaqlEditor/components/ExpandableTooltip.d.ts +50 -0
- package/esm/MaqlEditor/components/ExpandableTooltip.d.ts.map +1 -0
- package/esm/MaqlEditor/components/ExpandableTooltip.js +150 -0
- package/esm/MaqlEditor/components/ExpandableTooltipContext.d.ts +10 -0
- package/esm/MaqlEditor/components/ExpandableTooltipContext.d.ts.map +1 -0
- package/esm/MaqlEditor/components/ExpandableTooltipContext.js +17 -0
- package/esm/MaqlEditor/components/hooks/useExpandableTooltip.d.ts +3 -0
- package/esm/MaqlEditor/components/hooks/useExpandableTooltip.d.ts.map +1 -0
- package/esm/MaqlEditor/components/hooks/useExpandableTooltip.js +10 -0
- package/esm/MaqlEditor/components/hooks/useOutsideEvents.d.ts +10 -0
- package/esm/MaqlEditor/components/hooks/useOutsideEvents.d.ts.map +1 -0
- package/esm/MaqlEditor/components/hooks/useOutsideEvents.js +43 -0
- package/esm/MaqlEditor/components/hooks/useRePosition.d.ts +20 -0
- package/esm/MaqlEditor/components/hooks/useRePosition.d.ts.map +1 -0
- package/esm/MaqlEditor/components/hooks/useRePosition.js +108 -0
- package/esm/MaqlEditor/components/hooks/utils.d.ts +4 -0
- package/esm/MaqlEditor/components/hooks/utils.d.ts.map +1 -0
- package/esm/MaqlEditor/components/hooks/utils.js +18 -0
- package/esm/MaqlEditor/hooks/useAutoformat.d.ts +3 -0
- package/esm/MaqlEditor/hooks/useAutoformat.d.ts.map +1 -0
- package/esm/MaqlEditor/hooks/useAutoformat.js +15 -0
- package/esm/MaqlEditor/hooks/useCleanCallback.d.ts +4 -0
- package/esm/MaqlEditor/hooks/useCleanCallback.d.ts.map +1 -0
- package/esm/MaqlEditor/hooks/useCleanCallback.js +12 -0
- package/esm/MaqlEditor/hooks/useCodeTheme.d.ts +3 -0
- package/esm/MaqlEditor/hooks/useCodeTheme.d.ts.map +1 -0
- package/esm/MaqlEditor/hooks/useCodeTheme.js +48 -0
- package/esm/MaqlEditor/hooks/useCopyToClipboard.d.ts +3 -0
- package/esm/MaqlEditor/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/esm/MaqlEditor/hooks/useCopyToClipboard.js +16 -0
- package/esm/MaqlEditor/hooks/useMountCallback.d.ts +13 -0
- package/esm/MaqlEditor/hooks/useMountCallback.d.ts.map +1 -0
- package/esm/MaqlEditor/hooks/useMountCallback.js +26 -0
- package/esm/MaqlEditor/hooks/useUpdateCallback.d.ts +19 -0
- package/esm/MaqlEditor/hooks/useUpdateCallback.d.ts.map +1 -0
- package/esm/MaqlEditor/hooks/useUpdateCallback.js +63 -0
- package/esm/MaqlEditor/hooks/useValueCallbacks.d.ts +6 -0
- package/esm/MaqlEditor/hooks/useValueCallbacks.d.ts.map +1 -0
- package/esm/MaqlEditor/hooks/useValueCallbacks.js +14 -0
- package/esm/MaqlEditor/languageService/LanguageServiceContext.d.ts +13 -0
- package/esm/MaqlEditor/languageService/LanguageServiceContext.d.ts.map +1 -0
- package/esm/MaqlEditor/languageService/LanguageServiceContext.js +20 -0
- package/esm/MaqlEditor/maql/MaqlEditor.d.ts +30 -0
- package/esm/MaqlEditor/maql/MaqlEditor.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/MaqlEditor.js +42 -0
- package/esm/MaqlEditor/maql/MaqlEditor.styles.d.ts +8 -0
- package/esm/MaqlEditor/maql/MaqlEditor.styles.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/MaqlEditor.styles.js +154 -0
- package/esm/MaqlEditor/maql/MaqlEditor.tooltip.d.ts +36 -0
- package/esm/MaqlEditor/maql/MaqlEditor.tooltip.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/MaqlEditor.tooltip.js +187 -0
- package/esm/MaqlEditor/maql/constants.d.ts +2 -0
- package/esm/MaqlEditor/maql/constants.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/constants.js +2 -0
- package/esm/MaqlEditor/maql/formatter.d.ts +6 -0
- package/esm/MaqlEditor/maql/formatter.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/formatter.js +14 -0
- package/esm/MaqlEditor/maql/hooks/hover/doHover.d.ts +12 -0
- package/esm/MaqlEditor/maql/hooks/hover/doHover.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/hover/doHover.js +126 -0
- package/esm/MaqlEditor/maql/hooks/hover/useHoverEvent.d.ts +4 -0
- package/esm/MaqlEditor/maql/hooks/hover/useHoverEvent.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/hover/useHoverEvent.js +32 -0
- package/esm/MaqlEditor/maql/hooks/useAutocomplete.d.ts +4 -0
- package/esm/MaqlEditor/maql/hooks/useAutocomplete.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useAutocomplete.js +60 -0
- package/esm/MaqlEditor/maql/hooks/useDecoration.d.ts +4 -0
- package/esm/MaqlEditor/maql/hooks/useDecoration.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useDecoration.js +73 -0
- package/esm/MaqlEditor/maql/hooks/useDocumentFormatting.d.ts +3 -0
- package/esm/MaqlEditor/maql/hooks/useDocumentFormatting.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useDocumentFormatting.js +29 -0
- package/esm/MaqlEditor/maql/hooks/useHover.d.ts +6 -0
- package/esm/MaqlEditor/maql/hooks/useHover.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useHover.js +77 -0
- package/esm/MaqlEditor/maql/hooks/useLanguageConfiguration.d.ts +4 -0
- package/esm/MaqlEditor/maql/hooks/useLanguageConfiguration.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useLanguageConfiguration.js +21 -0
- package/esm/MaqlEditor/maql/hooks/useLanguageService.d.ts +3 -0
- package/esm/MaqlEditor/maql/hooks/useLanguageService.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useLanguageService.js +21 -0
- package/esm/MaqlEditor/maql/hooks/useLanguageServiceInitializer.d.ts +4 -0
- package/esm/MaqlEditor/maql/hooks/useLanguageServiceInitializer.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useLanguageServiceInitializer.js +11 -0
- package/esm/MaqlEditor/maql/hooks/useMonaco.d.ts +21 -0
- package/esm/MaqlEditor/maql/hooks/useMonaco.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useMonaco.js +75 -0
- package/esm/MaqlEditor/maql/hooks/useSemanticHighlight.d.ts +4 -0
- package/esm/MaqlEditor/maql/hooks/useSemanticHighlight.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useSemanticHighlight.js +33 -0
- package/esm/MaqlEditor/maql/hooks/useSyntaxHighlight.d.ts +2 -0
- package/esm/MaqlEditor/maql/hooks/useSyntaxHighlight.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useSyntaxHighlight.js +28 -0
- package/esm/MaqlEditor/maql/hooks/useValidation.d.ts +4 -0
- package/esm/MaqlEditor/maql/hooks/useValidation.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/hooks/useValidation.js +56 -0
- package/esm/MaqlEditor/maql/utils.d.ts +4 -0
- package/esm/MaqlEditor/maql/utils.d.ts.map +1 -0
- package/esm/MaqlEditor/maql/utils.js +6 -0
- package/esm/MaqlEditor/mock/monaco-shim.d.ts +2 -0
- package/esm/MaqlEditor/mock/monaco-shim.d.ts.map +1 -0
- package/esm/MaqlEditor/mock/monaco-shim.js +36 -0
- package/esm/MaqlEditor/monaco/MonacoEditor.d.ts +49 -0
- package/esm/MaqlEditor/monaco/MonacoEditor.d.ts.map +1 -0
- package/esm/MaqlEditor/monaco/MonacoEditor.js +71 -0
- package/esm/MaqlEditor/monaco/MonacoEditor.styles.d.ts +47 -0
- package/esm/MaqlEditor/monaco/MonacoEditor.styles.d.ts.map +1 -0
- package/esm/MaqlEditor/monaco/MonacoEditor.styles.js +427 -0
- package/esm/MaqlEditor/monaco/hooks/useAutofocus.d.ts +3 -0
- package/esm/MaqlEditor/monaco/hooks/useAutofocus.d.ts.map +1 -0
- package/esm/MaqlEditor/monaco/hooks/useAutofocus.js +33 -0
- package/esm/MaqlEditor/monaco/hooks/useDefaultValue.d.ts +3 -0
- package/esm/MaqlEditor/monaco/hooks/useDefaultValue.d.ts.map +1 -0
- package/esm/MaqlEditor/monaco/hooks/useDefaultValue.js +14 -0
- package/esm/MaqlEditor/monaco/hooks/useEditorInit.d.ts +3 -0
- package/esm/MaqlEditor/monaco/hooks/useEditorInit.d.ts.map +1 -0
- package/esm/MaqlEditor/monaco/hooks/useEditorInit.js +84 -0
- package/esm/MaqlEditor/monaco/hooks/useEditorOptions.d.ts +3 -0
- package/esm/MaqlEditor/monaco/hooks/useEditorOptions.d.ts.map +1 -0
- package/esm/MaqlEditor/monaco/hooks/useEditorOptions.js +51 -0
- package/esm/MaqlEditor/monaco/hooks/useMonaco.d.ts +3 -0
- package/esm/MaqlEditor/monaco/hooks/useMonaco.d.ts.map +1 -0
- package/esm/MaqlEditor/monaco/hooks/useMonaco.js +24 -0
- package/esm/MaqlEditor/monaco/monacoContributions.d.ts +74 -0
- package/esm/MaqlEditor/monaco/monacoContributions.d.ts.map +1 -0
- package/esm/MaqlEditor/monaco/monacoContributions.js +88 -0
- package/esm/MaqlEditor/monaco/monacoWorkers.d.ts +12 -0
- package/esm/MaqlEditor/monaco/monacoWorkers.d.ts.map +1 -0
- package/esm/MaqlEditor/monaco/monacoWorkers.js +63 -0
- package/esm/MaqlEditor/sql/SqlEditor.d.ts +21 -0
- package/esm/MaqlEditor/sql/SqlEditor.d.ts.map +1 -0
- package/esm/MaqlEditor/sql/SqlEditor.js +45 -0
- package/esm/MaqlEditor/sql/SqlEditor.styles.d.ts +3 -0
- package/esm/MaqlEditor/sql/SqlEditor.styles.d.ts.map +1 -0
- package/esm/MaqlEditor/sql/SqlEditor.styles.js +3 -0
- package/esm/MaqlEditor/sql/constants.d.ts +2 -0
- package/esm/MaqlEditor/sql/constants.d.ts.map +1 -0
- package/esm/MaqlEditor/sql/constants.js +2 -0
- package/esm/MaqlEditor/sql/formatter.d.ts +6 -0
- package/esm/MaqlEditor/sql/formatter.d.ts.map +1 -0
- package/esm/MaqlEditor/sql/formatter.js +17 -0
- package/esm/MaqlEditor/sql/hooks/useDocumentFormatting.d.ts +2 -0
- package/esm/MaqlEditor/sql/hooks/useDocumentFormatting.d.ts.map +1 -0
- package/esm/MaqlEditor/sql/hooks/useDocumentFormatting.js +26 -0
- package/esm/MaqlEditor/sql/hooks/useLanguageConfiguration.d.ts +4 -0
- package/esm/MaqlEditor/sql/hooks/useLanguageConfiguration.d.ts.map +1 -0
- package/esm/MaqlEditor/sql/hooks/useLanguageConfiguration.js +29 -0
- package/esm/MaqlEditor/sql/hooks/useMonaco.d.ts +14 -0
- package/esm/MaqlEditor/sql/hooks/useMonaco.d.ts.map +1 -0
- package/esm/MaqlEditor/sql/hooks/useMonaco.js +26 -0
- package/esm/MaqlEditor/sql/hooks/useSyntaxHighlight.d.ts +2 -0
- package/esm/MaqlEditor/sql/hooks/useSyntaxHighlight.d.ts.map +1 -0
- package/esm/MaqlEditor/sql/hooks/useSyntaxHighlight.js +796 -0
- package/esm/MaqlEditor/sql/utils.d.ts +4 -0
- package/esm/MaqlEditor/sql/utils.d.ts.map +1 -0
- package/esm/MaqlEditor/sql/utils.js +6 -0
- package/esm/MaqlEditor/statusBar/SuggestionStatusBar.d.ts +9 -0
- package/esm/MaqlEditor/statusBar/SuggestionStatusBar.d.ts.map +1 -0
- package/esm/MaqlEditor/statusBar/SuggestionStatusBar.js +38 -0
- package/esm/MaqlEditor/theme/default.d.ts +204 -0
- package/esm/MaqlEditor/theme/default.d.ts.map +1 -0
- package/esm/MaqlEditor/theme/default.js +223 -0
- package/esm/MaqlEditor/theme/styles.d.ts +411 -0
- package/esm/MaqlEditor/theme/styles.d.ts.map +1 -0
- package/esm/MaqlEditor/theme/styles.js +5 -0
- package/esm/MaqlEditor/theme/theme.d.ts +206 -0
- package/esm/MaqlEditor/theme/theme.d.ts.map +1 -0
- package/esm/MaqlEditor/theme/theme.js +9 -0
- package/esm/MetricComponent/ConflictContext/ConflictContext.d.ts +9 -0
- package/esm/MetricComponent/ConflictContext/ConflictContext.d.ts.map +1 -0
- package/esm/MetricComponent/ConflictContext/ConflictContext.js +9 -0
- package/esm/MetricComponent/ConflictContext/useConflictDetection.d.ts +8 -0
- package/esm/MetricComponent/ConflictContext/useConflictDetection.d.ts.map +1 -0
- package/esm/MetricComponent/ConflictContext/useConflictDetection.js +48 -0
- package/esm/MetricComponent/Content/EditMetricContent.d.ts +3 -0
- package/esm/MetricComponent/Content/EditMetricContent.d.ts.map +1 -0
- package/esm/MetricComponent/Content/EditMetricContent.data.d.ts +52 -0
- package/esm/MetricComponent/Content/EditMetricContent.data.d.ts.map +1 -0
- package/esm/MetricComponent/Content/EditMetricContent.data.js +12 -0
- package/esm/MetricComponent/Content/EditMetricContent.events.d.ts +9 -0
- package/esm/MetricComponent/Content/EditMetricContent.events.d.ts.map +1 -0
- package/esm/MetricComponent/Content/EditMetricContent.events.js +21 -0
- package/esm/MetricComponent/Content/EditMetricContent.js +27 -0
- package/esm/MetricComponent/DeleteMetric.d.ts +12 -0
- package/esm/MetricComponent/DeleteMetric.d.ts.map +1 -0
- package/esm/MetricComponent/DeleteMetric.events.d.ts +10 -0
- package/esm/MetricComponent/DeleteMetric.events.d.ts.map +1 -0
- package/esm/MetricComponent/DeleteMetric.events.js +24 -0
- package/esm/MetricComponent/DeleteMetric.js +8 -0
- package/esm/MetricComponent/DeleteMetricConfirmDialog/DeleteMetricConfirmDialog.d.ts +6 -0
- package/esm/MetricComponent/DeleteMetricConfirmDialog/DeleteMetricConfirmDialog.d.ts.map +1 -0
- package/esm/MetricComponent/DeleteMetricConfirmDialog/DeleteMetricConfirmDialog.js +19 -0
- package/esm/MetricComponent/EditMetric.d.ts +48 -0
- package/esm/MetricComponent/EditMetric.d.ts.map +1 -0
- package/esm/MetricComponent/EditMetric.events.d.ts +16 -0
- package/esm/MetricComponent/EditMetric.events.d.ts.map +1 -0
- package/esm/MetricComponent/EditMetric.events.js +55 -0
- package/esm/MetricComponent/EditMetric.js +30 -0
- package/esm/MetricComponent/FeaturesAndSettings/index.d.ts +18 -0
- package/esm/MetricComponent/FeaturesAndSettings/index.d.ts.map +1 -0
- package/esm/MetricComponent/FeaturesAndSettings/index.js +25 -0
- package/esm/MetricComponent/Form/CloseButton/CloseButton.d.ts +6 -0
- package/esm/MetricComponent/Form/CloseButton/CloseButton.d.ts.map +1 -0
- package/esm/MetricComponent/Form/CloseButton/CloseButton.js +14 -0
- package/esm/MetricComponent/Form/EditMetricCenterForm.d.ts +15 -0
- package/esm/MetricComponent/Form/EditMetricCenterForm.d.ts.map +1 -0
- package/esm/MetricComponent/Form/EditMetricCenterForm.js +157 -0
- package/esm/MetricComponent/Form/EditMetricContentForm.d.ts +45 -0
- package/esm/MetricComponent/Form/EditMetricContentForm.d.ts.map +1 -0
- package/esm/MetricComponent/Form/EditMetricContentForm.events.d.ts +13 -0
- package/esm/MetricComponent/Form/EditMetricContentForm.events.d.ts.map +1 -0
- package/esm/MetricComponent/Form/EditMetricContentForm.events.js +32 -0
- package/esm/MetricComponent/Form/EditMetricContentForm.js +106 -0
- package/esm/MetricComponent/Form/EditableRow/EditableRow.d.ts +16 -0
- package/esm/MetricComponent/Form/EditableRow/EditableRow.d.ts.map +1 -0
- package/esm/MetricComponent/Form/EditableRow/EditableRow.js +82 -0
- package/esm/MetricComponent/Form/EditableRow/EditableRowError.d.ts +13 -0
- package/esm/MetricComponent/Form/EditableRow/EditableRowError.d.ts.map +1 -0
- package/esm/MetricComponent/Form/EditableRow/EditableRowError.js +5 -0
- package/esm/MetricComponent/Form/EditableRow/InlineEditableValue.d.ts +27 -0
- package/esm/MetricComponent/Form/EditableRow/InlineEditableValue.d.ts.map +1 -0
- package/esm/MetricComponent/Form/EditableRow/InlineEditableValue.js +125 -0
- package/esm/MetricComponent/Form/Footer/EditMetricContentFooter.d.ts +9 -0
- package/esm/MetricComponent/Form/Footer/EditMetricContentFooter.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Footer/EditMetricContentFooter.events.d.ts +7 -0
- package/esm/MetricComponent/Form/Footer/EditMetricContentFooter.events.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Footer/EditMetricContentFooter.events.js +11 -0
- package/esm/MetricComponent/Form/Footer/EditMetricContentFooter.js +63 -0
- package/esm/MetricComponent/Form/Footer/EditMetricSaveMessage.d.ts +8 -0
- package/esm/MetricComponent/Form/Footer/EditMetricSaveMessage.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Footer/EditMetricSaveMessage.js +22 -0
- package/esm/MetricComponent/Form/Header/EditMetricContentHeader.d.ts +28 -0
- package/esm/MetricComponent/Form/Header/EditMetricContentHeader.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/EditMetricContentHeader.events.d.ts +7 -0
- package/esm/MetricComponent/Form/Header/EditMetricContentHeader.events.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/EditMetricContentHeader.events.js +11 -0
- package/esm/MetricComponent/Form/Header/EditMetricContentHeader.js +48 -0
- package/esm/MetricComponent/Form/Header/LockedBubble.d.ts +3 -0
- package/esm/MetricComponent/Form/Header/LockedBubble.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/LockedBubble.js +14 -0
- package/esm/MetricComponent/Form/Header/MetricDescriptionField.d.ts +10 -0
- package/esm/MetricComponent/Form/Header/MetricDescriptionField.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/MetricDescriptionField.js +24 -0
- package/esm/MetricComponent/Form/Header/MetricIdField.d.ts +9 -0
- package/esm/MetricComponent/Form/Header/MetricIdField.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/MetricIdField.js +80 -0
- package/esm/MetricComponent/Form/Header/MetricTagsField.d.ts +8 -0
- package/esm/MetricComponent/Form/Header/MetricTagsField.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/MetricTagsField.js +61 -0
- package/esm/MetricComponent/Form/Header/MetricTitleField.d.ts +8 -0
- package/esm/MetricComponent/Form/Header/MetricTitleField.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/MetricTitleField.js +40 -0
- package/esm/MetricComponent/Form/Header/MetricTypeField.d.ts +8 -0
- package/esm/MetricComponent/Form/Header/MetricTypeField.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/MetricTypeField.js +42 -0
- package/esm/MetricComponent/Form/Header/Usage/Usage.d.ts +13 -0
- package/esm/MetricComponent/Form/Header/Usage/Usage.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/Usage/Usage.js +68 -0
- package/esm/MetricComponent/Form/Header/Usage/UsageItems.d.ts +11 -0
- package/esm/MetricComponent/Form/Header/Usage/UsageItems.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/Usage/UsageItems.js +88 -0
- package/esm/MetricComponent/Form/Header/Usage/UsagesOverlay.d.ts +17 -0
- package/esm/MetricComponent/Form/Header/Usage/UsagesOverlay.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/Usage/UsagesOverlay.js +119 -0
- package/esm/MetricComponent/Form/Header/share/MetricAccessChip.d.ts +9 -0
- package/esm/MetricComponent/Form/Header/share/MetricAccessChip.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/share/MetricAccessChip.js +39 -0
- package/esm/MetricComponent/Form/Header/share/MetricShare.d.ts +17 -0
- package/esm/MetricComponent/Form/Header/share/MetricShare.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/share/MetricShare.js +36 -0
- package/esm/MetricComponent/Form/Header/share/useApplyMetricAccess.d.ts +10 -0
- package/esm/MetricComponent/Form/Header/share/useApplyMetricAccess.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Header/share/useApplyMetricAccess.js +39 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorEditor.d.ts +11 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorEditor.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorEditor.js +128 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorField.d.ts +9 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorField.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorField.events.d.ts +11 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorField.events.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorField.events.js +25 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorField.js +68 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorHeader.d.ts +14 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorHeader.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlEditorField/MaqlEditorHeader.js +84 -0
- package/esm/MetricComponent/Form/MaqlEditorField/suggestionDetailsFunctions.d.ts +3 -0
- package/esm/MetricComponent/Form/MaqlEditorField/suggestionDetailsFunctions.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlEditorField/suggestionDetailsFunctions.js +57 -0
- package/esm/MetricComponent/Form/MaqlEditorUtils/Placeholder.d.ts +8 -0
- package/esm/MetricComponent/Form/MaqlEditorUtils/Placeholder.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlEditorUtils/Placeholder.js +72 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlResult.d.ts +19 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlResult.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlResult.js +144 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlResultHeader.d.ts +23 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlResultHeader.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlResultHeader.js +54 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlSql.d.ts +8 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlSql.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlSql.js +54 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlSqlHeader.d.ts +10 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlSqlHeader.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlResult/MaqlSqlHeader.js +46 -0
- package/esm/MetricComponent/Form/MaqlResult/components/AttributesSelect.d.ts +15 -0
- package/esm/MetricComponent/Form/MaqlResult/components/AttributesSelect.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlResult/components/AttributesSelect.js +171 -0
- package/esm/MetricComponent/Form/MaqlResult/components/AttributesSelectItem.d.ts +10 -0
- package/esm/MetricComponent/Form/MaqlResult/components/AttributesSelectItem.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlResult/components/AttributesSelectItem.js +23 -0
- package/esm/MetricComponent/Form/MaqlResult/components/LimitSelect.d.ts +11 -0
- package/esm/MetricComponent/Form/MaqlResult/components/LimitSelect.d.ts.map +1 -0
- package/esm/MetricComponent/Form/MaqlResult/components/LimitSelect.js +134 -0
- package/esm/MetricComponent/Form/NumberFormat/EditMetricContentNumberFormat.d.ts +10 -0
- package/esm/MetricComponent/Form/NumberFormat/EditMetricContentNumberFormat.d.ts.map +1 -0
- package/esm/MetricComponent/Form/NumberFormat/EditMetricContentNumberFormat.events.d.ts +7 -0
- package/esm/MetricComponent/Form/NumberFormat/EditMetricContentNumberFormat.events.d.ts.map +1 -0
- package/esm/MetricComponent/Form/NumberFormat/EditMetricContentNumberFormat.events.js +12 -0
- package/esm/MetricComponent/Form/NumberFormat/EditMetricContentNumberFormat.js +83 -0
- package/esm/MetricComponent/Form/OtherMetrics/OtherMetricsContext.d.ts +13 -0
- package/esm/MetricComponent/Form/OtherMetrics/OtherMetricsContext.d.ts.map +1 -0
- package/esm/MetricComponent/Form/OtherMetrics/OtherMetricsContext.js +23 -0
- package/esm/MetricComponent/Form/OtherMetrics/useOtherMetrics.d.ts +3 -0
- package/esm/MetricComponent/Form/OtherMetrics/useOtherMetrics.d.ts.map +1 -0
- package/esm/MetricComponent/Form/OtherMetrics/useOtherMetrics.js +6 -0
- package/esm/MetricComponent/Form/PartHeader/PartHeader.d.ts +20 -0
- package/esm/MetricComponent/Form/PartHeader/PartHeader.d.ts.map +1 -0
- package/esm/MetricComponent/Form/PartHeader/PartHeader.js +90 -0
- package/esm/MetricComponent/Form/PartHeader/PartHeaderButton.d.ts +16 -0
- package/esm/MetricComponent/Form/PartHeader/PartHeaderButton.d.ts.map +1 -0
- package/esm/MetricComponent/Form/PartHeader/PartHeaderButton.js +29 -0
- package/esm/MetricComponent/Form/Prefixes/PrefixesContext.d.ts +12 -0
- package/esm/MetricComponent/Form/Prefixes/PrefixesContext.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Prefixes/PrefixesContext.js +10 -0
- package/esm/MetricComponent/Form/Prefixes/usePrefixes.d.ts +3 -0
- package/esm/MetricComponent/Form/Prefixes/usePrefixes.d.ts.map +1 -0
- package/esm/MetricComponent/Form/Prefixes/usePrefixes.js +6 -0
- package/esm/MetricComponent/Form/TestingFormProvider.d.ts +10 -0
- package/esm/MetricComponent/Form/TestingFormProvider.d.ts.map +1 -0
- package/esm/MetricComponent/Form/TestingFormProvider.js +7 -0
- package/esm/MetricComponent/Form/attribute.d.ts +3 -0
- package/esm/MetricComponent/Form/attribute.d.ts.map +1 -0
- package/esm/MetricComponent/Form/attribute.js +9 -0
- package/esm/MetricComponent/Form/data.d.ts +23 -0
- package/esm/MetricComponent/Form/data.d.ts.map +1 -0
- package/esm/MetricComponent/Form/data.js +12 -0
- package/esm/MetricComponent/Form/hooks/useCatalog.d.ts +9 -0
- package/esm/MetricComponent/Form/hooks/useCatalog.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useCatalog.js +72 -0
- package/esm/MetricComponent/Form/hooks/useExecute.d.ts +14 -0
- package/esm/MetricComponent/Form/hooks/useExecute.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useExecute.js +26 -0
- package/esm/MetricComponent/Form/hooks/useExplain.d.ts +10 -0
- package/esm/MetricComponent/Form/hooks/useExplain.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useExplain.js +50 -0
- package/esm/MetricComponent/Form/hooks/useInvalidFocus.d.ts +5 -0
- package/esm/MetricComponent/Form/hooks/useInvalidFocus.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useInvalidFocus.js +20 -0
- package/esm/MetricComponent/Form/hooks/useMetricFormField.d.ts +10 -0
- package/esm/MetricComponent/Form/hooks/useMetricFormField.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useMetricFormField.js +16 -0
- package/esm/MetricComponent/Form/hooks/useMetricFormStatus.d.ts +5 -0
- package/esm/MetricComponent/Form/hooks/useMetricFormStatus.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useMetricFormStatus.js +5 -0
- package/esm/MetricComponent/Form/hooks/useMetricFormatState.d.ts +41 -0
- package/esm/MetricComponent/Form/hooks/useMetricFormatState.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useMetricFormatState.js +50 -0
- package/esm/MetricComponent/Form/hooks/useMetricValidation.d.ts +11 -0
- package/esm/MetricComponent/Form/hooks/useMetricValidation.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useMetricValidation.js +53 -0
- package/esm/MetricComponent/Form/hooks/useTitleExistsCheck.d.ts +2 -0
- package/esm/MetricComponent/Form/hooks/useTitleExistsCheck.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useTitleExistsCheck.js +19 -0
- package/esm/MetricComponent/Form/hooks/useToggleWithCollapse.d.ts +4 -0
- package/esm/MetricComponent/Form/hooks/useToggleWithCollapse.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useToggleWithCollapse.js +16 -0
- package/esm/MetricComponent/Form/hooks/useUniqIdGenerator.d.ts +2 -0
- package/esm/MetricComponent/Form/hooks/useUniqIdGenerator.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useUniqIdGenerator.js +48 -0
- package/esm/MetricComponent/Form/hooks/useValidationScheme.d.ts +10 -0
- package/esm/MetricComponent/Form/hooks/useValidationScheme.d.ts.map +1 -0
- package/esm/MetricComponent/Form/hooks/useValidationScheme.js +17 -0
- package/esm/MetricComponent/Form/inlineMeasure.d.ts +3 -0
- package/esm/MetricComponent/Form/inlineMeasure.d.ts.map +1 -0
- package/esm/MetricComponent/Form/inlineMeasure.js +11 -0
- package/esm/MetricComponent/Form/maqlFieldFunctions.d.ts +17 -0
- package/esm/MetricComponent/Form/maqlFieldFunctions.d.ts.map +1 -0
- package/esm/MetricComponent/Form/maqlFieldFunctions.js +43 -0
- package/esm/MetricComponent/Form/validationSchema.d.ts +12 -0
- package/esm/MetricComponent/Form/validationSchema.d.ts.map +1 -0
- package/esm/MetricComponent/Form/validationSchema.js +123 -0
- package/esm/MetricComponent/IdChangeConfirmDialog/IdChangeConfirmDialog.d.ts +15 -0
- package/esm/MetricComponent/IdChangeConfirmDialog/IdChangeConfirmDialog.d.ts.map +1 -0
- package/esm/MetricComponent/IdChangeConfirmDialog/IdChangeConfirmDialog.js +75 -0
- package/esm/MetricComponent/ManageMetric.d.ts +38 -0
- package/esm/MetricComponent/ManageMetric.d.ts.map +1 -0
- package/esm/MetricComponent/ManageMetric.js +29 -0
- package/esm/MetricComponent/ManageMetrics.d.ts +23 -0
- package/esm/MetricComponent/ManageMetrics.d.ts.map +1 -0
- package/esm/MetricComponent/ManageMetrics.js +32 -0
- package/esm/MetricComponent/MetricService.d.ts +7 -0
- package/esm/MetricComponent/MetricService.d.ts.map +1 -0
- package/esm/MetricComponent/MetricService.js +7 -0
- package/esm/MetricComponent/MetricState/TabContent.d.ts +37 -0
- package/esm/MetricComponent/MetricState/TabContent.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/TabContent.js +21 -0
- package/esm/MetricComponent/MetricState/hooks/useChangeIdDialog.d.ts +23 -0
- package/esm/MetricComponent/MetricState/hooks/useChangeIdDialog.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/hooks/useChangeIdDialog.js +68 -0
- package/esm/MetricComponent/MetricState/hooks/useDirtyChanged.d.ts +4 -0
- package/esm/MetricComponent/MetricState/hooks/useDirtyChanged.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/hooks/useDirtyChanged.js +16 -0
- package/esm/MetricComponent/MetricState/hooks/useOnChangeCallback.d.ts +17 -0
- package/esm/MetricComponent/MetricState/hooks/useOnChangeCallback.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/hooks/useOnChangeCallback.js +41 -0
- package/esm/MetricComponent/MetricState/hooks/useOnDeleteCallback.d.ts +5 -0
- package/esm/MetricComponent/MetricState/hooks/useOnDeleteCallback.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/hooks/useOnDeleteCallback.js +9 -0
- package/esm/MetricComponent/MetricState/hooks/useOnSaveCallback.d.ts +6 -0
- package/esm/MetricComponent/MetricState/hooks/useOnSaveCallback.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/hooks/useOnSaveCallback.js +9 -0
- package/esm/MetricComponent/MetricState/hooks/useSaveTab.d.ts +9 -0
- package/esm/MetricComponent/MetricState/hooks/useSaveTab.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/hooks/useSaveTab.js +93 -0
- package/esm/MetricComponent/MetricState/hooks/useTabsData.d.ts +16 -0
- package/esm/MetricComponent/MetricState/hooks/useTabsData.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/hooks/useTabsData.js +62 -0
- package/esm/MetricComponent/MetricState/hooks/useUnsavedChanges.d.ts +17 -0
- package/esm/MetricComponent/MetricState/hooks/useUnsavedChanges.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/hooks/useUnsavedChanges.js +86 -0
- package/esm/MetricComponent/MetricState/hooks/useUpdateMetricData.d.ts +5 -0
- package/esm/MetricComponent/MetricState/hooks/useUpdateMetricData.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/hooks/useUpdateMetricData.js +10 -0
- package/esm/MetricComponent/MetricState/hooks/useUpdateMetricTab.d.ts +6 -0
- package/esm/MetricComponent/MetricState/hooks/useUpdateMetricTab.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/hooks/useUpdateMetricTab.js +17 -0
- package/esm/MetricComponent/MetricState/metricState.data.d.ts +37 -0
- package/esm/MetricComponent/MetricState/metricState.data.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/metricState.data.js +13 -0
- package/esm/MetricComponent/MetricState/useMetricState.d.ts +27 -0
- package/esm/MetricComponent/MetricState/useMetricState.d.ts.map +1 -0
- package/esm/MetricComponent/MetricState/useMetricState.js +127 -0
- package/esm/MetricComponent/MetricsContext/MetricsContext.d.ts +11 -0
- package/esm/MetricComponent/MetricsContext/MetricsContext.d.ts.map +1 -0
- package/esm/MetricComponent/MetricsContext/MetricsContext.js +14 -0
- package/esm/MetricComponent/MetricsContext/useMetricsContext.d.ts +3 -0
- package/esm/MetricComponent/MetricsContext/useMetricsContext.d.ts.map +1 -0
- package/esm/MetricComponent/MetricsContext/useMetricsContext.js +6 -0
- package/esm/MetricComponent/MetricsState.d.ts +39 -0
- package/esm/MetricComponent/MetricsState.d.ts.map +1 -0
- package/esm/MetricComponent/MetricsState.js +73 -0
- package/esm/MetricComponent/MinimizedMetricComponent/MinimizedMetricComponent.d.ts +12 -0
- package/esm/MetricComponent/MinimizedMetricComponent/MinimizedMetricComponent.d.ts.map +1 -0
- package/esm/MetricComponent/MinimizedMetricComponent/MinimizedMetricComponent.js +110 -0
- package/esm/MetricComponent/MinimizedMetrics.d.ts +10 -0
- package/esm/MetricComponent/MinimizedMetrics.d.ts.map +1 -0
- package/esm/MetricComponent/MinimizedMetrics.js +19 -0
- package/esm/MetricComponent/MultipleMetricsState.d.ts +61 -0
- package/esm/MetricComponent/MultipleMetricsState.d.ts.map +1 -0
- package/esm/MetricComponent/MultipleMetricsState.js +53 -0
- package/esm/MetricComponent/UnsavedChangesConfirmDialog/UnsavedChangesConfirmDialog.d.ts +14 -0
- package/esm/MetricComponent/UnsavedChangesConfirmDialog/UnsavedChangesConfirmDialog.d.ts.map +1 -0
- package/esm/MetricComponent/UnsavedChangesConfirmDialog/UnsavedChangesConfirmDialog.js +52 -0
- package/esm/MetricComponent/hooks/useDeleteCallbacks.d.ts +7 -0
- package/esm/MetricComponent/hooks/useDeleteCallbacks.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useDeleteCallbacks.js +52 -0
- package/esm/MetricComponent/hooks/useDirtyChanged.d.ts +2 -0
- package/esm/MetricComponent/hooks/useDirtyChanged.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useDirtyChanged.js +10 -0
- package/esm/MetricComponent/hooks/useEditCallbacks.d.ts +23 -0
- package/esm/MetricComponent/hooks/useEditCallbacks.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useEditCallbacks.js +107 -0
- package/esm/MetricComponent/hooks/useFocusedField.d.ts +4 -0
- package/esm/MetricComponent/hooks/useFocusedField.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useFocusedField.js +9 -0
- package/esm/MetricComponent/hooks/useIdCallbacks.d.ts +22 -0
- package/esm/MetricComponent/hooks/useIdCallbacks.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useIdCallbacks.js +46 -0
- package/esm/MetricComponent/hooks/useInitialValueMetric.d.ts +4 -0
- package/esm/MetricComponent/hooks/useInitialValueMetric.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useInitialValueMetric.js +12 -0
- package/esm/MetricComponent/hooks/useInitialValues.d.ts +3 -0
- package/esm/MetricComponent/hooks/useInitialValues.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useInitialValues.js +13 -0
- package/esm/MetricComponent/hooks/useMetricContentState.d.ts +38 -0
- package/esm/MetricComponent/hooks/useMetricContentState.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useMetricContentState.js +73 -0
- package/esm/MetricComponent/hooks/useMetricDelete.d.ts +3 -0
- package/esm/MetricComponent/hooks/useMetricDelete.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useMetricDelete.js +14 -0
- package/esm/MetricComponent/hooks/useMetricSave.d.ts +4 -0
- package/esm/MetricComponent/hooks/useMetricSave.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useMetricSave.js +52 -0
- package/esm/MetricComponent/hooks/useMetricUsage.d.ts +8 -0
- package/esm/MetricComponent/hooks/useMetricUsage.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useMetricUsage.js +21 -0
- package/esm/MetricComponent/hooks/useOnCloseOrCancel.d.ts +7 -0
- package/esm/MetricComponent/hooks/useOnCloseOrCancel.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useOnCloseOrCancel.js +26 -0
- package/esm/MetricComponent/hooks/useOnSaveUnchanged.d.ts +12 -0
- package/esm/MetricComponent/hooks/useOnSaveUnchanged.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useOnSaveUnchanged.js +30 -0
- package/esm/MetricComponent/hooks/useSaveAsClick.d.ts +6 -0
- package/esm/MetricComponent/hooks/useSaveAsClick.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useSaveAsClick.js +62 -0
- package/esm/MetricComponent/hooks/useSaveClick.d.ts +11 -0
- package/esm/MetricComponent/hooks/useSaveClick.d.ts.map +1 -0
- package/esm/MetricComponent/hooks/useSaveClick.js +47 -0
- package/esm/MetricComponent/metric/deleteInfo.d.ts +6 -0
- package/esm/MetricComponent/metric/deleteInfo.d.ts.map +1 -0
- package/esm/MetricComponent/metric/deleteInfo.js +6 -0
- package/esm/MetricComponent/metric/emptyMetric.d.ts +8 -0
- package/esm/MetricComponent/metric/emptyMetric.d.ts.map +1 -0
- package/esm/MetricComponent/metric/emptyMetric.js +13 -0
- package/esm/MetricComponent/metric/idChangeHelper.d.ts +5 -0
- package/esm/MetricComponent/metric/idChangeHelper.d.ts.map +1 -0
- package/esm/MetricComponent/metric/idChangeHelper.js +11 -0
- package/esm/MetricComponent/metric/idValidator.d.ts +3 -0
- package/esm/MetricComponent/metric/idValidator.d.ts.map +1 -0
- package/esm/MetricComponent/metric/idValidator.js +5 -0
- package/esm/MetricComponent/metric/metricHelpers.d.ts +29 -0
- package/esm/MetricComponent/metric/metricHelpers.d.ts.map +1 -0
- package/esm/MetricComponent/metric/metricHelpers.js +114 -0
- package/esm/MetricComponent/metric/nameGenerators.d.ts +13 -0
- package/esm/MetricComponent/metric/nameGenerators.d.ts.map +1 -0
- package/esm/MetricComponent/metric/nameGenerators.js +63 -0
- package/esm/MetricComponent/metric/prefixHelper.d.ts +7 -0
- package/esm/MetricComponent/metric/prefixHelper.d.ts.map +1 -0
- package/esm/MetricComponent/metric/prefixHelper.js +43 -0
- package/esm/MetricComponent/metric/saveInfo.d.ts +13 -0
- package/esm/MetricComponent/metric/saveInfo.d.ts.map +1 -0
- package/esm/MetricComponent/metric/saveInfo.js +10 -0
- package/esm/MetricComponent/metric/transformer.d.ts +5 -0
- package/esm/MetricComponent/metric/transformer.d.ts.map +1 -0
- package/esm/MetricComponent/metric/transformer.js +17 -0
- package/esm/index.d.ts +41 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +35 -0
- package/esm/shared/Form/Form.d.ts +25 -0
- package/esm/shared/Form/Form.d.ts.map +1 -0
- package/esm/shared/Form/Form.js +48 -0
- package/esm/shared/Form/FormApi.d.ts +8 -0
- package/esm/shared/Form/FormApi.d.ts.map +1 -0
- package/esm/shared/Form/FormApi.js +14 -0
- package/esm/shared/Form/FormContext.d.ts +52 -0
- package/esm/shared/Form/FormContext.d.ts.map +1 -0
- package/esm/shared/Form/FormContext.js +50 -0
- package/esm/shared/Form/data.d.ts +5 -0
- package/esm/shared/Form/data.d.ts.map +1 -0
- package/esm/shared/Form/data.js +6 -0
- package/esm/shared/Form/hooks/useChanged.d.ts +5 -0
- package/esm/shared/Form/hooks/useChanged.d.ts.map +1 -0
- package/esm/shared/Form/hooks/useChanged.js +14 -0
- package/esm/shared/Form/hooks/useDirty.d.ts +3 -0
- package/esm/shared/Form/hooks/useDirty.d.ts.map +1 -0
- package/esm/shared/Form/hooks/useDirty.js +9 -0
- package/esm/shared/Form/hooks/useFormHandlersInternal.d.ts +12 -0
- package/esm/shared/Form/hooks/useFormHandlersInternal.d.ts.map +1 -0
- package/esm/shared/Form/hooks/useFormHandlersInternal.js +16 -0
- package/esm/shared/Form/hooks/useFormState.d.ts +4 -0
- package/esm/shared/Form/hooks/useFormState.d.ts.map +1 -0
- package/esm/shared/Form/hooks/useFormState.js +33 -0
- package/esm/shared/Form/hooks/useFormStatusInternal.d.ts +32 -0
- package/esm/shared/Form/hooks/useFormStatusInternal.d.ts.map +1 -0
- package/esm/shared/Form/hooks/useFormStatusInternal.js +34 -0
- package/esm/shared/Form/hooks/useInvalidFocusField.d.ts +3 -0
- package/esm/shared/Form/hooks/useInvalidFocusField.d.ts.map +1 -0
- package/esm/shared/Form/hooks/useInvalidFocusField.js +8 -0
- package/esm/shared/Form/hooks/useMutations.d.ts +4 -0
- package/esm/shared/Form/hooks/useMutations.d.ts.map +1 -0
- package/esm/shared/Form/hooks/useMutations.js +97 -0
- package/esm/shared/Form/hooks/useRealFocus.d.ts +5 -0
- package/esm/shared/Form/hooks/useRealFocus.d.ts.map +1 -0
- package/esm/shared/Form/hooks/useRealFocus.js +38 -0
- package/esm/shared/Form/useFormChanged.d.ts +2 -0
- package/esm/shared/Form/useFormChanged.d.ts.map +1 -0
- package/esm/shared/Form/useFormChanged.js +12 -0
- package/esm/shared/Form/useFormDefaults.d.ts +2 -0
- package/esm/shared/Form/useFormDefaults.d.ts.map +1 -0
- package/esm/shared/Form/useFormDefaults.js +7 -0
- package/esm/shared/Form/useFormDirty.d.ts +2 -0
- package/esm/shared/Form/useFormDirty.d.ts.map +1 -0
- package/esm/shared/Form/useFormDirty.js +13 -0
- package/esm/shared/Form/useFormErrors.d.ts +3 -0
- package/esm/shared/Form/useFormErrors.d.ts.map +1 -0
- package/esm/shared/Form/useFormErrors.js +18 -0
- package/esm/shared/Form/useFormField.d.ts +24 -0
- package/esm/shared/Form/useFormField.d.ts.map +1 -0
- package/esm/shared/Form/useFormField.js +60 -0
- package/esm/shared/Form/useFormFieldElementRef.d.ts +3 -0
- package/esm/shared/Form/useFormFieldElementRef.d.ts.map +1 -0
- package/esm/shared/Form/useFormFieldElementRef.js +10 -0
- package/esm/shared/Form/useFormHandlers.d.ts +8 -0
- package/esm/shared/Form/useFormHandlers.d.ts.map +1 -0
- package/esm/shared/Form/useFormHandlers.js +45 -0
- package/esm/shared/Form/useFormStatus.d.ts +3 -0
- package/esm/shared/Form/useFormStatus.d.ts.map +1 -0
- package/esm/shared/Form/useFormStatus.js +10 -0
- package/esm/shared/Form/useFormValues.d.ts +3 -0
- package/esm/shared/Form/useFormValues.d.ts.map +1 -0
- package/esm/shared/Form/useFormValues.js +11 -0
- package/esm/shared/Form/utils.d.ts +2 -0
- package/esm/shared/Form/utils.d.ts.map +1 -0
- package/esm/shared/Form/utils.js +5 -0
- package/esm/shared/GlobalLoading/GlobalLoading.d.ts +2 -0
- package/esm/shared/GlobalLoading/GlobalLoading.d.ts.map +1 -0
- package/esm/shared/GlobalLoading/GlobalLoading.js +15 -0
- package/esm/shared/MaqlPreview/MaqlPreview.d.ts +19 -0
- package/esm/shared/MaqlPreview/MaqlPreview.d.ts.map +1 -0
- package/esm/shared/MaqlPreview/MaqlPreview.js +107 -0
- package/esm/shared/MaqlPreview/backend/measureExpressionTokens.d.ts +18 -0
- package/esm/shared/MaqlPreview/backend/measureExpressionTokens.d.ts.map +1 -0
- package/esm/shared/MaqlPreview/backend/measureExpressionTokens.js +83 -0
- package/esm/shared/MaqlPreview/hooks/useMetricTokens.d.ts +8 -0
- package/esm/shared/MaqlPreview/hooks/useMetricTokens.d.ts.map +1 -0
- package/esm/shared/MaqlPreview/hooks/useMetricTokens.js +14 -0
- package/esm/shared/MetricTooltip/MetricTooltip.d.ts +14 -0
- package/esm/shared/MetricTooltip/MetricTooltip.d.ts.map +1 -0
- package/esm/shared/MetricTooltip/MetricTooltip.events.d.ts +9 -0
- package/esm/shared/MetricTooltip/MetricTooltip.events.d.ts.map +1 -0
- package/esm/shared/MetricTooltip/MetricTooltip.events.js +18 -0
- package/esm/shared/MetricTooltip/MetricTooltip.js +46 -0
- package/esm/shared/MetricTooltip/MetricTooltipContent.d.ts +12 -0
- package/esm/shared/MetricTooltip/MetricTooltipContent.d.ts.map +1 -0
- package/esm/shared/MetricTooltip/MetricTooltipContent.js +38 -0
- package/esm/shared/MetricTooltip/fixtures.d.ts +3 -0
- package/esm/shared/MetricTooltip/fixtures.d.ts.map +1 -0
- package/esm/shared/MetricTooltip/fixtures.js +16 -0
- package/esm/shared/Tabs/Tab.d.ts +31 -0
- package/esm/shared/Tabs/Tab.d.ts.map +1 -0
- package/esm/shared/Tabs/Tab.js +171 -0
- package/esm/shared/Tabs/Tabs.classes.d.ts +13 -0
- package/esm/shared/Tabs/Tabs.classes.d.ts.map +1 -0
- package/esm/shared/Tabs/Tabs.classes.js +13 -0
- package/esm/shared/Tabs/Tabs.d.ts +4 -0
- package/esm/shared/Tabs/Tabs.d.ts.map +1 -0
- package/esm/shared/Tabs/Tabs.data.d.ts +37 -0
- package/esm/shared/Tabs/Tabs.data.d.ts.map +1 -0
- package/esm/shared/Tabs/Tabs.data.js +4 -0
- package/esm/shared/Tabs/Tabs.js +195 -0
- package/esm/shared/Tabs/hooks/useChangeScroll.d.ts +2 -0
- package/esm/shared/Tabs/hooks/useChangeScroll.d.ts.map +1 -0
- package/esm/shared/Tabs/hooks/useChangeScroll.js +19 -0
- package/esm/shared/Tabs/hooks/useMouseDownRepeat.d.ts +3 -0
- package/esm/shared/Tabs/hooks/useMouseDownRepeat.d.ts.map +1 -0
- package/esm/shared/Tabs/hooks/useMouseDownRepeat.js +43 -0
- package/esm/shared/Tabs/hooks/useScrollByButtons.d.ts +9 -0
- package/esm/shared/Tabs/hooks/useScrollByButtons.d.ts.map +1 -0
- package/esm/shared/Tabs/hooks/useScrollByButtons.js +76 -0
- package/esm/shared/Tabs/hooks/useScrollToActive.d.ts +2 -0
- package/esm/shared/Tabs/hooks/useScrollToActive.d.ts.map +1 -0
- package/esm/shared/Tabs/hooks/useScrollToActive.js +36 -0
- package/esm/shared/Tabs/hooks/useTabCallbacks.d.ts +7 -0
- package/esm/shared/Tabs/hooks/useTabCallbacks.d.ts.map +1 -0
- package/esm/shared/Tabs/hooks/useTabCallbacks.js +17 -0
- package/esm/shared/Tabs/hooks/useTabs.d.ts +24 -0
- package/esm/shared/Tabs/hooks/useTabs.d.ts.map +1 -0
- package/esm/shared/Tabs/hooks/useTabs.js +130 -0
- package/esm/shared/Tabs/hooks/useTabsCallbacks.d.ts +8 -0
- package/esm/shared/Tabs/hooks/useTabsCallbacks.d.ts.map +1 -0
- package/esm/shared/Tabs/hooks/useTabsCallbacks.js +19 -0
- package/esm/shared/authentication/Authentication.d.ts +8 -0
- package/esm/shared/authentication/Authentication.d.ts.map +1 -0
- package/esm/shared/authentication/Authentication.js +51 -0
- package/esm/shared/backend/tigerContractExpiredHandler.d.ts +3 -0
- package/esm/shared/backend/tigerContractExpiredHandler.d.ts.map +1 -0
- package/esm/shared/backend/tigerContractExpiredHandler.js +19 -0
- package/esm/shared/backend/tigerNotAuthenticatedHandler.d.ts +9 -0
- package/esm/shared/backend/tigerNotAuthenticatedHandler.d.ts.map +1 -0
- package/esm/shared/backend/tigerNotAuthenticatedHandler.js +36 -0
- package/esm/shared/eventing/EventContext.d.ts +25 -0
- package/esm/shared/eventing/EventContext.d.ts.map +1 -0
- package/esm/shared/eventing/EventContext.js +35 -0
- package/esm/shared/eventing/events.d.ts +52 -0
- package/esm/shared/eventing/events.d.ts.map +1 -0
- package/esm/shared/eventing/events.js +56 -0
- package/esm/shared/eventing/functions/errorToTrackingData.d.ts +12 -0
- package/esm/shared/eventing/functions/errorToTrackingData.d.ts.map +1 -0
- package/esm/shared/eventing/functions/errorToTrackingData.js +10 -0
- package/esm/shared/eventing/useEvents.d.ts +10 -0
- package/esm/shared/eventing/useEvents.d.ts.map +1 -0
- package/esm/shared/eventing/useEvents.js +16 -0
- package/esm/shared/hooks/useApi.d.ts +4 -0
- package/esm/shared/hooks/useApi.d.ts.map +1 -0
- package/esm/shared/hooks/useApi.js +15 -0
- package/esm/shared/hooks/useFocus.d.ts +3 -0
- package/esm/shared/hooks/useFocus.d.ts.map +1 -0
- package/esm/shared/hooks/useFocus.js +55 -0
- package/esm/shared/hooks/usePromiseHandlerIndicator.d.ts +2 -0
- package/esm/shared/hooks/usePromiseHandlerIndicator.d.ts.map +1 -0
- package/esm/shared/hooks/usePromiseHandlerIndicator.js +11 -0
- package/esm/shared/hooks/useProp.d.ts +3 -0
- package/esm/shared/hooks/useProp.d.ts.map +1 -0
- package/esm/shared/hooks/useProp.js +15 -0
- package/esm/shared/links.d.ts +9 -0
- package/esm/shared/links.d.ts.map +1 -0
- package/esm/shared/links.js +9 -0
- package/esm/shared/metrics/MetricsReloadContext.d.ts +8 -0
- package/esm/shared/metrics/MetricsReloadContext.d.ts.map +1 -0
- package/esm/shared/metrics/MetricsReloadContext.js +14 -0
- package/esm/shared/metrics/functions/metricListData.d.ts +4 -0
- package/esm/shared/metrics/functions/metricListData.d.ts.map +1 -0
- package/esm/shared/metrics/functions/metricListData.js +29 -0
- package/esm/shared/metrics/useMetricListData.d.ts +29 -0
- package/esm/shared/metrics/useMetricListData.d.ts.map +1 -0
- package/esm/shared/metrics/useMetricListData.events.d.ts +12 -0
- package/esm/shared/metrics/useMetricListData.events.d.ts.map +1 -0
- package/esm/shared/metrics/useMetricListData.events.js +31 -0
- package/esm/shared/metrics/useMetricListData.js +52 -0
- package/esm/shared/metrics/useMetrics.d.ts +16 -0
- package/esm/shared/metrics/useMetrics.d.ts.map +1 -0
- package/esm/shared/metrics/useMetrics.js +34 -0
- package/esm/shared/metrics/useReloadMetrics.d.ts +3 -0
- package/esm/shared/metrics/useReloadMetrics.d.ts.map +1 -0
- package/esm/shared/metrics/useReloadMetrics.js +10 -0
- package/esm/shared/permissions.d.ts +10 -0
- package/esm/shared/permissions.d.ts.map +1 -0
- package/esm/shared/permissions.js +53 -0
- package/esm/shared/platform.d.ts +2 -0
- package/esm/shared/platform.d.ts.map +1 -0
- package/esm/shared/platform.js +4 -0
- package/esm/shared/theme/index.d.ts +416 -0
- package/esm/shared/theme/index.d.ts.map +1 -0
- package/esm/shared/theme/index.js +193 -0
- package/esm/tests/render.test.utils.d.ts +9 -0
- package/esm/tests/render.test.utils.d.ts.map +1 -0
- package/esm/tests/render.test.utils.js +18 -0
- package/esm/translations/IntlWrapper.d.ts +9 -0
- package/esm/translations/IntlWrapper.d.ts.map +1 -0
- package/esm/translations/IntlWrapper.js +11 -0
- package/esm/translations/de-DE.json +131 -0
- package/esm/translations/en-AU.json +131 -0
- package/esm/translations/en-GB.json +131 -0
- package/esm/translations/en-US.json +518 -0
- package/esm/translations/es-419.json +131 -0
- package/esm/translations/es-ES.json +131 -0
- package/esm/translations/fi-FI.json +131 -0
- package/esm/translations/fr-CA.json +131 -0
- package/esm/translations/fr-FR.json +131 -0
- package/esm/translations/id-ID.json +131 -0
- package/esm/translations/it-IT.json +131 -0
- package/esm/translations/ja-JP.json +131 -0
- package/esm/translations/ko-KR.json +131 -0
- package/esm/translations/nl-NL.json +131 -0
- package/esm/translations/pl-PL.json +131 -0
- package/esm/translations/pt-BR.json +131 -0
- package/esm/translations/pt-PT.json +131 -0
- package/esm/translations/ru-RU.json +131 -0
- package/esm/translations/sl-SI.json +131 -0
- package/esm/translations/th-TH.json +131 -0
- package/esm/translations/tr-TR.json +131 -0
- package/esm/translations/translations.d.ts +21 -0
- package/esm/translations/translations.d.ts.map +1 -0
- package/esm/translations/translations.js +89 -0
- package/esm/translations/uk-UA.json +131 -0
- package/esm/translations/vi-VN.json +131 -0
- package/esm/translations/zh-HK.json +131 -0
- package/esm/translations/zh-Hans.json +131 -0
- package/esm/translations/zh-Hant.json +131 -0
- package/package.json +116 -3
|
@@ -0,0 +1,796 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
import { useEffect } from "react";
|
|
3
|
+
import * as monaco from "monaco-editor/editor/editor.api.js";
|
|
4
|
+
//more info in README.md
|
|
5
|
+
export function useSyntaxHighlight(languageId) {
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
// Syntax highlighting - register a tokens provider for MAQL - works for code blocks in Markdown
|
|
8
|
+
const disposeHighlighting = monaco.languages.setMonarchTokensProvider(languageId, {
|
|
9
|
+
defaultToken: "",
|
|
10
|
+
tokenPostfix: ".sql",
|
|
11
|
+
ignoreCase: true,
|
|
12
|
+
brackets: [
|
|
13
|
+
{ open: "[", close: "]", token: "delimiter.square" },
|
|
14
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
15
|
+
],
|
|
16
|
+
keywords: [
|
|
17
|
+
"ABORT",
|
|
18
|
+
"ABSOLUTE",
|
|
19
|
+
"ACTION",
|
|
20
|
+
"ADA",
|
|
21
|
+
"ADD",
|
|
22
|
+
"AFTER",
|
|
23
|
+
"ALL",
|
|
24
|
+
"ALLOCATE",
|
|
25
|
+
"ALTER",
|
|
26
|
+
"ALWAYS",
|
|
27
|
+
"ANALYZE",
|
|
28
|
+
"AND",
|
|
29
|
+
"ANY",
|
|
30
|
+
"ARE",
|
|
31
|
+
"AS",
|
|
32
|
+
"ASC",
|
|
33
|
+
"ASSERTION",
|
|
34
|
+
"AT",
|
|
35
|
+
"ATTACH",
|
|
36
|
+
"AUTHORIZATION",
|
|
37
|
+
"AUTOINCREMENT",
|
|
38
|
+
"AVG",
|
|
39
|
+
"BACKUP",
|
|
40
|
+
"BEFORE",
|
|
41
|
+
"BEGIN",
|
|
42
|
+
"BETWEEN",
|
|
43
|
+
"BIT",
|
|
44
|
+
"BIT_LENGTH",
|
|
45
|
+
"BOTH",
|
|
46
|
+
"BREAK",
|
|
47
|
+
"BROWSE",
|
|
48
|
+
"BULK",
|
|
49
|
+
"BY",
|
|
50
|
+
"CASCADE",
|
|
51
|
+
"CASCADED",
|
|
52
|
+
"CASE",
|
|
53
|
+
"CAST",
|
|
54
|
+
"CATALOG",
|
|
55
|
+
"CHAR",
|
|
56
|
+
"CHARACTER",
|
|
57
|
+
"CHARACTER_LENGTH",
|
|
58
|
+
"CHAR_LENGTH",
|
|
59
|
+
"CHECK",
|
|
60
|
+
"CHECKPOINT",
|
|
61
|
+
"CLOSE",
|
|
62
|
+
"CLUSTERED",
|
|
63
|
+
"COALESCE",
|
|
64
|
+
"COLLATE",
|
|
65
|
+
"COLLATION",
|
|
66
|
+
"COLUMN",
|
|
67
|
+
"COMMIT",
|
|
68
|
+
"COMPUTE",
|
|
69
|
+
"CONFLICT",
|
|
70
|
+
"CONNECT",
|
|
71
|
+
"CONNECTION",
|
|
72
|
+
"CONSTRAINT",
|
|
73
|
+
"CONSTRAINTS",
|
|
74
|
+
"CONTAINS",
|
|
75
|
+
"CONTAINSTABLE",
|
|
76
|
+
"CONTINUE",
|
|
77
|
+
"CONVERT",
|
|
78
|
+
"CORRESPONDING",
|
|
79
|
+
"COUNT",
|
|
80
|
+
"CREATE",
|
|
81
|
+
"CROSS",
|
|
82
|
+
"CURRENT",
|
|
83
|
+
"CURRENT_DATE",
|
|
84
|
+
"CURRENT_TIME",
|
|
85
|
+
"CURRENT_TIMESTAMP",
|
|
86
|
+
"CURRENT_USER",
|
|
87
|
+
"CURSOR",
|
|
88
|
+
"DATABASE",
|
|
89
|
+
"DATE",
|
|
90
|
+
"DAY",
|
|
91
|
+
"DBCC",
|
|
92
|
+
"DEALLOCATE",
|
|
93
|
+
"DEC",
|
|
94
|
+
"DECIMAL",
|
|
95
|
+
"DECLARE",
|
|
96
|
+
"DEFAULT",
|
|
97
|
+
"DEFERRABLE",
|
|
98
|
+
"DEFERRED",
|
|
99
|
+
"DELETE",
|
|
100
|
+
"DENY",
|
|
101
|
+
"DESC",
|
|
102
|
+
"DESCRIBE",
|
|
103
|
+
"DESCRIPTOR",
|
|
104
|
+
"DETACH",
|
|
105
|
+
"DIAGNOSTICS",
|
|
106
|
+
"DISCONNECT",
|
|
107
|
+
"DISK",
|
|
108
|
+
"DISTINCT",
|
|
109
|
+
"DISTRIBUTED",
|
|
110
|
+
"DO",
|
|
111
|
+
"DOMAIN",
|
|
112
|
+
"DOUBLE",
|
|
113
|
+
"DROP",
|
|
114
|
+
"DUMP",
|
|
115
|
+
"EACH",
|
|
116
|
+
"ELSE",
|
|
117
|
+
"END",
|
|
118
|
+
"END-EXEC",
|
|
119
|
+
"ERRLVL",
|
|
120
|
+
"ESCAPE",
|
|
121
|
+
"EXCEPT",
|
|
122
|
+
"EXCEPTION",
|
|
123
|
+
"EXCLUDE",
|
|
124
|
+
"EXCLUSIVE",
|
|
125
|
+
"EXEC",
|
|
126
|
+
"EXECUTE",
|
|
127
|
+
"EXISTS",
|
|
128
|
+
"EXIT",
|
|
129
|
+
"EXPLAIN",
|
|
130
|
+
"EXTERNAL",
|
|
131
|
+
"EXTRACT",
|
|
132
|
+
"FAIL",
|
|
133
|
+
"FALSE",
|
|
134
|
+
"FETCH",
|
|
135
|
+
"FILE",
|
|
136
|
+
"FILLFACTOR",
|
|
137
|
+
"FILTER",
|
|
138
|
+
"FIRST",
|
|
139
|
+
"FLOAT",
|
|
140
|
+
"FOLLOWING",
|
|
141
|
+
"FOR",
|
|
142
|
+
"FOREIGN",
|
|
143
|
+
"FORTRAN",
|
|
144
|
+
"FOUND",
|
|
145
|
+
"FREETEXT",
|
|
146
|
+
"FREETEXTTABLE",
|
|
147
|
+
"FROM",
|
|
148
|
+
"FULL",
|
|
149
|
+
"FUNCTION",
|
|
150
|
+
"GENERATED",
|
|
151
|
+
"GET",
|
|
152
|
+
"GLOB",
|
|
153
|
+
"GLOBAL",
|
|
154
|
+
"GO",
|
|
155
|
+
"GOTO",
|
|
156
|
+
"GRANT",
|
|
157
|
+
"GROUP",
|
|
158
|
+
"GROUPS",
|
|
159
|
+
"HAVING",
|
|
160
|
+
"HOLDLOCK",
|
|
161
|
+
"HOUR",
|
|
162
|
+
"IDENTITY",
|
|
163
|
+
"IDENTITYCOL",
|
|
164
|
+
"IDENTITY_INSERT",
|
|
165
|
+
"IF",
|
|
166
|
+
"IGNORE",
|
|
167
|
+
"IMMEDIATE",
|
|
168
|
+
"IN",
|
|
169
|
+
"INCLUDE",
|
|
170
|
+
"INDEX",
|
|
171
|
+
"INDEXED",
|
|
172
|
+
"INDICATOR",
|
|
173
|
+
"INITIALLY",
|
|
174
|
+
"INNER",
|
|
175
|
+
"INPUT",
|
|
176
|
+
"INSENSITIVE",
|
|
177
|
+
"INSERT",
|
|
178
|
+
"INSTEAD",
|
|
179
|
+
"INT",
|
|
180
|
+
"INTEGER",
|
|
181
|
+
"INTERSECT",
|
|
182
|
+
"INTERVAL",
|
|
183
|
+
"INTO",
|
|
184
|
+
"IS",
|
|
185
|
+
"ISNULL",
|
|
186
|
+
"ISOLATION",
|
|
187
|
+
"JOIN",
|
|
188
|
+
"KEY",
|
|
189
|
+
"KILL",
|
|
190
|
+
"LANGUAGE",
|
|
191
|
+
"LAST",
|
|
192
|
+
"LEADING",
|
|
193
|
+
"LEFT",
|
|
194
|
+
"LEVEL",
|
|
195
|
+
"LIKE",
|
|
196
|
+
"LIMIT",
|
|
197
|
+
"LINENO",
|
|
198
|
+
"LOAD",
|
|
199
|
+
"LOCAL",
|
|
200
|
+
"LOWER",
|
|
201
|
+
"MATCH",
|
|
202
|
+
"MATERIALIZED",
|
|
203
|
+
"MAX",
|
|
204
|
+
"MERGE",
|
|
205
|
+
"MIN",
|
|
206
|
+
"MINUTE",
|
|
207
|
+
"MODULE",
|
|
208
|
+
"MONTH",
|
|
209
|
+
"NAMES",
|
|
210
|
+
"NATIONAL",
|
|
211
|
+
"NATURAL",
|
|
212
|
+
"NCHAR",
|
|
213
|
+
"NEXT",
|
|
214
|
+
"NO",
|
|
215
|
+
"NOCHECK",
|
|
216
|
+
"NONCLUSTERED",
|
|
217
|
+
"NONE",
|
|
218
|
+
"NOT",
|
|
219
|
+
"NOTHING",
|
|
220
|
+
"NOTNULL",
|
|
221
|
+
"NULL",
|
|
222
|
+
"NULLIF",
|
|
223
|
+
"NULLS",
|
|
224
|
+
"NUMERIC",
|
|
225
|
+
"OCTET_LENGTH",
|
|
226
|
+
"OF",
|
|
227
|
+
"OFF",
|
|
228
|
+
"OFFSET",
|
|
229
|
+
"OFFSETS",
|
|
230
|
+
"ON",
|
|
231
|
+
"ONLY",
|
|
232
|
+
"OPEN",
|
|
233
|
+
"OPENDATASOURCE",
|
|
234
|
+
"OPENQUERY",
|
|
235
|
+
"OPENROWSET",
|
|
236
|
+
"OPENXML",
|
|
237
|
+
"OPTION",
|
|
238
|
+
"OR",
|
|
239
|
+
"ORDER",
|
|
240
|
+
"OTHERS",
|
|
241
|
+
"OUTER",
|
|
242
|
+
"OUTPUT",
|
|
243
|
+
"OVER",
|
|
244
|
+
"OVERLAPS",
|
|
245
|
+
"PAD",
|
|
246
|
+
"PARTIAL",
|
|
247
|
+
"PARTITION",
|
|
248
|
+
"PASCAL",
|
|
249
|
+
"PERCENT",
|
|
250
|
+
"PIVOT",
|
|
251
|
+
"PLAN",
|
|
252
|
+
"POSITION",
|
|
253
|
+
"PRAGMA",
|
|
254
|
+
"PRECEDING",
|
|
255
|
+
"PRECISION",
|
|
256
|
+
"PREPARE",
|
|
257
|
+
"PRESERVE",
|
|
258
|
+
"PRIMARY",
|
|
259
|
+
"PRINT",
|
|
260
|
+
"PRIOR",
|
|
261
|
+
"PRIVILEGES",
|
|
262
|
+
"PROC",
|
|
263
|
+
"PROCEDURE",
|
|
264
|
+
"PUBLIC",
|
|
265
|
+
"QUERY",
|
|
266
|
+
"RAISE",
|
|
267
|
+
"RAISERROR",
|
|
268
|
+
"RANGE",
|
|
269
|
+
"READ",
|
|
270
|
+
"READTEXT",
|
|
271
|
+
"REAL",
|
|
272
|
+
"RECONFIGURE",
|
|
273
|
+
"RECURSIVE",
|
|
274
|
+
"REFERENCES",
|
|
275
|
+
"REGEXP",
|
|
276
|
+
"REINDEX",
|
|
277
|
+
"RELATIVE",
|
|
278
|
+
"RELEASE",
|
|
279
|
+
"RENAME",
|
|
280
|
+
"REPLACE",
|
|
281
|
+
"REPLICATION",
|
|
282
|
+
"RESTORE",
|
|
283
|
+
"RESTRICT",
|
|
284
|
+
"RETURN",
|
|
285
|
+
"RETURNING",
|
|
286
|
+
"REVERT",
|
|
287
|
+
"REVOKE",
|
|
288
|
+
"RIGHT",
|
|
289
|
+
"ROLLBACK",
|
|
290
|
+
"ROW",
|
|
291
|
+
"ROWCOUNT",
|
|
292
|
+
"ROWGUIDCOL",
|
|
293
|
+
"ROWS",
|
|
294
|
+
"RULE",
|
|
295
|
+
"SAVE",
|
|
296
|
+
"SAVEPOINT",
|
|
297
|
+
"SCHEMA",
|
|
298
|
+
"SCROLL",
|
|
299
|
+
"SECOND",
|
|
300
|
+
"SECTION",
|
|
301
|
+
"SECURITYAUDIT",
|
|
302
|
+
"SELECT",
|
|
303
|
+
"SEMANTICKEYPHRASETABLE",
|
|
304
|
+
"SEMANTICSIMILARITYDETAILSTABLE",
|
|
305
|
+
"SEMANTICSIMILARITYTABLE",
|
|
306
|
+
"SESSION",
|
|
307
|
+
"SESSION_USER",
|
|
308
|
+
"SET",
|
|
309
|
+
"SETUSER",
|
|
310
|
+
"SHUTDOWN",
|
|
311
|
+
"SIZE",
|
|
312
|
+
"SMALLINT",
|
|
313
|
+
"SOME",
|
|
314
|
+
"SPACE",
|
|
315
|
+
"SQL",
|
|
316
|
+
"SQLCA",
|
|
317
|
+
"SQLCODE",
|
|
318
|
+
"SQLERROR",
|
|
319
|
+
"SQLSTATE",
|
|
320
|
+
"SQLWARNING",
|
|
321
|
+
"STATISTICS",
|
|
322
|
+
"SUBSTRING",
|
|
323
|
+
"SUM",
|
|
324
|
+
"SYSTEM_USER",
|
|
325
|
+
"TABLE",
|
|
326
|
+
"TABLESAMPLE",
|
|
327
|
+
"TEMP",
|
|
328
|
+
"TEMPORARY",
|
|
329
|
+
"TEXTSIZE",
|
|
330
|
+
"THEN",
|
|
331
|
+
"TIES",
|
|
332
|
+
"TIME",
|
|
333
|
+
"TIMESTAMP",
|
|
334
|
+
"TIMEZONE_HOUR",
|
|
335
|
+
"TIMEZONE_MINUTE",
|
|
336
|
+
"TO",
|
|
337
|
+
"TOP",
|
|
338
|
+
"TRAILING",
|
|
339
|
+
"TRAN",
|
|
340
|
+
"TRANSACTION",
|
|
341
|
+
"TRANSLATE",
|
|
342
|
+
"TRANSLATION",
|
|
343
|
+
"TRIGGER",
|
|
344
|
+
"TRIM",
|
|
345
|
+
"TRUE",
|
|
346
|
+
"TRUNCATE",
|
|
347
|
+
"TRY_CONVERT",
|
|
348
|
+
"TSEQUAL",
|
|
349
|
+
"UNBOUNDED",
|
|
350
|
+
"UNION",
|
|
351
|
+
"UNIQUE",
|
|
352
|
+
"UNKNOWN",
|
|
353
|
+
"UNPIVOT",
|
|
354
|
+
"UPDATE",
|
|
355
|
+
"UPDATETEXT",
|
|
356
|
+
"UPPER",
|
|
357
|
+
"USAGE",
|
|
358
|
+
"USE",
|
|
359
|
+
"USER",
|
|
360
|
+
"USING",
|
|
361
|
+
"VACUUM",
|
|
362
|
+
"VALUE",
|
|
363
|
+
"VALUES",
|
|
364
|
+
"VARCHAR",
|
|
365
|
+
"VARYING",
|
|
366
|
+
"VIEW",
|
|
367
|
+
"VIRTUAL",
|
|
368
|
+
"WAITFOR",
|
|
369
|
+
"WHEN",
|
|
370
|
+
"WHENEVER",
|
|
371
|
+
"WHERE",
|
|
372
|
+
"WHILE",
|
|
373
|
+
"WINDOW",
|
|
374
|
+
"WITH",
|
|
375
|
+
"WITHIN GROUP",
|
|
376
|
+
"WITHOUT",
|
|
377
|
+
"WORK",
|
|
378
|
+
"WRITE",
|
|
379
|
+
"WRITETEXT",
|
|
380
|
+
"YEAR",
|
|
381
|
+
"ZONE",
|
|
382
|
+
],
|
|
383
|
+
operators: [
|
|
384
|
+
"ALL",
|
|
385
|
+
"AND",
|
|
386
|
+
"ANY",
|
|
387
|
+
"BETWEEN",
|
|
388
|
+
"EXISTS",
|
|
389
|
+
"IN",
|
|
390
|
+
"LIKE",
|
|
391
|
+
"NOT",
|
|
392
|
+
"OR",
|
|
393
|
+
"SOME",
|
|
394
|
+
"EXCEPT",
|
|
395
|
+
"INTERSECT",
|
|
396
|
+
"UNION",
|
|
397
|
+
"APPLY",
|
|
398
|
+
"CROSS",
|
|
399
|
+
"FULL",
|
|
400
|
+
"INNER",
|
|
401
|
+
"JOIN",
|
|
402
|
+
"LEFT",
|
|
403
|
+
"OUTER",
|
|
404
|
+
"RIGHT",
|
|
405
|
+
"CONTAINS",
|
|
406
|
+
"FREETEXT",
|
|
407
|
+
"IS",
|
|
408
|
+
"NULL",
|
|
409
|
+
"PIVOT",
|
|
410
|
+
"UNPIVOT",
|
|
411
|
+
"MATCHED",
|
|
412
|
+
],
|
|
413
|
+
builtinFunctions: [
|
|
414
|
+
"AVG",
|
|
415
|
+
"CHECKSUM_AGG",
|
|
416
|
+
"COUNT",
|
|
417
|
+
"COUNT_BIG",
|
|
418
|
+
"GROUPING",
|
|
419
|
+
"GROUPING_ID",
|
|
420
|
+
"MAX",
|
|
421
|
+
"MIN",
|
|
422
|
+
"SUM",
|
|
423
|
+
"STDEV",
|
|
424
|
+
"STDEVP",
|
|
425
|
+
"VAR",
|
|
426
|
+
"VARP",
|
|
427
|
+
"CUME_DIST",
|
|
428
|
+
"FIRST_VALUE",
|
|
429
|
+
"LAG",
|
|
430
|
+
"LAST_VALUE",
|
|
431
|
+
"LEAD",
|
|
432
|
+
"PERCENTILE_CONT",
|
|
433
|
+
"PERCENTILE_DISC",
|
|
434
|
+
"PERCENT_RANK",
|
|
435
|
+
"COLLATE",
|
|
436
|
+
"COLLATIONPROPERTY",
|
|
437
|
+
"TERTIARY_WEIGHTS",
|
|
438
|
+
"FEDERATION_FILTERING_VALUE",
|
|
439
|
+
"CAST",
|
|
440
|
+
"CONVERT",
|
|
441
|
+
"PARSE",
|
|
442
|
+
"TRY_CAST",
|
|
443
|
+
"TRY_CONVERT",
|
|
444
|
+
"TRY_PARSE",
|
|
445
|
+
"ASYMKEY_ID",
|
|
446
|
+
"ASYMKEYPROPERTY",
|
|
447
|
+
"CERTPROPERTY",
|
|
448
|
+
"CERT_ID",
|
|
449
|
+
"CRYPT_GEN_RANDOM",
|
|
450
|
+
"DECRYPTBYASYMKEY",
|
|
451
|
+
"DECRYPTBYCERT",
|
|
452
|
+
"DECRYPTBYKEY",
|
|
453
|
+
"DECRYPTBYKEYAUTOASYMKEY",
|
|
454
|
+
"DECRYPTBYKEYAUTOCERT",
|
|
455
|
+
"DECRYPTBYPASSPHRASE",
|
|
456
|
+
"ENCRYPTBYASYMKEY",
|
|
457
|
+
"ENCRYPTBYCERT",
|
|
458
|
+
"ENCRYPTBYKEY",
|
|
459
|
+
"ENCRYPTBYPASSPHRASE",
|
|
460
|
+
"HASHBYTES",
|
|
461
|
+
"IS_OBJECTSIGNED",
|
|
462
|
+
"KEY_GUID",
|
|
463
|
+
"KEY_ID",
|
|
464
|
+
"KEY_NAME",
|
|
465
|
+
"SIGNBYASYMKEY",
|
|
466
|
+
"SIGNBYCERT",
|
|
467
|
+
"SYMKEYPROPERTY",
|
|
468
|
+
"VERIFYSIGNEDBYCERT",
|
|
469
|
+
"VERIFYSIGNEDBYASYMKEY",
|
|
470
|
+
"CURSOR_STATUS",
|
|
471
|
+
"DATALENGTH",
|
|
472
|
+
"IDENT_CURRENT",
|
|
473
|
+
"IDENT_INCR",
|
|
474
|
+
"IDENT_SEED",
|
|
475
|
+
"IDENTITY",
|
|
476
|
+
"SQL_VARIANT_PROPERTY",
|
|
477
|
+
"CURRENT_TIMESTAMP",
|
|
478
|
+
"DATEADD",
|
|
479
|
+
"DATEDIFF",
|
|
480
|
+
"DATEFROMPARTS",
|
|
481
|
+
"DATENAME",
|
|
482
|
+
"DATEPART",
|
|
483
|
+
"DATETIME2FROMPARTS",
|
|
484
|
+
"DATETIMEFROMPARTS",
|
|
485
|
+
"DATETIMEOFFSETFROMPARTS",
|
|
486
|
+
"DAY",
|
|
487
|
+
"EOMONTH",
|
|
488
|
+
"GETDATE",
|
|
489
|
+
"GETUTCDATE",
|
|
490
|
+
"ISDATE",
|
|
491
|
+
"MONTH",
|
|
492
|
+
"SMALLDATETIMEFROMPARTS",
|
|
493
|
+
"SWITCHOFFSET",
|
|
494
|
+
"SYSDATETIME",
|
|
495
|
+
"SYSDATETIMEOFFSET",
|
|
496
|
+
"SYSUTCDATETIME",
|
|
497
|
+
"TIMEFROMPARTS",
|
|
498
|
+
"TODATETIMEOFFSET",
|
|
499
|
+
"YEAR",
|
|
500
|
+
"CHOOSE",
|
|
501
|
+
"COALESCE",
|
|
502
|
+
"IIF",
|
|
503
|
+
"NULLIF",
|
|
504
|
+
"ABS",
|
|
505
|
+
"ACOS",
|
|
506
|
+
"ASIN",
|
|
507
|
+
"ATAN",
|
|
508
|
+
"ATN2",
|
|
509
|
+
"CEILING",
|
|
510
|
+
"COS",
|
|
511
|
+
"COT",
|
|
512
|
+
"DEGREES",
|
|
513
|
+
"EXP",
|
|
514
|
+
"FLOOR",
|
|
515
|
+
"LOG",
|
|
516
|
+
"LOG10",
|
|
517
|
+
"PI",
|
|
518
|
+
"POWER",
|
|
519
|
+
"RADIANS",
|
|
520
|
+
"RAND",
|
|
521
|
+
"ROUND",
|
|
522
|
+
"SIGN",
|
|
523
|
+
"SIN",
|
|
524
|
+
"SQRT",
|
|
525
|
+
"SQUARE",
|
|
526
|
+
"TAN",
|
|
527
|
+
"APP_NAME",
|
|
528
|
+
"APPLOCK_MODE",
|
|
529
|
+
"APPLOCK_TEST",
|
|
530
|
+
"ASSEMBLYPROPERTY",
|
|
531
|
+
"COL_LENGTH",
|
|
532
|
+
"COL_NAME",
|
|
533
|
+
"COLUMNPROPERTY",
|
|
534
|
+
"DATABASE_PRINCIPAL_ID",
|
|
535
|
+
"DATABASEPROPERTYEX",
|
|
536
|
+
"DB_ID",
|
|
537
|
+
"DB_NAME",
|
|
538
|
+
"FILE_ID",
|
|
539
|
+
"FILE_IDEX",
|
|
540
|
+
"FILE_NAME",
|
|
541
|
+
"FILEGROUP_ID",
|
|
542
|
+
"FILEGROUP_NAME",
|
|
543
|
+
"FILEGROUPPROPERTY",
|
|
544
|
+
"FILEPROPERTY",
|
|
545
|
+
"FULLTEXTCATALOGPROPERTY",
|
|
546
|
+
"FULLTEXTSERVICEPROPERTY",
|
|
547
|
+
"INDEX_COL",
|
|
548
|
+
"INDEXKEY_PROPERTY",
|
|
549
|
+
"INDEXPROPERTY",
|
|
550
|
+
"OBJECT_DEFINITION",
|
|
551
|
+
"OBJECT_ID",
|
|
552
|
+
"OBJECT_NAME",
|
|
553
|
+
"OBJECT_SCHEMA_NAME",
|
|
554
|
+
"OBJECTPROPERTY",
|
|
555
|
+
"OBJECTPROPERTYEX",
|
|
556
|
+
"ORIGINAL_DB_NAME",
|
|
557
|
+
"PARSENAME",
|
|
558
|
+
"SCHEMA_ID",
|
|
559
|
+
"SCHEMA_NAME",
|
|
560
|
+
"SCOPE_IDENTITY",
|
|
561
|
+
"SERVERPROPERTY",
|
|
562
|
+
"STATS_DATE",
|
|
563
|
+
"TYPE_ID",
|
|
564
|
+
"TYPE_NAME",
|
|
565
|
+
"TYPEPROPERTY",
|
|
566
|
+
"DENSE_RANK",
|
|
567
|
+
"NTILE",
|
|
568
|
+
"RANK",
|
|
569
|
+
"ROW_NUMBER",
|
|
570
|
+
"PUBLISHINGSERVERNAME",
|
|
571
|
+
"OPENDATASOURCE",
|
|
572
|
+
"OPENQUERY",
|
|
573
|
+
"OPENROWSET",
|
|
574
|
+
"OPENXML",
|
|
575
|
+
"CERTENCODED",
|
|
576
|
+
"CERTPRIVATEKEY",
|
|
577
|
+
"CURRENT_USER",
|
|
578
|
+
"HAS_DBACCESS",
|
|
579
|
+
"HAS_PERMS_BY_NAME",
|
|
580
|
+
"IS_MEMBER",
|
|
581
|
+
"IS_ROLEMEMBER",
|
|
582
|
+
"IS_SRVROLEMEMBER",
|
|
583
|
+
"LOGINPROPERTY",
|
|
584
|
+
"ORIGINAL_LOGIN",
|
|
585
|
+
"PERMISSIONS",
|
|
586
|
+
"PWDENCRYPT",
|
|
587
|
+
"PWDCOMPARE",
|
|
588
|
+
"SESSION_USER",
|
|
589
|
+
"SESSIONPROPERTY",
|
|
590
|
+
"SUSER_ID",
|
|
591
|
+
"SUSER_NAME",
|
|
592
|
+
"SUSER_SID",
|
|
593
|
+
"SUSER_SNAME",
|
|
594
|
+
"SYSTEM_USER",
|
|
595
|
+
"USER",
|
|
596
|
+
"USER_ID",
|
|
597
|
+
"USER_NAME",
|
|
598
|
+
"ASCII",
|
|
599
|
+
"CHAR",
|
|
600
|
+
"CHARINDEX",
|
|
601
|
+
"CONCAT",
|
|
602
|
+
"DIFFERENCE",
|
|
603
|
+
"FORMAT",
|
|
604
|
+
"LEFT",
|
|
605
|
+
"LEN",
|
|
606
|
+
"LOWER",
|
|
607
|
+
"LTRIM",
|
|
608
|
+
"NCHAR",
|
|
609
|
+
"PATINDEX",
|
|
610
|
+
"QUOTENAME",
|
|
611
|
+
"REPLACE",
|
|
612
|
+
"REPLICATE",
|
|
613
|
+
"REVERSE",
|
|
614
|
+
"RIGHT",
|
|
615
|
+
"RTRIM",
|
|
616
|
+
"SOUNDEX",
|
|
617
|
+
"SPACE",
|
|
618
|
+
"STR",
|
|
619
|
+
"STUFF",
|
|
620
|
+
"SUBSTRING",
|
|
621
|
+
"UNICODE",
|
|
622
|
+
"UPPER",
|
|
623
|
+
"BINARY_CHECKSUM",
|
|
624
|
+
"CHECKSUM",
|
|
625
|
+
"CONNECTIONPROPERTY",
|
|
626
|
+
"CONTEXT_INFO",
|
|
627
|
+
"CURRENT_REQUEST_ID",
|
|
628
|
+
"ERROR_LINE",
|
|
629
|
+
"ERROR_NUMBER",
|
|
630
|
+
"ERROR_MESSAGE",
|
|
631
|
+
"ERROR_PROCEDURE",
|
|
632
|
+
"ERROR_SEVERITY",
|
|
633
|
+
"ERROR_STATE",
|
|
634
|
+
"FORMATMESSAGE",
|
|
635
|
+
"GETANSINULL",
|
|
636
|
+
"GET_FILESTREAM_TRANSACTION_CONTEXT",
|
|
637
|
+
"HOST_ID",
|
|
638
|
+
"HOST_NAME",
|
|
639
|
+
"ISNULL",
|
|
640
|
+
"ISNUMERIC",
|
|
641
|
+
"MIN_ACTIVE_ROWVERSION",
|
|
642
|
+
"NEWID",
|
|
643
|
+
"NEWSEQUENTIALID",
|
|
644
|
+
"ROWCOUNT_BIG",
|
|
645
|
+
"XACT_STATE",
|
|
646
|
+
"TEXTPTR",
|
|
647
|
+
"TEXTVALID",
|
|
648
|
+
"COLUMNS_UPDATED",
|
|
649
|
+
"EVENTDATA",
|
|
650
|
+
"TRIGGER_NESTLEVEL",
|
|
651
|
+
"UPDATE",
|
|
652
|
+
"CHANGETABLE",
|
|
653
|
+
"CHANGE_TRACKING_CONTEXT",
|
|
654
|
+
"CHANGE_TRACKING_CURRENT_VERSION",
|
|
655
|
+
"CHANGE_TRACKING_IS_COLUMN_IN_MASK",
|
|
656
|
+
"CHANGE_TRACKING_MIN_VALID_VERSION",
|
|
657
|
+
"CONTAINSTABLE",
|
|
658
|
+
"FREETEXTTABLE",
|
|
659
|
+
"SEMANTICKEYPHRASETABLE",
|
|
660
|
+
"SEMANTICSIMILARITYDETAILSTABLE",
|
|
661
|
+
"SEMANTICSIMILARITYTABLE",
|
|
662
|
+
"FILETABLEROOTPATH",
|
|
663
|
+
"GETFILENAMESPACEPATH",
|
|
664
|
+
"GETPATHLOCATOR",
|
|
665
|
+
"PATHNAME",
|
|
666
|
+
"GET_TRANSMISSION_STATUS",
|
|
667
|
+
],
|
|
668
|
+
builtinVariables: [
|
|
669
|
+
"@@DATEFIRST",
|
|
670
|
+
"@@DBTS",
|
|
671
|
+
"@@LANGID",
|
|
672
|
+
"@@LANGUAGE",
|
|
673
|
+
"@@LOCK_TIMEOUT",
|
|
674
|
+
"@@MAX_CONNECTIONS",
|
|
675
|
+
"@@MAX_PRECISION",
|
|
676
|
+
"@@NESTLEVEL",
|
|
677
|
+
"@@OPTIONS",
|
|
678
|
+
"@@REMSERVER",
|
|
679
|
+
"@@SERVERNAME",
|
|
680
|
+
"@@SERVICENAME",
|
|
681
|
+
"@@SPID",
|
|
682
|
+
"@@TEXTSIZE",
|
|
683
|
+
"@@VERSION",
|
|
684
|
+
"@@CURSOR_ROWS",
|
|
685
|
+
"@@FETCH_STATUS",
|
|
686
|
+
"@@DATEFIRST",
|
|
687
|
+
"@@PROCID",
|
|
688
|
+
"@@ERROR",
|
|
689
|
+
"@@IDENTITY",
|
|
690
|
+
"@@ROWCOUNT",
|
|
691
|
+
"@@TRANCOUNT",
|
|
692
|
+
"@@CONNECTIONS",
|
|
693
|
+
"@@CPU_BUSY",
|
|
694
|
+
"@@IDLE",
|
|
695
|
+
"@@IO_BUSY",
|
|
696
|
+
"@@PACKET_ERRORS",
|
|
697
|
+
"@@PACK_RECEIVED",
|
|
698
|
+
"@@PACK_SENT",
|
|
699
|
+
"@@TIMETICKS",
|
|
700
|
+
"@@TOTAL_ERRORS",
|
|
701
|
+
"@@TOTAL_READ",
|
|
702
|
+
"@@TOTAL_WRITE",
|
|
703
|
+
],
|
|
704
|
+
pseudoColumns: ["$ACTION", "$IDENTITY", "$ROWGUID", "$PARTITION"],
|
|
705
|
+
tokenizer: {
|
|
706
|
+
root: [
|
|
707
|
+
{ include: "@comments" },
|
|
708
|
+
{ include: "@whitespace" },
|
|
709
|
+
{ include: "@pseudoColumns" },
|
|
710
|
+
{ include: "@numbers" },
|
|
711
|
+
{ include: "@strings" },
|
|
712
|
+
{ include: "@complexIdentifiers" },
|
|
713
|
+
{ include: "@scopes" },
|
|
714
|
+
[/[;,.]/, "delimiter"],
|
|
715
|
+
[/[()]/, "@brackets"],
|
|
716
|
+
[
|
|
717
|
+
/[\w@#$]+/,
|
|
718
|
+
{
|
|
719
|
+
cases: {
|
|
720
|
+
"@operators": "operator",
|
|
721
|
+
"@builtinVariables": "predefined",
|
|
722
|
+
"@builtinFunctions": "predefined",
|
|
723
|
+
"@keywords": "keyword",
|
|
724
|
+
"@default": "identifier",
|
|
725
|
+
},
|
|
726
|
+
},
|
|
727
|
+
],
|
|
728
|
+
[/[<>=!%&+\-*/|~^]/, "operator"],
|
|
729
|
+
],
|
|
730
|
+
whitespace: [[/\s+/, "white"]],
|
|
731
|
+
comments: [
|
|
732
|
+
[/-{2}.*/, "comment"],
|
|
733
|
+
[/\/\*/, { token: "comment.quote", next: "@comment" }],
|
|
734
|
+
],
|
|
735
|
+
comment: [
|
|
736
|
+
[/[^*/]+/, "comment"],
|
|
737
|
+
[/\*\//, { token: "comment.quote", next: "@pop" }],
|
|
738
|
+
[/./, "comment"],
|
|
739
|
+
],
|
|
740
|
+
pseudoColumns: [
|
|
741
|
+
[
|
|
742
|
+
/\$[A-Za-z_][\w@#$]*/,
|
|
743
|
+
{
|
|
744
|
+
cases: {
|
|
745
|
+
"@pseudoColumns": "predefined",
|
|
746
|
+
"@default": "identifier",
|
|
747
|
+
},
|
|
748
|
+
},
|
|
749
|
+
],
|
|
750
|
+
],
|
|
751
|
+
numbers: [
|
|
752
|
+
[/0[xX][0-9a-fA-F]*/, "number"],
|
|
753
|
+
[/\$[+-]*\d*(\.\d*)?/, "number"],
|
|
754
|
+
[/((\d+(\.\d*)?)|(\.\d+))([eE][-+]?\d+)?/, "number"],
|
|
755
|
+
],
|
|
756
|
+
strings: [
|
|
757
|
+
[/N'/, { token: "string", next: "@string" }],
|
|
758
|
+
[/'/, { token: "string", next: "@string" }],
|
|
759
|
+
],
|
|
760
|
+
string: [
|
|
761
|
+
[/[^']+/, "string"],
|
|
762
|
+
[/''/, "string"],
|
|
763
|
+
[/'/, { token: "string", next: "@pop" }],
|
|
764
|
+
],
|
|
765
|
+
complexIdentifiers: [
|
|
766
|
+
[/\[/, { token: "identifier.quote", next: "@bracketedIdentifier" }],
|
|
767
|
+
[/"/, { token: "identifier.quote", next: "@quotedIdentifier" }],
|
|
768
|
+
],
|
|
769
|
+
bracketedIdentifier: [
|
|
770
|
+
[/[^\]]+/, "identifier"],
|
|
771
|
+
[/\]\]/, "identifier"],
|
|
772
|
+
[/\]/, { token: "identifier.quote", next: "@pop" }],
|
|
773
|
+
],
|
|
774
|
+
quotedIdentifier: [
|
|
775
|
+
[/[^"]+/, "identifier"],
|
|
776
|
+
[/""/, "identifier"],
|
|
777
|
+
[/"/, { token: "identifier.quote", next: "@pop" }],
|
|
778
|
+
],
|
|
779
|
+
scopes: [
|
|
780
|
+
[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i, "keyword"],
|
|
781
|
+
[/BEGIN\s+TRY\b/i, { token: "keyword.try" }],
|
|
782
|
+
[/END\s+TRY\b/i, { token: "keyword.try" }],
|
|
783
|
+
[/BEGIN\s+CATCH\b/i, { token: "keyword.catch" }],
|
|
784
|
+
[/END\s+CATCH\b/i, { token: "keyword.catch" }],
|
|
785
|
+
[/(BEGIN|CASE)\b/i, { token: "keyword.block" }],
|
|
786
|
+
[/END\b/i, { token: "keyword.block" }],
|
|
787
|
+
[/WHEN\b/i, { token: "keyword.choice" }],
|
|
788
|
+
[/THEN\b/i, { token: "keyword.choice" }],
|
|
789
|
+
],
|
|
790
|
+
},
|
|
791
|
+
});
|
|
792
|
+
return () => {
|
|
793
|
+
disposeHighlighting.dispose();
|
|
794
|
+
};
|
|
795
|
+
}, [languageId]);
|
|
796
|
+
}
|