@eui/mobile-core 20.0.2 → 22.0.0-alpha.1
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/CHANGELOG.md +14 -0
- package/docs/architecture.html +223 -0
- package/docs/changelog.html +69 -4
- package/docs/components/EuiMUserProfileActionComponent.html +80 -130
- package/docs/components/EuiMUserProfileAvatarComponent.html +74 -129
- package/docs/components/EuiMUserProfileInfosComponent.html +117 -117
- package/docs/components/EuiMUserProfileInfosItemComponent.html +74 -129
- package/docs/components/EuimAboutComponent.html +108 -28
- package/docs/components/EuimAboutContentLoadingComponent.html +107 -33
- package/docs/components/EuimAlertMessageComponent.html +161 -90
- package/docs/components/EuimAppComponent.html +105 -27
- package/docs/components/EuimAvatarBadgeComponent.html +120 -72
- package/docs/components/EuimAvatarComponent.html +123 -121
- package/docs/components/EuimAvatarIconComponent.html +74 -129
- package/docs/components/EuimAvatarIconSubComponent.html +123 -121
- package/docs/components/EuimAvatarImageComponent.html +91 -121
- package/docs/components/EuimAvatarTextComponent.html +115 -117
- package/docs/components/EuimBadgeComponent.html +121 -43
- package/docs/components/EuimCardComponent.html +123 -71
- package/docs/components/EuimCardListComponent.html +118 -118
- package/docs/components/EuimChangelogComponent.html +131 -128
- package/docs/components/EuimChipSelectorComponent.html +257 -184
- package/docs/components/EuimDataSummaryColComponent.html +92 -25
- package/docs/components/EuimDataSummaryComponent.html +127 -44
- package/docs/components/EuimEmptyListPlaceholderComponent.html +176 -156
- package/docs/components/EuimHeaderDetailsComponent.html +130 -49
- package/docs/components/EuimHelpSupportComponent.html +159 -130
- package/docs/components/EuimHelperTextComponent.html +161 -66
- package/docs/components/EuimLabelComponent.html +134 -53
- package/docs/components/EuimLanguageListComponent.html +185 -31
- package/docs/components/EuimLanguageSelectorComponent.html +156 -54
- package/docs/components/EuimMediaHeaderComponent.html +137 -52
- package/docs/components/EuimMessageComponent.html +130 -47
- package/docs/components/EuimMessageTitleComponent.html +92 -25
- package/docs/components/EuimMultiselectComponent.html +160 -131
- package/docs/components/EuimMultiselectFilterComponent.html +103 -123
- package/docs/components/EuimMultiselectInfoComponent.html +91 -125
- package/docs/components/EuimMultiselectListComponent.html +85 -122
- package/docs/components/EuimMultiselectToolbarComponent.html +126 -134
- package/docs/components/EuimNotificationItemComponent.html +121 -43
- package/docs/components/EuimOpenSourceLicencesComponent.html +127 -137
- package/docs/components/EuimPdfViewerComponent.html +214 -141
- package/docs/components/EuimScrollerXComponent.html +78 -130
- package/docs/components/EuimSidebarComponent.html +125 -114
- package/docs/components/EuimSidebarContentComponent.html +151 -124
- package/docs/components/EuimSkeletonListComponent.html +127 -42
- package/docs/components/EuimSkeletonListItemComponent.html +159 -56
- package/docs/components/EuimSlideInfoScreenComponent.html +74 -129
- package/docs/components/EuimSliderInfoScreenComponent.html +247 -174
- package/docs/components/EuimSpinnerComponent.html +131 -119
- package/docs/components/EuimSpinnerDescriptionComponent.html +74 -129
- package/docs/components/EuimSpinnerMessageComponent.html +74 -129
- package/docs/components/EuimToolbarActionItemsComponent.html +74 -129
- package/docs/components/EuimToolbarComponent.html +150 -140
- package/docs/components/EuimToolbarDatepickerComponent.html +291 -114
- package/docs/components/EuimToolbarQrcodeComponent.html +100 -32
- package/docs/components/EuimToolbarTitleComponent.html +121 -43
- package/docs/components/EuimUserProfileComponent.html +117 -117
- package/docs/dependencies.html +56 -4
- package/docs/directives/BaseStatesDirective.html +175 -62
- package/docs/directives/EuimAlignCenterDirective.html +92 -23
- package/docs/directives/EuimAlignTopDirective.html +92 -23
- package/docs/directives/EuimAvatarMainIconDirective.html +73 -23
- package/docs/directives/EuimAvatarSubIconDirective.html +73 -23
- package/docs/directives/EuimCardImageDirective.html +86 -118
- package/docs/directives/EuimChipSelectorItemDirective.html +104 -108
- package/docs/directives/EuimDataSummaryColLabelDirective.html +121 -41
- package/docs/directives/EuimDataSummaryColValueDirective.html +117 -41
- package/docs/directives/EuimDividerDirective.html +118 -42
- package/docs/directives/EuimEmptyListPlaceholderIconDirective.html +92 -23
- package/docs/directives/EuimEmptyListPlaceholderSubtitleDirective.html +92 -23
- package/docs/directives/EuimEmptyListPlaceholderTitleDirective.html +92 -23
- package/docs/directives/EuimFooterTransparentDirective.html +92 -23
- package/docs/directives/EuimHeaderDetailsIconDirective.html +66 -126
- package/docs/directives/EuimHeaderDetailsMetaDirective.html +66 -126
- package/docs/directives/EuimHeaderDetailsTitleDirective.html +66 -126
- package/docs/directives/EuimListHeaderDirective.html +118 -42
- package/docs/directives/EuimListItemNoPaddingsDirective.html +92 -23
- package/docs/directives/EuimMediaHeaderCustomContentDirective.html +95 -23
- package/docs/directives/EuimMediaHeaderImageDirective.html +92 -23
- package/docs/directives/EuimMediaHeaderSubTitleDirective.html +92 -23
- package/docs/directives/EuimMediaHeaderTitleDirective.html +66 -126
- package/docs/directives/EuimMinWidthDirective.html +105 -29
- package/docs/directives/EuimMultiselectAllDirective.html +138 -101
- package/docs/directives/EuimMultiselectSelectFieldDirective.html +102 -127
- package/docs/directives/EuimReadOnlyFormDirective.html +66 -126
- package/docs/directives/EuimReadOnlyFormLabelDirective.html +92 -23
- package/docs/directives/EuimReadOnlyFormValueDirective.html +66 -126
- package/docs/directives/EuimSidebarFooterNoBordersDirective.html +92 -23
- package/docs/directives/EuimSkeletonTextAvatarDirective.html +92 -23
- package/docs/directives/EuimSliderInfoScreenContentDirective.html +112 -114
- package/docs/directives/EuimSliderInfoScreenSubTitleDirective.html +66 -126
- package/docs/directives/EuimSliderInfoScreenTitleDirective.html +66 -126
- package/docs/directives/EuimToolbarDatepickerDatetimeDirective.html +122 -43
- package/docs/directives/EuimToolbarTransparentDirective.html +140 -54
- package/docs/index.html +54 -2
- package/docs/injectables/EuimAppService.html +102 -38
- package/docs/interfaces/ActionBtnsIconsNames.html +169 -123
- package/docs/interfaces/ActionBtnsNames.html +169 -123
- package/docs/interfaces/FilteredData.html +138 -92
- package/docs/interfaces/HelpAndSupportItem.html +145 -99
- package/docs/interfaces/Item.html +504 -458
- package/docs/interfaces/MenuItem.html +408 -362
- package/docs/interfaces/UIState.html +109 -63
- package/docs/js/architecture-graph.js +288 -0
- package/docs/js/libs/bootstrap-native.js +4 -2
- package/docs/js/libs/jszip.min.js +13 -0
- package/docs/js/libs/svg-pan-zoom.min.js +3 -3
- package/docs/js/libs/tablesort.min.js +3 -3
- package/docs/js/libs/tablesort.number.min.js +3 -3
- package/docs/js/libs/vis-network.min.js +78 -0
- package/docs/js/menu-wc.js +25 -13
- package/docs/js/routes/routes_index.js +1 -0
- package/docs/js/routes.js +142 -34
- package/docs/js/search/search.js +62 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/js/tabs.js +98 -15
- package/docs/js/tree.js +44 -7
- package/docs/json/EuimAlertMessageComponent.md +1 -1
- package/docs/json/EuimAvatarImageComponent.md +1 -1
- package/docs/json/EuimCardListComponent.md +1 -1
- package/docs/json/EuimChangelogComponent.md +1 -1
- package/docs/json/EuimChipSelectorComponent.md +4 -4
- package/docs/json/EuimHeaderDetailsComponent.md +1 -1
- package/docs/json/EuimHelperTextComponent.md +1 -0
- package/docs/json/EuimMultiselectComponent.md +1 -1
- package/docs/json/EuimMultiselectToolbarComponent.md +2 -2
- package/docs/json/EuimOpenSourceLicencesComponent.md +2 -2
- package/docs/json/EuimPdfViewerComponent.md +0 -1
- package/docs/json/EuimSidebarContentComponent.md +3 -4
- package/docs/json/EuimSliderInfoScreenComponent.md +3 -3
- package/docs/json/EuimToolbarComponent.md +1 -1
- package/docs/json/EuimToolbarDatepickerComponent.md +5 -4
- package/docs/json/EuimToolbarQrcodeComponent.md +1 -1
- package/docs/json/HbsRenderService.md +6 -0
- package/docs/json/TemplateEditorService.md +6 -0
- package/docs/json/TemplatePlaygroundComponent.md +8 -0
- package/docs/json/ZipExportService.md +6 -0
- package/docs/json/documentation.json +6868 -3891
- package/docs/license.html +46 -4
- package/docs/llms.txt +1527 -0
- package/docs/miscellaneous/typealiases.html +53 -8
- package/docs/miscellaneous/variables.html +320 -36
- package/docs/modules/EuimAboutModule.html +87 -10
- package/docs/modules/EuimAlertMessageModule.html +75 -10
- package/docs/modules/EuimAllModule.html +190 -9
- package/docs/modules/EuimAppModule.html +75 -10
- package/docs/modules/EuimAvatarModule.html +99 -10
- package/docs/modules/EuimBadgeModule.html +75 -10
- package/docs/modules/EuimCardListModule.html +75 -10
- package/docs/modules/EuimCardModule.html +78 -10
- package/docs/modules/EuimChipSelectorComponentModule.html +74 -10
- package/docs/modules/EuimDataSummaryModule.html +84 -10
- package/docs/modules/EuimDividerModule.html +75 -10
- package/docs/modules/EuimEmptyListPlaceholderModule.html +90 -10
- package/docs/modules/EuimHeaderDetailsModule.html +84 -10
- package/docs/modules/EuimLabelModule.html +87 -10
- package/docs/modules/EuimLanguageSelectorModule.html +81 -10
- package/docs/modules/EuimListHeaderModule.html +75 -10
- package/docs/modules/EuimMediaHeaderModule.html +87 -10
- package/docs/modules/EuimMessageModule.html +78 -10
- package/docs/modules/EuimMultiselectModule.html +93 -10
- package/docs/modules/EuimNotificationItemModule.html +75 -10
- package/docs/modules/EuimPdfViewerModule.html +75 -10
- package/docs/modules/EuimScrollerXComponentModule.html +75 -10
- package/docs/modules/EuimSidebarModule.html +78 -10
- package/docs/modules/EuimSkeletonListItemModule.html +75 -10
- package/docs/modules/EuimSkeletonListModule.html +75 -10
- package/docs/modules/EuimSkeletonTextAvatarModule.html +75 -10
- package/docs/modules/EuimSliderInfoScreenModule.html +87 -10
- package/docs/modules/EuimSpinnerComponentModule.html +81 -10
- package/docs/modules/EuimToolbarComponentModule.html +81 -10
- package/docs/modules/EuimToolbarDatepickerModule.html +75 -10
- package/docs/modules/EuimToolbarQrcodeModule.html +75 -10
- package/docs/modules/EuimUserProfileModule.html +87 -10
- package/docs/modules.html +44 -2
- package/docs/properties.html +45 -3
- package/docs/routes.html +228 -0
- package/docs/styles/compodoc.css +365 -44
- package/docs/styles/dark.css +16 -0
- package/docs/template-playground/default-templates.json +192 -0
- package/docs/template-playground/hbs-render.service.ts +217 -0
- package/docs/template-playground/main.ts +9 -0
- package/docs/template-playground/template-editor.service.ts +173 -0
- package/docs/template-playground/template-playground.component.ts +614 -0
- package/docs/template-playground/template-playground.module.ts +29 -0
- package/docs/template-playground/zip-export.service.ts +86 -0
- package/docs/template-playground-app/app.js +1389 -0
- package/docs/template-playground-app/index.html +462 -0
- package/fesm2022/eui-mobile-core.mjs +870 -1214
- package/fesm2022/eui-mobile-core.mjs.map +1 -1
- package/package.json +12 -11
- package/{index.d.ts → types/eui-mobile-core.d.ts} +143 -215
- package/types/eui-mobile-core.d.ts.map +1 -0
- package/docs/js/libs/vis.min.js +0 -47
- package/docs/js/menu-wc_es5.js +0 -40
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare const JSZip: any;
|
|
4
|
+
|
|
5
|
+
@Injectable({
|
|
6
|
+
providedIn: 'root'
|
|
7
|
+
})
|
|
8
|
+
export class ZipExportService {
|
|
9
|
+
|
|
10
|
+
exportTemplates(files: any[]) {
|
|
11
|
+
const zip = new JSZip();
|
|
12
|
+
|
|
13
|
+
// Add all template files to the ZIP
|
|
14
|
+
files.forEach(file => {
|
|
15
|
+
zip.file(file.path, file.content);
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
// Add a README with instructions
|
|
19
|
+
const readme = this.generateReadme();
|
|
20
|
+
zip.file('README.md', readme);
|
|
21
|
+
|
|
22
|
+
// Generate and download the ZIP file
|
|
23
|
+
zip.generateAsync({ type: 'blob' })
|
|
24
|
+
.then((content: Blob) => {
|
|
25
|
+
this.downloadBlob(content, 'compodoc-templates.zip');
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
private generateReadme(): string {
|
|
30
|
+
return `# Compodoc Custom Templates
|
|
31
|
+
|
|
32
|
+
This ZIP file contains customized templates for Compodoc documentation generation.
|
|
33
|
+
|
|
34
|
+
## Contents
|
|
35
|
+
|
|
36
|
+
- **Templates** (\`.hbs\` files): Handlebars templates for generating documentation pages
|
|
37
|
+
- **Styles** (\`.css\` files): Stylesheets for customizing the appearance
|
|
38
|
+
- **Scripts** (\`.js\` files): JavaScript files for additional functionality
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
|
|
42
|
+
1. Extract this ZIP file to a directory on your system
|
|
43
|
+
2. Use the \`--templates\` flag when running Compodoc to specify the path to your custom templates:
|
|
44
|
+
|
|
45
|
+
\`\`\`bash
|
|
46
|
+
compodoc -p tsconfig.json --templates ./path/to/custom/templates/
|
|
47
|
+
\`\`\`
|
|
48
|
+
|
|
49
|
+
## Template Structure
|
|
50
|
+
|
|
51
|
+
- \`page.hbs\` - Main page template
|
|
52
|
+
- \`partials/\` - Directory containing partial templates
|
|
53
|
+
- \`styles/\` - Directory containing CSS files
|
|
54
|
+
- \`js/\` - Directory containing JavaScript files
|
|
55
|
+
|
|
56
|
+
## Customization Tips
|
|
57
|
+
|
|
58
|
+
1. **Templates**: Use Handlebars syntax to customize the HTML structure
|
|
59
|
+
2. **Styles**: Modify CSS to change colors, fonts, layout, etc.
|
|
60
|
+
3. **Scripts**: Add custom JavaScript functionality
|
|
61
|
+
|
|
62
|
+
## Backup
|
|
63
|
+
|
|
64
|
+
Always keep a backup of your original templates before making changes.
|
|
65
|
+
|
|
66
|
+
## Documentation
|
|
67
|
+
|
|
68
|
+
For more information about customizing Compodoc templates, visit:
|
|
69
|
+
https://compodoc.app/guides/template-customization.html
|
|
70
|
+
|
|
71
|
+
Generated by Compodoc Template Playground
|
|
72
|
+
`;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
private downloadBlob(blob: Blob, filename: string) {
|
|
76
|
+
const url = window.URL.createObjectURL(blob);
|
|
77
|
+
const a = document.createElement('a');
|
|
78
|
+
a.href = url;
|
|
79
|
+
a.download = filename;
|
|
80
|
+
a.style.display = 'none';
|
|
81
|
+
document.body.appendChild(a);
|
|
82
|
+
a.click();
|
|
83
|
+
document.body.removeChild(a);
|
|
84
|
+
window.URL.revokeObjectURL(url);
|
|
85
|
+
}
|
|
86
|
+
}
|