@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
@@ -0,0 +1,134 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value xtraLightGrey from colors;
3
+ @value cm_grey_400 from colors;
4
+ @value cm_grey_700 from colors;
5
+ @value cm_negative_red_200 from colors;
6
+ @value light from colors;
7
+
8
+ .wrapper {
9
+ width: 100%;
10
+ }
11
+
12
+ .table {
13
+ table-layout: fixed;
14
+ border: 1px solid light;
15
+ font-family: 'Gilroy';
16
+ font-style: normal;
17
+ border-spacing: 0;
18
+ border-radius: 8px;
19
+ max-width: 1089px;
20
+ min-width: 1089px;
21
+ }
22
+
23
+ .thead {
24
+ background-color: xtraLightGrey;
25
+ font-weight: 600;
26
+ font-size: 14px;
27
+ line-height: 24px;
28
+ color: cm_grey_400;
29
+ height: 56px;
30
+ text-align: left;
31
+ }
32
+
33
+ .theadNested {
34
+ background-color: xtraLightGrey;
35
+ font-weight: 600;
36
+ font-size: 14px;
37
+ line-height: 24px;
38
+ color: cm_grey_400;
39
+ height: 40px;
40
+ text-align: left;
41
+ }
42
+
43
+ .header {
44
+ width: 276px;
45
+ padding-left: 56px;
46
+ box-sizing: border-box;
47
+ background-color: xtraLightGrey;
48
+ }
49
+
50
+ .headerFirstSticky {
51
+ position: sticky;
52
+ left: 0;
53
+ background-color: xtraLightGrey;
54
+ }
55
+
56
+ .headerFirst {
57
+ background-color: xtraLightGrey;
58
+ }
59
+
60
+ .headerLastSticky {
61
+ position: sticky;
62
+ right: 0;
63
+ background-color: xtraLightGrey;
64
+ }
65
+
66
+ .headerLast {
67
+ background-color: xtraLightGrey;
68
+ }
69
+
70
+ .col {
71
+ text-align: left;
72
+ padding-top: 8px;
73
+ padding-bottom: 8px;
74
+ font-weight: 600;
75
+ font-size: 14px;
76
+ line-height: 20px;
77
+ color: cm_grey_700;
78
+ border-top: 1px solid light;
79
+ padding-left: 56px;
80
+ max-width: 364px;
81
+ }
82
+
83
+ .columnFirst {
84
+ padding-left: 16px;
85
+ background-color: white;
86
+ }
87
+
88
+ .columnFirst .columFirstWrapper,
89
+ .columnFirstSticky .columFirstWrapper {
90
+ display: flex;
91
+ justify-content: start;
92
+ gap: 16px;
93
+ }
94
+
95
+ .columnFirst .columFirstWrapper .expandButtonWrapper,
96
+ .columnFirstSticky .columFirstWrapper .expandButtonWrapper {
97
+ min-width: 24px;
98
+ }
99
+
100
+ .columnFirstSticky {
101
+ position: sticky;
102
+ left: 0;
103
+ padding-left: 16px;
104
+ background-color: white;
105
+ }
106
+
107
+ .columnLast {
108
+ text-align: left;
109
+ padding-top: 8px;
110
+ padding-bottom: 8px;
111
+ font-weight: 600;
112
+ font-size: 14px;
113
+ line-height: 20px;
114
+ color: cm_grey_700;
115
+ border-top: 1px solid light;
116
+ display: flex;
117
+ justify-content: end;
118
+ }
119
+
120
+ .columnLastSticky {
121
+ composes: columnLast;
122
+ position: sticky;
123
+ right: 0;
124
+ }
125
+
126
+ .inspectButton{
127
+ padding-right: 20px;
128
+ background-color: white;
129
+ }
130
+
131
+ .nestedRowCellule{
132
+ padding: 10px;
133
+ border-top: 1px solid light;
134
+ }
@@ -0,0 +1,116 @@
1
+ import PropTypes from 'prop-types';
2
+ import { BulletPointMenuButtonProps } from '../bullet-point-menu-button/types';
3
+ import { ButtonLinkProps } from '../../atom/button-link/types';
4
+ import { StatusItemProps } from '../../atom/status-item/types';
5
+ import { Props as ErrorsTableProps } from '../errors-table/types';
6
+ import { Props as BulkProgressBarProps } from '../bulk-progress-bar/types';
7
+ export declare const propTypes: {
8
+ columns: PropTypes.Requireable<(PropTypes.InferProps<{
9
+ title: PropTypes.Validator<string>;
10
+ }> | null | undefined)[]>;
11
+ rows: PropTypes.Requireable<(PropTypes.InferProps<{
12
+ fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
13
+ type: PropTypes.Requireable<string>;
14
+ current: PropTypes.Requireable<boolean>;
15
+ icon: PropTypes.Requireable<string>;
16
+ value: PropTypes.Requireable<string>;
17
+ }> | null | undefined> | null | undefined)[]>;
18
+ isRowExpandible: PropTypes.Requireable<boolean>;
19
+ lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
20
+ type: PropTypes.Requireable<string>;
21
+ disabled: PropTypes.Requireable<boolean>;
22
+ buttonAriaLabel: PropTypes.Requireable<string>;
23
+ menuAriaLabel: PropTypes.Requireable<string>;
24
+ buttons: PropTypes.Validator<(PropTypes.InferProps<{
25
+ 'data-name': PropTypes.Requireable<string>;
26
+ disabled: PropTypes.Requireable<boolean>;
27
+ label: PropTypes.Validator<string>;
28
+ onClick: PropTypes.Validator<(...args: any[]) => any>;
29
+ type: PropTypes.Requireable<string>;
30
+ }> | null | undefined)[]>;
31
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
32
+ menuButtonClassName: PropTypes.Requireable<string>;
33
+ isBulkMenu: PropTypes.Requireable<boolean>;
34
+ }> | null | undefined>>;
35
+ }> | null | undefined)[]>;
36
+ stickyFirstColumn: PropTypes.Requireable<boolean>;
37
+ stickyLastColumn: PropTypes.Requireable<boolean>;
38
+ columnWidth: PropTypes.Requireable<string>;
39
+ ariaDescribedby: PropTypes.Requireable<string>;
40
+ lastField: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
41
+ componentType: PropTypes.Requireable<string>;
42
+ type: PropTypes.Requireable<string>;
43
+ label: PropTypes.Requireable<string>;
44
+ 'aria-label': PropTypes.Requireable<string>;
45
+ 'data-name': PropTypes.Requireable<string>;
46
+ 'data-testid': PropTypes.Requireable<string>;
47
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
48
+ position: PropTypes.Requireable<string>;
49
+ type: PropTypes.Requireable<string>;
50
+ }>>;
51
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
52
+ link: PropTypes.Requireable<PropTypes.InferProps<{
53
+ href: PropTypes.Requireable<string>;
54
+ download: PropTypes.Requireable<boolean>;
55
+ target: PropTypes.Requireable<string>;
56
+ }>>;
57
+ disabled: PropTypes.Requireable<boolean>;
58
+ className: PropTypes.Requireable<string>;
59
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
60
+ }> | PropTypes.InferProps<{
61
+ componentType: PropTypes.Requireable<string>;
62
+ disabled: PropTypes.Requireable<boolean>;
63
+ buttonAriaLabel: PropTypes.Requireable<string>;
64
+ menuAriaLabel: PropTypes.Requireable<string>;
65
+ buttons: PropTypes.Validator<(PropTypes.InferProps<{
66
+ 'data-name': PropTypes.Requireable<string>;
67
+ disabled: PropTypes.Requireable<boolean>;
68
+ label: PropTypes.Validator<string>;
69
+ onClick: PropTypes.Validator<(...args: any[]) => any>;
70
+ type: PropTypes.Requireable<string>;
71
+ }> | null | undefined)[]>;
72
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
73
+ menuButtonClassName: PropTypes.Requireable<string>;
74
+ isBulkMenu: PropTypes.Requireable<boolean>;
75
+ }> | null | undefined>>;
76
+ isNestedTable: PropTypes.Requireable<boolean>;
77
+ };
78
+ export declare type Field = string | (StatusItemProps & {
79
+ componentType: 'status';
80
+ }) | (BulkProgressBarProps & {
81
+ componentType: 'progress-bar';
82
+ });
83
+ export declare type LastField = (ButtonLinkProps & {
84
+ componentType: 'button-link';
85
+ }) | (BulletPointMenuButtonProps & {
86
+ componentType: 'menu';
87
+ });
88
+ export declare type NestedRow = (ErrorsTableProps & {
89
+ componentType: 'errors-table';
90
+ }) | (Props & {
91
+ componentType: 'expandible-errors-table';
92
+ });
93
+ export declare type Column = {
94
+ title: string;
95
+ };
96
+ export declare type Row = {
97
+ fields: Field[];
98
+ nestedRow?: NestedRow;
99
+ isRowExpandible?: boolean;
100
+ };
101
+ export declare type Columns = Column[];
102
+ export declare type Rows = Row[];
103
+ export declare type Props = {
104
+ columns: Columns;
105
+ rows?: Rows;
106
+ stickyFirstColumn?: boolean;
107
+ stickyLastColumn?: boolean;
108
+ columnWidth?: `${number}${'px' | '%'}`;
109
+ ariaDescribedby?: string;
110
+ lastField?: LastField;
111
+ isNestedTable?: boolean;
112
+ };
113
+ export declare type ExpandState = {
114
+ [key: number]: boolean;
115
+ };
116
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,KAAK,IAAI,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAC,KAAK,IAAI,oBAAoB,EAAC,MAAM,4BAA4B,CAAC;AA0BzE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBrB,CAAC;AAEF,oBAAY,KAAK,GACb,MAAM,GACN,CAAC,eAAe,GAAG;IACjB,aAAa,EAAE,QAAQ,CAAC;CACzB,CAAC,GACF,CAAC,oBAAoB,GAAG;IACtB,aAAa,EAAE,cAAc,CAAC;CAC/B,CAAC,CAAC;AAEP,oBAAY,SAAS,GACjB,CAAC,eAAe,GAAG;IACjB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC,GACF,CAAC,0BAA0B,GAAG;IAC5B,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEP,oBAAY,SAAS,GACjB,CAAC,gBAAgB,GAAG;IAClB,aAAa,EAAE,cAAc,CAAC;CAC/B,CAAC,GACF,CAAC,KAAK,GAAG;IACP,aAAa,EAAE,yBAAyB,CAAC;CAC1C,CAAC,CAAC;AAEP,oBAAY,MAAM,GAAG;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,CAAC;AACrC,oBAAY,GAAG,GAAG;IAChB,MAAM,EAAE,KAAK,EAAE,CAAC;IAEhB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AACF,oBAAY,OAAO,GAAG,MAAM,EAAE,CAAC;AAC/B,oBAAY,IAAI,GAAG,GAAG,EAAE,CAAC;AAEzB,oBAAY,KAAK,GAAG;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,GAAG,MAAM,GAAG,IAAI,GAAG,GAAG,EAAE,CAAC;IACvC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,oBAAY,WAAW,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAC,CAAC"}
@@ -0,0 +1,33 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ import PropTypes from 'prop-types';
4
+ import StatusItem from '../../atom/status-item';
5
+ import ButtonLink from '../../atom/button-link';
6
+ import BulletPointMenuButton from '../bullet-point-menu-button';
7
+ const columnProptypes = PropTypes.shape({
8
+ title: PropTypes.string.isRequired
9
+ });
10
+ const rowProptypes = PropTypes.shape({
11
+ fields: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.shape(_extends({}, StatusItem.propTypes, {
12
+ type: PropTypes.oneOf(['status'])
13
+ }))])),
14
+ isRowExpandible: PropTypes.bool,
15
+ lastField: PropTypes.oneOfType([PropTypes.string, PropTypes.shape(_extends({}, BulletPointMenuButton.propTypes, {
16
+ type: PropTypes.oneOf(['menu'])
17
+ }))])
18
+ });
19
+ export const propTypes = {
20
+ columns: PropTypes.arrayOf(columnProptypes),
21
+ rows: PropTypes.arrayOf(rowProptypes),
22
+ stickyFirstColumn: PropTypes.bool,
23
+ stickyLastColumn: PropTypes.bool,
24
+ columnWidth: PropTypes.string,
25
+ ariaDescribedby: PropTypes.string,
26
+ lastField: PropTypes.oneOfType([PropTypes.shape(_extends({}, ButtonLink.propTypes, {
27
+ componentType: PropTypes.oneOf(['button-link'])
28
+ })), PropTypes.shape(_extends({}, BulletPointMenuButton.propTypes, {
29
+ componentType: PropTypes.oneOf(['menu'])
30
+ }))]),
31
+ isNestedTable: PropTypes.bool
32
+ };
33
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","names":["PropTypes","StatusItem","ButtonLink","BulletPointMenuButton","columnProptypes","shape","title","string","isRequired","rowProptypes","fields","arrayOf","oneOfType","propTypes","type","oneOf","isRowExpandible","bool","lastField","columns","rows","stickyFirstColumn","stickyLastColumn","columnWidth","ariaDescribedby","componentType","isNestedTable"],"sources":["../../../src/molecule/expandible-actionable-table/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport StatusItem from '../../atom/status-item';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../bullet-point-menu-button';\nimport {BulletPointMenuButtonProps} from '../bullet-point-menu-button/types';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\nimport {StatusItemProps} from '../../atom/status-item/types';\nimport {Props as ErrorsTableProps} from '../errors-table/types';\nimport {Props as BulkProgressBarProps} from '../bulk-progress-bar/types';\n\nconst columnProptypes = PropTypes.shape({\n title: PropTypes.string.isRequired\n});\n\nconst rowProptypes = PropTypes.shape({\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n ...StatusItem.propTypes,\n type: PropTypes.oneOf(['status'])\n })\n ])\n ),\n isRowExpandible: PropTypes.bool,\n lastField: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n ...BulletPointMenuButton.propTypes,\n type: PropTypes.oneOf(['menu'])\n })\n ])\n});\n\nexport const propTypes = {\n columns: PropTypes.arrayOf(columnProptypes),\n rows: PropTypes.arrayOf(rowProptypes),\n stickyFirstColumn: PropTypes.bool,\n stickyLastColumn: PropTypes.bool,\n columnWidth: PropTypes.string,\n ariaDescribedby: PropTypes.string,\n lastField: PropTypes.oneOfType([\n PropTypes.shape({\n ...ButtonLink.propTypes,\n componentType: PropTypes.oneOf(['button-link'])\n }),\n PropTypes.shape({\n ...BulletPointMenuButton.propTypes,\n componentType: PropTypes.oneOf(['menu'])\n })\n ]),\n isNestedTable: PropTypes.bool\n};\n\nexport type Field =\n | string\n | (StatusItemProps & {\n componentType: 'status';\n })\n | (BulkProgressBarProps & {\n componentType: 'progress-bar';\n });\n\nexport type LastField =\n | (ButtonLinkProps & {\n componentType: 'button-link';\n })\n | (BulletPointMenuButtonProps & {\n componentType: 'menu';\n });\n\nexport type NestedRow =\n | (ErrorsTableProps & {\n componentType: 'errors-table';\n })\n | (Props & {\n componentType: 'expandible-errors-table';\n });\n\nexport type Column = {title: string};\nexport type Row = {\n fields: Field[];\n\n nestedRow?: NestedRow;\n isRowExpandible?: boolean;\n};\nexport type Columns = Column[];\nexport type Rows = Row[];\n\nexport type Props = {\n columns: Columns;\n rows?: Rows;\n stickyFirstColumn?: boolean;\n stickyLastColumn?: boolean;\n columnWidth?: `${number}${'px' | '%'}`;\n ariaDescribedby?: string;\n lastField?: LastField;\n isNestedTable?: boolean;\n};\n\nexport type ExpandState = {[key: number]: boolean};\n"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,qBAAP,MAAkC,6BAAlC;AAOA,MAAMC,eAAe,GAAGJ,SAAS,CAACK,KAAV,CAAgB;EACtCC,KAAK,EAAEN,SAAS,CAACO,MAAV,CAAiBC;AADc,CAAhB,CAAxB;AAIA,MAAMC,YAAY,GAAGT,SAAS,CAACK,KAAV,CAAgB;EACnCK,MAAM,EAAEV,SAAS,CAACW,OAAV,CACNX,SAAS,CAACY,SAAV,CAAoB,CAClBZ,SAAS,CAACO,MADQ,EAElBP,SAAS,CAACK,KAAV,cACKJ,UAAU,CAACY,SADhB;IAEEC,IAAI,EAAEd,SAAS,CAACe,KAAV,CAAgB,CAAC,QAAD,CAAhB;EAFR,GAFkB,CAApB,CADM,CAD2B;EAUnCC,eAAe,EAAEhB,SAAS,CAACiB,IAVQ;EAWnCC,SAAS,EAAElB,SAAS,CAACY,SAAV,CAAoB,CAC7BZ,SAAS,CAACO,MADmB,EAE7BP,SAAS,CAACK,KAAV,cACKF,qBAAqB,CAACU,SAD3B;IAEEC,IAAI,EAAEd,SAAS,CAACe,KAAV,CAAgB,CAAC,MAAD,CAAhB;EAFR,GAF6B,CAApB;AAXwB,CAAhB,CAArB;AAoBA,OAAO,MAAMF,SAAS,GAAG;EACvBM,OAAO,EAAEnB,SAAS,CAACW,OAAV,CAAkBP,eAAlB,CADc;EAEvBgB,IAAI,EAAEpB,SAAS,CAACW,OAAV,CAAkBF,YAAlB,CAFiB;EAGvBY,iBAAiB,EAAErB,SAAS,CAACiB,IAHN;EAIvBK,gBAAgB,EAAEtB,SAAS,CAACiB,IAJL;EAKvBM,WAAW,EAAEvB,SAAS,CAACO,MALA;EAMvBiB,eAAe,EAAExB,SAAS,CAACO,MANJ;EAOvBW,SAAS,EAAElB,SAAS,CAACY,SAAV,CAAoB,CAC7BZ,SAAS,CAACK,KAAV,cACKH,UAAU,CAACW,SADhB;IAEEY,aAAa,EAAEzB,SAAS,CAACe,KAAV,CAAgB,CAAC,aAAD,CAAhB;EAFjB,GAD6B,EAK7Bf,SAAS,CAACK,KAAV,cACKF,qBAAqB,CAACU,SAD3B;IAEEY,aAAa,EAAEzB,SAAS,CAACe,KAAV,CAAgB,CAAC,MAAD,CAAhB;EAFjB,GAL6B,CAApB,CAPY;EAiBvBW,aAAa,EAAE1B,SAAS,CAACiB;AAjBF,CAAlB"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Props } from './types';
2
+ import { UploadingFileProgressProps as Props } from './types';
3
3
  declare const UploadingFileProgress: {
4
4
  ({ mainText, subText, progressionValue, leftButtonLink, rightButtonLink }: Props): JSX.Element;
5
5
  propTypes: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/uploading-file-progress/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,KAAK,EAAY,MAAM,SAAS,CAAC;AAEzC,QAAA,MAAM,qBAAqB;+EAMxB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBP,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/uploading-file-progress/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,0BAA0B,IAAI,KAAK,EAAY,MAAM,SAAS,CAAC;AAEvE,QAAA,MAAM,qBAAqB;+EAMxB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBP,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","ButtonLink","Loader","style","propTypes","UploadingFileProgress","mainText","subText","progressionValue","leftButtonLink","rightButtonLink","loaderWrapper","loader","container","buttonContainer"],"sources":["../../../src/molecule/uploading-file-progress/index.tsx"],"sourcesContent":["import React from 'react';\nimport ButtonLink from '../../atom/button-link';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\nimport {Props, propTypes} from './types';\n\nconst UploadingFileProgress = ({\n mainText,\n subText,\n progressionValue,\n leftButtonLink,\n rightButtonLink\n}: Props) => (\n <div>\n <div className={style.loaderWrapper}>\n <div className={style.loader}>\n <Loader theme=\"coorpmanager\" />\n </div>\n </div>\n <div className={style.container}>\n <p className={style.mainText}>\n {mainText}\n <span className={style.progressionValue}> {progressionValue}%</span>\n </p>\n <p className={style.subText}>{subText}</p>\n <div className={style.buttonContainer}>\n <ButtonLink {...leftButtonLink} className={style.leftButtonLink} />\n <ButtonLink {...rightButtonLink} className={style.rightButtonLink} />\n </div>\n </div>\n </div>\n);\n\nUploadingFileProgress.propTypes = propTypes;\n\nexport default UploadingFileProgress;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,SAAeC,SAAf,QAA+B,SAA/B;;AAEA,MAAMC,qBAAqB,GAAG,CAAC;EAC7BC,QAD6B;EAE7BC,OAF6B;EAG7BC,gBAH6B;EAI7BC,cAJ6B;EAK7BC;AAL6B,CAAD,kBAO5B,8CACE;EAAK,SAAS,EAAEP,KAAK,CAACQ;AAAtB,gBACE;EAAK,SAAS,EAAER,KAAK,CAACS;AAAtB,gBACE,oBAAC,MAAD;EAAQ,KAAK,EAAC;AAAd,EADF,CADF,CADF,eAME;EAAK,SAAS,EAAET,KAAK,CAACU;AAAtB,gBACE;EAAG,SAAS,EAAEV,KAAK,CAACG;AAApB,GACGA,QADH,eAEE;EAAM,SAAS,EAAEH,KAAK,CAACK;AAAvB,QAA2CA,gBAA3C,MAFF,CADF,eAKE;EAAG,SAAS,EAAEL,KAAK,CAACI;AAApB,GAA8BA,OAA9B,CALF,eAME;EAAK,SAAS,EAAEJ,KAAK,CAACW;AAAtB,gBACE,oBAAC,UAAD,eAAgBL,cAAhB;EAAgC,SAAS,EAAEN,KAAK,CAACM;AAAjD,GADF,eAEE,oBAAC,UAAD,eAAgBC,eAAhB;EAAiC,SAAS,EAAEP,KAAK,CAACO;AAAlD,GAFF,CANF,CANF,CAPF;;AA2BAL,qBAAqB,CAACD,SAAtB,2CAAkCA,SAAlC;AAEA,eAAeC,qBAAf"}
1
+ {"version":3,"file":"index.js","names":["React","ButtonLink","Loader","style","propTypes","UploadingFileProgress","mainText","subText","progressionValue","leftButtonLink","rightButtonLink","loaderWrapper","loader","container","buttonContainer"],"sources":["../../../src/molecule/uploading-file-progress/index.tsx"],"sourcesContent":["import React from 'react';\nimport ButtonLink from '../../atom/button-link';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\nimport {UploadingFileProgressProps as Props, propTypes} from './types';\n\nconst UploadingFileProgress = ({\n mainText,\n subText,\n progressionValue,\n leftButtonLink,\n rightButtonLink\n}: Props) => (\n <div>\n <div className={style.loaderWrapper}>\n <div className={style.loader}>\n <Loader theme=\"coorpmanager\" />\n </div>\n </div>\n <div className={style.container}>\n <p className={style.mainText}>\n {mainText}\n <span className={style.progressionValue}> {progressionValue}%</span>\n </p>\n <p className={style.subText}>{subText}</p>\n <div className={style.buttonContainer}>\n <ButtonLink {...leftButtonLink} className={style.leftButtonLink} />\n <ButtonLink {...rightButtonLink} className={style.rightButtonLink} />\n </div>\n </div>\n </div>\n);\n\nUploadingFileProgress.propTypes = propTypes;\n\nexport default UploadingFileProgress;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,SAA6CC,SAA7C,QAA6D,SAA7D;;AAEA,MAAMC,qBAAqB,GAAG,CAAC;EAC7BC,QAD6B;EAE7BC,OAF6B;EAG7BC,gBAH6B;EAI7BC,cAJ6B;EAK7BC;AAL6B,CAAD,kBAO5B,8CACE;EAAK,SAAS,EAAEP,KAAK,CAACQ;AAAtB,gBACE;EAAK,SAAS,EAAER,KAAK,CAACS;AAAtB,gBACE,oBAAC,MAAD;EAAQ,KAAK,EAAC;AAAd,EADF,CADF,CADF,eAME;EAAK,SAAS,EAAET,KAAK,CAACU;AAAtB,gBACE;EAAG,SAAS,EAAEV,KAAK,CAACG;AAApB,GACGA,QADH,eAEE;EAAM,SAAS,EAAEH,KAAK,CAACK;AAAvB,QAA2CA,gBAA3C,MAFF,CADF,eAKE;EAAG,SAAS,EAAEL,KAAK,CAACI;AAApB,GAA8BA,OAA9B,CALF,eAME;EAAK,SAAS,EAAEJ,KAAK,CAACW;AAAtB,gBACE,oBAAC,UAAD,eAAgBL,cAAhB;EAAgC,SAAS,EAAEN,KAAK,CAACM;AAAjD,GADF,eAEE,oBAAC,UAAD,eAAgBC,eAAhB;EAAiC,SAAS,EAAEP,KAAK,CAACO;AAAlD,GAFF,CANF,CANF,CAPF;;AA2BAL,qBAAqB,CAACD,SAAtB,2CAAkCA,SAAlC;AAEA,eAAeC,qBAAf"}
@@ -1,4 +1,6 @@
1
1
  import PropTypes from 'prop-types';
2
+ import { ButtonLinkProps } from '../../atom/button-link/types';
3
+ import Picture from '../../atom/picture';
2
4
  export declare const propTypes: {
3
5
  mainText: PropTypes.Requireable<string>;
4
6
  subText: PropTypes.Requireable<string>;
@@ -27,5 +29,12 @@ export declare const propTypes: {
27
29
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
28
30
  }>>;
29
31
  };
30
- export declare type Props = PropTypes.InferProps<typeof propTypes>;
32
+ export declare type UploadingFileProgressProps = {
33
+ mainText?: string;
34
+ subText?: string;
35
+ imageUrl?: PropTypes.InferProps<typeof Picture.propTypes.src>;
36
+ progressionValue?: number;
37
+ leftButtonLink?: ButtonLinkProps;
38
+ rightButtonLink?: ButtonLinkProps;
39
+ };
31
40
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/uploading-file-progress/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BrB,CAAC;AAEF,oBAAY,KAAK,GAAG,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/uploading-file-progress/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,OAAO,MAAM,oBAAoB,CAAC;AAEzC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BrB,CAAC;AAEF,oBAAY,0BAA0B,GAAG;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC9D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["PropTypes","Picture","propTypes","mainText","string","subText","imageUrl","src","progressionValue","number","leftButtonLink","shape","type","label","ariaLabel","dataName","icon","position","onClick","func","rightButtonLink"],"sources":["../../../src/molecule/uploading-file-progress/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport Picture from '../../atom/picture';\n\nexport const propTypes = {\n mainText: PropTypes.string,\n subText: PropTypes.string,\n imageUrl: Picture.propTypes.src,\n progressionValue: PropTypes.number,\n leftButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n rightButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n })\n};\n\nexport type Props = PropTypes.InferProps<typeof propTypes>;\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,OAAP,MAAoB,oBAApB;AAEA,OAAO,MAAMC,SAAS,GAAG;EACvBC,QAAQ,EAAEH,SAAS,CAACI,MADG;EAEvBC,OAAO,EAAEL,SAAS,CAACI,MAFI;EAGvBE,QAAQ,EAAEL,OAAO,CAACC,SAAR,CAAkBK,GAHL;EAIvBC,gBAAgB,EAAER,SAAS,CAACS,MAJL;EAKvBC,cAAc,EAAEV,SAAS,CAACW,KAAV,CAAgB;IAC9BC,IAAI,EAAEZ,SAAS,CAACI,MADc;IAE9BS,KAAK,EAAEb,SAAS,CAACI,MAFa;IAG9BU,SAAS,EAAEd,SAAS,CAACI,MAHS;IAI9BW,QAAQ,EAAEf,SAAS,CAACI,MAJU;IAK9BY,IAAI,EAAEhB,SAAS,CAACW,KAAV,CAAgB;MACpBM,QAAQ,EAAEjB,SAAS,CAACI,MADA;MAEpBQ,IAAI,EAAEZ,SAAS,CAACI;IAFI,CAAhB,CALwB;IAS9Bc,OAAO,EAAElB,SAAS,CAACmB;EATW,CAAhB,CALO;EAgBvBC,eAAe,EAAEpB,SAAS,CAACW,KAAV,CAAgB;IAC/BC,IAAI,EAAEZ,SAAS,CAACI,MADe;IAE/BS,KAAK,EAAEb,SAAS,CAACI,MAFc;IAG/BU,SAAS,EAAEd,SAAS,CAACI,MAHU;IAI/BW,QAAQ,EAAEf,SAAS,CAACI,MAJW;IAK/BY,IAAI,EAAEhB,SAAS,CAACW,KAAV,CAAgB;MACpBM,QAAQ,EAAEjB,SAAS,CAACI,MADA;MAEpBQ,IAAI,EAAEZ,SAAS,CAACI;IAFI,CAAhB,CALyB;IAS/Bc,OAAO,EAAElB,SAAS,CAACmB;EATY,CAAhB;AAhBM,CAAlB"}
1
+ {"version":3,"file":"types.js","names":["PropTypes","Picture","propTypes","mainText","string","subText","imageUrl","src","progressionValue","number","leftButtonLink","shape","type","label","ariaLabel","dataName","icon","position","onClick","func","rightButtonLink"],"sources":["../../../src/molecule/uploading-file-progress/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\nimport Picture from '../../atom/picture';\n\nexport const propTypes = {\n mainText: PropTypes.string,\n subText: PropTypes.string,\n imageUrl: Picture.propTypes.src,\n progressionValue: PropTypes.number,\n leftButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n rightButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n })\n};\n\nexport type UploadingFileProgressProps = {\n mainText?: string;\n subText?: string;\n imageUrl?: PropTypes.InferProps<typeof Picture.propTypes.src>;\n progressionValue?: number;\n leftButtonLink?: ButtonLinkProps;\n rightButtonLink?: ButtonLinkProps;\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAEA,OAAOC,OAAP,MAAoB,oBAApB;AAEA,OAAO,MAAMC,SAAS,GAAG;EACvBC,QAAQ,EAAEH,SAAS,CAACI,MADG;EAEvBC,OAAO,EAAEL,SAAS,CAACI,MAFI;EAGvBE,QAAQ,EAAEL,OAAO,CAACC,SAAR,CAAkBK,GAHL;EAIvBC,gBAAgB,EAAER,SAAS,CAACS,MAJL;EAKvBC,cAAc,EAAEV,SAAS,CAACW,KAAV,CAAgB;IAC9BC,IAAI,EAAEZ,SAAS,CAACI,MADc;IAE9BS,KAAK,EAAEb,SAAS,CAACI,MAFa;IAG9BU,SAAS,EAAEd,SAAS,CAACI,MAHS;IAI9BW,QAAQ,EAAEf,SAAS,CAACI,MAJU;IAK9BY,IAAI,EAAEhB,SAAS,CAACW,KAAV,CAAgB;MACpBM,QAAQ,EAAEjB,SAAS,CAACI,MADA;MAEpBQ,IAAI,EAAEZ,SAAS,CAACI;IAFI,CAAhB,CALwB;IAS9Bc,OAAO,EAAElB,SAAS,CAACmB;EATW,CAAhB,CALO;EAgBvBC,eAAe,EAAEpB,SAAS,CAACW,KAAV,CAAgB;IAC/BC,IAAI,EAAEZ,SAAS,CAACI,MADe;IAE/BS,KAAK,EAAEb,SAAS,CAACI,MAFc;IAG/BU,SAAS,EAAEd,SAAS,CAACI,MAHU;IAI/BW,QAAQ,EAAEf,SAAS,CAACI,MAJW;IAK/BY,IAAI,EAAEhB,SAAS,CAACW,KAAV,CAAgB;MACpBM,QAAQ,EAAEjB,SAAS,CAACI,MADA;MAEpBQ,IAAI,EAAEZ,SAAS,CAACI;IAFI,CAAhB,CALyB;IAS/Bc,OAAO,EAAElB,SAAS,CAACmB;EATY,CAAhB;AAhBM,CAAlB"}
@@ -449,7 +449,6 @@ declare namespace BrandForm {
449
449
  type: PropTypes.Requireable<string>;
450
450
  }>>;
451
451
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
452
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
453
452
  link: PropTypes.Requireable<PropTypes.InferProps<{
454
453
  href: PropTypes.Requireable<string>;
455
454
  download: PropTypes.Requireable<boolean>;
@@ -458,7 +457,6 @@ declare namespace BrandForm {
458
457
  disabled: PropTypes.Requireable<boolean>;
459
458
  className: PropTypes.Requireable<string>;
460
459
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
461
- useTitle: PropTypes.Requireable<boolean>;
462
460
  }> | PropTypes.InferProps<{
463
461
  type: PropTypes.Requireable<string>;
464
462
  title: PropTypes.Requireable<string>;
@@ -1,10 +1,9 @@
1
1
  export default ListItems;
2
- declare function ListItems({ title, buttonLink, items, "aria-label": ariaLabel, contentType }: {
2
+ declare function ListItems({ title, buttonLink, content, "aria-label": ariaLabel }: {
3
3
  title: any;
4
4
  buttonLink: any;
5
- items: any;
5
+ content: any;
6
6
  "aria-label": any;
7
- contentType: any;
8
7
  }): JSX.Element;
9
8
  declare namespace ListItems {
10
9
  const propTypes: {
@@ -20,7 +19,6 @@ declare namespace ListItems {
20
19
  type: PropTypes.Requireable<string>;
21
20
  }>>;
22
21
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
23
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
24
22
  link: PropTypes.Requireable<PropTypes.InferProps<{
25
23
  href: PropTypes.Requireable<string>;
26
24
  download: PropTypes.Requireable<boolean>;
@@ -29,7 +27,6 @@ declare namespace ListItems {
29
27
  disabled: PropTypes.Requireable<boolean>;
30
28
  className: PropTypes.Requireable<string>;
31
29
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
32
- useTitle: PropTypes.Requireable<boolean>;
33
30
  }>>;
34
31
  items: PropTypes.Requireable<(PropTypes.InferProps<{
35
32
  bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
@@ -63,8 +60,114 @@ declare namespace ListItems {
63
60
  'aria-label': PropTypes.Requireable<string>;
64
61
  contentType: PropTypes.Requireable<string>;
65
62
  }> | null | undefined)[]>;
63
+ content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
64
+ items: PropTypes.Requireable<(PropTypes.InferProps<{
65
+ bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
66
+ buttonAriaLabel: PropTypes.Requireable<string>;
67
+ menuAriaLabel: PropTypes.Requireable<string>;
68
+ buttons: PropTypes.Requireable<(PropTypes.InferProps<{
69
+ 'data-name': PropTypes.Requireable<string>;
70
+ label: PropTypes.Requireable<string>;
71
+ type: PropTypes.Requireable<string>;
72
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
73
+ }> | null | undefined)[]>;
74
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
75
+ }>>;
76
+ buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
77
+ type: PropTypes.Requireable<string>;
78
+ label: PropTypes.Requireable<string>;
79
+ ariaLabel: PropTypes.Requireable<string>;
80
+ dataName: PropTypes.Requireable<string>;
81
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
82
+ position: PropTypes.Requireable<string>;
83
+ type: PropTypes.Requireable<string>;
84
+ }>>;
85
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
86
+ }>>;
87
+ tags: PropTypes.Requireable<(PropTypes.InferProps<{
88
+ label: PropTypes.Requireable<string>;
89
+ type: PropTypes.Requireable<string>;
90
+ }> | null | undefined)[]>;
91
+ title: PropTypes.Validator<string>;
92
+ order: PropTypes.Requireable<number>;
93
+ 'aria-label': PropTypes.Requireable<string>;
94
+ contentType: PropTypes.Requireable<string>;
95
+ }> | null | undefined)[]>;
96
+ type: PropTypes.Requireable<string>;
97
+ itemType: PropTypes.Requireable<string>;
98
+ }> | PropTypes.InferProps<{
99
+ type: PropTypes.Requireable<string>;
100
+ columns: PropTypes.Requireable<(PropTypes.InferProps<{
101
+ title: PropTypes.Validator<string>;
102
+ }> | null | undefined)[]>;
103
+ rows: PropTypes.Requireable<(PropTypes.InferProps<{
104
+ fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
105
+ type: PropTypes.Requireable<string>;
106
+ current: PropTypes.Requireable<boolean>;
107
+ icon: PropTypes.Requireable<string>;
108
+ value: PropTypes.Requireable<string>;
109
+ }> | null | undefined> | null | undefined)[]>;
110
+ isRowExpandible: PropTypes.Requireable<boolean>;
111
+ lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
112
+ type: PropTypes.Requireable<string>;
113
+ disabled: PropTypes.Requireable<boolean>;
114
+ buttonAriaLabel: PropTypes.Requireable<string>;
115
+ menuAriaLabel: PropTypes.Requireable<string>;
116
+ buttons: PropTypes.Validator<(PropTypes.InferProps<{
117
+ 'data-name': PropTypes.Requireable<string>;
118
+ disabled: PropTypes.Requireable<boolean>;
119
+ label: PropTypes.Validator<string>;
120
+ onClick: PropTypes.Validator<(...args: any[]) => any>;
121
+ type: PropTypes.Requireable<string>;
122
+ }> | null | undefined)[]>;
123
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
124
+ menuButtonClassName: PropTypes.Requireable<string>;
125
+ isBulkMenu: PropTypes.Requireable<boolean>;
126
+ }> | null | undefined>>;
127
+ }> | null | undefined)[]>;
128
+ stickyFirstColumn: PropTypes.Requireable<boolean>;
129
+ stickyLastColumn: PropTypes.Requireable<boolean>;
130
+ columnWidth: PropTypes.Requireable<string>;
131
+ ariaDescribedby: PropTypes.Requireable<string>;
132
+ lastField: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
133
+ componentType: PropTypes.Requireable<string>;
134
+ type: PropTypes.Requireable<string>;
135
+ label: PropTypes.Requireable<string>;
136
+ 'aria-label': PropTypes.Requireable<string>;
137
+ 'data-name': PropTypes.Requireable<string>;
138
+ 'data-testid': PropTypes.Requireable<string>;
139
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
140
+ position: PropTypes.Requireable<string>;
141
+ type: PropTypes.Requireable<string>;
142
+ }>>;
143
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
144
+ link: PropTypes.Requireable<PropTypes.InferProps<{
145
+ href: PropTypes.Requireable<string>;
146
+ download: PropTypes.Requireable<boolean>;
147
+ target: PropTypes.Requireable<string>;
148
+ }>>;
149
+ disabled: PropTypes.Requireable<boolean>;
150
+ className: PropTypes.Requireable<string>;
151
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
152
+ }> | PropTypes.InferProps<{
153
+ componentType: PropTypes.Requireable<string>;
154
+ disabled: PropTypes.Requireable<boolean>;
155
+ buttonAriaLabel: PropTypes.Requireable<string>;
156
+ menuAriaLabel: PropTypes.Requireable<string>;
157
+ buttons: PropTypes.Validator<(PropTypes.InferProps<{
158
+ 'data-name': PropTypes.Requireable<string>;
159
+ disabled: PropTypes.Requireable<boolean>;
160
+ label: PropTypes.Validator<string>;
161
+ onClick: PropTypes.Validator<(...args: any[]) => any>;
162
+ type: PropTypes.Requireable<string>;
163
+ }> | null | undefined)[]>;
164
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
165
+ menuButtonClassName: PropTypes.Requireable<string>;
166
+ isBulkMenu: PropTypes.Requireable<boolean>;
167
+ }> | null | undefined>>;
168
+ isNestedTable: PropTypes.Requireable<boolean>;
169
+ }> | null | undefined>>;
66
170
  title: PropTypes.Requireable<string>;
67
- contentType: PropTypes.Requireable<string>;
68
171
  };
69
172
  }
