@absolutejs/absolute 0.19.0-beta.212 → 0.19.0-beta.214

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 (57) hide show
  1. package/.absolutejs/cache/angular-linker/03f269392dcdbe53b0482927caa1ff17.js +33 -0
  2. package/.absolutejs/cache/angular-linker/341d75bd709b8e3da5e0191e3ae7ff34.js +2029 -0
  3. package/.absolutejs/cache/angular-linker/54161bce55bb149350556317e341619b.js +2872 -0
  4. package/.absolutejs/cache/angular-linker/58ef0a50d4370cda2b180a0e28ccc9a0.js +381 -0
  5. package/.absolutejs/cache/angular-linker/6d5602e0777a6bf3dc286d1418e37eeb.js +593 -0
  6. package/.absolutejs/cache/angular-linker/73f3352125fe12196d76075dab653b06.js +2836 -0
  7. package/.absolutejs/cache/angular-linker/8d0343b38de78de9075d2b7aaef4a0d6.js +693 -0
  8. package/.absolutejs/cache/angular-linker/cd4015dfcb0e8b06d279f929ba472d70.js +122 -0
  9. package/.absolutejs/cache/angular-linker/d7949b8b530e790ee1d7c5f4d9f4e561.js +314 -0
  10. package/.absolutejs/cache/angular-linker/e1bf85e34581dfb0ed6555e030c158e2.js +1351 -0
  11. package/.absolutejs/prettier.cache.json +236 -0
  12. package/.absolutejs/tsc.tsbuildinfo +1 -0
  13. package/.absolutejs/tsconfig.tsbuildinfo +1 -1
  14. package/.absolutejs/tsconfig.vue-check.json +6 -0
  15. package/.absolutejs/vue-tsc.tsbuildinfo +1 -1
  16. package/build/.cache/images/47f6059ee156360b7a041933b4978cbcb2011a1c9a67d833558d233472be079b.data +0 -0
  17. package/build/.cache/images/47f6059ee156360b7a041933b4978cbcb2011a1c9a67d833558d233472be079b.meta +1 -0
  18. package/build/.cache/images/5099ad2f32e4636aa812b97dd0dff1d1b439e24b5e97b2d55fe4f77367f461a4.data +0 -0
  19. package/build/.cache/images/5099ad2f32e4636aa812b97dd0dff1d1b439e24b5e97b2d55fe4f77367f461a4.meta +1 -0
  20. package/build/.cache/images/6ee00034d791ddd8b7f3ec800a222632adaf1e8c9fcedc480c773466fc10d1d5.data +0 -0
  21. package/build/.cache/images/6ee00034d791ddd8b7f3ec800a222632adaf1e8c9fcedc480c773466fc10d1d5.meta +1 -0
  22. package/build/.cache/images/70714161d457f1df2ede250334bd6060a38a652f10f043791c77d853f3005930.data +0 -0
  23. package/build/.cache/images/70714161d457f1df2ede250334bd6060a38a652f10f043791c77d853f3005930.meta +1 -0
  24. package/build/.cache/images/7eda684ed9d49b20bd3f8a52c1d2567c7c01a8b73fd7f880a103c0ec3c14f475.data +0 -0
  25. package/build/.cache/images/7eda684ed9d49b20bd3f8a52c1d2567c7c01a8b73fd7f880a103c0ec3c14f475.meta +1 -0
  26. package/build/.cache/images/926071f8d8f974eb91ccf882b478526c5926bc6693d663cdd304c57e7b3e0746.data +0 -0
  27. package/build/.cache/images/926071f8d8f974eb91ccf882b478526c5926bc6693d663cdd304c57e7b3e0746.meta +1 -0
  28. package/build/.cache/images/99fa4c4518e49ec0b205f2c67f9d535672053b80c8637540f9ce759ae5f6bbce.data +0 -0
  29. package/build/.cache/images/99fa4c4518e49ec0b205f2c67f9d535672053b80c8637540f9ce759ae5f6bbce.meta +1 -0
  30. package/build/.cache/images/d6ecd32c804dc52e56da07bd7d05876ff7f02e2e193baa94e15d1cf9022404d7.data +0 -0
  31. package/build/.cache/images/d6ecd32c804dc52e56da07bd7d05876ff7f02e2e193baa94e15d1cf9022404d7.meta +1 -0
  32. package/build/.cache/images/e68219762a1b21ec08ddaf67023cbd689c7f23ab406efa076007b36e4d5844d4.data +0 -0
  33. package/build/.cache/images/e68219762a1b21ec08ddaf67023cbd689c7f23ab406efa076007b36e4d5844d4.meta +1 -0
  34. package/build/.cache/images/e6c1d2e1ea4f97ba38de446e595eb7e0a54f50e282f4d3e02d94d9fd17057066.data +0 -0
  35. package/build/.cache/images/e6c1d2e1ea4f97ba38de446e595eb7e0a54f50e282f4d3e02d94d9fd17057066.meta +1 -0
  36. package/build/.cache/images/f422de3006871f116d1e262ada57671fd9a77d6922b565de81cdc7c574fdccb2.data +0 -0
  37. package/build/.cache/images/f422de3006871f116d1e262ada57671fd9a77d6922b565de81cdc7c574fdccb2.meta +1 -0
  38. package/build/assets/jpg/test.jpg +0 -0
  39. package/build/sitemap.xml +3 -0
  40. package/dist/{Image-599vc5xz.vue → Image-k52pzpdh.vue} +71 -37
  41. package/dist/angular/components/image.component.js +27 -19
  42. package/dist/angular/index.js.map +2 -2
  43. package/dist/build.js +6 -12
  44. package/dist/build.js.map +5 -5
  45. package/dist/cli/index.js +53 -11
  46. package/dist/image-client/imageClient.js +1 -10
  47. package/dist/index.js +6 -12
  48. package/dist/index.js.map +6 -6
  49. package/dist/react/components/browser/index.js +1 -10
  50. package/dist/react/components/index.js +6 -12
  51. package/dist/react/components/index.js.map +4 -4
  52. package/dist/svelte/components/Image.svelte +8 -5
  53. package/dist/vue/components/Image.vue +71 -37
  54. package/dist/vue/components/index.js +1 -1
  55. package/package.json +1 -1
  56. package/scripts/build.ts +308 -295
  57. package/types/metadata.ts +7 -1
