@fundamental-ngx/ui5-webcomponents-fiori 0.58.0-rc.89 → 0.58.0-rc.90
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/package.json +2 -210
- package/barcode-scanner-dialog/index.d.ts +0 -66
- package/dynamic-page/index.d.ts +0 -65
- package/dynamic-page-header/index.d.ts +0 -37
- package/dynamic-page-title/index.d.ts +0 -63
- package/dynamic-side-content/index.d.ts +0 -81
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs +0 -131
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs +0 -61
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs +0 -115
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs +0 -139
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs +0 -148
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs +0 -65
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs +0 -91
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs +0 -297
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs +0 -65
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs +0 -159
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs +0 -100
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs +0 -148
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs +0 -95
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs +0 -139
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs +0 -174
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs +0 -114
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs +0 -115
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs +0 -145
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs +0 -61
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs +0 -36
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs +0 -87
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs +0 -143
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs +0 -65
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs +0 -65
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs +0 -191
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs +0 -135
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs +0 -109
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs +0 -196
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-spacer.mjs +0 -36
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-spacer.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs +0 -334
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs +0 -105
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs +0 -195
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs +0 -165
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs +0 -130
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs +0 -65
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-theming.mjs +0 -23
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-theming.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs +0 -109
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs +0 -136
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs +0 -135
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs +0 -184
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs +0 -152
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs +0 -95
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs +0 -36
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs +0 -63
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs +0 -174
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-account-view.mjs +0 -130
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-account-view.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs +0 -138
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs +0 -158
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs +0 -96
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs +0 -150
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs +0 -130
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs.map +0 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs +0 -107
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs.map +0 -1
- package/filter-item/index.d.ts +0 -46
- package/filter-item-option/index.d.ts +0 -22
- package/flexible-column-layout/index.d.ts +0 -135
- package/group-item/index.d.ts +0 -22
- package/illustrated-message/index.d.ts +0 -105
- package/media-gallery/index.d.ts +0 -84
- package/media-gallery-item/index.d.ts +0 -50
- package/navigation-layout/index.d.ts +0 -43
- package/notification-list/index.d.ts +0 -54
- package/notification-list-group-item/index.d.ts +0 -75
- package/notification-list-item/index.d.ts +0 -97
- package/page/index.d.ts +0 -60
- package/product-switch/index.d.ts +0 -37
- package/product-switch-item/index.d.ts +0 -83
- package/search/index.d.ts +0 -106
- package/search-item/index.d.ts +0 -75
- package/search-item-group/index.d.ts +0 -14
- package/search-item-show-more/index.d.ts +0 -30
- package/search-message-area/index.d.ts +0 -22
- package/search-scope/index.d.ts +0 -22
- package/shell-bar/index.d.ts +0 -218
- package/shell-bar-branding/index.d.ts +0 -71
- package/shell-bar-item/index.d.ts +0 -51
- package/shell-bar-search/index.d.ts +0 -110
- package/shell-bar-spacer/index.d.ts +0 -14
- package/side-navigation/index.d.ts +0 -67
- package/side-navigation-group/index.d.ts +0 -58
- package/side-navigation-item/index.d.ts +0 -128
- package/side-navigation-sub-item/index.d.ts +0 -101
- package/sort-item/index.d.ts +0 -22
- package/theming/index.d.ts +0 -11
- package/timeline/index.d.ts +0 -73
- package/timeline-group-item/index.d.ts +0 -50
- package/timeline-item/index.d.ts +0 -73
- package/upload-collection/index.d.ts +0 -84
- package/upload-collection-item/index.d.ts +0 -111
- package/user-menu/index.d.ts +0 -100
- package/user-menu-account/index.d.ts +0 -46
- package/user-menu-item/index.d.ts +0 -39
- package/user-menu-item-group/index.d.ts +0 -14
- package/user-settings-account-view/index.d.ts +0 -64
- package/user-settings-dialog/index.d.ts +0 -71
- package/user-settings-item/index.d.ts +0 -88
- package/user-settings-view/index.d.ts +0 -50
- package/view-settings-dialog/index.d.ts +0 -78
- package/wizard/index.d.ts +0 -49
- package/wizard-step/index.d.ts +0 -81
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, booleanAttribute, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import '@ui5/webcomponents-fiori/dist/IllustratedMessage.js';
|
|
4
|
-
|
|
5
|
-
class IllustratedMessage {
|
|
6
|
-
constructor() {
|
|
7
|
-
/**
|
|
8
|
-
* Defines the illustration name that will be displayed in the component.
|
|
9
|
-
|
|
10
|
-
Example:
|
|
11
|
-
|
|
12
|
-
`name='BeforeSearch'`, `name='UnableToUpload'`, etc..
|
|
13
|
-
|
|
14
|
-
**Note:** To use the TNT illustrations,
|
|
15
|
-
you need to set the `tnt` or `Tnt` prefix in front of the icon's name.
|
|
16
|
-
|
|
17
|
-
Example:
|
|
18
|
-
|
|
19
|
-
`name='tnt/Avatar'` or `name='TntAvatar'`.
|
|
20
|
-
|
|
21
|
-
**Note:** By default the `BeforeSearch` illustration is loaded.
|
|
22
|
-
When using an illustration type, other than the default, it should be loaded in addition:
|
|
23
|
-
|
|
24
|
-
`import "@ui5/webcomponents-fiori/dist/illustrations/NoData.js";`
|
|
25
|
-
|
|
26
|
-
For TNT illustrations:
|
|
27
|
-
|
|
28
|
-
`import "@ui5/webcomponents-fiori/dist/illustrations/tnt/SessionExpired.js";`
|
|
29
|
-
*/
|
|
30
|
-
this.name = input("BeforeSearch", ...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
31
|
-
/**
|
|
32
|
-
* Determines which illustration breakpoint variant is used.
|
|
33
|
-
|
|
34
|
-
As `IllustratedMessage` adapts itself around the `Illustration`, the other
|
|
35
|
-
elements of the component are displayed differently on the different breakpoints/illustration designs.
|
|
36
|
-
*/
|
|
37
|
-
this.design = input("Auto", ...(ngDevMode ? [{ debugName: "design" }] : []));
|
|
38
|
-
/**
|
|
39
|
-
* Defines the subtitle of the component.
|
|
40
|
-
|
|
41
|
-
**Note:** Using this property, the default subtitle text of illustration will be overwritten.
|
|
42
|
-
|
|
43
|
-
**Note:** Using `subtitle` slot, the default of this property will be overwritten.
|
|
44
|
-
*/
|
|
45
|
-
this.subtitleText = input(...(ngDevMode ? [undefined, { debugName: "subtitleText" }] : []));
|
|
46
|
-
/**
|
|
47
|
-
* Defines the title of the component.
|
|
48
|
-
|
|
49
|
-
**Note:** Using this property, the default title text of illustration will be overwritten.
|
|
50
|
-
*/
|
|
51
|
-
this.titleText = input(...(ngDevMode ? [undefined, { debugName: "titleText" }] : []));
|
|
52
|
-
/**
|
|
53
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
54
|
-
*/
|
|
55
|
-
this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
|
|
56
|
-
/**
|
|
57
|
-
* Defines whether the illustration is decorative.
|
|
58
|
-
|
|
59
|
-
When set to `true`, the attributes `role="presentation"` and `aria-hidden="true"` are applied to the SVG element.
|
|
60
|
-
*/
|
|
61
|
-
this.decorative = input(false, ...(ngDevMode ? [{ debugName: "decorative", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed
|
|
62
|
-
/**
|
|
63
|
-
* Available slots for content projection in this component.
|
|
64
|
-
*
|
|
65
|
-
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
66
|
-
* Use the `slot` attribute on child elements to target specific slots.
|
|
67
|
-
*
|
|
68
|
-
* - **title**: Defines the title of the component.
|
|
69
|
-
|
|
70
|
-
**Note:** Using this slot, the default title text of illustration and the value of `title` property will be overwritten.
|
|
71
|
-
* - **subtitle**: Defines the subtitle of the component.
|
|
72
|
-
|
|
73
|
-
**Note:** Using this slot, the default subtitle text of illustration and the value of `subtitleText` property will be overwritten.
|
|
74
|
-
* - **(default)**: Defines the component actions.
|
|
75
|
-
|
|
76
|
-
**Note:** Not displayed when the `design` property is set to `Base`.
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* ```html
|
|
80
|
-
* <ui5-illustrated-message>
|
|
81
|
-
* <div slot="header">Custom header content</div>
|
|
82
|
-
* <p>Default slot content</p>
|
|
83
|
-
* </ui5-illustrated-message>
|
|
84
|
-
* ```
|
|
85
|
-
*
|
|
86
|
-
* @readonly
|
|
87
|
-
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
88
|
-
*/
|
|
89
|
-
this.slots = [
|
|
90
|
-
{
|
|
91
|
-
"name": "title",
|
|
92
|
-
"description": "Defines the title of the component.\n\n**Note:** Using this slot, the default title text of illustration and the value of `title` property will be overwritten.",
|
|
93
|
-
"since": "1.7.0"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"name": "subtitle",
|
|
97
|
-
"description": "Defines the subtitle of the component.\n\n**Note:** Using this slot, the default subtitle text of illustration and the value of `subtitleText` property will be overwritten.",
|
|
98
|
-
"since": "1.0.0-rc.16"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "default",
|
|
102
|
-
"description": "Defines the component actions.\n\n**Note:** Not displayed when the `design` property is set to `Base`."
|
|
103
|
-
}
|
|
104
|
-
];
|
|
105
|
-
this.elementRef = inject(ElementRef);
|
|
106
|
-
this.injector = inject(Injector);
|
|
107
|
-
}
|
|
108
|
-
get element() {
|
|
109
|
-
return this.elementRef.nativeElement;
|
|
110
|
-
}
|
|
111
|
-
ngAfterViewInit() {
|
|
112
|
-
const wcElement = this.element;
|
|
113
|
-
const inputsToSync = [
|
|
114
|
-
'name',
|
|
115
|
-
'design',
|
|
116
|
-
'subtitleText',
|
|
117
|
-
'titleText',
|
|
118
|
-
'accessibleNameRef',
|
|
119
|
-
'decorative',
|
|
120
|
-
];
|
|
121
|
-
// Synchronize inputs (properties)
|
|
122
|
-
for (const inputName of inputsToSync) {
|
|
123
|
-
// Find the corresponding camelCase signal property on the Angular component
|
|
124
|
-
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
125
|
-
// Use the Injector to run the effect in the correct context
|
|
126
|
-
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
127
|
-
runInInjectionContext(this.injector, () => {
|
|
128
|
-
effect(() => {
|
|
129
|
-
// Read the signal value
|
|
130
|
-
const value = this[signalName]();
|
|
131
|
-
if (wcElement) {
|
|
132
|
-
// Write the value to the Web Component's property
|
|
133
|
-
wcElement[inputName] = value;
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: IllustratedMessage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
141
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: IllustratedMessage, isStandalone: true, selector: "ui5-illustrated-message, [ui5-illustrated-message]", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, design: { classPropertyName: "design", publicName: "design", isSignal: true, isRequired: false, transformFunction: null }, subtitleText: { classPropertyName: "subtitleText", publicName: "subtitleText", isSignal: true, isRequired: false, transformFunction: null }, titleText: { classPropertyName: "titleText", publicName: "titleText", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, decorative: { classPropertyName: "decorative", publicName: "decorative", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["ui5IllustratedMessage"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
142
|
-
}
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: IllustratedMessage, decorators: [{
|
|
144
|
-
type: Component,
|
|
145
|
-
args: [{
|
|
146
|
-
standalone: true,
|
|
147
|
-
selector: 'ui5-illustrated-message, [ui5-illustrated-message]',
|
|
148
|
-
template: '<ng-content></ng-content>',
|
|
149
|
-
exportAs: 'ui5IllustratedMessage',
|
|
150
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
151
|
-
}]
|
|
152
|
-
}] });
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Generated bundle index. Do not edit.
|
|
156
|
-
*/
|
|
157
|
-
|
|
158
|
-
export { IllustratedMessage };
|
|
159
|
-
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs","sources":["../tmp-esm2022/illustrated-message/index.js","../tmp-esm2022/illustrated-message/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/IllustratedMessage.js';\nimport * as i0 from \"@angular/core\";\nexport class IllustratedMessage {\n constructor() {\n /**\n * Defines the illustration name that will be displayed in the component.\n \n Example:\n \n `name='BeforeSearch'`, `name='UnableToUpload'`, etc..\n \n **Note:** To use the TNT illustrations,\n you need to set the `tnt` or `Tnt` prefix in front of the icon's name.\n \n Example:\n \n `name='tnt/Avatar'` or `name='TntAvatar'`.\n \n **Note:** By default the `BeforeSearch` illustration is loaded.\n When using an illustration type, other than the default, it should be loaded in addition:\n \n `import \"@ui5/webcomponents-fiori/dist/illustrations/NoData.js\";`\n \n For TNT illustrations:\n \n `import \"@ui5/webcomponents-fiori/dist/illustrations/tnt/SessionExpired.js\";`\n */\n this.name = input(\"BeforeSearch\", ...(ngDevMode ? [{ debugName: \"name\" }] : []));\n /**\n * Determines which illustration breakpoint variant is used.\n \n As `IllustratedMessage` adapts itself around the `Illustration`, the other\n elements of the component are displayed differently on the different breakpoints/illustration designs.\n */\n this.design = input(\"Auto\", ...(ngDevMode ? [{ debugName: \"design\" }] : []));\n /**\n * Defines the subtitle of the component.\n \n **Note:** Using this property, the default subtitle text of illustration will be overwritten.\n \n **Note:** Using `subtitle` slot, the default of this property will be overwritten.\n */\n this.subtitleText = input(...(ngDevMode ? [undefined, { debugName: \"subtitleText\" }] : []));\n /**\n * Defines the title of the component.\n \n **Note:** Using this property, the default title text of illustration will be overwritten.\n */\n this.titleText = input(...(ngDevMode ? [undefined, { debugName: \"titleText\" }] : []));\n /**\n * Receives id(or many ids) of the elements that label the component.\n */\n this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: \"accessibleNameRef\" }] : []));\n /**\n * Defines whether the illustration is decorative.\n \n When set to `true`, the attributes `role=\"presentation\"` and `aria-hidden=\"true\"` are applied to the SVG element.\n */\n this.decorative = input(false, ...(ngDevMode ? [{ debugName: \"decorative\", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **title**: Defines the title of the component.\n \n **Note:** Using this slot, the default title text of illustration and the value of `title` property will be overwritten.\n * - **subtitle**: Defines the subtitle of the component.\n \n **Note:** Using this slot, the default subtitle text of illustration and the value of `subtitleText` property will be overwritten.\n * - **(default)**: Defines the component actions.\n \n **Note:** Not displayed when the `design` property is set to `Base`.\n *\n * @example\n * ```html\n * <ui5-illustrated-message>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-illustrated-message>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n this.slots = [\n {\n \"name\": \"title\",\n \"description\": \"Defines the title of the component.\\n\\n**Note:** Using this slot, the default title text of illustration and the value of `title` property will be overwritten.\",\n \"since\": \"1.7.0\"\n },\n {\n \"name\": \"subtitle\",\n \"description\": \"Defines the subtitle of the component.\\n\\n**Note:** Using this slot, the default subtitle text of illustration and the value of `subtitleText` property will be overwritten.\",\n \"since\": \"1.0.0-rc.16\"\n },\n {\n \"name\": \"default\",\n \"description\": \"Defines the component actions.\\n\\n**Note:** Not displayed when the `design` property is set to `Base`.\"\n }\n ];\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'name',\n 'design',\n 'subtitleText',\n 'titleText',\n 'accessibleNameRef',\n 'decorative',\n ];\n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: IllustratedMessage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: IllustratedMessage, isStandalone: true, selector: \"ui5-illustrated-message, [ui5-illustrated-message]\", inputs: { name: { classPropertyName: \"name\", publicName: \"name\", isSignal: true, isRequired: false, transformFunction: null }, design: { classPropertyName: \"design\", publicName: \"design\", isSignal: true, isRequired: false, transformFunction: null }, subtitleText: { classPropertyName: \"subtitleText\", publicName: \"subtitleText\", isSignal: true, isRequired: false, transformFunction: null }, titleText: { classPropertyName: \"titleText\", publicName: \"titleText\", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: \"accessibleNameRef\", publicName: \"accessibleNameRef\", isSignal: true, isRequired: false, transformFunction: null }, decorative: { classPropertyName: \"decorative\", publicName: \"decorative\", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: [\"ui5IllustratedMessage\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: IllustratedMessage, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-illustrated-message, [ui5-illustrated-message]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5IllustratedMessage',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL2lsbHVzdHJhdGVkLW1lc3NhZ2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFHTCxNQUFNLEVBQ04scUJBQXFCLEVBQ3JCLE1BQU0sRUFDTixRQUFRLEVBQ1IsZ0JBQWdCLEVBR2pCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8scURBQXFELENBQUM7O0FBYzdELE1BQU0sT0FBTyxrQkFBa0I7SUFSL0I7UUFVRTs7Ozs7Ozs7Ozs7Ozs7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X0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLWlsbHVzdHJhdGVkLW1lc3NhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL2lsbHVzdHJhdGVkLW1lc3NhZ2UvZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLWlsbHVzdHJhdGVkLW1lc3NhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;AAGO,MAAM,kBAAkB,CAAC;AAChC,IAAI,WAAW,GAAG;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,cAAc,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;AACxF;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,IA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,EAAE,EAAE,QAAQ,EAAE,CAAC,uBAAuB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,2BAA2B,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AAC1pC;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC;AAC5H,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,oDAAoD;AAClF,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,uBAAuB;AACrD,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACtJb;AACA;AACA;;;;"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, booleanAttribute, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import '@ui5/webcomponents-fiori/dist/MediaGalleryItem.js';
|
|
4
|
-
|
|
5
|
-
class MediaGalleryItem {
|
|
6
|
-
constructor() {
|
|
7
|
-
/**
|
|
8
|
-
* Defines the selected state of the component.
|
|
9
|
-
*/
|
|
10
|
-
this.selected = input(false, ...(ngDevMode ? [{ debugName: "selected", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
11
|
-
/**
|
|
12
|
-
* Defines whether the component is in disabled state.
|
|
13
|
-
*/
|
|
14
|
-
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
15
|
-
/**
|
|
16
|
-
* Determines the layout of the item container.
|
|
17
|
-
*/
|
|
18
|
-
this.layout = input("Square", ...(ngDevMode ? [{ debugName: "layout" }] : [])); // className is now passed
|
|
19
|
-
/**
|
|
20
|
-
* Available slots for content projection in this component.
|
|
21
|
-
*
|
|
22
|
-
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
23
|
-
* Use the `slot` attribute on child elements to target specific slots.
|
|
24
|
-
*
|
|
25
|
-
* - **(default)**: Defines the content of the component.
|
|
26
|
-
* - **thumbnail**: Defines the content of the thumbnail.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```html
|
|
30
|
-
* <ui5-media-gallery-item>
|
|
31
|
-
* <div slot="header">Custom header content</div>
|
|
32
|
-
* <p>Default slot content</p>
|
|
33
|
-
* </ui5-media-gallery-item>
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @readonly
|
|
37
|
-
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
38
|
-
*/
|
|
39
|
-
this.slots = [
|
|
40
|
-
{
|
|
41
|
-
"name": "default",
|
|
42
|
-
"description": "Defines the content of the component."
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"name": "thumbnail",
|
|
46
|
-
"description": "Defines the content of the thumbnail."
|
|
47
|
-
}
|
|
48
|
-
];
|
|
49
|
-
this.elementRef = inject(ElementRef);
|
|
50
|
-
this.injector = inject(Injector);
|
|
51
|
-
}
|
|
52
|
-
get element() {
|
|
53
|
-
return this.elementRef.nativeElement;
|
|
54
|
-
}
|
|
55
|
-
ngAfterViewInit() {
|
|
56
|
-
const wcElement = this.element;
|
|
57
|
-
const inputsToSync = [
|
|
58
|
-
'selected',
|
|
59
|
-
'disabled',
|
|
60
|
-
'layout',
|
|
61
|
-
];
|
|
62
|
-
// Synchronize inputs (properties)
|
|
63
|
-
for (const inputName of inputsToSync) {
|
|
64
|
-
// Find the corresponding camelCase signal property on the Angular component
|
|
65
|
-
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
66
|
-
// Use the Injector to run the effect in the correct context
|
|
67
|
-
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
68
|
-
runInInjectionContext(this.injector, () => {
|
|
69
|
-
effect(() => {
|
|
70
|
-
// Read the signal value
|
|
71
|
-
const value = this[signalName]();
|
|
72
|
-
if (wcElement) {
|
|
73
|
-
// Write the value to the Web Component's property
|
|
74
|
-
wcElement[inputName] = value;
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: MediaGalleryItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
82
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: MediaGalleryItem, isStandalone: true, selector: "ui5-media-gallery-item, [ui5-media-gallery-item]", inputs: { selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["ui5MediaGalleryItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
83
|
-
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: MediaGalleryItem, decorators: [{
|
|
85
|
-
type: Component,
|
|
86
|
-
args: [{
|
|
87
|
-
standalone: true,
|
|
88
|
-
selector: 'ui5-media-gallery-item, [ui5-media-gallery-item]',
|
|
89
|
-
template: '<ng-content></ng-content>',
|
|
90
|
-
exportAs: 'ui5MediaGalleryItem',
|
|
91
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
92
|
-
}]
|
|
93
|
-
}] });
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Generated bundle index. Do not edit.
|
|
97
|
-
*/
|
|
98
|
-
|
|
99
|
-
export { MediaGalleryItem };
|
|
100
|
-
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs","sources":["../tmp-esm2022/media-gallery-item/index.js","../tmp-esm2022/media-gallery-item/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/MediaGalleryItem.js';\nimport * as i0 from \"@angular/core\";\nexport class MediaGalleryItem {\n constructor() {\n /**\n * Defines the selected state of the component.\n */\n this.selected = input(false, ...(ngDevMode ? [{ debugName: \"selected\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines whether the component is in disabled state.\n */\n this.disabled = input(false, ...(ngDevMode ? [{ debugName: \"disabled\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Determines the layout of the item container.\n */\n this.layout = input(\"Square\", ...(ngDevMode ? [{ debugName: \"layout\" }] : [])); // className is now passed\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the component.\n * - **thumbnail**: Defines the content of the thumbnail.\n *\n * @example\n * ```html\n * <ui5-media-gallery-item>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-media-gallery-item>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n this.slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the content of the component.\"\n },\n {\n \"name\": \"thumbnail\",\n \"description\": \"Defines the content of the thumbnail.\"\n }\n ];\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'selected',\n 'disabled',\n 'layout',\n ];\n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: MediaGalleryItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: MediaGalleryItem, isStandalone: true, selector: \"ui5-media-gallery-item, [ui5-media-gallery-item]\", inputs: { selected: { classPropertyName: \"selected\", publicName: \"selected\", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: \"disabled\", publicName: \"disabled\", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: \"layout\", publicName: \"layout\", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: [\"ui5MediaGalleryItem\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: MediaGalleryItem, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-media-gallery-item, [ui5-media-gallery-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5MediaGalleryItem',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL21lZGlhLWdhbGxlcnktaXRlbS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxVQUFVLEVBQ1YsS0FBSyxFQUdMLE1BQU0sRUFDTixxQkFBcUIsRUFDckIsTUFBTSxFQUNOLFFBQVEsRUFDUixnQkFBZ0IsRUFHakIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxtREFBbUQsQ0FBQzs7QUFjM0QsTUFBTSxPQUFPLGdCQUFnQjtJQVI3QjtRQVVFOztXQUVHO1FBQ0gsYUFBUSxHQUFHLEtBQUssQ0FBQyxLQUFLLDRDQUFJLFNBQVMsRUFBRSxnQkFBZ0IsT0FBN0IsRUFBRSxTQUFTLEVBQUUsZ0JBQWdCLEVBQUUsR0FBQyxDQUFDO1FBRXpEOztXQUVHO1FBQ0gsYUFBUSxHQUFHLEtBQUssQ0FBQyxLQUFLLDRDQUFJLFNBQVMsRUFBRSxnQkFBZ0IsT0FBN0IsRUFBRSxTQUFTLEVBQUUsZ0JBQWdCLEVBQUUsR0FBQyxDQUFDO1FBRXpEOztXQUVHO1FBQ0gsV0FBTSxHQUFHLEtBQUssQ0FBd0QsUUFBUSxrREFBQyxDQUFDLENBQUMsMEJBQTBCO1FBSzNHOzs7Ozs7Ozs7Ozs7Ozs7Ozs7O1dBbUJHO1FBQ00sVUFBSyxHQUFHO1lBQ2I7Z0JBQ0ksT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yBjYW1lbENhc2Ugc2lnbmFsIHByb3BlcnR5IG9uIHRoZSBBbmd1bGFyIGNvbXBvbmVudFxuICAgICAgY29uc3Qgc2lnbmFsTmFtZSA9IGlucHV0TmFtZS5yZXBsYWNlKC8tLi9nLCAoeDogc3RyaW5nKSA9PiB4WzFdLnRvVXBwZXJDYXNlKCkpO1xuXG4gICAgICAvLyBVc2UgdGhlIEluamVjdG9yIHRvIHJ1biB0aGUgZWZmZWN0IGluIHRoZSBjb3JyZWN0IGNvbnRleHRcbiAgICAgIGlmICh0aGlzW3NpZ25hbE5hbWVdICYmIHR5cGVvZiB0aGlzW3NpZ25hbE5hbWVdID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgIHJ1bkluSW5qZWN0aW9uQ29udGV4dCh0aGlzLmluamVjdG9yLCAoKSA9PiB7XG4gICAgICAgICAgZWZmZWN0KCgpID0+IHtcbiAgICAgICAgICAgIC8vIFJlYWQgdGhlIHNpZ25hbCB2YWx1ZVxuICAgICAgICAgICAgY29uc3QgdmFsdWUgPSB0aGlzW3NpZ25hbE5hbWVdKCk7XG4gICAgICAgICAgICBpZiAod2NFbGVtZW50KSB7XG4gICAgICAgICAgICAgIC8vIFdyaXRlIHRoZSB2YWx1ZSB0byB0aGUgV2ViIENvbXBvbmVudCdzIHByb3BlcnR5XG4gICAgICAgICAgICAgIHdjRWxlbWVudFtpbnB1dE5hbWVdID0gdmFsdWU7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pO1xuICAgICAgfVxuICAgIH1cbiAgXG4gICAgXG4gICAgXG5cbiAgfVxufVxuXG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLW1lZGlhLWdhbGxlcnktaXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLC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AAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC;AAC1H,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,kDAAkD;AAChF,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,qBAAqB;AACnD,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC3Fb;AACA;AACA;;;;"}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, booleanAttribute, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import '@ui5/webcomponents-fiori/dist/MediaGallery.js';
|
|
4
|
-
|
|
5
|
-
class MediaGallery {
|
|
6
|
-
constructor() {
|
|
7
|
-
/**
|
|
8
|
-
* If set to `true`, all thumbnails are rendered in a scrollable container.
|
|
9
|
-
If `false`, only up to five thumbnails are rendered, followed by
|
|
10
|
-
an overflow button that shows the count of the remaining thumbnails.
|
|
11
|
-
*/
|
|
12
|
-
this.showAllThumbnails = input(false, ...(ngDevMode ? [{ debugName: "showAllThumbnails", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
13
|
-
/**
|
|
14
|
-
* If enabled, a `display-area-click` event is fired
|
|
15
|
-
when the user clicks or taps on the display area.
|
|
16
|
-
|
|
17
|
-
The display area is the central area that contains
|
|
18
|
-
the enlarged content of the currently selected item.
|
|
19
|
-
*/
|
|
20
|
-
this.interactiveDisplayArea = input(false, ...(ngDevMode ? [{ debugName: "interactiveDisplayArea", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
21
|
-
/**
|
|
22
|
-
* Determines the layout of the component.
|
|
23
|
-
*/
|
|
24
|
-
this.layout = input("Auto", ...(ngDevMode ? [{ debugName: "layout" }] : []));
|
|
25
|
-
/**
|
|
26
|
-
* Determines the horizontal alignment of the thumbnails menu
|
|
27
|
-
vs. the central display area.
|
|
28
|
-
*/
|
|
29
|
-
this.menuHorizontalAlign = input("Left", ...(ngDevMode ? [{ debugName: "menuHorizontalAlign" }] : []));
|
|
30
|
-
/**
|
|
31
|
-
* Determines the vertical alignment of the thumbnails menu
|
|
32
|
-
vs. the central display area.
|
|
33
|
-
*/
|
|
34
|
-
this.menuVerticalAlign = input("Bottom", ...(ngDevMode ? [{ debugName: "menuVerticalAlign" }] : [])); // className is now passed
|
|
35
|
-
/**
|
|
36
|
-
* Fired when selection is changed by user interaction.
|
|
37
|
-
*/
|
|
38
|
-
this.ui5SelectionChange = output();
|
|
39
|
-
/**
|
|
40
|
-
* Fired when the thumbnails overflow button is clicked.
|
|
41
|
-
*/
|
|
42
|
-
this.ui5OverflowClick = output();
|
|
43
|
-
/**
|
|
44
|
-
* Fired when the display area is clicked.
|
|
45
|
-
The display area is the central area that contains
|
|
46
|
-
the enlarged content of the currently selected item.
|
|
47
|
-
*/
|
|
48
|
-
this.ui5DisplayAreaClick = output();
|
|
49
|
-
/**
|
|
50
|
-
* Available slots for content projection in this component.
|
|
51
|
-
*
|
|
52
|
-
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
53
|
-
* Use the `slot` attribute on child elements to target specific slots.
|
|
54
|
-
*
|
|
55
|
-
* - **(default)**: Defines the component items.
|
|
56
|
-
|
|
57
|
-
**Note:** Only one selected item is allowed.
|
|
58
|
-
|
|
59
|
-
**Note:** Use the `ui5-media-gallery-item` component to define the desired items.
|
|
60
|
-
*
|
|
61
|
-
* @example
|
|
62
|
-
* ```html
|
|
63
|
-
* <ui5-media-gallery>
|
|
64
|
-
* <div slot="header">Custom header content</div>
|
|
65
|
-
* <p>Default slot content</p>
|
|
66
|
-
* </ui5-media-gallery>
|
|
67
|
-
* ```
|
|
68
|
-
*
|
|
69
|
-
* @readonly
|
|
70
|
-
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
71
|
-
*/
|
|
72
|
-
this.slots = [
|
|
73
|
-
{
|
|
74
|
-
"name": "default",
|
|
75
|
-
"description": "Defines the component items.\n\n**Note:** Only one selected item is allowed.\n\n**Note:** Use the `ui5-media-gallery-item` component to define the desired items."
|
|
76
|
-
}
|
|
77
|
-
];
|
|
78
|
-
this.elementRef = inject(ElementRef);
|
|
79
|
-
this.injector = inject(Injector);
|
|
80
|
-
}
|
|
81
|
-
get element() {
|
|
82
|
-
return this.elementRef.nativeElement;
|
|
83
|
-
}
|
|
84
|
-
ngAfterViewInit() {
|
|
85
|
-
const wcElement = this.element;
|
|
86
|
-
const inputsToSync = [
|
|
87
|
-
'showAllThumbnails',
|
|
88
|
-
'interactiveDisplayArea',
|
|
89
|
-
'layout',
|
|
90
|
-
'menuHorizontalAlign',
|
|
91
|
-
'menuVerticalAlign',
|
|
92
|
-
];
|
|
93
|
-
// Synchronize inputs (properties)
|
|
94
|
-
for (const inputName of inputsToSync) {
|
|
95
|
-
// Find the corresponding camelCase signal property on the Angular component
|
|
96
|
-
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
97
|
-
// Use the Injector to run the effect in the correct context
|
|
98
|
-
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
99
|
-
runInInjectionContext(this.injector, () => {
|
|
100
|
-
effect(() => {
|
|
101
|
-
// Read the signal value
|
|
102
|
-
const value = this[signalName]();
|
|
103
|
-
if (wcElement) {
|
|
104
|
-
// Write the value to the Web Component's property
|
|
105
|
-
wcElement[inputName] = value;
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
const outputsToSync = [
|
|
112
|
-
'ui5SelectionChange',
|
|
113
|
-
'ui5OverflowClick',
|
|
114
|
-
'ui5DisplayAreaClick',
|
|
115
|
-
];
|
|
116
|
-
// Synchronize outputs (events)
|
|
117
|
-
for (const outputName of outputsToSync) {
|
|
118
|
-
// Map Angular output name to UI5 web component event name
|
|
119
|
-
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
120
|
-
// Ensure the output property exists and has an emit function before adding listener
|
|
121
|
-
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
122
|
-
// Cast the listener to the correct type to satisfy TypeScript
|
|
123
|
-
wcElement.addEventListener(eventName, (e) => {
|
|
124
|
-
this[outputName].emit(e);
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: MediaGallery, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
130
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: MediaGallery, isStandalone: true, selector: "ui5-media-gallery, [ui5-media-gallery]", inputs: { showAllThumbnails: { classPropertyName: "showAllThumbnails", publicName: "showAllThumbnails", isSignal: true, isRequired: false, transformFunction: null }, interactiveDisplayArea: { classPropertyName: "interactiveDisplayArea", publicName: "interactiveDisplayArea", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, menuHorizontalAlign: { classPropertyName: "menuHorizontalAlign", publicName: "menuHorizontalAlign", isSignal: true, isRequired: false, transformFunction: null }, menuVerticalAlign: { classPropertyName: "menuVerticalAlign", publicName: "menuVerticalAlign", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5SelectionChange: "ui5SelectionChange", ui5OverflowClick: "ui5OverflowClick", ui5DisplayAreaClick: "ui5DisplayAreaClick" }, exportAs: ["ui5MediaGallery"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
131
|
-
}
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: MediaGallery, decorators: [{
|
|
133
|
-
type: Component,
|
|
134
|
-
args: [{
|
|
135
|
-
standalone: true,
|
|
136
|
-
selector: 'ui5-media-gallery, [ui5-media-gallery]',
|
|
137
|
-
template: '<ng-content></ng-content>',
|
|
138
|
-
exportAs: 'ui5MediaGallery',
|
|
139
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
140
|
-
}]
|
|
141
|
-
}] });
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Generated bundle index. Do not edit.
|
|
145
|
-
*/
|
|
146
|
-
|
|
147
|
-
export { MediaGallery };
|
|
148
|
-
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs","sources":["../tmp-esm2022/media-gallery/index.js","../tmp-esm2022/media-gallery/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/MediaGallery.js';\nimport * as i0 from \"@angular/core\";\nexport class MediaGallery {\n constructor() {\n /**\n * If set to `true`, all thumbnails are rendered in a scrollable container.\n If `false`, only up to five thumbnails are rendered, followed by\n an overflow button that shows the count of the remaining thumbnails.\n */\n this.showAllThumbnails = input(false, ...(ngDevMode ? [{ debugName: \"showAllThumbnails\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * If enabled, a `display-area-click` event is fired\n when the user clicks or taps on the display area.\n \n The display area is the central area that contains\n the enlarged content of the currently selected item.\n */\n this.interactiveDisplayArea = input(false, ...(ngDevMode ? [{ debugName: \"interactiveDisplayArea\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Determines the layout of the component.\n */\n this.layout = input(\"Auto\", ...(ngDevMode ? [{ debugName: \"layout\" }] : []));\n /**\n * Determines the horizontal alignment of the thumbnails menu\n vs. the central display area.\n */\n this.menuHorizontalAlign = input(\"Left\", ...(ngDevMode ? [{ debugName: \"menuHorizontalAlign\" }] : []));\n /**\n * Determines the vertical alignment of the thumbnails menu\n vs. the central display area.\n */\n this.menuVerticalAlign = input(\"Bottom\", ...(ngDevMode ? [{ debugName: \"menuVerticalAlign\" }] : [])); // className is now passed\n /**\n * Fired when selection is changed by user interaction.\n */\n this.ui5SelectionChange = output();\n /**\n * Fired when the thumbnails overflow button is clicked.\n */\n this.ui5OverflowClick = output();\n /**\n * Fired when the display area is clicked.\n The display area is the central area that contains\n the enlarged content of the currently selected item.\n */\n this.ui5DisplayAreaClick = output();\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the component items.\n \n **Note:** Only one selected item is allowed.\n \n **Note:** Use the `ui5-media-gallery-item` component to define the desired items.\n *\n * @example\n * ```html\n * <ui5-media-gallery>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-media-gallery>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n this.slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the component items.\\n\\n**Note:** Only one selected item is allowed.\\n\\n**Note:** Use the `ui5-media-gallery-item` component to define the desired items.\"\n }\n ];\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'showAllThumbnails',\n 'interactiveDisplayArea',\n 'layout',\n 'menuHorizontalAlign',\n 'menuVerticalAlign',\n ];\n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n const outputsToSync = [\n 'ui5SelectionChange',\n 'ui5OverflowClick',\n 'ui5DisplayAreaClick',\n ];\n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n this[outputName].emit(e);\n });\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: MediaGallery, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: MediaGallery, isStandalone: true, selector: \"ui5-media-gallery, [ui5-media-gallery]\", inputs: { showAllThumbnails: { classPropertyName: \"showAllThumbnails\", publicName: \"showAllThumbnails\", isSignal: true, isRequired: false, transformFunction: null }, interactiveDisplayArea: { classPropertyName: \"interactiveDisplayArea\", publicName: \"interactiveDisplayArea\", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: \"layout\", publicName: \"layout\", isSignal: true, isRequired: false, transformFunction: null }, menuHorizontalAlign: { classPropertyName: \"menuHorizontalAlign\", publicName: \"menuHorizontalAlign\", isSignal: true, isRequired: false, transformFunction: null }, menuVerticalAlign: { classPropertyName: \"menuVerticalAlign\", publicName: \"menuVerticalAlign\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5SelectionChange: \"ui5SelectionChange\", ui5OverflowClick: \"ui5OverflowClick\", ui5DisplayAreaClick: \"ui5DisplayAreaClick\" }, exportAs: [\"ui5MediaGallery\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: MediaGallery, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-media-gallery, [ui5-media-gallery]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5MediaGallery',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL21lZGlhLWdhbGxlcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFDTCxNQUFNLEVBRU4sTUFBTSxFQUNOLHFCQUFxQixFQUNyQixNQUFNLEVBQ04sUUFBUSxFQUNSLGdCQUFnQixFQUdqQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLCtDQUErQyxDQUFDOztBQWdCdkQsTUFBTSxPQUFPLFlBQVk7SUFSekI7UUFVRTs7OztXQUlHO1FBQ0gsc0JBQWlCLEdBQUcsS0FBSyxDQUFDLEtBQUsscURBQUksU0FBUyxFQUFFLGdCQUFnQixPQUE3QixFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxHQUFDLENBQUM7U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2Z5IFR5cGVTY3JpcHRcbiAgICAgICAgd2NFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoZXZlbnROYW1lLCAoZSkgPT4ge1xuXG4gICAgICAgICAgdGhpc1tvdXRwdXROYW1lXS5lbWl0KGUgYXMgQ3VzdG9tRXZlbnQ8YW55Pik7XG4gICAgICAgIH0pO1xuICAgICAgfVxuICAgIH1cbiAgXG5cbiAgfVxufVxuXG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLW1lZGlhLWdhbGxlcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL21lZGlhLWdhbGxlcnkvZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLW1lZGlhLWdhbGxlcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;AAGO,MAAM,YAAY,CAAC;AAC1B,IAAI,WAAW,GAAG;AAClB;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,KAAK,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC,GAAG,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AACrK;A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