@coorpacademy/components 11.42.6 → 11.42.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/molecule/table/index.d.ts +5 -0
- package/es/molecule/table/index.d.ts.map +1 -1
- package/es/molecule/table/index.js +58 -0
- package/es/molecule/table/index.js.map +1 -1
- package/es/molecule/table/style.css +43 -0
- package/es/organism/assignment-audience/index.d.ts +38 -1
- package/es/organism/assignment-audience/index.d.ts.map +1 -1
- package/es/organism/assignment-audience/index.js +97 -2
- package/es/organism/assignment-audience/index.js.map +1 -1
- package/es/organism/assignment-audience/style.css +85 -0
- package/es/organism/assignment-audience/types.d.ts +75 -0
- package/es/organism/assignment-audience/types.d.ts.map +1 -1
- package/es/organism/assignment-audience/types.js +37 -0
- package/es/organism/assignment-audience/types.js.map +1 -1
- package/es/organism/assignment-edition/index.d.ts +37 -0
- package/es/organism/assignment-edition/index.d.ts.map +1 -1
- package/es/organism/assignment-edition/types.d.ts +37 -0
- package/es/organism/assignment-edition/types.d.ts.map +1 -1
- package/es/organism/brand-table/index.d.ts +5 -0
- package/es/template/back-office/brand-update/index.d.ts +47 -0
- package/lib/molecule/table/index.d.ts +5 -0
- package/lib/molecule/table/index.d.ts.map +1 -1
- package/lib/molecule/table/index.js +58 -0
- package/lib/molecule/table/index.js.map +1 -1
- package/lib/molecule/table/style.css +43 -0
- package/lib/organism/assignment-audience/index.d.ts +38 -1
- package/lib/organism/assignment-audience/index.d.ts.map +1 -1
- package/lib/organism/assignment-audience/index.js +97 -2
- package/lib/organism/assignment-audience/index.js.map +1 -1
- package/lib/organism/assignment-audience/style.css +85 -0
- package/lib/organism/assignment-audience/types.d.ts +75 -0
- package/lib/organism/assignment-audience/types.d.ts.map +1 -1
- package/lib/organism/assignment-audience/types.js +37 -0
- package/lib/organism/assignment-audience/types.js.map +1 -1
- package/lib/organism/assignment-edition/index.d.ts +37 -0
- package/lib/organism/assignment-edition/index.d.ts.map +1 -1
- package/lib/organism/assignment-edition/types.d.ts +37 -0
- package/lib/organism/assignment-edition/types.d.ts.map +1 -1
- package/lib/organism/brand-table/index.d.ts +5 -0
- package/lib/template/back-office/brand-update/index.d.ts +47 -0
- package/package.json +2 -2
|
@@ -112,6 +112,43 @@ declare const AssignmentAudiencePropTypes: {
|
|
|
112
112
|
onAdd: PropTypes.Validator<(...args: any[]) => any>;
|
|
113
113
|
onRemove: PropTypes.Validator<(...args: any[]) => any>;
|
|
114
114
|
}>>;
|
|
115
|
+
assigned: PropTypes.Requireable<PropTypes.InferProps<{
|
|
116
|
+
title: PropTypes.Validator<string>;
|
|
117
|
+
subtitle: PropTypes.Requireable<string>;
|
|
118
|
+
expanded: PropTypes.Validator<boolean>;
|
|
119
|
+
toggleLabel: PropTypes.Validator<string>;
|
|
120
|
+
onToggle: PropTypes.Validator<(...args: any[]) => any>;
|
|
121
|
+
notice: PropTypes.Requireable<string>;
|
|
122
|
+
filters: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
123
|
+
key: PropTypes.Validator<string>;
|
|
124
|
+
label: PropTypes.Validator<string>;
|
|
125
|
+
selected: PropTypes.Validator<boolean>;
|
|
126
|
+
}>>[]>;
|
|
127
|
+
onFilter: PropTypes.Validator<(...args: any[]) => any>;
|
|
128
|
+
search: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
129
|
+
value: PropTypes.Validator<string>;
|
|
130
|
+
placeholder: PropTypes.Validator<string>;
|
|
131
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
132
|
+
}>>>;
|
|
133
|
+
pagination: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
134
|
+
label: PropTypes.Validator<string>;
|
|
135
|
+
onPrevious: PropTypes.Requireable<(...args: any[]) => any>;
|
|
136
|
+
onNext: PropTypes.Requireable<(...args: any[]) => any>;
|
|
137
|
+
}>>>;
|
|
138
|
+
columns: PropTypes.Validator<string[]>;
|
|
139
|
+
rows: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
140
|
+
id: PropTypes.Validator<string>;
|
|
141
|
+
fields: PropTypes.Validator<string[]>;
|
|
142
|
+
action: PropTypes.Requireable<PropTypes.InferProps<{
|
|
143
|
+
label: PropTypes.Validator<string>;
|
|
144
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
145
|
+
variant: PropTypes.Validator<string>;
|
|
146
|
+
}>>;
|
|
147
|
+
actionText: PropTypes.Requireable<string>;
|
|
148
|
+
}>>[]>;
|
|
149
|
+
footnote: PropTypes.Requireable<string>;
|
|
150
|
+
emptyLabel: PropTypes.Validator<string>;
|
|
151
|
+
}>>;
|
|
115
152
|
total: PropTypes.Requireable<PropTypes.InferProps<{
|
|
116
153
|
label: PropTypes.Validator<string>;
|
|
117
154
|
detail: PropTypes.Requireable<string>;
|
|
@@ -144,6 +181,43 @@ export declare type Learner = {
|
|
|
144
181
|
label: string;
|
|
145
182
|
login: string;
|
|
146
183
|
};
|
|
184
|
+
export declare type AssignedLearnersProps = {
|
|
185
|
+
title: string;
|
|
186
|
+
subtitle?: string;
|
|
187
|
+
expanded: boolean;
|
|
188
|
+
toggleLabel: string;
|
|
189
|
+
onToggle: () => void;
|
|
190
|
+
notice?: string;
|
|
191
|
+
filters: Array<{
|
|
192
|
+
key: string;
|
|
193
|
+
label: string;
|
|
194
|
+
selected: boolean;
|
|
195
|
+
}>;
|
|
196
|
+
onFilter: (key: string) => void;
|
|
197
|
+
search: {
|
|
198
|
+
value: string;
|
|
199
|
+
placeholder: string;
|
|
200
|
+
onChange: (value: string) => void;
|
|
201
|
+
};
|
|
202
|
+
pagination: {
|
|
203
|
+
label: string;
|
|
204
|
+
onPrevious?: () => void;
|
|
205
|
+
onNext?: () => void;
|
|
206
|
+
};
|
|
207
|
+
columns: string[];
|
|
208
|
+
rows: Array<{
|
|
209
|
+
id: string;
|
|
210
|
+
fields: string[];
|
|
211
|
+
action?: {
|
|
212
|
+
label: string;
|
|
213
|
+
onClick: () => void;
|
|
214
|
+
variant: 'danger' | 'neutral';
|
|
215
|
+
};
|
|
216
|
+
actionText?: string;
|
|
217
|
+
}>;
|
|
218
|
+
footnote?: string;
|
|
219
|
+
emptyLabel: string;
|
|
220
|
+
};
|
|
147
221
|
export declare type AssignmentAudienceProps = {
|
|
148
222
|
title: string;
|
|
149
223
|
subtitle?: string;
|
|
@@ -206,6 +280,7 @@ export declare type AssignmentAudienceProps = {
|
|
|
206
280
|
onAdd: (learner: Learner) => void;
|
|
207
281
|
onRemove: (id: string) => void;
|
|
208
282
|
};
|
|
283
|
+
assigned?: AssignedLearnersProps;
|
|
209
284
|
total?: {
|
|
210
285
|
label: string;
|
|
211
286
|
detail?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/assignment-audience/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,eAAO,MAAM,QAAQ,wDAAyD,CAAC;AAC/E,oBAAY,eAAe,GAAG,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC;AActD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;CAYjC,CAAC;AAQF,QAAA,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/assignment-audience/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,eAAO,MAAM,QAAQ,wDAAyD,CAAC;AAC/E,oBAAY,eAAe,GAAG,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC;AActD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;CAYjC,CAAC;AAQF,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA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AAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC;QACxB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAClC,KAAK,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;QAClC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;KAChC,CAAC;IACF,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,KAAK,CAAC,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC;CAC1C,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAAC,KAAK,EAAE,uBAAuB,CAAA;CAAC,CAAC"}
|
|
@@ -115,6 +115,43 @@ const AssignmentAudiencePropTypes = {
|
|
|
115
115
|
// Receives the learner id
|
|
116
116
|
onRemove: _propTypes.default.func.isRequired
|
|
117
117
|
}),
|
|
118
|
+
assigned: _propTypes.default.shape({
|
|
119
|
+
title: _propTypes.default.string.isRequired,
|
|
120
|
+
subtitle: _propTypes.default.string,
|
|
121
|
+
expanded: _propTypes.default.bool.isRequired,
|
|
122
|
+
toggleLabel: _propTypes.default.string.isRequired,
|
|
123
|
+
onToggle: _propTypes.default.func.isRequired,
|
|
124
|
+
notice: _propTypes.default.string,
|
|
125
|
+
filters: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
126
|
+
key: _propTypes.default.string.isRequired,
|
|
127
|
+
label: _propTypes.default.string.isRequired,
|
|
128
|
+
selected: _propTypes.default.bool.isRequired
|
|
129
|
+
}).isRequired).isRequired,
|
|
130
|
+
onFilter: _propTypes.default.func.isRequired,
|
|
131
|
+
search: _propTypes.default.shape({
|
|
132
|
+
value: _propTypes.default.string.isRequired,
|
|
133
|
+
placeholder: _propTypes.default.string.isRequired,
|
|
134
|
+
onChange: _propTypes.default.func.isRequired
|
|
135
|
+
}).isRequired,
|
|
136
|
+
pagination: _propTypes.default.shape({
|
|
137
|
+
label: _propTypes.default.string.isRequired,
|
|
138
|
+
onPrevious: _propTypes.default.func,
|
|
139
|
+
onNext: _propTypes.default.func
|
|
140
|
+
}).isRequired,
|
|
141
|
+
columns: _propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired,
|
|
142
|
+
rows: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
143
|
+
id: _propTypes.default.string.isRequired,
|
|
144
|
+
fields: _propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired,
|
|
145
|
+
action: _propTypes.default.shape({
|
|
146
|
+
label: _propTypes.default.string.isRequired,
|
|
147
|
+
onClick: _propTypes.default.func.isRequired,
|
|
148
|
+
variant: _propTypes.default.oneOf(['danger', 'neutral']).isRequired
|
|
149
|
+
}),
|
|
150
|
+
actionText: _propTypes.default.string
|
|
151
|
+
}).isRequired).isRequired,
|
|
152
|
+
footnote: _propTypes.default.string,
|
|
153
|
+
emptyLabel: _propTypes.default.string.isRequired
|
|
154
|
+
}),
|
|
118
155
|
total: _propTypes.default.shape({
|
|
119
156
|
label: _propTypes.default.string.isRequired,
|
|
120
157
|
detail: _propTypes.default.string
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","e","__esModule","default","STATUSES","exports","labelsByStatus","PropTypes","shape","valid","string","unknown","ambiguous","inactive","fileType","name","detail","UploadResultPropTypes","file","summary","keptLabel","report","label","isRequired","onDownload","func","removeLabel","onRemove","learnerType","id","login","AssignmentAudiencePropTypes","title","subtitle","disabledExplanation","team","invalidTargets","arrayOf","ref","invalidLabel","error","disabled","bool","everyone","value","onChange","populations","options","selected","count","oneOfType","number","upload","templateLink","href","templatePreview","header","rows","dropzone","description","browse","dropLabel","loadingLabel","status","oneOf","onUpload","individuals","placeholder","suggestions","onSearch","onAdd","total","_default"],"sources":["../../../src/organism/assignment-audience/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\n// Each file row resolves to one of four statuses. A never-connected account is `valid` and added\n// with no warning; a deactivated account is `inactive`, skipped and reported.\nexport const STATUSES = ['valid', 'unknown', 'ambiguous', 'inactive'] as const;\nexport type UploadRowStatus = typeof STATUSES[number];\n\nconst labelsByStatus = PropTypes.shape({\n valid: PropTypes.string,\n unknown: PropTypes.string,\n ambiguous: PropTypes.string,\n inactive: PropTypes.string\n});\n\nconst fileType = PropTypes.shape({\n name: PropTypes.string,\n detail: PropTypes.string\n});\n\nexport const UploadResultPropTypes = {\n file: fileType,\n // The four count labels, formatted by the app, e.g. {valid: '201 valid', unknown: '6 unknown'}\n summary: labelsByStatus,\n keptLabel: PropTypes.string,\n // The logins not kept, with their reason, as a file the app builds: offered only when some are\n report: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onDownload: PropTypes.func.isRequired\n }),\n removeLabel: PropTypes.string,\n onRemove: PropTypes.func\n};\n\nconst learnerType = PropTypes.shape({\n id: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n login: PropTypes.string.isRequired\n});\n\nconst AssignmentAudiencePropTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n disabledExplanation: PropTypes.string,\n team: PropTypes.shape({\n label: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired\n }),\n invalidTargets: PropTypes.arrayOf(\n PropTypes.shape({\n ref: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n onRemove: PropTypes.func.isRequired\n })\n ),\n invalidLabel: PropTypes.string,\n error: PropTypes.string,\n disabled: PropTypes.bool,\n everyone: PropTypes.shape({\n title: PropTypes.string,\n label: PropTypes.string.isRequired,\n value: PropTypes.bool.isRequired,\n // Receives the new boolean\n onChange: PropTypes.func.isRequired\n }),\n populations: PropTypes.shape({\n title: PropTypes.string,\n subtitle: PropTypes.string,\n label: PropTypes.string,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n // The population's learner count, formatted by the app, shown on its chip\n count: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n })\n ).isRequired,\n // Prefixes a removable chip's accessible name, e.g. 'Remove' → « Remove Managers FR »\n removeLabel: PropTypes.string,\n // Receives the selected options, with selected: true\n onChange: PropTypes.func.isRequired\n }),\n upload: PropTypes.shape({\n // The file line and the result, once the file is checked\n ...UploadResultPropTypes,\n title: PropTypes.string,\n subtitle: PropTypes.string,\n templateLink: PropTypes.shape({\n label: PropTypes.string,\n href: PropTypes.string\n }),\n // A sample of the expected file, shown left of the upload: a header and example values\n templatePreview: PropTypes.shape({\n header: PropTypes.string.isRequired,\n rows: PropTypes.arrayOf(PropTypes.string)\n }),\n // The Coorpmanager uploader's texts: the hint, the button, the drop text, the loader text\n dropzone: PropTypes.shape({\n description: PropTypes.string,\n browse: PropTypes.string,\n dropLabel: PropTypes.string,\n loadingLabel: PropTypes.string\n }),\n status: PropTypes.oneOf(['idle', 'loading', 'done', 'error']).isRequired,\n error: PropTypes.string,\n // Receives the first File. Parsing and login resolution belong to the consumer.\n onUpload: PropTypes.func.isRequired\n }),\n individuals: PropTypes.shape({\n title: PropTypes.string,\n placeholder: PropTypes.string,\n value: PropTypes.string,\n suggestions: PropTypes.arrayOf(learnerType),\n selected: PropTypes.arrayOf(learnerType),\n // Prefixes a removable chip's accessible name, e.g. 'Remove' → « Remove Camille Durand »\n removeLabel: PropTypes.string,\n // Receives the query, searched by name or login\n onSearch: PropTypes.func.isRequired,\n // Receives the original {id, label, login} suggestion\n onAdd: PropTypes.func.isRequired,\n // Receives the learner id\n onRemove: PropTypes.func.isRequired\n }),\n total: PropTypes.shape({\n label: PropTypes.string.isRequired,\n detail: PropTypes.string\n })\n};\n\nexport default AssignmentAudiencePropTypes;\n\ntype LabelsByStatus = Partial<Record<UploadRowStatus, string>>;\n\nexport type UploadResultProps = {\n file?: {name?: string; detail?: string};\n summary?: LabelsByStatus;\n keptLabel?: string;\n report?: {label: string; onDownload: () => void};\n removeLabel?: string;\n onRemove?: () => void;\n};\n\nexport type PopulationOption = {\n name: string;\n value: string;\n selected: boolean;\n count?: string | number;\n};\n\nexport type Learner = {\n id: string;\n label: string;\n login: string;\n};\n\nexport type AssignmentAudienceProps = {\n title: string;\n subtitle?: string;\n disabledExplanation?: string;\n team?: {label: string; name: string};\n invalidTargets?: Array<{ref: string; label: string; onRemove: () => void}>;\n invalidLabel?: string;\n error?: string;\n disabled?: boolean;\n everyone?: {\n title?: string;\n label: string;\n value: boolean;\n onChange: (value: boolean) => void;\n };\n populations?: {\n title?: string;\n subtitle?: string;\n label?: string;\n options: PopulationOption[];\n removeLabel?: string;\n onChange: (selected: PopulationOption[]) => void;\n };\n upload?: UploadResultProps & {\n title?: string;\n subtitle?: string;\n templateLink?: {label?: string; href?: string};\n templatePreview?: {header: string; rows?: string[]};\n dropzone?: {\n description?: string;\n browse?: string;\n dropLabel?: string;\n loadingLabel?: string;\n };\n status: 'idle' | 'loading' | 'done' | 'error';\n error?: string;\n onUpload: (file: File) => void;\n };\n individuals?: {\n title?: string;\n placeholder?: string;\n value?: string;\n suggestions?: Learner[];\n selected?: Learner[];\n removeLabel?: string;\n onSearch: (query: string) => void;\n onAdd: (learner: Learner) => void;\n onRemove: (id: string) => void;\n };\n total?: {label: string; detail?: string};\n};\n\nexport type AssignmentAudiencePropsFixture = {props: AssignmentAudienceProps};\n"],"mappings":";;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAmC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEnC;AACA;AACO,MAAMG,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG,CAAC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,U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AS,CAACC,KAAK,CAAC;IAC3BwB,KAAK,EAAEzB,kBAAS,CAACG,MAAM;IACvByD,WAAW,EAAE5D,kBAAS,CAACG,MAAM;IAC7BkC,KAAK,EAAErC,kBAAS,CAACG,MAAM;IACvB0D,WAAW,EAAE7D,kBAAS,CAAC8B,OAAO,CAACT,WAAW,CAAC;IAC3CoB,QAAQ,EAAEzC,kBAAS,CAAC8B,OAAO,CAACT,WAAW,CAAC;IACxC;IACAF,WAAW,EAAEnB,kBAAS,CAACG,MAAM;IAC7B;IACA2D,QAAQ,EAAE9D,kBAAS,CAACkB,IAAI,CAACF,UAAU;IACnC;IACA+C,KAAK,EAAE/D,kBAAS,CAACkB,IAAI,CAACF,UAAU;IAChC;IACAI,QAAQ,EAAEpB,kBAAS,CAACkB,IAAI,CAACF;EAC3B,CAAC,CAAC;EACFgD,KAAK,EAAEhE,kBAAS,CAACC,KAAK,CAAC;IACrBc,KAAK,EAAEf,kBAAS,CAACG,MAAM,CAACa,UAAU;IAClCP,MAAM,EAAET,kBAAS,CAACG;EACpB,CAAC;AACH,CAAC;AAAC,IAAA8D,QAAA,GAAAnE,OAAA,CAAAF,OAAA,GAEa4B,2BAA2B","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","e","__esModule","default","STATUSES","exports","labelsByStatus","PropTypes","shape","valid","string","unknown","ambiguous","inactive","fileType","name","detail","UploadResultPropTypes","file","summary","keptLabel","report","label","isRequired","onDownload","func","removeLabel","onRemove","learnerType","id","login","AssignmentAudiencePropTypes","title","subtitle","disabledExplanation","team","invalidTargets","arrayOf","ref","invalidLabel","error","disabled","bool","everyone","value","onChange","populations","options","selected","count","oneOfType","number","upload","templateLink","href","templatePreview","header","rows","dropzone","description","browse","dropLabel","loadingLabel","status","oneOf","onUpload","individuals","placeholder","suggestions","onSearch","onAdd","assigned","expanded","toggleLabel","onToggle","notice","filters","key","onFilter","search","pagination","onPrevious","onNext","columns","fields","action","onClick","variant","actionText","footnote","emptyLabel","total","_default"],"sources":["../../../src/organism/assignment-audience/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\n// Each file row resolves to one of four statuses. A never-connected account is `valid` and added\n// with no warning; a deactivated account is `inactive`, skipped and reported.\nexport const STATUSES = ['valid', 'unknown', 'ambiguous', 'inactive'] as const;\nexport type UploadRowStatus = typeof STATUSES[number];\n\nconst labelsByStatus = PropTypes.shape({\n valid: PropTypes.string,\n unknown: PropTypes.string,\n ambiguous: PropTypes.string,\n inactive: PropTypes.string\n});\n\nconst fileType = PropTypes.shape({\n name: PropTypes.string,\n detail: PropTypes.string\n});\n\nexport const UploadResultPropTypes = {\n file: fileType,\n // The four count labels, formatted by the app, e.g. {valid: '201 valid', unknown: '6 unknown'}\n summary: labelsByStatus,\n keptLabel: PropTypes.string,\n // The logins not kept, with their reason, as a file the app builds: offered only when some are\n report: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onDownload: PropTypes.func.isRequired\n }),\n removeLabel: PropTypes.string,\n onRemove: PropTypes.func\n};\n\nconst learnerType = PropTypes.shape({\n id: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n login: PropTypes.string.isRequired\n});\n\nconst AssignmentAudiencePropTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n disabledExplanation: PropTypes.string,\n team: PropTypes.shape({\n label: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired\n }),\n invalidTargets: PropTypes.arrayOf(\n PropTypes.shape({\n ref: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n onRemove: PropTypes.func.isRequired\n })\n ),\n invalidLabel: PropTypes.string,\n error: PropTypes.string,\n disabled: PropTypes.bool,\n everyone: PropTypes.shape({\n title: PropTypes.string,\n label: PropTypes.string.isRequired,\n value: PropTypes.bool.isRequired,\n // Receives the new boolean\n onChange: PropTypes.func.isRequired\n }),\n populations: PropTypes.shape({\n title: PropTypes.string,\n subtitle: PropTypes.string,\n label: PropTypes.string,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n // The population's learner count, formatted by the app, shown on its chip\n count: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n })\n ).isRequired,\n // Prefixes a removable chip's accessible name, e.g. 'Remove' → « Remove Managers FR »\n removeLabel: PropTypes.string,\n // Receives the selected options, with selected: true\n onChange: PropTypes.func.isRequired\n }),\n upload: PropTypes.shape({\n // The file line and the result, once the file is checked\n ...UploadResultPropTypes,\n title: PropTypes.string,\n subtitle: PropTypes.string,\n templateLink: PropTypes.shape({\n label: PropTypes.string,\n href: PropTypes.string\n }),\n // A sample of the expected file, shown left of the upload: a header and example values\n templatePreview: PropTypes.shape({\n header: PropTypes.string.isRequired,\n rows: PropTypes.arrayOf(PropTypes.string)\n }),\n // The Coorpmanager uploader's texts: the hint, the button, the drop text, the loader text\n dropzone: PropTypes.shape({\n description: PropTypes.string,\n browse: PropTypes.string,\n dropLabel: PropTypes.string,\n loadingLabel: PropTypes.string\n }),\n status: PropTypes.oneOf(['idle', 'loading', 'done', 'error']).isRequired,\n error: PropTypes.string,\n // Receives the first File. Parsing and login resolution belong to the consumer.\n onUpload: PropTypes.func.isRequired\n }),\n individuals: PropTypes.shape({\n title: PropTypes.string,\n placeholder: PropTypes.string,\n value: PropTypes.string,\n suggestions: PropTypes.arrayOf(learnerType),\n selected: PropTypes.arrayOf(learnerType),\n // Prefixes a removable chip's accessible name, e.g. 'Remove' → « Remove Camille Durand »\n removeLabel: PropTypes.string,\n // Receives the query, searched by name or login\n onSearch: PropTypes.func.isRequired,\n // Receives the original {id, label, login} suggestion\n onAdd: PropTypes.func.isRequired,\n // Receives the learner id\n onRemove: PropTypes.func.isRequired\n }),\n assigned: PropTypes.shape({\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n expanded: PropTypes.bool.isRequired,\n toggleLabel: PropTypes.string.isRequired,\n onToggle: PropTypes.func.isRequired,\n notice: PropTypes.string,\n filters: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired\n }).isRequired\n ).isRequired,\n onFilter: PropTypes.func.isRequired,\n search: PropTypes.shape({\n value: PropTypes.string.isRequired,\n placeholder: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired\n }).isRequired,\n pagination: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onPrevious: PropTypes.func,\n onNext: PropTypes.func\n }).isRequired,\n columns: PropTypes.arrayOf(PropTypes.string.isRequired).isRequired,\n rows: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string.isRequired,\n fields: PropTypes.arrayOf(PropTypes.string.isRequired).isRequired,\n action: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n variant: PropTypes.oneOf(['danger', 'neutral']).isRequired\n }),\n actionText: PropTypes.string\n }).isRequired\n ).isRequired,\n footnote: PropTypes.string,\n emptyLabel: PropTypes.string.isRequired\n }),\n total: PropTypes.shape({\n label: PropTypes.string.isRequired,\n detail: PropTypes.string\n })\n};\n\nexport default AssignmentAudiencePropTypes;\n\ntype LabelsByStatus = Partial<Record<UploadRowStatus, string>>;\n\nexport type UploadResultProps = {\n file?: {name?: string; detail?: string};\n summary?: LabelsByStatus;\n keptLabel?: string;\n report?: {label: string; onDownload: () => void};\n removeLabel?: string;\n onRemove?: () => void;\n};\n\nexport type PopulationOption = {\n name: string;\n value: string;\n selected: boolean;\n count?: string | number;\n};\n\nexport type Learner = {\n id: string;\n label: string;\n login: string;\n};\n\nexport type AssignedLearnersProps = {\n title: string;\n subtitle?: string;\n expanded: boolean;\n toggleLabel: string;\n onToggle: () => void;\n notice?: string;\n filters: Array<{key: string; label: string; selected: boolean}>;\n onFilter: (key: string) => void;\n search: {value: string; placeholder: string; onChange: (value: string) => void};\n pagination: {label: string; onPrevious?: () => void; onNext?: () => void};\n columns: string[];\n rows: Array<{\n id: string;\n fields: string[];\n action?: {label: string; onClick: () => void; variant: 'danger' | 'neutral'};\n actionText?: string;\n }>;\n footnote?: string;\n emptyLabel: string;\n};\n\nexport type AssignmentAudienceProps = {\n title: string;\n subtitle?: string;\n disabledExplanation?: string;\n team?: {label: string; name: string};\n invalidTargets?: Array<{ref: string; label: string; onRemove: () => void}>;\n invalidLabel?: string;\n error?: string;\n disabled?: boolean;\n everyone?: {\n title?: string;\n label: string;\n value: boolean;\n onChange: (value: boolean) => void;\n };\n populations?: {\n title?: string;\n subtitle?: string;\n label?: string;\n options: PopulationOption[];\n removeLabel?: string;\n onChange: (selected: PopulationOption[]) => void;\n };\n upload?: UploadResultProps & {\n title?: string;\n subtitle?: string;\n templateLink?: {label?: string; href?: string};\n templatePreview?: {header: string; rows?: string[]};\n dropzone?: {\n description?: string;\n browse?: string;\n dropLabel?: string;\n loadingLabel?: string;\n };\n status: 'idle' | 'loading' | 'done' | 'error';\n error?: string;\n onUpload: (file: File) => void;\n };\n individuals?: {\n title?: string;\n placeholder?: string;\n value?: string;\n suggestions?: Learner[];\n selected?: Learner[];\n removeLabel?: string;\n onSearch: (query: string) => void;\n onAdd: (learner: Learner) => void;\n onRemove: (id: string) => void;\n };\n assigned?: AssignedLearnersProps;\n total?: {label: string; detail?: string};\n};\n\nexport type AssignmentAudiencePropsFixture = {props: AssignmentAudienceProps};\n"],"mappings":";;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAmC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEnC;AACA;AACO,MAAMG,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG,CAAC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,CAAU;AAG9E,MAAME,cAAc,GAAGC,kBAAS,CAACC,KAAK,CAAC;EACrCC,KAAK,EAAEF,kBAAS,CAACG,MAAM;EACv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BAAS,CAACG;EACpB,CAAC;AACH,CAAC;AAAC,IAAAkF,QAAA,GAAAvF,OAAA,CAAAF,OAAA,GAEa4B,2BAA2B","ignoreList":[]}
|
|
@@ -122,6 +122,43 @@ declare const AssignmentEdition: {
|
|
|
122
122
|
onAdd: import("prop-types").Validator<(...args: any[]) => any>;
|
|
123
123
|
onRemove: import("prop-types").Validator<(...args: any[]) => any>;
|
|
124
124
|
}>>;
|
|
125
|
+
assigned: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
126
|
+
title: import("prop-types").Validator<string>;
|
|
127
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
128
|
+
expanded: import("prop-types").Validator<boolean>;
|
|
129
|
+
toggleLabel: import("prop-types").Validator<string>;
|
|
130
|
+
onToggle: import("prop-types").Validator<(...args: any[]) => any>;
|
|
131
|
+
notice: import("prop-types").Requireable<string>;
|
|
132
|
+
filters: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
133
|
+
key: import("prop-types").Validator<string>;
|
|
134
|
+
label: import("prop-types").Validator<string>;
|
|
135
|
+
selected: import("prop-types").Validator<boolean>;
|
|
136
|
+
}>>[]>;
|
|
137
|
+
onFilter: import("prop-types").Validator<(...args: any[]) => any>;
|
|
138
|
+
search: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
139
|
+
value: import("prop-types").Validator<string>;
|
|
140
|
+
placeholder: import("prop-types").Validator<string>;
|
|
141
|
+
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
142
|
+
}>>>;
|
|
143
|
+
pagination: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
144
|
+
label: import("prop-types").Validator<string>;
|
|
145
|
+
onPrevious: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
146
|
+
onNext: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
147
|
+
}>>>;
|
|
148
|
+
columns: import("prop-types").Validator<string[]>;
|
|
149
|
+
rows: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
150
|
+
id: import("prop-types").Validator<string>;
|
|
151
|
+
fields: import("prop-types").Validator<string[]>;
|
|
152
|
+
action: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
153
|
+
label: import("prop-types").Validator<string>;
|
|
154
|
+
onClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
155
|
+
variant: import("prop-types").Validator<string>;
|
|
156
|
+
}>>;
|
|
157
|
+
actionText: import("prop-types").Requireable<string>;
|
|
158
|
+
}>>[]>;
|
|
159
|
+
footnote: import("prop-types").Requireable<string>;
|
|
160
|
+
emptyLabel: import("prop-types").Validator<string>;
|
|
161
|
+
}>>;
|
|
125
162
|
total: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
126
163
|
label: import("prop-types").Validator<string>;
|
|
127
164
|
detail: import("prop-types").Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/assignment-edition/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAC,sBAAsB,EAAY,MAAM,SAAS,CAAC;AAG1D,YAAY,EAAC,sBAAsB,EAAE,6BAA6B,EAAC,MAAM,SAAS,CAAC;AAEnF,QAAA,MAAM,iBAAiB;iFAQpB,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/assignment-edition/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAC,sBAAsB,EAAY,MAAM,SAAS,CAAC;AAG1D,YAAY,EAAC,sBAAsB,EAAE,6BAA6B,EAAC,MAAM,SAAS,CAAC;AAEnF,QAAA,MAAM,iBAAiB;iFAQpB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGxB,CAAC;AAGF,eAAe,iBAAiB,CAAC"}
|
|
@@ -174,6 +174,43 @@ export declare const propTypes: {
|
|
|
174
174
|
onAdd: PropTypes.Validator<(...args: any[]) => any>;
|
|
175
175
|
onRemove: PropTypes.Validator<(...args: any[]) => any>;
|
|
176
176
|
}>>;
|
|
177
|
+
assigned: PropTypes.Requireable<PropTypes.InferProps<{
|
|
178
|
+
title: PropTypes.Validator<string>;
|
|
179
|
+
subtitle: PropTypes.Requireable<string>;
|
|
180
|
+
expanded: PropTypes.Validator<boolean>;
|
|
181
|
+
toggleLabel: PropTypes.Validator<string>;
|
|
182
|
+
onToggle: PropTypes.Validator<(...args: any[]) => any>;
|
|
183
|
+
notice: PropTypes.Requireable<string>;
|
|
184
|
+
filters: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
185
|
+
key: PropTypes.Validator<string>;
|
|
186
|
+
label: PropTypes.Validator<string>;
|
|
187
|
+
selected: PropTypes.Validator<boolean>;
|
|
188
|
+
}>>[]>;
|
|
189
|
+
onFilter: PropTypes.Validator<(...args: any[]) => any>;
|
|
190
|
+
search: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
191
|
+
value: PropTypes.Validator<string>;
|
|
192
|
+
placeholder: PropTypes.Validator<string>;
|
|
193
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
194
|
+
}>>>;
|
|
195
|
+
pagination: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
196
|
+
label: PropTypes.Validator<string>;
|
|
197
|
+
onPrevious: PropTypes.Requireable<(...args: any[]) => any>;
|
|
198
|
+
onNext: PropTypes.Requireable<(...args: any[]) => any>;
|
|
199
|
+
}>>>;
|
|
200
|
+
columns: PropTypes.Validator<string[]>;
|
|
201
|
+
rows: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
202
|
+
id: PropTypes.Validator<string>;
|
|
203
|
+
fields: PropTypes.Validator<string[]>;
|
|
204
|
+
action: PropTypes.Requireable<PropTypes.InferProps<{
|
|
205
|
+
label: PropTypes.Validator<string>;
|
|
206
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
207
|
+
variant: PropTypes.Validator<string>;
|
|
208
|
+
}>>;
|
|
209
|
+
actionText: PropTypes.Requireable<string>;
|
|
210
|
+
}>>[]>;
|
|
211
|
+
footnote: PropTypes.Requireable<string>;
|
|
212
|
+
emptyLabel: PropTypes.Validator<string>;
|
|
213
|
+
}>>;
|
|
177
214
|
total: PropTypes.Requireable<PropTypes.InferProps<{
|
|
178
215
|
label: PropTypes.Validator<string>;
|
|
179
216
|
detail: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/assignment-edition/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAA8B,mBAAmB,EAAC,MAAM,mCAAmC,CAAC;AACnG,OAAoC,EAAC,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAClG,OAAO,EAAC,gBAAgB,EAAgC,MAAM,iCAAiC,CAAC;AAEhG,aAAK,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC,GAAG;IAC7F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AACF,aAAK,SAAS,GAAG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EAAE,aAAa,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC;CAClE,CAAC;AACF,oBAAY,6BAA6B,GAAG;IAAC,KAAK,EAAE,sBAAsB,CAAA;CAAC,CAAC;AAE5E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDrB,CAAC"}
|
|
@@ -26,6 +26,11 @@ declare namespace BrandTable {
|
|
|
26
26
|
const editable: PropTypes.Requireable<boolean>;
|
|
27
27
|
const rows: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
28
28
|
fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
|
|
29
|
+
action: PropTypes.Requireable<PropTypes.InferProps<{
|
|
30
|
+
label: PropTypes.Validator<string>;
|
|
31
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
32
|
+
variant: PropTypes.Validator<string>;
|
|
33
|
+
}>>;
|
|
29
34
|
icon: PropTypes.Requireable<string>;
|
|
30
35
|
title: PropTypes.Requireable<string>;
|
|
31
36
|
text: PropTypes.Requireable<string>;
|
|
@@ -342,6 +342,11 @@ declare namespace BrandUpdate {
|
|
|
342
342
|
editable: PropTypes.Requireable<boolean>;
|
|
343
343
|
rows: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
344
344
|
fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
|
|
345
|
+
action: PropTypes.Requireable<PropTypes.InferProps<{
|
|
346
|
+
label: PropTypes.Validator<string>;
|
|
347
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
348
|
+
variant: PropTypes.Validator<string>;
|
|
349
|
+
}>>;
|
|
345
350
|
icon: PropTypes.Requireable<string>;
|
|
346
351
|
title: PropTypes.Requireable<string>;
|
|
347
352
|
text: PropTypes.Requireable<string>;
|
|
@@ -2036,6 +2041,43 @@ declare namespace BrandUpdate {
|
|
|
2036
2041
|
onAdd: PropTypes.Validator<(...args: any[]) => any>;
|
|
2037
2042
|
onRemove: PropTypes.Validator<(...args: any[]) => any>;
|
|
2038
2043
|
}>>;
|
|
2044
|
+
assigned: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2045
|
+
title: PropTypes.Validator<string>;
|
|
2046
|
+
subtitle: PropTypes.Requireable<string>;
|
|
2047
|
+
expanded: PropTypes.Validator<boolean>;
|
|
2048
|
+
toggleLabel: PropTypes.Validator<string>;
|
|
2049
|
+
onToggle: PropTypes.Validator<(...args: any[]) => any>;
|
|
2050
|
+
notice: PropTypes.Requireable<string>;
|
|
2051
|
+
filters: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
2052
|
+
key: PropTypes.Validator<string>;
|
|
2053
|
+
label: PropTypes.Validator<string>;
|
|
2054
|
+
selected: PropTypes.Validator<boolean>;
|
|
2055
|
+
}>>[]>;
|
|
2056
|
+
onFilter: PropTypes.Validator<(...args: any[]) => any>;
|
|
2057
|
+
search: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
2058
|
+
value: PropTypes.Validator<string>;
|
|
2059
|
+
placeholder: PropTypes.Validator<string>;
|
|
2060
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
2061
|
+
}>>>;
|
|
2062
|
+
pagination: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
2063
|
+
label: PropTypes.Validator<string>;
|
|
2064
|
+
onPrevious: PropTypes.Requireable<(...args: any[]) => any>;
|
|
2065
|
+
onNext: PropTypes.Requireable<(...args: any[]) => any>;
|
|
2066
|
+
}>>>;
|
|
2067
|
+
columns: PropTypes.Validator<string[]>;
|
|
2068
|
+
rows: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
2069
|
+
id: PropTypes.Validator<string>;
|
|
2070
|
+
fields: PropTypes.Validator<string[]>;
|
|
2071
|
+
action: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2072
|
+
label: PropTypes.Validator<string>;
|
|
2073
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
2074
|
+
variant: PropTypes.Validator<string>;
|
|
2075
|
+
}>>;
|
|
2076
|
+
actionText: PropTypes.Requireable<string>;
|
|
2077
|
+
}>>[]>;
|
|
2078
|
+
footnote: PropTypes.Requireable<string>;
|
|
2079
|
+
emptyLabel: PropTypes.Validator<string>;
|
|
2080
|
+
}>>;
|
|
2039
2081
|
total: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2040
2082
|
label: PropTypes.Validator<string>;
|
|
2041
2083
|
detail: PropTypes.Requireable<string>;
|
|
@@ -4019,6 +4061,11 @@ declare namespace BrandUpdate {
|
|
|
4019
4061
|
editable: PropTypes.Requireable<boolean>;
|
|
4020
4062
|
rows: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
4021
4063
|
fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
|
|
4064
|
+
action: PropTypes.Requireable<PropTypes.InferProps<{
|
|
4065
|
+
label: PropTypes.Validator<string>;
|
|
4066
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
4067
|
+
variant: PropTypes.Validator<string>;
|
|
4068
|
+
}>>;
|
|
4022
4069
|
icon: PropTypes.Requireable<string>;
|
|
4023
4070
|
title: PropTypes.Requireable<string>;
|
|
4024
4071
|
text: PropTypes.Requireable<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/components",
|
|
3
|
-
"version": "11.42.
|
|
3
|
+
"version": "11.42.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -169,5 +169,5 @@
|
|
|
169
169
|
"last 2 versions",
|
|
170
170
|
"IE 11"
|
|
171
171
|
],
|
|
172
|
-
"gitHead": "
|
|
172
|
+
"gitHead": "9408924d712b5e03ce9495aa3bfffba9653e59b0"
|
|
173
173
|
}
|