@coorpacademy/components 11.13.3 → 11.13.4

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 (157) hide show
  1. package/es/atom/avatar/style.css +1 -1
  2. package/es/atom/button-link/index.d.ts +23 -24
  3. package/es/atom/button-link/index.d.ts.map +1 -1
  4. package/es/atom/button-link/index.js +10 -30
  5. package/es/atom/button-link/index.js.map +1 -1
  6. package/es/atom/button-link/style.css +10 -1
  7. package/es/atom/button-link/types.d.ts +50 -0
  8. package/es/atom/button-link/types.d.ts.map +1 -0
  9. package/es/atom/button-link/types.js +25 -0
  10. package/es/atom/button-link/types.js.map +1 -0
  11. package/es/atom/button-link-icon-only/style.css +16 -1
  12. package/es/atom/button-menu/index.d.ts +14 -13
  13. package/es/atom/button-menu/index.d.ts.map +1 -1
  14. package/es/atom/button-menu/index.js +5 -13
  15. package/es/atom/button-menu/index.js.map +1 -1
  16. package/es/atom/button-menu/types.d.ts +35 -0
  17. package/es/atom/button-menu/types.d.ts.map +1 -0
  18. package/es/atom/button-menu/types.js +14 -0
  19. package/es/atom/button-menu/types.js.map +1 -0
  20. package/es/atom/difficulty-level/style.css +1 -1
  21. package/es/atom/link/index.d.ts +1 -0
  22. package/es/atom/link/index.js +1 -0
  23. package/es/atom/link/index.js.map +1 -1
  24. package/es/atom/status-item/style.css +3 -0
  25. package/es/molecule/brand-form-group/index.d.ts +0 -2
  26. package/es/molecule/bullet-point-menu-button/index.d.ts +20 -17
  27. package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  28. package/es/molecule/bullet-point-menu-button/index.js +9 -11
  29. package/es/molecule/bullet-point-menu-button/index.js.map +1 -1
  30. package/es/molecule/bullet-point-menu-button/style.css +20 -0
  31. package/es/molecule/bullet-point-menu-button/types.d.ts +31 -0
  32. package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -0
  33. package/es/molecule/bullet-point-menu-button/types.js +13 -0
  34. package/es/molecule/bullet-point-menu-button/types.js.map +1 -0
  35. package/es/molecule/empty-state-dashboard/index.d.ts +1 -1
  36. package/es/molecule/empty-state-dashboard/index.d.ts.map +1 -1
  37. package/es/molecule/empty-state-dashboard/index.js +2 -2
  38. package/es/molecule/empty-state-dashboard/index.js.map +1 -1
  39. package/es/molecule/empty-state-dashboard/types.d.ts +8 -0
  40. package/es/molecule/empty-state-dashboard/types.d.ts.map +1 -1
  41. package/es/molecule/empty-state-dashboard/types.js.map +1 -1
  42. package/es/molecule/expandible-actionable-table/index.d.ts +103 -0
  43. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -0
  44. package/es/molecule/expandible-actionable-table/index.js +193 -0
  45. package/es/molecule/expandible-actionable-table/index.js.map +1 -0
  46. package/es/molecule/expandible-actionable-table/style.css +134 -0
  47. package/es/molecule/expandible-actionable-table/types.d.ts +116 -0
  48. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -0
  49. package/es/molecule/expandible-actionable-table/types.js +33 -0
  50. package/es/molecule/expandible-actionable-table/types.js.map +1 -0
  51. package/es/molecule/uploading-file-progress/index.d.ts +1 -1
  52. package/es/molecule/uploading-file-progress/index.d.ts.map +1 -1
  53. package/es/molecule/uploading-file-progress/index.js.map +1 -1
  54. package/es/molecule/uploading-file-progress/types.d.ts +10 -1
  55. package/es/molecule/uploading-file-progress/types.d.ts.map +1 -1
  56. package/es/molecule/uploading-file-progress/types.js.map +1 -1
  57. package/es/organism/brand-form/index.d.ts +0 -2
  58. package/es/organism/list-items/index.d.ts +109 -6
  59. package/es/organism/list-items/index.d.ts.map +1 -1
  60. package/es/organism/list-items/index.js +44 -15
  61. package/es/organism/list-items/index.js.map +1 -1
  62. package/es/organism/setup-header/index.d.ts +0 -8
  63. package/es/organism/wizard-contents/index.d.ts +71 -2
  64. package/es/organism/wizard-contents/index.d.ts.map +1 -1
  65. package/es/organism/wizard-contents/index.js +6 -0
  66. package/es/organism/wizard-contents/index.js.map +1 -1
  67. package/es/template/back-office/brand-create/index.d.ts +0 -8
  68. package/es/template/back-office/brand-create/index.d.ts.map +1 -1
  69. package/es/template/back-office/brand-list/index.d.ts +0 -8
  70. package/es/template/back-office/brand-list/index.d.ts.map +1 -1
  71. package/es/template/back-office/brand-update/index.d.ts +288 -802
  72. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  73. package/es/template/back-office/brand-update/index.js +14 -2
  74. package/es/template/back-office/brand-update/index.js.map +1 -1
  75. package/es/template/back-office/dashboard-preview/index.d.ts +0 -8
  76. package/es/template/back-office/layout/index.d.ts +0 -8
  77. package/es/template/back-office/layout/index.d.ts.map +1 -1
  78. package/lib/atom/avatar/style.css +1 -1
  79. package/lib/atom/button-link/index.d.ts +23 -24
  80. package/lib/atom/button-link/index.d.ts.map +1 -1
  81. package/lib/atom/button-link/index.js +10 -32
  82. package/lib/atom/button-link/index.js.map +1 -1
  83. package/lib/atom/button-link/style.css +10 -1
  84. package/lib/atom/button-link/types.d.ts +50 -0
  85. package/lib/atom/button-link/types.d.ts.map +1 -0
  86. package/lib/atom/button-link/types.js +36 -0
  87. package/lib/atom/button-link/types.js.map +1 -0
  88. package/lib/atom/button-link-icon-only/style.css +16 -1
  89. package/lib/atom/button-menu/index.d.ts +14 -13
  90. package/lib/atom/button-menu/index.d.ts.map +1 -1
  91. package/lib/atom/button-menu/index.js +6 -14
  92. package/lib/atom/button-menu/index.js.map +1 -1
  93. package/lib/atom/button-menu/types.d.ts +35 -0
  94. package/lib/atom/button-menu/types.d.ts.map +1 -0
  95. package/lib/atom/button-menu/types.js +24 -0
  96. package/lib/atom/button-menu/types.js.map +1 -0
  97. package/lib/atom/difficulty-level/style.css +1 -1
  98. package/lib/atom/link/index.d.ts +1 -0
  99. package/lib/atom/link/index.js +1 -0
  100. package/lib/atom/link/index.js.map +1 -1
  101. package/lib/atom/status-item/style.css +3 -0
  102. package/lib/molecule/brand-form-group/index.d.ts +0 -2
  103. package/lib/molecule/bullet-point-menu-button/index.d.ts +20 -17
  104. package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  105. package/lib/molecule/bullet-point-menu-button/index.js +10 -11
  106. package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
  107. package/lib/molecule/bullet-point-menu-button/style.css +20 -0
  108. package/lib/molecule/bullet-point-menu-button/types.d.ts +31 -0
  109. package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -0
  110. package/lib/molecule/bullet-point-menu-button/types.js +23 -0
  111. package/lib/molecule/bullet-point-menu-button/types.js.map +1 -0
  112. package/lib/molecule/empty-state-dashboard/index.d.ts +1 -1
  113. package/lib/molecule/empty-state-dashboard/index.d.ts.map +1 -1
  114. package/lib/molecule/empty-state-dashboard/index.js +2 -2
  115. package/lib/molecule/empty-state-dashboard/index.js.map +1 -1
  116. package/lib/molecule/empty-state-dashboard/types.d.ts +8 -0
  117. package/lib/molecule/empty-state-dashboard/types.d.ts.map +1 -1
  118. package/lib/molecule/empty-state-dashboard/types.js.map +1 -1
  119. package/lib/molecule/expandible-actionable-table/index.d.ts +103 -0
  120. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -0
  121. package/lib/molecule/expandible-actionable-table/index.js +215 -0
  122. package/lib/molecule/expandible-actionable-table/index.js.map +1 -0
  123. package/lib/molecule/expandible-actionable-table/style.css +134 -0
  124. package/lib/molecule/expandible-actionable-table/types.d.ts +116 -0
  125. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -0
  126. package/lib/molecule/expandible-actionable-table/types.js +47 -0
  127. package/lib/molecule/expandible-actionable-table/types.js.map +1 -0
  128. package/lib/molecule/uploading-file-progress/index.d.ts +1 -1
  129. package/lib/molecule/uploading-file-progress/index.d.ts.map +1 -1
  130. package/lib/molecule/uploading-file-progress/index.js.map +1 -1
  131. package/lib/molecule/uploading-file-progress/types.d.ts +10 -1
  132. package/lib/molecule/uploading-file-progress/types.d.ts.map +1 -1
  133. package/lib/molecule/uploading-file-progress/types.js.map +1 -1
  134. package/lib/organism/brand-form/index.d.ts +0 -2
  135. package/lib/organism/list-items/index.d.ts +109 -6
  136. package/lib/organism/list-items/index.d.ts.map +1 -1
  137. package/lib/organism/list-items/index.js +45 -15
  138. package/lib/organism/list-items/index.js.map +1 -1
  139. package/lib/organism/setup-header/index.d.ts +0 -8
  140. package/lib/organism/wizard-contents/index.d.ts +71 -2
  141. package/lib/organism/wizard-contents/index.d.ts.map +1 -1
  142. package/lib/organism/wizard-contents/index.js +7 -0
  143. package/lib/organism/wizard-contents/index.js.map +1 -1
  144. package/lib/template/back-office/brand-create/index.d.ts +0 -8
  145. package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
  146. package/lib/template/back-office/brand-list/index.d.ts +0 -8
  147. package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
  148. package/lib/template/back-office/brand-update/index.d.ts +288 -802
  149. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  150. package/lib/template/back-office/brand-update/index.js +15 -2
  151. package/lib/template/back-office/brand-update/index.js.map +1 -1
  152. package/lib/template/back-office/dashboard-preview/index.d.ts +0 -8
  153. package/lib/template/back-office/layout/index.d.ts +0 -8
  154. package/lib/template/back-office/layout/index.d.ts.map +1 -1
  155. package/locales/.mtslconfig.json +1 -0
  156. package/locales/en/global.json +2 -1
  157. package/package.json +3 -3
