@policystudio/policy-studio-ui-vue 1.1.90-beta.0 → 1.1.90-beta.12

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 (166) hide show
  1. package/.eslintrc.js +12 -8
  2. package/.storybook/PolicyStudio.ts +11 -0
  3. package/.storybook/manager.ts +7 -0
  4. package/dist/contents/ComparisonData.js +376 -0
  5. package/dist/contents/ComparisonData.js.map +1 -0
  6. package/dist/contents/FlexibleData.js +501 -0
  7. package/dist/contents/FlexibleData.js.map +1 -0
  8. package/dist/contents/ResultsData.js +530 -0
  9. package/dist/contents/ResultsData.js.map +1 -0
  10. package/dist/css/psui_styles.css +4035 -110277
  11. package/dist/index.js +114 -0
  12. package/dist/index.js.map +1 -0
  13. package/dist/stories/Accordion.stories.js +56 -0
  14. package/dist/stories/Accordion.stories.js.map +1 -0
  15. package/dist/stories/BadgeWithIcon.stories.js +28 -0
  16. package/dist/stories/BadgeWithIcon.stories.js.map +1 -0
  17. package/dist/stories/BarChart.stories.js +16 -0
  18. package/dist/stories/BarChart.stories.js.map +1 -0
  19. package/dist/stories/Breadcrumb.stories.js +21 -0
  20. package/dist/stories/Breadcrumb.stories.js.map +1 -0
  21. package/dist/stories/Button.stories.js +44 -0
  22. package/dist/stories/Button.stories.js.map +1 -0
  23. package/dist/stories/CardInfos.stories.js +13 -0
  24. package/dist/stories/CardInfos.stories.js.map +1 -0
  25. package/dist/stories/ChartLegend.stories.js +13 -0
  26. package/dist/stories/ChartLegend.stories.js.map +1 -0
  27. package/dist/stories/Checkbox.stories.js +44 -0
  28. package/dist/stories/Checkbox.stories.js.map +1 -0
  29. package/dist/stories/CheckboxSimple.stories.js +48 -0
  30. package/dist/stories/CheckboxSimple.stories.js.map +1 -0
  31. package/dist/stories/Chips.stories.js +27 -0
  32. package/dist/stories/Chips.stories.js.map +1 -0
  33. package/dist/stories/ClimateZoneBadge.stories.js +15 -0
  34. package/dist/stories/ClimateZoneBadge.stories.js.map +1 -0
  35. package/dist/stories/CostEffectBar.stories.js +21 -0
  36. package/dist/stories/CostEffectBar.stories.js.map +1 -0
  37. package/dist/stories/Datatable.stories.js +45 -0
  38. package/dist/stories/Datatable.stories.js.map +1 -0
  39. package/dist/stories/DateCardInfo.stories.js +18 -0
  40. package/dist/stories/DateCardInfo.stories.js.map +1 -0
  41. package/dist/stories/Dialog.stories.js +127 -0
  42. package/dist/stories/Dialog.stories.js.map +1 -0
  43. package/dist/stories/Draggable.stories.js +20 -0
  44. package/dist/stories/Draggable.stories.js.map +1 -0
  45. package/dist/stories/Dropdown.stories.js +98 -0
  46. package/dist/stories/Dropdown.stories.js.map +1 -0
  47. package/dist/stories/DropdownList.stories.js +208 -0
  48. package/dist/stories/DropdownList.stories.js.map +1 -0
  49. package/dist/stories/Header.stories.js +39 -0
  50. package/dist/stories/Header.stories.js.map +1 -0
  51. package/dist/stories/HighlightRippleDot.stories.js +13 -0
  52. package/dist/stories/HighlightRippleDot.stories.js.map +1 -0
  53. package/dist/stories/Icon.stories.js +19 -0
  54. package/dist/stories/Icon.stories.js.map +1 -0
  55. package/dist/stories/InlineSelector.stories.js +16 -0
  56. package/dist/stories/InlineSelector.stories.js.map +1 -0
  57. package/dist/stories/Input.stories.js +235 -0
  58. package/dist/stories/Input.stories.js.map +1 -0
  59. package/dist/stories/InputSelect.stories.js +28 -0
  60. package/dist/stories/InputSelect.stories.js.map +1 -0
  61. package/dist/stories/InputTextArea.stories.js +23 -0
  62. package/dist/stories/InputTextArea.stories.js.map +1 -0
  63. package/dist/stories/MiniTag.stories.js +44 -0
  64. package/dist/stories/MiniTag.stories.js.map +1 -0
  65. package/dist/stories/Playground.stories.js +14 -0
  66. package/dist/stories/Playground.stories.js.map +1 -0
  67. package/dist/stories/ProgressBar.stories.js +21 -0
  68. package/dist/stories/ProgressBar.stories.js.map +1 -0
  69. package/dist/stories/RadioButton.stories.js +36 -0
  70. package/dist/stories/RadioButton.stories.js.map +1 -0
  71. package/dist/stories/RadioButtonSimple.stories.js +40 -0
  72. package/dist/stories/RadioButtonSimple.stories.js.map +1 -0
  73. package/dist/stories/SimpleAlert.stories.js +19 -0
  74. package/dist/stories/SimpleAlert.stories.js.map +1 -0
  75. package/dist/stories/Slider.stories.js +70 -0
  76. package/dist/stories/Slider.stories.js.map +1 -0
  77. package/dist/stories/Switch.stories.js +35 -0
  78. package/dist/stories/Switch.stories.js.map +1 -0
  79. package/dist/stories/TabHeader.stories.js +48 -0
  80. package/dist/stories/TabHeader.stories.js.map +1 -0
  81. package/dist/stories/TableResults.stories.js +717 -0
  82. package/dist/stories/TableResults.stories.js.map +1 -0
  83. package/dist/stories/TagScope.stories.js +16 -0
  84. package/dist/stories/TagScope.stories.js.map +1 -0
  85. package/dist/stories/TestimonialCard.stories.js +24 -0
  86. package/dist/stories/TestimonialCard.stories.js.map +1 -0
  87. package/dist/stories/Toast.stories.js +51 -0
  88. package/dist/stories/Toast.stories.js.map +1 -0
  89. package/dist/stories/Toggle.stories.js +42 -0
  90. package/dist/stories/Toggle.stories.js.map +1 -0
  91. package/dist/stories/Tooltip.stories.js +108 -0
  92. package/dist/stories/Tooltip.stories.js.map +1 -0
  93. package/dist/util/GeneralFunctions.js +29 -0
  94. package/dist/util/GeneralFunctions.js.map +1 -0
  95. package/dist/util/imageLoader.js +52 -0
  96. package/dist/util/imageLoader.js.map +1 -0
  97. package/package.json +25 -22
  98. package/postcss.config.js +1 -1
  99. package/src/App.vue +30 -0
  100. package/src/assets/scss/base.scss +27 -23
  101. package/src/assets/scss/components/PsAccordion.scss +1 -1
  102. package/src/assets/scss/components/PsChips.scss +3 -3
  103. package/src/assets/scss/components/PsCostEffectBar.scss +4 -4
  104. package/src/assets/scss/components/PsProgressBar.scss +4 -4
  105. package/src/assets/scss/components/PsTabHeader.scss +1 -1
  106. package/src/assets/scss/components/PsTableResults.scss +1 -1
  107. package/src/assets/scss/components/PsTestimonialCard.scss +1 -1
  108. package/src/components/badges-and-tags/PsBadgeWithIcon.vue +2 -1
  109. package/src/components/badges-and-tags/PsProgressBar.vue +1 -1
  110. package/src/components/buttons/PsButton.vue +74 -96
  111. package/src/{index.js → index.ts} +4 -0
  112. package/src/shims-vue.d.ts +11 -0
  113. package/src/stories/{Accordion.stories.js → Accordion.stories.ts} +2 -2
  114. package/src/stories/{BadgeWithIcon.stories.js → BadgeWithIcon.stories.ts} +1 -1
  115. package/src/stories/{BarChart.stories.js → BarChart.stories.ts} +1 -1
  116. package/src/stories/{Breadcrumb.stories.js → Breadcrumb.stories.ts} +1 -4
  117. package/src/stories/{CardInfos.stories.js → CardInfos.stories.ts} +1 -2
  118. package/src/stories/{ChartLegend.stories.js → ChartLegend.stories.ts} +1 -2
  119. package/src/stories/{Checkbox.stories.js → Checkbox.stories.ts} +1 -1
  120. package/src/stories/{CheckboxSimple.stories.js → CheckboxSimple.stories.ts} +1 -1
  121. package/src/stories/{Chips.stories.js → Chips.stories.ts} +24 -22
  122. package/src/stories/{ClimateZoneBadge.stories.js → ClimateZoneBadge.stories.ts} +2 -1
  123. package/src/stories/{CostEffectBar.stories.js → CostEffectBar.stories.ts} +2 -1
  124. package/src/stories/{Datatable.stories.js → Datatable.stories.ts} +5 -2
  125. package/src/stories/{DateCardInfo.stories.js → DateCardInfo.stories.ts} +1 -5
  126. package/src/stories/{Dialog.stories.js → Dialog.stories.ts} +1 -1
  127. package/src/stories/{Draggable.stories.js → Draggable.stories.ts} +2 -1
  128. package/src/stories/{Dropdown.stories.js → Dropdown.stories.ts} +2 -1
  129. package/src/stories/{DropdownList.stories.js → DropdownList.stories.ts} +3 -1
  130. package/src/stories/{Header.stories.js → Header.stories.ts} +1 -0
  131. package/src/stories/{HighlightRippleDot.stories.js → HighlightRippleDot.stories.ts} +2 -1
  132. package/src/stories/{Icon.stories.js → Icon.stories.ts} +2 -0
  133. package/src/stories/{InlineSelector.stories.js → InlineSelector.stories.ts} +1 -1
  134. package/src/stories/{Input.stories.js → Input.stories.ts} +6 -3
  135. package/src/stories/{InputSelect.stories.js → InputSelect.stories.ts} +2 -1
  136. package/src/stories/{InputTextArea.stories.js → InputTextArea.stories.ts} +1 -1
  137. package/src/stories/{MiniTag.stories.js → MiniTag.stories.ts} +8 -1
  138. package/src/stories/{Playground.stories.js → Playground.stories.ts} +1 -1
  139. package/src/stories/{ProgressBar.stories.js → ProgressBar.stories.ts} +2 -1
  140. package/src/stories/{RadioButton.stories.js → RadioButton.stories.ts} +1 -1
  141. package/src/stories/{RadioButtonSimple.stories.js → RadioButtonSimple.stories.ts} +1 -1
  142. package/src/stories/{SimpleAlert.stories.js → SimpleAlert.stories.ts} +2 -1
  143. package/src/stories/{Slider.stories.js → Slider.stories.ts} +5 -1
  144. package/src/stories/{Switch.stories.js → Switch.stories.ts} +1 -1
  145. package/src/stories/{TabHeader.stories.js → TabHeader.stories.ts} +5 -0
  146. package/src/stories/{TableResults.stories.js → TableResults.stories.ts} +5 -1
  147. package/src/stories/{TagScope.stories.js → TagScope.stories.ts} +1 -1
  148. package/src/stories/{TestimonialCard.stories.js → TestimonialCard.stories.ts} +2 -2
  149. package/src/stories/{Toast.stories.js → Toast.stories.ts} +1 -1
  150. package/src/stories/{Toggle.stories.js → Toggle.stories.ts} +6 -3
  151. package/src/stories/{Tooltip.stories.js → Tooltip.stories.ts} +3 -3
  152. package/src/util/{GeneralFunctions.js → GeneralFunctions.ts} +7 -6
  153. package/src/util/{imageLoader.js → imageLoader.ts} +15 -7
  154. package/tailwind.config.js +11 -2
  155. package/tsconfig.json +47 -0
  156. package/webpack.config.js +17 -3
  157. package/.storybook/PolicyStudio.js +0 -10
  158. package/.storybook/manager.js +0 -6
  159. package/babel.config.js +0 -17
  160. /package/.storybook/{eventBus.js → eventBus.ts} +0 -0
  161. /package/.storybook/{main.js → main.ts} +0 -0
  162. /package/.storybook/{preview.js → preview.ts} +0 -0
  163. /package/src/contents/{ComparisonData.js → ComparisonData.ts} +0 -0
  164. /package/src/contents/{FlexibleData.js → FlexibleData.ts} +0 -0
  165. /package/src/contents/{ResultsData.js → ResultsData.ts} +0 -0
  166. /package/src/stories/{Button.stories.js → Button.stories.ts} +0 -0
