@lucca-front/ng 22.0.5 → 22.0.6-rc.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/README.md +6 -0
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs +5 -4
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +22 -15
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +2 -3
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/llms/SKILL.md +248 -0
- package/llms/references/components/activity-feed/activity-feed.component.md +292 -0
- package/llms/references/components/activity-feed/activity-feed.md +90 -0
- package/llms/references/components/animations/animations.component.md +11 -0
- package/llms/references/components/animations/animations.md +7 -0
- package/llms/references/components/api-select/api-select.md +40 -0
- package/llms/references/components/app-layout/app-layout.component.md +65 -0
- package/llms/references/components/app-layout/app-layout.md +81 -0
- package/llms/references/components/approbation-inbox/approbation-inbox.component.md +960 -0
- package/llms/references/components/approbation-inbox/approbation-inbox.md +135 -0
- package/llms/references/components/avatar/avatar.component.md +563 -0
- package/llms/references/components/avatar/avatar.md +93 -0
- package/llms/references/components/box/box.component.md +119 -0
- package/llms/references/components/box/box.md +88 -0
- package/llms/references/components/breadcrumbs/breadcrumbs.component.md +59 -0
- package/llms/references/components/breadcrumbs/breadcrumbs.md +87 -0
- package/llms/references/components/bubble-icon/bubble-icon.component.md +56 -0
- package/llms/references/components/bubble-icon/bubble-icon.md +72 -0
- package/llms/references/components/bubble-illustration/bubble-illustration.component.md +54 -0
- package/llms/references/components/bubble-illustration/bubble-illustration.md +77 -0
- package/llms/references/components/button/button.component.md +252 -0
- package/llms/references/components/button/button.md +124 -0
- package/llms/references/components/calendar/calendar.component.md +708 -0
- package/llms/references/components/calendar/calendar.md +104 -0
- package/llms/references/components/calendar2/calendar2.md +64 -0
- package/llms/references/components/callout/callout.component.md +237 -0
- package/llms/references/components/callout/callout.md +243 -0
- package/llms/references/components/callout-disclosure/callout-disclosure.component.md +230 -0
- package/llms/references/components/callout-disclosure/callout-disclosure.md +196 -0
- package/llms/references/components/callout-popover/callout-popover.component.md +170 -0
- package/llms/references/components/callout-popover/callout-popover.md +201 -0
- package/llms/references/components/card/card.component.md +62 -0
- package/llms/references/components/card/card.md +8 -0
- package/llms/references/components/checkbox/checkbox.component.md +50 -0
- package/llms/references/components/checkbox/checkbox.md +74 -0
- package/llms/references/components/chip/chip.component.md +131 -0
- package/llms/references/components/chip/chip.md +95 -0
- package/llms/references/components/clear/clear.component.md +38 -0
- package/llms/references/components/clear/clear.md +79 -0
- package/llms/references/components/code/code.component.md +33 -0
- package/llms/references/components/code/code.md +47 -0
- package/llms/references/components/color/color.md +32 -0
- package/llms/references/components/color-input/color-input.md +33 -0
- package/llms/references/components/color-picker/color-picker.component.md +29 -0
- package/llms/references/components/color-picker/color-picker.md +25 -0
- package/llms/references/components/comment/comment.component.md +436 -0
- package/llms/references/components/comment/comment.md +125 -0
- package/llms/references/components/container/container.component.md +41 -0
- package/llms/references/components/container/container.md +74 -0
- package/llms/references/components/core-select-department/core-select-department.md +37 -0
- package/llms/references/components/core-select-establishment/core-select-establishment.md +40 -0
- package/llms/references/components/core-select-job-qualification/core-select-job-qualification.md +25 -0
- package/llms/references/components/core-select-occupation-category/core-select-occupation-category.md +25 -0
- package/llms/references/components/core-select-user/core-select-user.md +75 -0
- package/llms/references/components/data-presentation/data-presentation.component.md +47 -0
- package/llms/references/components/data-presentation/data-presentation.md +49 -0
- package/llms/references/components/data-table/data-table.component.md +1603 -0
- package/llms/references/components/data-table/data-table.md +290 -0
- package/llms/references/components/date/date.component.md +31 -0
- package/llms/references/components/date/date.md +140 -0
- package/llms/references/components/dateinput/dateinput.component.md +99 -0
- package/llms/references/components/dateinput/dateinput.md +198 -0
- package/llms/references/components/daterangeinput/daterangeinput.component.md +49 -0
- package/llms/references/components/daterangeinput/daterangeinput.md +186 -0
- package/llms/references/components/departmentselect/departmentselect.component.md +43 -0
- package/llms/references/components/departmentselect/departmentselect.md +43 -0
- package/llms/references/components/dialog/dialog.component.md +462 -0
- package/llms/references/components/dialog/dialog.md +335 -0
- package/llms/references/components/divider/divider.component.md +35 -0
- package/llms/references/components/divider/divider.md +88 -0
- package/llms/references/components/dropdown/dropdown.component.md +272 -0
- package/llms/references/components/dropdown/dropdown.md +172 -0
- package/llms/references/components/duration-picker/duration-picker.md +155 -0
- package/llms/references/components/empty-state/empty-state.component.md +226 -0
- package/llms/references/components/empty-state/empty-state.md +62 -0
- package/llms/references/components/errorpage/errorpage.component.md +57 -0
- package/llms/references/components/errorpage/errorpage.md +75 -0
- package/llms/references/components/establishmentselect/establishmentselect.component.md +30 -0
- package/llms/references/components/establishmentselect/establishmentselect.md +42 -0
- package/llms/references/components/fancy-dialog/fancy-dialog.component.md +9 -0
- package/llms/references/components/fancy-dialog/fancy-dialog.md +107 -0
- package/llms/references/components/fancybox/fancybox.component.md +48 -0
- package/llms/references/components/fancybox/fancybox.md +75 -0
- package/llms/references/components/fieldset/fieldset.component.md +86 -0
- package/llms/references/components/fieldset/fieldset.md +119 -0
- package/llms/references/components/filedropzone/filedropzone.component.md +16 -0
- package/llms/references/components/filedropzone/filedropzone.md +61 -0
- package/llms/references/components/fileentry/fileentry.component.md +58 -0
- package/llms/references/components/fileentry/fileentry.md +246 -0
- package/llms/references/components/fileupload/fileupload.component.md +91 -0
- package/llms/references/components/fileupload/fileupload.md +246 -0
- package/llms/references/components/filterbar/filterbar.component.md +302 -0
- package/llms/references/components/filterbar/filterbar.md +134 -0
- package/llms/references/components/filterpills/filterpills.component.md +60 -0
- package/llms/references/components/filterpills/filterpills.md +180 -0
- package/llms/references/components/footer/footer.component.md +66 -0
- package/llms/references/components/footer/footer.md +115 -0
- package/llms/references/components/form/form.md +37 -0
- package/llms/references/components/form-field/form-field.component.md +46 -0
- package/llms/references/components/form-field/form-field.md +231 -0
- package/llms/references/components/form-header/form-header.md +29 -0
- package/llms/references/components/form-label/form-label.component.md +106 -0
- package/llms/references/components/form-label/form-label.md +98 -0
- package/llms/references/components/gauge/gauge.component.md +55 -0
- package/llms/references/components/gauge/gauge.md +73 -0
- package/llms/references/components/grid/grid.component.md +15 -0
- package/llms/references/components/grid/grid.md +112 -0
- package/llms/references/components/highlight-data/highlight-data.component.md +279 -0
- package/llms/references/components/highlight-data/highlight-data.md +115 -0
- package/llms/references/components/highlight-section/highlight-section.component.md +185 -0
- package/llms/references/components/highlight-section/highlight-section.md +48 -0
- package/llms/references/components/highlight-text/highlight-text.component.md +49 -0
- package/llms/references/components/highlight-text/highlight-text.md +29 -0
- package/llms/references/components/horizontalnavigation/horizontalnavigation.component.md +232 -0
- package/llms/references/components/horizontalnavigation/horizontalnavigation.md +95 -0
- package/llms/references/components/icons/icons.component.md +59 -0
- package/llms/references/components/icons/icons.md +185 -0
- package/llms/references/components/impersonation/impersonation.component.md +52 -0
- package/llms/references/components/impersonation/impersonation.md +52 -0
- package/llms/references/components/index-table/index-table.component.md +2528 -0
- package/llms/references/components/index-table/index-table.md +243 -0
- package/llms/references/components/inlinemessage/inlinemessage.component.md +58 -0
- package/llms/references/components/inlinemessage/inlinemessage.md +57 -0
- package/llms/references/components/input-framed/input-framed.component.md +714 -0
- package/llms/references/components/input-framed/input-framed.md +50 -0
- package/llms/references/components/link/link.component.md +153 -0
- package/llms/references/components/link/link.md +124 -0
- package/llms/references/components/listbox/listbox.component.md +11 -0
- package/llms/references/components/listbox/listbox.md +101 -0
- package/llms/references/components/listing/listing.component.md +366 -0
- package/llms/references/components/listing/listing.md +105 -0
- package/llms/references/components/loading/loading.component.md +37 -0
- package/llms/references/components/loading/loading.md +91 -0
- package/llms/references/components/main-layout/main-layout.component.md +146 -0
- package/llms/references/components/main-layout/main-layout.md +78 -0
- package/llms/references/components/mobile-push/mobile-push.component.md +62 -0
- package/llms/references/components/mobile-push/mobile-push.md +70 -0
- package/llms/references/components/mobileheader/mobileheader.component.md +31 -0
- package/llms/references/components/mobileheader/mobileheader.md +8 -0
- package/llms/references/components/mobilenavigation/mobilenavigation.component.md +43 -0
- package/llms/references/components/mobilenavigation/mobilenavigation.md +8 -0
- package/llms/references/components/modal/modal.component.md +37 -0
- package/llms/references/components/modal/modal.md +61 -0
- package/llms/references/components/multi-select/multi-select.component.md +39 -0
- package/llms/references/components/multi-select/multi-select.md +426 -0
- package/llms/references/components/multilanguagefield/multilanguagefield.component.md +84 -0
- package/llms/references/components/multilanguagefield/multilanguagefield.md +362 -0
- package/llms/references/components/newbadge/newbadge.component.md +23 -0
- package/llms/references/components/newbadge/newbadge.md +38 -0
- package/llms/references/components/number-format-input/number-format-input.md +46 -0
- package/llms/references/components/number-input/number-input.md +49 -0
- package/llms/references/components/numbers/numbers.component.md +46 -0
- package/llms/references/components/numbers/numbers.md +7 -0
- package/llms/references/components/numericbadge/numericbadge.component.md +66 -0
- package/llms/references/components/numericbadge/numericbadge.md +84 -0
- package/llms/references/components/onboarding-empty-state/onboarding-empty-state.md +47 -0
- package/llms/references/components/pageheader/pageheader.component.md +389 -0
- package/llms/references/components/pageheader/pageheader.md +144 -0
- package/llms/references/components/pagination/pagination.component.md +96 -0
- package/llms/references/components/pagination/pagination.md +107 -0
- package/llms/references/components/phonenumberfield/phonenumberfield.component.md +35 -0
- package/llms/references/components/phonenumberfield/phonenumberfield.md +131 -0
- package/llms/references/components/plg-push/plg-push.component.md +91 -0
- package/llms/references/components/plg-push/plg-push.md +82 -0
- package/llms/references/components/popover/popover.component.md +130 -0
- package/llms/references/components/popover/popover.md +235 -0
- package/llms/references/components/popover2/popover2.component.md +103 -0
- package/llms/references/components/popover2/popover2.md +89 -0
- package/llms/references/components/progress-bar/progress-bar.component.md +33 -0
- package/llms/references/components/progress-bar/progress-bar.md +51 -0
- package/llms/references/components/progress-stepper/progress-stepper.component.md +281 -0
- package/llms/references/components/progress-stepper/progress-stepper.md +70 -0
- package/llms/references/components/radiofield/radiofield.component.md +295 -0
- package/llms/references/components/radiofield/radiofield.md +122 -0
- package/llms/references/components/readmore/readmore.component.md +60 -0
- package/llms/references/components/readmore/readmore.md +88 -0
- package/llms/references/components/resource-card/resource-card.component.md +216 -0
- package/llms/references/components/resource-card/resource-card.md +106 -0
- package/llms/references/components/richtextinput/richtextinput.component.md +298 -0
- package/llms/references/components/richtextinput/richtextinput.md +275 -0
- package/llms/references/components/scroll/scroll.md +45 -0
- package/llms/references/components/scrollbox/scrollbox.component.md +63 -0
- package/llms/references/components/scrollbox/scrollbox.md +49 -0
- package/llms/references/components/section-empty-state/section-empty-state.component.md +9 -0
- package/llms/references/components/section-empty-state/section-empty-state.md +41 -0
- package/llms/references/components/segmented-control-tabs/segmented-control-tabs.md +50 -0
- package/llms/references/components/segmentedcontrol/segmentedcontrol.component.md +198 -0
- package/llms/references/components/segmentedcontrol/segmentedcontrol.md +108 -0
- package/llms/references/components/select/select.component.md +237 -0
- package/llms/references/components/select/select.md +57 -0
- package/llms/references/components/select-templating/select-templating.md +117 -0
- package/llms/references/components/sidepanel/sidepanel.component.md +56 -0
- package/llms/references/components/sidepanel/sidepanel.md +7 -0
- package/llms/references/components/simple-select/simple-select.component.md +39 -0
- package/llms/references/components/simple-select/simple-select.md +291 -0
- package/llms/references/components/skeleton/skeleton.component.md +133 -0
- package/llms/references/components/skeleton/skeleton.md +212 -0
- package/llms/references/components/skiplinks/skiplinks.component.md +91 -0
- package/llms/references/components/skiplinks/skiplinks.md +73 -0
- package/llms/references/components/software-icon/software-icon.component.md +61 -0
- package/llms/references/components/software-icon/software-icon.md +107 -0
- package/llms/references/components/sortable-list/sortable-list.component.md +141 -0
- package/llms/references/components/sortable-list/sortable-list.md +84 -0
- package/llms/references/components/statusbadge/statusbadge.component.md +56 -0
- package/llms/references/components/statusbadge/statusbadge.md +63 -0
- package/llms/references/components/switchfield/switchfield.component.md +114 -0
- package/llms/references/components/switchfield/switchfield.md +56 -0
- package/llms/references/components/tableofcontent/tableofcontent.component.md +55 -0
- package/llms/references/components/tableofcontent/tableofcontent.md +41 -0
- package/llms/references/components/tags/tags.component.md +112 -0
- package/llms/references/components/tags/tags.md +115 -0
- package/llms/references/components/text-flow/text-flow.component.md +71 -0
- package/llms/references/components/text-flow/text-flow.md +63 -0
- package/llms/references/components/textareafield/textareafield.component.md +69 -0
- package/llms/references/components/textareafield/textareafield.md +113 -0
- package/llms/references/components/textfield/textfield.component.md +617 -0
- package/llms/references/components/textfield/textfield.md +161 -0
- package/llms/references/components/tile/tile.component.md +91 -0
- package/llms/references/components/tile/tile.md +92 -0
- package/llms/references/components/time/time.component.md +270 -0
- package/llms/references/components/time/time.md +127 -0
- package/llms/references/components/time-picker/time-picker.md +63 -0
- package/llms/references/components/timelines/timelines.component.md +159 -0
- package/llms/references/components/timelines/timelines.md +8 -0
- package/llms/references/components/title-and-text/title-and-text.component.md +14 -0
- package/llms/references/components/title-and-text/title-and-text.md +60 -0
- package/llms/references/components/toasts/toasts.component.md +54 -0
- package/llms/references/components/toasts/toasts.md +112 -0
- package/llms/references/components/tooltip/tooltip.component.md +86 -0
- package/llms/references/components/tooltip/tooltip.md +217 -0
- package/llms/references/components/treeselect/treeselect.component.md +62 -0
- package/llms/references/components/treeselect/treeselect.md +58 -0
- package/llms/references/components/user-select/user-select.md +52 -0
- package/llms/references/components/userpopover/userpopover.component.md +50 -0
- package/llms/references/components/userpopover/userpopover.md +136 -0
- package/llms/references/components/verticalnavigation/verticalnavigation.component.md +236 -0
- package/llms/references/components/verticalnavigation/verticalnavigation.md +115 -0
- package/llms/references/migrations.md +32 -0
- package/llms/references/tools/angular-api.md +337 -0
- package/llms/references/tools/animations.md +173 -0
- package/llms/references/tools/mixins.md +106 -0
- package/llms/references/tools/numbers.md +81 -0
- package/llms/references/tools/scrollbox.md +59 -0
- package/llms/references/tools/utilitaires.md +951 -0
- package/llms/references/types/BubbleIllustration.md +5 -0
- package/llms/references/types/DecorativePalette.md +5 -0
- package/llms/references/types/Gap.md +5 -0
- package/llms/references/types/HighlightDataIllustration.md +5 -0
- package/llms/references/types/HighlightSectionIllustration.md +5 -0
- package/llms/references/types/LuccaIcon.md +5 -0
- package/llms/references/types/MainLayoutIllustrationEndStart.md +5 -0
- package/llms/references/types/MainLayoutIllustrationStartEnd.md +5 -0
- package/llms.txt +221 -0
- package/package.json +12 -6
- package/types/lucca-front-ng-approbation-inbox.d.ts +3 -3
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
# empty-state — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-feedback-empty-state-angular-onboarding-page--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
🔗 [Spécifique Lucca — Page — Liste des illustrations](https://www.notion.so/c12d6c3bf8dc4cc391ad1e5bc80655ab?v=ea7b24dd88d742ccbbb0d87424560c51)
|
|
8
|
+
|
|
9
|
+
Component selector : `lu-empty-state-page`
|
|
10
|
+
|
|
11
|
+
### State page onboarding
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
15
|
+
import { ButtonComponent } from '@lucca-front/ng/button';
|
|
16
|
+
import { EmptyStatePageComponent, EmptyStatePageIllustration } from '@lucca-front/ng/empty-state';
|
|
17
|
+
import { ListingComponent, ListingItemComponent } from '@lucca-front/ng/listing';
|
|
18
|
+
import { TagComponent } from '@lucca-front/ng/tag';
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
```html
|
|
22
|
+
<lu-empty-state-page
|
|
23
|
+
heading="Augmentez vos collaborateurs en 3 étapes"
|
|
24
|
+
[slotTop]="slotTop"
|
|
25
|
+
[illustration]="illustration"
|
|
26
|
+
[description]="description"
|
|
27
|
+
hx="1"
|
|
28
|
+
>
|
|
29
|
+
<button luButton type="button">Créer une campagne</button>
|
|
30
|
+
</lu-empty-state-page>
|
|
31
|
+
|
|
32
|
+
<ng-template #slotTop><lu-tag label="Inclus dans votre abonnement" /></ng-template>
|
|
33
|
+
<ng-template #description>
|
|
34
|
+
<lu-listing orderedFancy>
|
|
35
|
+
<lu-listing-item>Les responsables proposent les augmentations.</lu-listing-item>
|
|
36
|
+
<lu-listing-item>Les augmentations sont commentées, révisées.</lu-listing-item>
|
|
37
|
+
<lu-listing-item>Vous contrôlez, validez ces augmentations et décidez de leur mise en œuvre.</lu-listing-item>
|
|
38
|
+
</lu-listing>
|
|
39
|
+
</ng-template>
|
|
40
|
+
<ng-template #illustration>
|
|
41
|
+
<lu-empty-state-page-illustration
|
|
42
|
+
src="https://cdn.lucca.fr/transverse/prisme/visuals/empty-states/pagga/mealvoucher-icecream.svg"
|
|
43
|
+
/>
|
|
44
|
+
</ng-template>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### State page
|
|
48
|
+
|
|
49
|
+
```js
|
|
50
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
51
|
+
import { ButtonComponent } from '@lucca-front/ng/button';
|
|
52
|
+
import { EMPTY_STATE_HX, EMPTY_STATE_HX_STYLE, EmptyStatePageComponent } from '@lucca-front/ng/empty-state';
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
```html
|
|
56
|
+
<lu-empty-state-page
|
|
57
|
+
heading="Empty state page"
|
|
58
|
+
slotTop=""
|
|
59
|
+
description="Description can be a string or a ng-template"
|
|
60
|
+
topRightBackground="https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg"
|
|
61
|
+
topRightForeground="https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg"
|
|
62
|
+
bottomLeftBackground="https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg"
|
|
63
|
+
bottomLeftForeground="https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg"
|
|
64
|
+
>
|
|
65
|
+
<button luButton type="button" palette="product">Button</button>
|
|
66
|
+
<button luButton="outlined" type="button">Button</button>
|
|
67
|
+
</lu-empty-state-page>
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### State section
|
|
71
|
+
|
|
72
|
+
```js
|
|
73
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
74
|
+
import { BUBBLE_ILLUSTRATION } from '@lucca-front/ng/bubble-illustration';
|
|
75
|
+
import { ButtonComponent } from '@lucca-front/ng/button';
|
|
76
|
+
import { EMPTY_STATE_HX, EmptyStateSectionComponent } from '@lucca-front/ng/empty-state';
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
```html
|
|
80
|
+
<lu-empty-state-section
|
|
81
|
+
illustration="rocket"
|
|
82
|
+
hx="3"
|
|
83
|
+
heading="Empty state section"
|
|
84
|
+
description="Description can be a string or a ng-template"
|
|
85
|
+
>
|
|
86
|
+
<button luButton type="button" palette="product">Button</button>
|
|
87
|
+
<button luButton="outlined" type="button">Button</button>
|
|
88
|
+
</lu-empty-state-section>
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## HTML/CSS
|
|
92
|
+
|
|
93
|
+
🔗 [Spécifique Lucca — Page — Liste des illustrations](https://www.notion.so/c12d6c3bf8dc4cc391ad1e5bc80655ab?v=ea7b24dd88d742ccbbb0d87424560c51)
|
|
94
|
+
|
|
95
|
+
Classe CSS : `.emptyState`
|
|
96
|
+
|
|
97
|
+
### State page
|
|
98
|
+
|
|
99
|
+
```css
|
|
100
|
+
@forward '@lucca-front/scss/src/components/emptyState';
|
|
101
|
+
@forward '@lucca-front/scss/src/components/button';
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
```html
|
|
105
|
+
<section class="emptyState mod-page" [style.--components-emptyState-background-color]="'var(--palettes-neutral-25)'">
|
|
106
|
+
<div class="emptyState-container">
|
|
107
|
+
<div class="emptyState-content">
|
|
108
|
+
<div
|
|
109
|
+
class="emptyState-content-icon"
|
|
110
|
+
aria-hidden="true"
|
|
111
|
+
[innerHtml]="'https://cdn.lucca.fr/lucca-front/assets/empty-states/message/medal-01.svg' | luSafeExternalSvg"
|
|
112
|
+
></div>
|
|
113
|
+
<div class="emptyState-content-text">
|
|
114
|
+
<h1 class="emptyState-content-heading">Empty State</h1>
|
|
115
|
+
<p class="emptyState-content-description">
|
|
116
|
+
Flatus obsequiorum potest inanes pomerium obsequiorum credi homines vero caelibes orbos potest vile
|
|
117
|
+
diversitate flatus.
|
|
118
|
+
</p>
|
|
119
|
+
<div class="emptyState-actions">
|
|
120
|
+
<button type="button" class="button">Button</button>
|
|
121
|
+
<button type="button" class="button mod-outlined">Button</button>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</section>
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### State section center
|
|
130
|
+
|
|
131
|
+
```css
|
|
132
|
+
@forward '@lucca-front/scss/src/components/emptyState';
|
|
133
|
+
@forward '@lucca-front/scss/src/components/bubbleIllustration';
|
|
134
|
+
@forward '@lucca-front/scss/src/components/button';
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
```html
|
|
138
|
+
<section class="emptyState mod-center">
|
|
139
|
+
<div class="emptyState-container">
|
|
140
|
+
<div class="emptyState-content">
|
|
141
|
+
<span
|
|
142
|
+
class="emptyState-content-icon bubbleIllustration mod-action mod-L"
|
|
143
|
+
aria-hidden="true"
|
|
144
|
+
[innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/bubble-illustration/calendar.svg' | luSafeExternalSvg"
|
|
145
|
+
></span>
|
|
146
|
+
<div class="emptyState-content-text">
|
|
147
|
+
<h3 class="emptyState-content-heading">Empty State</h3>
|
|
148
|
+
<p class="emptyState-content-description">
|
|
149
|
+
Flatus obsequiorum potest inanes pomerium obsequiorum credi homines vero caelibes orbos potest vile
|
|
150
|
+
diversitate flatus.
|
|
151
|
+
</p>
|
|
152
|
+
<div class="emptyState-actions">
|
|
153
|
+
<button type="button" class="button">Button</button>
|
|
154
|
+
<button type="button" class="button mod-outlined">Button</button>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
</section>
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### State section palette
|
|
163
|
+
|
|
164
|
+
```css
|
|
165
|
+
@forward '@lucca-front/scss/src/components/emptyState';
|
|
166
|
+
@forward '@lucca-front/scss/src/components/bubbleIllustration';
|
|
167
|
+
@forward '@lucca-front/scss/src/components/button';
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
```html
|
|
171
|
+
<section class="emptyState">
|
|
172
|
+
<div class="emptyState-container">
|
|
173
|
+
<div class="emptyState-content">
|
|
174
|
+
<span
|
|
175
|
+
class="emptyState-content-icon bubbleIllustration mod-action mod-L palette-success"
|
|
176
|
+
aria-hidden="true"
|
|
177
|
+
[innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/bubble-illustration/calendar.svg' | luSafeExternalSvg"
|
|
178
|
+
></span>
|
|
179
|
+
<div class="emptyState-content-text">
|
|
180
|
+
<h3 class="emptyState-content-heading">Empty State</h3>
|
|
181
|
+
<p class="emptyState-content-description">
|
|
182
|
+
Flatus obsequiorum potest inanes pomerium obsequiorum credi homines vero caelibes orbos potest vile
|
|
183
|
+
diversitate flatus.
|
|
184
|
+
</p>
|
|
185
|
+
<div class="emptyState-actions">
|
|
186
|
+
<button type="button" class="button">Button</button>
|
|
187
|
+
<button type="button" class="button mod-outlined">Button</button>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
</section>
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
### State section
|
|
196
|
+
|
|
197
|
+
```css
|
|
198
|
+
@forward '@lucca-front/scss/src/components/emptyState';
|
|
199
|
+
@forward '@lucca-front/scss/src/components/bubbleIllustration';
|
|
200
|
+
@forward '@lucca-front/scss/src/components/button';
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
```html
|
|
204
|
+
<section class="emptyState">
|
|
205
|
+
<div class="emptyState-container">
|
|
206
|
+
<div class="emptyState-content">
|
|
207
|
+
<span
|
|
208
|
+
class="emptyState-content-icon bubbleIllustration mod-action mod-L"
|
|
209
|
+
aria-hidden="true"
|
|
210
|
+
[innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/bubble-illustration/calendar.svg' | luSafeExternalSvg"
|
|
211
|
+
></span>
|
|
212
|
+
<div class="emptyState-content-text">
|
|
213
|
+
<h3 class="emptyState-content-heading">Empty State</h3>
|
|
214
|
+
<p class="emptyState-content-description">
|
|
215
|
+
Flatus obsequiorum potest inanes pomerium obsequiorum credi homines vero caelibes orbos potest vile
|
|
216
|
+
diversitate flatus.
|
|
217
|
+
</p>
|
|
218
|
+
<div class="emptyState-actions">
|
|
219
|
+
<button type="button" class="button">Button</button>
|
|
220
|
+
<button type="button" class="button mod-outlined">Button</button>
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
</div>
|
|
224
|
+
</div>
|
|
225
|
+
</section>
|
|
226
|
+
```
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# empty-state
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { EmptyStatePageIllustration, EmptyStatePageComponent } from '@lucca-front/ng/empty-state';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## API Reference
|
|
10
|
+
|
|
11
|
+
### EmptyStatePageIllustration (component)
|
|
12
|
+
|
|
13
|
+
**Selector:** `lu-empty-state-page-illustration`
|
|
14
|
+
|
|
15
|
+
#### Inputs
|
|
16
|
+
|
|
17
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
18
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
19
|
+
| `src` | `src` | `string \| null` | `null` | — | — | URL de l’illustration. |
|
|
20
|
+
| `alt` | `alt` | `string \| null` | `''` | — | — | Texte alternatif de l’illustration restitué par les lecteurs d’écran. |
|
|
21
|
+
|
|
22
|
+
### EmptyStatePageComponent (component)
|
|
23
|
+
|
|
24
|
+
**Selector:** `lu-empty-state-page`
|
|
25
|
+
|
|
26
|
+
#### Inputs
|
|
27
|
+
|
|
28
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
29
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
30
|
+
| `icon` | `icon` | `string \| null` | `null` | — | — | Affiche une illustration au dessus du titre. |
|
|
31
|
+
| `topRightBackground` | `topRightBackground` | `string \| null` | — | — | — | — |
|
|
32
|
+
| `topRightForeground` | `topRightForeground` | `string \| null` | — | — | — | Illustration de premier plan dans le coin supérieur droit. |
|
|
33
|
+
| `bottomLeftBackground` | `bottomLeftBackground` | `string \| null` | — | — | — | — |
|
|
34
|
+
| `bottomLeftForeground` | `bottomLeftForeground` | `string \| null` | — | — | — | — |
|
|
35
|
+
| `contentBackgroundColor` | `contentBackgroundColor` | `string` | `'var(--pr-t-elevation-surface-default)'` | — | — | Modifie la couleur de fond du contenu (variable CSS, couleur hexadécimale, etc.). |
|
|
36
|
+
| `slotTop` | `slotTop` | `PortalContent` | — | — | — | [v19.3] Ajout d’un slot au dessus du titre. [PortalContent] |
|
|
37
|
+
| `illustration` | `illustration` | `PortalContent` | — | — | — | Modifie l’illustration. |
|
|
38
|
+
| `heading` | `heading` | `string` | — | — | — | Titre de l’empty state. |
|
|
39
|
+
| `description` | `description` | `PortalContent` | — | — | — | Description du composant. [PortalContent] |
|
|
40
|
+
| `hx` | `hx` | `number` | `1` | — | `luNumberAttribute` | Définit le niveau sémantique du titre. |
|
|
41
|
+
| `hxStyle` | `hxStyle` | `number` | `1` | — | `luNumberAttribute` | [v21.2] Niveau du titre (style). |
|
|
42
|
+
|
|
43
|
+
## Related files
|
|
44
|
+
|
|
45
|
+
- 📝 [Code & implementation](./empty-state.component.md)
|
|
46
|
+
- 🎨 [Design guidelines](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/empty-state/empty-state.design.md)
|
|
47
|
+
- 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/empty-state/empty-state.figma.md)
|
|
48
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-feedback-empty-state-angular-onboarding-page--docs)
|
|
49
|
+
|
|
50
|
+
## Changelog
|
|
51
|
+
|
|
52
|
+
> Diff structurel de l'API (selectors, inputs, outputs, models) entre versions stables, depuis `v21.4.2` jusqu'à `v22.0.0`. Les versions sans changement d'API sont omises.
|
|
53
|
+
|
|
54
|
+
### 22.0.0
|
|
55
|
+
|
|
56
|
+
`EmptyStatePageComponent` :
|
|
57
|
+
~ `topRightBackground` : string → string | null, défaut 'https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg' → ∅
|
|
58
|
+
~ `topRightForeground` : string → string | null, défaut 'https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg' → ∅
|
|
59
|
+
~ `bottomLeftBackground` : string → string | null, défaut 'https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg' → ∅
|
|
60
|
+
~ `bottomLeftForeground` : string → string | null, défaut 'https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg' → ∅
|
|
61
|
+
~ `hx` : transform numberAttribute → luNumberAttribute
|
|
62
|
+
~ `hxStyle` : transform numberAttribute → luNumberAttribute
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# errorpage — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-feedback-errorpage-angular-basic--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
Mots-clés : page d'erreur, 404, 500
|
|
8
|
+
|
|
9
|
+
Component selector : `lu-error-page`
|
|
10
|
+
|
|
11
|
+
### Page basic
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
import { provideRouter } from '@angular/router';
|
|
15
|
+
import { ERROR_PAGE_ILLUSTRATION, ErrorPageComponent } from '@lucca-front/ng/error-page';
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
```html
|
|
19
|
+
<lu-error-page heading="Erreur 404" illustration="404">
|
|
20
|
+
<p>La page que vous cherchez n’existe pas.</p>
|
|
21
|
+
<p><a href="#">Revenir à la page précédente</a></p>
|
|
22
|
+
</lu-error-page>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## HTML/CSS
|
|
26
|
+
|
|
27
|
+
🔗 [Spécifique Lucca — Liste des illustrations d'erreur](https://www.notion.so/Error-page-c7a6edc9b2364d479b079359d9b7b838)
|
|
28
|
+
|
|
29
|
+
Classe CSS : `.errorPage`
|
|
30
|
+
|
|
31
|
+
### Page basic
|
|
32
|
+
|
|
33
|
+
```css
|
|
34
|
+
@forward '@lucca-front/scss/src/components/errorPage';
|
|
35
|
+
@forward '@lucca-front/scss/src/components/textFlow';
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
```html
|
|
39
|
+
<div class="errorPage">
|
|
40
|
+
<section class="errorPage-section">
|
|
41
|
+
<div class="errorPage-section-info">
|
|
42
|
+
<h1 class="errorPage-section-info-title">Erreur 403</h1>
|
|
43
|
+
<div class="textFlow">
|
|
44
|
+
<p>Vous n’êtes pas autorisé à consulter cette page ou cette ressource.</p>
|
|
45
|
+
<p><a href="#">Revenir à la page précédente</a></p>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<img
|
|
49
|
+
src="https://cdn.lucca.fr/errors/svg/403-lucca.svg"
|
|
50
|
+
width="600"
|
|
51
|
+
height="400"
|
|
52
|
+
alt=""
|
|
53
|
+
class="errorPage-section-image"
|
|
54
|
+
/>
|
|
55
|
+
</section>
|
|
56
|
+
</div>
|
|
57
|
+
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# errorpage
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { ErrorPageComponent } from '@lucca-front/ng/error-page';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Basic Usage
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<lu-error-page heading="Erreur 404" illustration="404"> <p>La page que vous cherchez n’existe pas.</p> <p><a href="#">Revenir à la page précédente</a></p>
|
|
13
|
+
</lu-error-page>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## API Reference
|
|
17
|
+
|
|
18
|
+
### ErrorPageComponent (component)
|
|
19
|
+
|
|
20
|
+
**Selector:** `lu-error-page`
|
|
21
|
+
|
|
22
|
+
#### Inputs
|
|
23
|
+
|
|
24
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
25
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
26
|
+
| `heading` | `heading` | `string` | — | ✅ | — | Titre de la page d’erreur. |
|
|
27
|
+
| `illustration` | `illustration` | `'400' \| '403' \| '404' \| '429' \| '500' \| 'keyboard' \| 'lock' \| 'map'` | — | ✅ | — | Modifie l’illustration. |
|
|
28
|
+
|
|
29
|
+
## Related files
|
|
30
|
+
|
|
31
|
+
- 📝 [Code & implementation](./errorpage.component.md)
|
|
32
|
+
|
|
33
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-feedback-errorpage-angular-basic--docs)
|
|
34
|
+
|
|
35
|
+
## Changelog
|
|
36
|
+
|
|
37
|
+
_Aucun changement d'API entre v21.4.2 et v22.0.0._
|
|
38
|
+
|
|
39
|
+
### Notes de release (ZeroHeight)
|
|
40
|
+
|
|
41
|
+
#### 21.3.0
|
|
42
|
+
|
|
43
|
+
##### Added
|
|
44
|
+
|
|
45
|
+
- `ERROR_PAGE_ILLUSTRATION` constant and `ErrorPageIllustration` type are now publicly exported and used to type the `illustration` input.
|
|
46
|
+
|
|
47
|
+
#### 21.2.2
|
|
48
|
+
|
|
49
|
+
##### Fixed
|
|
50
|
+
|
|
51
|
+
- Styles are no longer scoped by view encapsulation, so the error page renders correctly wherever it is used.
|
|
52
|
+
|
|
53
|
+
#### 21.2.0
|
|
54
|
+
|
|
55
|
+
##### Added
|
|
56
|
+
|
|
57
|
+
- `lu-error-page` component (`errorPage`) with the required `heading` and `illustration` inputs.
|
|
58
|
+
|
|
59
|
+
#### 21.0.3
|
|
60
|
+
|
|
61
|
+
##### Fixed
|
|
62
|
+
|
|
63
|
+
- Layout of the error page when displayed inside a `lu-app-layout`.
|
|
64
|
+
|
|
65
|
+
#### 19.2.0
|
|
66
|
+
|
|
67
|
+
##### Changed
|
|
68
|
+
|
|
69
|
+
- Titles no longer add their own spacing.
|
|
70
|
+
|
|
71
|
+
#### 18.1.0
|
|
72
|
+
|
|
73
|
+
##### Changed
|
|
74
|
+
|
|
75
|
+
- Title color and font size updated.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# establishmentselect — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-establishmentselect--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
### Select
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
11
|
+
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
12
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
13
|
+
import { LuEstablishmentSelectInputComponent } from '@lucca-front/ng/establishment';
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<label class="textfield mod-inline pr-u-marginInlineEnd200">
|
|
18
|
+
<lu-establishment-select class="textfield-input" placeholder="Select an establishment" data-testid="lu-select" />
|
|
19
|
+
<span class="textfield-label">Establishment Select</span>
|
|
20
|
+
</label>
|
|
21
|
+
<label class="textfield mod-inline">
|
|
22
|
+
<lu-establishment-select
|
|
23
|
+
class="textfield-input"
|
|
24
|
+
placeholder="Select an establishment"
|
|
25
|
+
[multiple]="multiple()"
|
|
26
|
+
data-testid="lu-select-multiple"
|
|
27
|
+
/>
|
|
28
|
+
<span class="textfield-label">Establishment Multiple Select</span>
|
|
29
|
+
</label>
|
|
30
|
+
```
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# establishmentselect
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { LuEstablishmentSelectInputComponent } from '@lucca-front/ng/establishment';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## API Reference
|
|
10
|
+
|
|
11
|
+
### LuEstablishmentSelectInputComponent (component)
|
|
12
|
+
|
|
13
|
+
**Selector:** `lu-establishment-select`
|
|
14
|
+
|
|
15
|
+
> ⚠️ **Déprécié** : prefer SimpleSelect or MultipleSelect with establishments directive
|
|
16
|
+
|
|
17
|
+
#### Inputs
|
|
18
|
+
|
|
19
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
20
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
21
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
22
|
+
| `filters` | `filters` | `string[]` | — | — | — | — |
|
|
23
|
+
| `appInstanceId` | `appInstanceId` | `number` | — | — | — | — |
|
|
24
|
+
| `operations` | `operations` | `number[]` | — | — | — | — |
|
|
25
|
+
|
|
26
|
+
### Injection tokens
|
|
27
|
+
|
|
28
|
+
| Token | Type | Description |
|
|
29
|
+
|-------|------|-------------|
|
|
30
|
+
| `LU_ESTABLISHMENT_SELECT_INPUT_TRANSLATIONS` | `unknown` | — |
|
|
31
|
+
|
|
32
|
+
### Modules dépréciés
|
|
33
|
+
|
|
34
|
+
- ⚠️ `LuEstablishmentModule` — prefer SimpleSelect or MultipleSelect with establishments directive
|
|
35
|
+
- ⚠️ `LuEstablishmentSelectModule` — prefer SimpleSelect or MultipleSelect with establishments directive
|
|
36
|
+
- ⚠️ `LuEstablishmentSelectInputModule` — use `LuEstablishmentSelectInputComponent` instead
|
|
37
|
+
|
|
38
|
+
## Related files
|
|
39
|
+
|
|
40
|
+
- 📝 [Code & implementation](./establishmentselect.component.md)
|
|
41
|
+
|
|
42
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-establishmentselect--docs)
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# fancy-dialog
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { DialogContentComponent, DialogFooterComponent, DialogHeaderAction, DialogHeaderSubtitle, DialogHeaderComponent, DialogRoutingContainerComponent, DialogComponent, DialogCloseDirective, DialogDismissDirective, DialogOpenDirective } from '@lucca-front/ng/dialog';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## API Reference
|
|
10
|
+
|
|
11
|
+
### DialogContentComponent (component)
|
|
12
|
+
|
|
13
|
+
**Selector:** `lu-dialog-content`
|
|
14
|
+
|
|
15
|
+
### DialogFooterComponent (component)
|
|
16
|
+
|
|
17
|
+
**Selector:** `lu-dialog-footer`
|
|
18
|
+
|
|
19
|
+
### DialogHeaderAction (directive)
|
|
20
|
+
|
|
21
|
+
**Selector:** `[dialogHeaderAction]`
|
|
22
|
+
|
|
23
|
+
### DialogHeaderSubtitle (directive)
|
|
24
|
+
|
|
25
|
+
**Selector:** `[dialogHeaderSubtitle]`
|
|
26
|
+
|
|
27
|
+
### DialogHeaderComponent (component)
|
|
28
|
+
|
|
29
|
+
**Selector:** `lu-dialog-header`
|
|
30
|
+
|
|
31
|
+
#### Inputs
|
|
32
|
+
|
|
33
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
34
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
35
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
36
|
+
|
|
37
|
+
### DialogRoutingContainerComponent (component)
|
|
38
|
+
|
|
39
|
+
**Selector:** `lu-dialog-routing-container`
|
|
40
|
+
|
|
41
|
+
### DialogComponent (component)
|
|
42
|
+
|
|
43
|
+
**Selector:** `lu-dialog`
|
|
44
|
+
|
|
45
|
+
#### Inputs
|
|
46
|
+
|
|
47
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
48
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
49
|
+
| `stacked` | `stacked` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
50
|
+
| `fancyIllustration` | `fancyIllustration` | `'approval' \| 'checklist' \| 'email' \| 'install' \| 'mapping' \| 'save' \| 'users' \| 'welcome' \| 'payment-card'` | `'welcome'` | — | — | — |
|
|
51
|
+
| `fancyIllustrationUrl` | `fancyIllustrationUrl` | `string \| null` | `null` | — | — | — |
|
|
52
|
+
|
|
53
|
+
### DialogCloseDirective (directive)
|
|
54
|
+
|
|
55
|
+
**Selector:** `[luDialogClose]`
|
|
56
|
+
|
|
57
|
+
### DialogDismissDirective (directive)
|
|
58
|
+
|
|
59
|
+
**Selector:** `[luDialogDismiss]`
|
|
60
|
+
|
|
61
|
+
### DialogOpenDirective (directive)
|
|
62
|
+
|
|
63
|
+
**Selector:** `[luDialogOpen]`
|
|
64
|
+
|
|
65
|
+
#### Inputs
|
|
66
|
+
|
|
67
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
68
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
69
|
+
| `dialog` | `luDialogOpen` | `TemplateRef<void>` | — | ✅ | — | — |
|
|
70
|
+
| `luDialogConfig` | `luDialogConfig` | `LuDialogConfig<unknown>` | — | — | — | — |
|
|
71
|
+
|
|
72
|
+
### Providers
|
|
73
|
+
|
|
74
|
+
| Fonction | Signature | Description |
|
|
75
|
+
|----------|-----------|-------------|
|
|
76
|
+
| `provideDialogRoutingReuseStrategy` | `(): EnvironmentProviders` | — |
|
|
77
|
+
| `configureLuDialog` | `(): EnvironmentProviders` | — |
|
|
78
|
+
| `provideLuDialog` | `(): Provider` | — |
|
|
79
|
+
|
|
80
|
+
### Injection tokens
|
|
81
|
+
|
|
82
|
+
| Token | Type | Description |
|
|
83
|
+
|-------|------|-------------|
|
|
84
|
+
| `LU_DIALOG_HEADER_TRANSLATIONS` | `unknown` | — |
|
|
85
|
+
| `DIALOG_ROUTE_CLOSE_TRIGGER` | `DialogRouteCloseTrigger` | — |
|
|
86
|
+
| `DIALOG_ROUTE_DISMISS_TRIGGER` | `DialogRouteDismissTrigger` | — |
|
|
87
|
+
| `DIALOG_ROUTE_CONFIG` | `DialogRouteConfig<unknown>` | — |
|
|
88
|
+
|
|
89
|
+
### Services
|
|
90
|
+
|
|
91
|
+
#### LuDialogService
|
|
92
|
+
|
|
93
|
+
- `open<C, TData = LuDialogData<C>>(config: LuDialogConfig<C, NoInfer<TData>>): LuDialogRef<C, TData>`
|
|
94
|
+
|
|
95
|
+
## Related files
|
|
96
|
+
|
|
97
|
+
- 📝 [Code & implementation](./fancy-dialog.component.md)
|
|
98
|
+
- 🎨 [Design guidelines](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/fancy-dialog/fancy-dialog.design.md)
|
|
99
|
+
|
|
100
|
+
## Changelog
|
|
101
|
+
|
|
102
|
+
> Diff structurel de l'API (selectors, inputs, outputs, models) entre versions stables, depuis `v21.4.2` jusqu'à `v22.0.0`. Les versions sans changement d'API sont omises.
|
|
103
|
+
|
|
104
|
+
### 22.0.0
|
|
105
|
+
|
|
106
|
+
`DialogComponent` :
|
|
107
|
+
~ `stacked` : transform booleanAttribute → luBooleanAttribute
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# fancybox — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-structure-fancybox-angular-basic--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
Component selector : `lu-fancy-box`
|
|
8
|
+
|
|
9
|
+
### Box basic
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import { FANCY_BOX_SIZE, FancyBoxComponent } from '@lucca-front/ng/fancy-box';
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<lu-fancy-box
|
|
17
|
+
backgroundLeft="https://cdn.lucca.fr/transverse/prisme/visuals/fancy-box/background-left-plant.svg"
|
|
18
|
+
backgroundRight="https://cdn.lucca.fr/transverse/prisme/visuals/fancy-box/background-right-candies.svg"
|
|
19
|
+
foreground="https://cdn.lucca.fr/transverse/prisme/visuals/fancy-box/foreground-right-pizza.svg"
|
|
20
|
+
>
|
|
21
|
+
Content
|
|
22
|
+
</lu-fancy-box>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## HTML/CSS
|
|
26
|
+
|
|
27
|
+
Classe CSS : `.fancyBox`
|
|
28
|
+
|
|
29
|
+
### Box basic
|
|
30
|
+
|
|
31
|
+
```css
|
|
32
|
+
@forward '@lucca-front/scss/src/components/fancyBox';
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
```html
|
|
36
|
+
<div
|
|
37
|
+
class="fancyBox"
|
|
38
|
+
[attr.style]="'
|
|
39
|
+
--components-fancyBox-background-left: url(https://cdn.lucca.fr/transverse/prisme/visuals/fancy-box/background-left-plant.svg);
|
|
40
|
+
--components-fancyBox-background-right: url(https://cdn.lucca.fr/transverse/prisme/visuals/fancy-box/background-right-candies.svg);
|
|
41
|
+
--components-fancyBox-foreground: url(https://cdn.lucca.fr/transverse/prisme/visuals/fancy-box/foreground-right-pizza.svg);'"
|
|
42
|
+
>
|
|
43
|
+
<div class="fancyBox-content">
|
|
44
|
+
Fancy box content
|
|
45
|
+
<div class="fancyBox-content-foreground"></div>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
```
|