project-booster-vue 8.116.0 → 8.117.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (541) hide show
  1. package/package.json +21 -17
  2. package/src/components/animations/PbProjectsLandingAnimation.stories.mdx +1 -1
  3. package/src/components/appointment/PbAppointment.stories.mdx +7 -7
  4. package/src/components/appointment/PbAppointment.vue +1 -1
  5. package/src/components/appointment/PbAppointmentStartSection.stories.mdx +1 -1
  6. package/src/components/cards/PbCard.stories.mdx +2 -2
  7. package/src/components/cards/PbCardsList.stories.mdx +1 -1
  8. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-align-horizontal-1-snap.png +0 -0
  9. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-align-text-1-snap.png +0 -0
  10. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-align-vertical-1-snap.png +0 -0
  11. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-button-href-1-snap.png +0 -0
  12. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-button-label-1-snap.png +0 -0
  13. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-degradations-1-snap.png +0 -0
  14. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-disabled-1-snap.png +0 -0
  15. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-flag-label-1-snap.png +0 -0
  16. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-flag-theme-1-snap.png +0 -0
  17. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-flattened-1-snap.png +0 -0
  18. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-hero-1-snap.png +0 -0
  19. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-image-1-snap.png +0 -0
  20. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-image-is-contained-1-snap.png +0 -0
  21. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-image-ratio-1-snap.png +0 -0
  22. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-image-title-1-snap.png +0 -0
  23. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-link-1-snap.png +0 -0
  24. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-min-card-ratio-1-snap.png +0 -0
  25. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-pricing-1-snap.png +0 -0
  26. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-rating-1-snap.png +0 -0
  27. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-selectable-1-snap.png +0 -0
  28. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-selected-1-snap.png +0 -0
  29. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-text-1-snap.png +0 -0
  30. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-title-1-snap.png +0 -0
  31. package/src/components/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-type-icon-1-snap.png +0 -0
  32. package/src/components/cards-select/PbCardsSelect.stories.mdx +1 -1
  33. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-card-all-props-1-snap.png +0 -0
  34. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-disabled-1-snap.png +0 -0
  35. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-error-1-snap.png +0 -0
  36. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-error-vs-info-1-snap.png +0 -0
  37. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-hint-1-snap.png +0 -0
  38. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-info-1-snap.png +0 -0
  39. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-invalid-1-snap.png +0 -0
  40. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-label-1-snap.png +0 -0
  41. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-multiselect-1-snap.png +0 -0
  42. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-required-1-snap.png +0 -0
  43. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-valid-1-snap.png +0 -0
  44. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-validation-1-snap.png +0 -0
  45. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-validation-multiselect-1-snap.png +0 -0
  46. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-validation-multiselect-w-default-value-1-snap.png +0 -0
  47. package/src/components/cards-select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-cards-pb-cards-select-/360/237/246/240-showcase-validation-w-default-value-1-snap.png +0 -0
  48. package/src/components/carousel/PbCarousel.stories.mdx +1 -1
  49. package/src/components/categories/PbCategories.stories.mdx +42 -79
  50. package/src/components/categories/PbCategories.vue +31 -7
  51. package/src/components/categories/PbCategoriesList.vue +8 -2
  52. package/src/components/configurations/list/PbConfigurationsList.stories.mdx +11 -8
  53. package/src/components/configurations/list/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-configurations-pb-configurations-list-/360/237/247/254-component-showcase-1-snap.png +0 -0
  54. package/src/components/configurations/search/PbConfigurationsSearch.stories.mdx +50 -20
  55. package/src/components/configurations/search/PbConfigurationsSearch.vue +17 -15
  56. package/src/components/configurations/section/PbConfigurationsSection.stories.mdx +86 -19
  57. package/src/components/configurations/section/PbConfigurationsSection.vue +3 -8
  58. package/src/components/dropdown/PbDropdown.stories.mdx +1 -1
  59. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-disabled-1-snap.png +0 -0
  60. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-error-1-snap.png +0 -0
  61. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-hint-1-snap.png +0 -0
  62. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-info-1-snap.png +0 -0
  63. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-invalid-1-snap.png +0 -0
  64. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-label-1-snap.png +0 -0
  65. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-options-1-snap.png +0 -0
  66. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-placeholder-1-snap.png +0 -0
  67. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-required-1-snap.png +0 -0
  68. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-valid-1-snap.png +0 -0
  69. package/src/components/dropdown/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-dropdown-/360/237/246/240-showcase-validation-1-snap.png +0 -0
  70. package/src/components/empty-state/PbEmptyState.stories.mdx +2 -2
  71. package/src/components/empty-state/PbEmptyState.vue +1 -0
  72. package/src/components/empty-state/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-empty-state-/360/237/246/240-101-sandbox-1-snap.png +0 -0
  73. package/src/components/empty-state/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-empty-state-/360/237/246/240-showcase-button-icons-1-snap.png +0 -0
  74. package/src/components/empty-state/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-empty-state-/360/237/246/240-showcase-button-label-1-snap.png +0 -0
  75. package/src/components/empty-state/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-empty-state-/360/237/246/240-showcase-disabled-1-snap.png +0 -0
  76. package/src/components/empty-state/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-empty-state-/360/237/246/240-showcase-icon-1-snap.png +0 -0
  77. package/src/components/empty-state/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-empty-state-/360/237/246/240-showcase-image-1-snap.png +0 -0
  78. package/src/components/empty-state/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-empty-state-/360/237/246/240-showcase-subtitle-1-snap.png +0 -0
  79. package/src/components/empty-state/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-empty-state-/360/237/246/240-showcase-title-1-snap.png +0 -0
  80. package/src/components/empty-state/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-empty-state-/360/237/246/240-showcase-type-icon-1-snap.png +0 -0
  81. package/src/components/estimates/PbEstimatesList.stories.mdx +76 -15
  82. package/src/components/estimates/PbEstimatesList.vue +26 -40
  83. package/src/components/estimates/estimates-payload.json +6 -0
  84. package/src/components/header/PbHeader.stories.mdx +3 -3
  85. package/src/components/header/PbHeader.vue +7 -3
  86. package/src/components/inspiration/PbInspiration.stories.mdx +7 -7
  87. package/src/components/inspiration/PbInspiration.vue +2 -2
  88. package/src/components/items/PbItem.stories.mdx +1 -1
  89. package/src/components/items/PbItem.vue +9 -3
  90. package/src/components/items/PbItemInput.stories.mdx +1 -1
  91. package/src/components/items/PbItemsList.stories.mdx +1 -1
  92. package/src/components/items/PbItemsList.vue +7 -4
  93. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-item-input-/360/237/246/240-features-default-value-1-snap.png +0 -0
  94. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-item-input-/360/237/246/240-features-disabled-1-snap.png +0 -0
  95. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-item-input-/360/237/246/240-features-padding-1-snap.png +0 -0
  96. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-item-input-/360/237/246/240-features-placeholder-1-snap.png +0 -0
  97. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-item-/360/237/246/240-features-disabled-1-snap.png +0 -0
  98. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-item-/360/237/246/240-features-image-1-snap.png +0 -0
  99. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-item-/360/237/246/240-features-item-card-1-snap.png +0 -0
  100. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-item-/360/237/246/240-features-model-value-1-snap.png +0 -0
  101. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-item-/360/237/246/240-features-padding-1-snap.png +0 -0
  102. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-item-/360/237/246/240-features-selectable-1-snap.png +0 -0
  103. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-101-sandbox-1-snap.png +0 -0
  104. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-custom-input-value-1-snap.png +0 -0
  105. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-icon-list-1-snap.png +0 -0
  106. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-list-no-selectable-1-snap.png +0 -0
  107. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-list-no-separator-1-snap.png +0 -0
  108. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-list-separator-and-border-bottom-1-snap.png +0 -0
  109. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-multiselect-1-snap.png +0 -0
  110. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-paginate-1-snap.png +0 -0
  111. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-preselected-items-1-snap.png +0 -0
  112. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-radio-list-1-snap.png +0 -0
  113. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-toggle-list-1-snap.png +0 -0
  114. package/src/components/items/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-items-pb-items-list-/360/237/246/240-features-without-image-1-snap.png +0 -0
  115. package/src/components/landing/PbProjectsLanding.stories.mdx +1 -1
  116. package/src/components/landing/PbProjectsLanding.vue +1 -5
  117. package/src/components/landing/PbProjectsLandingEstimators.stories.mdx +1 -1
  118. package/src/components/landing/PbProjectsLandingPage.stories.mdx +1 -1
  119. package/src/components/loader/PbAnimableLoader.stories.mdx +1 -1
  120. package/src/components/loader/PbLoader.stories.mdx +3 -3
  121. package/src/components/loader/PbLoader.vue +2 -2
  122. package/src/components/loader/PbMediaLoader.stories.js +2 -2
  123. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-documents-media-pb-media-loader-/342/232/233/357/270/217-showcase-1-snap.png +0 -0
  124. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-documents-media-pb-media-loader-/342/232/233/357/270/217-try-it-1-snap.png +0 -0
  125. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-loaders-pb-animable-loader-/342/232/233/357/270/217-showcase-state-1-snap.png +0 -0
  126. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-loaders-pb-loader-/360/237/247/254-showcase-retry-button-label-1-snap.png +0 -0
  127. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-loaders-pb-loader-/360/237/247/254-showcase-state-1-snap.png +0 -0
  128. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-loaders-pb-loader-/360/237/247/254-showcase-subtitle-error-1-snap.png +0 -0
  129. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-loaders-pb-loader-/360/237/247/254-showcase-subtitle-loading-1-snap.png +0 -0
  130. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-loaders-pb-loader-/360/237/247/254-showcase-subtitle-success-1-snap.png +0 -0
  131. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-loaders-pb-loader-/360/237/247/254-showcase-title-error-1-snap.png +0 -0
  132. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-loaders-pb-loader-/360/237/247/254-showcase-title-loading-1-snap.png +0 -0
  133. package/src/components/loader/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-loaders-pb-loader-/360/237/247/254-showcase-title-success-1-snap.png +0 -0
  134. package/src/components/media/PbMedia.stories.mdx +214 -0
  135. package/src/components/media/PbMedia.vue +511 -0
  136. package/src/components/media/detail/PbMediaDetail.stories.mdx +148 -24
  137. package/src/components/media/detail/PbMediaDetail.vue +88 -19
  138. package/src/components/media/detail/document-detail-payload.json +6 -0
  139. package/src/components/media/detail/media-detail-payload.json +6 -0
  140. package/src/components/media/list/PbMediaList.stories.mdx +27 -12
  141. package/src/components/media/list/PbMediaList.vue +60 -15
  142. package/src/components/media/list/documents-list-payload.json +11 -0
  143. package/src/components/media/list/media-list-payload.json +11 -0
  144. package/src/components/media/upload/PbMediaUpload.stories.mdx +113 -11
  145. package/src/components/media/upload/PbMediaUpload.vue +157 -26
  146. package/src/components/{question/upload-document → media/upload}/PbUploadDocumentForm.stories.mdx +4 -4
  147. package/src/components/{question/upload-document → media/upload}/PbUploadDocumentForm.vue +13 -10
  148. package/src/components/media/upload/document-upload-payload.json +31 -0
  149. package/src/components/media/upload/media-upload-payload.json +17 -0
  150. package/src/components/mopinion/PbMOpinion.stories.mdx +1 -1
  151. package/src/components/mozaic/accordions/MAccordion.stories.mdx +1 -1
  152. package/src/components/mozaic/accordions/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-accordion-/342/232/233/357/270/217-showcase-disabled-1-snap.png +0 -0
  153. package/src/components/mozaic/accordions/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-accordion-/342/232/233/357/270/217-showcase-expanded-1-snap.png +0 -0
  154. package/src/components/mozaic/accordions/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-accordion-/342/232/233/357/270/217-showcase-icon-1-snap.png +0 -0
  155. package/src/components/mozaic/accordions/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-accordion-/342/232/233/357/270/217-showcase-label-1-snap.png +0 -0
  156. package/src/components/mozaic/accordions/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-accordion-/342/232/233/357/270/217-showcase-no-padding-1-snap.png +0 -0
  157. package/src/components/mozaic/buttons/MButton.stories.mdx +1 -1
  158. package/src/components/mozaic/buttons/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-button-/342/232/233/357/270/217-showcase-disabled-1-snap.png +0 -0
  159. package/src/components/mozaic/buttons/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-button-/342/232/233/357/270/217-showcase-icons-1-snap.png +0 -0
  160. package/src/components/mozaic/buttons/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-button-/342/232/233/357/270/217-showcase-label-1-snap.png +0 -0
  161. package/src/components/mozaic/buttons/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-button-/342/232/233/357/270/217-showcase-size-1-snap.png +0 -0
  162. package/src/components/mozaic/buttons/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-button-/342/232/233/357/270/217-showcase-theme-1-snap.png +0 -0
  163. package/src/components/mozaic/buttons/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-button-/342/232/233/357/270/217-showcase-width-1-snap.png +0 -0
  164. package/src/components/mozaic/checkbox/MCheckbox.stories.mdx +1 -1
  165. package/src/components/mozaic/checkbox/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-checkbox-/342/232/233/357/270/217-showcase-1-snap.png +0 -0
  166. package/src/components/mozaic/dialog/MDialog.stories.mdx +1 -1
  167. package/src/components/mozaic/dialog/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-dialog-/342/232/233/357/270/217-showcase-fullscreen-1-snap.png +0 -0
  168. package/src/components/mozaic/dialog/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-dialog-/342/232/233/357/270/217-showcase-height-max-height-1-snap.png +0 -0
  169. package/src/components/mozaic/dialog/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-dialog-/342/232/233/357/270/217-showcase-hide-cross-1-snap.png +0 -0
  170. package/src/components/mozaic/dialog/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-dialog-/342/232/233/357/270/217-showcase-hide-overlay-1-snap.png +0 -0
  171. package/src/components/mozaic/dialog/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-dialog-/342/232/233/357/270/217-showcase-scalability-1-snap.png +0 -0
  172. package/src/components/mozaic/dialog/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-dialog-/342/232/233/357/270/217-showcase-scalability-without-header-and-footer-1-snap.png +0 -0
  173. package/src/components/mozaic/dialog/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-dialog-/342/232/233/357/270/217-showcase-width-max-width-1-snap.png +0 -0
  174. package/src/components/mozaic/flag/MFlag.stories.mdx +1 -1
  175. package/src/components/mozaic/flag/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-flag-/342/232/233/357/270/217-showcase-label-1-snap.png +0 -0
  176. package/src/components/mozaic/flag/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-flag-/342/232/233/357/270/217-showcase-theme-1-snap.png +0 -0
  177. package/src/components/mozaic/flex/MFlex.stories.mdx +1 -1
  178. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-align-content-center-1-snap.png +0 -0
  179. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-align-content-flex-end-1-snap.png +0 -0
  180. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-align-content-flex-start-1-snap.png +0 -0
  181. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-align-content-space-around-1-snap.png +0 -0
  182. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-align-content-space-between-1-snap.png +0 -0
  183. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-align-items-baseline-1-snap.png +0 -0
  184. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-align-items-center-1-snap.png +0 -0
  185. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-align-items-flex-end-1-snap.png +0 -0
  186. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-align-items-flex-start-1-snap.png +0 -0
  187. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-align-items-stretch-1-snap.png +0 -0
  188. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-direction-column-1-snap.png +0 -0
  189. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-direction-row-1-snap.png +0 -0
  190. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-full-width-false-1-snap.png +0 -0
  191. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-full-width-true-1-snap.png +0 -0
  192. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-gap-1-snap.png +0 -0
  193. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-justify-content-center-1-snap.png +0 -0
  194. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-justify-content-flex-end-1-snap.png +0 -0
  195. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-justify-content-flex-start-1-snap.png +0 -0
  196. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-justify-content-space-around-1-snap.png +0 -0
  197. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-justify-content-space-between-1-snap.png +0 -0
  198. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-justify-content-space-evenly-1-snap.png +0 -0
  199. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-reverse-false-1-snap.png +0 -0
  200. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-reverse-true-1-snap.png +0 -0
  201. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-wrap-false-1-snap.png +0 -0
  202. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-wrap-reverse-1-snap.png +0 -0
  203. package/src/components/mozaic/flex/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-flex-m-flex-/342/232/233/357/270/217-showcase-wrap-true-1-snap.png +0 -0
  204. package/src/components/mozaic/grid/GridSystem.stories.mdx +1 -1
  205. package/src/components/mozaic/grid/MContainer.stories.mdx +1 -1
  206. package/src/components/mozaic/grid/MFlexy.stories.mdx +1 -1
  207. package/src/components/mozaic/grid/MFlexyCol.stories.mdx +1 -1
  208. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-m-flexy-col-/342/232/233/357/270/217-101-sandbox-1-snap.png +0 -0
  209. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-m-flexy-/342/232/233/357/270/217-101-sandbox-1-snap.png +0 -0
  210. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-m-flexy-/342/232/233/357/270/217-showcase-align-items-center-1-snap.png +0 -0
  211. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-m-flexy-/342/232/233/357/270/217-showcase-align-items-end-1-snap.png +0 -0
  212. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-m-flexy-/342/232/233/357/270/217-showcase-align-items-start-1-snap.png +0 -0
  213. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-m-flexy-/342/232/233/357/270/217-showcase-align-items-stretch-1-snap.png +0 -0
  214. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-m-flexy-/342/232/233/357/270/217-showcase-gutter-false-1-snap.png +0 -0
  215. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-m-flexy-/342/232/233/357/270/217-showcase-gutter-true-1-snap.png +0 -0
  216. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-m-flexy-/342/232/233/357/270/217-showcase-justify-content-default-1-snap.png +0 -0
  217. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-m-flexy-/342/232/233/357/270/217-showcase-justify-content-space-around-1-snap.png +0 -0
  218. package/src/components/mozaic/grid/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-layout-grid-/360/237/247/254-demo-1-snap.png +0 -0
  219. package/src/components/mozaic/heading/MHeading.stories.mdx +1 -1
  220. package/src/components/mozaic/heading/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-heading-/342/232/233/357/270/217-showcase-font-weight-1-snap.png +0 -0
  221. package/src/components/mozaic/heading/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-heading-/342/232/233/357/270/217-showcase-label-1-snap.png +0 -0
  222. package/src/components/mozaic/heading/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-heading-/342/232/233/357/270/217-showcase-size-1-snap.png +0 -0
  223. package/src/components/mozaic/heading/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-heading-/342/232/233/357/270/217-showcase-underline-color-1-snap.png +0 -0
  224. package/src/components/mozaic/heading/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-heading-/342/232/233/357/270/217-showcase-variant-1-snap.png +0 -0
  225. package/src/components/mozaic/icon/MIcon.stories.mdx +1 -1
  226. package/src/components/mozaic/icon/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-icon-/342/232/233/357/270/217-showcase-color-1-snap.png +0 -0
  227. package/src/components/mozaic/icon/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-icon-/342/232/233/357/270/217-showcase-hoverable-1-snap.png +0 -0
  228. package/src/components/mozaic/icon/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-icon-/342/232/233/357/270/217-showcase-icon-1-snap.png +0 -0
  229. package/src/components/mozaic/icon/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-icon-/342/232/233/357/270/217-showcase-size-1-snap.png +0 -0
  230. package/src/components/mozaic/image/MImage.stories.mdx +1 -1
  231. package/src/components/mozaic/image/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-image-/342/232/233/357/270/217-showcase-cover-1-snap.png +0 -0
  232. package/src/components/mozaic/image/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-image-/342/232/233/357/270/217-showcase-ratio-1-snap.png +0 -0
  233. package/src/components/mozaic/image/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-image-/342/232/233/357/270/217-showcase-src-1-snap.png +0 -0
  234. package/src/components/mozaic/layer/MLayer.stories.mdx +1 -1
  235. package/src/components/mozaic/layer/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-layer-/342/232/233/357/270/217-101-sandbox-1-snap.png +0 -0
  236. package/src/components/mozaic/link/MLink.stories.mdx +1 -1
  237. package/src/components/mozaic/link/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-link-/342/232/233/357/270/217-showcase-disabled-1-snap.png +0 -0
  238. package/src/components/mozaic/link/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-link-/342/232/233/357/270/217-showcase-icons-1-snap.png +0 -0
  239. package/src/components/mozaic/link/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-link-/342/232/233/357/270/217-showcase-label-1-snap.png +0 -0
  240. package/src/components/mozaic/link/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-link-/342/232/233/357/270/217-showcase-size-1-snap.png +0 -0
  241. package/src/components/mozaic/link/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-link-/342/232/233/357/270/217-showcase-theme-1-snap.png +0 -0
  242. package/src/components/mozaic/notifications/MNotification.stories.mdx +2 -1
  243. package/src/components/mozaic/notifications/MNotification.vue +35 -3
  244. package/src/components/mozaic/notifications/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-notification-/360/237/247/254-showcase-closable-1-snap.png +0 -0
  245. package/src/components/mozaic/notifications/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-notification-/360/237/247/254-showcase-closable-label-1-snap.png +0 -0
  246. package/src/components/mozaic/notifications/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-notification-/360/237/247/254-showcase-floating-1-snap.png +0 -0
  247. package/src/components/mozaic/notifications/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-notification-/360/237/247/254-showcase-link-href-1-snap.png +0 -0
  248. package/src/components/mozaic/notifications/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-notification-/360/237/247/254-showcase-link-label-1-snap.png +0 -0
  249. package/src/components/mozaic/notifications/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-notification-/360/237/247/254-showcase-text-1-snap.png +0 -0
  250. package/src/components/mozaic/notifications/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-notification-/360/237/247/254-showcase-title-1-snap.png +0 -0
  251. package/src/components/mozaic/notifications/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-notification-/360/237/247/254-showcase-type-1-snap.png +0 -0
  252. package/src/components/mozaic/radio/MRadio.stories.mdx +1 -1
  253. package/src/components/mozaic/radio/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-radio-/342/232/233/357/270/217-showcase-1-snap.png +0 -0
  254. package/src/components/mozaic/radio/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-radio-/342/232/233/357/270/217-showcase-radio-group-1-snap.png +0 -0
  255. package/src/components/mozaic/rating/MRating.stories.mdx +1 -1
  256. package/src/components/mozaic/rating/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-rating-/342/232/233/357/270/217-showcase-starts-input-1-snap.png +0 -0
  257. package/src/components/mozaic/rating/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-rating-/342/232/233/357/270/217-showcase-starts-result-1-snap.png +0 -0
  258. package/src/components/mozaic/rating/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-rating-/342/232/233/357/270/217-showcase-starts-size-1-snap.png +0 -0
  259. package/src/components/mozaic/select/MSelect.stories.mdx +1 -1
  260. package/src/components/mozaic/select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-select-/342/232/233/357/270/217-showcase-disabled-1-snap.png +0 -0
  261. package/src/components/mozaic/select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-select-/342/232/233/357/270/217-showcase-error-1-snap.png +0 -0
  262. package/src/components/mozaic/select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-select-/342/232/233/357/270/217-showcase-error-vs-info-1-snap.png +0 -0
  263. package/src/components/mozaic/select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-select-/342/232/233/357/270/217-showcase-hint-1-snap.png +0 -0
  264. package/src/components/mozaic/select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-select-/342/232/233/357/270/217-showcase-info-1-snap.png +0 -0
  265. package/src/components/mozaic/select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-select-/342/232/233/357/270/217-showcase-invalid-1-snap.png +0 -0
  266. package/src/components/mozaic/select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-select-/342/232/233/357/270/217-showcase-label-1-snap.png +0 -0
  267. package/src/components/mozaic/select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-select-/342/232/233/357/270/217-showcase-required-1-snap.png +0 -0
  268. package/src/components/mozaic/select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-select-/342/232/233/357/270/217-showcase-size-1-snap.png +0 -0
  269. package/src/components/mozaic/select/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-select-/342/232/233/357/270/217-showcase-valid-1-snap.png +0 -0
  270. package/src/components/mozaic/tabs/MTabs.stories.mdx +1 -1
  271. package/src/components/mozaic/tabs/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-tabs-/342/232/233/357/270/217-showcase-centered-1-snap.png +0 -0
  272. package/src/components/mozaic/tabs/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-tabs-/342/232/233/357/270/217-showcase-shadow-1-snap.png +0 -0
  273. package/src/components/mozaic/tag/MTag.stories.mdx +1 -1
  274. package/src/components/mozaic/tag/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-tag-/342/232/233/357/270/217-showcase-disabled-1-snap.png +0 -0
  275. package/src/components/mozaic/tag/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-tag-/342/232/233/357/270/217-showcase-label-1-snap.png +0 -0
  276. package/src/components/mozaic/tag/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-tag-/342/232/233/357/270/217-showcase-size-1-snap.png +0 -0
  277. package/src/components/mozaic/tag/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-tag-/342/232/233/357/270/217-showcase-tag-type-1-snap.png +0 -0
  278. package/src/components/mozaic/tag/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-tag-/342/232/233/357/270/217-showcase-theme-1-snap.png +0 -0
  279. package/src/components/mozaic/text-input/MTextInput.stories.mdx +1 -1
  280. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-disabled-1-snap.png +0 -0
  281. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-error-1-snap.png +0 -0
  282. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-error-vs-info-1-snap.png +0 -0
  283. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-hint-1-snap.png +0 -0
  284. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-icon-1-snap.png +0 -0
  285. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-info-1-snap.png +0 -0
  286. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-invalid-1-snap.png +0 -0
  287. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-label-1-snap.png +0 -0
  288. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-placeholder-1-snap.png +0 -0
  289. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-required-1-snap.png +0 -0
  290. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-size-1-snap.png +0 -0
  291. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-step-1-snap.png +0 -0
  292. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-type-1-snap.png +0 -0
  293. package/src/components/mozaic/text-input/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-text-input-/342/232/233/357/270/217-showcase-valid-1-snap.png +0 -0
  294. package/src/components/mozaic/textarea/MTextarea.stories.mdx +1 -1
  295. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-cols-1-snap.png +0 -0
  296. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-disabled-1-snap.png +0 -0
  297. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-error-1-snap.png +0 -0
  298. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-error-vs-info-1-snap.png +0 -0
  299. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-full-width-1-snap.png +0 -0
  300. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-hint-1-snap.png +0 -0
  301. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-info-1-snap.png +0 -0
  302. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-invalid-1-snap.png +0 -0
  303. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-label-1-snap.png +0 -0
  304. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-placeholder-1-snap.png +0 -0
  305. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-required-1-snap.png +0 -0
  306. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-resize-1-snap.png +0 -0
  307. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-rows-1-snap.png +0 -0
  308. package/src/components/mozaic/textarea/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-textarea-/342/232/233/357/270/217-showcase-valid-1-snap.png +0 -0
  309. package/src/components/mozaic/toggle/MToggle.stories.mdx +1 -1
  310. package/src/components/mozaic/toggle/MToggle.vue +3 -1
  311. package/src/components/mozaic/toggle/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-toggle-/342/232/233/357/270/217-showcase-disabled-1-snap.png +0 -0
  312. package/src/components/mozaic/toggle/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-toggle-/342/232/233/357/270/217-showcase-label-1-snap.png +0 -0
  313. package/src/components/mozaic/toggle/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-toggle-/342/232/233/357/270/217-showcase-size-1-snap.png +0 -0
  314. package/src/components/mozaic/toggle/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-mozaic-components-m-toggle-/342/232/233/357/270/217-showcase-value-1-snap.png +0 -0
  315. package/src/{pages/project → components}/onboarding/PbOnboarding.stories.js +4 -4
  316. package/src/{pages/project → components}/onboarding/PbOnboarding.vue +3 -3
  317. package/src/components/onboarding/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-onboarding-pb-onboarding-/360/237/246/240-showcase-1-snap.png +0 -0
  318. package/src/components/onboarding/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-onboarding-pb-onboarding-/360/237/246/240-try-it-1-snap.png +0 -0
  319. package/src/{pages/project → components}/onboarding/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-to-migrate-components-project-booster-pb-onboarding-showcase-1-snap.png +0 -0
  320. package/src/{pages/project → components}/onboarding/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-to-migrate-components-project-booster-pb-onboarding-try-it-1-snap.png +0 -0
  321. package/src/components/pedagogy/PbPedagogy.stories.mdx +1 -1
  322. package/src/components/products/PbProducts.stories.mdx +7 -7
  323. package/src/components/products/PbProducts.vue +54 -16
  324. package/src/components/progress/PbProgressBar.stories.mdx +1 -1
  325. package/src/components/progress/PbProgressBarHeader.stories.mdx +1 -1
  326. package/src/components/progress/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-progress-pb-progress-bar-header-/360/237/246/240-max-1-snap.png +0 -0
  327. package/src/components/progress/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-progress-pb-progress-bar-header-/360/237/246/240-min-1-snap.png +0 -0
  328. package/src/components/progress/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-progress-pb-progress-bar-/360/237/246/240-max-1-snap.png +0 -0
  329. package/src/components/progress/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-progress-pb-progress-bar-/360/237/246/240-min-1-snap.png +0 -0
  330. package/src/components/progression-price/PbProgressionPrice.stories.js +1 -1
  331. package/src/components/progression-price/PbProgressionPrice.vue +1 -1
  332. package/src/components/progression-price/PbProgressionPriceBar.stories.js +1 -1
  333. package/src/components/progression-price/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-progress-pb-progression-price-bar-/360/237/246/240-showcase-1-snap.png +0 -0
  334. package/src/components/progression-price/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-progress-pb-progression-price-bar-/360/237/246/240-try-it-1-snap.png +0 -0
  335. package/src/components/progression-price/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-progress-pb-progression-price-/360/237/246/240-showcase-1-snap.png +0 -0
  336. package/src/components/progression-price/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-progress-pb-progression-price-/360/237/246/240-showcase-scaled-1-snap.png +0 -0
  337. package/src/components/progression-price/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-progress-pb-progression-price-/360/237/246/240-try-it-1-snap.png +0 -0
  338. package/src/components/projects/project-attributes/PbProjectAttribute.vue +84 -0
  339. package/src/components/projects/project-attributes/PbProjectAttributes.stories.mdx +70 -0
  340. package/src/components/projects/project-attributes/PbProjectAttributes.vue +129 -0
  341. package/src/{pages/project → components/projects}/project-connect/PbProjectConnect.stories.js +1 -1
  342. package/src/{pages/project → components/projects}/project-connect/PbProjectConnect.vue +0 -0
  343. package/src/components/projects/project-connect/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-projects-pb-project-connect-/360/237/246/240-showcase-1-snap.png +0 -0
  344. package/src/{pages/project → components/projects}/project-connect/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-to-migrate-components-project-booster-pb-project-connect-showcase-1-snap.png +0 -0
  345. package/src/{pages/project → components/projects}/project-created/PbProjectCreated.vue +0 -0
  346. package/src/{pages/project → components/projects}/project-created/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-to-migrate-components-project-booster-pb-project-created-showcase-1-snap.png +0 -0
  347. package/src/components/projects/project-hub/PbProjectHub-Collaborator.stories.mdx +322 -0
  348. package/src/components/projects/project-hub/PbProjectHub-Features-Appointment.stories.mdx +127 -0
  349. package/src/components/projects/project-hub/PbProjectHub-Features-Categories.stories.mdx +132 -0
  350. package/src/components/projects/project-hub/PbProjectHub-Features-Configurations.stories.mdx +237 -0
  351. package/src/components/projects/project-hub/PbProjectHub-Features-Documents&Media.stories.mdx +281 -0
  352. package/src/components/projects/project-hub/PbProjectHub-Features-Estimates.stories.mdx +166 -0
  353. package/src/components/projects/project-hub/PbProjectHub-Features-Planner.stories.mdx +122 -0
  354. package/src/components/projects/project-hub/PbProjectHub-Features-Project-Attributes.stories.mdx +101 -0
  355. package/src/components/projects/project-hub/PbProjectHub-Features-Project.stories.mdx +135 -0
  356. package/src/components/projects/project-hub/PbProjectHub-Features-Tools.stories.mdx +154 -0
  357. package/src/components/projects/project-hub/PbProjectHub.stories.mdx +504 -0
  358. package/src/{pages/project → components/projects}/project-hub/PbProjectHub.vue +388 -108
  359. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-features-categories-showcase-add-categories-1-snap.png +0 -0
  360. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-features-categories-showcase-with-categories-1-snap.png +0 -0
  361. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-features-media-showcase-with-media-1-snap.png +0 -0
  362. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-showcase-with-categories-1-snap.png +0 -0
  363. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-showcase-with-estimate-save-1-snap.png +0 -0
  364. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-showcase-with-media-1-snap.png +0 -0
  365. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-showcase-without-configurations-1-snap.png +0 -0
  366. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-showcase-without-configurators-1-snap.png +0 -0
  367. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-showcase-without-estimates-1-snap.png +0 -0
  368. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-showcase-without-estimators-1-snap.png +0 -0
  369. package/src/{pages/project → components/projects}/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-/360/237/246/240-pb-project-hub-showcase-without-loading-1-snap.png +0 -0
  370. package/src/{pages/project → components/projects}/project-hub/plannerTask.json +0 -0
  371. package/src/components/{project-item-save → projects/project-item-save}/PbProjectItemSave.stories.mdx +23 -12
  372. package/src/components/{project-item-save → projects/project-item-save}/PbProjectItemSave.vue +8 -9
  373. package/src/components/{project-item-save → projects/project-item-save}/PbProjectItemSaveName.vue +6 -6
  374. package/src/components/{project-item-save → projects/project-item-save}/PbProjectItemSaveProjectsList.vue +17 -7
  375. package/src/components/{project-item-save → projects/project-item-save}/default-payload.json +0 -0
  376. package/src/components/{project-save → projects/project-save}/PbProjectSave.stories.js +6 -4
  377. package/src/components/{project-save → projects/project-save}/PbProjectSave.vue +5 -5
  378. package/src/components/projects/projects/PbProjects.stories.mdx +117 -0
  379. package/src/{pages/project → components/projects}/projects/PbProjects.vue +1 -3
  380. package/src/components/projects/projects-list/PbProjectsList.stories.mdx +104 -0
  381. package/src/{pages/project → components/projects}/projects-list/PbProjectsList.vue +20 -42
  382. package/src/{pages/project → components/projects}/projects-list/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-to-migrate-components-project-booster-pb-projects-list-showcase-empty-1-snap.png +0 -0
  383. package/src/{pages/project → components/projects}/projects-list/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-to-migrate-components-project-booster-pb-projects-list-showcase-error-1-snap.png +0 -0
  384. package/src/{pages/project → components/projects}/projects-list/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-to-migrate-components-project-booster-pb-projects-list-showcase-with-projects-1-snap.png +0 -0
  385. package/src/{pages/project/projects → components/projects/projects-list}/projects-list.json +1 -1
  386. package/src/components/question/PbQuestion-Demo-Footer.stories.mdx +1 -1
  387. package/src/components/question/PbQuestion-Demo-Multiple.stories.mdx +1 -1
  388. package/src/components/question/PbQuestion-Demo-Simple.stories.mdx +1 -1
  389. package/src/components/question/PbQuestion-Features-Answers-Buttons.stories.mdx +1 -1
  390. package/src/components/question/PbQuestion-Features-Answers-Conditional.stories.mdx +1 -1
  391. package/src/components/question/PbQuestion-Features-Answers-Custom-width.stories.mdx +1 -1
  392. package/src/components/question/PbQuestion-Features-Answers-Decorated.stories.mdx +1 -1
  393. package/src/components/question/PbQuestion-Features-Answers-Disabled.stories.mdx +1 -1
  394. package/src/components/question/PbQuestion-Features-Answers-Multiple-Skippable.stories.mdx +1 -1
  395. package/src/components/question/PbQuestion-Features-Answers-Multiple.stories.mdx +1 -1
  396. package/src/components/question/PbQuestion-Features-Answers-Next-step.stories.mdx +1 -1
  397. package/src/components/question/PbQuestion-Features-Question-101.stories.mdx +1 -1
  398. package/src/components/question/PbQuestion-Features-Question-Custom-back-button.stories.mdx +1 -1
  399. package/src/components/question/PbQuestion-Features-Question-Decorator-stripe.stories.mdx +1 -1
  400. package/src/components/question/PbQuestion-Features-Question-Footer.stories.mdx +1 -1
  401. package/src/components/question/PbQuestion-Features-Question-Show-more.stories.mdx +1 -1
  402. package/src/components/question/PbQuestion-Features-Question-Skippable.stories.mdx +1 -1
  403. package/src/components/question/PbQuestion-Features-Question-Without-Subtitle.stories.mdx +1 -1
  404. package/src/components/question/PbQuestion.stories.mdx +1 -1
  405. package/src/components/question/PbQuestion.vue +1 -1
  406. package/src/components/question/amount-input/PbAmountInput.stories.mdx +1 -1
  407. package/src/components/question/dimensions-input/PbDimensionsInput.stories.mdx +1 -1
  408. package/src/components/question/list-select/PbListSelect-Answers-Multiple.stories.mdx +1 -1
  409. package/src/components/question/list-select/PbListSelect-Answers-NextStep.stories.mdx +1 -1
  410. package/src/components/question/list-select/PbListSelect-Answers-ShowMore.stories.mdx +1 -1
  411. package/src/components/question/list-select/PbListSelect-Answers-Single.stories.mdx +1 -1
  412. package/src/components/question/list-select/PbListSelect-Answers-Skippable.stories.mdx +1 -1
  413. package/src/components/question/list-select/PbListSelect.stories.mdx +1 -1
  414. package/src/components/question/login-redirect/PbLoginRedirect.stories.mdx +1 -1
  415. package/src/components/question/name-input/PbNameInput.stories.mdx +1 -1
  416. package/src/components/question/space-input/PbSpaceInput.stories.mdx +1 -1
  417. package/src/components/question/upload-document/PbUploadDocument-Features-ShowMore.stories.mdx +1 -1
  418. package/src/components/question/upload-document/PbUploadDocument.stories.mdx +7 -7
  419. package/src/components/question/upload-document/PbUploadDocument.vue +4 -4
  420. package/src/components/restitution/PbRestitution.stories.mdx +84 -79
  421. package/src/components/restitution/PbRestitution.vue +3 -3
  422. package/src/components/restitution/PbRestitutionBody.stories.mdx +1 -1
  423. package/src/components/restitution/PbRestitutionBody.vue +3 -3
  424. package/src/components/scenario/PbScenario-Demo-Project.stories.js +1 -1
  425. package/src/components/scenario/PbScenario-Demo-Russia-Project.stories.js +1 -1
  426. package/src/components/scenario/PbScenario-Features-101.stories.mdx +1 -1
  427. package/src/components/scenario/PbScenario-Features-Conditional.stories.mdx +1 -1
  428. package/src/components/scenario/PbScenario-Features-Nested.stories.mdx +1 -1
  429. package/src/components/scenario/PbScenario-Features-Rehydration.stories.mdx +1 -1
  430. package/src/components/scenario/PbScenario-Features-Reset.stories.mdx +1 -1
  431. package/src/components/scenario/PbScenario-Features-Slot.stories.mdx +1 -1
  432. package/src/components/scenario/PbScenario-Features-Test.stories.mdx +1 -1
  433. package/src/components/scenario/PbScenario-Test-Project.stories.js +1 -1
  434. package/src/components/scenario/PbScenario.stories.mdx +9 -10
  435. package/src/components/scenario/PbScenario.vue +5 -4
  436. package/src/components/sticky-footer/PbStickyFooter.stories.mdx +1 -1
  437. package/src/components/sticky-footer/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-ui-pb-sticky-footer-/360/237/246/240-101-sandbox-1-snap.png +0 -0
  438. package/src/components/tasks/PbTasks.stories.mdx +57 -35
  439. package/src/components/tasks/PbTasks.vue +18 -13
  440. package/src/components/tasks/PbTasksPage.vue +16 -2
  441. package/src/components/tasks/contentul-preview/PbTasksContentfulPreview.stories.mdx +10 -3
  442. package/src/components/tasks/contentul-preview/PbTasksContentfulPreview.vue +7 -7
  443. package/src/components/tasks/details/PbTaskDetails-Features-101.stories.mdx +1 -1
  444. package/src/components/tasks/details/PbTaskDetails-Features-Form.stories.mdx +1 -1
  445. package/src/components/tasks/details/PbTaskDetails-Features-ReadOnly.stories.mdx +1 -1
  446. package/src/components/tasks/details/PbTaskDetails.vue +13 -5
  447. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-form-demo-card-select-1-snap.png +0 -0
  448. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-form-demo-select-1-snap.png +0 -0
  449. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-form-demo-text-input-1-snap.png +0 -0
  450. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-form-demo-textarea-1-snap.png +0 -0
  451. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-completions-1-snap.png +0 -0
  452. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-section-bullets-1-snap.png +0 -0
  453. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-section-card-links-1-snap.png +0 -0
  454. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-section-image-1-snap.png +0 -0
  455. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-section-image-banner-1-snap.png +0 -0
  456. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-section-links-1-snap.png +0 -0
  457. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-section-multiple-card-links-1-snap.png +0 -0
  458. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-section-multiple-links-1-snap.png +0 -0
  459. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-section-one-link-1-snap.png +0 -0
  460. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-section-text-1-snap.png +0 -0
  461. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-section-title-1-snap.png +0 -0
  462. package/src/components/tasks/details/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-task-details-/360/237/246/240-read-only-demo-title-1-snap.png +0 -0
  463. package/src/components/tasks/list/PbTasksList.vue +7 -0
  464. package/src/components/tasks/list/PbTasksLists.stories.mdx +1 -1
  465. package/src/components/tasks/list/__snapshots__/storyshots-puppeteer-test-puppeteer-js-image-storyshots-project-booster-components-tasks-pb-tasks-list-/360/237/247/254-101-sandbox-1-snap.png +0 -0
  466. package/src/components/tasks/preview/PbTasksPreview.stories.mdx +45 -26
  467. package/src/components/tasks/preview/PbTasksPreview.vue +33 -23
  468. package/src/docs/02 - Components/02 - Progress bars/01 - Price/02 - Progression price bar.stories.mdx +1 -1
  469. package/src/docs/03 - Pages/01 - Project/04 - Projects list.stories.mdx +1 -1
  470. package/src/docs/03 - Pages/01 - Project/05 - Project save.stories.mdx +2 -2
  471. package/src/docs/03 - Pages/01 - Project/06 - Project hub.stories.mdx +1 -1
  472. package/src/docs/03 - Pages/01 - Project/07 - Projects.stories.mdx +1 -1
  473. package/src/firebase-init.js +28 -21
  474. package/src/{service/api/appointmentQualificationApi.js → services/api/appointmentQualificationsApi.js} +13 -2
  475. package/src/services/api/configApi.js +13 -0
  476. package/src/services/api/configurationsApi.js +46 -0
  477. package/src/services/api/documentsApi.js +54 -0
  478. package/src/services/api/estimatesApi.js +57 -0
  479. package/src/services/api/eventsApi.js +64 -0
  480. package/src/services/api/inhabitantsApi.js +12 -0
  481. package/src/{service → services}/api/mediaApi.js +18 -2
  482. package/src/{service → services}/api/mocks/commonMock.js +8 -0
  483. package/src/services/api/mocks/configurationsMock.js +48 -0
  484. package/src/services/api/mocks/documentsMock.js +64 -0
  485. package/src/services/api/mocks/estimatesMock.js +48 -0
  486. package/src/services/api/mocks/inhabitantsMock.js +9 -0
  487. package/src/{components/configurations/configurations-list.json → services/api/mocks/jsons/configurations.json} +1 -1
  488. package/src/services/api/mocks/jsons/documents.json +119 -0
  489. package/src/services/api/mocks/jsons/estimates.json +925 -0
  490. package/src/{service → services}/api/mocks/jsons/products.json +0 -0
  491. package/src/{pages/project/projects-list/projects-list.json → services/api/mocks/jsons/projects.json} +73 -4
  492. package/src/services/api/mocks/jsons/tools.json +154 -0
  493. package/src/{service → services}/api/mocks/mediaMock.js +41 -2
  494. package/src/{service/api/mocks/productMock.js → services/api/mocks/productsMock.js} +27 -2
  495. package/src/services/api/mocks/projectsMock.js +62 -0
  496. package/src/services/api/mocks/toolsMock.js +17 -0
  497. package/src/{service/api/productApi.js → services/api/productsApi.js} +31 -5
  498. package/src/services/api/projectsApi.js +87 -0
  499. package/src/services/api/toolsApi.js +12 -0
  500. package/src/{service → services}/computeAllCombinations.js +0 -0
  501. package/src/{service → services}/delayFormatter.js +0 -0
  502. package/src/{service → services}/metadata.js +0 -0
  503. package/src/{service → services}/priceFormatter.js +0 -0
  504. package/src/{service → services}/scenarioConditionals.js +0 -0
  505. package/src/{store → stores}/modules/appointmentQualificationStore.js +6 -4
  506. package/src/{store → stores}/modules/categoriesStore.js +20 -2
  507. package/src/stores/modules/configurationsStore.js +282 -0
  508. package/src/stores/modules/documentsStore.js +501 -0
  509. package/src/stores/modules/estimatesStore.js +267 -0
  510. package/src/stores/modules/inhabitantsStore.js +58 -0
  511. package/src/{store → stores}/modules/mediaStore.js +101 -45
  512. package/src/{store → stores}/modules/metadataStore.js +4 -1
  513. package/src/stores/modules/plannerStore.js +295 -0
  514. package/src/stores/modules/projectsStore.js +745 -0
  515. package/src/stores/modules/toolsStore.js +84 -0
  516. package/src/stores/store.js +35 -0
  517. package/src/components/configurations/search/PbConfigurationsSearchStore.js +0 -186
  518. package/src/components/configurations/section/PbConfigurationsSectionStore.js +0 -179
  519. package/src/components/estimates/store.js +0 -110
  520. package/src/components/project-item-save/PbProjectItemSaveStore.js +0 -250
  521. package/src/components/project-item-save/projects-list.json +0 -79
  522. package/src/pages/project/project-created/PbProjectCreated.stories.js +0 -60
  523. package/src/pages/project/project-details/PbProjectDetails.stories.js +0 -0
  524. package/src/pages/project/project-hub/PbProjectHub-Features-Categories.stories.mdx +0 -180
  525. package/src/pages/project/project-hub/PbProjectHub-Features-Media.stories.mdx +0 -108
  526. package/src/pages/project/project-hub/PbProjectHub.stories.mdx +0 -416
  527. package/src/pages/project/project-hub/project.json +0 -41
  528. package/src/pages/project/project-hub/tools-no-configurators.json +0 -14
  529. package/src/pages/project/project-hub/tools-no-estimators.json +0 -21
  530. package/src/pages/project/project-hub/tools.json +0 -112
  531. package/src/pages/project/projects/PbProjects.stories.js +0 -1424
  532. package/src/pages/project/projects-list/PbProjectsList.stories.js +0 -358
  533. package/src/service/api/documentApi.js +0 -26
  534. package/src/service/api/eventApi.js +0 -30
  535. package/src/service/api/mocks/documentMock.js +0 -15
  536. package/src/store/modules/configurationStore.js +0 -0
  537. package/src/store/modules/documentStore.js +0 -216
  538. package/src/store/modules/estimateStore.js +0 -0
  539. package/src/store/modules/plannerStore.js +0 -192
  540. package/src/store/modules/projectStore.js +0 -783
  541. package/src/store/store.js +0 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "8.116.0",