70
173
  import PropTypes from "prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-items/index.js"],"names":[],"mappings":";AAOA;;;;;;gBAsBC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-items/index.js"],"names":[],"mappings":";AA+BA;;;;;gBAgBC"}
@@ -5,23 +5,50 @@ import PropTypes from 'prop-types';
5
5
  import ListItem from '../list-item';
6
6
  import Title from '../../atom/title';
7
7
  import ButtonLink from '../../atom/button-link';
8
+ import ExpandibleActionableTable from '../../molecule/expandible-actionable-table';
8
9
  import style from './style.css';
9
10
 
10
- const ListItems = ({
11
- title,
12
- buttonLink,
13
- items,
14
- 'aria-label': ariaLabel,
15
- contentType
16
- }) => {
11
+ const buildListItemsView = (content, ariaLabel) => {
12
+ const {
13
+ items,
14
+ itemType
15
+ } = content;
17
16
  const itemsView = items.map((item, index) => /*#__PURE__*/React.createElement("li", {
18
17
  key: item.id,
19
18
  className: style.item,
20
19
  "data-name": `content-${index}`
21
20
  }, /*#__PURE__*/React.createElement(ListItem, _extends({}, item, {
22
21
  order: index,
23
- contentType: contentType
22
+ contentType: itemType
24
23
  }))));
24
+ return /*#__PURE__*/React.createElement("ul", {
25
+ className: style.list,
26
+ "aria-label": ariaLabel,
27
+ "data-name": 'content-list'
28
+ }, itemsView);
29
+ };
30
+
31
+ const buildContentView = (content, ariaLabel) => {
32
+ const {
33
+ type
34
+ } = content;
35
+
36
+ switch (type) {
37
+ case 'list':
38
+ return buildListItemsView(content, ariaLabel);
39
+
40
+ case 'expandible-actionable-table':
41
+ return /*#__PURE__*/React.createElement(ExpandibleActionableTable, content);
42
+ }
43
+ };
44
+
45
+ const ListItems = ({
46
+ title,
47
+ buttonLink,
48
+ content,
49
+ 'aria-label': ariaLabel
50
+ }) => {
51
+ const contentView = buildContentView(content, ariaLabel);
25
52
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
26
53
  className: style.header
27
54
  }, /*#__PURE__*/React.createElement("div", {
@@ -32,19 +59,21 @@ const ListItems = ({
32
59
  "data-name": 'list-title'
33
60
  })), /*#__PURE__*/React.createElement("div", {
34
61
  className: style.buttonCreate
35
- }, /*#__PURE__*/React.createElement(ButtonLink, buttonLink))), /*#__PURE__*/React.createElement("ul", {
36
- className: style.list,
37
- "aria-label": ariaLabel,
38
- "data-name": 'content-list'
39
- }, itemsView));
62
+ }, /*#__PURE__*/React.createElement(ButtonLink, buttonLink))), contentView);
40
63
  };
