@cerebruminc/cerebellum 13.4.0-beta.dangerous.d4cf7ea → 13.4.1

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/lib/cjs/Form.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var FormWrapper = require('./FormStyles-0c0f28e0.js');
6
- var FormikContainer = require('./FormikContainer-e25beb57.js');
6
+ var FormikContainer = require('./FormikContainer-cebc6fbe.js');
7
7
  var FormFieldTypeEnum = require('./FormFieldTypeEnum.cjs');
8
8
  require('./_tslib-955e611e.js');
9
9
  require('styled-components');
@@ -106,7 +106,7 @@ require('./DescriptiveDropdownInput-0b5f7b1f.js');
106
106
  require('./EmailInput-ee2e8ac8.js');
107
107
  require('./InlineEmailInput-78e3cce8.js');
108
108
  require('./Email.cjs');
109
- require('./ImagePicker-fe7fc6ee.js');
109
+ require('./ImagePicker-08a324fc.js');
110
110
  require('./Delete-32a19298.js');
111
111
  require('./Edit.cjs');
112
112
  require('./Toast-2bc00b54.js');
@@ -114,9 +114,9 @@ require('./Typography-78d16930.js');
114
114
  require('./TextVariantEnum.cjs');
115
115
  require('./CheckmarkCircle.cjs');
116
116
  require('./Warning-0428175d.js');
117
- require('./SingleButton-6f14308b.js');
118
- require('libheif-js/wasm-bundle');
119
117
  require('browser-image-compression');
118
+ require('libheif-js/wasm-bundle');
119
+ require('./SingleButton-6f14308b.js');
120
120
  require('./MultiSelect-062af0bf.js');
121
121
  require('./Clear.cjs');
122
122
  require('./InlinePasswordInput.cjs');
@@ -42,7 +42,7 @@ var SwitchTypeEnum = require('./SwitchTypeEnum.cjs');
42
42
  var DescriptiveDropdownInput = require('./DescriptiveDropdownInput-0b5f7b1f.js');
43
43
  var EmailInput = require('./EmailInput-ee2e8ac8.js');
44
44
  var InlineEmailInput = require('./InlineEmailInput-78e3cce8.js');
45
- var ImagePicker = require('./ImagePicker-fe7fc6ee.js');
45
+ var ImagePicker = require('./ImagePicker-08a324fc.js');
46
46
  var MultiSelect = require('./MultiSelect-062af0bf.js');
47
47
  var InlineInput = require('./InlineInput-ffaab44c.js');
48
48
  var Input = require('./Input-9cf5b719.js');
@@ -1295,4 +1295,4 @@ FormikContainer.defaultProps = {
1295
1295
  };
1296
1296
 
1297
1297
  exports.FormikContainer = FormikContainer;
1298
- //# sourceMappingURL=FormikContainer-e25beb57.js.map
1298
+ //# sourceMappingURL=FormikContainer-cebc6fbe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormikContainer-e25beb57.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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17
  var useMeasure = require('./useMeasure-39ee8db4.js');
18
+ var imageCompression = require('browser-image-compression');
19
+ var libheif = require('libheif-js/wasm-bundle');
18
20
  var showLabel = require('./showLabel-8e3c09f1.js');
19
21
  require('./Button.cjs');
20
22
  var SingleButton = require('./SingleButton-6f14308b.js');
21
23
  var ButtonVariantEnum = require('./ButtonVariantEnum.cjs');
22
24
  var IconButton = require('./IconButton-99b9f2dd.js');
23
25
  var helpers = require('./helpers-b07f14f3.js');
26
+ var LoadingEllipsis = require('./LoadingEllipsis-b9895744.js');
24
27
  var BodyLEmphasis = require('./BodyLEmphasis.cjs');
25
28
  var focusAfter = require('./focusAfter.cjs');
26
- var libheif = require('libheif-js/wasm-bundle');
27
- var imageCompression = require('browser-image-compression');
28
- var LoadingEllipsis = require('./LoadingEllipsis-b9895744.js');
29
29
 
30
30
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
31
31
 
32
- var libheif__default = /*#__PURE__*/_interopDefaultLegacy(libheif);
33
32
  var imageCompression__default = /*#__PURE__*/_interopDefaultLegacy(imageCompression);
