@wavemaker/app-rn-runtime 11.4.3-next.140442 → 11.4.3-next.140443

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.
Files changed (102) hide show
  1. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.component.js +1 -4
  2. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -1
  3. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.styles.js +2 -1
  4. app-rn-runtime/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +1 -1
  5. app-rn-runtime/components/advanced/carousel/carousel.component.js +68 -122
  6. app-rn-runtime/components/advanced/carousel/carousel.component.js.map +1 -1
  7. app-rn-runtime/components/advanced/carousel/carousel.props.js +0 -3
  8. app-rn-runtime/components/advanced/carousel/carousel.props.js.map +1 -1
  9. app-rn-runtime/components/advanced/carousel/carousel.styles.js +9 -17
  10. app-rn-runtime/components/advanced/carousel/carousel.styles.js.map +1 -1
  11. app-rn-runtime/components/basic/button/button.component.js +2 -2
  12. app-rn-runtime/components/basic/button/button.component.js.map +1 -1
  13. app-rn-runtime/components/basic/icon/icon.component.js +0 -3
  14. app-rn-runtime/components/basic/icon/icon.component.js.map +1 -1
  15. app-rn-runtime/components/basic/search/search.component.js +1 -3
  16. app-rn-runtime/components/basic/search/search.component.js.map +1 -1
  17. app-rn-runtime/components/chart/basechart.component.js +8 -19
  18. app-rn-runtime/components/chart/basechart.component.js.map +1 -1
  19. app-rn-runtime/components/container/accordion/accordion.component.js +2 -6
  20. app-rn-runtime/components/container/accordion/accordion.component.js.map +1 -1
  21. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js +2 -3
  22. app-rn-runtime/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -1
  23. app-rn-runtime/components/container/panel/panel.component.js +1 -1
  24. app-rn-runtime/components/container/panel/panel.component.js.map +1 -1
  25. app-rn-runtime/components/container/partial-host.component.js +1 -1
  26. app-rn-runtime/components/container/partial-host.component.js.map +1 -1
  27. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js +1 -1
  28. app-rn-runtime/components/container/tabs/tabpane/tabpane.component.js.map +1 -1
  29. app-rn-runtime/components/container/wizard/wizard.component.js +2 -2
  30. app-rn-runtime/components/container/wizard/wizard.component.js.map +1 -1
  31. app-rn-runtime/components/container/wizard/wizard.styles.js +1 -3
  32. app-rn-runtime/components/container/wizard/wizard.styles.js.map +1 -1
  33. app-rn-runtime/components/data/card/card-content/card-content.component.js +1 -1
  34. app-rn-runtime/components/data/card/card-content/card-content.component.js.map +1 -1
  35. app-rn-runtime/components/data/list/list-template/list-template.component.js +1 -15
  36. app-rn-runtime/components/data/list/list-template/list-template.component.js.map +1 -1
  37. app-rn-runtime/components/data/list/list-template/list-template.styles.js +3 -7
  38. app-rn-runtime/components/data/list/list-template/list-template.styles.js.map +1 -1
  39. app-rn-runtime/components/data/list/list.component.js +25 -30
  40. app-rn-runtime/components/data/list/list.component.js.map +1 -1
  41. app-rn-runtime/components/data/list/list.props.js +0 -6
  42. app-rn-runtime/components/data/list/list.props.js.map +1 -1
  43. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js +2 -4
  44. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -1
  45. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.styles.js +1 -2
  46. app-rn-runtime/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -1
  47. app-rn-runtime/components/input/composite/composite.component.js +1 -8
  48. app-rn-runtime/components/input/composite/composite.component.js.map +1 -1
  49. app-rn-runtime/components/input/composite/composite.props.js +0 -1
  50. app-rn-runtime/components/input/composite/composite.props.js.map +1 -1
  51. app-rn-runtime/components/input/composite/composite.styles.js +1 -16
  52. app-rn-runtime/components/input/composite/composite.styles.js.map +1 -1
  53. app-rn-runtime/components/input/radioset/radioset.component.js +3 -7
  54. app-rn-runtime/components/input/radioset/radioset.component.js.map +1 -1
  55. app-rn-runtime/components/input/radioset/radioset.props.js +0 -6
  56. app-rn-runtime/components/input/radioset/radioset.props.js.map +1 -1
  57. app-rn-runtime/components/input/radioset/radioset.styles.js +8 -4
  58. app-rn-runtime/components/input/radioset/radioset.styles.js.map +1 -1
  59. app-rn-runtime/components/input/select/select.styles.js +1 -2
  60. app-rn-runtime/components/input/select/select.styles.js.map +1 -1
  61. app-rn-runtime/components/input/switch/switch.styles.js +1 -2
  62. app-rn-runtime/components/input/switch/switch.styles.js.map +1 -1
  63. app-rn-runtime/components/navigation/basenav/basenav.component.js +0 -2
  64. app-rn-runtime/components/navigation/basenav/basenav.component.js.map +1 -1
  65. app-rn-runtime/components/navigation/navitem/navitem.component.js +1 -1
  66. app-rn-runtime/components/navigation/navitem/navitem.component.js.map +1 -1
  67. app-rn-runtime/components/navigation/popover/popover.component.js +1 -3
  68. app-rn-runtime/components/navigation/popover/popover.component.js.map +1 -1
  69. app-rn-runtime/components/navigation/popover/popover.props.js.map +1 -1
  70. app-rn-runtime/components/page/left-panel/left-panel.component.js +1 -1
  71. app-rn-runtime/components/page/left-panel/left-panel.component.js.map +1 -1
  72. app-rn-runtime/components/page/tabbar/tabbar.styles.js +0 -22
  73. app-rn-runtime/components/page/tabbar/tabbar.styles.js.map +1 -1
  74. app-rn-runtime/core/imageSizeEstimator.js +0 -4
  75. app-rn-runtime/core/imageSizeEstimator.js.map +1 -1
  76. app-rn-runtime/gestures/swipe.animation.js +11 -34
  77. app-rn-runtime/gestures/swipe.animation.js.map +1 -1
  78. app-rn-runtime/package.json +3 -3
  79. app-rn-runtime/runtime/App.js +1 -4
  80. app-rn-runtime/runtime/App.js.map +1 -1
  81. app-rn-runtime/runtime/base-page.component.js +0 -17
  82. app-rn-runtime/runtime/base-page.component.js.map +1 -1
  83. app-rn-runtime/runtime/services/app-security.service.js +3 -14
  84. app-rn-runtime/runtime/services/app-security.service.js.map +1 -1
  85. app-rn-runtime/styles/theme.js +1 -30
  86. app-rn-runtime/styles/theme.js.map +1 -1
  87. app-rn-runtime/variables/http.service.js +1 -1
  88. app-rn-runtime/variables/http.service.js.map +1 -1
  89. app-rn-runtime/variables/live-variable.js +0 -1
  90. app-rn-runtime/variables/live-variable.js.map +1 -1
  91. app-rn-runtime/variables/model-variable.js +0 -11
  92. app-rn-runtime/variables/model-variable.js.map +1 -1
  93. app-rn-runtime/variables/service-variable.js +0 -1
  94. app-rn-runtime/variables/service-variable.js.map +1 -1
  95. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js +0 -213
  96. app-rn-runtime/components/chart/stack-chart/stack-chart.component.js.map +0 -1
  97. app-rn-runtime/components/chart/stack-chart/stack-chart.props.js +0 -15
  98. app-rn-runtime/components/chart/stack-chart/stack-chart.props.js.map +0 -1
  99. app-rn-runtime/components/chart/stack-chart/stack-chart.styles.js +0 -7
  100. app-rn-runtime/components/chart/stack-chart/stack-chart.styles.js.map +0 -1
  101. app-rn-runtime/core/key.extractor.js +0 -22
  102. app-rn-runtime/core/key.extractor.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","Svg","VictoryStack","VictoryBar","VictoryChart","VictoryPie","VictoryLegend","VictoryAxis","Axis","Scale","orderBy","cloneDeep","WmStackChartProps","DEFAULT_CLASS","BaseChartComponent","BaseChartComponentState","WmStackChartState","constructor","arguments","_defineProperty","WmStackChart","props","e","viewWidth","nativeEvent","layout","width","updateState","chartWidth","componentDidMount","setHeightWidthOnChart","getBarChart","state","data","length","currentValue","map","d","i","d1","x","y","push","createElement","key","name","cornerRadius","bottomLeft","bottomRight","topLeft","topRight","getColorCodes","colors","reverse","getArcChart","colorScaleArray","maxValue","Math","max","o","radius","colorScale","startAngle","endAngle","standalone","origin","chartHeight","innerRadius","thickness","labels","getArcAxis","ticks","getTickValues","axisData","forEach","yunits","style","fontSize","paddingLeft","paddingRight","labelRadius","scale","getBaseScale","domain","getTicks","renderWidget","mindomain","xdomain","chartMinX","undefined","ydomain","chartMinY","styles","root","onLayout","onViewLayoutChange","viewtype","theme","minDomain","height","screenWidth","padding","top","offsettop","bottom","offsetbottom","left","offsetleft","right","offsetright","containerComponent","title","fontFamily","subheading","orientation","gutter","getLegendView","crossAxis","tickLabels","fill","showyaxis","axisLabel","grid","stroke","tickValues","tickFormat","t","abbreviateNumber","dependentAxis","horizontal","strokeWidth"],"sources":["stack-chart.component.tsx"],"sourcesContent":["import React from 'react';\nimport { LayoutChangeEvent, View } from 'react-native';\nimport { Svg } from 'react-native-svg';\nimport { VictoryStack, VictoryBar, VictoryChart, VictoryPie, VictoryLegend, VictoryAxis } from 'victory-native';\nimport { Axis, Scale } from 'victory-core';\nimport { orderBy, cloneDeep } from 'lodash';\n\nimport WmStackChartProps from './stack-chart.props';\nimport { DEFAULT_CLASS, WmStackChartStyles } from './stack-chart.styles';\nimport {\n BaseChartComponent,\n BaseChartComponentState\n} from '@wavemaker/app-rn-runtime/components/chart/basechart.component';\n\nexport class WmStackChartState extends BaseChartComponentState<WmStackChartProps> {\n chartWidth = 0;\n}\n\nexport default class WmStackChart extends BaseChartComponent<WmStackChartProps, WmStackChartState, WmStackChartStyles> {\n constructor(props: WmStackChartProps) {\n super(props, DEFAULT_CLASS, new WmStackChartProps(), new WmStackChartState());\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.setHeightWidthOnChart();\n }\n\n getBarChart(props: WmStackChartProps) {\n if ( this.state.data.length >0 ) {\n let data = cloneDeep(this.state.data[0]);\n data = orderBy(data, 'y', 'asc');\n let currentValue = 0;\n return data.map((d: any, i: number) => {\n let d1: any = [];\n d.x = 0;\n d.y = d.y - currentValue;\n d1.push(d);\n currentValue = d.y + currentValue;\n return <VictoryBar key={props.name + '_' + i}\n cornerRadius={{bottomLeft:(3), bottomRight:(3), topLeft:(3), topRight:(3)}}\n data={d1}/>\n });\n }\n }\n\n private getColorCodes() {\n const colors = cloneDeep(this.state.colors);\n return colors.reverse();\n }\n\n getArcChart(props: WmStackChartProps) {\n if ( this.state.data.length > 0 ) {\n let data = cloneDeep(this.state.data[0]);\n const colorScaleArray = this.getColorCodes();\n const maxValue = Math.max(...data.map((o: any) => o.y));\n data = orderBy(data, 'y', 'desc');\n const radius = 170;\n return data.map((d: any, i: number) => {\n let d1: any = [];\n d1.push(d);\n d1.push({x: d.x, y: maxValue - d.y})\n return <VictoryPie key={props.name + '_' + i}\n radius={radius}\n colorScale={[colorScaleArray[i], '#fff0']}\n startAngle={-80}\n endAngle={80}\n cornerRadius={100}\n standalone={false}\n origin={{x: (this.state.chartWidth/2), y: (this.state.chartHeight - 50)}}\n innerRadius={radius - this.state.props.thickness}\n labels={[]}\n data={d1}/>\n });\n }\n }\n\n getArcAxis() {\n const ticks = this.getTickValues();\n const radius = 170;\n const axisData: any = [];\n ticks.forEach((d: any, i: any) => {\n axisData.push({x: `${this.state.props.yunits}${d}`, y: 1})\n });\n return <VictoryPie\n style={{\n labels: {\n fontSize: 12, paddingLeft: 50, paddingRight: 80\n }}\n }\n startAngle={-90}\n endAngle={90}\n standalone={false}\n colorScale={['#fff0']}\n origin={{x: (this.state.chartWidth/2 - 5), y: (this.state.chartHeight - 50)}}\n labelRadius={radius - this.state.props.thickness - 20}\n data={axisData}\n />\n }\n\n onViewLayoutChange = (e: LayoutChangeEvent) => {\n let viewWidth = e.nativeEvent.layout.width;\n this.updateState({\n chartWidth: viewWidth\n } as WmStackChartState);\n }\n\n getTickValues() {\n let ticks: any = [];\n if (this.state.data[0].length) {\n let data = cloneDeep(this.state.data[0]);\n const maxValue = Math.max(...data.map((o: any) => o.y));\n const scale = Scale.getBaseScale({}, 'x');\n scale.domain([0, maxValue]);\n ticks = Axis.getTicks({}, scale);\n }\n return ticks;\n }\n\n renderWidget(props: WmStackChartProps) {\n if (!this.state.data.length) {\n return null;\n }\n let mindomain={x: this.props.xdomain === 'Min' ? this.state.chartMinX: undefined, y: this.props.ydomain === 'Min' ? this.state.chartMinY: undefined};\n const colorScale = this.state.colors.length === 1 ? this.state.colors[0] : this.state.colors;\n return (\n <View\n style={this.styles.root} onLayout={this.onViewLayoutChange}\n >{\n props.viewtype === 'Bar' ?\n <VictoryChart\n theme={this.state.theme}\n minDomain={mindomain}\n height={this.styles.root.height as number}\n width={this.styles.root.width as number || this.screenWidth}\n padding={{\n top: props.offsettop,\n bottom: props.offsetbottom,\n left: props.offsetleft,\n right: props.offsetright\n }}>\n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n style={{title: {\n fontFamily: \"'Helvetica Neue', 'Helvetica', sans-serif\",\n fontSize: 18\n }\n }}\n title={[props.title, props.subheading]}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getLegendView(colorScale)}\n <VictoryAxis crossAxis\n style={{\n tickLabels: { fill: this.state.props.showyaxis === false ? 'transparent' : '#000000', fontSize: 12, padding: this.state.props.thickness/2 + 5},\n axisLabel: { padding: (15 + this.state.props.thickness/2) },\n grid: {stroke: 'none'}\n }}\n theme={this.state.theme}\n tickValues={this.getTickValues()}\n tickFormat={(t) => this.state.props.yunits ? `${this.abbreviateNumber(t)}${this.state.props.yunits}` : `${this.abbreviateNumber(t)}`} dependentAxis />\n <VictoryStack\n colorScale={colorScale}\n horizontal={true}\n style={{\n data: { strokeWidth: this.state.props.thickness }\n }}\n >\n {\n this.getBarChart(props)\n }\n </VictoryStack>\n </VictoryChart> :\n <Svg width={this.state.chartWidth} height={this.state.chartHeight}>\n <VictoryLegend\n name={'legend'}\n containerComponent={<Svg />}\n title={[props.title, props.subheading]}\n orientation=\"horizontal\"\n gutter={20}\n data={[]}\n theme={this.state.theme}\n />\n {this.getArcChart(props)}\n {this.getArcAxis()}\n </Svg>\n }\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAA4BC,IAAI,QAAQ,cAAc;AACtD,SAASC,GAAG,QAAQ,kBAAkB;AACtC,SAASC,YAAY,EAAEC,UAAU,EAAEC,YAAY,EAAEC,UAAU,EAAEC,aAAa,EAAEC,WAAW,QAAQ,gBAAgB;A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AE,IAAI,CAAC9F,KAAK,CAACX,KAAK,CAACsD,MAAO,EAAC,GAAI,GAAE,IAAI,CAACoD,gBAAgB,CAACD,CAAC,CAAE,EAAE;MAACE,aAAa;IAAA,CAAE,CAAC,eACnKjI,KAAA,CAAA4C,aAAA,CAACzC,YAAY;MACX2D,UAAU,EAAEA,UAAW;MACvBoE,UAAU,EAAE,IAAK;MACjBrD,KAAK,EAAE;QACL3C,IAAI,EAAE;UAAEiG,WAAW,EAAE,IAAI,CAAClG,KAAK,CAACX,KAAK,CAAC+C;QAAU;MAClD;IAAE,GAGA,IAAI,CAACrC,WAAW,CAACV,KAAK,CAEZ,CACF,CAAC,gBACftB,KAAA,CAAA4C,aAAA,CAAC1C,GAAG;MAACyB,KAAK,EAAE,IAAI,CAACM,KAAK,CAACJ,UAAW;MAACuE,MAAM,EAAE,IAAI,CAACnE,KAAK,CAACkC;IAAY,gBAChEnE,KAAA,CAAA4C,aAAA,CAACrC,aAAa;MACZuC,IAAI,EAAE,QAAS;MACfiE,kBAAkB,eAAE/G,KAAA,CAAA4C,aAAA,CAAC1C,GAAG,MAAE,CAAE;MAC5B8G,KAAK,EAAE,CAAC1F,KAAK,CAAC0F,KAAK,EAAE1F,KAAK,CAAC4F,UAAU,CAAE;MACvCC,WAAW,EAAC,YAAY;MACxBC,MAAM,EAAE,EAAG;MACXlF,IAAI,EAAE,EAAG;MACTgE,KAAK,EAAE,IAAI,CAACjE,KAAK,CAACiE;IAAM,CACzB,CAAC,EACD,IAAI,CAAC3C,WAAW,CAACjC,KAAK,CAAC,EACvB,IAAI,CAACiD,UAAU,CAAC,CACd,CAEH,CAAC;EAEX;AACF"}
@@ -1,15 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
- import BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';
5
- export default class WmStackChartProps extends BaseChartComponentProps {
6
- constructor() {
7
- super(...arguments);
8
- _defineProperty(this, "viewtype", 'Bar');
9
- _defineProperty(this, "showlegend", 'left');
10
- _defineProperty(this, "thickness", 20);
11
- _defineProperty(this, "offsetleft", 25);
12
- _defineProperty(this, "offsetright", 35);
13
- }
14
- }
15
- //# sourceMappingURL=stack-chart.props.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["BaseChartComponentProps","WmStackChartProps","constructor","arguments","_defineProperty"],"sources":["stack-chart.props.ts"],"sourcesContent":["import BaseChartComponentProps from '@wavemaker/app-rn-runtime/components/chart/basechart.props';\n\nexport default class WmStackChartProps extends BaseChartComponentProps {\n viewtype: string = 'Bar';\n showlegend: string = 'left';\n thickness: number = 20;\n offsetleft: number = 25;\n offsetright: number = 35;\n}\n"],"mappings":";;;AAAA,OAAOA,uBAAuB,MAAM,4DAA4D;AAEhG,eAAe,MAAMC,iBAAiB,SAASD,uBAAuB,CAAC;EAAAE,YAAA;IAAA,SAAAC,SAAA;IAAAC,eAAA,mBAClD,KAAK;IAAAA,eAAA,qBACH,MAAM;IAAAA,eAAA,oBACP,EAAE;IAAAA,eAAA,qBACD,EAAE;IAAAA,eAAA,sBACD,EAAE;EAAA;AAC1B"}
@@ -1,7 +0,0 @@
1
- import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';
2
- import { DEFAULT_CLASS as BASE_CHART_DEFAULT_CLASS } from '../basechart.styles';
3
- export const DEFAULT_CLASS = 'app-stack-chart';
4
- BASE_THEME.registerStyle((themeVariables, addStyle) => {
5
- addStyle(DEFAULT_CLASS, BASE_CHART_DEFAULT_CLASS, {});
6
- });
7
- //# sourceMappingURL=stack-chart.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["BASE_THEME","DEFAULT_CLASS","BASE_CHART_DEFAULT_CLASS","registerStyle","themeVariables","addStyle"],"sources":["stack-chart.styles.ts"],"sourcesContent":["import BASE_THEME from '@wavemaker/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker/app-rn-runtime/core/base.component';\nimport {BaseChartComponentStyles, DEFAULT_CLASS as BASE_CHART_DEFAULT_CLASS } from '../basechart.styles';\n\nexport type WmStackChartStyles = BaseStyles & BaseChartComponentStyles;\n\nexport const DEFAULT_CLASS = 'app-stack-chart';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n addStyle(DEFAULT_CLASS, BASE_CHART_DEFAULT_CLASS, {});\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,wCAAwC;AAE/D,SAAkCC,aAAa,IAAIC,wBAAwB,QAAQ,qBAAqB;AAIxG,OAAO,MAAMD,aAAa,GAAG,iBAAiB;AAC9CD,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACrDA,QAAQ,CAACJ,aAAa,EAAEC,wBAAwB,EAAE,CAAC,CAAC,CAAC;AACvD,CAAC,CAAC"}
@@ -1,22 +0,0 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
- export class DefaultKeyExtractor {
5
- constructor() {
6
- _defineProperty(this, "store", new Map());
7
- _defineProperty(this, "nextKey", 1);
8
- }
9
- getKey(o) {
10
- let create = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
11
- let k = this.store.get(o);
12
- if (!k && create) {
13
- k = `key:${Date.now()}:${this.nextKey++}`;
14
- this.store.set(o, k);
15
- }
16
- return k;
17
- }
18
- clear() {
19
- this.store = new Map();
20
- }
21
- }
22
- //# sourceMappingURL=key.extractor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["DefaultKeyExtractor","constructor","_defineProperty","Map","getKey","o","create","arguments","length","undefined","k","store","get","Date","now","nextKey","set","clear"],"sources":["key.extractor.ts"],"sourcesContent":["export class DefaultKeyExtractor {\n store = new Map<any, string>();\n nextKey = 1;\n \n getKey(o : any, create = false) {\n let k = this.store.get(o);\n if (!k && create) {\n k = `key:${Date.now()}:${this.nextKey++}`;\n this.store.set(o, k)\n }\n return k;\n }\n \n clear() {\n this.store = new Map();\n }\n}"],"mappings":";;;AAAA,OAAO,MAAMA,mBAAmB,CAAC;EAAAC,YAAA;IAAAC,eAAA,gBACrB,IAAIC,GAAG,CAAc,CAAC;IAAAD,eAAA,kBACpB,CAAC;EAAA;EAEXE,MAAMA,CAACC,CAAO,EAAkB;IAAA,IAAhBC,MAAM,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;IAC5B,IAAIG,CAAC,GAAG,IAAI,CAACC,KAAK,CAACC,GAAG,CAACP,CAAC,CAAC;IACzB,IAAI,CAACK,CAAC,IAAIJ,MAAM,EAAE;MAChBI,CAAC,GAAI,OAAMG,IAAI,CAACC,GAAG,CAAC,CAAE,IAAG,IAAI,CAACC,OAAO,EAAG,EAAC;MACzC,IAAI,CAACJ,KAAK,CAACK,GAAG,CAACX,CAAC,EAAEK,CAAC,CAAC;IACtB;IACA,OAAOA,CAAC;EACV;EAEAO,KAAKA,CAAA,EAAG;IACN,IAAI,CAACN,KAAK,GAAG,IAAIR,GAAG,CAAC,CAAC;EACxB;AACJ"}