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

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 (231) hide show
  1. package/.eslintrc.js +2 -1
  2. package/.github/workflows/deploy-storybook.yml +4 -4
  3. package/.nvmrc +1 -0
  4. package/dist/css/psui_styles_output.css +6986 -0
  5. package/dist/index.d.ts +50 -0
  6. package/dist/index.js +53 -63
  7. package/dist/index.js.map +1 -1
  8. package/dist/util/GeneralFunctions.d.ts +3 -0
  9. package/dist/util/GeneralFunctions.js.map +1 -1
  10. package/dist/util/directives.d.ts +1 -0
  11. package/dist/util/directives.js +22 -0
  12. package/dist/util/directives.js.map +1 -0
  13. package/dist/util/eventBus.d.ts +7 -0
  14. package/dist/util/eventBus.js +8 -0
  15. package/dist/util/eventBus.js.map +1 -0
  16. package/dist/util/imageLoader.d.ts +6 -0
  17. package/dist/util/imageLoader.js.map +1 -1
  18. package/package.json +9 -23
  19. package/src/assets/scss/components/PsDataTable.scss +1 -1
  20. package/src/components/accordion/PsAccordionItem.vue +75 -75
  21. package/src/components/badges-and-tags/PsBadgeWithIcon.vue +31 -34
  22. package/src/components/badges-and-tags/PsCardInfos.vue +40 -41
  23. package/src/components/badges-and-tags/PsChartLegend.vue +47 -51
  24. package/src/components/badges-and-tags/PsClimateZoneBadge.vue +14 -19
  25. package/src/components/badges-and-tags/PsCostEffectBar.vue +24 -56
  26. package/src/components/badges-and-tags/PsDateCardInfo.vue +17 -18
  27. package/src/components/badges-and-tags/PsHighlightRippleDot.vue +3 -2
  28. package/src/components/badges-and-tags/PsMiniTag.vue +39 -41
  29. package/src/components/badges-and-tags/PsProgressBar.vue +72 -68
  30. package/src/components/badges-and-tags/PsTagScope.vue +17 -22
  31. package/src/components/badges-and-tags/PsTestimonialCard.vue +20 -26
  32. package/src/components/buttons/PsButton.vue +61 -62
  33. package/src/components/chips/PsChips.vue +98 -101
  34. package/src/components/controls/PsCheckbox.vue +84 -84
  35. package/src/components/controls/PsCheckboxSimple.vue +95 -95
  36. package/src/components/controls/PsDraggable.vue +53 -55
  37. package/src/components/controls/PsInlineSelector.vue +99 -99
  38. package/src/components/controls/PsRadioButton.vue +59 -58
  39. package/src/components/controls/PsRadioButtonSimple.vue +79 -75
  40. package/src/components/controls/PsSlider.vue +185 -176
  41. package/src/components/controls/PsSwitch.vue +51 -52
  42. package/src/components/controls/PsToggle.vue +53 -50
  43. package/src/components/data-graphics/PsBarChart.vue +19 -21
  44. package/src/components/datatable/PsDataTable.vue +56 -60
  45. package/src/components/datatable/PsDataTableItem.vue +14 -28
  46. package/src/components/forms/PsDropdown.vue +164 -162
  47. package/src/components/forms/PsDropdownList.vue +132 -129
  48. package/src/components/forms/PsInput.vue +155 -153
  49. package/src/components/forms/PsInputSelect.vue +91 -92
  50. package/src/components/forms/PsInputTextArea.vue +71 -71
  51. package/src/components/navigations/PsBreadcrumb.vue +26 -34
  52. package/src/components/notifications/PsDialog.vue +57 -56
  53. package/src/components/notifications/PsSimpleAlert.vue +28 -29
  54. package/src/components/notifications/PsToast.vue +40 -39
  55. package/src/components/table-results/PsTableResults.vue +452 -458
  56. package/src/components/table-results/PsTableResultsBody.vue +66 -67
  57. package/src/components/table-results/PsTableResultsHead.vue +62 -56
  58. package/src/components/table-results/PsTableResultsHeadComparison.vue +62 -56
  59. package/src/components/table-results/PsTableResultsHeadFlexible.vue +63 -56
  60. package/src/components/table-results/PsTableResultsRow.vue +55 -56
  61. package/src/components/tabs/PsTabHeader.vue +106 -100
  62. package/src/components/tooltip/PsDialogTooltip.vue +96 -101
  63. package/src/components/tooltip/PsRichTooltip.vue +42 -45
  64. package/src/components/tooltip/PsTooltip.vue +111 -116
  65. package/src/components/ui/PsDotLoader.vue +1 -5
  66. package/src/components/ui/PsIcon.vue +126 -129
  67. package/src/index.ts +57 -71
  68. package/src/tsconfig.json +12 -0
  69. package/src/{shims-vue.d.ts → types/index.d.ts} +0 -5
  70. package/src/util/{GeneralFunctions.ts → GeneralFunctions.js} +0 -3
  71. package/src/util/directives.ts +24 -0
  72. package/src/util/eventBus.js +10 -0
  73. package/src/util/{imageLoader.ts → imageLoader.js} +7 -8
  74. package/tailwind.config.js +1 -1
  75. package/tsconfig.json +15 -17
  76. package/.storybook/PolicyStudio.ts +0 -11
  77. package/.storybook/eventBus.ts +0 -26
  78. package/.storybook/main.ts +0 -21
  79. package/.storybook/manager.ts +0 -7
  80. package/.storybook/preview.ts +0 -17
  81. package/dist/contents/ComparisonData.js +0 -376
  82. package/dist/contents/ComparisonData.js.map +0 -1
  83. package/dist/contents/FlexibleData.js +0 -501
  84. package/dist/contents/FlexibleData.js.map +0 -1
  85. package/dist/contents/ResultsData.js +0 -530
  86. package/dist/contents/ResultsData.js.map +0 -1
  87. package/dist/css/psui_styles.css +0 -4647
  88. package/dist/stories/Accordion.stories.js +0 -56
  89. package/dist/stories/Accordion.stories.js.map +0 -1
  90. package/dist/stories/BadgeWithIcon.stories.js +0 -28
  91. package/dist/stories/BadgeWithIcon.stories.js.map +0 -1
  92. package/dist/stories/BarChart.stories.js +0 -16
  93. package/dist/stories/BarChart.stories.js.map +0 -1
  94. package/dist/stories/Breadcrumb.stories.js +0 -21
  95. package/dist/stories/Breadcrumb.stories.js.map +0 -1
  96. package/dist/stories/Button.stories.js +0 -44
  97. package/dist/stories/Button.stories.js.map +0 -1
  98. package/dist/stories/CardInfos.stories.js +0 -13
  99. package/dist/stories/CardInfos.stories.js.map +0 -1
  100. package/dist/stories/ChartLegend.stories.js +0 -13
  101. package/dist/stories/ChartLegend.stories.js.map +0 -1
  102. package/dist/stories/Checkbox.stories.js +0 -44
  103. package/dist/stories/Checkbox.stories.js.map +0 -1
  104. package/dist/stories/CheckboxSimple.stories.js +0 -48
  105. package/dist/stories/CheckboxSimple.stories.js.map +0 -1
  106. package/dist/stories/Chips.stories.js +0 -27
  107. package/dist/stories/Chips.stories.js.map +0 -1
  108. package/dist/stories/ClimateZoneBadge.stories.js +0 -15
  109. package/dist/stories/ClimateZoneBadge.stories.js.map +0 -1
  110. package/dist/stories/CostEffectBar.stories.js +0 -21
  111. package/dist/stories/CostEffectBar.stories.js.map +0 -1
  112. package/dist/stories/Datatable.stories.js +0 -45
  113. package/dist/stories/Datatable.stories.js.map +0 -1
  114. package/dist/stories/DateCardInfo.stories.js +0 -18
  115. package/dist/stories/DateCardInfo.stories.js.map +0 -1
  116. package/dist/stories/Dialog.stories.js +0 -127
  117. package/dist/stories/Dialog.stories.js.map +0 -1
  118. package/dist/stories/Draggable.stories.js +0 -20
  119. package/dist/stories/Draggable.stories.js.map +0 -1
  120. package/dist/stories/Dropdown.stories.js +0 -98
  121. package/dist/stories/Dropdown.stories.js.map +0 -1
  122. package/dist/stories/DropdownList.stories.js +0 -208
  123. package/dist/stories/DropdownList.stories.js.map +0 -1
  124. package/dist/stories/Header.stories.js +0 -39
  125. package/dist/stories/Header.stories.js.map +0 -1
  126. package/dist/stories/HighlightRippleDot.stories.js +0 -13
  127. package/dist/stories/HighlightRippleDot.stories.js.map +0 -1
  128. package/dist/stories/Icon.stories.js +0 -19
  129. package/dist/stories/Icon.stories.js.map +0 -1
  130. package/dist/stories/InlineSelector.stories.js +0 -16
  131. package/dist/stories/InlineSelector.stories.js.map +0 -1
  132. package/dist/stories/Input.stories.js +0 -235
  133. package/dist/stories/Input.stories.js.map +0 -1
  134. package/dist/stories/InputSelect.stories.js +0 -28
  135. package/dist/stories/InputSelect.stories.js.map +0 -1
  136. package/dist/stories/InputTextArea.stories.js +0 -23
  137. package/dist/stories/InputTextArea.stories.js.map +0 -1
  138. package/dist/stories/MiniTag.stories.js +0 -44
  139. package/dist/stories/MiniTag.stories.js.map +0 -1
  140. package/dist/stories/Playground.stories.js +0 -14
  141. package/dist/stories/Playground.stories.js.map +0 -1
  142. package/dist/stories/ProgressBar.stories.js +0 -21
  143. package/dist/stories/ProgressBar.stories.js.map +0 -1
  144. package/dist/stories/RadioButton.stories.js +0 -36
  145. package/dist/stories/RadioButton.stories.js.map +0 -1
  146. package/dist/stories/RadioButtonSimple.stories.js +0 -40
  147. package/dist/stories/RadioButtonSimple.stories.js.map +0 -1
  148. package/dist/stories/SimpleAlert.stories.js +0 -19
  149. package/dist/stories/SimpleAlert.stories.js.map +0 -1
  150. package/dist/stories/Slider.stories.js +0 -70
  151. package/dist/stories/Slider.stories.js.map +0 -1
  152. package/dist/stories/Switch.stories.js +0 -35
  153. package/dist/stories/Switch.stories.js.map +0 -1
  154. package/dist/stories/TabHeader.stories.js +0 -48
  155. package/dist/stories/TabHeader.stories.js.map +0 -1
  156. package/dist/stories/TableResults.stories.js +0 -717
  157. package/dist/stories/TableResults.stories.js.map +0 -1
  158. package/dist/stories/TagScope.stories.js +0 -16
  159. package/dist/stories/TagScope.stories.js.map +0 -1
  160. package/dist/stories/TestimonialCard.stories.js +0 -24
  161. package/dist/stories/TestimonialCard.stories.js.map +0 -1
  162. package/dist/stories/Toast.stories.js +0 -51
  163. package/dist/stories/Toast.stories.js.map +0 -1
  164. package/dist/stories/Toggle.stories.js +0 -42
  165. package/dist/stories/Toggle.stories.js.map +0 -1
  166. package/dist/stories/Tooltip.stories.js +0 -108
  167. package/dist/stories/Tooltip.stories.js.map +0 -1
  168. package/postcss.config.js +0 -8
  169. package/src/assets/images/multifamily-units.svg +0 -10
  170. package/src/assets/images/policy-studio.svg +0 -15
  171. package/src/components/playground/PsScrollBar.vue +0 -320
  172. package/src/contents/ComparisonData.ts +0 -378
  173. package/src/contents/FlexibleData.ts +0 -502
  174. package/src/contents/ResultsData.ts +0 -531
  175. package/src/stories/Accordion.stories.ts +0 -59
  176. package/src/stories/BadgeWithIcon.stories.ts +0 -31
  177. package/src/stories/BarChart.stories.ts +0 -17
  178. package/src/stories/Breadcrumb.stories.ts +0 -22
  179. package/src/stories/Button.stories.ts +0 -48
  180. package/src/stories/Button.vue +0 -59
  181. package/src/stories/CardInfos.stories.ts +0 -15
  182. package/src/stories/ChartLegend.stories.ts +0 -15
  183. package/src/stories/Checkbox.stories.ts +0 -45
  184. package/src/stories/CheckboxSimple.stories.ts +0 -49
  185. package/src/stories/Chips.stories.ts +0 -33
  186. package/src/stories/ClimateZoneBadge.stories.ts +0 -18
  187. package/src/stories/Colors.mdx +0 -70
  188. package/src/stories/CostEffectBar.stories.ts +0 -24
  189. package/src/stories/Datatable.stories.ts +0 -53
  190. package/src/stories/DateCardInfo.stories.ts +0 -20
  191. package/src/stories/Dialog.stories.ts +0 -131
  192. package/src/stories/Draggable.stories.ts +0 -23
  193. package/src/stories/Dropdown.stories.ts +0 -100
  194. package/src/stories/DropdownList.stories.ts +0 -213
  195. package/src/stories/ElevationSystem.mdx +0 -41
  196. package/src/stories/Header.stories.ts +0 -42
  197. package/src/stories/Header.vue +0 -77
  198. package/src/stories/HighlightRippleDot.stories.ts +0 -16
  199. package/src/stories/Icon.stories.ts +0 -23
  200. package/src/stories/InlineSelector.stories.ts +0 -18
  201. package/src/stories/Input.stories.ts +0 -243
  202. package/src/stories/InputSelect.stories.ts +0 -31
  203. package/src/stories/InputTextArea.stories.ts +0 -25
  204. package/src/stories/Introduction.mdx +0 -211
  205. package/src/stories/MiniTag.stories.ts +0 -59
  206. package/src/stories/Playground.stories.ts +0 -16
  207. package/src/stories/ProgressBar.stories.ts +0 -24
  208. package/src/stories/RadioButton.stories.ts +0 -40
  209. package/src/stories/RadioButtonSimple.stories.ts +0 -43
  210. package/src/stories/SimpleAlert.stories.ts +0 -22
  211. package/src/stories/Slider.stories.ts +0 -79
  212. package/src/stories/Switch.stories.ts +0 -39
  213. package/src/stories/TabHeader.stories.ts +0 -57
  214. package/src/stories/TableResults.stories.ts +0 -728
  215. package/src/stories/TagScope.stories.ts +0 -17
  216. package/src/stories/TestimonialCard.stories.ts +0 -27
  217. package/src/stories/Toast.stories.ts +0 -52
  218. package/src/stories/Toggle.stories.ts +0 -48
  219. package/src/stories/Tooltip.stories.ts +0 -114
  220. package/src/stories/Typography.mdx +0 -212
  221. package/src/stories/assets/code-brackets.svg +0 -1
  222. package/src/stories/assets/colors.svg +0 -1
  223. package/src/stories/assets/comments.svg +0 -1
  224. package/src/stories/assets/direction.svg +0 -1
  225. package/src/stories/assets/flow.svg +0 -1
  226. package/src/stories/assets/plugin.svg +0 -1
  227. package/src/stories/assets/repo.svg +0 -1
  228. package/src/stories/assets/stackalt.svg +0 -1
  229. package/src/stories/button.css +0 -30
  230. package/src/stories/header.css +0 -32
  231. package/webpack.config.js +0 -36
@@ -1,717 +0,0 @@
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