@genesislcap/foundation-filters 9.0.1-alpha-b5c5eb7.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.
Files changed (157) hide show
  1. package/MODULE_FEDERATION.md +11 -0
  2. package/README.md +173 -0
  3. package/dist/1.0.0.remoteEntry.js +1 -0
  4. package/dist/191.191.64feeeeeb6c4132a6cae.js +2 -0
  5. package/dist/191.d7c8a7fc5c69e4190ea53a04618e0459.js.map +1 -0
  6. package/dist/195.195.2c71a4e018ba860ab228.js +3 -0
  7. package/dist/195.195.2c71a4e018ba860ab228.js.LICENSE.txt +4 -0
  8. package/dist/195.331a5c4d39a8a3d001d3344cb66ef3b8.js.map +1 -0
  9. package/dist/259.0acac2573f700ecd1acac239926438a5.js.map +1 -0
  10. package/dist/259.259.3aa926921ed1388957f1.js +2 -0
  11. package/dist/338.338.cd6e49db31e7adc808c6.js +3 -0
  12. package/dist/338.338.cd6e49db31e7adc808c6.js.LICENSE.txt +1 -0
  13. package/dist/338.7a143cd09921b756e7fe871d338dcb67.js.map +1 -0
  14. package/dist/410.410.76d9d4b118ba230b93c4.js +2 -0
  15. package/dist/410.cda4ae21eb38efbf2dbfd913db12d66f.js.map +1 -0
  16. package/dist/755.755.ec31a791472b4b3fcb0f.js +2 -0
  17. package/dist/755.c71c3a1801dd2c0461f8b831d09ec90f.js.map +1 -0
  18. package/dist/dashboard.json +1 -0
  19. package/dist/dts/clientFilter.d.ts +108 -0
  20. package/dist/dts/clientFilter.d.ts.map +1 -0
  21. package/dist/dts/index.d.ts +9 -0
  22. package/dist/dts/index.d.ts.map +1 -0
  23. package/dist/dts/index.federated.d.ts +1 -0
  24. package/dist/dts/index.federated.d.ts.map +1 -0
  25. package/dist/dts/logger.d.ts +17 -0
  26. package/dist/dts/logger.d.ts.map +1 -0
  27. package/dist/dts/nodeEnv.d.ts +81 -0
  28. package/dist/dts/nodeEnv.d.ts.map +1 -0
  29. package/dist/dts/percentage.d.ts +81 -0
  30. package/dist/dts/percentage.d.ts.map +1 -0
  31. package/dist/dts/timeWindow.d.ts +91 -0
  32. package/dist/dts/timeWindow.d.ts.map +1 -0
  33. package/dist/dts/tsdoc-metadata.json +11 -0
  34. package/dist/dts/urlTargeting.d.ts +94 -0
  35. package/dist/dts/urlTargeting.d.ts.map +1 -0
  36. package/dist/dts/userAgent.d.ts +96 -0
  37. package/dist/dts/userAgent.d.ts.map +1 -0
  38. package/dist/dts/userTargeting.d.ts +107 -0
  39. package/dist/dts/userTargeting.d.ts.map +1 -0
  40. package/dist/esm/clientFilter.js +84 -0
  41. package/dist/esm/clientFilter.js.map +1 -0
  42. package/dist/esm/index.federated.js +2 -0
  43. package/dist/esm/index.federated.js.map +1 -0
  44. package/dist/esm/index.js +9 -0
  45. package/dist/esm/index.js.map +1 -0
  46. package/dist/esm/logger.js +18 -0
  47. package/dist/esm/logger.js.map +1 -0
  48. package/dist/esm/nodeEnv.js +48 -0
  49. package/dist/esm/nodeEnv.js.map +1 -0
  50. package/dist/esm/percentage.js +38 -0
  51. package/dist/esm/percentage.js.map +1 -0
  52. package/dist/esm/timeWindow.js +49 -0
  53. package/dist/esm/timeWindow.js.map +1 -0
  54. package/dist/esm/urlTargeting.js +68 -0
  55. package/dist/esm/urlTargeting.js.map +1 -0
  56. package/dist/esm/userAgent.js +59 -0
  57. package/dist/esm/userAgent.js.map +1 -0
  58. package/dist/esm/userTargeting.js +73 -0
  59. package/dist/esm/userTargeting.js.map +1 -0
  60. package/dist/favicon.ico +0 -0
  61. package/dist/foundation-filters.api.json +3065 -0
  62. package/dist/foundation-filters.d.ts +707 -0
  63. package/dist/foundation-filters.iife.min.js +3 -0
  64. package/dist/foundation-filters.js +8608 -0
  65. package/dist/foundation-filters.min.js +3 -0
  66. package/dist/foundationFilters.c0ca375607bf5b49304e9efbcfb9ec0d.js.map +1 -0
  67. package/dist/index.ejs +23 -0
  68. package/dist/index.html +16 -0
  69. package/dist/info.ejs +13 -0
  70. package/dist/main.479db3c6a61354c4d21c4a52177a4fc9.js.map +1 -0
  71. package/dist/main.8bf3ac27c0d922605d1f.js +2 -0
  72. package/dist/npm.analytics.343.d4561facd9660fd45482.js +2 -0
  73. package/dist/npm.analytics.50acd47759b15e99bc3ad79caad7c672.js.map +1 -0
  74. package/dist/npm.consola.0f92c98545c00deac8a01e6e5c25e63c.js.map +1 -0
  75. package/dist/npm.consola.713.4cfd0e26a2fd1e472409.js +2 -0
  76. package/dist/npm.finos.690.4b909dcccf246b8fb074.js +2 -0
  77. package/dist/npm.finos.83f8bd7cc8c58aabd1049256a8d005fe.js.map +1 -0
  78. package/dist/npm.microsoft.127.2934a743e3e0797a43e6.js +1469 -0
  79. package/dist/npm.microsoft.127.2934a743e3e0797a43e6.js.LICENSE.txt +14 -0
  80. package/dist/npm.microsoft.e17056c760df168ceb07617558d61f7e.js.map +1 -0
  81. package/dist/npm.rxjs.271.11caf676e6c2aaf1715a.js +2 -0
  82. package/dist/npm.rxjs.2d42120c7dd915e4ea92bdec64a19f45.js.map +1 -0
  83. package/dist/npm.ua-parser-js.809.92491f7cd444ab77d377.js +2 -0
  84. package/dist/npm.ua-parser-js.b1390f6f6c6080318a30bc73abe8add8.js.map +1 -0
  85. package/dist/remoteEntry.js +2 -0
  86. package/dist/serve.json +3 -0
  87. package/docs/api/foundation-filters.clientfilter.filter.md +24 -0
  88. package/docs/api/foundation-filters.clientfilter.md +24 -0
  89. package/docs/api/foundation-filters.clientfiltername.md +19 -0
  90. package/docs/api/foundation-filters.clientfilterrunner.md +20 -0
  91. package/docs/api/foundation-filters.clientfilterrunner.run.md +23 -0
  92. package/docs/api/foundation-filters.clientfilterschema.md +22 -0
  93. package/docs/api/foundation-filters.clientfilterschemas.md +15 -0
  94. package/docs/api/foundation-filters.defaultclientfilterrunner.container.md +11 -0
  95. package/docs/api/foundation-filters.defaultclientfilterrunner.md +27 -0
  96. package/docs/api/foundation-filters.defaultclientfilterrunner.run.md +23 -0
  97. package/docs/api/foundation-filters.defaultnodeenv.filter.md +24 -0
  98. package/docs/api/foundation-filters.defaultnodeenv.isdevelopment.md +16 -0
  99. package/docs/api/foundation-filters.defaultnodeenv.isproduction.md +16 -0
  100. package/docs/api/foundation-filters.defaultnodeenv.istesting.md +16 -0
  101. package/docs/api/foundation-filters.defaultnodeenv.md +29 -0
  102. package/docs/api/foundation-filters.defaultpercentage.filter.md +24 -0
  103. package/docs/api/foundation-filters.defaultpercentage.md +21 -0
  104. package/docs/api/foundation-filters.defaulttimewindow.filter.md +24 -0
  105. package/docs/api/foundation-filters.defaulttimewindow.md +21 -0
  106. package/docs/api/foundation-filters.defaulturltargeting.filter.md +24 -0
  107. package/docs/api/foundation-filters.defaulturltargeting.issecure.md +26 -0
  108. package/docs/api/foundation-filters.defaulturltargeting.md +22 -0
  109. package/docs/api/foundation-filters.defaultuseragent.filter.md +24 -0
  110. package/docs/api/foundation-filters.defaultuseragent.issafari.md +16 -0
  111. package/docs/api/foundation-filters.defaultuseragent.md +27 -0
  112. package/docs/api/foundation-filters.defaultusertargeting._constructor_.md +20 -0
  113. package/docs/api/foundation-filters.defaultusertargeting.auth.md +11 -0
  114. package/docs/api/foundation-filters.defaultusertargeting.filter.md +24 -0
  115. package/docs/api/foundation-filters.defaultusertargeting.hasadminprofile.md +16 -0
  116. package/docs/api/foundation-filters.defaultusertargeting.isloggedin.md +16 -0
  117. package/docs/api/foundation-filters.defaultusertargeting.md +35 -0
  118. package/docs/api/foundation-filters.getfilterbyname.md +25 -0
  119. package/docs/api/foundation-filters.logger.md +27 -0
  120. package/docs/api/foundation-filters.md +71 -0
  121. package/docs/api/foundation-filters.nodeenv.isdevelopment.md +16 -0
  122. package/docs/api/foundation-filters.nodeenv.isproduction.md +16 -0
  123. package/docs/api/foundation-filters.nodeenv.istesting.md +16 -0
  124. package/docs/api/foundation-filters.nodeenv.md +23 -0
  125. package/docs/api/foundation-filters.nodeenvfilter.md +28 -0
  126. package/docs/api/foundation-filters.nodeenvparams.md +25 -0
  127. package/docs/api/foundation-filters.nodeenvschema.md +19 -0
  128. package/docs/api/foundation-filters.percentage.md +19 -0
  129. package/docs/api/foundation-filters.percentagefilter.md +29 -0
  130. package/docs/api/foundation-filters.percentageparams.md +41 -0
  131. package/docs/api/foundation-filters.percentageschema.md +19 -0
  132. package/docs/api/foundation-filters.runner.md +29 -0
  133. package/docs/api/foundation-filters.timewindow.md +19 -0
  134. package/docs/api/foundation-filters.timewindowfilter.md +29 -0
  135. package/docs/api/foundation-filters.timewindowparams.md +59 -0
  136. package/docs/api/foundation-filters.timewindowschema.md +19 -0
  137. package/docs/api/foundation-filters.urltargeting.issecure.md +26 -0
  138. package/docs/api/foundation-filters.urltargeting.md +21 -0
  139. package/docs/api/foundation-filters.urltargetingfilter.md +32 -0
  140. package/docs/api/foundation-filters.urltargetingparams.md +30 -0
  141. package/docs/api/foundation-filters.urltargetingschema.md +19 -0
  142. package/docs/api/foundation-filters.useragent.issafari.md +16 -0
  143. package/docs/api/foundation-filters.useragent.md +25 -0
  144. package/docs/api/foundation-filters.useragentfilter.md +31 -0
  145. package/docs/api/foundation-filters.useragentparams.md +30 -0
  146. package/docs/api/foundation-filters.useragentschema.md +19 -0
  147. package/docs/api/foundation-filters.usertargeting.hasadminprofile.md +16 -0
  148. package/docs/api/foundation-filters.usertargeting.isloggedin.md +16 -0
  149. package/docs/api/foundation-filters.usertargeting.md +26 -0
  150. package/docs/api/foundation-filters.usertargetingfilter.md +31 -0
  151. package/docs/api/foundation-filters.usertargetingparams.md +29 -0
  152. package/docs/api/foundation-filters.usertargetingschema.md +19 -0
  153. package/docs/api/index.md +12 -0
  154. package/docs/api-report.md +283 -0
  155. package/jsdom.setup.ts +1 -0
  156. package/license.txt +46 -0
  157. package/package.json +122 -0