41
64
 
42
65
  ListItems.propTypes = process.env.NODE_ENV !== "production" ? {
43
66
  'aria-label': PropTypes.string,
44
67
  buttonLink: PropTypes.shape(ButtonLink.propTypes),
45
68
  items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),
46
- title: PropTypes.string,
47
- contentType: PropTypes.string
69
+ content: PropTypes.oneOfType([PropTypes.shape({
70
+ items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),
71
+ type: PropTypes.oneOf(['list']),
72
+ itemType: PropTypes.string
73
+ }), PropTypes.shape(_extends({}, ExpandibleActionableTable.propTypes, {
74
+ type: PropTypes.oneOf(['expandible-actionable-table'])
75
+ }))]),
76
+ title: PropTypes.string
48
77
  } : {};
49
78
  export default ListItems;
50
79
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","ListItem","Title","ButtonLink","style","ListItems","title","buttonLink","items","ariaLabel","contentType","itemsView","map","item","index","id","header","buttonCreate","list","propTypes","string","shape","arrayOf"],"sources":["../../../src/organism/list-items/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst ListItems = ({title, buttonLink, items, 'aria-label': ariaLabel, contentType}) => {\n const itemsView = items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} order={index} contentType={contentType} />\n </li>\n ));\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n <ul className={style.list} aria-label={ariaLabel} data-name={'content-list'}>\n {itemsView}\n </ul>\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n title: PropTypes.string,\n contentType: PropTypes.string\n};\n\nexport default ListItems;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,SAAS,GAAG,CAAC;EAACC,KAAD;EAAQC,UAAR;EAAoBC,KAApB;EAA2B,cAAcC,SAAzC;EAAoDC;AAApD,CAAD,KAAsE;EACtF,MAAMC,SAAS,GAAGH,KAAK,CAACI,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBAC1B;IAAI,GAAG,EAAED,IAAI,CAACE,EAAd;IAAkB,SAAS,EAAEX,KAAK,CAACS,IAAnC;IAAyC,aAAY,WAAUC,KAAM;EAArE,gBACE,oBAAC,QAAD,eAAcD,IAAd;IAAoB,KAAK,EAAEC,KAA3B;IAAkC,WAAW,EAAEJ;EAA/C,GADF,CADgB,CAAlB;EAMA,oBACE,8CACE;IAAK,SAAS,EAAEN,KAAK,CAACY;EAAtB,gBACE;IAAK,SAAS,EAAEZ,KAAK,CAACE;EAAtB,gBACE,oBAAC,KAAD;IAAO,KAAK,EAAEA,KAAd;IAAqB,IAAI,EAAE,YAA3B;IAAyC,aAAW;EAApD,EADF,CADF,eAIE;IAAK,SAAS,EAAEF,KAAK,CAACa;EAAtB,gBACE,oBAAC,UAAD,EAAgBV,UAAhB,CADF,CAJF,CADF,eASE;IAAI,SAAS,EAAEH,KAAK,CAACc,IAArB;IAA2B,cAAYT,SAAvC;IAAkD,aAAW;EAA7D,GACGE,SADH,CATF,CADF;AAeD,CAtBD;;AAwBAN,SAAS,CAACc,SAAV,2CAAsB;EACpB,cAAcnB,SAAS,CAACoB,MADJ;EAEpBb,UAAU,EAAEP,SAAS,CAACqB,KAAV,CAAgBlB,UAAU,CAACgB,SAA3B,CAFQ;EAGpBX,KAAK,EAAER,SAAS,CAACsB,OAAV,CAAkBtB,SAAS,CAACqB,KAAV,CAAgBpB,QAAQ,CAACkB,SAAzB,CAAlB,CAHa;EAIpBb,KAAK,EAAEN,SAAS,CAACoB,MAJG;EAKpBV,WAAW,EAAEV,SAAS,CAACoB;AALH,CAAtB;AAQA,eAAef,SAAf"}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","ListItem","Title","ButtonLink","ExpandibleActionableTable","style","buildListItemsView","content","ariaLabel","items","itemType","itemsView","map","item","index","id","list","buildContentView","type","ListItems","title","buttonLink","contentView","header","buttonCreate","propTypes","string","shape","arrayOf","oneOfType","oneOf"],"sources":["../../../src/organism/list-items/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport ExpandibleActionableTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildListItemsView = (content, ariaLabel) => {\n const {items, itemType} = content;\n const itemsView = items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} order={index} contentType={itemType} />\n </li>\n ));\n return (\n <ul className={style.list} aria-label={ariaLabel} data-name={'content-list'}>\n {itemsView}\n </ul>\n );\n};\nconst buildContentView = (content, ariaLabel) => {\n const {type} = content;\n switch (type) {\n case 'list':\n return buildListItemsView(content, ariaLabel);\n case 'expandible-actionable-table':\n return <ExpandibleActionableTable {...content} />;\n }\n};\n\nconst ListItems = ({title, buttonLink, content, 'aria-label': ariaLabel}) => {\n const contentView = buildContentView(content, ariaLabel);\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n {contentView}\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n type: PropTypes.oneOf(['list']),\n itemType: PropTypes.string\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n type: PropTypes.oneOf(['expandible-actionable-table'])\n })\n ]),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,yBAAP,MAAsC,4CAAtC;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,kBAAkB,GAAG,CAACC,OAAD,EAAUC,SAAV,KAAwB;EACjD,MAAM;IAACC,KAAD;IAAQC;EAAR,IAAoBH,OAA1B;EACA,MAAMI,SAAS,GAAGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBAC1B;IAAI,GAAG,EAAED,IAAI,CAACE,EAAd;IAAkB,SAAS,EAAEV,KAAK,CAACQ,IAAnC;IAAyC,aAAY,WAAUC,KAAM;EAArE,gBACE,oBAAC,QAAD,eAAcD,IAAd;IAAoB,KAAK,EAAEC,KAA3B;IAAkC,WAAW,EAAEJ;EAA/C,GADF,CADgB,CAAlB;EAKA,oBACE;IAAI,SAAS,EAAEL,KAAK,CAACW,IAArB;IAA2B,cAAYR,SAAvC;IAAkD,aAAW;EAA7D,GACGG,SADH,CADF;AAKD,CAZD;;AAaA,MAAMM,gBAAgB,GAAG,CAACV,OAAD,EAAUC,SAAV,KAAwB;EAC/C,MAAM;IAACU;EAAD,IAASX,OAAf;;EACA,QAAQW,IAAR;IACE,KAAK,MAAL;MACE,OAAOZ,kBAAkB,CAACC,OAAD,EAAUC,SAAV,CAAzB;;IACF,KAAK,6BAAL;MACE,oBAAO,oBAAC,yBAAD,EAA+BD,OAA/B,CAAP;EAJJ;AAMD,CARD;;AAUA,MAAMY,SAAS,GAAG,CAAC;EAACC,KAAD;EAAQC,UAAR;EAAoBd,OAApB;EAA6B,cAAcC;AAA3C,CAAD,KAA2D;EAC3E,MAAMc,WAAW,GAAGL,gBAAgB,CAACV,OAAD,EAAUC,SAAV,CAApC;EAEA,oBACE,8CACE;IAAK,SAAS,EAAEH,KAAK,CAACkB;EAAtB,gBACE;IAAK,SAAS,EAAElB,KAAK,CAACe;EAAtB,gBACE,oBAAC,KAAD;IAAO,KAAK,EAAEA,KAAd;IAAqB,IAAI,EAAE,YAA3B;IAAyC,aAAW;EAApD,EADF,CADF,eAIE;IAAK,SAAS,EAAEf,KAAK,CAACmB;EAAtB,gBACE,oBAAC,UAAD,EAAgBH,UAAhB,CADF,CAJF,CADF,EASGC,WATH,CADF;AAaD,CAhBD;;AAkBAH,SAAS,CAACM,SAAV,2CAAsB;EACpB,cAAczB,SAAS,CAAC0B,MADJ;EAEpBL,UAAU,EAAErB,SAAS,CAAC2B,KAAV,CAAgBxB,UAAU,CAACsB,SAA3B,CAFQ;EAGpBhB,KAAK,EAAET,SAAS,CAAC4B,OAAV,CAAkB5B,SAAS,CAAC2B,KAAV,CAAgB1B,QAAQ,CAACwB,SAAzB,CAAlB,CAHa;EAIpBlB,OAAO,EAAEP,SAAS,CAAC6B,SAAV,CAAoB,CAC3B7B,SAAS,CAAC2B,KAAV,CAAgB;IACdlB,KAAK,EAAET,SAAS,CAAC4B,OAAV,CAAkB5B,SAAS,CAAC2B,KAAV,CAAgB1B,QAAQ,CAACwB,SAAzB,CAAlB,CADO;IAEdP,IAAI,EAAElB,SAAS,CAAC8B,KAAV,CAAgB,CAAC,MAAD,CAAhB,CAFQ;IAGdpB,QAAQ,EAAEV,SAAS,CAAC0B;EAHN,CAAhB,CAD2B,EAM3B1B,SAAS,CAAC2B,KAAV,cACKvB,yBAAyB,CAACqB,SAD/B;IAEEP,IAAI,EAAElB,SAAS,CAAC8B,KAAV,CAAgB,CAAC,6BAAD,CAAhB;EAFR,GAN2B,CAApB,CAJW;EAepBV,KAAK,EAAEpB,SAAS,CAAC0B;AAfG,CAAtB;AAkBA,eAAeP,SAAf"}