@@ -14,7 +14,6 @@ declare namespace SetupHeader {
14
14
  type: PropTypes.Requireable<string>;
15
15
  }>>;
16
16
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
17
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
18
17
  link: PropTypes.Requireable<PropTypes.InferProps<{
19
18
  href: PropTypes.Requireable<string>;
20
19
  download: PropTypes.Requireable<boolean>;
@@ -23,7 +22,6 @@ declare namespace SetupHeader {
23
22
  disabled: PropTypes.Requireable<boolean>;
24
23
  className: PropTypes.Requireable<string>;
25
24
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
26
- useTitle: PropTypes.Requireable<boolean>;
27
25
  }>>;
28
26
  logOut: PropTypes.Requireable<PropTypes.InferProps<{
29
27
  type: PropTypes.Requireable<string>;
@@ -36,7 +34,6 @@ declare namespace SetupHeader {
36
34
  type: PropTypes.Requireable<string>;
37
35
  }>>;
38
36
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
39
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
40
37
  link: PropTypes.Requireable<PropTypes.InferProps<{
41
38
  href: PropTypes.Requireable<string>;
42
39
  download: PropTypes.Requireable<boolean>;
@@ -45,7 +42,6 @@ declare namespace SetupHeader {
45
42
  disabled: PropTypes.Requireable<boolean>;
46
43
  className: PropTypes.Requireable<string>;
47
44
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
48
- useTitle: PropTypes.Requireable<boolean>;
49
45
  }>>;
50
46
  globalAnalytics: PropTypes.Requireable<PropTypes.InferProps<{
51
47
  type: PropTypes.Requireable<string>;
@@ -58,7 +54,6 @@ declare namespace SetupHeader {
58
54
  type: PropTypes.Requireable<string>;
59
55
  }>>;
60
56
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
61
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
62
57
  link: PropTypes.Requireable<PropTypes.InferProps<{
63
58
  href: PropTypes.Requireable<string>;
64
59
  download: PropTypes.Requireable<boolean>;
@@ -67,7 +62,6 @@ declare namespace SetupHeader {
67
62
  disabled: PropTypes.Requireable<boolean>;
68
63
  className: PropTypes.Requireable<string>;
69
64
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
70
- useTitle: PropTypes.Requireable<boolean>;
71
65
  }>>;
72
66
  platformList: PropTypes.Requireable<PropTypes.InferProps<{
73
67
  type: PropTypes.Requireable<string>;
@@ -80,7 +74,6 @@ declare namespace SetupHeader {
80
74
  type: PropTypes.Requireable<string>;
81
75
  }>>;
82
76
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
83
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
84
77
  link: PropTypes.Requireable<PropTypes.InferProps<{
85
78
  href: PropTypes.Requireable<string>;
86
79
  download: PropTypes.Requireable<boolean>;
@@ -89,7 +82,6 @@ declare namespace SetupHeader {
89
82
  disabled: PropTypes.Requireable<boolean>;
90
83
  className: PropTypes.Requireable<string>;
91
84
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
92
- useTitle: PropTypes.Requireable<boolean>;
93
85
  }>>;
94
86
  }>>;
95
87
  const platformName: PropTypes.Requireable<string>;
@@ -466,7 +466,6 @@ declare namespace WizardContents {
466
466
  type: PropTypes.Requireable<string>;
467
467
  }>>;
468
468
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
469
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
470
469
  link: PropTypes.Requireable<PropTypes.InferProps<{
471
470
  href: PropTypes.Requireable<string>;
472
471
  download: PropTypes.Requireable<boolean>;
@@ -475,7 +474,6 @@ declare namespace WizardContents {
475
474
  disabled: PropTypes.Requireable<boolean>;
476
475
  className: PropTypes.Requireable<string>;
477
476
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
478
- useTitle: PropTypes.Requireable<boolean>;
479
477
  }> | PropTypes.InferProps<{
480
478
  type: PropTypes.Requireable<string>;
481
479
  title: PropTypes.Requireable<string>;
@@ -726,6 +724,77 @@ declare namespace WizardContents {
726
724
  'data-name': PropTypes.Requireable<string>;
727
725
  }> | null | undefined>>;
728
726
  }> | null | undefined)[]>;
727
+ }> | PropTypes.InferProps<{
728
+ type: PropTypes.Requireable<string>;
729
+ columns: PropTypes.Requireable<(PropTypes.InferProps<{
730
+ title: PropTypes.Validator<string>;
731
+ }> | null | undefined)[]>;
732
+ rows: PropTypes.Requireable<(PropTypes.InferProps<{
733
+ fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
734
+ type: PropTypes.Requireable<string>;
735
+ current: PropTypes.Requireable<boolean>;
736
+ icon: PropTypes.Requireable<string>;
737
+ value: PropTypes.Requireable<string>;
738
+ }> | null | undefined> | null | undefined)[]>;
739
+ isRowExpandible: PropTypes.Requireable<boolean>;
740
+ lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
741
+ type: PropTypes.Requireable<string>;
742
+ disabled: PropTypes.Requireable<boolean>;
743
+ buttonAriaLabel: PropTypes.Requireable<string>;
744
+ menuAriaLabel: PropTypes.Requireable<string>;
745
+ buttons: PropTypes.Validator<(PropTypes.InferProps<{
746
+ 'data-name': PropTypes.Requireable<string>;
747
+ disabled: PropTypes.Requireable<boolean>;
748
+ label: PropTypes.Validator<string>;
749
+ onClick: PropTypes.Validator<(...args: any[]) => any>;
750
+ type: PropTypes.Requireable<string>;
751
+ }> | null | undefined)[]>;
752
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
753
+ menuButtonClassName: PropTypes.Requireable<string>;
754
+ isBulkMenu: PropTypes.Requireable<boolean>;
755
+ }> | null | undefined>>;
756
+ }> | null | undefined)[]>;
757
+ stickyFirstColumn: PropTypes.Requireable<boolean>;
758
+ stickyLastColumn: PropTypes.Requireable<boolean>;
759
+ columnWidth: PropTypes.Requireable<string>;
760
+ ariaDescribedby: PropTypes.Requireable<string>;
761
+ lastField: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
762
+ componentType: PropTypes.Requireable<string>;
763
+ type: PropTypes.Requireable<string>;
764
+ label: PropTypes.Requireable<string>;
765
+ 'aria-label': PropTypes.Requireable<string>;
766
+ 'data-name': PropTypes.Requireable<string>;
767
+ 'data-testid': PropTypes.Requireable<string>;
768
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
769
+ position: PropTypes.Requireable<string>;
770
+ type: PropTypes.Requireable<string>;
771
+ }>>;
772
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
773
+ link: PropTypes.Requireable<PropTypes.InferProps<{
774
+ href: PropTypes.Requireable<string>;
775
+ download: PropTypes.Requireable<boolean>;
776
+ target: PropTypes.Requireable<string>;
777
+ }>>;
778
+ disabled: PropTypes.Requireable<boolean>;
779
+ className: PropTypes.Requireable<string>;
780
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
781
+ }> | PropTypes.InferProps<{
782
+ componentType: PropTypes.Requireable<string>;
783
+ disabled: PropTypes.Requireable<boolean>;
784
+ buttonAriaLabel: PropTypes.Requireable<string>;
785
+ menuAriaLabel: PropTypes.Requireable<string>;
786
+ buttons: PropTypes.Validator<(PropTypes.InferProps<{
787
+ 'data-name': PropTypes.Requireable<string>;
788
+ disabled: PropTypes.Requireable<boolean>;
789
+ label: PropTypes.Validator<string>;
790
+ onClick: PropTypes.Validator<(...args: any[]) => any>;
791
+ type: PropTypes.Requireable<string>;
792
+ }> | null | undefined)[]>;
793
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
794
+ menuButtonClassName: PropTypes.Requireable<string>;
795
+ isBulkMenu: PropTypes.Requireable<boolean>;
796
+ }> | null | undefined>>;
797
+ isNestedTable: PropTypes.Requireable<boolean>;
729
798
  }> | null | undefined>>;