33
+ var libheif__default = /*#__PURE__*/_interopDefaultLegacy(libheif);
34
+
35
+ var compressImage = function (file) { return _tslib.__awaiter(void 0, void 0, void 0, function () {
36
+ var options, compressedFile;
37
+ return _tslib.__generator(this, function (_a) {
38
+ switch (_a.label) {
39
+ case 0:
40
+ options = {
41
+ maxSizeMB: 2,
42
+ maxWidthOrHeight: 1920,
43
+ useWebWorker: true,
44
+ alwaysKeepResolution: true,
45
+ };
46
+ return [4 /*yield*/, imageCompression__default["default"](file, options)];
47
+ case 1:
48
+ compressedFile = _a.sent();
49
+ return [2 /*return*/, compressedFile];
50
+ }
51
+ });
52
+ }); };
53
+
54
+ function dataURLToBlob(dataUrl) {
55
+ var byteString = atob(dataUrl.split(",")[1]);
56
+ var mimeString = dataUrl.split(",")[0].split(":")[1].split(";")[0];
57
+ var ab = new ArrayBuffer(byteString.length);
58
+ var ia = new Uint8Array(ab);
59
+ for (var i = 0; i < byteString.length; i++) {
60
+ ia[i] = byteString.charCodeAt(i);
61
+ }
62
+ return new Blob([ab], { type: mimeString });
63
+ }
64
+ var convertHEICtoPNG = function (file) { return _tslib.__awaiter(void 0, void 0, void 0, function () {
65
+ var arrayBuffer, decoder, data, image_1, originalWidth, originalHeight, canvas, context, imageData_1, dataUrl, blob, convertedFile, error_1;
66
+ return _tslib.__generator(this, function (_a) {
67
+ switch (_a.label) {
68
+ case 0:
69
+ _a.trys.push([0, 3, , 4]);
70
+ return [4 /*yield*/, file.arrayBuffer()];
71
+ case 1:
72
+ arrayBuffer = _a.sent();
73
+ if (!arrayBuffer) {
74
+ throw new Error("Error: arrayBuffer is null or undefined");
75
+ }
76
+ decoder = new libheif__default["default"].HeifDecoder();
77
+ data = decoder.decode(new Uint8Array(arrayBuffer));
78
+ image_1 = data[0];
79
+ originalWidth = image_1.get_width();
80
+ originalHeight = image_1.get_height();
81
+ canvas = document.createElement("canvas");
82
+ canvas.width = originalWidth;
83
+ canvas.height = originalHeight;
84
+ context = canvas.getContext("2d");
85
+ if (!context) {
86
+ throw new Error("Error: context undefined");
87
+ }
88
+ imageData_1 = context.createImageData(originalWidth, originalHeight);
89
+ return [4 /*yield*/, new Promise(function (resolve, reject) {
90
+ image_1.display(imageData_1, function (displayData) {
91
+ if (!displayData) {
92
+ return reject(new Error("HEIF processing error"));
93
+ }
94
+ resolve();
95
+ });
96
+ })];
97
+ case 2:
98
+ _a.sent();
99
+ context.putImageData(imageData_1, 0, 0);
100
+ dataUrl = canvas.toDataURL("image/png");
101
+ blob = dataURLToBlob(dataUrl);
102
+ convertedFile = new File([blob], "image.png", { type: "image/png" });
103
+ return [2 /*return*/, convertedFile];
104
+ case 3:
105
+ error_1 = _a.sent();
106
+ throw new Error("This is the error ".concat(error_1));
107
+ case 4: return [2 /*return*/];
108
+ }
109
+ });
110
+ }); };
34
111
 
35
112
  var Base = styled.styled.div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n position: relative;\n width: ", "px;\n"], ["\n position: relative;\n width: ", "px;\n"])), function (_a) {
36
113
  var $themeOverride = _a.$themeOverride, theme = _a.theme;
@@ -133,83 +210,6 @@ var FakeTextLink = styled.styled.span(templateObject_14 || (templateObject_14 =
133
210
  });
134
211
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
135
212
 