3
+ "version": "8.117.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "test:unit": "vue-cli-service test:unit --forceExit --detectOpenHandles",
@@ -40,11 +40,13 @@
40
40
  "core-js": "3.19.1",
41
41
  "date-fns": "2.22.1",
42
42
  "firebase": "8.6.7",
43
+ "he": "1.2.0",
43
44
  "hooper": "nicoinch/hooper#1.0.5",
44
45
  "lodash.clonedeep": "4.5.0",
45
46
  "lodash.debounce": "4.0.8",
46
47
  "lodash.isempty": "4.4.0",
47
48
  "lodash.isequal": "4.5.0",
49
+ "lodash.merge": "4.6.2",
48
50
  "lodash.uniqby": "4.7.0",
49
51
  "mitt": "3.0.0",
50
52
  "object-hash": "2.2.0",
@@ -58,7 +60,6 @@
58
60
  "vue-router": "4.0.12",
59
61
  "vue3-cookies": "1.0.6",
60
62
  "vuex": "4.0.2",
61
- "vuexfire": "3.2.5",
62
63
  "yarn": "1.22.10",
63
64
  "yup": "0.32.9"
64
65
  },
@@ -74,21 +75,21 @@
74
75
  "@mswjs/interceptors": "0.12.7",
75
76
  "@semantic-release/changelog": "5.0.1",