730
799
  const previousStep: PropTypes.Requireable<PropTypes.InferProps<{
731
800
  label: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/wizard-contents/index.js"],"names":[],"mappings":";AAmHA,yDAoCC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/wizard-contents/index.js"],"names":[],"mappings":";AAsHA,yDAoCC"}
@@ -13,6 +13,7 @@ import OrganismSearchAndChipsResults from '../search-and-chips-results';
13
13
  import CourseSelection from '../course-selection';
14
14
  import CourseSections from '../../molecule/course-sections';
15
15
  import RewardsForm from '../rewards-form';
16
+ import ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';
16
17
  import style from './style.css';
17
18
 
18
19
  const buildHeader = (wizardHeader, steps) => {
@@ -60,6 +61,9 @@ const buildForm = content => {
60
61
 
61
62
  case 'rewards':
62
63
  return /*#__PURE__*/React.createElement(RewardsForm, content);
64
+
65
+ case 'expandible-table':
66
+ return /*#__PURE__*/React.createElement(ExpandibleActionableErrorsTable, content);
63
67
  }
64
68
  };
65
69
 
@@ -190,6 +194,8 @@ WizardContents.propTypes = process.env.NODE_ENV !== "production" ? {
190
194
  type: PropTypes.oneOf(['organize-courses'])
191
195
  })), PropTypes.shape(_extends({}, RewardsForm.propTypes, {
192
196
  type: PropTypes.oneOf(['rewards'])
197
+ })), PropTypes.shape(_extends({}, ExpandibleActionableErrorsTable.propTypes, {
198
+ type: PropTypes.oneOf(['expandible-table'])
193
199
  }))]),
