nntc-ui 0.0.53 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/index.d.ts +3 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
| ars-demo | [](https://argocd.pp.nntc.pro/applications/argocd/ars-demo-nntc-ui-kit?view=tree&resource=&node=apps%2FDeployment%ars-demo%2Fnntc-ui-kit%2F0&tab=logs) |
|
|
10
10
|
| geonova-demo | [](https://argocd.pp.nntc.pro/applications/argocd/geonova-demo-nntc-ui-kit?view=tree&resource=&node=apps%2FDeployment%2Fgeonova-demo%2Fnntc-ui-kit%2F0&tab=logs) |
|
|
11
11
|
| dflow-demo | [](https://argocd.pp.nntc.pro/applications/argocd/dflow-demo-nntc-ui-kit?view=tree&resource=&node=apps%2FDeployment%2Fdflow-demo%2Fnntc-ui-kit%2F0&tab=logs) |
|
|
12
|
+
| internal-dev | [](https://argocd.np.nntc.pro/applications/argocd/internal-dev-nntc-ui-kit?view=tree&resource=&node=apps%2FDeployment%2Finternal-dev%2Fnntc-ui-kit%2F0&tab=logs) |
|
|
13
|
+
| internal-prod | [](https://argocd.pp.nntc.pro/applications/argocd/internal-prod-nntc-ui-kit?view=tree&resource=&node=apps%2FDeployment%2Finternal-prod%2Fnntc-ui-kit%2F0&tab=logs) |
|
|
12
14
|
|
|
13
15
|
Для перехода к логам нажмите на иконку в колонке статуса
|
|
14
16
|
|
package/index.d.ts
CHANGED
|
@@ -304,7 +304,9 @@ type Borders = 'all' | 'horizontal' | 'vertical' | 'none';
|
|
|
304
304
|
interface Props$7 {
|
|
305
305
|
rows: TableRow[];
|
|
306
306
|
columns: TableColumn[];
|
|
307
|
-
additionalColumnsViews?: (id: string, value: string | number | undefined
|
|
307
|
+
additionalColumnsViews?: (id: string, value: string | number | undefined, payload: {
|
|
308
|
+
[key: string]: string;
|
|
309
|
+
} | undefined) => {
|
|
308
310
|
edit: ((onChange: (e: ChangeEvent) => void, onBlur: () => void) => JSX.Element | null) | null;
|
|
309
311
|
view: JSX.Element | null;
|
|
310
312
|
};
|
package/index.js
CHANGED
|
@@ -2724,7 +2724,7 @@ var DefaultColumn = {
|
|
|
2724
2724
|
useEffect6(() => {
|
|
2725
2725
|
setValue(initialValue);
|
|
2726
2726
|
}, [initialValue]);
|
|
2727
|
-
const additionalViewResult = tableMeta?.additionalColumnsViews?.(id, initialValue);
|
|
2727
|
+
const additionalViewResult = tableMeta?.additionalColumnsViews?.(id, initialValue, original[id]?.payload);
|
|
2728
2728
|
if (isEdit && meta?.editable) {
|
|
2729
2729
|
const onBlur = () => {
|
|
2730
2730
|
tableMeta?.updateData(index, id, value, original);
|