76
77
  "@semantic-release/git": "9.0.0",
77
- "@storybook/addon-a11y": "6.3.12",
78
- "@storybook/addon-essentials": "6.3.12",
78
+ "@storybook/addon-a11y": "6.4.12",
79
+ "@storybook/addon-essentials": "6.4.12",
79
80
  "@storybook/addon-knobs": "6.3.1",
80
- "@storybook/addon-links": "6.3.12",
81
+ "@storybook/addon-links": "6.4.12",
81
82
  "@storybook/addon-postcss": "2.0.0",
82
- "@storybook/addon-storyshots": "6.3.12",
83
- "@storybook/addon-storyshots-puppeteer": "6.3.12",
84
- "@storybook/addon-storysource": "6.3.12",
85
- "@storybook/addons": "6.3.12",
86
- "@storybook/builder-webpack5": "6.3.12",
87
- "@storybook/manager-webpack5": "6.3.12",
88
- "@storybook/source-loader": "6.3.12",
83
+ "@storybook/addon-storyshots": "6.4.12",
84
+ "@storybook/addon-storyshots-puppeteer": "6.4.12",
85
+ "@storybook/addon-storysource": "6.4.12",
86
+ "@storybook/addons": "6.4.12",
87
+ "@storybook/builder-webpack5": "6.4.12",
88
+ "@storybook/manager-webpack5": "6.4.12",
89
+ "@storybook/source-loader": "6.4.12",
89
90
  "@storybook/storybook-deployer": "2.8.10",