194
200
  previousStep: PropTypes.shape({
195
201
  label: PropTypes.string,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","getOr","PropTypes","ButtonLink","ButtonLinkIconOnly","WizardSteps","WizardSummary","BrandForm","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm","style","buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","THEMES","container","containerWithoutSummary","footer","footerWithoutSummary","actionFooter","actionFooterWithoutSummary","leftSection","leftSectionWithoutSummary","summary","getTheme","WizardContents","props","isLoading","headerView","formView","rightActionView","footerActionView","currentStyle","summaryWrapper","rightSection","stickySection","summaryZone","form","summaryFooter","propTypes","bool","shape","string","func","isRequired","oneOfType","oneOf"],"sources":["../../../src/organism/wizard-contents/index.js"],"sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport RewardsForm from '../rewards-form';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst THEMES = {\n 'no-summary': {\n container: style.containerWithoutSummary,\n footer: style.footerWithoutSummary,\n actionFooter: style.actionFooterWithoutSummary,\n leftSection: style.leftSectionWithoutSummary\n },\n summary: {\n container: style.container,\n footer: style.footer,\n actionFooter: style.actionFooter,\n leftSection: style.leftSection\n }\n};\n\nconst getTheme = summary => (summary ? 'summary' : 'no-summary');\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n const currentStyle = THEMES[getTheme(summary)];\n\n const summaryWrapper = (\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n );\n\n return (\n <div className={currentStyle.container} data-name=\"content-summary\">\n <div className={currentStyle.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n {summary ? summaryWrapper : null}\n <div className={currentStyle.footer} data-name=\"footer-section\">\n {summary ? (\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n ) : null}\n <div className={currentStyle.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,kBAAP,MAA+B,kCAA/B;AACA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,aAAP,MAA0B,+BAA1B;AACA,OAAOC,SAAP,MAAsB,eAAtB;AACA,OAAOC,gBAAP,MAA6B,wBAA7B;AACA,OAAOC,6BAAP,MAA0C,6BAA1C;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,cAAP,MAA2B,gCAA3B;AACA,OAAOC,WAAP,MAAwB,iBAAxB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,WAAW,GAAG,CAACC,YAAD,EAAeC,KAAf,KAAyB;EAC3C,MAAM;IAACC,KAAD;IAAQC;EAAR,IAAmBH,YAAzB;EAEA,MAAMI,eAAe,GAAG;IACtBC,IAAI,EAAE,OADgB;IAEtB,aAAa,cAFS;IAGtB,cAAc,cAHQ;IAItBC,IAAI,EAAE,OAJgB;IAKtBH;EALsB,CAAxB;EAQA,oBACE,8CACE;IAAK,SAAS,EAAEL,KAAK,CAACS;EAAtB,gBACE,oBAAC,kBAAD,EAAwBH,eAAxB,CADF,eAEE;IAAK,SAAS,EAAEN,KAAK,CAACU,WAAtB;IAAmC,aAAW;EAA9C,GACGN,KADH,CAFF,CADF,eAOE,oBAAC,WAAD;IAAa,KAAK,EAAED;EAApB,EAPF,CADF;AAWD,CAtBD;;AAwBA,MAAMQ,SAAS,GAAGC,OAAO,IAAI;EAC3B,MAAM;IAACC;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D,OAAO,EAAEhB,SAAS,CAACwE;EAFS,CAAhB,CApCW;EAwCzBnC,QAAQ,EAAErC,SAAS,CAACsE,KAAV,CAAgB;IACxB9C,IAAI,EAAExB,SAAS,CAAC2E,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;IAExB1C,KAAK,EAAEjC,SAAS,CAACuE,MAFO;IAGxBvD,OAAO,EAAEhB,SAAS,CAACwE;EAHK,CAAhB;AAxCe,CAA3B;AA+CA,eAAelB,cAAf"}
1
+ {"version":3,"file":"index.js","names":["React","getOr","PropTypes","ButtonLink","ButtonLinkIconOnly","WizardSteps","WizardSummary","BrandForm","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm","ExpandibleActionableErrorsTable","style","buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","THEMES","container","containerWithoutSummary","footer","footerWithoutSummary","actionFooter","actionFooterWithoutSummary","leftSection","leftSectionWithoutSummary","summary","getTheme","WizardContents","props","isLoading","headerView","formView","rightActionView","footerActionView","currentStyle","summaryWrapper","rightSection","stickySection","summaryZone","form","summaryFooter","propTypes","bool","shape","string","func","isRequired","oneOfType","oneOf"],"sources":["../../../src/organism/wizard-contents/index.js"],"sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport RewardsForm from '../rewards-form';\nimport ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n case 'expandible-table':\n return <ExpandibleActionableErrorsTable {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst THEMES = {\n 'no-summary': {\n container: style.containerWithoutSummary,\n footer: style.footerWithoutSummary,\n actionFooter: style.actionFooterWithoutSummary,\n leftSection: style.leftSectionWithoutSummary\n },\n summary: {\n container: style.container,\n footer: style.footer,\n actionFooter: style.actionFooter,\n leftSection: style.leftSection\n }\n};\n\nconst getTheme = summary => (summary ? 'summary' : 'no-summary');\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n const currentStyle = THEMES[getTheme(summary)];\n\n const summaryWrapper = (\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n );\n\n return (\n <div className={currentStyle.container} data-name=\"content-summary\">\n <div className={currentStyle.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n {summary ? summaryWrapper : null}\n <div className={currentStyle.footer} data-name=\"footer-section\">\n {summary ? (\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n ) : null}\n <div className={currentStyle.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableErrorsTable.propTypes,\n type: PropTypes.oneOf(['expandible-table'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,kBAAP,MAA+B,kCAA/B;AACA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,aAAP,MAA0B,+BAA1B;AACA,OAAOC,SAAP,MAAsB,eAAtB;AACA,OAAOC,gBAAP,MAA6B,wBAA7B;AACA,OAAOC,6BAAP,MAA0C,6BAA1C;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,cAAP,MAA2B,gCAA3B;AACA,OAAOC,WAAP,MAAwB,iBAAxB;AACA,OAAOC,+BAAP,MAA4C,4CAA5C;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,WAAW,GAAG,CAACC,YAAD,EAAeC,KAAf,KAAyB;EAC3C,MAAM;IAACC,KAAD;IAAQC;EAAR,IAAmBH,YAAzB;EAEA,MAAMI,eAAe,GAAG;IACtBC,IAAI,EAAE,OADgB;IAEtB,aAAa,cAFS;IAGtB,cAAc,cAHQ;IAItBC,IAAI,EAAE,OAJgB;IAKtBH;EALsB,CAAxB;EAQA,oBACE,8CACE;IAAK,SAAS,EAAEL,KAAK,CAACS;EAAtB,gBACE,oBAAC,kBAAD,EAAwBH,eAAxB,CADF,eAEE;IAAK,SAAS,EAAEN,KAAK,CA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,EAqB3B5E,SAAS,CAACuE,KAAV,cACK7D,WAAW,CAAC2D,SADjB;IAEE5C,IAAI,EAAEzB,SAAS,CAAC4E,KAAV,CAAgB,CAAC,SAAD,CAAhB;EAFR,GArB2B,EAyB3B5E,SAAS,CAACuE,KAAV,cACK5D,+BAA+B,CAAC0D,SADrC;IAEE5C,IAAI,EAAEzB,SAAS,CAAC4E,KAAV,CAAgB,CAAC,kBAAD,CAAhB;EAFR,GAzB2B,CAApB,CAVgB;EAwCzBvC,YAAY,EAAErC,SAAS,CAACuE,KAAV,CAAgB;IAC5BrC,KAAK,EAAElC,SAAS,CAACwE,MADW;IAE5BvD,OAAO,EAAEjB,SAAS,CAACyE;EAFS,CAAhB,CAxCW;EA4CzBnC,QAAQ,EAAEtC,SAAS,CAACuE,KAAV,CAAgB;IACxB9C,IAAI,EAAEzB,SAAS,CAAC4E,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;IAExB1C,KAAK,EAAElC,SAAS,CAACwE,MAFO;IAGxBvD,OAAO,EAAEjB,SAAS,CAACyE;EAHK,CAAhB;AA5Ce,CAA3B;AAmDA,eAAelB,cAAf"}
@@ -15,7 +15,6 @@ declare const BrandCreate: {
15
15
  type: PropTypes.Requireable<string>;
16
16
  }>>;
17
17
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
18
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
19
18
  link: PropTypes.Requireable<PropTypes.InferProps<{
20
19
  href: PropTypes.Requireable<string>;
21
20
  download: PropTypes.Requireable<boolean>;
@@ -24,7 +23,6 @@ declare const BrandCreate: {
24
23
  disabled: PropTypes.Requireable<boolean>;
25
24
  className: PropTypes.Requireable<string>;
26
25
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
27
- useTitle: PropTypes.Requireable<boolean>;
28
26
  }>>;
29
27
  logOut: PropTypes.Requireable<PropTypes.InferProps<{
30
28
  type: PropTypes.Requireable<string>;
@@ -37,7 +35,6 @@ declare const BrandCreate: {
37
35
  type: PropTypes.Requireable<string>;
38
36
  }>>;
39
37
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
40
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
41
38
  link: PropTypes.Requireable<PropTypes.InferProps<{
42
39
  href: PropTypes.Requireable<string>;
43
40
  download: PropTypes.Requireable<boolean>;
@@ -46,7 +43,6 @@ declare const BrandCreate: {
46
43
  disabled: PropTypes.Requireable<boolean>;
47
44
  className: PropTypes.Requireable<string>;
48
45
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
49
- useTitle: PropTypes.Requireable<boolean>;
50
46
  }>>;
51
47
  globalAnalytics: PropTypes.Requireable<PropTypes.InferProps<{
52
48
  type: PropTypes.Requireable<string>;
@@ -59,7 +55,6 @@ declare const BrandCreate: {
59
55
  type: PropTypes.Requireable<string>;
60
56
  }>>;
61
57
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
62
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
63
58
  link: PropTypes.Requireable<PropTypes.InferProps<{
64
59
  href: PropTypes.Requireable<string>;
65
60
  download: PropTypes.Requireable<boolean>;
@@ -68,7 +63,6 @@ declare const BrandCreate: {
68
63
  disabled: PropTypes.Requireable<boolean>;
69
64
  className: PropTypes.Requireable<string>;
70
65
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
71
- useTitle: PropTypes.Requireable<boolean>;
72
66
  }>>;
73
67
  platformList: PropTypes.Requireable<PropTypes.InferProps<{
74
68
  type: PropTypes.Requireable<string>;
@@ -81,7 +75,6 @@ declare const BrandCreate: {
81
75
  type: PropTypes.Requireable<string>;
82
76
  }>>;
83
77
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
84
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
85
78
  link: PropTypes.Requireable<PropTypes.InferProps<{
86
79
  href: PropTypes.Requireable<string>;
87
80
  download: PropTypes.Requireable<boolean>;
@@ -90,7 +83,6 @@ declare const BrandCreate: {
90
83
  disabled: PropTypes.Requireable<boolean>;
91
84
  className: PropTypes.Requireable<string>;
92
85
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
93
- useTitle: PropTypes.Requireable<boolean>;
94
86
  }>>;
95
87
  }>>;
96
88
  platformName: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-create/index.js"],"names":[],"mappings":";AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-create/index.js"],"names":[],"mappings":";AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBG"}
@@ -15,7 +15,6 @@ declare const BrandList: {
15
15
  type: PropTypes.Requireable<string>;
16
16
  }>>;
17
17
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
18
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
19
18
  link: PropTypes.Requireable<PropTypes.InferProps<{
20
19
  href: PropTypes.Requireable<string>;
21
20
  download: PropTypes.Requireable<boolean>;
@@ -24,7 +23,6 @@ declare const BrandList: {
24
23
  disabled: PropTypes.Requireable<boolean>;
25
24
  className: PropTypes.Requireable<string>;
26
25
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
27
- useTitle: PropTypes.Requireable<boolean>;
28
26
  }>>;
29
27
  logOut: PropTypes.Requireable<PropTypes.InferProps<{
30
28
  type: PropTypes.Requireable<string>;
@@ -37,7 +35,6 @@ declare const BrandList: {
37
35
  type: PropTypes.Requireable<string>;
38
36
  }>>;
39
37
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
40
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
41
38
  link: PropTypes.Requireable<PropTypes.InferProps<{
42
39
  href: PropTypes.Requireable<string>;
43
40
  download: PropTypes.Requireable<boolean>;
@@ -46,7 +43,6 @@ declare const BrandList: {
46
43
  disabled: PropTypes.Requireable<boolean>;
47
44
  className: PropTypes.Requireable<string>;
48
45
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
49
- useTitle: PropTypes.Requireable<boolean>;
50
46
  }>>;
51
47
  globalAnalytics: PropTypes.Requireable<PropTypes.InferProps<{
52
48
  type: PropTypes.Requireable<string>;
@@ -59,7 +55,6 @@ declare const BrandList: {
59
55
  type: PropTypes.Requireable<string>;
60
56
  }>>;
61
57
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
62
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
63
58
  link: PropTypes.Requireable<PropTypes.InferProps<{
64
59
  href: PropTypes.Requireable<string>;
65
60
  download: PropTypes.Requireable<boolean>;
@@ -68,7 +63,6 @@ declare const BrandList: {
68
63
  disabled: PropTypes.Requireable<boolean>;
69
64
  className: PropTypes.Requireable<string>;
70
65
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
71
- useTitle: PropTypes.Requireable<boolean>;
72
66
  }>>;
73
67
  platformList: PropTypes.Requireable<PropTypes.InferProps<{
74
68
  type: PropTypes.Requireable<string>;
@@ -81,7 +75,6 @@ declare const BrandList: {
81
75
  type: PropTypes.Requireable<string>;
82
76
  }>>;
83
77
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
84
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
85
78
  link: PropTypes.Requireable<PropTypes.InferProps<{
86
79
  href: PropTypes.Requireable<string>;
87
80
  download: PropTypes.Requireable<boolean>;
@@ -90,7 +83,6 @@ declare const BrandList: {
90
83
  disabled: PropTypes.Requireable<boolean>;
91
84
  className: PropTypes.Requireable<string>;
92
85
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
93
- useTitle: PropTypes.Requireable<boolean>;
94
86
  }>>;
95
87
  }>>;
96
88
  platformName: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-list/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-list/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCG"}