Unterordnungen löschen, wenn Überordnung nicht konvertiert wird

This commit is contained in:
Felix Lohmeier 2022-05-07 00:59:42 +02:00
parent 447562609c
commit 895c86b426
8 changed files with 374 additions and 50 deletions

View File

@ -1,6 +1,6 @@
[
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -31,10 +31,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -71,10 +72,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -99,10 +101,11 @@
],
"mode": "row-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -145,10 +148,11 @@
],
"mode": "row-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -179,6 +183,7 @@
],
"mode": "row-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
}
]

View File

@ -1,6 +1,6 @@
[
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -44,10 +44,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -81,6 +82,7 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
}
]

View File

@ -1,6 +1,6 @@
[
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -31,10 +31,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -59,10 +60,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -77,10 +79,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -105,10 +108,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -123,10 +127,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -141,10 +146,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -159,10 +165,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -177,10 +184,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -205,6 +213,7 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
}
]

View File

@ -1,6 +1,6 @@
[
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -25,10 +25,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -43,10 +44,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -83,10 +85,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -111,10 +114,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -139,6 +143,7 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
}
]

View File

@ -0,0 +1,87 @@
[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "Starred Rows",
"expression": "row.starred",
"columnName": "",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": true,
"l": "true"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"baseColumnName": "M|IDN",
"expression": "grel:value",
"onError": "set-to-blank",
"newColumnName": "delete",
"columnInsertIndex": 3,
"description": "Create column delete at index 3 based on column M|IDN using expression grel:value"
},
{
"op": "core/row-removal",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|GT0",
"expression": "isBlank(value)",
"columnName": "M|GT0",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "M|GT0",
"expression": "grel:forNonBlank(forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, x, null).cross('alephino','delete')[0],v,'delete','')",
"columnName": "M|GT0",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "delete",
"l": "delete"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"description": "Remove rows"
},
{
"op": "core/column-removal",
"columnName": "delete",
"description": "Remove column delete"
}
]

View File

@ -1,6 +1,6 @@
[
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -25,10 +25,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -71,10 +72,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -99,10 +101,11 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
},
{
"op": "core/row-removal",
"op": "core/row-star",
"engineConfig": {
"facets": [
{
@ -127,6 +130,7 @@
],
"mode": "record-based"
},
"description": "Remove rows"
"starred": true,
"description": "Star rows"
}
]

View File

@ -0,0 +1,30 @@
[
{
"op": "core/row-removal",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "Starred Rows",
"expression": "row.starred",
"columnName": "",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": true,
"l": "true"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"description": "Remove rows"
}
]

View File

@ -0,0 +1,182 @@
[
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|GT0",
"expression": "isBlank(value)",
"columnName": "M|GT0",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "M|GT0",
"expression": "grel:forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, 'L', null)",
"columnName": "M|GT0",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [],
"selectBlank": true,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "M|GT0",
"expression": "null",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
"description": "Text transform on cells in column M|GT0 using expression null"
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|GT1",
"expression": "isBlank(value)",
"columnName": "M|GT1",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "M|GT1",
"expression": "grel:forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, 'L', null)",
"columnName": "M|GT1",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [],
"selectBlank": true,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "M|GT1",
"expression": "null",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
"description": "Text transform on cells in column M|GT1 using expression null"
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|GT2",
"expression": "isBlank(value)",
"columnName": "M|GT2",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "M|GT2",
"expression": "grel:forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, 'L', null)",
"columnName": "M|GT2",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [],
"selectBlank": true,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "M|GT2",
"expression": "null",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
"description": "Text transform on cells in column M|GT2 using expression null"
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|GT3",
"expression": "isBlank(value)",
"columnName": "M|GT3",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "M|GT3",
"expression": "grel:forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, 'L', null)",
"columnName": "M|GT3",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [],
"selectBlank": true,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "M|GT3",
"expression": "null",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
"description": "Text transform on cells in column M|GT3 using expression null"
}
]