@frontegg/types 6.69.0 → 6.70.0

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.
@@ -10,31 +10,28 @@
10
10
  function clamp(value, min = 0, max = 1) {
11
11
  return Math.min(Math.max(min, value), max);
12
12
  }
13
+
13
14
  /**
14
15
  * Converts a color from CSS hex format to CSS rgb format.
15
16
  * @param {string} color - Hex color, i.e. #nnn or #nnnnnn
16
17
  * @returns {string} A CSS rgb color string
17
18
  */
18
-
19
-
20
19
  export function hexToRgb(color) {
21
20
  color = color.substr(1);
22
21
  const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');
23
22
  let colors = color.match(re);
24
-
25
23
  if (colors && colors[0].length === 1) {
26
24
  colors = colors.map(n => n + n);
27
25
  }
28
-
29
26
  return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {
30
27
  return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
31
28
  }).join(', ')})` : '';
32
29
  }
33
-
34
30
  function intToHex(int) {
35
31
  const hex = int.toString(16);
36
32
  return hex.length === 1 ? `0${hex}` : hex;
37
33
  }
34
+
38
35
  /**
39
36
  * Returns an object with the type and values of a color.
40
37
  *
@@ -42,45 +39,36 @@ function intToHex(int) {
42
39
  * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
43
40
  * @returns {object} - A MUI color object: {type: string, values: number[]}
44
41
  */
45
-
46
-
47
42
  export function decomposeColor(color) {
48
43
  // Idempotent
49
44
  if (color.type) {
50
45
  return color;
51
46
  }
52
-
53
47
  if (color.charAt(0) === '#') {
54
48
  return decomposeColor(hexToRgb(color));
55
49
  }
56
-
57
50
  const marker = color.indexOf('(');
58
51
  const type = color.substring(0, marker);
59
-
60
52
  if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) {
61
53
  throw new Error('MUI: Unsupported `%s` color.\n' + 'The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). ' + color);
62
54
  }
63
-
64
55
  const valuesStr = color.substring(marker + 1, color.length - 1);
65
56
  let colorSpace;
66
57
  let valuesColor;
67
-
68
58
  if (type === 'color') {
69
59
  valuesColor = valuesStr.split(' ');
70
60
  colorSpace = valuesColor.shift();
71
-
72
61
  if (valuesColor.length === 4 && valuesColor[3].charAt(0) === '/') {
73
62
  valuesColor[3] = valuesColor[3].substr(1);
74
- } // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
75
-
63
+ }
76
64
 
65
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
77
66
  if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {
78
67
  throw new Error('MUI: unsupported `%s` color space.\n' + 'The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.' + colorSpace);
79
68
  }
80
69
  } else {
81
70
  valuesColor = valuesStr.split(',');
82
71
  }
83
-
84
72
  const values = valuesColor.map(value => parseFloat(value));
85
73
  return {
86
74
  type,
@@ -88,6 +76,7 @@ export function decomposeColor(color) {
88
76
  colorSpace
89
77
  };
90
78
  }
79
+
91
80
  /**
92
81
  * Converts a color object with type and values to a string.
93
82
  * @param {object} color - Decomposed color
@@ -95,7 +84,6 @@ export function decomposeColor(color) {
95
84
  * @param {array} color.values - [n,n,n] or [n,n,n,n]
96
85
  * @returns {string} A CSS color string
97
86
  */
98
-
99
87
  export function recomposeColor(color) {
100
88
  const {
101
89
  type,
@@ -104,7 +92,6 @@ export function recomposeColor(color) {
104
92
  let {
105
93
  values
106
94
  } = color;
107
-
108
95
  if (type.indexOf('rgb') !== -1) {
109
96
  // Only convert the first 3 values to int (i.e. not alpha)
110
97
  values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);
@@ -112,38 +99,35 @@ export function recomposeColor(color) {
112
99
  values[1] = `${values[1]}%`;
113
100
  values[2] = `${values[2]}%`;
114
101
  }
115
-
116
102
  if (type.indexOf('color') !== -1) {
117
103
  values = `${colorSpace} ${values.join(' ')}`;
118
104
  } else {
119
105
  values = `${values.join(', ')}`;
120
106
  }
121
-
122
107
  return `${type}(${values})`;
123
108
  }
109
+
124
110
  /**
125
111
  * Converts a color from CSS rgb format to CSS hex format.
126
112
  * @param {string} color - RGB color, i.e. rgb(n, n, n)
127
113
  * @returns {string} A CSS rgb color string, i.e. #nnnnnn
128
114
  */
129
-
130
115
  export function rgbToHex(color) {
131
116
  // Idempotent
132
117
  if (color.indexOf('#') === 0) {
133
118
  return color;
134
119
  }
135
-
136
120
  const {
137
121
  values
138
122
  } = decomposeColor(color);
139
123
  return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;
140
124
  }
125
+
141
126
  /**
142
127
  * Converts a color from hsl format to rgb format.
143
128
  * @param {string} color - HSL color values
144
129
  * @returns {string} rgb color values
145
130
  */
146
-
147
131
  export function hslToRgb(color) {
148
132
  color = decomposeColor(color);
149
133
  const {
@@ -153,22 +137,19 @@ export function hslToRgb(color) {
153
137
  const s = values[1] / 100;
154
138
  const l = values[2] / 100;
155
139
  const a = s * Math.min(l, 1 - l);
156
-
157
140
  const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
158
-
159
141
  let type = 'rgb';
160
142
  const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];
161
-
162
143
  if (color.type === 'hsla') {
163
144
  type += 'a';
164
145
  rgb.push(values[3]);
165
146
  }
166
-
167
147
  return recomposeColor({
168
148
  type,
169
149
  values: rgb
170
150
  });
171
151
  }
152
+
172
153
  /**
173
154
  * The relative brightness of any point in a color space,
174
155
  * normalized to 0 for darkest black and 1 for lightest white.
@@ -177,7 +158,6 @@ export function hslToRgb(color) {
177
158
  * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
178
159
  * @returns {number} The relative brightness of the color in the range 0 - 1
179
160
  */
180
-
181
161
  export function getLuminance(color) {
182
162
  color = decomposeColor(color);
183
163
  let rgb = color.type === 'hsl' ? decomposeColor(hslToRgb(color)).values : color.values;
@@ -187,10 +167,12 @@ export function getLuminance(color) {
187
167
  }
188
168
 
189
169
  return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;
190
- }); // Truncate at 3 digits
170
+ });
191
171
 
172
+ // Truncate at 3 digits
192
173
  return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));
193
174
  }
175
+
194
176
  /**
195
177
  * Sets the absolute transparency of a color.
196
178
  * Any existing alpha values are overwritten.
@@ -198,34 +180,29 @@ export function getLuminance(color) {
198
180
  * @param {number} value - value to set the alpha channel to in the range 0 - 1
199
181
  * @returns {string} A CSS color string. Hex input values are returned as rgb
200
182
  */
201
-
202
183
  export function alpha(color, value) {
203
184
  color = decomposeColor(color);
204
185
  value = clamp(value);
205
-
206
186
  if (color.type === 'rgb' || color.type === 'hsl') {
207
187
  color.type += 'a';
208
188
  }
209
-
210
189
  if (color.type === 'color') {
211
190
  color.values[3] = `/${value}`;
212
191
  } else {
213
192
  color.values[3] = value;
214
193
  }
215
-
216
194
  return recomposeColor(color);
217
195
  }
196
+
218
197
  /**
219
198
  * Darkens a color.
220
199
  * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
221
200
  * @param {number} coefficient - multiplier in the range 0 - 1
222
201
  * @returns {string} A CSS color string. Hex input values are returned as rgb
223
202
  */
224
-
225
203
  export function darken(color, coefficient) {
226
204
  color = decomposeColor(color);
227
205
  coefficient = clamp(coefficient);
228
-
229
206
  if (color.type.indexOf('hsl') !== -1) {
230
207
  color.values[2] *= 1 - coefficient;
231
208
  } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) {
@@ -233,20 +210,18 @@ export function darken(color, coefficient) {
233
210
  color.values[i] *= 1 - coefficient;
234
211
  }
235
212
  }
236
-
237
213
  return recomposeColor(color);
238
214
  }
215
+
239
216
  /**
240
217
  * Lightens a color.
241
218
  * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
242
219
  * @param {number} coefficient - multiplier in the range 0 - 1
243
220
  * @returns {string} A CSS color string. Hex input values are returned as rgb
244
221
  */
245
-
246
222
  export function lighten(color, coefficient) {
247
223
  color = decomposeColor(color);
248
224
  coefficient = clamp(coefficient);
249
-
250
225
  if (color.type.indexOf('hsl') !== -1) {
251
226
  color.values[2] += (100 - color.values[2]) * coefficient;
252
227
  } else if (color.type.indexOf('rgb') !== -1) {
@@ -258,9 +233,9 @@ export function lighten(color, coefficient) {
258
233
  color.values[i] += (1 - color.values[i]) * coefficient;
259
234
  }
260
235
  }
261
-
262
236
  return recomposeColor(color);
263
237
  }
238
+
264
239
  /**
265
240
  * Darken or lighten a color, depending on its luminance.
266
241
  * Light colors are darkened, dark colors are lightened.
@@ -268,7 +243,6 @@ export function lighten(color, coefficient) {
268
243
  * @param {number} coefficient=0.15 - multiplier in the range 0 - 1
269
244
  * @returns {string} A CSS color string. Hex input values are returned as rgb
270
245
  */
271
-
272
246
  export function emphasize(color, coefficient = 0.15) {
273
247
  return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);
274
248
  }
@@ -1,8 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
-
3
2
  /* eslint-disable @typescript-eslint/no-explicit-any */
4
3
  import { lighten, darken, rgbToHex } from './colorManipulator';
5
-
6
4
  const generateMainColorObject = color => {
7
5
  if (color) {
8
6
  return {
@@ -14,7 +12,6 @@ const generateMainColorObject = color => {
14
12
  };
15
13
  }
16
14
  };
17
-
18
15
  const generateSubColorObject = color => {
19
16
  if (color) {
20
17
  return {
@@ -24,14 +21,11 @@ const generateSubColorObject = color => {
24
21
  };
25
22
  }
26
23
  };
27
-
28
24
  export const getPalette = (theme, defaultTheme) => {
29
25
  var _theme$palette, _theme$palette2, _theme$palette$primar, _theme$palette3, _theme$palette4, _theme$palette$second, _theme$palette5, _theme$palette6, _theme$palette7, _theme$palette8, _theme$palette9, _theme$palette10;
30
-
31
26
  if (!(theme != null && theme.palette) || typeof (theme == null ? void 0 : (_theme$palette = theme.palette) == null ? void 0 : _theme$palette.primary) !== 'string') {
32
27
  return {};
33
28
  }
34
-
35
29
  return _extends({}, defaultTheme, {
36
30
  palette: {
37
31
  primary: _extends({}, generateMainColorObject(theme == null ? void 0 : (_theme$palette2 = theme.palette) == null ? void 0 : _theme$palette2.primary), {
@@ -1,4 +1,5 @@
1
1
  import { FronteggMetadata } from '../FronteggMetadata';
2
+ export { alpha } from './colorManipulator';
2
3
  export declare class Metadata {
3
4
  private _theme;
4
5
  private _themeV2;
package/Metadata/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import deepMerge from 'deepmerge';
2
2
  import { getPalette } from './getPalette';
3
+ export { alpha } from './colorManipulator';
3
4
  const defaultMetadata = {
4
5
  theme: {},
5
6
  themeV2: {},
@@ -74,46 +75,34 @@ export class Metadata {
74
75
  this._navigation = defaultMetadata.navigation;
75
76
  this._localizations = defaultMetadata.localizations;
76
77
  }
77
-
78
78
  static getInstance(name = 'default') {
79
79
  return this._instances[name];
80
80
  }
81
-
82
81
  static set(metadata, name = 'default') {
83
82
  const metadataInstance = new Metadata();
84
83
  metadataInstance.set(metadata);
85
84
  Metadata._instances[name] = metadataInstance;
86
85
  return metadataInstance;
87
86
  }
88
-
89
87
  get theme() {
90
88
  var _this$_theme;
91
-
92
89
  return (_this$_theme = this._theme) != null ? _this$_theme : {};
93
90
  }
94
-
95
91
  get themeV2() {
96
92
  var _this$_themeV;
97
-
98
93
  return (_this$_themeV = this._themeV2) != null ? _this$_themeV : {};
99
94
  }
100
-
101
95
  get navigation() {
102
96
  var _this$_navigation;
103
-
104
97
  return (_this$_navigation = this._navigation) != null ? _this$_navigation : {};
105
98
  }
106
-
107
99
  get localizations() {
108
100
  var _this$_localizations;
109
-
110
101
  return (_this$_localizations = this._localizations) != null ? _this$_localizations : {};
111
102
  }
112
-
113
103
  set(metadata) {
114
104
  try {
115
105
  var _defaultMetadata$navi, _metadata$navigation, _defaultMetadata$them, _defaultMetadata$them2, _metadata$themeV, _defaultMetadata$loca, _metadata$localizatio;
116
-
117
106
  this._navigation = deepMerge.all([(_defaultMetadata$navi = defaultMetadata.navigation) != null ? _defaultMetadata$navi : {}, (_metadata$navigation = metadata == null ? void 0 : metadata.navigation) != null ? _metadata$navigation : {}]);
118
107
  this._theme = deepMerge.all([(_defaultMetadata$them = defaultMetadata.theme) != null ? _defaultMetadata$them : {}, getPalette(metadata == null ? void 0 : metadata.theme, defaultMetadata.theme)]);
119
108
  this._themeV2 = deepMerge.all([(_defaultMetadata$them2 = defaultMetadata.themeV2) != null ? _defaultMetadata$them2 : {}, (_metadata$themeV = metadata == null ? void 0 : metadata.themeV2) != null ? _metadata$themeV : {}]);
@@ -125,6 +114,5 @@ export class Metadata {
125
114
  this._localizations = defaultMetadata.localizations;
126
115
  }
127
116
  }
128
-
129
117
  }
130
118
  Metadata._instances = {};
@@ -22,4 +22,9 @@ export interface PrivateOptions {
22
22
  * Option to open admin portal as Preview mode without HTTP requests for demo mode purpose
23
23
  */
24
24
  framework?: 'nextjs' | 'react' | 'angular' | 'vuejs' | 'flutter';
25
+ /**
26
+ * Option to lazy load admin portal for reduce resources on first load
27
+ * default: false
28
+ */
29
+ lazyLoadAdminPortal?: boolean;
25
30
  }
@@ -1,5 +1,4 @@
1
1
  export let ApiTokensMethods;
2
-
3
2
  (function (ApiTokensMethods) {
4
3
  ApiTokensMethods["CLIENT_CREDENTIALS"] = "clientCredentials";
5
4
  ApiTokensMethods["ACCESS_TOKEN"] = "accessToken";
@@ -14,6 +14,7 @@ export interface GoToSignupMessageProps {
14
14
  }
15
15
  export interface ResendOTCProps {
16
16
  haventReceiveOTCMessage: string;
17
+ resendingMessage: string;
17
18
  resendOTCMessage: string;
18
19
  resendOTC: () => void;
19
20
  }
@@ -1,28 +1,21 @@
1
1
  export let ProfilePageFields;
2
-
3
2
  (function (ProfilePageFields) {
4
3
  ProfilePageFields["Name"] = "name";
5
4
  ProfilePageFields["PhoneNumber"] = "phoneNumber";
6
5
  ProfilePageFields["Address"] = "address";
7
6
  ProfilePageFields["JobTitle"] = "jobTitle";
8
7
  })(ProfilePageFields || (ProfilePageFields = {}));
9
-
10
8
  export let PrivacyPageFields;
11
-
12
9
  (function (PrivacyPageFields) {
13
10
  PrivacyPageFields["LoginSessions"] = "loginSessions";
14
11
  PrivacyPageFields["Mfa"] = "mfa";
15
12
  })(PrivacyPageFields || (PrivacyPageFields = {}));
16
-
17
13
  export let InviteUserModalFields;
18
-
19
14
  (function (InviteUserModalFields) {
20
15
  InviteUserModalFields["Name"] = "name";
21
16
  InviteUserModalFields["PhoneNumber"] = "phoneNumber";
22
17
  })(InviteUserModalFields || (InviteUserModalFields = {}));
23
-
24
18
  export let AccountPageFields;
25
-
26
19
  (function (AccountPageFields) {
27
20
  AccountPageFields["CompanyName"] = "companyName";
28
21
  AccountPageFields["Address"] = "address";
@@ -30,52 +23,38 @@ export let AccountPageFields;
30
23
  AccountPageFields["Timezone"] = "timezone";
31
24
  AccountPageFields["Currency"] = "currency";
32
25
  })(AccountPageFields || (AccountPageFields = {}));
33
-
34
26
  export let SubscriptionsPageFields;
35
-
36
27
  (function (SubscriptionsPageFields) {
37
28
  SubscriptionsPageFields["Invoices"] = "invoices";
38
29
  })(SubscriptionsPageFields || (SubscriptionsPageFields = {}));
39
-
40
30
  export let SecurityPageTabs;
41
-
42
31
  (function (SecurityPageTabs) {
43
32
  SecurityPageTabs["SessionManagement"] = "sessionManagement";
44
33
  SecurityPageTabs["GeneralSettings"] = "generalSettings";
45
34
  SecurityPageTabs["IpRestrictions"] = "ipRestrictions";
46
35
  SecurityPageTabs["DomainRestrictions"] = "domainRestrictions";
47
36
  })(SecurityPageTabs || (SecurityPageTabs = {}));
48
-
49
37
  export let SessionManagementTabFields;
50
-
51
38
  (function (SessionManagementTabFields) {
52
39
  SessionManagementTabFields["IdleSessionTimeout"] = "idleSessionTimeout";
53
40
  SessionManagementTabFields["ForceReLogin"] = "forceReLogin";
54
41
  SessionManagementTabFields["MaximumConcurrentSessions"] = "maximumConcurrentSessions";
55
42
  })(SessionManagementTabFields || (SessionManagementTabFields = {}));
56
-
57
43
  export let GeneralSettingsTabFields;
58
-
59
44
  (function (GeneralSettingsTabFields) {
60
45
  GeneralSettingsTabFields["Mfa"] = "mfa";
61
46
  GeneralSettingsTabFields["UserLockout"] = "userLockout";
62
47
  GeneralSettingsTabFields["PasswordHistory"] = "passwordHistory";
63
48
  })(GeneralSettingsTabFields || (GeneralSettingsTabFields = {}));
64
-
65
49
  export let IpRestrictionsTabFields;
66
-
67
50
  (function (IpRestrictionsTabFields) {
68
51
  IpRestrictionsTabFields["IpAddressRestrictions"] = "ipAddressRestrictions";
69
52
  })(IpRestrictionsTabFields || (IpRestrictionsTabFields = {}));
70
-
71
53
  export let DomainRestrictionsTabFields;
72
-
73
54
  (function (DomainRestrictionsTabFields) {
74
55
  DomainRestrictionsTabFields["RestrictSignupByEmailDomain"] = "restrictSignupByEmailDomain";
75
56
  })(DomainRestrictionsTabFields || (DomainRestrictionsTabFields = {}));
76
-
77
57
  export let SsoPageTabs;
78
-
79
58
  (function (SsoPageTabs) {
80
59
  SsoPageTabs["SSO"] = "SSO";
81
60
  SsoPageTabs["Provisioning"] = "Provisioning";
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.69.0
1
+ /** @license Frontegg v6.70.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -3,9 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
-
7
6
  var _navigation = require("./navigation");
8
-
9
7
  Object.keys(_navigation).forEach(function (key) {
10
8
  if (key === "default" || key === "__esModule") return;
11
9
  if (key in exports && exports[key] === _navigation[key]) return;
@@ -16,9 +14,7 @@ Object.keys(_navigation).forEach(function (key) {
16
14
  }
17
15
  });
18
16
  });
19
-
20
17
  var _profile = require("./profile");
21
-
22
18
  Object.keys(_profile).forEach(function (key) {
23
19
  if (key === "default" || key === "__esModule") return;
24
20
  if (key in exports && exports[key] === _profile[key]) return;
@@ -29,9 +25,7 @@ Object.keys(_profile).forEach(function (key) {
29
25
  }
30
26
  });
31
27
  });
32
-
33
28
  var _personalTokens = require("./personalTokens");
34
-
35
29
  Object.keys(_personalTokens).forEach(function (key) {
36
30
  if (key === "default" || key === "__esModule") return;
37
31
  if (key in exports && exports[key] === _personalTokens[key]) return;
@@ -42,9 +36,7 @@ Object.keys(_personalTokens).forEach(function (key) {
42
36
  }
43
37
  });
44
38
  });
45
-
46
39
  var _auditLogs = require("./auditLogs");
47
-
48
40
  Object.keys(_auditLogs).forEach(function (key) {
49
41
  if (key === "default" || key === "__esModule") return;
50
42
  if (key in exports && exports[key] === _auditLogs[key]) return;
@@ -55,9 +47,7 @@ Object.keys(_auditLogs).forEach(function (key) {
55
47
  }
56
48
  });
57
49
  });
58
-
59
50
  var _apiTokens = require("./apiTokens");
60
-
61
51
  Object.keys(_apiTokens).forEach(function (key) {
62
52
  if (key === "default" || key === "__esModule") return;
63
53
  if (key in exports && exports[key] === _apiTokens[key]) return;
@@ -68,9 +58,7 @@ Object.keys(_apiTokens).forEach(function (key) {
68
58
  }
69
59
  });
70
60
  });
71
-
72
61
  var _accountSettings = require("./accountSettings");
73
-
74
62
  Object.keys(_accountSettings).forEach(function (key) {
75
63
  if (key === "default" || key === "__esModule") return;
76
64
  if (key in exports && exports[key] === _accountSettings[key]) return;
@@ -81,9 +69,7 @@ Object.keys(_accountSettings).forEach(function (key) {
81
69
  }
82
70
  });
83
71
  });
84
-
85
72
  var _privacy = require("./privacy");
86
-
87
73
  Object.keys(_privacy).forEach(function (key) {
88
74
  if (key === "default" || key === "__esModule") return;
89
75
  if (key in exports && exports[key] === _privacy[key]) return;
@@ -94,9 +80,7 @@ Object.keys(_privacy).forEach(function (key) {
94
80
  }
95
81
  });
96
82
  });
97
-
98
83
  var _security = require("./security");
99
-
100
84
  Object.keys(_security).forEach(function (key) {
101
85
  if (key === "default" || key === "__esModule") return;
102
86
  if (key in exports && exports[key] === _security[key]) return;
@@ -107,9 +91,7 @@ Object.keys(_security).forEach(function (key) {
107
91
  }
108
92
  });
109
93
  });
110
-
111
94
  var _roles = require("./roles");
112
-
113
95
  Object.keys(_roles).forEach(function (key) {
114
96
  if (key === "default" || key === "__esModule") return;
115
97
  if (key in exports && exports[key] === _roles[key]) return;
@@ -120,9 +102,7 @@ Object.keys(_roles).forEach(function (key) {
120
102
  }
121
103
  });
122
104
  });
123
-
124
105
  var _sso = require("./sso");
125
-
126
106
  Object.keys(_sso).forEach(function (key) {
127
107
  if (key === "default" || key === "__esModule") return;
128
108
  if (key in exports && exports[key] === _sso[key]) return;
@@ -133,9 +113,7 @@ Object.keys(_sso).forEach(function (key) {
133
113
  }
134
114
  });
135
115
  });
136
-
137
116
  var _users = require("./users");
138
-
139
117
  Object.keys(_users).forEach(function (key) {
140
118
  if (key === "default" || key === "__esModule") return;
141
119
  if (key in exports && exports[key] === _users[key]) return;
@@ -146,9 +124,7 @@ Object.keys(_users).forEach(function (key) {
146
124
  }
147
125
  });
148
126
  });
149
-
150
127
  var _webhooks = require("./webhooks");
151
-
152
128
  Object.keys(_webhooks).forEach(function (key) {
153
129
  if (key === "default" || key === "__esModule") return;
154
130
  if (key in exports && exports[key] === _webhooks[key]) return;
@@ -159,9 +135,7 @@ Object.keys(_webhooks).forEach(function (key) {
159
135
  }
160
136
  });
161
137
  });
162
-
163
138
  var _subscriptions = require("./subscriptions");
164
-
165
139
  Object.keys(_subscriptions).forEach(function (key) {
166
140
  if (key === "default" || key === "__esModule") return;
167
141
  if (key in exports && exports[key] === _subscriptions[key]) return;
@@ -172,9 +146,7 @@ Object.keys(_subscriptions).forEach(function (key) {
172
146
  }
173
147
  });
174
148
  });
175
-
176
149
  var _allUsers = require("./allUsers");
177
-
178
150
  Object.keys(_allUsers).forEach(function (key) {
179
151
  if (key === "default" || key === "__esModule") return;
180
152
  if (key in exports && exports[key] === _allUsers[key]) return;
@@ -185,9 +157,7 @@ Object.keys(_allUsers).forEach(function (key) {
185
157
  }
186
158
  });
187
159
  });
188
-
189
160
  var _provisioning = require("./provisioning");
190
-
191
161
  Object.keys(_provisioning).forEach(function (key) {
192
162
  if (key === "default" || key === "__esModule") return;
193
163
  if (key in exports && exports[key] === _provisioning[key]) return;
@@ -3,9 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
-
7
6
  var _passwordStrength = require("./passwordStrength");
8
-
9
7
  Object.keys(_passwordStrength).forEach(function (key) {
10
8
  if (key === "default" || key === "__esModule") return;
11
9
  if (key in exports && exports[key] === _passwordStrength[key]) return;