igniteui-angular-core 17.3.1-alpha.0 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-core.umd.js +6635 -5654
- package/bundles/igniteui-angular-core.umd.min.js +2 -2
- package/esm2015/lib/AbsoluteVolumeOscillatorIndicatorDescription.js +6 -6
- package/esm2015/lib/AnchoredCategorySeriesDescription.js +36 -36
- package/esm2015/lib/AnchoredRadialSeriesDescription.js +33 -33
- package/esm2015/lib/AnnotationLayerDescription.js +63 -63
- package/esm2015/lib/AreaSeriesDescription.js +3 -3
- package/esm2015/lib/AssigningSeriesShapeStyleEventArgsBaseDescription.js +12 -12
- package/esm2015/lib/AssigningSeriesStyleEventArgsBaseDescription.js +138 -50
- package/esm2015/lib/AssigningSeriesStyleEventArgsBaseDescriptionMetadata.js +11 -0
- package/esm2015/lib/AverageDirectionalIndexIndicatorDescription.js +3 -3
- package/esm2015/lib/AverageTrueRangeIndicatorDescription.js +3 -3
- package/esm2015/lib/BarSeriesDescription.js +6 -6
- package/esm2015/lib/BollingerBandWidthIndicatorDescription.js +6 -6
- package/esm2015/lib/BollingerBandsOverlayDescription.js +6 -6
- package/esm2015/lib/Brush_combined.js +3 -0
- package/esm2015/lib/BubbleSeriesDescription.js +40 -40
- package/esm2015/lib/CalloutLayerDescription.js +117 -109
- package/esm2015/lib/CalloutLayerDescriptionMetadata.js +2 -0
- package/esm2015/lib/CategoryChartDescription.js +134 -134
- package/esm2015/lib/CategoryDateTimeXAxisDescription.js +27 -19
- package/esm2015/lib/CategoryDateTimeXAxisDescriptionMetadata.js +1 -0
- package/esm2015/lib/CategoryHighlightLayerDescription.js +9 -9
- package/esm2015/lib/CategoryItemHighlightLayerDescription.js +30 -30
- package/esm2015/lib/CategorySeriesDescription.js +21 -21
- package/esm2015/lib/CategoryToolTipLayerDescription.js +6 -6
- package/esm2015/lib/ChaikinOscillatorIndicatorDescription.js +6 -6
- package/esm2015/lib/ChaikinVolatilityIndicatorDescription.js +3 -3
- package/esm2015/lib/ChartSelectionDescription.js +8 -6
- package/esm2015/lib/ChartSelectionDescriptionMetadata.js +2 -1
- package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +228 -180
- package/esm2015/lib/CodeGeneratingComponentRendererDataEmitter.js +105 -88
- package/esm2015/lib/CodeGenerationLibraryItemContentLocation.js +2 -1
- package/esm2015/lib/CodeGenerationRendererOptions.js +1 -1
- package/esm2015/lib/ColumnFragmentDescription.js +6 -6
- package/esm2015/lib/ColumnSeriesDescription.js +9 -9
- package/esm2015/lib/CommodityChannelIndexIndicatorDescription.js +3 -3
- package/esm2015/lib/ComponentRendererAdapter.js +19 -10
- package/esm2015/lib/ComponentRendererMethodHelper.js +2 -2
- package/esm2015/lib/ComponentRendererMethodHelperBuilder_combined.js +11 -1
- package/esm2015/lib/ComponentRenderer_combined.js +6 -3
- package/esm2015/lib/CrosshairLayerDescription.js +91 -91
- package/esm2015/lib/DataChartDescription.js +99 -99
- package/esm2015/lib/DataSourceLocalDataProvider.js +49 -16
- package/esm2015/lib/DataToolTipLayerDescription.js +401 -401
- package/esm2015/lib/DescriptionSerializer.js +4 -0
- package/esm2015/lib/DescriptionTreeReconciler.js +64 -50
- package/esm2015/lib/DetrendedPriceOscillatorIndicatorDescription.js +3 -3
- package/esm2015/lib/DomainChartDescription.js +865 -793
- package/esm2015/lib/DomainChartDescriptionMetadata.js +14 -0
- package/esm2015/lib/FastStochasticOscillatorIndicatorDescription.js +3 -3
- package/esm2015/lib/FinalValueLayerDescription.js +42 -42
- package/esm2015/lib/FinancialChartDescription.js +183 -183
- package/esm2015/lib/FinancialIndicatorDescription.js +24 -24
- package/esm2015/lib/FinancialOverlayDescription.js +3 -3
- package/esm2015/lib/FinancialPriceSeriesDescription.js +47 -47
- package/esm2015/lib/FinancialSeriesDescription.js +56 -56
- package/esm2015/lib/ForceIndexIndicatorDescription.js +3 -3
- package/esm2015/lib/FullStochasticOscillatorIndicatorDescription.js +9 -9
- package/esm2015/lib/GeographicContourLineSeriesDescription.js +15 -15
- package/esm2015/lib/GeographicHighDensityScatterSeriesDescription.js +33 -33
- package/esm2015/lib/GeographicMapImageryDescription_combined.js +42 -42
- package/esm2015/lib/GeographicMapSeriesHostDescription.js +6 -6
- package/esm2015/lib/GeographicMarkerSeriesDescription.js +33 -33
- package/esm2015/lib/GeographicPolylineSeriesDescription.js +18 -18
- package/esm2015/lib/GeographicProportionalSymbolSeriesDescription.js +54 -54
- package/esm2015/lib/GeographicScatterAreaSeriesDescription.js +12 -12
- package/esm2015/lib/GeographicShapeSeriesBaseDescription.js +30 -30
- package/esm2015/lib/GeographicShapeSeriesDescription.js +51 -51
- package/esm2015/lib/GeographicSymbolSeriesDescription.js +27 -27
- package/esm2015/lib/GeographicTileSeriesDescription.js +6 -6
- package/esm2015/lib/GeographicXYTriangulatingSeriesDescription.js +18 -18
- package/esm2015/lib/HighDensityScatterSeriesDescription.js +51 -51
- package/esm2015/lib/HorizontalAnchoredCategorySeriesDescription.js +6 -6
- package/esm2015/lib/HorizontalRangeCategorySeriesDescription.js +18 -18
- package/esm2015/lib/HorizontalStackedSeriesBaseDescription.js +6 -6
- package/esm2015/lib/ItemToolTipLayerDescription.js +12 -12
- package/esm2015/lib/LineSeriesDescription.js +3 -3
- package/esm2015/lib/MarkerSeriesDescription.js +38 -30
- package/esm2015/lib/MarkerSeriesDescriptionMetadata.js +2 -0
- package/esm2015/lib/MoneyFlowIndexIndicatorDescription.js +3 -3
- package/esm2015/lib/MovingAverageConvergenceDivergenceIndicatorDescription.js +9 -9
- package/esm2015/lib/PagedDataSource.js +1 -1
- package/esm2015/lib/PercentagePriceOscillatorIndicatorDescription.js +6 -6
- package/esm2015/lib/PercentageVolumeOscillatorIndicatorDescription.js +6 -6
- package/esm2015/lib/PlotAreaMouseButtonEventArgsDescriptionMetadata_combined.js +17 -0
- package/esm2015/lib/PolarAreaSeriesDescription.js +3 -3
- package/esm2015/lib/PolarBaseDescription.js +81 -81
- package/esm2015/lib/PolarLineSeriesDescription.js +3 -3
- package/esm2015/lib/PolarSplineAreaSeriesDescription.js +3 -3
- package/esm2015/lib/PolarSplineSeriesDescription.js +3 -3
- package/esm2015/lib/PriceChannelOverlayDescription.js +3 -3
- package/esm2015/lib/RadialAreaSeriesDescription.js +3 -3
- package/esm2015/lib/RadialBaseDescription.js +21 -21
- package/esm2015/lib/RadialColumnSeriesDescription.js +6 -6
- package/esm2015/lib/RadialLineSeriesDescription.js +3 -3
- package/esm2015/lib/RadialPieSeriesDescription.js +6 -6
- package/esm2015/lib/RangeCategorySeriesDescription.js +12 -12
- package/esm2015/lib/RangeColumnSeriesDescription.js +6 -6
- package/esm2015/lib/RateOfChangeAndMomentumIndicatorDescription.js +3 -3
- package/esm2015/lib/RelativeStrengthIndexIndicatorDescription.js +3 -3
- package/esm2015/lib/ScatterAreaSeriesDescription.js +15 -15
- package/esm2015/lib/ScatterBaseDescription.js +77 -77
- package/esm2015/lib/ScatterContourSeriesDescription.js +18 -18
- package/esm2015/lib/ScatterLineSeriesDescription.js +3 -3
- package/esm2015/lib/ScatterPolygonSeriesDescription.js +36 -36
- package/esm2015/lib/ScatterPolylineSeriesDescription.js +3 -3
- package/esm2015/lib/ScatterSplineSeriesDescription.js +3 -3
- package/esm2015/lib/ScatterTriangulationSeriesDescription.js +39 -39
- package/esm2015/lib/SeriesDescription.js +258 -194
- package/esm2015/lib/SeriesDescriptionMetadata.js +12 -0
- package/esm2015/lib/SeriesViewerDescription.js +472 -376
- package/esm2015/lib/ShapeSeriesBaseDescription.js +42 -42
- package/esm2015/lib/SlowStochasticOscillatorIndicatorDescription.js +3 -3
- package/esm2015/lib/SplineSeriesBaseDescription.js +6 -6
- package/esm2015/lib/StackedBarSeriesDescription.js +6 -6
- package/esm2015/lib/StackedColumnSeriesDescription.js +6 -6
- package/esm2015/lib/StackedSeriesBaseDescription.js +12 -12
- package/esm2015/lib/StackedSplineAreaSeriesDescription.js +3 -3
- package/esm2015/lib/StackedSplineSeriesDescription.js +3 -3
- package/esm2015/lib/StandardDeviationIndicatorDescription.js +3 -3
- package/esm2015/lib/StochRSIIndicatorDescription.js +3 -3
- package/esm2015/lib/TRIXIndicatorDescription.js +3 -3
- package/esm2015/lib/TileSeriesDescription.js +3 -3
- package/esm2015/lib/ToolCommandDescriptionMetadata.js +5 -0
- package/esm2015/lib/TransitionOutCompletedEventArgsDescription.js +26 -0
- package/esm2015/lib/TransitionOutCompletedEventArgsDescriptionMetadata.js +36 -0
- package/esm2015/lib/ValueLayerDescription.js +104 -104
- package/esm2015/lib/ValueLayerDescriptionMetadata.js +2 -2
- package/esm2015/lib/ValueOverlayDescription.js +42 -42
- package/esm2015/lib/VerticalAnchoredCategorySeriesDescription.js +6 -6
- package/esm2015/lib/VerticalStackedSeriesBaseDescription.js +6 -6
- package/esm2015/lib/WaterfallSeriesDescription.js +12 -12
- package/esm2015/lib/WebBaseSearchInfoDescription.js +66 -0
- package/esm2015/lib/WebBaseSearchInfoDescriptionMetadata.js +48 -0
- package/esm2015/lib/WebColumnStateDescription.js +93 -61
- package/esm2015/lib/WebColumnStateDescriptionMetadata.js +4 -0
- package/esm2015/lib/WebGridResourceStringsDescription.js +306 -298
- package/esm2015/lib/WebGridResourceStringsDescriptionMetadata.js +1 -0
- package/esm2015/lib/WebInputDescription.js +45 -37
- package/esm2015/lib/WebInputDescriptionMetadata.js +1 -0
- package/esm2015/lib/WebPivotConfigurationDescriptionMetadata.js +9 -4
- package/esm2015/lib/WebSearchInfoDescription.js +12 -39
- package/esm2015/lib/WebSearchInfoDescriptionMetadata.js +4 -4
- package/esm2015/lib/WebTextareaDescription.js +53 -45
- package/esm2015/lib/WebTextareaDescriptionMetadata.js +1 -0
- package/esm2015/lib/WilliamsPercentRIndicatorDescription.js +3 -3
- package/esm2015/lib/XYChartDescription.js +204 -204
- package/esm2015/lib/type.js +1 -1
- package/esm2015/public_api.js +4 -0
- package/esm5/lib/AbsoluteVolumeOscillatorIndicatorDescription.js +6 -6
- package/esm5/lib/AnchoredCategorySeriesDescription.js +36 -36
- package/esm5/lib/AnchoredRadialSeriesDescription.js +33 -33
- package/esm5/lib/AnnotationLayerDescription.js +63 -63
- package/esm5/lib/AreaSeriesDescription.js +3 -3
- package/esm5/lib/AssigningSeriesShapeStyleEventArgsBaseDescription.js +12 -12
- package/esm5/lib/AssigningSeriesStyleEventArgsBaseDescription.js +181 -49
- package/esm5/lib/AssigningSeriesStyleEventArgsBaseDescriptionMetadata.js +11 -0
- package/esm5/lib/AverageDirectionalIndexIndicatorDescription.js +3 -3
- package/esm5/lib/AverageTrueRangeIndicatorDescription.js +3 -3
- package/esm5/lib/BarSeriesDescription.js +6 -6
- package/esm5/lib/BollingerBandWidthIndicatorDescription.js +6 -6
- package/esm5/lib/BollingerBandsOverlayDescription.js +6 -6
- package/esm5/lib/Brush_combined.js +3 -0
- package/esm5/lib/BubbleSeriesDescription.js +40 -40
- package/esm5/lib/CalloutLayerDescription.js +121 -109
- package/esm5/lib/CalloutLayerDescriptionMetadata.js +2 -0
- package/esm5/lib/CategoryChartDescription.js +134 -134
- package/esm5/lib/CategoryDateTimeXAxisDescription.js +31 -19
- package/esm5/lib/CategoryDateTimeXAxisDescriptionMetadata.js +1 -0
- package/esm5/lib/CategoryHighlightLayerDescription.js +9 -9
- package/esm5/lib/CategoryItemHighlightLayerDescription.js +30 -30
- package/esm5/lib/CategorySeriesDescription.js +21 -21
- package/esm5/lib/CategoryToolTipLayerDescription.js +6 -6
- package/esm5/lib/ChaikinOscillatorIndicatorDescription.js +6 -6
- package/esm5/lib/ChaikinVolatilityIndicatorDescription.js +3 -3
- package/esm5/lib/ChartSelectionDescription.js +7 -5
- package/esm5/lib/ChartSelectionDescriptionMetadata.js +2 -1
- package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +229 -181
- package/esm5/lib/CodeGeneratingComponentRendererDataEmitter.js +109 -88
- package/esm5/lib/CodeGenerationLibraryItemContentLocation.js +2 -1
- package/esm5/lib/CodeGenerationRendererOptions.js +1 -1
- package/esm5/lib/ColumnFragmentDescription.js +6 -6
- package/esm5/lib/ColumnSeriesDescription.js +9 -9
- package/esm5/lib/CommodityChannelIndexIndicatorDescription.js +3 -3
- package/esm5/lib/ComponentRendererAdapter.js +19 -10
- package/esm5/lib/ComponentRendererMethodHelper.js +5 -2
- package/esm5/lib/ComponentRendererMethodHelperBuilder_combined.js +11 -1
- package/esm5/lib/ComponentRenderer_combined.js +6 -3
- package/esm5/lib/CrosshairLayerDescription.js +91 -91
- package/esm5/lib/DataChartDescription.js +99 -99
- package/esm5/lib/DataSourceLocalDataProvider.js +49 -16
- package/esm5/lib/DataToolTipLayerDescription.js +401 -401
- package/esm5/lib/DescriptionSerializer.js +4 -0
- package/esm5/lib/DescriptionTreeReconciler.js +64 -50
- package/esm5/lib/DetrendedPriceOscillatorIndicatorDescription.js +3 -3
- package/esm5/lib/DomainChartDescription.js +918 -810
- package/esm5/lib/DomainChartDescriptionMetadata.js +14 -0
- package/esm5/lib/FastStochasticOscillatorIndicatorDescription.js +3 -3
- package/esm5/lib/FinalValueLayerDescription.js +42 -42
- package/esm5/lib/FinancialChartDescription.js +183 -183
- package/esm5/lib/FinancialIndicatorDescription.js +24 -24
- package/esm5/lib/FinancialOverlayDescription.js +3 -3
- package/esm5/lib/FinancialPriceSeriesDescription.js +47 -47
- package/esm5/lib/FinancialSeriesDescription.js +56 -56
- package/esm5/lib/ForceIndexIndicatorDescription.js +3 -3
- package/esm5/lib/FullStochasticOscillatorIndicatorDescription.js +9 -9
- package/esm5/lib/GeographicContourLineSeriesDescription.js +15 -15
- package/esm5/lib/GeographicHighDensityScatterSeriesDescription.js +33 -33
- package/esm5/lib/GeographicMapImageryDescription_combined.js +42 -42
- package/esm5/lib/GeographicMapSeriesHostDescription.js +6 -6
- package/esm5/lib/GeographicMarkerSeriesDescription.js +33 -33
- package/esm5/lib/GeographicPolylineSeriesDescription.js +18 -18
- package/esm5/lib/GeographicProportionalSymbolSeriesDescription.js +54 -54
- package/esm5/lib/GeographicScatterAreaSeriesDescription.js +12 -12
- package/esm5/lib/GeographicShapeSeriesBaseDescription.js +30 -30
- package/esm5/lib/GeographicShapeSeriesDescription.js +51 -51
- package/esm5/lib/GeographicSymbolSeriesDescription.js +27 -27
- package/esm5/lib/GeographicTileSeriesDescription.js +6 -6
- package/esm5/lib/GeographicXYTriangulatingSeriesDescription.js +18 -18
- package/esm5/lib/HighDensityScatterSeriesDescription.js +51 -51
- package/esm5/lib/HorizontalAnchoredCategorySeriesDescription.js +6 -6
- package/esm5/lib/HorizontalRangeCategorySeriesDescription.js +18 -18
- package/esm5/lib/HorizontalStackedSeriesBaseDescription.js +6 -6
- package/esm5/lib/ItemToolTipLayerDescription.js +12 -12
- package/esm5/lib/LineSeriesDescription.js +3 -3
- package/esm5/lib/MarkerSeriesDescription.js +42 -30
- package/esm5/lib/MarkerSeriesDescriptionMetadata.js +2 -0
- package/esm5/lib/MoneyFlowIndexIndicatorDescription.js +3 -3
- package/esm5/lib/MovingAverageConvergenceDivergenceIndicatorDescription.js +9 -9
- package/esm5/lib/PagedDataSource.js +1 -1
- package/esm5/lib/PercentagePriceOscillatorIndicatorDescription.js +6 -6
- package/esm5/lib/PercentageVolumeOscillatorIndicatorDescription.js +6 -6
- package/esm5/lib/PlotAreaMouseButtonEventArgsDescriptionMetadata_combined.js +17 -0
- package/esm5/lib/PolarAreaSeriesDescription.js +3 -3
- package/esm5/lib/PolarBaseDescription.js +81 -81
- package/esm5/lib/PolarLineSeriesDescription.js +3 -3
- package/esm5/lib/PolarSplineAreaSeriesDescription.js +3 -3
- package/esm5/lib/PolarSplineSeriesDescription.js +3 -3
- package/esm5/lib/PriceChannelOverlayDescription.js +3 -3
- package/esm5/lib/RadialAreaSeriesDescription.js +3 -3
- package/esm5/lib/RadialBaseDescription.js +21 -21
- package/esm5/lib/RadialColumnSeriesDescription.js +6 -6
- package/esm5/lib/RadialLineSeriesDescription.js +3 -3
- package/esm5/lib/RadialPieSeriesDescription.js +6 -6
- package/esm5/lib/RangeCategorySeriesDescription.js +12 -12
- package/esm5/lib/RangeColumnSeriesDescription.js +6 -6
- package/esm5/lib/RateOfChangeAndMomentumIndicatorDescription.js +3 -3
- package/esm5/lib/RelativeStrengthIndexIndicatorDescription.js +3 -3
- package/esm5/lib/ScatterAreaSeriesDescription.js +15 -15
- package/esm5/lib/ScatterBaseDescription.js +77 -77
- package/esm5/lib/ScatterContourSeriesDescription.js +18 -18
- package/esm5/lib/ScatterLineSeriesDescription.js +3 -3
- package/esm5/lib/ScatterPolygonSeriesDescription.js +36 -36
- package/esm5/lib/ScatterPolylineSeriesDescription.js +3 -3
- package/esm5/lib/ScatterSplineSeriesDescription.js +3 -3
- package/esm5/lib/ScatterTriangulationSeriesDescription.js +39 -39
- package/esm5/lib/SeriesDescription.js +289 -193
- package/esm5/lib/SeriesDescriptionMetadata.js +12 -0
- package/esm5/lib/SeriesViewerDescription.js +525 -381
- package/esm5/lib/ShapeSeriesBaseDescription.js +42 -42
- package/esm5/lib/SlowStochasticOscillatorIndicatorDescription.js +3 -3
- package/esm5/lib/SplineSeriesBaseDescription.js +6 -6
- package/esm5/lib/StackedBarSeriesDescription.js +6 -6
- package/esm5/lib/StackedColumnSeriesDescription.js +6 -6
- package/esm5/lib/StackedSeriesBaseDescription.js +12 -12
- package/esm5/lib/StackedSplineAreaSeriesDescription.js +3 -3
- package/esm5/lib/StackedSplineSeriesDescription.js +3 -3
- package/esm5/lib/StandardDeviationIndicatorDescription.js +3 -3
- package/esm5/lib/StochRSIIndicatorDescription.js +3 -3
- package/esm5/lib/TRIXIndicatorDescription.js +3 -3
- package/esm5/lib/TileSeriesDescription.js +3 -3
- package/esm5/lib/ToolCommandDescriptionMetadata.js +5 -0
- package/esm5/lib/TransitionOutCompletedEventArgsDescription.js +31 -0
- package/esm5/lib/TransitionOutCompletedEventArgsDescriptionMetadata.js +40 -0
- package/esm5/lib/ValueLayerDescription.js +112 -112
- package/esm5/lib/ValueLayerDescriptionMetadata.js +2 -2
- package/esm5/lib/ValueOverlayDescription.js +42 -42
- package/esm5/lib/VerticalAnchoredCategorySeriesDescription.js +6 -6
- package/esm5/lib/VerticalStackedSeriesBaseDescription.js +6 -6
- package/esm5/lib/WaterfallSeriesDescription.js +12 -12
- package/esm5/lib/WebBaseSearchInfoDescription.js +92 -0
- package/esm5/lib/WebBaseSearchInfoDescriptionMetadata.js +52 -0
- package/esm5/lib/WebColumnStateDescription.js +109 -61
- package/esm5/lib/WebColumnStateDescriptionMetadata.js +4 -0
- package/esm5/lib/WebGridResourceStringsDescription.js +309 -297
- package/esm5/lib/WebGridResourceStringsDescriptionMetadata.js +1 -0
- package/esm5/lib/WebInputDescription.js +49 -37
- package/esm5/lib/WebInputDescriptionMetadata.js +1 -0
- package/esm5/lib/WebPivotConfigurationDescriptionMetadata.js +9 -4
- package/esm5/lib/WebSearchInfoDescription.js +11 -54
- package/esm5/lib/WebSearchInfoDescriptionMetadata.js +4 -4
- package/esm5/lib/WebTextareaDescription.js +57 -45
- package/esm5/lib/WebTextareaDescriptionMetadata.js +1 -0
- package/esm5/lib/WilliamsPercentRIndicatorDescription.js +3 -3
- package/esm5/lib/XYChartDescription.js +204 -204
- package/esm5/lib/type.js +1 -1
- package/esm5/public_api.js +4 -0
- package/fesm2015/igniteui-angular-core.js +6296 -5541
- package/fesm5/igniteui-angular-core.js +6632 -5655
- package/lib/AbsoluteVolumeOscillatorIndicatorDescription.d.ts +2 -2
- package/lib/AnchoredCategorySeriesDescription.d.ts +12 -12
- package/lib/AnchoredRadialSeriesDescription.d.ts +11 -11
- package/lib/AnnotationLayerDescription.d.ts +21 -21
- package/lib/AreaSeriesDescription.d.ts +1 -1
- package/lib/AssigningSeriesShapeStyleEventArgsBaseDescription.d.ts +4 -4
- package/lib/AssigningSeriesStyleEventArgsBaseDescription.d.ts +50 -17
- package/lib/AverageDirectionalIndexIndicatorDescription.d.ts +1 -1
- package/lib/AverageTrueRangeIndicatorDescription.d.ts +1 -1
- package/lib/BarSeriesDescription.d.ts +2 -2
- package/lib/BollingerBandWidthIndicatorDescription.d.ts +2 -2
- package/lib/BollingerBandsOverlayDescription.d.ts +2 -2
- package/lib/BubbleSeriesDescription.d.ts +14 -14
- package/lib/CalloutLayerDescription.d.ts +40 -37
- package/lib/CategoryChartDescription.d.ts +45 -45
- package/lib/CategoryDateTimeXAxisDescription.d.ts +10 -7
- package/lib/CategoryHighlightLayerDescription.d.ts +3 -3
- package/lib/CategoryItemHighlightLayerDescription.d.ts +10 -10
- package/lib/CategorySeriesDescription.d.ts +7 -7
- package/lib/CategoryToolTipLayerDescription.d.ts +2 -2
- package/lib/ChaikinOscillatorIndicatorDescription.d.ts +2 -2
- package/lib/ChaikinVolatilityIndicatorDescription.d.ts +1 -1
- package/lib/ChartSelectionDescription.d.ts +6 -4
- package/lib/CodeGeneratingComponentRendererCodeEmitter_combined.d.ts +40 -39
- package/lib/CodeGeneratingComponentRendererDataEmitter.d.ts +24 -22
- package/lib/CodeGenerationLibraryItemContentLocation.d.ts +2 -1
- package/lib/ColumnFragmentDescription.d.ts +2 -2
- package/lib/ColumnSeriesDescription.d.ts +3 -3
- package/lib/CommodityChannelIndexIndicatorDescription.d.ts +1 -1
- package/lib/ComponentRendererMethodHelper.d.ts +1 -1
- package/lib/ComponentRendererMethodHelperBuilder_combined.d.ts +2 -1
- package/lib/CrosshairLayerDescription.d.ts +31 -31
- package/lib/DataChartDescription.d.ts +33 -33
- package/lib/DataSourceLocalDataProvider.d.ts +8 -7
- package/lib/DataToolTipLayerDescription.d.ts +142 -142
- package/lib/DetrendedPriceOscillatorIndicatorDescription.d.ts +1 -1
- package/lib/DomainChartDescription.d.ts +311 -283
- package/lib/FastStochasticOscillatorIndicatorDescription.d.ts +1 -1
- package/lib/FinalValueLayerDescription.d.ts +14 -14
- package/lib/FinancialChartDescription.d.ts +61 -61
- package/lib/FinancialIndicatorDescription.d.ts +8 -8
- package/lib/FinancialOverlayDescription.d.ts +1 -1
- package/lib/FinancialPriceSeriesDescription.d.ts +16 -16
- package/lib/FinancialSeriesDescription.d.ts +19 -19
- package/lib/ForceIndexIndicatorDescription.d.ts +1 -1
- package/lib/FullStochasticOscillatorIndicatorDescription.d.ts +3 -3
- package/lib/GeographicContourLineSeriesDescription.d.ts +5 -5
- package/lib/GeographicHighDensityScatterSeriesDescription.d.ts +11 -11
- package/lib/GeographicMapImageryDescription_combined.d.ts +14 -14
- package/lib/GeographicMapSeriesHostDescription.d.ts +2 -2
- package/lib/GeographicMarkerSeriesDescription.d.ts +11 -11
- package/lib/GeographicPolylineSeriesDescription.d.ts +6 -6
- package/lib/GeographicProportionalSymbolSeriesDescription.d.ts +18 -18
- package/lib/GeographicScatterAreaSeriesDescription.d.ts +4 -4
- package/lib/GeographicShapeSeriesBaseDescription.d.ts +10 -10
- package/lib/GeographicShapeSeriesDescription.d.ts +17 -17
- package/lib/GeographicSymbolSeriesDescription.d.ts +9 -9
- package/lib/GeographicTileSeriesDescription.d.ts +2 -2
- package/lib/GeographicXYTriangulatingSeriesDescription.d.ts +6 -6
- package/lib/HighDensityScatterSeriesDescription.d.ts +17 -17
- package/lib/HorizontalAnchoredCategorySeriesDescription.d.ts +2 -2
- package/lib/HorizontalRangeCategorySeriesDescription.d.ts +6 -6
- package/lib/HorizontalStackedSeriesBaseDescription.d.ts +2 -2
- package/lib/ItemToolTipLayerDescription.d.ts +4 -4
- package/lib/LineSeriesDescription.d.ts +1 -1
- package/lib/MarkerSeriesDescription.d.ts +13 -10
- package/lib/MoneyFlowIndexIndicatorDescription.d.ts +1 -1
- package/lib/MovingAverageConvergenceDivergenceIndicatorDescription.d.ts +3 -3
- package/lib/PercentagePriceOscillatorIndicatorDescription.d.ts +2 -2
- package/lib/PercentageVolumeOscillatorIndicatorDescription.d.ts +2 -2
- package/lib/PolarAreaSeriesDescription.d.ts +1 -1
- package/lib/PolarBaseDescription.d.ts +27 -27
- package/lib/PolarLineSeriesDescription.d.ts +1 -1
- package/lib/PolarSplineAreaSeriesDescription.d.ts +1 -1
- package/lib/PolarSplineSeriesDescription.d.ts +1 -1
- package/lib/PriceChannelOverlayDescription.d.ts +1 -1
- package/lib/RadialAreaSeriesDescription.d.ts +1 -1
- package/lib/RadialBaseDescription.d.ts +7 -7
- package/lib/RadialColumnSeriesDescription.d.ts +2 -2
- package/lib/RadialLineSeriesDescription.d.ts +1 -1
- package/lib/RadialPieSeriesDescription.d.ts +2 -2
- package/lib/RangeCategorySeriesDescription.d.ts +4 -4
- package/lib/RangeColumnSeriesDescription.d.ts +2 -2
- package/lib/RateOfChangeAndMomentumIndicatorDescription.d.ts +1 -1
- package/lib/RelativeStrengthIndexIndicatorDescription.d.ts +1 -1
- package/lib/ScatterAreaSeriesDescription.d.ts +5 -5
- package/lib/ScatterBaseDescription.d.ts +26 -26
- package/lib/ScatterContourSeriesDescription.d.ts +6 -6
- package/lib/ScatterLineSeriesDescription.d.ts +1 -1
- package/lib/ScatterPolygonSeriesDescription.d.ts +12 -12
- package/lib/ScatterPolylineSeriesDescription.d.ts +1 -1
- package/lib/ScatterSplineSeriesDescription.d.ts +1 -1
- package/lib/ScatterTriangulationSeriesDescription.d.ts +13 -13
- package/lib/SeriesDescription.d.ts +91 -67
- package/lib/SeriesViewerDescription.d.ts +170 -133
- package/lib/ShapeSeriesBaseDescription.d.ts +14 -14
- package/lib/SlowStochasticOscillatorIndicatorDescription.d.ts +1 -1
- package/lib/SplineSeriesBaseDescription.d.ts +2 -2
- package/lib/StackedBarSeriesDescription.d.ts +2 -2
- package/lib/StackedColumnSeriesDescription.d.ts +2 -2
- package/lib/StackedSeriesBaseDescription.d.ts +4 -4
- package/lib/StackedSplineAreaSeriesDescription.d.ts +1 -1
- package/lib/StackedSplineSeriesDescription.d.ts +1 -1
- package/lib/StandardDeviationIndicatorDescription.d.ts +1 -1
- package/lib/StochRSIIndicatorDescription.d.ts +1 -1
- package/lib/TRIXIndicatorDescription.d.ts +1 -1
- package/lib/TileSeriesDescription.d.ts +1 -1
- package/lib/ToolCommandDescriptionMetadata.d.ts +1 -0
- package/lib/TransitionOutCompletedEventArgsDescription.d.ts +11 -0
- package/lib/TransitionOutCompletedEventArgsDescriptionMetadata.d.ts +13 -0
- package/lib/ValueLayerDescription.d.ts +36 -36
- package/lib/ValueOverlayDescription.d.ts +14 -14
- package/lib/VerticalAnchoredCategorySeriesDescription.d.ts +2 -2
- package/lib/VerticalStackedSeriesBaseDescription.d.ts +2 -2
- package/lib/WaterfallSeriesDescription.d.ts +4 -4
- package/lib/WebBaseSearchInfoDescription.d.ts +26 -0
- package/lib/WebBaseSearchInfoDescriptionMetadata.d.ts +13 -0
- package/lib/WebColumnStateDescription.d.ts +34 -22
- package/lib/WebGridResourceStringsDescription.d.ts +115 -112
- package/lib/WebInputDescription.d.ts +16 -13
- package/lib/WebSearchInfoDescription.d.ts +6 -16
- package/lib/WebTextareaDescription.d.ts +19 -16
- package/lib/WilliamsPercentRIndicatorDescription.d.ts +1 -1
- package/lib/XYChartDescription.d.ts +76 -76
- package/package.json +4 -4
- package/public_api.d.ts +4 -0
|
@@ -5,7 +5,7 @@ https://www.infragistics.com/legal/license/igultimate-eula
|
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
7
|
import { __extends, __values } from "tslib";
|
|
8
|
-
import { Base, NotSupportedException, IList_$type, String_$type, typeCast, Array_$type, fromEnum, Boolean_$type, markType, EnumUtil, fromEn, Number_$type, Point_$type, typeGetValue, runOn } from "./type";
|
|
8
|
+
import { Base, NotSupportedException, IList_$type, String_$type, typeCast, Array_$type, fromEnum, Boolean_$type, markType, EnumUtil, fromEn, Number_$type, BaseError, getInstanceType, Point_$type, typeGetValue, runOn } from "./type";
|
|
9
9
|
import { CodeGenerationTargetPlatforms_$type } from "./CodeGenerationTargetPlatforms";
|
|
10
10
|
import { CodeGeneratingRendererResult } from "./CodeGeneratingRendererResult";
|
|
11
11
|
import { CodeGeneratingCodeWriter } from "./CodeGeneratingCodeWriter";
|
|
@@ -30,6 +30,7 @@ import { CodeGeneratingComponentRendererDataEmitter } from "./CodeGeneratingComp
|
|
|
30
30
|
import { Dictionary$2 } from "./Dictionary$2";
|
|
31
31
|
import { JsonDictionaryValue } from "./JsonDictionaryValue";
|
|
32
32
|
import { JsonDictionaryObject } from "./JsonDictionaryObject";
|
|
33
|
+
import { JsonDictionaryValueType_$type } from "./JsonDictionaryValueType";
|
|
33
34
|
import { JsonDictionaryArray } from "./JsonDictionaryArray";
|
|
34
35
|
import { isNaN_ } from "./number";
|
|
35
36
|
import { timeSpanFromMilliseconds } from "./timespan";
|
|
@@ -2382,10 +2383,10 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2382
2383
|
__extends(TSCodeGeneratingComponentRendererDataEmitter, _super);
|
|
2383
2384
|
function TSCodeGeneratingComponentRendererDataEmitter(a, b) {
|
|
2384
2385
|
var _this = _super.call(this, a, b) || this;
|
|
2385
|
-
_this.
|
|
2386
|
+
_this.am = new Dictionary$2(CodeGeneratingCodeWriter.$, Number_$type, 0);
|
|
2386
2387
|
return _this;
|
|
2387
2388
|
}
|
|
2388
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2389
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.x = function (a, b) {
|
|
2389
2390
|
if (b === void 0) {
|
|
2390
2391
|
b = false;
|
|
2391
2392
|
}
|
|
@@ -2396,28 +2397,28 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2396
2397
|
}
|
|
2397
2398
|
return a;
|
|
2398
2399
|
};
|
|
2399
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2400
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.w = function (a) {
|
|
2400
2401
|
a = stringReplace(a, "-", "_");
|
|
2401
2402
|
if (this.p.e) {
|
|
2402
2403
|
return a;
|
|
2403
2404
|
}
|
|
2404
2405
|
return CodeGeneratingComponentRenderer.er(a);
|
|
2405
2406
|
};
|
|
2406
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2407
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.aq = function (a) {
|
|
2407
2408
|
a = stringReplace(a, "-", "_");
|
|
2408
2409
|
return "_" + CodeGeneratingComponentRenderer.er(a);
|
|
2409
2410
|
};
|
|
2410
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2411
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.get_t = function () {
|
|
2411
2412
|
return ".ts";
|
|
2412
2413
|
};
|
|
2413
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2414
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.al = function (a, b, c, d, e, f) {
|
|
2414
2415
|
var e_7, _a;
|
|
2415
|
-
_super.prototype.
|
|
2416
|
-
var
|
|
2416
|
+
_super.prototype.al.call(this, a, b, c, d, e, f);
|
|
2417
|
+
var g = this.s(this.x(b, true), this.x(b, false), c, d);
|
|
2417
2418
|
try {
|
|
2418
|
-
for (var _b = __values(fromEnum(
|
|
2419
|
-
var
|
|
2420
|
-
this.
|
|
2419
|
+
for (var _b = __values(fromEnum(g)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2420
|
+
var h = _c.value;
|
|
2421
|
+
this.ad(h, e, f);
|
|
2421
2422
|
}
|
|
2422
2423
|
}
|
|
2423
2424
|
catch (e_7_1) {
|
|
@@ -2433,29 +2434,29 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2433
2434
|
throw e_7.error;
|
|
2434
2435
|
}
|
|
2435
2436
|
}
|
|
2436
|
-
var
|
|
2437
|
-
if (
|
|
2438
|
-
|
|
2437
|
+
var i = 0;
|
|
2438
|
+
if (f == this.k) {
|
|
2439
|
+
f.addPackageImport("./" + this.x(b, false), this.x(b, false));
|
|
2439
2440
|
}
|
|
2440
2441
|
else {
|
|
2441
|
-
|
|
2442
|
-
}
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
};
|
|
2456
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2457
|
-
_super.prototype.
|
|
2458
|
-
var d = this.p.cDNBasePath + this.
|
|
2442
|
+
f.addPackageImport("./" + this.x(b, false), this.x(b, false));
|
|
2443
|
+
}
|
|
2444
|
+
e.l("export class " + this.x(b, false) + " extends Array<" + this.x(b, true) + "> {");
|
|
2445
|
+
e.h();
|
|
2446
|
+
e.l("public constructor(items: Array<" + this.x(b, true) + "> | number = -1) {");
|
|
2447
|
+
e.h();
|
|
2448
|
+
e.l("if (Array.isArray(items)) {");
|
|
2449
|
+
e.h();
|
|
2450
|
+
e.l("super(...items);");
|
|
2451
|
+
e.f();
|
|
2452
|
+
e.l("} else {");
|
|
2453
|
+
e.h();
|
|
2454
|
+
e.l("const newItems = [");
|
|
2455
|
+
e.h();
|
|
2456
|
+
};
|
|
2457
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ah = function (a, b, c) {
|
|
2458
|
+
_super.prototype.ah.call(this, a, b, c);
|
|
2459
|
+
var d = this.p.cDNBasePath + this.x(a, false) + ".json";
|
|
2459
2460
|
var e = "";
|
|
2460
2461
|
if (this.n.platform == 2) {
|
|
2461
2462
|
e = "this.setState({}); ";
|
|
@@ -2466,93 +2467,98 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2466
2467
|
if (this.n.platform == 1) {
|
|
2467
2468
|
e = "this._detector.markForCheck(); ";
|
|
2468
2469
|
}
|
|
2469
|
-
var f = this.
|
|
2470
|
+
var f = this.x(a, false);
|
|
2470
2471
|
var g = "null";
|
|
2471
2472
|
switch (b) {
|
|
2473
|
+
case 3:
|
|
2472
2474
|
case 2:
|
|
2473
2475
|
f = "any[]";
|
|
2474
2476
|
break;
|
|
2475
2477
|
case 1:
|
|
2476
2478
|
f = "any[]";
|
|
2477
|
-
g = this.
|
|
2479
|
+
g = this.x(a, false);
|
|
2478
2480
|
break;
|
|
2479
2481
|
case 0: break;
|
|
2480
2482
|
}
|
|
2481
|
-
this.g.l("private " + this.
|
|
2482
|
-
if (b == 2 || (c != null && c.isAsync)) {
|
|
2483
|
-
this.g.l("private
|
|
2483
|
+
this.g.l("private " + this.aq(a) + ": " + f + " = " + g + ";");
|
|
2484
|
+
if ((b == 3 || b == 2) || (c != null && c.isAsync)) {
|
|
2485
|
+
this.g.l("private _isFetching: boolean = false;");
|
|
2484
2486
|
}
|
|
2485
2487
|
this.g.l("public get " + CodeGeneratingComponentRenderer.er(a) + "(): " + f + " {");
|
|
2486
2488
|
this.g.h();
|
|
2487
2489
|
if (c != null && c.isAsync) {
|
|
2488
|
-
this.g.l("if (this." + this.
|
|
2490
|
+
this.g.l("if (this." + this.aq(a) + " == null && !this._isFetching)");
|
|
2489
2491
|
this.g.l("{");
|
|
2490
2492
|
this.g.h();
|
|
2491
|
-
this.g.l("this.
|
|
2492
|
-
this.g.l("( async () => { this." + this.
|
|
2493
|
+
this.g.l("this._isFetching = true;");
|
|
2494
|
+
this.g.l("( async () => { this." + this.aq(a) + " = await (await " + this.x(a, false) + ".fetch()); " + e + " })();");
|
|
2493
2495
|
this.g.f();
|
|
2494
2496
|
this.g.l("}");
|
|
2495
2497
|
}
|
|
2496
2498
|
else {
|
|
2497
|
-
if (b == 2) {
|
|
2498
|
-
this.g.l("if (this." + this.
|
|
2499
|
+
if ((b == 3 || b == 2)) {
|
|
2500
|
+
this.g.l("if (this." + this.aq(a) + " == null && !this._isFetching)");
|
|
2499
2501
|
this.g.l("{");
|
|
2500
2502
|
this.g.h();
|
|
2501
|
-
this.g.l(this.
|
|
2502
|
-
this.g.l("( async () => {
|
|
2503
|
+
this.g.l("this._isFetching = true;");
|
|
2504
|
+
this.g.l("( async () => {");
|
|
2505
|
+
this.g.l(" const url = '" + d + "';");
|
|
2506
|
+
this.g.l(" this." + this.aq(a) + " = await (await fetch(url)).json();");
|
|
2507
|
+
this.g.l(" " + e);
|
|
2508
|
+
this.g.l("})();");
|
|
2503
2509
|
this.g.f();
|
|
2504
2510
|
this.g.l("}");
|
|
2505
2511
|
}
|
|
2506
2512
|
if (b == 0) {
|
|
2507
|
-
this.g.l("if (this." + this.
|
|
2513
|
+
this.g.l("if (this." + this.aq(a) + " == null)");
|
|
2508
2514
|
this.g.l("{");
|
|
2509
2515
|
this.g.h();
|
|
2510
|
-
this.g.l("this." + this.
|
|
2516
|
+
this.g.l("this." + this.aq(a) + " = new " + this.x(a, false) + "();");
|
|
2511
2517
|
this.g.f();
|
|
2512
2518
|
this.g.l("}");
|
|
2513
2519
|
}
|
|
2514
2520
|
}
|
|
2515
|
-
this.g.l("return this." + this.
|
|
2521
|
+
this.g.l("return this." + this.aq(a) + ";");
|
|
2516
2522
|
this.g.f();
|
|
2517
2523
|
this.g.l("}");
|
|
2518
2524
|
this.g.l("");
|
|
2519
2525
|
};
|
|
2520
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2521
|
-
_super.prototype.
|
|
2522
|
-
this.g.l("private " + this.
|
|
2523
|
-
this.g.l("public get " + CodeGeneratingComponentRenderer.er(a) + "(): " + this.
|
|
2526
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ai = function (a, b) {
|
|
2527
|
+
_super.prototype.ai.call(this, a, b);
|
|
2528
|
+
this.g.l("private " + this.aq(a) + ": " + this.an(b.e) + " = " + this.ao(b) + ";");
|
|
2529
|
+
this.g.l("public get " + CodeGeneratingComponentRenderer.er(a) + "(): " + this.an(b.e) + " {");
|
|
2524
2530
|
this.g.h();
|
|
2525
|
-
this.g.l("return this." + this.
|
|
2531
|
+
this.g.l("return this." + this.aq(a) + ";");
|
|
2526
2532
|
this.g.f();
|
|
2527
2533
|
this.g.l("}");
|
|
2528
2534
|
this.g.l("");
|
|
2529
2535
|
};
|
|
2530
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2531
|
-
_super.prototype.
|
|
2532
|
-
this.g.l("private " + this.
|
|
2533
|
-
this.g.l("public get " + CodeGeneratingComponentRenderer.er(a) + "(): " + this.
|
|
2536
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.aj = function (a, b, c, d) {
|
|
2537
|
+
_super.prototype.aj.call(this, a, b, c, d);
|
|
2538
|
+
this.g.l("private " + this.aq(a) + ": " + this.x(a, false) + "Item = null;");
|
|
2539
|
+
this.g.l("public get " + CodeGeneratingComponentRenderer.er(a) + "(): " + this.x(a, false) + "Item {");
|
|
2534
2540
|
this.g.h();
|
|
2535
|
-
this.g.l("if (this." + this.
|
|
2541
|
+
this.g.l("if (this." + this.aq(a) + " == null)");
|
|
2536
2542
|
this.g.l("{");
|
|
2537
2543
|
this.g.h();
|
|
2538
|
-
this.g.l("this." + this.
|
|
2539
|
-
this.
|
|
2544
|
+
this.g.l("this." + this.aq(a) + " = ");
|
|
2545
|
+
this.ar(this.x(a, true), b, c, d, this.g);
|
|
2540
2546
|
this.g.l("}");
|
|
2541
|
-
this.g.l("return this." + this.
|
|
2547
|
+
this.g.l("return this." + this.aq(a) + ";");
|
|
2542
2548
|
this.g.f();
|
|
2543
2549
|
this.g.l("}");
|
|
2544
2550
|
this.g.l("");
|
|
2545
2551
|
};
|
|
2546
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2552
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.z = function (a, b) {
|
|
2547
2553
|
b.addPackageImport("./" + a, a);
|
|
2548
2554
|
};
|
|
2549
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2555
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.aa = function (a, b, c) {
|
|
2550
2556
|
c.addDefaultImport("./" + b, a);
|
|
2551
2557
|
};
|
|
2552
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2558
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ab = function (a, b) {
|
|
2553
2559
|
this.l = CodeGeneratingImportManager.merge(this.l, b);
|
|
2554
2560
|
};
|
|
2555
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2561
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ad = function (a, b, c) {
|
|
2556
2562
|
var d = 0;
|
|
2557
2563
|
if (c == this.k) {
|
|
2558
2564
|
c.addPackageImport("./" + a.c, a.d);
|
|
@@ -2571,13 +2577,13 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2571
2577
|
for (var e = 0; e < a.a.length; e++) {
|
|
2572
2578
|
var f = a.a[e];
|
|
2573
2579
|
var g = a.b[e];
|
|
2574
|
-
b.l("public " + this.
|
|
2580
|
+
b.l("public " + this.w(f) + ": " + this.ap(a, f, g) + ";");
|
|
2575
2581
|
}
|
|
2576
2582
|
b.f();
|
|
2577
2583
|
b.l("");
|
|
2578
2584
|
b.l("}");
|
|
2579
2585
|
};
|
|
2580
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2586
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.an = function (a) {
|
|
2581
2587
|
switch (a) {
|
|
2582
2588
|
case 1: return "boolean";
|
|
2583
2589
|
case 0: return "number";
|
|
@@ -2586,12 +2592,12 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2586
2592
|
}
|
|
2587
2593
|
return "any";
|
|
2588
2594
|
};
|
|
2589
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2595
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ap = function (a, b, c) {
|
|
2590
2596
|
if (c.d) {
|
|
2591
|
-
return a.d + "_" + CodeGeneratingComponentRenderer.es(this.
|
|
2597
|
+
return a.d + "_" + CodeGeneratingComponentRenderer.es(this.w(b)) + "Item[]";
|
|
2592
2598
|
}
|
|
2593
2599
|
else if (c.f) {
|
|
2594
|
-
return a.d + "_" + this.
|
|
2600
|
+
return a.d + "_" + this.w(b);
|
|
2595
2601
|
}
|
|
2596
2602
|
else {
|
|
2597
2603
|
switch (c.c) {
|
|
@@ -2603,24 +2609,24 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2603
2609
|
}
|
|
2604
2610
|
return "any";
|
|
2605
2611
|
};
|
|
2606
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2607
|
-
_super.prototype.
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
};
|
|
2618
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2619
|
-
_super.prototype.
|
|
2620
|
-
this.
|
|
2621
|
-
|
|
2622
|
-
};
|
|
2623
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2612
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ak = function (a, b, c, d, e) {
|
|
2613
|
+
_super.prototype.ak.call(this, a, b, c, d, e);
|
|
2614
|
+
e.f();
|
|
2615
|
+
e.l("];");
|
|
2616
|
+
e.l("super(...(newItems.slice(0, items)));");
|
|
2617
|
+
e.f();
|
|
2618
|
+
e.l("}");
|
|
2619
|
+
e.f();
|
|
2620
|
+
e.l("}");
|
|
2621
|
+
e.f();
|
|
2622
|
+
e.l("}");
|
|
2623
|
+
};
|
|
2624
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.y = function (a, b, c, d, e, f, g) {
|
|
2625
|
+
_super.prototype.y.call(this, a, b, c, d, e, f, g);
|
|
2626
|
+
this.ar(this.x(b, true), c, d, e, g);
|
|
2627
|
+
g.l(",");
|
|
2628
|
+
};
|
|
2629
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ar = function (a, b, c, d, e) {
|
|
2624
2630
|
if (d == null) {
|
|
2625
2631
|
e.j("null");
|
|
2626
2632
|
return;
|
|
@@ -2634,7 +2640,7 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2634
2640
|
if (g > 0) {
|
|
2635
2641
|
e.l(",");
|
|
2636
2642
|
}
|
|
2637
|
-
this.
|
|
2643
|
+
this.ar(a, b, c, f.items[g], e);
|
|
2638
2644
|
}
|
|
2639
2645
|
}
|
|
2640
2646
|
e.f();
|
|
@@ -2651,18 +2657,18 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2651
2657
|
if (i > 0) {
|
|
2652
2658
|
e.l(",");
|
|
2653
2659
|
}
|
|
2654
|
-
e.j(this.
|
|
2660
|
+
e.j(this.w(j) + ": ");
|
|
2655
2661
|
if (k.d) {
|
|
2656
|
-
var l = a + "_" + CodeGeneratingComponentRenderer.es(this.
|
|
2657
|
-
this.
|
|
2662
|
+
var l = a + "_" + CodeGeneratingComponentRenderer.es(this.w(j)) + "Item";
|
|
2663
|
+
this.ar(l, k.a, k.b, h.item(j), e);
|
|
2658
2664
|
}
|
|
2659
2665
|
else if (k.f) {
|
|
2660
|
-
var m = a + "_" + CodeGeneratingComponentRenderer.es(this.
|
|
2661
|
-
this.
|
|
2666
|
+
var m = a + "_" + CodeGeneratingComponentRenderer.es(this.w(j));
|
|
2667
|
+
this.ar(m, k.a, k.b, h.item(j), e);
|
|
2662
2668
|
}
|
|
2663
2669
|
else {
|
|
2664
2670
|
var n = h.item(j);
|
|
2665
|
-
e.j(this.
|
|
2671
|
+
e.j(this.u(k, n));
|
|
2666
2672
|
}
|
|
2667
2673
|
}
|
|
2668
2674
|
e.l("");
|
|
@@ -2670,7 +2676,7 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2670
2676
|
e.j("})");
|
|
2671
2677
|
}
|
|
2672
2678
|
};
|
|
2673
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2679
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.u = function (a, b) {
|
|
2674
2680
|
if (b.value == null) {
|
|
2675
2681
|
return ("null");
|
|
2676
2682
|
}
|
|
@@ -2682,7 +2688,7 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2682
2688
|
}
|
|
2683
2689
|
return "";
|
|
2684
2690
|
};
|
|
2685
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2691
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ao = function (a) {
|
|
2686
2692
|
switch (a.e) {
|
|
2687
2693
|
case 1: return (a.value ? "true" : "false");
|
|
2688
2694
|
case 0: return (a.value.toString());
|
|
@@ -2941,29 +2947,29 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
2941
2947
|
__extends(DotNetCodeGeneratingComponentRendererDataEmitter, _super);
|
|
2942
2948
|
function DotNetCodeGeneratingComponentRendererDataEmitter(a, b) {
|
|
2943
2949
|
var _this = _super.call(this, a, b) || this;
|
|
2944
|
-
_this.
|
|
2950
|
+
_this.am = false;
|
|
2945
2951
|
return _this;
|
|
2946
2952
|
}
|
|
2947
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2948
|
-
_super.prototype.
|
|
2953
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ab = function (a, b) {
|
|
2954
|
+
_super.prototype.ab.call(this, a, b);
|
|
2949
2955
|
this.f.l("<Compile Include=\"" + a + ".cs\">");
|
|
2950
2956
|
this.f.h();
|
|
2951
2957
|
this.f.l("<SubType>Code</SubType>");
|
|
2952
2958
|
this.f.f();
|
|
2953
2959
|
this.f.l("</Compile>");
|
|
2954
2960
|
};
|
|
2955
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2961
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.af = function (a) {
|
|
2956
2962
|
a.l("using System;");
|
|
2957
2963
|
a.l("using System.Collections.Generic;");
|
|
2958
|
-
if (!this.
|
|
2959
|
-
this.
|
|
2964
|
+
if (!this.am) {
|
|
2965
|
+
this.am = true;
|
|
2960
2966
|
}
|
|
2961
|
-
_super.prototype.
|
|
2967
|
+
_super.prototype.af.call(this, a);
|
|
2962
2968
|
};
|
|
2963
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2964
|
-
_super.prototype.
|
|
2969
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ae = function (a) {
|
|
2970
|
+
_super.prototype.ae.call(this, a);
|
|
2965
2971
|
};
|
|
2966
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2972
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.x = function (a, b) {
|
|
2967
2973
|
if (b === void 0) {
|
|
2968
2974
|
b = false;
|
|
2969
2975
|
}
|
|
@@ -2974,22 +2980,22 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
2974
2980
|
}
|
|
2975
2981
|
return a;
|
|
2976
2982
|
};
|
|
2977
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2983
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.w = function (a) {
|
|
2978
2984
|
a = stringReplace(a, "-", "_");
|
|
2979
2985
|
return CodeGeneratingComponentRenderer.es(a);
|
|
2980
2986
|
};
|
|
2981
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2987
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.aq = function (a) {
|
|
2982
2988
|
a = stringReplace(a, "-", "_");
|
|
2983
2989
|
return "_" + CodeGeneratingComponentRenderer.er(a);
|
|
2984
2990
|
};
|
|
2985
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2991
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.al = function (a, b, c, d, e, f) {
|
|
2986
2992
|
var e_9, _a;
|
|
2987
|
-
_super.prototype.
|
|
2988
|
-
var
|
|
2993
|
+
_super.prototype.al.call(this, a, b, c, d, e, f);
|
|
2994
|
+
var g = this.s(this.x(b, true), this.x(b, false), c, d);
|
|
2989
2995
|
try {
|
|
2990
|
-
for (var _b = __values(fromEnum(
|
|
2991
|
-
var
|
|
2992
|
-
this.
|
|
2996
|
+
for (var _b = __values(fromEnum(g)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2997
|
+
var h = _c.value;
|
|
2998
|
+
this.ad(h, e, f);
|
|
2993
2999
|
}
|
|
2994
3000
|
}
|
|
2995
3001
|
catch (e_9_1) {
|
|
@@ -3005,105 +3011,119 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3005
3011
|
throw e_9.error;
|
|
3006
3012
|
}
|
|
3007
3013
|
}
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
};
|
|
3019
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3020
|
-
_super.prototype.
|
|
3021
|
-
|
|
3022
|
-
|
|
3014
|
+
e.l("");
|
|
3015
|
+
e.l("public class " + this.x(b, false));
|
|
3016
|
+
e.h();
|
|
3017
|
+
e.l(": List<" + this.x(b, true) + ">");
|
|
3018
|
+
e.f();
|
|
3019
|
+
e.l("{");
|
|
3020
|
+
e.h();
|
|
3021
|
+
e.l("public " + this.x(b, false) + "()");
|
|
3022
|
+
e.l("{");
|
|
3023
|
+
e.h();
|
|
3024
|
+
};
|
|
3025
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ah = function (a, b, c) {
|
|
3026
|
+
_super.prototype.ah.call(this, a, b, c);
|
|
3027
|
+
if (b == 3) {
|
|
3028
|
+
var d = this.p.cDNBasePath + this.x(a, false) + ".json";
|
|
3029
|
+
this.g.l("public RemoteJSON " + this.w(a));
|
|
3030
|
+
this.g.l("{");
|
|
3031
|
+
this.g.h();
|
|
3032
|
+
this.g.l("get");
|
|
3033
|
+
this.g.l("{");
|
|
3034
|
+
this.g.h();
|
|
3035
|
+
this.g.l("return RemoteJSON.LoadFrom(\"" + d + "\");");
|
|
3036
|
+
this.g.f();
|
|
3037
|
+
this.g.l("}");
|
|
3038
|
+
this.g.l("");
|
|
3039
|
+
return;
|
|
3040
|
+
}
|
|
3041
|
+
var e = this.aq(a) + " = " + "new " + this.x(a, false) + "(); ";
|
|
3042
|
+
var f = "";
|
|
3023
3043
|
if (this.n.platform == 5) {
|
|
3024
|
-
|
|
3044
|
+
f = " StateHasChanged();";
|
|
3025
3045
|
}
|
|
3026
3046
|
else {
|
|
3027
|
-
|
|
3047
|
+
f = " OnPropertyChanged(\"" + this.x(a, false) + "\");";
|
|
3028
3048
|
}
|
|
3029
|
-
if (c != null && c.isAsync) {
|
|
3030
|
-
|
|
3049
|
+
if (c != null && (b == 2 || c.isAsync)) {
|
|
3050
|
+
e = this.x(a, false) + ".Fetch().ContinueWith((t) => {" + this.aq(a) + " = t.Result; " + f + " });";
|
|
3031
3051
|
}
|
|
3032
|
-
this.g.l("private " + this.
|
|
3033
|
-
this.g.l("public " + this.
|
|
3052
|
+
this.g.l("private " + this.x(a, false) + " " + this.aq(a) + " = null;");
|
|
3053
|
+
this.g.l("public " + this.x(a, false) + " " + this.w(a));
|
|
3034
3054
|
this.g.l("{");
|
|
3035
3055
|
this.g.h();
|
|
3036
3056
|
this.g.l("get");
|
|
3037
3057
|
this.g.l("{");
|
|
3038
3058
|
this.g.h();
|
|
3039
|
-
this.g.l("if (" + this.
|
|
3059
|
+
this.g.l("if (" + this.aq(a) + " == null)");
|
|
3040
3060
|
this.g.l("{");
|
|
3041
3061
|
this.g.h();
|
|
3042
|
-
this.g.l(
|
|
3062
|
+
this.g.l(e);
|
|
3043
3063
|
this.g.f();
|
|
3044
3064
|
this.g.l("}");
|
|
3045
|
-
this.g.l("return " + this.
|
|
3065
|
+
this.g.l("return " + this.aq(a) + ";");
|
|
3046
3066
|
this.g.f();
|
|
3047
3067
|
this.g.l("}");
|
|
3048
3068
|
this.g.f();
|
|
3049
3069
|
this.g.l("}");
|
|
3050
3070
|
this.g.l("");
|
|
3051
3071
|
};
|
|
3052
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3053
|
-
_super.prototype.
|
|
3054
|
-
this.g.l("private " + this.
|
|
3055
|
-
this.g.l("public " + this.
|
|
3072
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ai = function (a, b) {
|
|
3073
|
+
_super.prototype.ai.call(this, a, b);
|
|
3074
|
+
this.g.l("private " + this.an(b.e) + " " + this.aq(a) + " = " + this.ao(b) + ";");
|
|
3075
|
+
this.g.l("public " + this.an(b.e) + " " + this.w(a));
|
|
3056
3076
|
this.g.l("{");
|
|
3057
3077
|
this.g.h();
|
|
3058
3078
|
this.g.l("get");
|
|
3059
3079
|
this.g.l("{");
|
|
3060
3080
|
this.g.h();
|
|
3061
|
-
this.g.l("return " + this.
|
|
3081
|
+
this.g.l("return " + this.aq(a) + ";");
|
|
3062
3082
|
this.g.f();
|
|
3063
3083
|
this.g.l("}");
|
|
3064
3084
|
this.g.f();
|
|
3065
3085
|
this.g.l("}");
|
|
3066
3086
|
this.g.l("");
|
|
3067
3087
|
};
|
|
3068
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3069
|
-
_super.prototype.
|
|
3070
|
-
this.g.l("private " + this.
|
|
3071
|
-
this.g.l("public " + this.
|
|
3088
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.aj = function (a, b, c, d) {
|
|
3089
|
+
_super.prototype.aj.call(this, a, b, c, d);
|
|
3090
|
+
this.g.l("private " + this.x(a, false) + "Item " + this.aq(a) + " = null;");
|
|
3091
|
+
this.g.l("public " + this.x(a, false) + "Item " + this.w(a));
|
|
3072
3092
|
this.g.l("{");
|
|
3073
3093
|
this.g.h();
|
|
3074
3094
|
this.g.l("get");
|
|
3075
3095
|
this.g.l("{");
|
|
3076
3096
|
this.g.h();
|
|
3077
|
-
this.g.l("if (" + this.
|
|
3097
|
+
this.g.l("if (" + this.aq(a) + " == null)");
|
|
3078
3098
|
this.g.l("{");
|
|
3079
3099
|
this.g.h();
|
|
3080
3100
|
this.g.l("_" + a + " = ");
|
|
3081
|
-
this.
|
|
3101
|
+
this.ar(this.x(a, true), b, c, d, this.g);
|
|
3082
3102
|
this.g.f();
|
|
3083
3103
|
this.g.l("}");
|
|
3084
|
-
this.g.l("return " + this.
|
|
3104
|
+
this.g.l("return " + this.aq(a) + ";");
|
|
3085
3105
|
this.g.f();
|
|
3086
3106
|
this.g.l("}");
|
|
3087
3107
|
this.g.f();
|
|
3088
3108
|
this.g.l("}");
|
|
3089
3109
|
this.g.l("");
|
|
3090
3110
|
};
|
|
3091
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3111
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.get_t = function () {
|
|
3092
3112
|
return ".cs";
|
|
3093
3113
|
};
|
|
3094
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3114
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ad = function (a, b, c) {
|
|
3095
3115
|
b.l("public class " + a.d);
|
|
3096
3116
|
b.l("{");
|
|
3097
3117
|
b.h();
|
|
3098
3118
|
for (var d = 0; d < a.a.length; d++) {
|
|
3099
3119
|
var e = a.a[d];
|
|
3100
3120
|
var f = a.b[d];
|
|
3101
|
-
b.l("public " + this.
|
|
3121
|
+
b.l("public " + this.ap(a, e, f) + " " + this.w(e) + " { get; set; }");
|
|
3102
3122
|
}
|
|
3103
3123
|
b.f();
|
|
3104
3124
|
b.l("}");
|
|
3105
3125
|
};
|
|
3106
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3126
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.an = function (a) {
|
|
3107
3127
|
switch (a) {
|
|
3108
3128
|
case 1: return "bool";
|
|
3109
3129
|
case 0: return "double";
|
|
@@ -3112,12 +3132,15 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3112
3132
|
}
|
|
3113
3133
|
return "object";
|
|
3114
3134
|
};
|
|
3115
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3135
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.get_r = function () {
|
|
3136
|
+
return true;
|
|
3137
|
+
};
|
|
3138
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ap = function (a, b, c) {
|
|
3116
3139
|
if (c.d) {
|
|
3117
|
-
return "List<" + a.d + "_" + this.
|
|
3140
|
+
return "List<" + a.d + "_" + this.w(b) + "Item>";
|
|
3118
3141
|
}
|
|
3119
3142
|
else if (c.f) {
|
|
3120
|
-
return a.d + "_" + this.
|
|
3143
|
+
return a.d + "_" + this.w(b);
|
|
3121
3144
|
}
|
|
3122
3145
|
else {
|
|
3123
3146
|
switch (c.c) {
|
|
@@ -3129,20 +3152,37 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3129
3152
|
}
|
|
3130
3153
|
return "object";
|
|
3131
3154
|
};
|
|
3132
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3133
|
-
_super.prototype.
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3155
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ak = function (a, b, c, d, e) {
|
|
3156
|
+
_super.prototype.ak.call(this, a, b, c, d, e);
|
|
3157
|
+
e.f();
|
|
3158
|
+
e.l("}");
|
|
3159
|
+
if (a == 2 || a == 3) {
|
|
3160
|
+
var f = this.p.cDNBasePath + this.x(b, false) + ".json";
|
|
3161
|
+
e.l("public async static System.Threading.Tasks.Task<" + this.x(b, false) + "> Fetch()");
|
|
3162
|
+
e.l("{");
|
|
3163
|
+
e.h();
|
|
3164
|
+
e.l("var url = \"" + f + "\" ;");
|
|
3165
|
+
e.l("var client = new System.Net.Http.HttpClient();");
|
|
3166
|
+
e.l("var str = await client.GetStringAsync(url);");
|
|
3167
|
+
e.l("var arr = System.Text.Json.JsonSerializer.Deserialize<" + this.x(b, false) + ">(str);");
|
|
3168
|
+
e.l("return arr;");
|
|
3169
|
+
e.f();
|
|
3170
|
+
e.l("}");
|
|
3171
|
+
e.l("");
|
|
3172
|
+
}
|
|
3173
|
+
e.f();
|
|
3174
|
+
e.l("}");
|
|
3175
|
+
};
|
|
3176
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.y = function (a, b, c, d, e, f, g) {
|
|
3177
|
+
_super.prototype.y.call(this, a, b, c, d, e, f, g);
|
|
3178
|
+
if (a == 2 || a == 3) {
|
|
3179
|
+
return;
|
|
3180
|
+
}
|
|
3181
|
+
g.j("this.Add(");
|
|
3182
|
+
this.ar(this.x(b, true), c, d, e, g);
|
|
3183
|
+
g.l(");");
|
|
3184
|
+
};
|
|
3185
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ar = function (a, b, c, d, e) {
|
|
3146
3186
|
if (d == null) {
|
|
3147
3187
|
e.j("null");
|
|
3148
3188
|
return;
|
|
@@ -3157,7 +3197,7 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3157
3197
|
if (g > 0) {
|
|
3158
3198
|
e.l(",");
|
|
3159
3199
|
}
|
|
3160
|
-
this.
|
|
3200
|
+
this.ar(a, b, c, f.items[g], e);
|
|
3161
3201
|
}
|
|
3162
3202
|
}
|
|
3163
3203
|
e.f();
|
|
@@ -3179,16 +3219,24 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3179
3219
|
}
|
|
3180
3220
|
e.j(j + " = ");
|
|
3181
3221
|
if (k.d) {
|
|
3182
|
-
var l = a + "_" + this.
|
|
3183
|
-
this.
|
|
3222
|
+
var l = a + "_" + this.w(j) + "Item";
|
|
3223
|
+
this.ar(l, k.a, k.b, h.item(j), e);
|
|
3184
3224
|
}
|
|
3185
3225
|
else if (k.f) {
|
|
3186
|
-
var m = a + "_" + this.
|
|
3187
|
-
this.
|
|
3226
|
+
var m = a + "_" + this.w(j);
|
|
3227
|
+
this.ar(m, k.a, k.b, h.item(j), e);
|
|
3188
3228
|
}
|
|
3189
3229
|
else {
|
|
3190
3230
|
var n = h.item(j);
|
|
3191
|
-
|
|
3231
|
+
try {
|
|
3232
|
+
e.j(this.u(k, n));
|
|
3233
|
+
}
|
|
3234
|
+
catch (o) {
|
|
3235
|
+
var p = getInstanceType(n.value).typeName;
|
|
3236
|
+
var q = stringReplace(EnumUtil.getName(JsonDictionaryValueType_$type, k.c), "Value", "");
|
|
3237
|
+
var r = "'" + j + "' property (" + n.value + ") is '" + p + "' instead of '" + q + "' type.";
|
|
3238
|
+
throw new BaseError(1, "Failed on creating '" + a + "' because " + r + "\n" + o.message);
|
|
3239
|
+
}
|
|
3192
3240
|
}
|
|
3193
3241
|
}
|
|
3194
3242
|
e.l("");
|
|
@@ -3196,7 +3244,7 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3196
3244
|
e.j("}");
|
|
3197
3245
|
}
|
|
3198
3246
|
};
|
|
3199
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3247
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.u = function (a, b) {
|
|
3200
3248
|
switch (a.c) {
|
|
3201
3249
|
case 1: return (b.value ? "true" : "false");
|
|
3202
3250
|
case 0:
|
|
@@ -3214,7 +3262,7 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3214
3262
|
}
|
|
3215
3263
|
return "";
|
|
3216
3264
|
};
|
|
3217
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3265
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ao = function (a) {
|
|
3218
3266
|
switch (a.e) {
|
|
3219
3267
|
case 1: return (a.value ? "true" : "false");
|
|
3220
3268
|
case 0: return (a.value.toString());
|
|
@@ -3757,7 +3805,7 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
3757
3805
|
}
|
|
3758
3806
|
{
|
|
3759
3807
|
var n = this.ee(this.ej, b);
|
|
3760
|
-
n.
|
|
3808
|
+
n.ac(this.eo);
|
|
3761
3809
|
}
|
|
3762
3810
|
var o = this.ef(this.ej, b);
|
|
3763
3811
|
var p = new List$1(String_$type, 0);
|