@@ -0,0 +1,283 @@
1
+ ## API Report File for "@genesislcap/foundation-filters"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { Auth } from '@genesislcap/foundation-comms';
8
+ import { Container } from '@microsoft/fast-foundation';
9
+ import { InterfaceSymbol } from '@microsoft/fast-foundation';
10
+ import { Logger } from '@genesislcap/foundation-utils';
11
+ import { User } from '@genesislcap/foundation-comms';
12
+
13
+ // @public
14
+ export interface ClientFilter<P = any> {
15
+ // (undocumented)
16
+ filter(parameters: P): boolean;
17
+ }
18
+
19
+ // @public (undocumented)
20
+ export const ClientFilterName: {
21
+ readonly nodeEnv: "nodeEnv";
22
+ readonly percentage: "percentage";
23
+ readonly timeWindow: "timeWindow";
24
+ readonly urlTargeting: "urlTargeting";
25
+ readonly userAgent: "userAgent";
26
+ readonly userTargeting: "userTargeting";
27
+ };
28
+
29
+ // @public (undocumented)
30
+ export type ClientFilterName = (typeof ClientFilterName)[keyof typeof ClientFilterName];
31
+
32
+ // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "ClientFilterRunner" because one of its declarations is marked as @internal
33
+ //
34
+ // @public
35
+ export interface ClientFilterRunner {
36
+ // (undocumented)
37
+ run(filters: ClientFilterSchemas[], container?: Container): boolean;
38
+ }
39
+
40
+ // @internal
41
+ export const ClientFilterRunner: InterfaceSymbol<ClientFilterRunner>;
42
+
43
+ // @public
44
+ export type ClientFilterSchema<N extends ClientFilterName, P> = {
45
+ readonly name: N;
46
+ readonly parameters: P;
47
+ };
48
+
49
+ // @public
50
+ export type ClientFilterSchemas = NodeEnvSchema | PercentageSchema | TimeWindowSchema | URLTargetingSchema | UserAgentSchema | UserTargetingSchema;
51
+
52
+ // @public
53
+ export class DefaultClientFilterRunner implements ClientFilterRunner {
54
+ // (undocumented)
55
+ container: Container;
56
+ // (undocumented)
57
+ run(filters: ClientFilterSchemas[], container?: Container): boolean;
58
+ }
59
+
60
+ // @public
61
+ export class DefaultNodeEnv implements NodeEnv {
62
+ // (undocumented)
63
+ filter(params: NodeEnvParams): boolean;
64
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "NodeEnv" has more than one declaration; you need to add a TSDoc member reference selector
65
+ //
66
+ // (undocumented)
67
+ get isDevelopment(): boolean;
68
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "NodeEnv" has more than one declaration; you need to add a TSDoc member reference selector
69
+ //
70
+ // (undocumented)
71
+ get isProduction(): boolean;
72
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "NodeEnv" has more than one declaration; you need to add a TSDoc member reference selector
73
+ //
74
+ // (undocumented)
75
+ get isTesting(): boolean;
76
+ }
77
+
78
+ // @public
79
+ export class DefaultPercentage implements Percentage {
80
+ // (undocumented)
81
+ filter(params: PercentageParams): boolean;
82
+ }
83
+
84
+ // @public
85
+ export class DefaultTimeWindow implements TimeWindow {
86
+ // (undocumented)
87
+ filter(params: TimeWindowParams): boolean;
88
+ }
89
+
90
+ // @public
91
+ export class DefaultURLTargeting implements URLTargeting {
92
+ // (undocumented)
93
+ filter(params: URLTargetingParams): boolean;
94
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "URLTargeting" has more than one declaration; you need to add a TSDoc member reference selector
95
+ //
96
+ // (undocumented)
97
+ isSecure(url: any): boolean;
98
+ }
99
+
100
+ // @public
101
+ export class DefaultUserAgent implements UserAgent {
102
+ // (undocumented)
103
+ filter(params: UserAgentParams): boolean;
104
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "UserAgent" has more than one declaration; you need to add a TSDoc member reference selector
105
+ //
106
+ // (undocumented)
107
+ get isSafari(): boolean;
108
+ }
109
+
110
+ // @public
111
+ export class DefaultUserTargeting implements UserTargeting {
112
+ constructor(auth: Auth);
113
+ // (undocumented)
114
+ auth: Auth;
115
+ // (undocumented)
116
+ filter(params: UserTargetingParams): boolean;
117
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "UserTargeting" has more than one declaration; you need to add a TSDoc member reference selector
118
+ //
119
+ // (undocumented)
120
+ get hasAdminProfile(): boolean;
121
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "UserTargeting" has more than one declaration; you need to add a TSDoc member reference selector
122
+ //
123
+ // (undocumented)
124
+ get isLoggedIn(): boolean;
125
+ }
126
+
127
+ // @public
128
+ export function getFilterByName(name: ClientFilterName, container: Container): NodeEnv | Percentage | TimeWindow | URLTargeting | UserAgent | UserTargeting;
129
+
130
+ // @public
131
+ export const logger: Logger;
132
+
133
+ // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "NodeEnv" because one of its declarations is marked as @internal
134
+ //
135
+ // @public
136
+ export interface NodeEnv extends ClientFilter<NodeEnvParams> {
137
+ // (undocumented)
138
+ readonly isDevelopment: boolean;
139
+ // (undocumented)
140
+ readonly isProduction: boolean;
141
+ // (undocumented)
142
+ readonly isTesting: boolean;
143
+ }
144
+
145
+ // @internal
146
+ export const NodeEnv: InterfaceSymbol<NodeEnv>;
147
+
148
+ // @public
149
+ export function nodeEnvFilter(envs: string[]): boolean;
150
+
151
+ // @public
152
+ export type NodeEnvParams = {
153
+ readonly envs: string[];
154
+ };
155
+
156
+ // @public
157
+ export type NodeEnvSchema = ClientFilterSchema<typeof ClientFilterName.nodeEnv, NodeEnvParams>;
158
+
159
+ // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Percentage" because one of its declarations is marked as @internal
160
+ //
161
+ // @public
162
+ export interface Percentage extends ClientFilter<PercentageParams> {
163
+ }
164
+
165
+ // @internal
166
+ export const Percentage: InterfaceSymbol<Percentage>;
167
+
168
+ // @public
169
+ export function percentageFilter(percent: number, random?: number): boolean;
170
+
171
+ // @public
172
+ export type PercentageParams = {
173
+ readonly percent: number;
174
+ readonly random?: number;
175
+ };
176
+
177
+ // @public
178
+ export type PercentageSchema = ClientFilterSchema<typeof ClientFilterName.percentage, PercentageParams>;
179
+
180
+ // @public
181
+ export function runner(filters: ClientFilterSchemas[], container: Container): boolean;
182
+
183
+ // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "TimeWindow" because one of its declarations is marked as @internal
184
+ //
185
+ // @public
186
+ export interface TimeWindow extends ClientFilter<TimeWindowParams> {
187
+ }
188
+
189
+ // @internal
190
+ export const TimeWindow: InterfaceSymbol<TimeWindow>;
191
+
192
+ // @public
193
+ export function timeWindowFilter(start?: string, end?: string): boolean;
194
+
195
+ // @public
196
+ export type TimeWindowParams = {
197
+ readonly start?: string;
198
+ readonly end?: string;
199
+ };
200
+
201
+ // @public
202
+ export type TimeWindowSchema = ClientFilterSchema<typeof ClientFilterName.timeWindow, TimeWindowParams>;
203
+
204
+ // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "URLTargeting" because one of its declarations is marked as @internal
205
+ //
206
+ // @public
207
+ export interface URLTargeting extends ClientFilter<URLTargetingParams> {
208
+ // (undocumented)
209
+ isSecure(url: string): boolean;
210
+ }
211
+
212
+ // @internal
213
+ export const URLTargeting: InterfaceSymbol<URLTargeting>;
214
+
215
+ // @public
216
+ export function urlTargetingFilter(url: string, pattern?: RegExp, schemes?: string[], hosts?: string[], paths?: string[]): boolean;
217
+
218
+ // @public
219
+ export type URLTargetingParams = {
220
+ readonly url?: string;
221
+ readonly pattern?: RegExp;
222
+ readonly schemes?: string[];
223
+ readonly hosts?: string[];
224
+ readonly paths?: string[];
225
+ };
226
+
227
+ // @public
228
+ export type URLTargetingSchema = ClientFilterSchema<typeof ClientFilterName.urlTargeting, URLTargetingParams>;
229
+
230
+ // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "UserAgent" because one of its declarations is marked as @internal
231
+ //
232
+ // @public
233
+ export interface UserAgent extends ClientFilter<UserAgentParams> {
234
+ // (undocumented)
235
+ readonly isSafari: boolean;
236
+ }
237
+
238
+ // @internal
239
+ export const UserAgent: InterfaceSymbol<UserAgent>;
240
+
241
+ // @public
242
+ export function userAgentFilter(browsers?: string[], devices?: string[], oss?: string[], ua?: string): boolean;
243
+
244
+ // @public
245
+ export type UserAgentParams = {
246
+ readonly browsers?: string[];
247
+ readonly devices?: string[];
248
+ readonly oss?: string[];
249
+ readonly ua?: string;
250
+ };
251
+
252
+ // @public
253
+ export type UserAgentSchema = ClientFilterSchema<typeof ClientFilterName.userAgent, UserAgentParams>;
254
+
255
+ // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "UserTargeting" because one of its declarations is marked as @internal
256
+ //
257
+ // @public
258
+ export interface UserTargeting extends ClientFilter<UserTargetingParams> {
259
+ // (undocumented)
260
+ readonly hasAdminProfile: boolean;
261
+ // (undocumented)
262
+ readonly isLoggedIn: boolean;
263
+ }
264
+
265
+ // @internal
266
+ export const UserTargeting: InterfaceSymbol<UserTargeting>;
267
+
268
+ // @public
269
+ export function userTargetingFilter(user: User, usernames?: string[], profiles?: string[], permissions?: string[]): boolean;
270
+
271
+ // @public
272
+ export type UserTargetingParams = {
273
+ readonly usernames?: string[];
274
+ readonly profiles?: string[];
275
+ readonly permissions?: string[];
276
+ };
277
+
278
+ // @public
279
+ export type UserTargetingSchema = ClientFilterSchema<typeof ClientFilterName.userTargeting, UserTargetingParams>;
280
+
281
+ // (No @packageDocumentation comment for this package)
282
+
283
+ ```
package/jsdom.setup.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@genesislcap/foundation-testing/jsdom';
package/license.txt ADDED
@@ -0,0 +1,46 @@
1
+ Developer License Agreement
2
+
3
+ This Developer License Agreement (the “Agreement”) is entered into by and between Genesis, Global FinTech Inc.(“Genesis”) and you and/or the entity on whose behalf you are downloading the Software (as defined below) (“you”). This Agreement forms a legally binding contract between you and Genesis in relation to your use of the software libraries, reference implementations, and other related demonstration code (collectively, the “Genesis Software”). [a]
4
+
5
+ To use the Software, you must first agree to this Agreement. You may not use the Software if you do not agree to be bound by the terms of this Agreement. Accordingly, you and Genesis acknowledge and agree as follows:
6
+
7
+ 1. LIMITED LICENSE.
8
+ Subject to your complete and ongoing compliance with all the terms and conditions set forth in this Agreement, including without limitation all license limitations and restrictions set forth herein, Genesis grants you the following limited, non-exclusive, non-transferable, non-sublicensable, revocable licenses to use, and (where applicable) authorize your employees to use, the Software internally solely in connection with building, developing and testing your own applications that interoperate with or incorporate the Software (“Applications”) for the purposes of evaluation.
9
+
10
+ 2. RESTRICTIONS.
11
+ A. By accessing or using the Software, you represent, warrant, and covenant that (a) you are a person or business entity engaged in the development of software applications, and (b) in the case of a business entity, you have the full power and authority to bind such entity to the terms of this Agreement.
12
+ B. You acknowledge that the foregoing license does not include any right to:
13
+ (i) redistribute, sell, lease, license, modify or otherwise create any derivative works of any portion of the Software, or;
14
+ (ii) distribute, deploy, or otherwise utilize Applications on a public, production, commercial, or other similar purpose other than internal use for evaluation and the development of non-public, experimental Applications (any other public, production, commercial, or similar use requires a separate agreement with Genesis), or
15
+ (iii) use or implement any undocumented feature or API or use any documented feature or API other than in accordance with applicable documentation. You agree to not to do any of the foregoing.
16
+ C. Except as expressly provided herein, you may not:
17
+ (a) reproduce, distribute, publicly display, or publicly perform any part of the Software;
18
+ (b) decompile, reverse engineer, or otherwise access or attempt to access the source code for the Software not made available to you in source code form;
19
+ (c) make or attempt to make any modification to, or otherwise create derivative works of the Software; or
20
+ (d) remove, obscure, interfere with or circumvent any feature of the Software, including without limitation any copyright or other intellectual property notices, security, or access control mechanism;
21
+ (f) use the Software to do anything illegal, including facilitating, promoting, or otherwise encouraging any illegal activities.
22
+
23
+ 3. RESERVATION OF RIGHTS.
24
+ A. The Software is owned by Genesis and licensed, not sold, to you. The Software, content, visual interfaces, interactive features, information, graphics, design, compilation, computer code, products, services, and all other elements of the Software and related documentation (the “Materials“), are protected by copyright, trade dress, patent, and trademark laws of the United States and other jurisdictions, international conventions, and all other relevant intellectual property and proprietary rights, and applicable laws (collectively, the “Intellectual Property Rights“).
25
+ B. You agree that Genesis or its subsidiaries or affiliated companies and/or its third-party licensors own all legal right, title and interest in and to the Software and Materials, including any and all Intellectual Property Rights. Genesis reserves all rights not expressly granted in this Agreement. You do not acquire any right, interest or title to the Materials, whether by implication, estoppel, or otherwise, except for the limited rights set forth in this Agreement.
26
+ C. You agree that the form and nature of the Software that Genesis provides may change without prior notice to you and that future versions of the Software may be incompatible with applications developed on previous of the Software. You agree that Genesis may stop (permanently or temporarily) providing the Software (or any features within the Software) to you or to users generally at Genesis’s sole discretion, without prior notice to you. Nothing in this Agreement gives you a right to use any of Genesis’s trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
27
+
28
+ 4. TERMINATION.
29
+ At Genesis’s sole discretion, Genesis may terminate your Developer License and cease provision of the Genesis Software with or without notice, effective immediately, for any reason or no reason at all. Upon the expiration or termination of this Agreement all rights and licenses granted under this Agreement will immediately terminate.
30
+
31
+ 5. THIRD PARTY SOFTWARE.
32
+ The Software consists of a package of components and may include references to certain third-party software (“Third Party Software”) that are provided by their authors under separate license terms (the “Third Party Terms”). Your use of any such Third-Party Software in conjunction with the Software in a manner consistent with this Agreement is permitted, however, you may have broader rights and/or restrictions under the applicable Third-Party Terms. Genesis cannot accept any responsibility for the Third-Party Software or your use thereof.
33
+
34
+ 6. DISCLAIMER OF WARRANTIES.
35
+ YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SOFTWARE IS AT YOUR SOLE RISK AND THAT THE SOFTWARE IS PROVIDED “AS IS” AND “AS AVAILABLE” WITHOUT WARRANTY OF ANY KIND FROM GENESIS. YOUR USE OF THE SOFTWARE AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SOFTWARE IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. GENESIS FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. GENESIS EXPRESSLY DISCLAIMS ANY WARRANTIES OF ANY KIND WITH RESPECT TO THE ACCURACY OR FUNCTIONALITY OF THE SOFTWARE, AND WITH RESPECT TO THE ACCURACY, VALIDITY, OR COMPLETENESS OF ANY INFORMATION OR FEATURES AVAILABLE THROUGH THE SOFTWARE, OR THE QUALITY OR CONSISTENCY OF THE SOFTWARE OR RESULTS OBTAINED THROUGH ITS USE.
36
+
37
+ 7. INDEMNIFICATION. To the maximum extent permitted by law, you agree to defend, indemnify, and hold harmless Genesis, its affiliates, and their respective directors, officers, employees, and agents, from and against any and all third-party claims, actions, suits, or proceedings, as well as any and all losses, liabilities, damages, costs, and expenses (including reasonable attorneys’ fees) arising out of or accruing from (a) your breach of this Developer License; (b) your use or misuse of the Genesis Software; (c) your negligence or willful misconduct; and/or (d) your use of the Genesis Software that actually or allegedly infringes any Intellectual Property Rights or privacy rights of any third party in any jurisdiction.
38
+
39
+ 8. MISCELLANEOUS.
40
+ (a) If you are agreeing to be bound by this Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this Agreement. If you do not have the requisite authority, you may not accept this Agreement on behalf of your employer or other entity.
41
+ (b) This Developer License shall be governed by, and construed in accordance with, the laws of the State of New York without regard to conflict of law principles. For all purposes of this Developer License, the parties’ consent to exclusive jurisdiction and venue in the state and federal courts located in New York County, New York.
42
+ (c) Nothing in this Agreement, or in the nature of your access and use of the Genesis Software, shall create or is intended to create a joint-venture, partnership, or agency relationship between you and Genesis.
43
+ (d) You may not assign or transfer this Agreement or any of your rights or obligations hereunder, absent the prior written consent of Genesis.
44
+ (e) You agree that if Genesis does not exercise or enforce any legal right or remedy contained in this Agreement, this will not be taken to be a formal waiver of Genesis’s rights and that those rights or remedies will still be available to Genesis.
45
+ (f) This Agreement constitutes the complete understanding between you and Genesis with respect to the subject matter contained herein, and supersedes all prior written or oral communications, understandings, and agreements.
46
+ (g) If any provision of this Agreement is deemed to be illegal, invalid, or unenforceable, then that provision shall be removed, and the remaining terms will continue to be valid and enforceable.
package/package.json ADDED
@@ -0,0 +1,122 @@
1
+ {
2
+ "name": "@genesislcap/foundation-filters",
3
+ "description": "Genesis Foundation Filters",
4
+ "version": "9.0.1-alpha-b5c5eb7.0",
5
+ "sideEffects": false,
6
+ "license": "SEE LICENSE IN license.txt",
7
+ "main": "dist/esm/index.js",
8
+ "types": "dist/dts/index.d.ts",
9
+ "unpkg": "dist/foundation-filters.min.js",
10
+ "engines": {
11
+ "node": ">=16.0.0"
12
+ },
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/dts/index.d.ts",
16
+ "default": "./dist/esm/index.js"
17
+ },
18
+ "./package.json": "./package.json"
19
+ },
20
+ "config": {
21
+ "PORT": 3090
22
+ },
23
+ "scripts": {
24
+ "api:extract": "api-extractor run --local",
25
+ "api:document": "api-documenter markdown -i dist -o docs/api",
26
+ "build": "npm run build:tsc && npm run build:rollup && npm run build:webpack && npm run api:extract && npm run api:document",
27
+ "build:rollup": "rollup -c",
28
+ "build:rollup:stats": "cross-env ANALYZE=1 npm run build:rollup",
29
+ "build:tsc": "tsc -b ./tsconfig.build.json",
30
+ "build:webpack": "cross-env NODE_ENV=production webpack",
31
+ "build:webpack:stats": "cross-env ANALYZE=1 npm run build:webpack",
32
+ "clean": "npm run clean:dist",
33
+ "clean:dist": "node ../../../build/clean dist tsconfig.build.tsbuildinfo .rollup.cache",
34
+ "dev": "npm run dev:tsc",
35
+ "dev:rollup": "rollup -c -w --configDev",
36
+ "dev:tsc": "tsc -b ./tsconfig.build.json -w",
37
+ "dev:webpack": "cross-env NODE_ENV=development webpack serve",
38
+ "prepare": "npm run clean && npm run build",
39
+ "prepublishOnly": "npm run prepare",
40
+ "serve": "serve dist -p $npm_package_config_PORT",
41
+ "test": "npm run test:unit",
42
+ "test:coverage": "c8 --include=src npm run test:unit",
43
+ "test:coverage:report": "npm run test:coverage && c8 report --reporter=text-lcov > coverage.lcov",
44
+ "test:coverage:report:nyc": "npm run test:unit:browser -- --cov && npx nyc report --reporter=html",
45
+ "test:unit": "npm run test:unit:node",
46
+ "test:unit:browser": "playwright-test \"./**/*.test.ts\" --runner uvu",
47
+ "test:unit:browser:watch": "npm run test:unit:browser -- -w -d",
48
+ "test:unit:node": "npm run test:unit:node:src",
49
+ "test:unit:node:src": "uvu -r tsm -r esm -r ./jsdom.setup.ts ./src \".*.test.ts\"",
50
+ "test:unit:watch": "watchlist src test -- npm run test:unit"
51
+ },
52
+ "devDependencies": {
53
+ "@genesislcap/foundation-testing": "9.0.1-alpha-b5c5eb7.0",
54
+ "@microsoft/api-documenter": "^7.19.13",
55
+ "@microsoft/api-extractor": "^7.31.1",
56
+ "@module-federation/dashboard-plugin": "2.3.0",
57
+ "@playwright/test": "^1.18.1",
58
+ "@rollup/plugin-commonjs": "^21.0.1",
59
+ "@rollup/plugin-node-resolve": "^13.1.3",
60
+ "@rollup/plugin-typescript": "^8.3.0",
61
+ "@types/mocha": "^9.1.0",
62
+ "@types/ua-parser-js": "^0.7.36",
63
+ "analytics": "^0.8.0",
64
+ "c8": "^7.11.0",
65
+ "camel-case": "^4.1.2",
66
+ "clean-webpack-plugin": "^4.0.0",
67
+ "copyfiles": "^2.4.1",
68
+ "cross-env": "^7.0.3",
69
+ "csp-html-webpack-plugin": "^5.1.0",
70
+ "css-loader": "^6.6.0",
71
+ "cssnano": "^5.0.17",
72
+ "esm": "^3.2.25",
73
+ "file-loader": "^6.2.0",
74
+ "html-webpack-plugin": "^5.3.1",
75
+ "jsdom": "^19.0.0",
76
+ "mini-css-extract-plugin": "^2.5.3",
77
+ "playwright-test": "^7.2.1",
78
+ "portfinder-sync": "^0.0.2",
79
+ "postcss": "^8.2.8",
80
+ "postcss-import": "^14.0.0",
81
+ "postcss-loader": "^6.2.1",
82
+ "postcss-preset-env": "^7.0.1",
83
+ "rollup": "^2.7.6",
84
+ "rollup-plugin-commonjs": "^10.1.0",
85
+ "rollup-plugin-filesize": "^9.1.2",
86
+ "rollup-plugin-node-resolve": "^5.2.0",
87
+ "rollup-plugin-terser": "^7.0.2",
88
+ "rollup-plugin-transform-tagged-template": "^0.0.3",
89
+ "rollup-plugin-visualizer": "^5.6.0",
90
+ "serve": "^14.1.2",
91
+ "terser-webpack-plugin": "^5.3.1",
92
+ "to-string-loader": "^1.2.0",
93
+ "ts-loader": "9.3.1",
94
+ "tsconfig-paths-webpack-plugin": "^3.5.1",
95
+ "tsm": "^2.2.1",
96
+ "typescript": "^4.5.5",
97
+ "uvu": "0.5.4",
98
+ "watchlist": "^0.3.1",
99
+ "webpack": "^5.45.1",
100
+ "webpack-bundle-analyzer": "^4.5.0",
101
+ "webpack-cli": "^4.5.0",
102
+ "webpack-dev-server": "^4.0.0-beta.3",
103
+ "webpack-merge": "^5.7.3"
104
+ },
105
+ "dependencies": {
106
+ "@genesislcap/foundation-comms": "9.0.1-alpha-b5c5eb7.0",
107
+ "@genesislcap/foundation-utils": "9.0.1-alpha-b5c5eb7.0",
108
+ "@microsoft/fast-element": "^1.7.0",
109
+ "@microsoft/fast-foundation": "^2.33.2",
110
+ "tslib": "^2.3.1",
111
+ "ua-parser-js": "^1.0.32"
112
+ },
113
+ "repository": {
114
+ "type": "git",
115
+ "url": "git+https://github.com/genesislcap/foundation-ui.git",
116
+ "directory": "packages/foundation/foundation-filters"
117
+ },
118
+ "publishConfig": {
119
+ "access": "public"
120
+ },
121
+ "gitHead": "d5066d32a263aaef9221c570914e1ce7b90526ef"
122
+ }