@aglyn/shared-util-vendor 1.0.0-beta.143
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/LICENSE +201 -0
- package/README.md +7 -0
- package/package.json +50 -0
- package/src/index.d.ts +20 -0
- package/src/index.js +102 -0
- package/src/index.js.map +1 -0
- package/src/lib/change-case.d.ts +104 -0
- package/src/lib/change-case.js +84 -0
- package/src/lib/change-case.js.map +1 -0
- package/src/lib/deep-equal.d.ts +1 -0
- package/src/lib/deep-equal.js +3 -0
- package/src/lib/deep-equal.js.map +1 -0
- package/src/lib/fuse.d.ts +3 -0
- package/src/lib/fuse.js +5 -0
- package/src/lib/fuse.js.map +1 -0
- package/src/lib/hoist-non-react-statics.d.ts +17 -0
- package/src/lib/hoist-non-react-statics.js +18 -0
- package/src/lib/hoist-non-react-statics.js.map +1 -0
- package/src/lib/mitt-emitter.d.ts +2 -0
- package/src/lib/mitt-emitter.js +3 -0
- package/src/lib/mitt-emitter.js.map +1 -0
- package/src/lib/mobx-computed-fn.d.ts +41 -0
- package/src/lib/mobx-computed-fn.js +41 -0
- package/src/lib/mobx-computed-fn.js.map +1 -0
- package/src/lib/object-deep-fill-in.d.ts +28 -0
- package/src/lib/object-deep-fill-in.js +28 -0
- package/src/lib/object-deep-fill-in.js.map +1 -0
- package/src/lib/object-deep-merge.d.ts +51 -0
- package/src/lib/object-deep-merge.js +45 -0
- package/src/lib/object-deep-merge.js.map +1 -0
- package/src/lib/object-flatten.d.ts +2 -0
- package/src/lib/object-flatten.js +4 -0
- package/src/lib/object-flatten.js.map +1 -0
- package/src/lib/platform-identification.d.ts +4 -0
- package/src/lib/platform-identification.js +7 -0
- package/src/lib/platform-identification.js.map +1 -0
- package/src/lib/uid-alphabets.d.ts +36 -0
- package/src/lib/uid-alphabets.js +37 -0
- package/src/lib/uid-alphabets.js.map +1 -0
- package/src/lib/unique-identification.d.ts +2 -0
- package/src/lib/unique-identification.js +9 -0
- package/src/lib/unique-identification.js.map +1 -0
- package/src/lib/use-debounce.d.ts +18 -0
- package/src/lib/use-debounce.js +18 -0
- package/src/lib/use-debounce.js.map +1 -0
- package/src/vendor.d.js +2 -0
- package/src/vendor.d.js.map +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aglyn/shared-util-vendor",
|
|
3
|
+
"version": "1.0.0-beta.143",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"homepage": "https://aglyn.com",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/aglyn/aglyn.git",
|
|
9
|
+
"directory": "libs/shared/util/vendor"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public",
|
|
13
|
+
"provenance": true
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./src/index.d.ts",
|
|
19
|
+
"default": "./src/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./*": {
|
|
22
|
+
"types": "./src/lib/*.d.ts",
|
|
23
|
+
"default": "./src/lib/*.js"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@swc/helpers": "0.5.23",
|
|
29
|
+
"change-case": "^5.4.4",
|
|
30
|
+
"deep-equal": "^2.2.3",
|
|
31
|
+
"deepmerge-ts": "^8.0.1",
|
|
32
|
+
"flat": "^6.0.1",
|
|
33
|
+
"fuse.js": "^7.5.0",
|
|
34
|
+
"hoist-non-react-statics": "^3.3.2",
|
|
35
|
+
"mitt": "^3.0.1",
|
|
36
|
+
"mobx-utils": "^6.1.1",
|
|
37
|
+
"mout": "^1.2.4",
|
|
38
|
+
"nanoid": "^6.0.1",
|
|
39
|
+
"nanoid-dictionary": "^5.0.0",
|
|
40
|
+
"platform": "^1.3.6",
|
|
41
|
+
"use-debounce": "^10.1.1"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"react": "^19.2.8"
|
|
45
|
+
},
|
|
46
|
+
"sideEffects": false,
|
|
47
|
+
"types": "./src/index.d.ts",
|
|
48
|
+
"module": "./src/index.js",
|
|
49
|
+
"main": "./src/index.js"
|
|
50
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export * from './lib/change-case';
|
|
18
|
+
export * from './lib/hoist-non-react-statics';
|
|
19
|
+
export * from './lib/object-deep-merge';
|
|
20
|
+
export * from './lib/unique-identification';
|
package/src/index.js
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ export * from "./lib/change-case.js";
|
|
17
|
+
// deep-equal is NOT re-exported (AGL-2682), the same removal as
|
|
18
|
+
// `platform-identification` below and by far the most expensive of the three.
|
|
19
|
+
// `deep-equal` is an es-shim package: it reaches `object-inspect`,
|
|
20
|
+
// `get-intrinsic`, `object-keys`, `es-get-iterator` and 47 more, and every
|
|
21
|
+
// one of them rode this line onto every published customer page. Measured on
|
|
22
|
+
// `aglyn.com/solutions/small-business` from the production source maps:
|
|
23
|
+
// **51 packages, 47.6 KB raw**, in a chunk no visitor executes.
|
|
24
|
+
//
|
|
25
|
+
// It also explains a Lighthouse finding that looked like ours and was not.
|
|
26
|
+
// The "Legacy JavaScript — `Object.assign` / `Object.is` / `Object.keys`
|
|
27
|
+
// shims" charged against `42sr79qh0v5oi.js` is `object.assign`, `object-is`
|
|
28
|
+
// and `object-keys` — members of THIS tree, not polyfills Next emitted for a
|
|
29
|
+
// stale browserslist, and no browserslist setting would have moved them.
|
|
30
|
+
//
|
|
31
|
+
// The one consumer is `apps/console/components/theme-editor`, which is
|
|
32
|
+
// console-only and now takes the deep import. Still importable as
|
|
33
|
+
// `@aglyn/shared-util-vendor/deep-equal`.
|
|
34
|
+
// fuse is NOT re-exported (AGL-2486), for the reason recorded below for
|
|
35
|
+
// `platform-identification` and measured the same way. `export *` here put
|
|
36
|
+
// `fuse.js` in front of every file that takes anything at all from this
|
|
37
|
+
// index — ten of them in the published page's eager graph, mostly for
|
|
38
|
+
// `hoistNonReactStatics` — so a matcher no visitor runs was downloaded and
|
|
39
|
+
// parsed by every visitor to every customer site.
|
|
40
|
+
//
|
|
41
|
+
// The four real consumers, and where each puts the matcher:
|
|
42
|
+
// - `use-mdi-icons-fuzzy` → the icon picker, console-only,
|
|
43
|
+
// - `media-search.ts` → the console DAM,
|
|
44
|
+
// - `plugins-mui/collection.tsx` → EVERY published page. It sits behind
|
|
45
|
+
// `import('@aglyn/plugins-mui')`, but that is the always-on site plugin,
|
|
46
|
+
// loaded on every page before it settles, and it registers the collection
|
|
47
|
+
// components statically — so `fuse.js` arrives one dynamic import later
|
|
48
|
+
// whether or not the page has a collection (25.9 KB raw, AGL-3082). Only
|
|
49
|
+
// a split of that plugin's component registry takes it off those pages,
|
|
50
|
+
// - `apps/tenant/utils/search-content.ts` → tenant, but SERVER-only: it
|
|
51
|
+
// imports `@aglyn/aglyn/server` and `tenant-data-admin`, and
|
|
52
|
+
// `search-facets.ts` exists precisely so the `'use client'` results page
|
|
53
|
+
// never value-imports it. Fuse runs on the server for `/search` and has
|
|
54
|
+
// never been shipped to that page's browser.
|
|
55
|
+
//
|
|
56
|
+
// Worth stating plainly, because it is the trap this change was nearly lost
|
|
57
|
+
// to: dropping the `use-mdi-icons-fuzzy` re-export from the shared-ui-jsx
|
|
58
|
+
// barrel — the obvious fix, and the one the audit named — removes ZERO
|
|
59
|
+
// packages on its own. Measured: 30 packages before, 30 after, with `fuse.js`
|
|
60
|
+
// still "first reached from libs/shared/util/vendor/src/lib/fuse.ts". THIS
|
|
61
|
+
// line was the live edge the whole time. Still importable as
|
|
62
|
+
// `@aglyn/shared-util-vendor/fuse`.
|
|
63
|
+
export * from "./lib/hoist-non-react-statics.js";
|
|
64
|
+
// mitt is NOT re-exported (AGL-2682), same treatment as `platform-identification`
|
|
65
|
+
// below and for the same reason: NOTHING in the repo reads `Mitt` — not an app,
|
|
66
|
+
// not a plugin, not a tool — so the only thing this line did was put `mitt` in
|
|
67
|
+
// front of every file that takes anything at all from this index. Aglyn's own
|
|
68
|
+
// event bus is `EmitManager` (eventemitter2), which is what the runtime
|
|
69
|
+
// actually uses. Still importable as `@aglyn/shared-util-vendor/mitt-emitter`.
|
|
70
|
+
export * from "./lib/object-deep-merge.js";
|
|
71
|
+
// object-deep-fill-in is NOT re-exported (AGL-2682). It was a second package
|
|
72
|
+
// (`mout`) inside `object-deep-merge`, whose OTHER export the host theme calls
|
|
73
|
+
// on every published page — so `mout` was emitted to every visitor of every
|
|
74
|
+
// customer site for a function nothing calls. Split out rather than deleted,
|
|
75
|
+
// and importable as `@aglyn/shared-util-vendor/object-deep-fill-in`.
|
|
76
|
+
// object-flatten is NOT re-exported (AGL-2682). Its one consumer,
|
|
77
|
+
// `element-styles-form.component.tsx`, is the besigner's styles panel —
|
|
78
|
+
// console-only — and it now takes the subpath. `flat` was never emitted to a
|
|
79
|
+
// published page (Turbopack shakes it), so this is graph hygiene rather than
|
|
80
|
+
// bytes: it keeps the allowlist honest about what a tenant page can reach, so
|
|
81
|
+
// the NEXT import of anything from this index cannot quietly ship a flattener.
|
|
82
|
+
// Still importable as `@aglyn/shared-util-vendor/object-flatten`.
|
|
83
|
+
// platform-identification is NOT re-exported (AGL-2486). Nothing in the repo
|
|
84
|
+
// imports it — not the apps, not a plugin, not a tool — so its only effect
|
|
85
|
+
// was that every file taking anything at all from this index (and there are
|
|
86
|
+
// ten in the published page's eager graph alone, mostly for
|
|
87
|
+
// `hoistNonReactStatics`) also pulled in the `platform` UA-parsing package.
|
|
88
|
+
// Measured at -4.7 KB gz off the eager barrel graph. Still importable as
|
|
89
|
+
// `@aglyn/shared-util-vendor/platform-identification`.
|
|
90
|
+
// uid-alphabets is NOT re-exported (AGL-2682), the same shape as
|
|
91
|
+
// `object-deep-fill-in`: `nanoid-dictionary` was a second package inside
|
|
92
|
+
// `unique-identification`, whose `createUid` the loading context and
|
|
93
|
+
// `createResourceUid` do call on every published page. Split out rather than
|
|
94
|
+
// deleted, and importable as `@aglyn/shared-util-vendor/uid-alphabets`.
|
|
95
|
+
export * from "./lib/unique-identification.js"; // use-debounce is NOT re-exported (AGL-2682), same shape as `object-flatten`
|
|
96
|
+
// above. Its one consumer is `icon-select.component.tsx` — the icon picker,
|
|
97
|
+
// console-only — which now takes the subpath. Note that a page-side debounce
|
|
98
|
+
// already exists and is unrelated: `@aglyn/shared-ui-jsx`'s own `useDebounce`
|
|
99
|
+
// is built on lodash-es, which the tenant page carries anyway. Still importable
|
|
100
|
+
// as `@aglyn/shared-util-vendor/use-debounce`.
|
|
101
|
+
|
|
102
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../libs/shared/util/vendor/src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './lib/change-case'\n// deep-equal is NOT re-exported (AGL-2682), the same removal as\n// `platform-identification` below and by far the most expensive of the three.\n// `deep-equal` is an es-shim package: it reaches `object-inspect`,\n// `get-intrinsic`, `object-keys`, `es-get-iterator` and 47 more, and every\n// one of them rode this line onto every published customer page. Measured on\n// `aglyn.com/solutions/small-business` from the production source maps:\n// **51 packages, 47.6 KB raw**, in a chunk no visitor executes.\n//\n// It also explains a Lighthouse finding that looked like ours and was not.\n// The \"Legacy JavaScript — `Object.assign` / `Object.is` / `Object.keys`\n// shims\" charged against `42sr79qh0v5oi.js` is `object.assign`, `object-is`\n// and `object-keys` — members of THIS tree, not polyfills Next emitted for a\n// stale browserslist, and no browserslist setting would have moved them.\n//\n// The one consumer is `apps/console/components/theme-editor`, which is\n// console-only and now takes the deep import. Still importable as\n// `@aglyn/shared-util-vendor/deep-equal`.\n// fuse is NOT re-exported (AGL-2486), for the reason recorded below for\n// `platform-identification` and measured the same way. `export *` here put\n// `fuse.js` in front of every file that takes anything at all from this\n// index — ten of them in the published page's eager graph, mostly for\n// `hoistNonReactStatics` — so a matcher no visitor runs was downloaded and\n// parsed by every visitor to every customer site.\n//\n// The four real consumers, and where each puts the matcher:\n// - `use-mdi-icons-fuzzy` → the icon picker, console-only,\n// - `media-search.ts` → the console DAM,\n// - `plugins-mui/collection.tsx` → EVERY published page. It sits behind\n// `import('@aglyn/plugins-mui')`, but that is the always-on site plugin,\n// loaded on every page before it settles, and it registers the collection\n// components statically — so `fuse.js` arrives one dynamic import later\n// whether or not the page has a collection (25.9 KB raw, AGL-3082). Only\n// a split of that plugin's component registry takes it off those pages,\n// - `apps/tenant/utils/search-content.ts` → tenant, but SERVER-only: it\n// imports `@aglyn/aglyn/server` and `tenant-data-admin`, and\n// `search-facets.ts` exists precisely so the `'use client'` results page\n// never value-imports it. Fuse runs on the server for `/search` and has\n// never been shipped to that page's browser.\n//\n// Worth stating plainly, because it is the trap this change was nearly lost\n// to: dropping the `use-mdi-icons-fuzzy` re-export from the shared-ui-jsx\n// barrel — the obvious fix, and the one the audit named — removes ZERO\n// packages on its own. Measured: 30 packages before, 30 after, with `fuse.js`\n// still \"first reached from libs/shared/util/vendor/src/lib/fuse.ts\". THIS\n// line was the live edge the whole time. Still importable as\n// `@aglyn/shared-util-vendor/fuse`.\nexport * from './lib/hoist-non-react-statics'\n// mitt is NOT re-exported (AGL-2682), same treatment as `platform-identification`\n// below and for the same reason: NOTHING in the repo reads `Mitt` — not an app,\n// not a plugin, not a tool — so the only thing this line did was put `mitt` in\n// front of every file that takes anything at all from this index. Aglyn's own\n// event bus is `EmitManager` (eventemitter2), which is what the runtime\n// actually uses. Still importable as `@aglyn/shared-util-vendor/mitt-emitter`.\nexport * from './lib/object-deep-merge'\n// object-deep-fill-in is NOT re-exported (AGL-2682). It was a second package\n// (`mout`) inside `object-deep-merge`, whose OTHER export the host theme calls\n// on every published page — so `mout` was emitted to every visitor of every\n// customer site for a function nothing calls. Split out rather than deleted,\n// and importable as `@aglyn/shared-util-vendor/object-deep-fill-in`.\n// object-flatten is NOT re-exported (AGL-2682). Its one consumer,\n// `element-styles-form.component.tsx`, is the besigner's styles panel —\n// console-only — and it now takes the subpath. `flat` was never emitted to a\n// published page (Turbopack shakes it), so this is graph hygiene rather than\n// bytes: it keeps the allowlist honest about what a tenant page can reach, so\n// the NEXT import of anything from this index cannot quietly ship a flattener.\n// Still importable as `@aglyn/shared-util-vendor/object-flatten`.\n// platform-identification is NOT re-exported (AGL-2486). Nothing in the repo\n// imports it — not the apps, not a plugin, not a tool — so its only effect\n// was that every file taking anything at all from this index (and there are\n// ten in the published page's eager graph alone, mostly for\n// `hoistNonReactStatics`) also pulled in the `platform` UA-parsing package.\n// Measured at -4.7 KB gz off the eager barrel graph. Still importable as\n// `@aglyn/shared-util-vendor/platform-identification`.\n// uid-alphabets is NOT re-exported (AGL-2682), the same shape as\n// `object-deep-fill-in`: `nanoid-dictionary` was a second package inside\n// `unique-identification`, whose `createUid` the loading context and\n// `createResourceUid` do call on every published page. Split out rather than\n// deleted, and importable as `@aglyn/shared-util-vendor/uid-alphabets`.\nexport * from './lib/unique-identification'\n// use-debounce is NOT re-exported (AGL-2682), same shape as `object-flatten`\n// above. Its one consumer is `icon-select.component.tsx` — the icon picker,\n// console-only — which now takes the subpath. Note that a page-side debounce\n// already exists and is unrelated: `@aglyn/shared-ui-jsx`'s own `useDebounce`\n// is built on lodash-es, which the tenant page carries anyway. Still importable\n// as `@aglyn/shared-util-vendor/use-debounce`.\n"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,cAAc,uBAAmB;AACjC,gEAAgE;AAChE,8EAA8E;AAC9E,mEAAmE;AACnE,2EAA2E;AAC3E,6EAA6E;AAC7E,wEAAwE;AACxE,gEAAgE;AAChE,EAAE;AACF,2EAA2E;AAC3E,yEAAyE;AACzE,4EAA4E;AAC5E,6EAA6E;AAC7E,yEAAyE;AACzE,EAAE;AACF,uEAAuE;AACvE,kEAAkE;AAClE,0CAA0C;AAC1C,wEAAwE;AACxE,2EAA2E;AAC3E,wEAAwE;AACxE,sEAAsE;AACtE,2EAA2E;AAC3E,kDAAkD;AAClD,EAAE;AACF,4DAA4D;AAC5D,6DAA6D;AAC7D,2CAA2C;AAC3C,0EAA0E;AAC1E,6EAA6E;AAC7E,8EAA8E;AAC9E,4EAA4E;AAC5E,6EAA6E;AAC7E,4EAA4E;AAC5E,0EAA0E;AAC1E,iEAAiE;AACjE,6EAA6E;AAC7E,4EAA4E;AAC5E,iDAAiD;AACjD,EAAE;AACF,4EAA4E;AAC5E,0EAA0E;AAC1E,uEAAuE;AACvE,8EAA8E;AAC9E,2EAA2E;AAC3E,6DAA6D;AAC7D,oCAAoC;AACpC,cAAc,mCAA+B;AAC7C,kFAAkF;AAClF,gFAAgF;AAChF,+EAA+E;AAC/E,8EAA8E;AAC9E,wEAAwE;AACxE,+EAA+E;AAC/E,cAAc,6BAAyB;AACvC,6EAA6E;AAC7E,+EAA+E;AAC/E,4EAA4E;AAC5E,6EAA6E;AAC7E,qEAAqE;AACrE,kEAAkE;AAClE,wEAAwE;AACxE,6EAA6E;AAC7E,6EAA6E;AAC7E,8EAA8E;AAC9E,+EAA+E;AAC/E,kEAAkE;AAClE,6EAA6E;AAC7E,2EAA2E;AAC3E,4EAA4E;AAC5E,4DAA4D;AAC5D,4EAA4E;AAC5E,yEAAyE;AACzE,uDAAuD;AACvD,iEAAiE;AACjE,yEAAyE;AACzE,qEAAqE;AACrE,6EAA6E;AAC7E,wEAAwE;AACxE,cAAc,iCAA6B,CAC3C,6EAA6E;CAC7E,4EAA4E;CAC5E,6EAA6E;CAC7E,8EAA8E;CAC9E,gFAAgF;CAChF,+CAA+C"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {
|
|
18
|
+
/**
|
|
19
|
+
* camelCase("string"); //=> "string"
|
|
20
|
+
* camelCase("dot.case"); //=> "dotCase"
|
|
21
|
+
* camelCase("PascalCase"); //=> "pascalCase"
|
|
22
|
+
* camelCase("version 1.2.10"); //=> "version_1_2_10"
|
|
23
|
+
* camelCase("version 12", { mergeAmbiguousCharacters: true }); //=> "version12"
|
|
24
|
+
*/
|
|
25
|
+
camelCase,
|
|
26
|
+
/**
|
|
27
|
+
* capitalCase("string"); //=> "String"
|
|
28
|
+
* capitalCase("dot.case"); //=> "Dot Case"
|
|
29
|
+
* capitalCase("PascalCase"); //=> "Pascal Case"
|
|
30
|
+
* capitalCase("version 1.2.10"); //=> "Version 1 2 10"
|
|
31
|
+
*/
|
|
32
|
+
capitalCase,
|
|
33
|
+
/**
|
|
34
|
+
* dotCase("string"); //=> "string"
|
|
35
|
+
* dotCase("dot.case"); //=> "dot.case"
|
|
36
|
+
* dotCase("PascalCase"); //=> "pascal.case"
|
|
37
|
+
* dotCase("version 1.2.10"); //=> "version.1.2.10"
|
|
38
|
+
*/
|
|
39
|
+
dotCase,
|
|
40
|
+
/**
|
|
41
|
+
* constantCase("string"); //=> "STRING"
|
|
42
|
+
* constantCase("dot.case"); //=> "DOT_CASE"
|
|
43
|
+
* constantCase("PascalCase"); //=> "PASCAL_CASE"
|
|
44
|
+
* constantCase("version 1.2.10"); //=> "VERSION_1_2_10"
|
|
45
|
+
*/
|
|
46
|
+
constantCase,
|
|
47
|
+
/**
|
|
48
|
+
* kebabCase("string"); //=> "string"
|
|
49
|
+
* kebabCase("dot.case"); //=> "dot-case"
|
|
50
|
+
* kebabCase("PascalCase"); //=> "pascal-case"
|
|
51
|
+
* kebabCase("version 1.2.10"); //=> "version-1-2-10"
|
|
52
|
+
*/
|
|
53
|
+
kebabCase,
|
|
54
|
+
/**
|
|
55
|
+
* noCase("string"); //=> "string"
|
|
56
|
+
* noCase("dot.case"); //=> "dot case"
|
|
57
|
+
* noCase("PascalCase"); //=> "pascal case"
|
|
58
|
+
* noCase("version 1.2.10"); //=> "version 1 2 10"
|
|
59
|
+
*/
|
|
60
|
+
noCase,
|
|
61
|
+
/**
|
|
62
|
+
* pascalCase("string"); //=> "String"
|
|
63
|
+
* pascalCase("dot.case"); //=> "DotCase"
|
|
64
|
+
* pascalCase("PascalCase"); //=> "PascalCase"
|
|
65
|
+
* pascalCase("version 1.2.10"); //=> "Version_1_2_10"
|
|
66
|
+
* pascalCase("version 12", { mergeAmbiguousCharacters: true }); //=> "Version12"
|
|
67
|
+
*/
|
|
68
|
+
pascalCase,
|
|
69
|
+
/**
|
|
70
|
+
* pascalSnakeCase("string"); //=> "String"
|
|
71
|
+
* pascalSnakeCase("dot.case"); //=> "Dot_Case"
|
|
72
|
+
* pascalSnakeCase("version 1.2.10"); //=> "Version_1_2_10"
|
|
73
|
+
*/
|
|
74
|
+
pascalSnakeCase,
|
|
75
|
+
/**
|
|
76
|
+
* pathCase("string"); //=> "string"
|
|
77
|
+
* pathCase("dot.case"); //=> "dot/case"
|
|
78
|
+
* pathCase("PascalCase"); //=> "pascal/case"
|
|
79
|
+
* pathCase("version 1.2.10"); //=> "version/1/2/10"
|
|
80
|
+
*/
|
|
81
|
+
pathCase,
|
|
82
|
+
/**
|
|
83
|
+
* sentenceCase("string"); //=> "String"
|
|
84
|
+
* sentenceCase("dot.case"); //=> "Dot case"
|
|
85
|
+
* sentenceCase("PascalCase"); //=> "Pascal case"
|
|
86
|
+
* sentenceCase("version 1.2.10"); //=> "Version 1 2 10"
|
|
87
|
+
*/
|
|
88
|
+
sentenceCase,
|
|
89
|
+
/**
|
|
90
|
+
* snakeCase("string"); //=> "string"
|
|
91
|
+
* snakeCase("dot.case"); //=> "dot_case"
|
|
92
|
+
* snakeCase("PascalCase"); //=> "pascal_case"
|
|
93
|
+
* snakeCase("version 1.2.10"); //=> "version_1_2_10"
|
|
94
|
+
*/
|
|
95
|
+
snakeCase,
|
|
96
|
+
/**
|
|
97
|
+
* trainCase("string"); //=> "String"
|
|
98
|
+
* trainCase("dot.case"); //=> "Dot-Case"
|
|
99
|
+
* trainCase("PascalCase"); //=> "Pascal-Case"
|
|
100
|
+
* trainCase("version 1.2.10"); //=> "Version-1-2-10"
|
|
101
|
+
*/
|
|
102
|
+
trainCase, split, splitSeparateNumbers, type Options as ChangeCaseOptions, } from 'change-case';
|
|
103
|
+
export { kebabCase as paramCase, trainCase as headerCase } from 'change-case';
|
|
104
|
+
export * as ChangeCase from 'change-case';
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ export { /**
|
|
17
|
+
* camelCase("string"); //=> "string"
|
|
18
|
+
* camelCase("dot.case"); //=> "dotCase"
|
|
19
|
+
* camelCase("PascalCase"); //=> "pascalCase"
|
|
20
|
+
* camelCase("version 1.2.10"); //=> "version_1_2_10"
|
|
21
|
+
* camelCase("version 12", { mergeAmbiguousCharacters: true }); //=> "version12"
|
|
22
|
+
*/ camelCase, /**
|
|
23
|
+
* capitalCase("string"); //=> "String"
|
|
24
|
+
* capitalCase("dot.case"); //=> "Dot Case"
|
|
25
|
+
* capitalCase("PascalCase"); //=> "Pascal Case"
|
|
26
|
+
* capitalCase("version 1.2.10"); //=> "Version 1 2 10"
|
|
27
|
+
*/ capitalCase, /**
|
|
28
|
+
* dotCase("string"); //=> "string"
|
|
29
|
+
* dotCase("dot.case"); //=> "dot.case"
|
|
30
|
+
* dotCase("PascalCase"); //=> "pascal.case"
|
|
31
|
+
* dotCase("version 1.2.10"); //=> "version.1.2.10"
|
|
32
|
+
*/ dotCase, /**
|
|
33
|
+
* constantCase("string"); //=> "STRING"
|
|
34
|
+
* constantCase("dot.case"); //=> "DOT_CASE"
|
|
35
|
+
* constantCase("PascalCase"); //=> "PASCAL_CASE"
|
|
36
|
+
* constantCase("version 1.2.10"); //=> "VERSION_1_2_10"
|
|
37
|
+
*/ constantCase, /**
|
|
38
|
+
* kebabCase("string"); //=> "string"
|
|
39
|
+
* kebabCase("dot.case"); //=> "dot-case"
|
|
40
|
+
* kebabCase("PascalCase"); //=> "pascal-case"
|
|
41
|
+
* kebabCase("version 1.2.10"); //=> "version-1-2-10"
|
|
42
|
+
*/ kebabCase, /**
|
|
43
|
+
* noCase("string"); //=> "string"
|
|
44
|
+
* noCase("dot.case"); //=> "dot case"
|
|
45
|
+
* noCase("PascalCase"); //=> "pascal case"
|
|
46
|
+
* noCase("version 1.2.10"); //=> "version 1 2 10"
|
|
47
|
+
*/ noCase, /**
|
|
48
|
+
* pascalCase("string"); //=> "String"
|
|
49
|
+
* pascalCase("dot.case"); //=> "DotCase"
|
|
50
|
+
* pascalCase("PascalCase"); //=> "PascalCase"
|
|
51
|
+
* pascalCase("version 1.2.10"); //=> "Version_1_2_10"
|
|
52
|
+
* pascalCase("version 12", { mergeAmbiguousCharacters: true }); //=> "Version12"
|
|
53
|
+
*/ pascalCase, /**
|
|
54
|
+
* pascalSnakeCase("string"); //=> "String"
|
|
55
|
+
* pascalSnakeCase("dot.case"); //=> "Dot_Case"
|
|
56
|
+
* pascalSnakeCase("version 1.2.10"); //=> "Version_1_2_10"
|
|
57
|
+
*/ pascalSnakeCase, /**
|
|
58
|
+
* pathCase("string"); //=> "string"
|
|
59
|
+
* pathCase("dot.case"); //=> "dot/case"
|
|
60
|
+
* pathCase("PascalCase"); //=> "pascal/case"
|
|
61
|
+
* pathCase("version 1.2.10"); //=> "version/1/2/10"
|
|
62
|
+
*/ pathCase, /**
|
|
63
|
+
* sentenceCase("string"); //=> "String"
|
|
64
|
+
* sentenceCase("dot.case"); //=> "Dot case"
|
|
65
|
+
* sentenceCase("PascalCase"); //=> "Pascal case"
|
|
66
|
+
* sentenceCase("version 1.2.10"); //=> "Version 1 2 10"
|
|
67
|
+
*/ sentenceCase, /**
|
|
68
|
+
* snakeCase("string"); //=> "string"
|
|
69
|
+
* snakeCase("dot.case"); //=> "dot_case"
|
|
70
|
+
* snakeCase("PascalCase"); //=> "pascal_case"
|
|
71
|
+
* snakeCase("version 1.2.10"); //=> "version_1_2_10"
|
|
72
|
+
*/ snakeCase, /**
|
|
73
|
+
* trainCase("string"); //=> "String"
|
|
74
|
+
* trainCase("dot.case"); //=> "Dot-Case"
|
|
75
|
+
* trainCase("PascalCase"); //=> "Pascal-Case"
|
|
76
|
+
* trainCase("version 1.2.10"); //=> "Version-1-2-10"
|
|
77
|
+
*/ trainCase, split, splitSeparateNumbers } from "change-case";
|
|
78
|
+
// change-case v5 renamed paramCase -> kebabCase and headerCase -> trainCase;
|
|
79
|
+
// re-export the old names for existing consumers of this wrapper.
|
|
80
|
+
export { kebabCase as paramCase, trainCase as headerCase } from "change-case";
|
|
81
|
+
import * as _ChangeCase from "change-case";
|
|
82
|
+
export { _ChangeCase as ChangeCase };
|
|
83
|
+
|
|
84
|
+
//# sourceMappingURL=change-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/change-case.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport {\n /**\n * camelCase(\"string\"); //=> \"string\"\n * camelCase(\"dot.case\"); //=> \"dotCase\"\n * camelCase(\"PascalCase\"); //=> \"pascalCase\"\n * camelCase(\"version 1.2.10\"); //=> \"version_1_2_10\"\n * camelCase(\"version 12\", { mergeAmbiguousCharacters: true }); //=> \"version12\"\n */\n camelCase,\n /**\n * capitalCase(\"string\"); //=> \"String\"\n * capitalCase(\"dot.case\"); //=> \"Dot Case\"\n * capitalCase(\"PascalCase\"); //=> \"Pascal Case\"\n * capitalCase(\"version 1.2.10\"); //=> \"Version 1 2 10\"\n */\n capitalCase,\n /**\n * dotCase(\"string\"); //=> \"string\"\n * dotCase(\"dot.case\"); //=> \"dot.case\"\n * dotCase(\"PascalCase\"); //=> \"pascal.case\"\n * dotCase(\"version 1.2.10\"); //=> \"version.1.2.10\"\n */\n dotCase,\n /**\n * constantCase(\"string\"); //=> \"STRING\"\n * constantCase(\"dot.case\"); //=> \"DOT_CASE\"\n * constantCase(\"PascalCase\"); //=> \"PASCAL_CASE\"\n * constantCase(\"version 1.2.10\"); //=> \"VERSION_1_2_10\"\n */\n constantCase,\n /**\n * kebabCase(\"string\"); //=> \"string\"\n * kebabCase(\"dot.case\"); //=> \"dot-case\"\n * kebabCase(\"PascalCase\"); //=> \"pascal-case\"\n * kebabCase(\"version 1.2.10\"); //=> \"version-1-2-10\"\n */\n kebabCase,\n /**\n * noCase(\"string\"); //=> \"string\"\n * noCase(\"dot.case\"); //=> \"dot case\"\n * noCase(\"PascalCase\"); //=> \"pascal case\"\n * noCase(\"version 1.2.10\"); //=> \"version 1 2 10\"\n */\n noCase,\n /**\n * pascalCase(\"string\"); //=> \"String\"\n * pascalCase(\"dot.case\"); //=> \"DotCase\"\n * pascalCase(\"PascalCase\"); //=> \"PascalCase\"\n * pascalCase(\"version 1.2.10\"); //=> \"Version_1_2_10\"\n * pascalCase(\"version 12\", { mergeAmbiguousCharacters: true }); //=> \"Version12\"\n */\n pascalCase,\n /**\n * pascalSnakeCase(\"string\"); //=> \"String\"\n * pascalSnakeCase(\"dot.case\"); //=> \"Dot_Case\"\n * pascalSnakeCase(\"version 1.2.10\"); //=> \"Version_1_2_10\"\n */\n pascalSnakeCase,\n /**\n * pathCase(\"string\"); //=> \"string\"\n * pathCase(\"dot.case\"); //=> \"dot/case\"\n * pathCase(\"PascalCase\"); //=> \"pascal/case\"\n * pathCase(\"version 1.2.10\"); //=> \"version/1/2/10\"\n */\n pathCase,\n /**\n * sentenceCase(\"string\"); //=> \"String\"\n * sentenceCase(\"dot.case\"); //=> \"Dot case\"\n * sentenceCase(\"PascalCase\"); //=> \"Pascal case\"\n * sentenceCase(\"version 1.2.10\"); //=> \"Version 1 2 10\"\n */\n sentenceCase,\n /**\n * snakeCase(\"string\"); //=> \"string\"\n * snakeCase(\"dot.case\"); //=> \"dot_case\"\n * snakeCase(\"PascalCase\"); //=> \"pascal_case\"\n * snakeCase(\"version 1.2.10\"); //=> \"version_1_2_10\"\n */\n snakeCase,\n /**\n * trainCase(\"string\"); //=> \"String\"\n * trainCase(\"dot.case\"); //=> \"Dot-Case\"\n * trainCase(\"PascalCase\"); //=> \"Pascal-Case\"\n * trainCase(\"version 1.2.10\"); //=> \"Version-1-2-10\"\n */\n trainCase,\n split,\n splitSeparateNumbers,\n type Options as ChangeCaseOptions,\n} from 'change-case'\n\n// change-case v5 renamed paramCase -> kebabCase and headerCase -> trainCase;\n// re-export the old names for existing consumers of this wrapper.\nexport { kebabCase as paramCase, trainCase as headerCase } from 'change-case'\n\nexport * as ChangeCase from 'change-case'\n"],"names":["camelCase","capitalCase","dotCase","constantCase","kebabCase","noCase","pascalCase","pascalSnakeCase","pathCase","sentenceCase","snakeCase","trainCase","split","splitSeparateNumbers","paramCase","headerCase","ChangeCase"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,SACE;;;;;;GAMC,GACDA,SAAS,EACT;;;;;GAKC,GACDC,WAAW,EACX;;;;;GAKC,GACDC,OAAO,EACP;;;;;GAKC,GACDC,YAAY,EACZ;;;;;GAKC,GACDC,SAAS,EACT;;;;;GAKC,GACDC,MAAM,EACN;;;;;;GAMC,GACDC,UAAU,EACV;;;;GAIC,GACDC,eAAe,EACf;;;;;GAKC,GACDC,QAAQ,EACR;;;;;GAKC,GACDC,YAAY,EACZ;;;;;GAKC,GACDC,SAAS,EACT;;;;;GAKC,GACDC,SAAS,EACTC,KAAK,EACLC,oBAAoB,QAEf,cAAa;AAEpB,6EAA6E;AAC7E,kEAAkE;AAClE,SAAST,aAAaU,SAAS,EAAEH,aAAaI,UAAU,QAAQ,cAAa;AAE7E,6BAA4B,cAAa;AAAzC,SAAO,eAAKC,UAAU,GAAmB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as deepEqual } from 'deep-equal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/deep-equal.ts"],"sourcesContent":["export { default as deepEqual } from 'deep-equal'\n"],"names":["default","deepEqual"],"mappings":"AAAA,SAASA,WAAWC,SAAS,QAAQ,aAAY"}
|
package/src/lib/fuse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/fuse.ts"],"sourcesContent":["import Fuse from 'fuse.js'\n\n\nexport {Fuse}\nexport default Fuse\n"],"names":["Fuse"],"mappings":"AAAA,OAAOA,UAAU,UAAS;AAG1B,SAAQA,IAAI,GAAC;AACb,eAAeA,KAAI"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export { default as hoistNonReactStatics } from 'hoist-non-react-statics';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ export { default as hoistNonReactStatics } from "hoist-non-react-statics";
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=hoist-non-react-statics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/hoist-non-react-statics.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nexport {default as hoistNonReactStatics} from 'hoist-non-react-statics'\n"],"names":["default","hoistNonReactStatics"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAGD,SAAQA,WAAWC,oBAAoB,QAAO,0BAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/mitt-emitter.ts"],"sourcesContent":["export type {\n EventType,\n Handler,\n WildcardHandler,\n EventHandlerList,\n WildCardEventHandlerList,\n EventHandlerMap,\n Emitter,\n} from 'mitt'\nexport { default as Mitt } from 'mitt'\n"],"names":["default","Mitt"],"mappings":"AASA,SAASA,WAAWC,IAAI,QAAQ,OAAM"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* `computedFn`, and only `computedFn` (AGL-2706).
|
|
19
|
+
*
|
|
20
|
+
* `mobx-utils`'s package entry is `mobx-utils.module.js`, a single 68 KB
|
|
21
|
+
* rollup bundle of the library's forty-odd helpers. The package declares
|
|
22
|
+
* `sideEffects: false`, but a declaration is a permission to drop code, not
|
|
23
|
+
* an ability to: measured from the tenant route's production source maps,
|
|
24
|
+
* **14.0 KB raw** of that bundle was emitted onto every published customer
|
|
25
|
+
* page for the one memoizer four modules import — `canvas-manager`,
|
|
26
|
+
* `components-manager`, the besigner's `focus-manager`, and the loading
|
|
27
|
+
* context.
|
|
28
|
+
*
|
|
29
|
+
* `lib/computedFn` is the same code from the same package, published
|
|
30
|
+
* alongside the bundle, reaching only `lib/deepMap` and `mobx` itself.
|
|
31
|
+
*
|
|
32
|
+
* The deep path lives HERE rather than at the four call sites for the reason
|
|
33
|
+
* `object-deep-fill-in` and `deep-equal` do: a package's internal layout is a
|
|
34
|
+
* thing to depend on in one place, so a version that moves the file is one
|
|
35
|
+
* edit rather than a hunt. Jest resolves the same specifier, which is why
|
|
36
|
+
* `mobx-utils` is on the preset's transform allowlist — `lib/` is ESM inside
|
|
37
|
+
* a package that does not declare `"type": "module"`.
|
|
38
|
+
*
|
|
39
|
+
* NOT re-exported from this library's index, per the note there.
|
|
40
|
+
*/
|
|
41
|
+
export { computedFn, type IComputedFnOptions, } from 'mobx-utils/lib/computedFn.js';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ /**
|
|
17
|
+
* `computedFn`, and only `computedFn` (AGL-2706).
|
|
18
|
+
*
|
|
19
|
+
* `mobx-utils`'s package entry is `mobx-utils.module.js`, a single 68 KB
|
|
20
|
+
* rollup bundle of the library's forty-odd helpers. The package declares
|
|
21
|
+
* `sideEffects: false`, but a declaration is a permission to drop code, not
|
|
22
|
+
* an ability to: measured from the tenant route's production source maps,
|
|
23
|
+
* **14.0 KB raw** of that bundle was emitted onto every published customer
|
|
24
|
+
* page for the one memoizer four modules import — `canvas-manager`,
|
|
25
|
+
* `components-manager`, the besigner's `focus-manager`, and the loading
|
|
26
|
+
* context.
|
|
27
|
+
*
|
|
28
|
+
* `lib/computedFn` is the same code from the same package, published
|
|
29
|
+
* alongside the bundle, reaching only `lib/deepMap` and `mobx` itself.
|
|
30
|
+
*
|
|
31
|
+
* The deep path lives HERE rather than at the four call sites for the reason
|
|
32
|
+
* `object-deep-fill-in` and `deep-equal` do: a package's internal layout is a
|
|
33
|
+
* thing to depend on in one place, so a version that moves the file is one
|
|
34
|
+
* edit rather than a hunt. Jest resolves the same specifier, which is why
|
|
35
|
+
* `mobx-utils` is on the preset's transform allowlist — `lib/` is ESM inside
|
|
36
|
+
* a package that does not declare `"type": "module"`.
|
|
37
|
+
*
|
|
38
|
+
* NOT re-exported from this library's index, per the note there.
|
|
39
|
+
*/ export { computedFn } from "mobx-utils/lib/computedFn.js";
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=mobx-computed-fn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/mobx-computed-fn.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * `computedFn`, and only `computedFn` (AGL-2706).\n *\n * `mobx-utils`'s package entry is `mobx-utils.module.js`, a single 68 KB\n * rollup bundle of the library's forty-odd helpers. The package declares\n * `sideEffects: false`, but a declaration is a permission to drop code, not\n * an ability to: measured from the tenant route's production source maps,\n * **14.0 KB raw** of that bundle was emitted onto every published customer\n * page for the one memoizer four modules import — `canvas-manager`,\n * `components-manager`, the besigner's `focus-manager`, and the loading\n * context.\n *\n * `lib/computedFn` is the same code from the same package, published\n * alongside the bundle, reaching only `lib/deepMap` and `mobx` itself.\n *\n * The deep path lives HERE rather than at the four call sites for the reason\n * `object-deep-fill-in` and `deep-equal` do: a package's internal layout is a\n * thing to depend on in one place, so a version that moves the file is one\n * edit rather than a hunt. Jest resolves the same specifier, which is why\n * `mobx-utils` is on the preset's transform allowlist — `lib/` is ESM inside\n * a package that does not declare `\"type\": \"module\"`.\n *\n * NOT re-exported from this library's index, per the note there.\n */\nexport {\n computedFn,\n type IComputedFnOptions,\n} from 'mobx-utils/lib/computedFn.js'\n"],"names":["computedFn"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED;;;;;;;;;;;;;;;;;;;;;;;CAuBC,GACD,SACEA,UAAU,QAEL,+BAA8B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Deep merge that only FILLS IN what the target is missing: an existing
|
|
19
|
+
* property on the target is never overwritten, however deep it sits. That is
|
|
20
|
+
* the opposite polarity to `objectDeepMerge`, where the later operand wins.
|
|
21
|
+
*
|
|
22
|
+
* Kept out of the `@aglyn/shared-util-vendor` index deliberately (AGL-2682):
|
|
23
|
+
* `mout` is a second package on top of the one `object-deep-merge` already
|
|
24
|
+
* carries, and re-exporting it from the index put it in front of every file
|
|
25
|
+
* that takes anything at all from that index — which on the tenant is every
|
|
26
|
+
* published customer page. Import it by subpath.
|
|
27
|
+
*/
|
|
28
|
+
export { default as objectDeepMergeFillIn } from 'mout/object/deepFillIn';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ /**
|
|
17
|
+
* Deep merge that only FILLS IN what the target is missing: an existing
|
|
18
|
+
* property on the target is never overwritten, however deep it sits. That is
|
|
19
|
+
* the opposite polarity to `objectDeepMerge`, where the later operand wins.
|
|
20
|
+
*
|
|
21
|
+
* Kept out of the `@aglyn/shared-util-vendor` index deliberately (AGL-2682):
|
|
22
|
+
* `mout` is a second package on top of the one `object-deep-merge` already
|
|
23
|
+
* carries, and re-exporting it from the index put it in front of every file
|
|
24
|
+
* that takes anything at all from that index — which on the tenant is every
|
|
25
|
+
* published customer page. Import it by subpath.
|
|
26
|
+
*/ export { default as objectDeepMergeFillIn } from "mout/object/deepFillIn";
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=object-deep-fill-in.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/object-deep-fill-in.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Deep merge that only FILLS IN what the target is missing: an existing\n * property on the target is never overwritten, however deep it sits. That is\n * the opposite polarity to `objectDeepMerge`, where the later operand wins.\n *\n * Kept out of the `@aglyn/shared-util-vendor` index deliberately (AGL-2682):\n * `mout` is a second package on top of the one `object-deep-merge` already\n * carries, and re-exporting it from the index put it in front of every file\n * that takes anything at all from that index — which on the tenant is every\n * published customer page. Import it by subpath.\n */\nexport { default as objectDeepMergeFillIn } from 'mout/object/deepFillIn'\n"],"names":["default","objectDeepMergeFillIn"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED;;;;;;;;;;CAUC,GACD,SAASA,WAAWC,qBAAqB,QAAQ,yBAAwB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export { deepmerge as objectDeepMerge, deepmergeCustom as objectDeepMergeCustom, type DeepMergeOptions as ObjectDeepMergeOptions, } from 'deepmerge-ts';
|
|
18
|
+
/**
|
|
19
|
+
* Deep merge where a later array REPLACES an earlier one rather than being
|
|
20
|
+
* concatenated onto it.
|
|
21
|
+
*
|
|
22
|
+
* `objectDeepMerge` concatenates, which is right for accumulating lists and
|
|
23
|
+
* wrong for configuration: merging `{ variants: ['a','b'] }` with
|
|
24
|
+
* `{ variants: ['z'] }` should leave `['z']`, not `['a','b','z']` — nobody
|
|
25
|
+
* overriding a setting means "append to the one I'm replacing". Reach for
|
|
26
|
+
* this whenever the objects are config (theme options, plugin manifests,
|
|
27
|
+
* settings documents) rather than data being collected.
|
|
28
|
+
*
|
|
29
|
+
* Non-plain values — functions, class instances — are replaced wholesale by
|
|
30
|
+
* the later operand, which is what config overrides want too.
|
|
31
|
+
*/
|
|
32
|
+
export declare const objectDeepMergeReplaceArrays: <Ts extends readonly unknown[]>(...objects: Ts) => import("deepmerge-ts").DeepMergeHKT<Ts, Readonly<{
|
|
33
|
+
DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI";
|
|
34
|
+
DeepMergeArraysURI: "DeepMergeArraysDefaultURI";
|
|
35
|
+
DeepMergeSetsURI: "DeepMergeSetsDefaultURI";
|
|
36
|
+
DeepMergeMapsURI: "DeepMergeMapsDefaultURI";
|
|
37
|
+
DeepMergeOthersURI: "DeepMergeLeafURI";
|
|
38
|
+
DeepMergeFilterValuesURI: "DeepMergeFilterValuesDefaultURI";
|
|
39
|
+
}>, Partial<Readonly<{
|
|
40
|
+
key: unknown;
|
|
41
|
+
parents: ReadonlyArray<unknown>;
|
|
42
|
+
values: ReadonlyArray<unknown>;
|
|
43
|
+
result: unknown;
|
|
44
|
+
}>> & Readonly<{
|
|
45
|
+
hierarchy?: readonly Readonly<{
|
|
46
|
+
key: unknown;
|
|
47
|
+
parents: ReadonlyArray<unknown>;
|
|
48
|
+
values: ReadonlyArray<unknown>;
|
|
49
|
+
result: unknown;
|
|
50
|
+
}>[];
|
|
51
|
+
}>>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ import { deepmergeCustom } from "deepmerge-ts";
|
|
17
|
+
export { deepmerge as objectDeepMerge, deepmergeCustom as objectDeepMergeCustom } from "deepmerge-ts";
|
|
18
|
+
/**
|
|
19
|
+
* Deep merge where a later array REPLACES an earlier one rather than being
|
|
20
|
+
* concatenated onto it.
|
|
21
|
+
*
|
|
22
|
+
* `objectDeepMerge` concatenates, which is right for accumulating lists and
|
|
23
|
+
* wrong for configuration: merging `{ variants: ['a','b'] }` with
|
|
24
|
+
* `{ variants: ['z'] }` should leave `['z']`, not `['a','b','z']` — nobody
|
|
25
|
+
* overriding a setting means "append to the one I'm replacing". Reach for
|
|
26
|
+
* this whenever the objects are config (theme options, plugin manifests,
|
|
27
|
+
* settings documents) rather than data being collected.
|
|
28
|
+
*
|
|
29
|
+
* Non-plain values — functions, class instances — are replaced wholesale by
|
|
30
|
+
* the later operand, which is what config overrides want too.
|
|
31
|
+
*/ export const objectDeepMergeReplaceArrays = deepmergeCustom({
|
|
32
|
+
mergeArrays: false
|
|
33
|
+
}) // `objectDeepMergeFillIn` (`mout/object/deepFillIn`) lives in its own module
|
|
34
|
+
// now — `@aglyn/shared-util-vendor/object-deep-fill-in` (AGL-2682). It rode
|
|
35
|
+
// here as a second package inside a module whose OTHER export,
|
|
36
|
+
// `objectDeepMergeReplaceArrays`, the host theme calls on every published
|
|
37
|
+
// page, so `mout` was emitted to every visitor for a function nothing calls.
|
|
38
|
+
// export function objectDeepMerge<T>(x: Partial<T>, y: Partial<T>, options?: DeepMergeOptions): T
|
|
39
|
+
// export function objectDeepMerge<T1, T2>(x: Partial<T1>, y: Partial<T2>, options?:
|
|
40
|
+
// DeepMergeOptions): T1 & T2 export function objectDeepMerge<T, K extends keyof any>(objects:
|
|
41
|
+
// Record<K, T>[], options?: Options): object export function objectDeepMerge<T>(objects:
|
|
42
|
+
// Partial<T>[], options?: Options): T
|
|
43
|
+
;
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=object-deep-merge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/object-deep-merge.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { deepmergeCustom } from 'deepmerge-ts'\n\nexport {\n deepmerge as objectDeepMerge,\n deepmergeCustom as objectDeepMergeCustom,\n type DeepMergeOptions as ObjectDeepMergeOptions,\n} from 'deepmerge-ts'\n\n/**\n * Deep merge where a later array REPLACES an earlier one rather than being\n * concatenated onto it.\n *\n * `objectDeepMerge` concatenates, which is right for accumulating lists and\n * wrong for configuration: merging `{ variants: ['a','b'] }` with\n * `{ variants: ['z'] }` should leave `['z']`, not `['a','b','z']` — nobody\n * overriding a setting means \"append to the one I'm replacing\". Reach for\n * this whenever the objects are config (theme options, plugin manifests,\n * settings documents) rather than data being collected.\n *\n * Non-plain values — functions, class instances — are replaced wholesale by\n * the later operand, which is what config overrides want too.\n */\nexport const objectDeepMergeReplaceArrays = deepmergeCustom({\n mergeArrays: false,\n})\n\n// `objectDeepMergeFillIn` (`mout/object/deepFillIn`) lives in its own module\n// now — `@aglyn/shared-util-vendor/object-deep-fill-in` (AGL-2682). It rode\n// here as a second package inside a module whose OTHER export,\n// `objectDeepMergeReplaceArrays`, the host theme calls on every published\n// page, so `mout` was emitted to every visitor for a function nothing calls.\n\n// export function objectDeepMerge<T>(x: Partial<T>, y: Partial<T>, options?: DeepMergeOptions): T\n// export function objectDeepMerge<T1, T2>(x: Partial<T1>, y: Partial<T2>, options?:\n// DeepMergeOptions): T1 & T2 export function objectDeepMerge<T, K extends keyof any>(objects:\n// Record<K, T>[], options?: Options): object export function objectDeepMerge<T>(objects:\n// Partial<T>[], options?: Options): T\n"],"names":["deepmergeCustom","deepmerge","objectDeepMerge","objectDeepMergeCustom","objectDeepMergeReplaceArrays","mergeArrays"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,SAASA,eAAe,QAAQ,eAAc;AAE9C,SACEC,aAAaC,eAAe,EAC5BF,mBAAmBG,qBAAqB,QAEnC,eAAc;AAErB;;;;;;;;;;;;;CAaC,GACD,OAAO,MAAMC,+BAA+BJ,gBAAgB;IAC1DK,aAAa;AACf,GAEA,6EAA6E;CAC7E,4EAA4E;CAC5E,+DAA+D;CAC/D,0EAA0E;CAC1E,6EAA6E;CAE7E,kGAAkG;CAClG,oFAAoF;CACpF,8FAA8F;CAC9F,yFAAyF;CACzF,sCAAsC;CAZpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/object-flatten.ts"],"sourcesContent":["import { flatten, unflatten } from 'flat'\n\nexport { flatten as objectFlatten, unflatten as objectUnflatten }\n"],"names":["flatten","unflatten","objectFlatten","objectUnflatten"],"mappings":"AAAA,SAASA,OAAO,EAAEC,SAAS,QAAQ,OAAM;AAEzC,SAASD,WAAWE,aAAa,EAAED,aAAaE,eAAe,GAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/platform-identification.ts"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/no-require-imports\nconst platform = require('platform') as Record<string, unknown>\n\nexport type Platform = typeof platform\n\nexport function platformIdentification() {\n return platform\n}\n"],"names":["platform","require","platformIdentification"],"mappings":"AAAA,iEAAiE;AACjE,MAAMA,WAAWC,QAAQ;AAIzB,OAAO,SAASC;IACd,OAAOF;AACT"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export type UidAlphabetDictionary = {
|
|
18
|
+
alphanumeric: string;
|
|
19
|
+
lowercase: string;
|
|
20
|
+
nolookalikes: string;
|
|
21
|
+
nolookalikesSafe: string;
|
|
22
|
+
numbers: string;
|
|
23
|
+
uppercase: string;
|
|
24
|
+
urlSafe: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* The alphabets `createUidWithAlphabet` can be pointed at — `nolookalikes` and
|
|
28
|
+
* `nolookalikesSafe` in particular, for codes a human has to read back.
|
|
29
|
+
*
|
|
30
|
+
* Kept out of the `@aglyn/shared-util-vendor` index deliberately (AGL-2682):
|
|
31
|
+
* `nanoid-dictionary` is a second package on top of the `nanoid` that
|
|
32
|
+
* `unique-identification` already carries, and re-exporting it from the index
|
|
33
|
+
* put it in front of every file that takes anything at all from that index —
|
|
34
|
+
* which on the tenant is every published customer page. Import it by subpath.
|
|
35
|
+
*/
|
|
36
|
+
export declare const UidAlphabets: UidAlphabetDictionary;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ import { urlAlphabet as urlSafe } from "nanoid";
|
|
17
|
+
import { alphanumeric, lowercase, nolookalikes, nolookalikesSafe, numbers, uppercase } from "nanoid-dictionary";
|
|
18
|
+
/**
|
|
19
|
+
* The alphabets `createUidWithAlphabet` can be pointed at — `nolookalikes` and
|
|
20
|
+
* `nolookalikesSafe` in particular, for codes a human has to read back.
|
|
21
|
+
*
|
|
22
|
+
* Kept out of the `@aglyn/shared-util-vendor` index deliberately (AGL-2682):
|
|
23
|
+
* `nanoid-dictionary` is a second package on top of the `nanoid` that
|
|
24
|
+
* `unique-identification` already carries, and re-exporting it from the index
|
|
25
|
+
* put it in front of every file that takes anything at all from that index —
|
|
26
|
+
* which on the tenant is every published customer page. Import it by subpath.
|
|
27
|
+
*/ export const UidAlphabets = {
|
|
28
|
+
alphanumeric,
|
|
29
|
+
lowercase,
|
|
30
|
+
nolookalikes,
|
|
31
|
+
nolookalikesSafe,
|
|
32
|
+
numbers,
|
|
33
|
+
uppercase,
|
|
34
|
+
urlSafe
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=uid-alphabets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/uid-alphabets.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { urlAlphabet as urlSafe } from 'nanoid'\nimport {\n alphanumeric,\n lowercase,\n nolookalikes,\n nolookalikesSafe,\n numbers,\n uppercase,\n} from 'nanoid-dictionary'\n\nexport type UidAlphabetDictionary = {\n alphanumeric: string\n lowercase: string\n nolookalikes: string\n nolookalikesSafe: string\n numbers: string\n uppercase: string\n urlSafe: string\n}\n\n/**\n * The alphabets `createUidWithAlphabet` can be pointed at — `nolookalikes` and\n * `nolookalikesSafe` in particular, for codes a human has to read back.\n *\n * Kept out of the `@aglyn/shared-util-vendor` index deliberately (AGL-2682):\n * `nanoid-dictionary` is a second package on top of the `nanoid` that\n * `unique-identification` already carries, and re-exporting it from the index\n * put it in front of every file that takes anything at all from that index —\n * which on the tenant is every published customer page. Import it by subpath.\n */\nexport const UidAlphabets: UidAlphabetDictionary = {\n alphanumeric,\n lowercase,\n nolookalikes,\n nolookalikesSafe,\n numbers,\n uppercase,\n urlSafe,\n}\n"],"names":["urlAlphabet","urlSafe","alphanumeric","lowercase","nolookalikes","nolookalikesSafe","numbers","uppercase","UidAlphabets"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,SAASA,eAAeC,OAAO,QAAQ,SAAQ;AAC/C,SACEC,YAAY,EACZC,SAAS,EACTC,YAAY,EACZC,gBAAgB,EAChBC,OAAO,EACPC,SAAS,QACJ,oBAAmB;AAY1B;;;;;;;;;CASC,GACD,OAAO,MAAMC,eAAsC;IACjDN;IACAC;IACAC;IACAC;IACAC;IACAC;IACAN;AACF,EAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { customAlphabet as createUidWithAlphabet, customRandom as createUidCustom, nanoid as createUid, random as createUidRandomBytes } from "nanoid";
|
|
2
|
+
// `UidAlphabets` (`nanoid-dictionary`) lives in its own module now —
|
|
3
|
+
// `@aglyn/shared-util-vendor/uid-alphabets` (AGL-2682). It rode here as a
|
|
4
|
+
// second package inside a module whose `createUid` the loading context and
|
|
5
|
+
// `createResourceUid` call on every published page, so a table of alphabets
|
|
6
|
+
// nothing reads was emitted to every visitor.
|
|
7
|
+
export { createUid, createUidWithAlphabet, createUidRandomBytes, createUidCustom, };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=unique-identification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/unique-identification.ts"],"sourcesContent":["import {\n customAlphabet as createUidWithAlphabet,\n customRandom as createUidCustom,\n nanoid as createUid,\n random as createUidRandomBytes,\n} from 'nanoid'\n\n// `UidAlphabets` (`nanoid-dictionary`) lives in its own module now —\n// `@aglyn/shared-util-vendor/uid-alphabets` (AGL-2682). It rode here as a\n// second package inside a module whose `createUid` the loading context and\n// `createResourceUid` call on every published page, so a table of alphabets\n// nothing reads was emitted to every visitor.\n\nexport {\n createUid,\n createUidWithAlphabet,\n createUidRandomBytes,\n createUidCustom,\n}\n"],"names":["customAlphabet","createUidWithAlphabet","customRandom","createUidCustom","nanoid","createUid","random","createUidRandomBytes"],"mappings":"AAAA,SACEA,kBAAkBC,qBAAqB,EACvCC,gBAAgBC,eAAe,EAC/BC,UAAUC,SAAS,EACnBC,UAAUC,oBAAoB,QACzB,SAAQ;AAEf,qEAAqE;AACrE,0EAA0E;AAC1E,2EAA2E;AAC3E,4EAA4E;AAC5E,8CAA8C;AAE9C,SACEF,SAAS,EACTJ,qBAAqB,EACrBM,oBAAoB,EACpBJ,eAAe,KAChB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export { useDebounce, useDebouncedCallback, useThrottledCallback } from 'use-debounce';
|
|
18
|
+
export type { CallOptions, ControlFunctions, DebouncedState, Options } from 'use-debounce';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ export { useDebounce, useDebouncedCallback, useThrottledCallback } from "use-debounce";
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=use-debounce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/util/vendor/src/lib/use-debounce.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2021 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport { useDebounce, useDebouncedCallback, useThrottledCallback } from 'use-debounce'\nexport type { CallOptions, ControlFunctions, DebouncedState, Options } from 'use-debounce'\n"],"names":["useDebounce","useDebouncedCallback","useThrottledCallback"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,SAASA,WAAW,EAAEC,oBAAoB,EAAEC,oBAAoB,QAAQ,eAAc"}
|
package/src/vendor.d.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../libs/shared/util/vendor/src/vendor.d.ts"],"names":[],"mappings":""}
|