90
- "@storybook/theming": "6.3.12",
91
- "@storybook/vue3": "6.3.12",
91
+ "@storybook/theming": "6.4.12",
92
+ "@storybook/vue3": "6.4.12",
92
93
  "@testing-library/jest-dom": "5.14.1",
93
94
  "@testing-library/vue": "6.4.2",
94
95
  "@vue/cli": "5.0.0-beta.7",
@@ -104,22 +105,25 @@
104
105
  "babel-eslint": "10.1.0",
105
106
  "babel-jest": "26.6.3",
106
107
  "babel-loader": "8.2.2",
108
+ "babel-plugin-require-context-hook": "1.0.0",
107
109
  "babel-plugin-transform-require-context": "0.1.1",
108
110
  "chalk": "4.1.1",
109
111
  "dedent": "0.7.0",
110
112
  "eslint": "7.28.0",
111
113
  "eslint-loader": "4.0.2",
112
- "eslint-plugin-prettier": "3.4.0",
114
+ "eslint-plugin-mdx": "1.16.0",
115
+ "eslint-plugin-prettier": "4.0.0",
116
+ "eslint-plugin-storybook": "0.5.5",
113
117
  "eslint-plugin-vue": "7.11.1",
114
118
  "fluent-schema": "1.1.0",
115
119
  "husky": "6.0.0",
