pollination-react-io 0.0.38 → 0.0.41-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pollination-react-io",
3
- "version": "0.0.38",
3
+ "version": "0.0.41-beta.2",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "files": [
@@ -60,8 +60,11 @@
60
60
  "@types/react-dom": "^16.9.14",
61
61
  "@typescript-eslint/eslint-plugin": "^5.29.0",
62
62
  "@typescript-eslint/parser": "^5.29.0",
63
+ "assert": "^2.0.0",
63
64
  "babel-loader": "^8.2.2",
64
65
  "babel-preset-react-app": "^10.0.0",
66
+ "browserify-zlib": "^0.2.0",
67
+ "buffer": "^6.0.3",
65
68
  "colors": "^1.4.0",
66
69
  "css-loader": "^5.2.6",
67
70
  "eslint": "^8.18.0",
@@ -69,11 +72,14 @@
69
72
  "eslint-plugin-jsx-a11y": "^6.5.1",
70
73
  "eslint-plugin-react": "^7.30.0",
71
74
  "eslint-plugin-react-hooks": "^4.6.0",
75
+ "fs-browser": "^1.0.0",
72
76
  "gh-pages": "^4.0.0",
73
77
  "html-webpack-plugin": "^5.5.0",
78
+ "https-browserify": "^1.0.0",
74
79
  "identity-obj-proxy": "^3.0.0",
75
80
  "jest": "^26.6.3",
76
- "node-sass": "^7.0.1",
81
+ "os-browserify": "^0.3.0",
82
+ "path-browserify": "^1.0.1",
77
83
  "react": "^16.14.0",
78
84
  "react-dom": "^16.14.0",
79
85
  "rollup": "^2.56.3",
@@ -84,9 +90,14 @@
84
90
  "rollup-plugin-typescript2": "^0.29.0",
85
91
  "sass": "^1.52.1",
86
92
  "sass-loader": "^10.1.1",
93
+ "stream-browserify": "^3.0.0",
94
+ "stream-http": "^3.2.0",
87
95
  "style-loader": "^2.0.0",
88
96
  "ts-jest": "^26.5.6",
97
+ "tty-browserify": "^0.0.1",
89
98
  "typescript": "^4.4.2",
99
+ "url": "^0.11.0",
100
+ "util": "^0.12.4",
90
101
  "webpack": "^5.73.0"
91
102
  },