@@ -0,0 +1,381 @@
1
+ /**
2
+ * @license Angular v21.2.6
3
+ * (c) 2010-2026 Google LLC. https://angular.dev/
4
+ * License: MIT
5
+ */
6
+
7
+ import { ɵDomAdapter as _DomAdapter, ɵsetRootDomAdapter as _setRootDomAdapter, ɵparseCookieValue as _parseCookieValue, ɵgetDOM as _getDOM, DOCUMENT, CommonModule, XhrFactory, ɵPLATFORM_BROWSER_ID as _PLATFORM_BROWSER_ID } from '@angular/common';
8
+ import * as i0 from '@angular/core';
9
+ import { ɵglobal as _global, ɵRuntimeError as _RuntimeError, Injectable, Inject, inject, InjectionToken, ApplicationModule, ɵINJECTOR_SCOPE as _INJECTOR_SCOPE, ErrorHandler, RendererFactory2, ɵTESTABILITY_GETTER as _TESTABILITY_GETTER, Testability, ɵTESTABILITY as _TESTABILITY, ɵinternalCreateApplication as _internalCreateApplication, createPlatformFactory, platformCore, PLATFORM_ID, PLATFORM_INITIALIZER, ɵresolveComponentResources as _resolveComponentResources, ɵsetDocument as _setDocument, NgModule } from '@angular/core';
10
+ import { EventManagerPlugin, DomEventsPlugin, EVENT_MANAGER_PLUGINS, DomRendererFactory2, SharedStylesHost, EventManager } from './_dom_renderer-chunk.mjs';
11
+ class BrowserDomAdapter extends _DomAdapter {
12
+ supportsDOMEvents = true;
13
+ static makeCurrent() {
14
+ _setRootDomAdapter(new BrowserDomAdapter());
15
+ }
16
+ onAndCancel(el, evt, listener, options) {
17
+ el.addEventListener(evt, listener, options);
18
+ return () => {
19
+ el.removeEventListener(evt, listener, options);
20
+ };
21
+ }
22
+ dispatchEvent(el, evt) {
23
+ el.dispatchEvent(evt);
24
+ }
25
+ remove(node) {
26
+ node.remove();
27
+ }
28
+ createElement(tagName, doc) {
29
+ doc = doc || this.getDefaultDocument();
30
+ return doc.createElement(tagName);
31
+ }
32
+ createHtmlDocument() {
33
+ return document.implementation.createHTMLDocument('fakeTitle');
34
+ }
35
+ getDefaultDocument() {
36
+ return document;
37
+ }
38
+ isElementNode(node) {
39
+ return node.nodeType === Node.ELEMENT_NODE;
40
+ }
41
+ isShadowRoot(node) {
42
+ return node instanceof DocumentFragment;
43
+ }
44
+ getGlobalEventTarget(doc, target) {
45
+ if (target === 'window') {
46
+ return window;
47
+ }
48
+ if (target === 'document') {
49
+ return doc;
50
+ }
51
+ if (target === 'body') {
52
+ return doc.body;
53
+ }
54
+ return null;
55
+ }
56
+ getBaseHref(doc) {
57
+ const href = getBaseElementHref();
58
+ return href == null ? null : relativePath(href);
59
+ }
60
+ resetBaseElement() {
61
+ baseElement = null;
62
+ }
63
+ getUserAgent() {
64
+ return window.navigator.userAgent;
65
+ }
66
+ getCookie(name) {
67
+ return _parseCookieValue(document.cookie, name);
68
+ }
69
+ }
70
+ let baseElement = null;
71
+ function getBaseElementHref() {
72
+ baseElement = baseElement || document.head.querySelector('base');
73
+ return baseElement ? baseElement.getAttribute('href') : null;
74
+ }
75
+ function relativePath(url) {
76
+ return new URL(url, document.baseURI).pathname;
77
+ }
78
+ class BrowserGetTestability {
79
+ addToWindow(registry) {
80
+ _global['getAngularTestability'] = (elem, findInAncestors = true) => {
81
+ const testability = registry.findTestabilityInTree(elem, findInAncestors);
82
+ if (testability == null) {
83
+ throw new _RuntimeError(5103, (typeof ngDevMode === 'undefined' || ngDevMode) && 'Could not find testability for element.');
84
+ }
85
+ return testability;
86
+ };
87
+ _global['getAllAngularTestabilities'] = () => registry.getAllTestabilities();
88
+ _global['getAllAngularRootElements'] = () => registry.getAllRootElements();
89
+ const whenAllStable = callback => {
90
+ const testabilities = _global['getAllAngularTestabilities']();
91
+ let count = testabilities.length;
92
+ const decrement = function () {
93
+ count--;
94
+ if (count == 0) {
95
+ callback();
96
+ }
97
+ };
98
+ testabilities.forEach(testability => {
99
+ testability.whenStable(decrement);
100
+ });
101
+ };
102
+ if (!_global['frameworkStabilizers']) {
103
+ _global['frameworkStabilizers'] = [];
104
+ }
105
+ _global['frameworkStabilizers'].push(whenAllStable);
106
+ }
107
+ findTestabilityInTree(registry, elem, findInAncestors) {
108
+ if (elem == null) {
109
+ return null;
110
+ }
111
+ const t = registry.getTestability(elem);
112
+ if (t != null) {
113
+ return t;
114
+ } else if (!findInAncestors) {
115
+ return null;
116
+ }
117
+ if (_getDOM().isShadowRoot(elem)) {
118
+ return this.findTestabilityInTree(registry, elem.host, true);
119
+ }
120
+ return this.findTestabilityInTree(registry, elem.parentElement, true);
121
+ }
122
+ }
123
+ class BrowserXhr {
124
+ build() {
125
+ return new XMLHttpRequest();
126
+ }
127
+ static ɵfac = function BrowserXhr_Factory(__ngFactoryType__) {
128
+ return new (__ngFactoryType__ || BrowserXhr)();
129
+ };
130
+ static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({
131
+ token: BrowserXhr,
132
+ factory: BrowserXhr.ɵfac
133
+ });
134
+ }
135
+ (() => {
136
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BrowserXhr, [{
137
+ type: Injectable
138
+ }], null, null);
139
+ })();
140
+ const MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];
141
+ const _keyMap = {
142
+ '\b': 'Backspace',
143
+ '\t': 'Tab',
144
+ '\x7F': 'Delete',
145
+ '\x1B': 'Escape',
146
+ 'Del': 'Delete',
147
+ 'Esc': 'Escape',
148
+ 'Left': 'ArrowLeft',
149
+ 'Right': 'ArrowRight',
150
+ 'Up': 'ArrowUp',
151
+ 'Down': 'ArrowDown',
152
+ 'Menu': 'ContextMenu',
153
+ 'Scroll': 'ScrollLock',
154
+ 'Win': 'OS'
155
+ };
156
+ const MODIFIER_KEY_GETTERS = {
157
+ 'alt': event => event.altKey,
158
+ 'control': event => event.ctrlKey,
159
+ 'meta': event => event.metaKey,
160
+ 'shift': event => event.shiftKey
161
+ };
162
+ class KeyEventsPlugin extends EventManagerPlugin {
163
+ constructor(doc) {
164
+ super(doc);
165
+ }
166
+ supports(eventName) {
167
+ return KeyEventsPlugin.parseEventName(eventName) != null;
168
+ }
169
+ addEventListener(element, eventName, handler, options) {
170
+ const parsedEvent = KeyEventsPlugin.parseEventName(eventName);
171
+ const outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());
172
+ return this.manager.getZone().runOutsideAngular(() => {
173
+ return _getDOM().onAndCancel(element, parsedEvent['domEventName'], outsideHandler, options);
174
+ });
175
+ }
176
+ static parseEventName(eventName) {
177
+ const parts = eventName.toLowerCase().split('.');
178
+ const domEventName = parts.shift();
179
+ if (parts.length === 0 || !(domEventName === 'keydown' || domEventName === 'keyup')) {
180
+ return null;
181
+ }
182
+ const key = KeyEventsPlugin._normalizeKey(parts.pop());
183
+ let fullKey = '';
184
+ let codeIX = parts.indexOf('code');
185
+ if (codeIX > -1) {
186
+ parts.splice(codeIX, 1);
187
+ fullKey = 'code.';
188
+ }
189
+ MODIFIER_KEYS.forEach(modifierName => {
190
+ const index = parts.indexOf(modifierName);
191
+ if (index > -1) {
192
+ parts.splice(index, 1);
193
+ fullKey += modifierName + '.';
194
+ }
195
+ });
196
+ fullKey += key;
197
+ if (parts.length != 0 || key.length === 0) {
198
+ return null;
199
+ }
200
+ const result = {};
201
+ result['domEventName'] = domEventName;
202
+ result['fullKey'] = fullKey;
203
+ return result;
204
+ }
205
+ static matchEventFullKeyCode(event, fullKeyCode) {
206
+ let keycode = _keyMap[event.key] || event.key;
207
+ let key = '';
208
+ if (fullKeyCode.indexOf('code.') > -1) {
209
+ keycode = event.code;
210
+ key = 'code.';
211
+ }
212
+ if (keycode == null || !keycode) return false;
213
+ keycode = keycode.toLowerCase();
214
+ if (keycode === ' ') {
215
+ keycode = 'space';
216
+ } else if (keycode === '.') {
217
+ keycode = 'dot';
218
+ }
219
+ MODIFIER_KEYS.forEach(modifierName => {
220
+ if (modifierName !== keycode) {
221
+ const modifierGetter = MODIFIER_KEY_GETTERS[modifierName];
222
+ if (modifierGetter(event)) {
223
+ key += modifierName + '.';
224
+ }
225
+ }
226
+ });
227
+ key += keycode;
228
+ return key === fullKeyCode;
229
+ }
230
+ static eventCallback(fullKey, handler, zone) {
231
+ return event => {
232
+ if (KeyEventsPlugin.matchEventFullKeyCode(event, fullKey)) {
233
+ zone.runGuarded(() => handler(event));
234
+ }
235
+ };
236
+ }
237
+ static _normalizeKey(keyName) {
238
+ return keyName === 'esc' ? 'escape' : keyName;
239
+ }
240
+ static ɵfac = function KeyEventsPlugin_Factory(__ngFactoryType__) {
241
+ return new (__ngFactoryType__ || KeyEventsPlugin)(i0.ɵɵinject(DOCUMENT));
242
+ };
243
+ static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({
244
+ token: KeyEventsPlugin,
245
+ factory: KeyEventsPlugin.ɵfac
246
+ });
247
+ }
248
+ (() => {
249
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(KeyEventsPlugin, [{
250
+ type: Injectable
251
+ }], () => [{
252
+ type: undefined,
253
+ decorators: [{
254
+ type: Inject,
255
+ args: [DOCUMENT]
256
+ }]
257
+ }], null);
258
+ })();
259
+ async function bootstrapApplication(rootComponent, options, context) {
260
+ const config = {
261
+ rootComponent,
262
+ ...createProvidersConfig(options, context)
263
+ };
264
+ if ((typeof ngJitMode === 'undefined' || ngJitMode) && typeof fetch === 'function') {
265
+ await resolveJitResources();
266
+ }
267
+ return _internalCreateApplication(config);
268
+ }
269
+ async function createApplication(options, context) {
270
+ if ((typeof ngJitMode === 'undefined' || ngJitMode) && typeof fetch === 'function') {
271
+ await resolveJitResources();
272
+ }
273
+ return _internalCreateApplication(createProvidersConfig(options, context));
274
+ }
275
+ function createProvidersConfig(options, context) {
276
+ return {
277
+ platformRef: context?.platformRef,
278
+ appProviders: [...BROWSER_MODULE_PROVIDERS, ...(options?.providers ?? [])],
279
+ platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS
280
+ };
281
+ }
282
+ async function resolveJitResources() {
283
+ try {
284
+ return await _resolveComponentResources(fetch);
285
+ } catch (error) {
286
+ console.error(error);
287
+ }
288
+ }
289
+ function provideProtractorTestingSupport() {
290
+ return [...TESTABILITY_PROVIDERS];
291
+ }
292
+ function initDomAdapter() {
293
+ BrowserDomAdapter.makeCurrent();
294
+ }
295
+ function errorHandler() {
296
+ return new ErrorHandler();
297
+ }
298
+ function _document() {
299
+ _setDocument(document);
300
+ return document;
301
+ }
302
+ const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [{
303
+ provide: PLATFORM_ID,
304
+ useValue: _PLATFORM_BROWSER_ID
305
+ }, {
306
+ provide: PLATFORM_INITIALIZER,
307
+ useValue: initDomAdapter,
308
+ multi: true
309
+ }, {
310
+ provide: DOCUMENT,
311
+ useFactory: _document
312
+ }];
313
+ const platformBrowser = createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
314
+ const BROWSER_MODULE_PROVIDERS_MARKER = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'BrowserModule Providers Marker' : '');
315
+ const TESTABILITY_PROVIDERS = [{
316
+ provide: _TESTABILITY_GETTER,
317
+ useClass: BrowserGetTestability
318
+ }, {
319
+ provide: _TESTABILITY,
320
+ useClass: Testability
321
+ }, {
322
+ provide: Testability,
323
+ useClass: Testability
324
+ }];
325
+ const BROWSER_MODULE_PROVIDERS = [{
326
+ provide: _INJECTOR_SCOPE,
327
+ useValue: 'root'
328
+ }, {
329
+ provide: ErrorHandler,
330
+ useFactory: errorHandler
331
+ }, {
332
+ provide: EVENT_MANAGER_PLUGINS,
333
+ useClass: DomEventsPlugin,
334
+ multi: true
335
+ }, {
336
+ provide: EVENT_MANAGER_PLUGINS,
337
+ useClass: KeyEventsPlugin,
338
+ multi: true
339
+ }, DomRendererFactory2, SharedStylesHost, EventManager, {
340
+ provide: RendererFactory2,
341
+ useExisting: DomRendererFactory2
342
+ }, {
343
+ provide: XhrFactory,
344
+ useClass: BrowserXhr
345
+ }, typeof ngDevMode === 'undefined' || ngDevMode ? {
346
+ provide: BROWSER_MODULE_PROVIDERS_MARKER,
347
+ useValue: true
348
+ } : []];
349
+ class BrowserModule {
350
+ constructor() {
351
+ if (typeof ngDevMode === 'undefined' || ngDevMode) {
352
+ const providersAlreadyPresent = inject(BROWSER_MODULE_PROVIDERS_MARKER, {
353
+ optional: true,
354
+ skipSelf: true
355
+ });
356
+ if (providersAlreadyPresent) {
357
+ throw new _RuntimeError(5100, `Providers from the \`BrowserModule\` have already been loaded. If you need access ` + `to common directives such as NgIf and NgFor, import the \`CommonModule\` instead.`);
358
+ }
359
+ }
360
+ }
361
+ static ɵfac = function BrowserModule_Factory(__ngFactoryType__) {
362
+ return new (__ngFactoryType__ || BrowserModule)();
363
+ };
364
+ static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({
365
+ type: BrowserModule
366
+ });
367
+ static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({
368
+ providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
369
+ imports: [CommonModule, ApplicationModule]
370
+ });
371
+ }
372
+ (() => {
373
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BrowserModule, [{
374
+ type: NgModule,
375
+ args: [{
376
+ providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
377
+ exports: [CommonModule, ApplicationModule]
378
+ }]
379
+ }], () => [], null);
380
+ })();
381
+ export { BrowserDomAdapter, BrowserGetTestability, BrowserModule, KeyEventsPlugin, bootstrapApplication, createApplication, platformBrowser, provideProtractorTestingSupport };