116
120
  "msw": "0.35.0",
117
- "msw-storybook-addon": "1.4.1",
121
+ "msw-storybook-addon": "1.5.0",
118
122
  "mutationobserver-shim": "0.3.7",
119
123
  "postcss": "8.3.11",
120
124
  "postcss-loader": "4.2.0",
121
125
  "postcss-scss": "4.0.1",
122
- "prettier": "2.3.1",
126
+ "prettier": "2.5.0",
123
127
  "pretty-quick": "3.1.1",
124
128
  "puppeteer": "10.4.0",
125
129
  "semantic-release": "17.4.4",
@@ -2,7 +2,7 @@ import { Meta, Canvas, Story, ArgsTable } from '@storybook/addon-docs';
2
2
  import PbProjectsLandingAnimation from './PbProjectsLandingAnimation';
3
3
 
4
4
  <Meta
5
- title="Project Booster/Components/ 🦠 Landing/ 🦠 PbProjectsLandingAnimation"
5
+ title="Project Booster/Components/Landing/PbProjectsLandingAnimation 🦠"
6
6
  component={PbProjectsLandingAnimation}
7
7
  argTypes={{
8
8
  buttonClick: { action: 'Button clicked' },
@@ -4,15 +4,15 @@ import { Anchor, Story, Preview, Meta, Props, ArgsTable, Source, Canvas } from '
4
4
  import DEFAULT_PAYLOAD from './default-payload';
5
5
  import SELECTED_SCENARIOS from './default-selected-scenarios';
6
6
  import { nestedAppDecorator } from '../../../.storybook/nested-app-decorator';
7
- import documentStore from '../../store/modules/documentStore';
8
- import appointmentQualificationStore from '../../store/modules/appointmentQualificationStore';
9
- import PbUploadDocumentForm from '../question/upload-document/PbUploadDocumentForm';
7
+ import documentsStore from '../../stores/modules/documentsStore';
8
+ import appointmentQualificationStore from '../../stores/modules/appointmentQualificationStore';
9
+ import PbUploadDocumentForm from '../media/upload/PbUploadDocumentForm';
10
10
  import { rest } from 'msw';
11
- import { acceptedResolver } from '../../service/api/mocks/commonMock';
12
- import { documentThumbnailResolver, uploadDocumentResolver } from '../../service/api/mocks/documentMock';
11
+ import { acceptedResolver } from '../../services/api/mocks/commonMock';
12
+ import { documentThumbnailResolver, uploadDocumentResolver } from '../../services/api/mocks/documentsMock';
13
13
 
14
14
  <Meta
15
- title="Project Booster/Components/ 🦠 PbAppointment"
15
+ title="Project Booster/Components/Appointment qualification/PbAppointment 🦠"
16
16
  component={PbAppointment}
17
17
  parameters={{
18
18
  layout: 'fullscreen',
@@ -22,7 +22,7 @@ import { documentThumbnailResolver, uploadDocumentResolver } from '../../service
22
22
  {
23
23
  modules: {
24
24
  appointmentQualification: appointmentQualificationStore,
25
- document: documentStore,
25
+ documents: documentsStore,
26
26
  },
27
27
  mutations: {
28
28
  eventBusSendEvent(state, { code, payload }) {
@@ -9,7 +9,7 @@
9
9
  subtitle-loading="Nous recherchons votre page"
10
10
  retry-button-label="Réessayer"
11
11
  :state="createProjectError ? 'error' : 'loading'"
12
- @click="$store.dispatch('appointmentQualification/checkAppointmentQualification')"
12
+ @click-loader="$store.dispatch('appointmentQualification/checkAppointmentQualification')"
13
13
  />
14
14
  <m-flex v-else full-width align-items="center" justify-content="center" direction="column">
15
15
  <pb-scenario :scenarios="scenarios" min-height="100vh" @scenario-event="handleEvent"></pb-scenario>
@@ -4,7 +4,7 @@ import { nestedAppDecorator } from '../../../.storybook/nested-app-decorator';
4
4
  import PbAppointmentStartSection from './PbAppointmentStartSection';
5
5
 
6
6
  <Meta
7
- title="Project Booster/Components/ 🦠 PbAppointmentStartSection"
7
+ title="Project Booster/Components/Appointment qualification/ PbAppointmentStartSection 🦠"
8
8
  component={PbAppointmentStartSection}
9
9
  argTypes={{
10
10
  payload: {
@@ -1,7 +1,7 @@
1
1
  import cloneDeep from 'lodash.clonedeep';
2
2
  import isEqual from 'lodash.isequal';
3
3
  import { Meta, Canvas, Story, ArgsTable } from '@storybook/addon-docs';
4
- import { computeAllCombinations } from '../../service/computeAllCombinations';
4
+ import { computeAllCombinations } from '../../services/computeAllCombinations';
5
5
  import PbCard, { PB_CARD_VALIDATOR } from './PbCard';
6
6
  import { M_FLEX_VALIDATOR } from '../mozaic/flex/MFlex';
7
7
 
@@ -29,7 +29,7 @@ export const HTML_STRING = `HTML string:
29
29
  </span>`;
30
30
 
31
31
  <Meta
32
- title="Project Booster/Components/ 🦠 PbCard"
32
+ title="Project Booster/Components/Cards/PbCard 🧬"
33
33
  component={PbCard}
34
34
  argTypes={{
35
35
  cardMinRatio: {
@@ -6,7 +6,7 @@ import CARDS_LIST_3 from './3-cards-list';
6
6
  import CARDS_LIST_4 from './4-cards-list';
7
7
 
8
8
  <Meta
9
- title="Project Booster/Components/ 🦠 PbCardsList"
9
+ title="Project Booster/Components/Cards/PbCardsList 🧬"
10
10
  component={PbCardsList}
11
11
  decorators={[nestedAppDecorator({}, [])]}
12
12
  />
@@ -23,7 +23,7 @@ export const CARDS_SELECT_OPTIONS = [
23
23
  },
24
24
  ];
25
25
 
26
- <Meta title="Project Booster/Components/ 🦠 PbCardsSelect" component={PbCardsSelect} argsType={{}} />
26
+ <Meta title="Project Booster/Components/Cards/PbCardsSelect 🦠" component={PbCardsSelect} argsType={{}} />
27
27
 
28
28
  # 🦠 `PbCardsSelect` - Component
29
29
 
@@ -2,7 +2,7 @@ import { Meta, Canvas, Story, ArgsTable } from '@storybook/addon-docs';
2
2
  import PbCarousel from './PbCarousel';
3
3
 
4
4
  <Meta
5
- title="Project Booster/Components/ 🦠 PbCarousel"
5
+ title="Project Booster/Components/UI/PbCarousel 🦠"
6
6
  component={PbCarousel}
7
7
  argTypes={{
8
8
  handleClick: { action: 'Click on card' },
@@ -3,21 +3,23 @@ import { useStore } from 'vuex';
3
3
  import PbCategories from './PbCategories';
4
4
  import PbProducts from '../products/PbProducts';
5
5
  import { Meta, Canvas, Story } from '@storybook/addon-docs';
6
- import categoriesStore from '../../store/modules/categoriesStore';
7
- import metadataStore from '../../store/modules/metadataStore';
6
+ import categoriesStore from '../../stores/modules/categoriesStore';
7
+ import metadataStore from '../../stores/modules/metadataStore';
8
+ import projectsStore from '../../stores/modules/projectsStore';
8
9
  import { v4 as uuidv4 } from 'uuid';
9
10
  import { rest } from 'msw';
11
+ import { getProjectByIdResolver } from '../../services/api/mocks/projectsMock';
10
12
  import {
11
13
  getEmptyWorkKindsByProjectIdResolver,
12
14
  getProductsByWorkKindResolver,
13
15
  getWorkKindsByProjectIdResolver,
14
16
  saveWorkKindResolver,
15
- workKindByProjectTypeResolver,
16
- } from '../../service/api/mocks/productMock';
17
- import { internalServerErrorResolver } from '../../service/api/mocks/commonMock';
17
+ getWorkKindByProjectTypeResolver,
18
+ } from '../../services/api/mocks/productsMock';
19
+ import { internalServerErrorResolver } from '../../services/api/mocks/commonMock';
18
20
 
19
21
  <Meta
20
- title="Project Booster/Components/ 🦠 PbCategories"
22
+ title="Project Booster/Components/Products categories/PbCategories 🦠"
21
23
  component={PbCategories}
22
24
  parameters={{
23
25
  layout: 'fullscreen',
@@ -28,21 +30,7 @@ import { internalServerErrorResolver } from '../../service/api/mocks/commonMock'
28
30
  modules: {
29
31
  categories: categoriesStore,
30
32
  metadata: metadataStore,
31
- project: {
32
- // TO REMOVE ONCE PROJECT STORE IS MIGRATE HERE
33
- state: {
34
- project: {
35
- name: 'ProjectName',
36
- projectType: { href: '/project-types/61683' },
37
- id: uuidv4(),
38
- },
39
- },
40
- getters: {
41
- getProject(state) {
42
- return state.project;
43
- },
44
- },
45
- },
33
+ projects: projectsStore,
46
34
  },
47
35
  mutations: {
48
36
  eventBusSendEvent(state, { code, payload }) {
@@ -57,16 +45,26 @@ import { internalServerErrorResolver } from '../../service/api/mocks/commonMock'
57
45
  },
58
46
  [
59
47
  {
60
- name: 'PbCategories',
61
- path: '/',
48
+ name: 'Home',
49
+ redirect: '/projects/001',
50
+ },
51
+ {
52
+ name: 'ProjectHub',
53
+ path: '/projects/:projectId',
62
54
  component: PbCategories,
55
+ beforeEnter: async (to, from, next, store) => {
56
+ await store.dispatch('projects/loadProject', '001');
57
+ store.dispatch('categories/loadCategories', store.state.projects.project);
58
+ store.dispatch('categories/loadPreselectedCategories', store.state.projects.project);
59
+ next();
60
+ },
63
61
  },
64
62
  {
65
63
  name: 'PbProducts',
66
64
  path: '/projects/:projectId/categories/:categoryId/products',
67
65
  component: PbProducts,
68
66
  beforeEnter: async (to, from, next, store) => {
69
- await store.dispatch('categories/loadProductsByWorkKind', {
67
+ store.dispatch('categories/loadProductsByWorkKind', {
70
68
  workKindId: to?.params?.categoryId,
71
69
  storeId: '012',
72
70
  });
@@ -78,6 +76,15 @@ import { internalServerErrorResolver } from '../../service/api/mocks/commonMock'
78
76
  ]}
79
77
  />
80
78
 
79
+ export const TemplateSandbox = (args, { argTypes }) => ({
80
+ props: Object.keys(argTypes),
81
+ template: `<div style="margin: 0 auto;min-height: 100vh;width: 100%;">
82
+ <router-view v-slot="{ Component }">
83
+ <component :is="Component" :key="$route.fullPath" />
84
+ </router-view>
85
+ </div>`,
86
+ });
87
+
81
88
  # 🦠 `PbCategories` - Component
82
89
 
83
90
  The `PbCategories` component to display categories.
@@ -90,26 +97,15 @@ The `PbCategories` component to display categories.
90
97
  parameters={{
91
98
  controls: { disable: true },
92
99
  msw: [
93
- rest.get('/api/project-types/:projectTypeId/work-kinds', workKindByProjectTypeResolver),
100
+ rest.get('/api/inhabitant-projects/:projectId', getProjectByIdResolver),
101
+ rest.get('/api/project-types/:projectTypeId/work-kinds', getWorkKindByProjectTypeResolver),
94
102
  rest.get('/api/inhabitant-projects/:inhabitantProjectId/work-kinds', getEmptyWorkKindsByProjectIdResolver),
95
103
  rest.put('/api/inhabitant-projects/:inhabitantProjectId/work-kinds', saveWorkKindResolver),
96
104
  ],
97
105
  }}
98
106
  height="512px"
99
107
  >
100
- {{
101
- components: { PbCategories },
102
- setup() {
103
- const store = useStore();
104
- store.dispatch('categories/loadCategories', store.state.project.project);
105
- store.dispatch('categories/loadPreselectedCategories', store.state.project.project);
106
- },
107
- template: ` <div style='flex-direction: column;display: flex;justify-content: center;align-items: center;width: 60vw;margin: 0 auto;'>
108
- <router-view v-slot="{ Component }">
109
- <component :is="Component" :key="$route.fullPath" />
110
- </router-view>
111
- </div>`,
112
- }}
108
+ {TemplateSandbox.bind({})}
113
109
  </Story>
114
110
  </Canvas>
115
111
 
@@ -121,25 +117,14 @@ The `PbCategories` component to display categories.
121
117
  parameters={{
122
118
  controls: { disable: true },
123
119
  msw: [
120
+ rest.get('/api/inhabitant-projects/:projectId', getProjectByIdResolver),
124
121
  rest.get('/api/project-types/:projectTypeId/work-kinds', internalServerErrorResolver),
125
122
  rest.get('/api/inhabitant-projects/:inhabitantProjectId/work-kinds', getEmptyWorkKindsByProjectIdResolver),
126
123
  ],
127
124
  }}
128
125
  height="512px"
129
126
  >
130
- {{
131
- components: { PbCategories },
132
- setup() {
133
- const store = useStore();
134
- store.dispatch('categories/loadCategories', store.state.project.project);
135
- store.dispatch('categories/loadPreselectedCategories', store.state.project.project);
136
- },
137
- template: ` <div style='flex-direction: column;display: flex;justify-content: center;align-items: center;width: 60vw;margin: 0 auto;'>
138
- <router-view v-slot="{ Component }">
139
- <component :is="Component" :key="$route.fullPath" />
140
- </router-view>
141
- </div>`,
142
- }}
127
+ {TemplateSandbox.bind({})}
143
128
  </Story>
144
129
  </Canvas>
145
130
 
@@ -152,25 +137,14 @@ The `PbCategories` component to display categories.
152
137
  controls: { disable: true },
153
138
  storyshots: { disable: true },
154
139
  msw: [
155
- rest.get('/api/project-types/:projectTypeId/work-kinds', workKindByProjectTypeResolver),
140
+ rest.get('/api/inhabitant-projects/:projectId', getProjectByIdResolver),
141
+ rest.get('/api/project-types/:projectTypeId/work-kinds', getWorkKindByProjectTypeResolver),
156
142
  rest.get('/api/inhabitant-projects/:inhabitantProjectId/work-kinds', internalServerErrorResolver),
157
143
  ],
158
144
  }}
159
145
  height="512px"
160
146
  >
161
- {{
162
- components: { PbCategories },
163
- setup() {
164
- const store = useStore();
165
- store.dispatch('categories/loadCategories', store.state.project.project);
166
- store.dispatch('categories/loadPreselectedCategories', store.state.project.project);
167
- },
168
- template: ` <div style='flex-direction: column;display: flex;justify-content: center;align-items: center;width: 60vw;margin: 0 auto;'>
169
- <router-view v-slot="{ Component }">
170
- <component :is="Component" :key="$route.fullPath" />
171
- </router-view>
172
- </div>`,
173
- }}
147
+ {TemplateSandbox.bind({})}
174
148
  </Story>
175
149
  </Canvas>
176
150
 
@@ -183,25 +157,14 @@ The `PbCategories` component to display categories.
183
157
  controls: { disable: true },
184
158
  storyshots: { disable: true },
185
159
  msw: [
186
- rest.get('/api/project-types/:projectTypeId/work-kinds', workKindByProjectTypeResolver),
160
+ rest.get('/api/inhabitant-projects/:projectId', getProjectByIdResolver),
161
+ rest.get('/api/project-types/:projectTypeId/work-kinds', getWorkKindByProjectTypeResolver),
187
162
  rest.get('/api/inhabitant-projects/:inhabitantProjectId/work-kinds', getWorkKindsByProjectIdResolver),
188
163
  rest.get('/api/work-kinds/:workKindId/products', getProductsByWorkKindResolver),
189
164
  ],
190
165
  }}
191
166
  height="512px"
192
167
  >
193
- {{
194
- components: { PbCategories },
195
- setup() {
196
- const store = useStore();
197
- store.dispatch('categories/loadCategories', store.state.project.project);
198
- store.dispatch('categories/loadPreselectedCategories', store.state.project.project);
199
- },
200
- template: ` <div style='flex-direction: column;display: flex;justify-content: center;align-items: center;width: 60vw;margin: 0 auto;'>
201
- <router-view v-slot="{ Component }">
202
- <component :is="Component" :key="$route.fullPath" />
203
- </router-view>
204
- </div>`,
205
- }}
168
+ {TemplateSandbox.bind({})}
206
169
  </Story>
207
170
  </Canvas>
@@ -27,12 +27,21 @@
27
27
  <pb-empty-state
28
28
  image="https://storage.googleapis.com/project-booster-media/empty-states/empty-state-cateegories_cuisine_01.png"
29
29
  class="pb-categories__section-content-card"
30
- title="Accéder rapidement aux bons produits"
31
- subtitle="Ajoutez les catégories de produits qui vous intéressent et accédez-y en un clic."
32
- type-icon="https://storage.googleapis.com/project-booster-media/mozaic-icons/svg/Navigation_Display_SearchProduct_24px.svg"
33
- button-label="Ajouter des catégories"
30
+ :title="!readOnly ? 'Accéder rapidement aux bons produits' : ''"
31
+ :subtitle="
32
+ !readOnly
33
+ ? 'Ajoutez les catégories de produits qui vous intéressent et accédez-y en un clic.'
34
+ : 'Aucune catégorie de produits ajoutée'
35
+ "
36
+ :type-icon="
37
+ !readOnly
38
+ ? 'https://storage.googleapis.com/project-booster-media/mozaic-icons/svg/Navigation_Display_SearchProduct_24px.svg'
39
+ : ''
40
+ "
41
+ :button-label="!readOnly ? 'Ajouter des catégories' : ''"
34
42
  @button-click="handleDisplayCategories"
35
43
  v-if="selectedCategories.length === 0"
44
+ :disabled="readOnly"
36
45
  />
37
46
  <pb-categories-list :categories="selectedCategories" v-else></pb-categories-list>
38
47
  </m-flex>
@@ -55,7 +64,7 @@
55
64
  subtitle-loading="Nous recherchons les catégories"
56
65
  subtitle-error="Une erreur est survenue"
57
66
  retry-button-label="Réessayer"
58
- @click="$store.dispatch('categories/loadCategories', project)"
67
+ @click-loader="$store.dispatch('categories/loadCategories', project)"
59
68
  />
60
69
  <pb-cards-select :options="decorateOptions(getCategories)" v-model="value" :multiselect="true" v-else />
61
70
  </m-flex>
@@ -94,6 +103,7 @@ import MNotification from '../mozaic/notifications/MNotification';
94
103
  import PbAnimableLoader from '../loader/PbAnimableLoader';
95
104
  export default {
96
105
  name: 'PbCategories',
106
+
97
107
  components: {
98
108
  PbAnimableLoader,
99
109
  MNotification,
@@ -105,12 +115,24 @@ export default {
105
115
  PbEmptyState,
106
116
  MFlex,
107
117
  },
118
+
108
119
  props: {
120
+ /**
121
+ * Indicates whether the categories dialog is displayed
122
+ */
109
123
  displayCategoriesDialog: {
110
124
  type: Boolean,
111
125
  default: false,
112
126
  },
127
+ /**
128
+ * Indicates whether the UI is read only
129
+ */
130
+ readOnly: {
131
+ type: Boolean,
132
+ default: false,
133
+ },
113
134
  },
135
+
114
136
  data: () => ({
115
137
  showCategoriesDialog: false,
116
138
  value: [],
@@ -118,6 +140,7 @@ export default {
118
140
  numberOfCategoriesAdded: 0,
119
141
  notificationText: 'Catégories mises à jour',
120
142
  }),
143
+
121
144
  computed: {
122
145
  ...mapGetters('categories', {
123
146
  categoriesLoadError: 'getCategoriesLoadError',
@@ -127,7 +150,7 @@ export default {
127
150
  selectedCategoriesLoadError: 'getSelectedCategoriesLoadError',
128
151
  isLoadingSelectedCategories: 'isLoadingSelectedCategories',
129
152
  }),
130
- ...mapGetters({
153
+ ...mapGetters('projects', {
131
154
  project: 'getProject',
132
155
  }),
133
156
  getCategories() {
@@ -137,6 +160,7 @@ export default {
137
160
  });
138
161
  },
139
162
  },
163
+
140
164
  watch: {
141
165
  displayCategoriesDialog(newValue) {
142
166
  this.showCategoriesDialog = newValue;
@@ -165,6 +189,7 @@ export default {
165
189
  created() {
166
190
  this.showCategoriesDialog = this.displayCategoriesDialog;
167
191
  },
192
+
168
193
  methods: {
169
194
  handleRetry() {
170
195
  this.$store.dispatch('categories/loadPreselectedCategories', this.project);
@@ -246,7 +271,6 @@ $responsive-breakpoint: 'm';
246
271
  box-sizing: border-box;
247
272
  margin: 0 auto;
248
273
  max-width: 1024px;
249
- padding: 0 $mu100 $mu100 0;
250
274
  width: 100%;
251
275
 
252
276
  &__section {