92
103
  "dependencies": {
@@ -1,5 +0,0 @@
1
- export declare const ConditionalWrapper: ({ condition, wrapper, children }: {
2
- condition: any;
3
- wrapper: any;
4
- children: any;
5
- }) => any;
@@ -1,27 +0,0 @@
1
- import React, { FC } from 'react';
2
- import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
3
- import "./Dropdown.scss";
4
- export declare type Option = {
5
- type: 'checkbox' | 'radio' | 'button' | 'label' | 'link';
6
- id: string;
7
- label: string;
8
- checked?: boolean;
9
- disabled?: boolean;
10
- onSelect?: (option: Option) => void;
11
- to?: string;
12
- };
13
- export declare type OptionGroup = {
14
- options: Option[];
15
- type?: 'radio' | 'default';
16
- value?: string;
17
- };
18
- interface DropdownProps {
19
- optionGroups: OptionGroup[];
20
- trigger: React.ReactNode;
21
- contentProps?: DropdownMenu.DropdownMenuContentProps;
22
- itemProps?: DropdownMenu.DropdownMenuItemProps;
23
- arrow?: boolean;
24
- disabled?: boolean;
25
- }
26
- export declare const Dropdown: FC<DropdownProps>;
27
- export {};
@@ -1,3 +0,0 @@
1
- export interface DropdownProps {
2
- foo: string;
3
- }
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import "./FileInput.scss";
3
- declare const FileInput: React.FC<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
4
- export default FileInput;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- import { GetHbjsonProps } from './GetHbjson.types';
3
- export declare const GetHbjson: FC<GetHbjsonProps>;
@@ -1,3 +0,0 @@
1
- export interface GetHbjsonProps {
2
- setParentState: (data: any) => any;
3
- }
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function Logo(): JSX.Element;
@@ -1,2 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const ManageSettings: FC;
@@ -1,3 +0,0 @@
1
- export interface ManageSettingsProps {
2
- foo: string;
3
- }
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- import { SendHbjsonProps } from './SendHbjson.types';
3
- export declare const SendHbjson: FC<SendHbjsonProps>;
@@ -1,3 +0,0 @@
1
- export interface SendHbjsonProps {
2
- hbjson?: object;
3
- }
@@ -1,282 +0,0 @@
1
- export declare const hbjson: {
2
- type: string;
3
- identifier: string;
4
- display_name: string;
5
- units: string;
6
- properties: {
7
- type: string;
8
- energy: {
9
- type: string;
10
- construction_sets: any[];
11
- constructions: any[];
12
- materials: any[];
13
- hvacs: {
14
- type: string;
15
- identifier: string;
16
- economizer_type: string;
17
- demand_controlled_ventilation: boolean;
18
- sensible_heat_recovery: number;
19
- latent_heat_recovery: number;
20
- heating_air_temperature: number;
21
- cooling_air_temperature: number;
22
- heating_limit: {
23
- type: string;
24
- };
25
- cooling_limit: {
26
- type: string;
27
- };
28
- }[];
29
- program_types: {
30
- type: string;
31
- identifier: string;
32
- people: {
33
- type: string;
34
- identifier: string;
35
- people_per_area: number;
36
- radiant_fraction: number;
37
- latent_fraction: {
38
- type: string;
39
- };
40
- occupancy_schedule: string;
41
- activity_schedule: string;
42
- };
43
- lighting: {
44
- type: string;
45
- identifier: string;
46
- watts_per_area: number;
47
- return_air_fraction: number;
48
- radiant_fraction: number;
49
- visible_fraction: number;
50
- schedule: string;
51
- };
52
- electric_equipment: {
53
- type: string;
54
- identifier: string;
55
- watts_per_area: number;
56
- radiant_fraction: number;
57
- latent_fraction: number;
58
- lost_fraction: number;
59
- schedule: string;
60
- };
61
- infiltration: {
62
- type: string;
63
- identifier: string;
64
- flow_per_exterior_area: number;
65
- schedule: string;
66
- };
67
- ventilation: {
68
- type: string;
69
- identifier: string;
70
- air_changes_per_hour: number;
71
- };
72
- setpoint: {
73
- type: string;
74
- identifier: string;
75
- heating_schedule: string;
76
- cooling_schedule: string;
77
- };
78
- }[];
79
- schedules: ({
80
- type: string;
81
- identifier: string;
82
- day_schedules: {
83
- type: string;
84
- identifier: string;
85
- values: number[];
86
- times: number[][];
87
- interpolate: boolean;
88
- }[];
89
- default_day_schedule: string;
90
- schedule_type_limit: string;
91
- summer_designday_schedule?: undefined;
92
- winter_designday_schedule?: undefined;
93
- schedule_rules?: undefined;
94
- } | {
95
- type: string;
96
- identifier: string;
97
- day_schedules: {
98
- type: string;
99
- identifier: string;
100
- values: number[];
101
- times: number[][];
102
- interpolate: boolean;
103
- }[];
104
- default_day_schedule: string;
105
- summer_designday_schedule: string;
106
- winter_designday_schedule: string;
107
- schedule_type_limit: string;
108
- schedule_rules?: undefined;
109
- } | {
110
- type: string;
111
- identifier: string;
112
- day_schedules: {
113
- type: string;
114
- identifier: string;
115
- values: number[];
116
- times: number[][];
117
- interpolate: boolean;
118
- }[];
119
- default_day_schedule: string;
120
- schedule_rules: {
121
- type: string;
122
- schedule_day: string;
123
- apply_sunday: boolean;
124
- apply_monday: boolean;
125
- apply_tuesday: boolean;
126
- apply_wednesday: boolean;
127
- apply_thursday: boolean;
128
- apply_friday: boolean;
129
- apply_saturday: boolean;
130
- start_date: number[];
131
- end_date: number[];
132
- }[];
133
- summer_designday_schedule: string;
134
- winter_designday_schedule: string;
135
- schedule_type_limit: string;
136
- })[];
137
- schedule_type_limits: ({
138
- type: string;
139
- identifier: string;
140
- lower_limit: number;
141
- upper_limit: number;
142
- numeric_type: string;
143
- unit_type: string;
144
- } | {
145
- type: string;
146
- identifier: string;
147
- lower_limit: number;
148
- upper_limit: {
149
- type: string;
150
- };
151
- numeric_type: string;
152
- unit_type: string;
153
- })[];
154
- };
155
- radiance: {
156
- type: string;
157
- modifier_sets: any[];
158
- modifiers: any[];
159
- };
160
- };
161
- rooms: {
162
- type: string;
163
- identifier: string;
164
- display_name: string;
165
- properties: {
166
- type: string;
167
- energy: {
168
- type: string;
169
- program_type: string;
170
- hvac: string;
171
- setpoint: {
172
- type: string;
173
- identifier: string;
174
- heating_schedule: string;
175
- cooling_schedule: string;
176
- humidifying_schedule: string;
177
- dehumidifying_schedule: string;
178
- };
179
- };
180
- radiance: {
181
- type: string;
182
- };
183
- };
184
- faces: ({
185
- type: string;
186
- identifier: string;
187
- display_name: string;
188
- properties: {
189
- type: string;
190
- energy: {
191
- type: string;
192
- };
193
- radiance: {
194
- type: string;
195
- };
196
- };
197
- geometry: {
198
- type: string;
199
- boundary: number[][];
200
- };
201
- face_type: string;
202
- boundary_condition: {
203
- type: string;
204
- sun_exposure?: undefined;
205
- wind_exposure?: undefined;
206
- view_factor?: undefined;
207
- };
208
- apertures?: undefined;
209
- } | {
210
- type: string;
211
- identifier: string;
212
- display_name: string;
213
- properties: {
214
- type: string;
215
- energy: {
216
- type: string;
217
- };
218
- radiance: {
219
- type: string;
220
- };
221
- };
222
- geometry: {
223
- type: string;
224
- boundary: number[][];
225
- };
226
- face_type: string;
227
- boundary_condition: {
228
- type: string;
229
- sun_exposure: boolean;
230
- wind_exposure: boolean;
231
- view_factor: {
232
- type: string;
233
- };
234
- };
235
- apertures: {
236
- type: string;
237
- identifier: string;
238
- display_name: string;
239
- properties: {
240
- type: string;
241
- energy: {
242
- type: string;
243
- };
244
- radiance: {
245
- type: string;
246
- };
247
- };
248
- geometry: {
249
- type: string;
250
- boundary: number[][];
251
- };
252
- is_operable: boolean;
253
- boundary_condition: {
254
- type: string;
255
- sun_exposure: boolean;
256
- wind_exposure: boolean;
257
- view_factor: {
258
- type: string;
259
- };
260
- };
261
- outdoor_shades: {
262
- type: string;
263
- identifier: string;
264
- display_name: string;
265
- properties: {
266
- type: string;
267
- energy: {
268
- type: string;
269
- };
270
- radiance: {
271
- type: string;
272
- };
273
- };
274
- geometry: {
275
- type: string;
276
- boundary: number[][];
277
- };
278
- }[];
279
- }[];
280
- })[];
281
- }[];
282
- };
@@ -1,11 +0,0 @@
1
- import React, { FC, ReactNode } from 'react';
2
- import { OptionGroup } from '../Dropdown/Dropdown';
3
- import '../buttons.scss';
4
- export interface SettingsButtonProps {
5
- onClick: () => void;
6
- label: string | ReactNode;
7
- options?: OptionGroup[];
8
- disabled?: boolean;
9
- triggerIcon?: React.ReactNode;
10
- }
11
- export declare const SettingsButton: FC<SettingsButtonProps>;
@@ -1,10 +0,0 @@
1
- import React, { CSSProperties, FC } from "react";
2
- import './Tooltip.scss';
3
- interface TooltipProps {
4
- content: React.ReactNode | string;
5
- side?: "top" | "right" | "bottom" | "left";
6
- children?: React.ReactNode;
7
- style?: CSSProperties;
8
- }
9
- export declare const Tooltip: FC<TooltipProps>;
10
- export {};