@@ -0,0 +1,717 @@
1
+ import PsTableResults, { tableLayout } from '../components/table-results/PsTableResults.vue';
2
+ import PsTableResultsHead from '../components/table-results/PsTableResultsHead.vue';
3
+ import PsTableResultsHeadFlexible from '../components/table-results/PsTableResultsHeadFlexible.vue';
4
+ import PsTableResultsHeadComparison from '../components/table-results/PsTableResultsHeadComparison.vue';
5
+ import PsProgressBar from '../components/badges-and-tags/PsProgressBar.vue';
6
+ import PsSwitch from '../components/controls/PsSwitch.vue';
7
+ import { resultsDataHeader, resultsDataColumnGroup, resultsDataSummary } from '../contents/ResultsData';
8
+ import { comparisonDataHeader, comparisonDataColumnGroup, comparisonDataSummary } from '../contents/ComparisonData';
9
+ import { flexibleDataHeader, flexibleDataColumnGroup, flexibleDataSummary } from '../contents/FlexibleData';
10
+ export default {
11
+ title: 'Data Tables/TableResults',
12
+ component: { PsTableResults, PsTableResultsHead, PsTableResultsHeadComparison, PsTableResultsHeadFlexible },
13
+ argTypes: {
14
+ layout: { control: { type: 'inline-radio', options: tableLayout } },
15
+ onClick: { action: 'clicked' },
16
+ onCollapse: { action: 'clicked' },
17
+ },
18
+ };
19
+ const TableResults = (args, { argTypes }) => ({
20
+ props: Object.keys(argTypes),
21
+ components: { PsTableResults, PsTableResultsHead, PsTableResultsHeadComparison, PsTableResultsHeadFlexible },
22
+ subcomponents: { PsProgressBar, PsSwitch },
23
+ template: `
24
+ <div style="width:100%;">
25
+ <div
26
+ :class="$props['layout'] == 'comparison' ? 'psui-bg-gray-20 psui-p-8' : 'psui-bg-white'"
27
+ >
28
+ <PsTableResults v-bind="$props">
29
+ <template v-slot:header>
30
+ <PsTableResultsHeadComparison
31
+ v-if="$props['layout'] == 'comparison'"
32
+ v-bind="$props"
33
+ first-column-title="Comparing 4 Policies"
34
+ first-column-description=""
35
+ />
36
+ <PsTableResultsHeadFlexible
37
+ v-else-if="$props['layout'] == 'flexible'"
38
+ v-bind="$props"
39
+ first-column-title="Measure List"
40
+ first-column-description="Measures"
41
+ />
42
+ <PsTableResultsHead
43
+ v-else
44
+ v-bind="$props"
45
+ />
46
+ </template>
47
+ </PsTableResults>
48
+ </div>
49
+ </div>
50
+ `
51
+ });
52
+ export const Results = TableResults.bind({});
53
+ Results.args = {
54
+ layout: 'results',
55
+ header: resultsDataHeader,
56
+ columnGroups: resultsDataColumnGroup,
57
+ summaryData: resultsDataSummary,
58
+ footer: [],
59
+ showRowsCollapsed: true,
60
+ };
61
+ export const Comparison = TableResults.bind({});
62
+ Comparison.args = {
63
+ layout: 'comparison',
64
+ header: comparisonDataHeader,
65
+ columnGroups: comparisonDataColumnGroup,
66
+ summaryData: comparisonDataSummary,
67
+ footer: [],
68
+ showRowsCollapsed: true,
69
+ };
70
+ export const Flexible = TableResults.bind({});
71
+ Flexible.args = {
72
+ layout: 'flexible',
73
+ header: flexibleDataHeader,
74
+ columnGroups: flexibleDataColumnGroup,
75
+ summaryData: flexibleDataSummary,
76
+ tableMaxHeight: 'auto',
77
+ footer: [],
78
+ showRowsCollapsed: false
79
+ };
80
+ // const TableSimple = (args, { argTypes }) => ({
81
+ // props: Object.keys(argTypes),
82
+ // components: { PsTableResults, PsTableResultsHead },
83
+ // template: `
84
+ // <div style="width:100%;">
85
+ // <PsTableResults v-bind="$props">
86
+ // <template v-slot:header>
87
+ // <PsTableResultsHead v-bind="$props" />
88
+ // </template>
89
+ // </PsTableResults>
90
+ // </div>
91
+ // `
92
+ // })
93
+ // export const Simple = TableSimple.bind({})
94
+ // Simple.args = {
95
+ // layout: 'results',
96
+ // header: [
97
+ // {
98
+ // 'order': 0,
99
+ // 'key': 'fixed_columns',
100
+ // 'title': 'Cost-Effectiveness',
101
+ // 'columns': [
102
+ // {
103
+ // 'isActive': true,
104
+ // 'key': 'tdv_benefit_to_cost_ratio',
105
+ // 'title': 'TDV',
106
+ // 'description': '≥ 1.0 is cost effective',
107
+ // 'isChart': true,
108
+ // 'hasHelper': {
109
+ // 'type': 'helper',
110
+ // 'id': 1
111
+ // }
112
+ // }
113
+ // ],
114
+ // 'hasHelper': {
115
+ // 'type': 'helper',
116
+ // 'id': 23
117
+ // }
118
+ // },
119
+ // {
120
+ // 'order': 2,
121
+ // 'key': 'city_wide_impact',
122
+ // 'title': 'Wide Impact',
123
+ // 'columns': [
124
+ // {
125
+ // 'isActive': true,
126
+ // 'key': 'forecast_units_affected',
127
+ // 'title': 'Affected Units',
128
+ // 'description': '(lifecycle)',
129
+ // 'hasProjections': true,
130
+ // 'hasHelper': {
131
+ // 'type': 'helper',
132
+ // 'id': 17
133
+ // },
134
+ // 'chartProjection': {
135
+ // 'title': 'Number of Affected Units',
136
+ // 'subtitle': ''
137
+ // }
138
+ // },
139
+ // {
140
+ // 'isActive': true,
141
+ // 'key': 'forecast_initial_cost',
142
+ // 'title': 'Compliance Cost',
143
+ // 'description': '(lifecycle)',
144
+ // 'hasProjections': true,
145
+ // 'hasHelper': {
146
+ // 'type': 'helper',
147
+ // 'id': 20
148
+ // },
149
+ // 'chartProjection': {
150
+ // 'title': 'Compliance Cost',
151
+ // 'subtitle': ''
152
+ // }
153
+ // },
154
+ // {
155
+ // 'isActive': true,
156
+ // 'key': 'forecast_emissions_savings',
157
+ // 'title': 'Emissions Reductions',
158
+ // 'description': '(lifecycle MTCO2e)',
159
+ // 'hasProjections': true,
160
+ // 'hasHelper': {
161
+ // 'type': 'helper',
162
+ // 'id': 18
163
+ // },
164
+ // 'chartProjection': {
165
+ // 'title': 'Emissions Reductions',
166
+ // 'subtitle': 'MTCO2e'
167
+ // }
168
+ // },
169
+ // {
170
+ // 'isActive': true,
171
+ // 'key': 'forecast_lifecycle_savings',
172
+ // 'title': 'Lifecycle Savings',
173
+ // 'description': '(on-bill)',
174
+ // 'hasProjections': true,
175
+ // 'hasHelper': {
176
+ // 'type': 'helper',
177
+ // 'id': 19
178
+ // },
179
+ // 'chartProjection': {
180
+ // 'title': 'Bill Savings',
181
+ // 'subtitle': ''
182
+ // }
183
+ // },
184
+ // {
185
+ // 'isActive': true,
186
+ // 'key': 'forecast_kwh_savings',
187
+ // 'title': 'Electricity Savings',
188
+ // 'description': '(lifecycle kWh)',
189
+ // 'hasProjections': true,
190
+ // 'hasHelper': {
191
+ // 'type': 'helper',
192
+ // 'id': 21
193
+ // },
194
+ // 'chartProjection': {
195
+ // 'title': 'Electricity Savings',
196
+ // 'subtitle': 'kWh'
197
+ // }
198
+ // },
199
+ // {
200
+ // 'isActive': true,
201
+ // 'key': 'forecast_therms_savings',
202
+ // 'title': 'Gas Savings',
203
+ // 'description': '(lifecycle therms)',
204
+ // 'hasProjections': true,
205
+ // 'hasHelper': {
206
+ // 'type': 'helper',
207
+ // 'id': 22
208
+ // },
209
+ // 'chartProjection': {
210
+ // 'title': 'Gas Savings',
211
+ // 'subtitle': 'therms'
212
+ // }
213
+ // }
214
+ // ],
215
+ // 'hasHelper': {
216
+ // 'type': 'helper',
217
+ // 'id': 25
218
+ // }
219
+ // }
220
+ // ],
221
+ // columnGroups: [
222
+ // {
223
+ // 'order': 0,
224
+ // 'key': 'fixed_columns',
225
+ // 'title': 'Cost-Effectiveness',
226
+ // 'columns': [
227
+ // {
228
+ // 'isActive': true,
229
+ // 'key': 'tdv_benefit_to_cost_ratio',
230
+ // 'title': 'TDV',
231
+ // 'description': '≥ 1.0 is cost effective',
232
+ // 'isChart': true,
233
+ // 'hasHelper': {
234
+ // 'type': 'helper',
235
+ // 'id': 1
236
+ // }
237
+ // }
238
+ // ],
239
+ // 'hasHelper': {
240
+ // 'type': 'helper',
241
+ // 'id': 23
242
+ // }
243
+ // },
244
+ // {
245
+ // 'order': 2,
246
+ // 'key': 'city_wide_impact',
247
+ // 'title': 'Wide Impact',
248
+ // 'columns': [
249
+ // {
250
+ // 'isActive': true,
251
+ // 'key': 'forecast_units_affected',
252
+ // 'title': 'Affected Units',
253
+ // 'description': '(lifecycle)',
254
+ // 'hasProjections': true,
255
+ // 'hasHelper': {
256
+ // 'type': 'helper',
257
+ // 'id': 17
258
+ // },
259
+ // 'chartProjection': {
260
+ // 'title': 'Number of Affected Units',
261
+ // 'subtitle': ''
262
+ // }
263
+ // },
264
+ // {
265
+ // 'isActive': true,
266
+ // 'key': 'forecast_initial_cost',
267
+ // 'title': 'Compliance Cost',
268
+ // 'description': '(lifecycle)',
269
+ // 'hasProjections': true,
270
+ // 'hasHelper': {
271
+ // 'type': 'helper',
272
+ // 'id': 20
273
+ // },
274
+ // 'chartProjection': {
275
+ // 'title': 'Compliance Cost',
276
+ // 'subtitle': ''
277
+ // }
278
+ // },
279
+ // {
280
+ // 'isActive': true,
281
+ // 'key': 'forecast_emissions_savings',
282
+ // 'title': 'Emissions Reductions',
283
+ // 'description': '(lifecycle MTCO2e)',
284
+ // 'hasProjections': true,
285
+ // 'hasHelper': {
286
+ // 'type': 'helper',
287
+ // 'id': 18
288
+ // },
289
+ // 'chartProjection': {
290
+ // 'title': 'Emissions Reductions',
291
+ // 'subtitle': 'MTCO2e'
292
+ // }
293
+ // },
294
+ // {
295
+ // 'isActive': true,
296
+ // 'key': 'forecast_lifecycle_savings',
297
+ // 'title': 'Lifecycle Savings',
298
+ // 'description': '(on-bill)',
299
+ // 'hasProjections': true,
300
+ // 'hasHelper': {
301
+ // 'type': 'helper',
302
+ // 'id': 19
303
+ // },
304
+ // 'chartProjection': {
305
+ // 'title': 'Bill Savings',
306
+ // 'subtitle': ''
307
+ // }
308
+ // },
309
+ // {
310
+ // 'isActive': true,
311
+ // 'key': 'forecast_kwh_savings',
312
+ // 'title': 'Electricity Savings',
313
+ // 'description': '(lifecycle kWh)',
314
+ // 'hasProjections': true,
315
+ // 'hasHelper': {
316
+ // 'type': 'helper',
317
+ // 'id': 21
318
+ // },
319
+ // 'chartProjection': {
320
+ // 'title': 'Electricity Savings',
321
+ // 'subtitle': 'kWh'
322
+ // }
323
+ // },
324
+ // {
325
+ // 'isActive': true,
326
+ // 'key': 'forecast_therms_savings',
327
+ // 'title': 'Gas Savings',
328
+ // 'description': '(lifecycle therms)',
329
+ // 'hasProjections': true,
330
+ // 'hasHelper': {
331
+ // 'type': 'helper',
332
+ // 'id': 22
333
+ // },
334
+ // 'chartProjection': {
335
+ // 'title': 'Gas Savings',
336
+ // 'subtitle': 'therms'
337
+ // }
338
+ // }
339
+ // ],
340
+ // 'hasHelper': {
341
+ // 'type': 'helper',
342
+ // 'id': 25
343
+ // }
344
+ // }
345
+ // ],
346
+ // summaryData: [
347
+ // {
348
+ // 'data': {
349
+ // 'forecast_units_affected': 337.5,
350
+ // 'forecast_emissions_savings': -1470.2228427746163,
351
+ // 'forecast_therms_savings': -365783.4118312498,
352
+ // 'forecast_kwh_savings': 5790873.440625001,
353
+ // 'forecast_lifecycle_savings': 1384353.6577500012,
354
+ // 'forecast_initial_cost': 840955.172375,
355
+ // 'initial_cost': -744.7994892592594,
356
+ // 'annual_bill_savings_avg': null,
357
+ // 'annual_bill_savings': -229.11570370370367,
358
+ // 'emissions_savings': 0.5992222222222222,
359
+ // 'kwh_savings': -1596.6407407407407,
360
+ // 'therms_savings': 134.17952962962963,
361
+ // 'lifecycle_savings': -3470.4795667037033,
362
+ // 'compliance_margin': 6.797037037037037,
363
+ // 'baseline_fuel_type': 'Mixed-fuel',
364
+ // 'energy_savings_combined': 7.96989981162963,
365
+ // 'on_bill_cost_ratio': 0.9328797158714975,
366
+ // 'tdv_benefit_to_cost_ratio': 1.327363515218667,
367
+ // 'simple_payback': 4.842552503682514,
368
+ // 'tdv2022_benefit_to_cost_ratio': 0
369
+ // },
370
+ // 'deep': 0,
371
+ // 'id': 'policy',
372
+ // 'title': 'Total Impact',
373
+ // 'items': [
374
+ // {
375
+ // 'data': {
376
+ // 'forecast_units_affected': 77.5,
377
+ // 'forecast_emissions_savings': 1427.3145433224304,
378
+ // 'forecast_therms_savings': 296624.89395,
379
+ // 'forecast_kwh_savings': -2102697.449999999,
380
+ // 'forecast_lifecycle_savings': 19620.35775000001,
381
+ // 'forecast_initial_cost': 408160,
382
+ // 'initial_cost': 2014,
383
+ // 'annual_bill_savings_avg': null,
384
+ // 'annual_bill_savings': -439.0199999999999,
385
+ // 'emissions_savings': 2.045,
386
+ // 'kwh_savings': -3999,
387
+ // 'therms_savings': 400.1415,
388
+ // 'lifecycle_savings': -4160.687805,
389
+ // 'compliance_margin': 29.6,
390
+ // 'baseline_fuel_type': 'Mixed-fuel',
391
+ // 'energy_savings_combined': 26.36819047,
392
+ // 'on_bill_cost_ratio': 1.460322707,
393
+ // 'tdv_benefit_to_cost_ratio': 1.42,
394
+ // 'simple_payback': 0,
395
+ // 'tdv2022_benefit_to_cost_ratio': 0
396
+ // },
397
+ // 'deep': 1,
398
+ // 'id': 'policy:container-2459',
399
+ // 'title': 'New Single Family Units',
400
+ // 'items': [
401
+ // {
402
+ // 'data': {
403
+ // 'forecast_units_affected': 77.5,
404
+ // 'forecast_emissions_savings': 1427.3145433224304,
405
+ // 'forecast_therms_savings': 296624.89395,
406
+ // 'forecast_kwh_savings': -2102697.449999999,
407
+ // 'forecast_lifecycle_savings': 19620.35775000001,
408
+ // 'forecast_initial_cost': 408160,
409
+ // 'initial_cost': 2014,
410
+ // 'annual_bill_savings_avg': null,
411
+ // 'annual_bill_savings': -439.0199999999999,
412
+ // 'emissions_savings': 2.045,
413
+ // 'kwh_savings': -3999,
414
+ // 'therms_savings': 400.1415,
415
+ // 'lifecycle_savings': -4160.687805,
416
+ // 'compliance_margin': 29.6,
417
+ // 'baseline_fuel_type': 'Mixed-fuel',
418
+ // 'energy_savings_combined': 26.36819047,
419
+ // 'on_bill_cost_ratio': 1.460322707,
420
+ // 'tdv_benefit_to_cost_ratio': 1.42,
421
+ // 'simple_payback': 0,
422
+ // 'tdv2022_benefit_to_cost_ratio': 0
423
+ // },
424
+ // 'deep': 2,
425
+ // 'id': 'policy:container-2459:climateZone-1-PGE',
426
+ // 'title': 'Climate Zone 1',
427
+ // 'items': [
428
+ // {
429
+ // 'data': {
430
+ // 'forecast_units_affected': 77.5,
431
+ // 'forecast_emissions_savings': 1427.3145433224304,
432
+ // 'forecast_therms_savings': 296624.89395,
433
+ // 'forecast_kwh_savings': -2102697.449999999,
434
+ // 'forecast_lifecycle_savings': 19620.35775000001,
435
+ // 'forecast_initial_cost': 408160,
436
+ // 'initial_cost': 2014,
437
+ // 'annual_bill_savings': -439.02,
438
+ // 'emissions_savings': 2.045,
439
+ // 'kwh_savings': -3999,
440
+ // 'therms_savings': 400.1415,
441
+ // 'lifecycle_savings': -4160.687805,
442
+ // 'compliance_margin': 29.6,
443
+ // 'baseline_fuel_type': 'Mixed-fuel',
444
+ // 'energy_savings_combined': 26.36819047,
445
+ // 'on_bill_cost_ratio': 1.460322707,
446
+ // 'tdv_benefit_to_cost_ratio': 1.42,
447
+ // 'simple_payback': 0,
448
+ // 'tdv2022_benefit_to_cost_ratio': null
449
+ // },
450
+ // 'deep': 3,
451
+ // 'id': 'policy:container-2459:climateZone-1-PGE:fuel-all-electric',
452
+ // 'title': 'All Electric',
453
+ // 'items': null,
454
+ // 'is_disabled': false,
455
+ // 'is_last': false,
456
+ // 'index': '0-0-0-0',
457
+ // 'last_deep': true
458
+ // },
459
+ // {
460
+ // 'data': {
461
+ // 'initial_cost': 1806.25,
462
+ // 'annual_bill_savings': 186.04,
463
+ // 'emissions_savings': 0.42,
464
+ // 'kwh_savings': 89.395,
465
+ // 'therms_savings': 68.604,
466
+ // 'lifecycle_savings': 5647.744375,
467
+ // 'compliance_margin': 11.95,
468
+ // 'baseline_fuel_type': 'Mixed-fuel',
469
+ // 'energy_savings_combined': 7.16541574,
470
+ // 'on_bill_cost_ratio': 2.784541829,
471
+ // 'tdv_benefit_to_cost_ratio': 2.75,
472
+ // 'simple_payback': 9.708831573,
473
+ // 'tdv2022_benefit_to_cost_ratio': null
474
+ // },
475
+ // 'deep': 3,
476
+ // 'id': 'policy:container-2459:climateZone-1-PGE:fuel-mixed-fuel',
477
+ // 'title': 'Mixed-fuel',
478
+ // 'items': null,
479
+ // 'is_disabled': true,
480
+ // 'is_last': true,
481
+ // 'index': '0-0-0-1',
482
+ // 'last_deep': true
483
+ // }
484
+ // ],
485
+ // 'is_disabled': false,
486
+ // 'is_last': false,
487
+ // 'index': '0-0-0',
488
+ // 'last_deep': false
489
+ // },
490
+ // {
491
+ // 'data': {
492
+ // 'forecast_units_affected': 77.5,
493
+ // 'forecast_emissions_savings': 1427.3145433224304,
494
+ // 'forecast_therms_savings': 296624.89395,
495
+ // 'forecast_kwh_savings': -2102697.449999999,
496
+ // 'forecast_lifecycle_savings': 19620.35775000001,
497
+ // 'forecast_initial_cost': 408160,
498
+ // 'initial_cost': 2014,
499
+ // 'annual_bill_savings_avg': null,
500
+ // 'annual_bill_savings': -439.0199999999999,
501
+ // 'emissions_savings': 2.045,
502
+ // 'kwh_savings': -3999,
503
+ // 'therms_savings': 400.1415,
504
+ // 'lifecycle_savings': -4160.687805,
505
+ // 'compliance_margin': 29.6,
506
+ // 'baseline_fuel_type': 'Mixed-fuel',
507
+ // 'energy_savings_combined': 26.36819047,
508
+ // 'on_bill_cost_ratio': 1.460322707,
509
+ // 'tdv_benefit_to_cost_ratio': 1.42,
510
+ // 'simple_payback': 0,
511
+ // 'tdv2022_benefit_to_cost_ratio': 0
512
+ // },
513
+ // 'deep': 2,
514
+ // 'id': 'policy:container-2459:climateZone-2-PGE',
515
+ // 'title': 'Climate Zone 2',
516
+ // 'items': [
517
+ // {
518
+ // 'data': {
519
+ // 'forecast_units_affected': 77.5,
520
+ // 'forecast_emissions_savings': 1427.3145433224304,
521
+ // 'forecast_therms_savings': 296624.89395,
522
+ // 'forecast_kwh_savings': -2102697.449999999,
523
+ // 'forecast_lifecycle_savings': 19620.35775000001,
524
+ // 'forecast_initial_cost': 408160,
525
+ // 'initial_cost': 2014,
526
+ // 'annual_bill_savings': -439.02,
527
+ // 'emissions_savings': 2.045,
528
+ // 'kwh_savings': -3999,
529
+ // 'therms_savings': 400.1415,
530
+ // 'lifecycle_savings': -4160.687805,
531
+ // 'compliance_margin': 29.6,
532
+ // 'baseline_fuel_type': 'Mixed-fuel',
533
+ // 'energy_savings_combined': 26.36819047,
534
+ // 'on_bill_cost_ratio': 1.460322707,
535
+ // 'tdv_benefit_to_cost_ratio': 1.42,
536
+ // 'simple_payback': 0,
537
+ // 'tdv2022_benefit_to_cost_ratio': null
538
+ // },
539
+ // 'deep': 3,
540
+ // 'id': 'policy:container-2459:climateZone-2-PGE:fuel-all-electric',
541
+ // 'title': 'All Electric',
542
+ // 'items': null,
543
+ // 'is_disabled': false,
544
+ // 'is_last': false,
545
+ // 'index': '0-0-0-0',
546
+ // 'last_deep': true
547
+ // },
548
+ // {
549
+ // 'data': {
550
+ // 'initial_cost': 1806.25,
551
+ // 'annual_bill_savings': 186.04,
552
+ // 'emissions_savings': 0.42,
553
+ // 'kwh_savings': 89.395,
554
+ // 'therms_savings': 68.604,
555
+ // 'lifecycle_savings': 5647.744375,
556
+ // 'compliance_margin': 11.95,
557
+ // 'baseline_fuel_type': 'Mixed-fuel',
558
+ // 'energy_savings_combined': 7.16541574,
559
+ // 'on_bill_cost_ratio': 2.784541829,
560
+ // 'tdv_benefit_to_cost_ratio': 2.75,
561
+ // 'simple_payback': 9.708831573,
562
+ // 'tdv2022_benefit_to_cost_ratio': null
563
+ // },
564
+ // 'deep': 3,
565
+ // 'id': 'policy:container-2459:climateZone-2-PGE:fuel-mixed-fuel',
566
+ // 'title': 'Mixed-fuel',
567
+ // 'items': null,
568
+ // 'is_disabled': true,
569
+ // 'is_last': true,
570
+ // 'index': '0-0-0-1',
571
+ // 'last_deep': true
572
+ // }
573
+ // ],
574
+ // 'is_disabled': true,
575
+ // 'is_last': true,
576
+ // 'index': '0-0-1',
577
+ // 'last_deep': false
578
+ // }
579
+ // ],
580
+ // 'is_disabled': false,
581
+ // 'is_last': false,
582
+ // 'index': '0-0',
583
+ // 'last_deep': false
584
+ // },
585
+ // {
586
+ // 'data': {
587
+ // 'forecast_units_affected': 260,
588
+ // 'forecast_emissions_savings': -2897.5373860970467,
589
+ // 'forecast_therms_savings': -662408.3057812498,
590
+ // 'forecast_kwh_savings': 7893570.890625,
591
+ // 'forecast_lifecycle_savings': 1364733.3000000012,
592
+ // 'forecast_initial_cost': 432795.17237499997,
593
+ // 'initial_cost': -1567.1339524038463,
594
+ // 'annual_bill_savings_avg': null,
595
+ // 'annual_bill_savings': -166.54807692307693,
596
+ // 'emissions_savings': 0.16826923076923078,
597
+ // 'kwh_savings': -880.5528846153846,
598
+ // 'therms_savings': 54.902403846153845,
599
+ // 'lifecycle_savings': -3264.74441875,
600
+ // 'compliance_margin': 0,
601
+ // 'baseline_fuel_type': 'Mixed-fuel',
602
+ // 'energy_savings_combined': 2.4857939423076925,
603
+ // 'on_bill_cost_ratio': 0.435459354,
604
+ // 'tdv_benefit_to_cost_ratio': 1.2400000000000002,
605
+ // 'simple_payback': 9.409461647,
606
+ // 'tdv2022_benefit_to_cost_ratio': 0
607
+ // },
608
+ // 'deep': 1,
609
+ // 'id': 'policy:container-2539',
610
+ // 'title': 'New ADUs',
611
+ // 'items': [
612
+ // {
613
+ // 'data': {
614
+ // 'forecast_units_affected': 260,
615
+ // 'forecast_emissions_savings': -2897.5373860970467,
616
+ // 'forecast_therms_savings': -662408.3057812498,
617
+ // 'forecast_kwh_savings': 7893570.890625,
618
+ // 'forecast_lifecycle_savings': 1364733.3000000012,
619
+ // 'forecast_initial_cost': 432795.17237499997,
620
+ // 'initial_cost': -1567.1339524038463,
621
+ // 'annual_bill_savings_avg': null,
622
+ // 'annual_bill_savings': -166.54807692307693,
623
+ // 'emissions_savings': 0.16826923076923078,
624
+ // 'kwh_savings': -880.5528846153846,
625
+ // 'therms_savings': 54.902403846153845,
626
+ // 'lifecycle_savings': -3264.74441875,
627
+ // 'compliance_margin': 0,
628
+ // 'baseline_fuel_type': 'Mixed-fuel',
629
+ // 'energy_savings_combined': 2.4857939423076925,
630
+ // 'on_bill_cost_ratio': 0.435459354,
631
+ // 'tdv_benefit_to_cost_ratio': 1.2400000000000002,
632
+ // 'simple_payback': 9.409461647,
633
+ // 'tdv2022_benefit_to_cost_ratio': 0
634
+ // },
635
+ // 'deep': 2,
636
+ // 'id': 'policy:container-2539:climateZone-1-PGE',
637
+ // 'title': 'Climate Zone 1',
638
+ // 'items': [
639
+ // {
640
+ // 'data': {
641
+ // 'forecast_units_affected': 125,
642
+ // 'forecast_emissions_savings': -2897.5373860970467,
643
+ // 'forecast_therms_savings': -662408.3057812498,
644
+ // 'forecast_kwh_savings': 7893570.890625,
645
+ // 'forecast_lifecycle_savings': 1364733.3000000012,
646
+ // 'forecast_initial_cost': 432795.17237499997,
647
+ // 'initial_cost': -3259.638621,
648
+ // 'annual_bill_savings': -346.42,
649
+ // 'emissions_savings': 0.35,
650
+ // 'kwh_savings': -1831.55,
651
+ // 'therms_savings': 114.197,
652
+ // 'lifecycle_savings': -6790.668391,
653
+ // 'compliance_margin': 0,
654
+ // 'baseline_fuel_type': 'Mixed-fuel',
655
+ // 'energy_savings_combined': 5.1704514,
656
+ // 'on_bill_cost_ratio': 0.435459354,
657
+ // 'tdv_benefit_to_cost_ratio': 1.24,
658
+ // 'simple_payback': 9.409461647,
659
+ // 'tdv2022_benefit_to_cost_ratio': null
660
+ // },
661
+ // 'deep': 3,
662
+ // 'id': 'policy:container-2539:climateZone-1-PGE:fuel-all-electric',
663
+ // 'title': 'All Electric',
664
+ // 'items': null,
665
+ // 'is_disabled': false,
666
+ // 'is_last': false,
667
+ // 'index': '0-1-0-0',
668
+ // 'last_deep': true
669
+ // },
670
+ // {
671
+ // 'data': {
672
+ // 'forecast_units_affected': 135,
673
+ // 'initial_cost': 0,
674
+ // 'annual_bill_savings': 0,
675
+ // 'emissions_savings': 0,
676
+ // 'kwh_savings': 0,
677
+ // 'therms_savings': 0,
678
+ // 'lifecycle_savings': 0,
679
+ // 'compliance_margin': 0,
680
+ // 'baseline_fuel_type': 'Mixed-fuel',
681
+ // 'energy_savings_combined': 0,
682
+ // 'on_bill_cost_ratio': 0,
683
+ // 'tdv_benefit_to_cost_ratio': 0,
684
+ // 'simple_payback': 0,
685
+ // 'tdv2022_benefit_to_cost_ratio': null
686
+ // },
687
+ // 'deep': 3,
688
+ // 'id': 'policy:container-2539:climateZone-1-PGE:fuel-mixed-fuel',
689
+ // 'title': 'Mixed-fuel',
690
+ // 'items': null,
691
+ // 'is_disabled': false,
692
+ // 'is_last': true,
693
+ // 'index': '0-1-0-1',
694
+ // 'last_deep': true
695
+ // }
696
+ // ],
697
+ // 'is_disabled': false,
698
+ // 'is_last': true,
699
+ // 'index': '0-1-0',
700
+ // 'last_deep': false
701
+ // }
702
+ // ],
703
+ // 'is_disabled': false,
704
+ // 'is_last': true,
705
+ // 'index': '0-1',
706
+ // 'last_deep': false
707
+ // }
708
+ // ],
709
+ // 'is_disabled': false,
710
+ // 'index': '0',
711
+ // 'last_deep': false
712
+ // }
713
+ // ],
714
+ // footer: [],
715
+ // showRowsCollapsed: true,
716
+ // }
717
+ //# sourceMappingURL=TableResults.stories.js.map