136
- function dataURLToBlob(dataUrl) {
137
- var byteString = atob(dataUrl.split(",")[1]);
138
- var mimeString = dataUrl.split(",")[0].split(":")[1].split(";")[0];
139
- var ab = new ArrayBuffer(byteString.length);
140
- var ia = new Uint8Array(ab);
141
- for (var i = 0; i < byteString.length; i++) {
142
- ia[i] = byteString.charCodeAt(i);
143
- }
144
- return new Blob([ab], { type: mimeString });
145
- }
146
- var convertHEICtoPNG = function (file) { return _tslib.__awaiter(void 0, void 0, void 0, function () {
147
- var arrayBuffer, decoder, data, image_1, originalWidth, originalHeight, canvas, context, imageData_1, dataUrl, blob, convertedFile, error_1;
148
- return _tslib.__generator(this, function (_a) {
149
- switch (_a.label) {
150
- case 0:
151
- _a.trys.push([0, 3, , 4]);
152
- return [4 /*yield*/, file.arrayBuffer()];
153
- case 1:
154
- arrayBuffer = _a.sent();
155
- if (!arrayBuffer) {
156
- throw new Error("Error: arrayBuffer is null or undefined");
157
- }
158
- decoder = new libheif__default["default"].HeifDecoder();
159
- data = decoder.decode(new Uint8Array(arrayBuffer));
160
- image_1 = data[0];
161
- originalWidth = image_1.get_width();
162
- originalHeight = image_1.get_height();
163
- canvas = document.createElement("canvas");
164
- canvas.width = originalWidth;
165
- canvas.height = originalHeight;
166
- context = canvas.getContext("2d");
167
- if (!context) {
168
- throw new Error("Error: context undefined");
169
- }
170
- imageData_1 = context.createImageData(originalWidth, originalHeight);
171
- return [4 /*yield*/, new Promise(function (resolve, reject) {
172
- image_1.display(imageData_1, function (displayData) {
173
- if (!displayData) {
174
- return reject(new Error("HEIF processing error"));
175
- }
176
- resolve();
177
- });
178
- })];
179
- case 2:
180
- _a.sent();
181
- context.putImageData(imageData_1, 0, 0);
182
- dataUrl = canvas.toDataURL("image/png");
183
- blob = dataURLToBlob(dataUrl);
184
- convertedFile = new File([blob], "image.png", { type: "image/png" });
185
- return [2 /*return*/, convertedFile];
186
- case 3:
187
- error_1 = _a.sent();
188
- throw new Error("This is the error ".concat(error_1));
189
- case 4: return [2 /*return*/];
190
- }
191
- });
192
- }); };
193
-
194
- var compressImage = function (file) { return _tslib.__awaiter(void 0, void 0, void 0, function () {
195
- var options, compressedFile;
196
- return _tslib.__generator(this, function (_a) {
197
- switch (_a.label) {
198
- case 0:
199
- options = {
200
- maxSizeMB: 2,
201
- maxWidthOrHeight: 1920,
202
- useWebWorker: true,
203
- alwaysKeepResolution: true,
204
- };
205
- return [4 /*yield*/, imageCompression__default["default"](file, options)];
206
- case 1:
207
- compressedFile = _a.sent();
208
- return [2 /*return*/, compressedFile];
209
- }
210
- });
211
- }); };
212
-
213
213
  var ImagePicker = function (_a) {
214
214
  var _b = _a.actionButtonVariant, actionButtonVariant = _b === void 0 ? ButtonVariantEnum.ButtonVariantEnum.Text : _b, actionText = _a.actionText, deleteButton = _a.deleteButton, disabled = _a.disabled, _c = _a.editButtonColorFamily, editButtonColorFamily = _c === void 0 ? ButtonColorFamilyEnum.ButtonColorFamilyEnum.Blue : _c, editButtonColorFamilyOverride = _a.editButtonColorFamilyOverride, _d = _a.deleteButtonColorFamily, deleteButtonColorFamily = _d === void 0 ? ButtonColorFamilyEnum.ButtonColorFamilyEnum.Red : _d, deleteButtonColorFamilyOverride = _a.deleteButtonColorFamilyOverride, helperText = _a.helperText, hideIcon = _a.hideIcon, imageLabel = _a.imageLabel, inline = _a.inline, PlaceholderIcon = _a.PlaceholderIcon, placeholderImageUrl = _a.placeholderImageUrl, _e = _a.placeholderInitials, placeholderInitials = _e === void 0 ? "" : _e, name = _a.name, onChange = _a.onChange, onDeleteButtonClick = _a.onDeleteButtonClick, required = _a.required, _f = _a.showValidationMessage, showValidationMessage = _f === void 0 ? false : _f, sizeLimitKB = _a.sizeLimitKB, themeOverride = _a.themeOverride, validationMessage = _a.validationMessage;
215
215
  var theme = styled.useTheme();
@@ -387,4 +387,4 @@ ImagePicker.defaultProps = {
387
387
  };
388
388
 
389
389
  exports.ImagePicker = ImagePicker;
390
- //# sourceMappingURL=ImagePicker-fe7fc6ee.js.map
390
+ //# sourceMappingURL=ImagePicker-08a324fc.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImagePicker-fe7fc6ee.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ImagePicker-08a324fc.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ImagePicker = require('./ImagePicker-fe7fc6ee.js');
5
+ var ImagePicker = require('./ImagePicker-08a324fc.js');
6
6
  require('./_tslib-955e611e.js');
7
7
  require('react/jsx-runtime');
8
8
  require('react');
@@ -40,13 +40,13 @@ require('./ButtonVariantEnum.cjs');
40
40
  require('./CheckmarkCircle.cjs');
41
41
  require('./Warning-0428175d.js');
42
42
  require('react-dom');
43
+ require('browser-image-compression');
44
+ require('libheif-js/wasm-bundle');
43
45
  require('./showLabel-8e3c09f1.js');
44
46
  require('./SingleButton-6f14308b.js');
45
47
  require('./IconButton-99b9f2dd.js');
46
48
  require('./focusAfter.cjs');
47
49
  require('./helpers-b07f14f3.js');
48
- require('libheif-js/wasm-bundle');
49
- require('browser-image-compression');
50
50
 
51
51
 
52
52
 
package/lib/cjs/index.cjs CHANGED
@@ -46,13 +46,13 @@ var helpers = require('./helpers-b07f14f3.js');
46
46
  var DrawerDivider = require('./DrawerDivider-8f1e423f.js');
47
47
  var EmailInput = require('./EmailInput-ee2e8ac8.js');
48
48
  var Footer = require('./Footer.cjs');
49
- var FormikContainer = require('./FormikContainer-e25beb57.js');
49
+ var FormikContainer = require('./FormikContainer-cebc6fbe.js');
50
50
  var FormFieldTypeEnum = require('./FormFieldTypeEnum.cjs');
51
51
  var FiltersBar = require('./FiltersBar-1c53d614.js');
52
52
  var HorizontalTabMenu = require('./HorizontalTabMenu-55955f88.js');
53
53
  var IconButton = require('./IconButton-99b9f2dd.js');
54
54
  var IconTile = require('./IconTile-64cb919a.js');
55
- var ImagePicker = require('./ImagePicker-fe7fc6ee.js');
55
+ var ImagePicker = require('./ImagePicker-08a324fc.js');
56
56
  var InlineCreditCardInput = require('./InlineCreditCardInput-673b3096.js');
57
57
  var InlineCurrencyInput = require('./InlineCurrencyInput-1680f1a4.js');
58
58
  var InlineEmailInput = require('./InlineEmailInput-78e3cce8.js');
@@ -288,8 +288,8 @@ require('./useIsomorphicLayoutEffect-e0094154.js');
288
288
  require('dayjs');
289
289
  require('./RadioStyles-12980dcd.js');
290
290
  require('formik');
291
- require('libheif-js/wasm-bundle');
292
291
  require('browser-image-compression');
292
+ require('libheif-js/wasm-bundle');
293
293
  require('@rjsf/core');
294
294
  require('@rjsf/validator-ajv8');
295
295
  require('./filtering-43f0db28.js');
package/lib/esm/Form.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { F as FormWrapper } from './FormStyles-bf01f03c.js';
2
- export { F as Form } from './FormikContainer-11af2ab2.js';
2
+ export { F as Form } from './FormikContainer-140aa2e4.js';
3
3
  export { FormFieldTypeEnum, RemovableFieldTypeEnum, isAddress, isCheckbox, isCheckboxGroup, isConfigurableInput, isCountrySelect, isCountySelect, isCreditCard, isCurrency, isDatePicker, isDescriptiveDropdownInput, isEmail, isFormFieldType, isImagePicker, isMultiSelect, isNumber, isPassword, isPhone, isRadioGroup, isRemovable, isSectionHeader, isSelect, isSocialSecurity, isSplitLine, isStateSelect, isTextarea, isToggle, isToggleGroup, isZipCode } from './FormFieldTypeEnum.js';
4
4
  import './_tslib-1a4c929e.js';
5
5
  import 'styled-components';
@@ -102,7 +102,7 @@ import './DescriptiveDropdownInput-1c8009a6.js';
102
102
  import './EmailInput-3d43f7fe.js';
103
103
  import './InlineEmailInput-b6c8b8b2.js';
104
104
  import './Email.js';
105
- import './ImagePicker-75a9ac11.js';
105
+ import './ImagePicker-a93304aa.js';
106
106
  import './Delete-717a8dd0.js';
107
107
  import './Edit.js';
108
108
  import './Toast-d07ba541.js';
@@ -110,9 +110,9 @@ import './Typography-a45f29be.js';
110
110
  import './TextVariantEnum.js';
111
111
  import './CheckmarkCircle.js';
112
112
  import './Warning-09535167.js';
113
- import './SingleButton-4b90fc1f.js';
114
- import 'libheif-js/wasm-bundle';
115
113
  import 'browser-image-compression';
114
+ import 'libheif-js/wasm-bundle';
115
+ import './SingleButton-4b90fc1f.js';
116
116
  import './MultiSelect-fabde188.js';
117
117
  import './Clear.js';
118
118
  import './InlinePasswordInput.js';
@@ -40,7 +40,7 @@ import { SwitchTypeEnum } from './SwitchTypeEnum.js';
40
40
  import { D as DescriptiveDropdownInput } from './DescriptiveDropdownInput-1c8009a6.js';
41
41
  import { E as EmailInput } from './EmailInput-3d43f7fe.js';
42
42
  import { I as InlineEmailInput } from './InlineEmailInput-b6c8b8b2.js';
43
- import { I as ImagePicker } from './ImagePicker-75a9ac11.js';
43
+ import { I as ImagePicker } from './ImagePicker-a93304aa.js';
44
44
  import { M as MultiSelect } from './MultiSelect-fabde188.js';
45
45
  import { I as InlineInput } from './InlineInput-6e99d8b3.js';
46
46
  import { I as Input } from './Input-b6886dba.js';
@@ -1293,4 +1293,4 @@ FormikContainer.defaultProps = {
1293
1293
  };
1294
1294
 
1295
1295
  export { FormikContainer as F };
1296
- //# sourceMappingURL=FormikContainer-11af2ab2.js.map
1296
+ //# sourceMappingURL=FormikContainer-140aa2e4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormikContainer-11af2ab2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { a as __makeTemplateObject, c as __awaiter, d as __generator, _ as __assign } from './_tslib-1a4c929e.js';
1
+ import { c as __awaiter, d as __generator, a as __makeTemplateObject, _ as __assign } from './_tslib-1a4c929e.js';
2
2
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
3
  import { useState, useRef, useEffect } from 'react';
4
4
  import { styled, useTheme } from 'styled-components';
@@ -13,17 +13,94 @@ import { D as DialogHandler } from './Toast-d07ba541.js';
13
13
  import 'react-dom';
14
14
  import { noop } from './isEmptyObject.js';
15
15
  import { u as useMeasure } from './useMeasure-c4c687e9.js';
16
+ import imageCompression from 'browser-image-compression';
17
+ import libheif from 'libheif-js/wasm-bundle';
16
18
  import { s as showLabel } from './showLabel-b80f881c.js';
17
19
  import './Button.js';
18
20
  import { S as SingleButton } from './SingleButton-4b90fc1f.js';
19
21
  import { ButtonVariantEnum } from './ButtonVariantEnum.js';
20
22
  import { I as IconButton } from './IconButton-3083ac19.js';
21
23
  import { A as ASTERISK_OFFSET_SPACE } from './helpers-e2f33583.js';
24
+ import { L as LoadingEllipsis } from './LoadingEllipsis-505a407e.js';
22
25
  import { HeadingH2 } from './BodyLEmphasis.js';
23
26
  import { focusAfter, absoluteFill } from './focusAfter.js';
24
- import libheif from 'libheif-js/wasm-bundle';
25
- import imageCompression from 'browser-image-compression';
26
- import { L as LoadingEllipsis } from './LoadingEllipsis-505a407e.js';
27
+
28
+ var compressImage = function (file) { return __awaiter(void 0, void 0, void 0, function () {
29
+ var options, compressedFile;
30
+ return __generator(this, function (_a) {
31
+ switch (_a.label) {
32
+ case 0:
33
+ options = {
34
+ maxSizeMB: 2,
35
+ maxWidthOrHeight: 1920,
36
+ useWebWorker: true,
37
+ alwaysKeepResolution: true,
38
+ };
39
+ return [4 /*yield*/, imageCompression(file, options)];
40
+ case 1:
41
+ compressedFile = _a.sent();
42
+ return [2 /*return*/, compressedFile];
43
+ }
44
+ });
45
+ }); };
46
+
47
+ function dataURLToBlob(dataUrl) {
48
+ var byteString = atob(dataUrl.split(",")[1]);
49
+ var mimeString = dataUrl.split(",")[0].split(":")[1].split(";")[0];
50
+ var ab = new ArrayBuffer(byteString.length);
51
+ var ia = new Uint8Array(ab);
52
+ for (var i = 0; i < byteString.length; i++) {
53
+ ia[i] = byteString.charCodeAt(i);
54
+ }
55
+ return new Blob([ab], { type: mimeString });
56
+ }
57
+ var convertHEICtoPNG = function (file) { return __awaiter(void 0, void 0, void 0, function () {
58
+ var arrayBuffer, decoder, data, image_1, originalWidth, originalHeight, canvas, context, imageData_1, dataUrl, blob, convertedFile, error_1;
59
+ return __generator(this, function (_a) {
60
+ switch (_a.label) {
61
+ case 0:
62
+ _a.trys.push([0, 3, , 4]);
63
+ return [4 /*yield*/, file.arrayBuffer()];
64
+ case 1:
65
+ arrayBuffer = _a.sent();
66
+ if (!arrayBuffer) {
67
+ throw new Error("Error: arrayBuffer is null or undefined");
68
+ }
69
+ decoder = new libheif.HeifDecoder();
70
+ data = decoder.decode(new Uint8Array(arrayBuffer));
71
+ image_1 = data[0];
72
+ originalWidth = image_1.get_width();
73
+ originalHeight = image_1.get_height();
74
+ canvas = document.createElement("canvas");
75
+ canvas.width = originalWidth;
76
+ canvas.height = originalHeight;
77
+ context = canvas.getContext("2d");
78
+ if (!context) {
79
+ throw new Error("Error: context undefined");
80
+ }
81
+ imageData_1 = context.createImageData(originalWidth, originalHeight);
82
+ return [4 /*yield*/, new Promise(function (resolve, reject) {
83
+ image_1.display(imageData_1, function (displayData) {
84
+ if (!displayData) {
85
+ return reject(new Error("HEIF processing error"));
86
+ }
87
+ resolve();
88
+ });
89
+ })];
90
+ case 2:
91
+ _a.sent();
92
+ context.putImageData(imageData_1, 0, 0);
93
+ dataUrl = canvas.toDataURL("image/png");
94
+ blob = dataURLToBlob(dataUrl);
95
+ convertedFile = new File([blob], "image.png", { type: "image/png" });
96
+ return [2 /*return*/, convertedFile];
97
+ case 3:
98
+ error_1 = _a.sent();
99
+ throw new Error("This is the error ".concat(error_1));
100
+ case 4: return [2 /*return*/];
101
+ }
102
+ });
103
+ }); };
27
104
 
28
105
  var Base = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n width: ", "px;\n"], ["\n position: relative;\n width: ", "px;\n"])), function (_a) {
29
106
  var $themeOverride = _a.$themeOverride, theme = _a.theme;
@@ -126,83 +203,6 @@ var FakeTextLink = styled.span(templateObject_14 || (templateObject_14 = __makeT
126
203
  });
127
204
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
128
205
 
129
- function dataURLToBlob(dataUrl) {
130
- var byteString = atob(dataUrl.split(",")[1]);
131
- var mimeString = dataUrl.split(",")[0].split(":")[1].split(";")[0];
132
- var ab = new ArrayBuffer(byteString.length);
133
- var ia = new Uint8Array(ab);
134
- for (var i = 0; i < byteString.length; i++) {
135
- ia[i] = byteString.charCodeAt(i);
136
- }
137
- return new Blob([ab], { type: mimeString });
138
- }
139
- var convertHEICtoPNG = function (file) { return __awaiter(void 0, void 0, void 0, function () {
140
- var arrayBuffer, decoder, data, image_1, originalWidth, originalHeight, canvas, context, imageData_1, dataUrl, blob, convertedFile, error_1;
141
- return __generator(this, function (_a) {
142
- switch (_a.label) {
143
- case 0:
144
- _a.trys.push([0, 3, , 4]);
145
- return [4 /*yield*/, file.arrayBuffer()];
146
- case 1:
147
- arrayBuffer = _a.sent();
148
- if (!arrayBuffer) {
149
- throw new Error("Error: arrayBuffer is null or undefined");
150
- }
151
- decoder = new libheif.HeifDecoder();
152
- data = decoder.decode(new Uint8Array(arrayBuffer));
153
- image_1 = data[0];
154
- originalWidth = image_1.get_width();
155
- originalHeight = image_1.get_height();
156
- canvas = document.createElement("canvas");
157
- canvas.width = originalWidth;
158
- canvas.height = originalHeight;
159
- context = canvas.getContext("2d");
160
- if (!context) {
161
- throw new Error("Error: context undefined");
162
- }
163
- imageData_1 = context.createImageData(originalWidth, originalHeight);
164
- return [4 /*yield*/, new Promise(function (resolve, reject) {
165
- image_1.display(imageData_1, function (displayData) {
166
- if (!displayData) {
167
- return reject(new Error("HEIF processing error"));
168
- }
169
- resolve();
170
- });
171
- })];
172
- case 2:
173
- _a.sent();
174
- context.putImageData(imageData_1, 0, 0);
175
- dataUrl = canvas.toDataURL("image/png");
176
- blob = dataURLToBlob(dataUrl);
177
- convertedFile = new File([blob], "image.png", { type: "image/png" });
178
- return [2 /*return*/, convertedFile];
179
- case 3:
180
- error_1 = _a.sent();
181
- throw new Error("This is the error ".concat(error_1));
182
- case 4: return [2 /*return*/];
183
- }
184
- });
185
- }); };
186
-
187
- var compressImage = function (file) { return __awaiter(void 0, void 0, void 0, function () {
188
- var options, compressedFile;
189
- return __generator(this, function (_a) {
190
- switch (_a.label) {
191
- case 0:
192
- options = {
193
- maxSizeMB: 2,
194
- maxWidthOrHeight: 1920,
195
- useWebWorker: true,
196
- alwaysKeepResolution: true,
197
- };
198
- return [4 /*yield*/, imageCompression(file, options)];
199
- case 1:
200
- compressedFile = _a.sent();
201
- return [2 /*return*/, compressedFile];
202
- }
203
- });
204
- }); };
205
-
206
206
  var ImagePicker = function (_a) {
207
207
  var _b = _a.actionButtonVariant, actionButtonVariant = _b === void 0 ? ButtonVariantEnum.Text : _b, actionText = _a.actionText, deleteButton = _a.deleteButton, disabled = _a.disabled, _c = _a.editButtonColorFamily, editButtonColorFamily = _c === void 0 ? ButtonColorFamilyEnum.Blue : _c, editButtonColorFamilyOverride = _a.editButtonColorFamilyOverride, _d = _a.deleteButtonColorFamily, deleteButtonColorFamily = _d === void 0 ? ButtonColorFamilyEnum.Red : _d, deleteButtonColorFamilyOverride = _a.deleteButtonColorFamilyOverride, helperText = _a.helperText, hideIcon = _a.hideIcon, imageLabel = _a.imageLabel, inline = _a.inline, PlaceholderIcon = _a.PlaceholderIcon, placeholderImageUrl = _a.placeholderImageUrl, _e = _a.placeholderInitials, placeholderInitials = _e === void 0 ? "" : _e, name = _a.name, onChange = _a.onChange, onDeleteButtonClick = _a.onDeleteButtonClick, required = _a.required, _f = _a.showValidationMessage, showValidationMessage = _f === void 0 ? false : _f, sizeLimitKB = _a.sizeLimitKB, themeOverride = _a.themeOverride, validationMessage = _a.validationMessage;
208
208
  var theme = useTheme();
@@ -380,4 +380,4 @@ ImagePicker.defaultProps = {
380
380
  };
381
381
 
382
382
  export { ImagePicker as I };
383
- //# sourceMappingURL=ImagePicker-75a9ac11.js.map
383
+ //# sourceMappingURL=ImagePicker-a93304aa.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImagePicker-75a9ac11.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ImagePicker-a93304aa.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- export { I as ImagePicker } from './ImagePicker-75a9ac11.js';
1
+ export { I as ImagePicker } from './ImagePicker-a93304aa.js';
2
2
  import './_tslib-1a4c929e.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -36,11 +36,11 @@ import './ButtonVariantEnum.js';
36
36
  import './CheckmarkCircle.js';
37
37
  import './Warning-09535167.js';
38
38
  import 'react-dom';
39
+ import 'browser-image-compression';
40
+ import 'libheif-js/wasm-bundle';
39
41
  import './showLabel-b80f881c.js';
40
42
  import './SingleButton-4b90fc1f.js';
41
43
  import './IconButton-3083ac19.js';
42
44
  import './focusAfter.js';
43
45
  import './helpers-e2f33583.js';
44
- import 'libheif-js/wasm-bundle';
45
- import 'browser-image-compression';
46
46
  //# sourceMappingURL=ImagePicker.js.map
package/lib/esm/index.js CHANGED
@@ -47,13 +47,13 @@ import { A as ASTERISK_OFFSET_SPACE } from './helpers-e2f33583.js';
47
47
  export { D as DrawerDivider } from './DrawerDivider-5b10a31b.js';
48
48
  export { E as EmailInput } from './EmailInput-3d43f7fe.js';
49
49
  export { Footer } from './Footer.js';
50
- export { F as Form } from './FormikContainer-11af2ab2.js';
50
+ export { F as Form } from './FormikContainer-140aa2e4.js';
51
51
  export { FormFieldTypeEnum, RemovableFieldTypeEnum, isAddress, isCheckbox, isCheckboxGroup, isConfigurableInput, isCountrySelect, isCountySelect, isCreditCard, isCurrency, isDatePicker, isDescriptiveDropdownInput, isEmail, isFormFieldType, isImagePicker, isMultiSelect, isNumber, isPassword, isPhone, isRadioGroup, isRemovable, isSectionHeader, isSelect, isSocialSecurity, isSplitLine, isStateSelect, isTextarea, isToggle, isToggleGroup, isZipCode } from './FormFieldTypeEnum.js';
52
52
  export { F as FiltersBar } from './FiltersBar-25250ff0.js';
53
53
  export { H as HorizontalTabMenu } from './HorizontalTabMenu-7f72f11a.js';
54
54
  export { I as IconButton } from './IconButton-3083ac19.js';
55
55
  export { I as IconTile } from './IconTile-ccdd2d4e.js';
56
- export { I as ImagePicker } from './ImagePicker-75a9ac11.js';
56
+ export { I as ImagePicker } from './ImagePicker-a93304aa.js';
57
57
  export { I as InlineCreditCardInput, a as applyCreditCardMask } from './InlineCreditCardInput-326e0e7f.js';
58
58
  export { I as InlineCurrencyInput, a as applyCurrencyMask } from './InlineCurrencyInput-51a48ddd.js';
59
59
  export { I as InlineEmailInput } from './InlineEmailInput-b6c8b8b2.js';
@@ -292,8 +292,8 @@ import './useIsomorphicLayoutEffect-02f8ff90.js';
292
292
  import 'dayjs';
293
293
  import './RadioStyles-876d7b0d.js';
294
294
  import 'formik';
295
- import 'libheif-js/wasm-bundle';
296
295
  import 'browser-image-compression';
296
+ import 'libheif-js/wasm-bundle';
297
297
  import '@rjsf/core';
298
298
  import '@rjsf/validator-ajv8';
299
299
  import './filtering-ce417fc1.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerebruminc/cerebellum",
3
- "version": "13.4.0-beta.dangerous.d4cf7ea",
3
+ "version": "13.4.1",
4
4
  "description": "Cerebrum's React Component Library",
5
5
  "type": "module",
6
6
  "main": "lib/cjs/index.cjs",