@activepieces/piece-microsoft-excel-365 0.4.3 → 0.4.5
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/package.json +3 -4
- package/src/i18n/de.json +4 -0
- package/src/i18n/es.json +4 -0
- package/src/i18n/fr.json +4 -0
- package/src/i18n/ja.json +4 -0
- package/src/i18n/nl.json +4 -0
- package/src/i18n/pt.json +4 -0
- package/src/i18n/translation.json +4 -0
- package/src/i18n/zh.json +4 -0
- package/src/lib/actions/get-worksheet-rows.js +12 -5
- package/src/lib/actions/get-worksheet-rows.js.map +1 -1
- package/src/lib/common/constants.d.ts +3 -1
- package/src/lib/common/constants.js +4 -0
- package/src/lib/common/constants.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-microsoft-excel-365",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@microsoft/microsoft-graph-client": "3.0.7",
|
|
6
6
|
"@microsoft/microsoft-graph-types": "2.40.0",
|
|
@@ -11,15 +11,14 @@
|
|
|
11
11
|
"dayjs": "1.11.9",
|
|
12
12
|
"deepmerge-ts": "7.1.0",
|
|
13
13
|
"form-data": "4.0.4",
|
|
14
|
-
"i18next": "23.13.0",
|
|
15
14
|
"mime-types": "2.1.35",
|
|
16
15
|
"nanoid": "3.3.8",
|
|
17
16
|
"semver": "7.6.0",
|
|
18
17
|
"socket.io-client": "4.8.1",
|
|
19
18
|
"zod": "4.1.13",
|
|
20
19
|
"@activepieces/pieces-common": "0.11.5",
|
|
21
|
-
"@activepieces/pieces-framework": "0.25.
|
|
22
|
-
"@activepieces/shared": "0.
|
|
20
|
+
"@activepieces/pieces-framework": "0.25.3",
|
|
21
|
+
"@activepieces/shared": "0.37.0",
|
|
23
22
|
"tslib": "2.6.2"
|
|
24
23
|
},
|
|
25
24
|
"resolutions": {
|
package/src/i18n/de.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"Create Worksheet": "Arbeitsblatt erstellen",
|
|
27
27
|
"Find Row": "Finde Zeile",
|
|
28
28
|
"Find Workbook": "Arbeitsbuch finden",
|
|
29
|
+
"Find Worksheet": "Arbeitsblatt finden",
|
|
29
30
|
"Get Cells in Range": "Hol dir Zellen in Reichweite",
|
|
30
31
|
"Get Row by ID": "Zeile per ID erhalten",
|
|
31
32
|
"Get Worksheet by ID": "Arbeitsblatt über ID abrufen",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"Add a new worksheet (tab) to an existing workbook with optional default headers.": "Fügen Sie ein neues Arbeitsblatt (Tab) zu einem bestehenden Arbeitsbuch mit optionalen Headern hinzu.",
|
|
57
58
|
"Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).": "Suchen Sie eine Zeile, indem Sie eine Spalte und einen Wert angeben (z.B. finden Sie eine Zeile, in der „ID“ = 123).",
|
|
58
59
|
"Finds an existing workbook by name.": "Findet ein bestehendes Arbeitsbuch mit Namen.",
|
|
60
|
+
"Finds an existing worksheet by name.": "Findet ein vorhandenes Arbeitsblatt mit Namen.",
|
|
59
61
|
"Retrieve the values in a given cell range (e.g., “A1:C10”).": "Rufen Sie die Werte in einem vorgegebenen Zellbereich ab (z.B. „A1:C10“).",
|
|
60
62
|
" Retrieve the entire content of a row by its row ID.": " Ruft den gesamten Inhalt einer Zeile nach ihrer Zeilennummer ab.",
|
|
61
63
|
"Retrieve metadata of a worksheet by its ID.": "Abrufen von Metadaten eines Arbeitsblatts durch seine ID.",
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
"Row Number": "Zeilennummer",
|
|
92
94
|
"Headers": "Kopfzeilen",
|
|
93
95
|
"File Name": "Dateiname",
|
|
96
|
+
"Exact Match": "Genaues Match",
|
|
94
97
|
"Row ID (Index)": "Zeilennummer (Index)",
|
|
95
98
|
"New Worksheet Name": "Neuer Arbeitsblattname",
|
|
96
99
|
"Method": "Methode",
|
|
@@ -135,6 +138,7 @@
|
|
|
135
138
|
"The column to search in.": "Die Spalte in der gesucht werden soll.",
|
|
136
139
|
"The value to find in the lookup column.": "Der Wert, der in der Suchspalte zu finden ist.",
|
|
137
140
|
"Excel File name to search for without extension.": "Excel-Dateiname zur Suche ohne Erweiterung.",
|
|
141
|
+
"If true, only return worksheets that exactly match the name. If false, return worksheets that contain the name.": "Wenn aktiviert, geben Sie nur Arbeitsblätter zurück, die genau mit dem Namen übereinstimmen. Wenn falsch, geben Sie Arbeitsblätter zurück, die den Namen enthalten.",
|
|
138
142
|
"The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").": "Der Bereich der Zellen, die in A1-Notation abgerufen werden sollen (z.B. \"A1:C10\").",
|
|
139
143
|
"The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).": "Der null-basierte Index der zu holenden Zeile (z.B. 0 für die erste Zeile, 1 für die zweite Zeile).",
|
|
140
144
|
"\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n": "\nDer neue Name für das Arbeitsblatt. Der Name muss die folgenden Regeln beachten:\n- darf nicht leer sein.\n- 31 Zeichen nicht überschreiten.\n- Darf keine der folgenden Zeichen enthalten: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- Der Name \"History\" ist von Excel reserviert und kann nicht verwendet werden.\n",
|
package/src/i18n/es.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"Create Worksheet": "Crear hoja de trabajo",
|
|
27
27
|
"Find Row": "Buscar fila",
|
|
28
28
|
"Find Workbook": "Buscar Libro de Trabajo",
|
|
29
|
+
"Find Worksheet": "Buscar hoja de trabajo",
|
|
29
30
|
"Get Cells in Range": "Obtener celdas en el rango",
|
|
30
31
|
"Get Row by ID": "Obtener fila por ID",
|
|
31
32
|
"Get Worksheet by ID": "Obtener Hoja de Trabajo por ID",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"Add a new worksheet (tab) to an existing workbook with optional default headers.": "Añadir una nueva hoja de trabajo (pestaña) a un libro de trabajo existente con cabeceras predeterminadas opcionales.",
|
|
57
58
|
"Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).": "Busque una fila especificando una columna de búsqueda y un valor (por ejemplo, encuentre una fila donde “ID” = 123).",
|
|
58
59
|
"Finds an existing workbook by name.": "Encuentra un libro existente por su nombre.",
|
|
60
|
+
"Finds an existing worksheet by name.": "Encuentra una hoja de trabajo existente por su nombre.",
|
|
59
61
|
"Retrieve the values in a given cell range (e.g., “A1:C10”).": "Recuperar los valores en un determinado rango de celdas (por ejemplo, “A1:C10”).",
|
|
60
62
|
" Retrieve the entire content of a row by its row ID.": " Recuperar todo el contenido de una fila por su ID de fila.",
|
|
61
63
|
"Retrieve metadata of a worksheet by its ID.": "Recuperar metadatos de una hoja de trabajo por su ID.",
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
"Row Number": "Número de fila",
|
|
92
94
|
"Headers": "Encabezados",
|
|
93
95
|
"File Name": "Nombre del archivo",
|
|
96
|
+
"Exact Match": "Partida exacta",
|
|
94
97
|
"Row ID (Index)": "ID fila (índice)",
|
|
95
98
|
"New Worksheet Name": "Nuevo nombre de hoja de trabajo",
|
|
96
99
|
"Method": "Método",
|
|
@@ -135,6 +138,7 @@
|
|
|
135
138
|
"The column to search in.": "La columna en la que buscar.",
|
|
136
139
|
"The value to find in the lookup column.": "El valor a encontrar en la columna de búsqueda.",
|
|
137
140
|
"Excel File name to search for without extension.": "Nombre del archivo Excel a buscar sin extensión.",
|
|
141
|
+
"If true, only return worksheets that exactly match the name. If false, return worksheets that contain the name.": "Si es verdadero, sólo devuelve hojas de cálculo que coincidan exactamente con el nombre. Si es falso, devuelve hojas de cálculo que contengan el nombre.",
|
|
138
142
|
"The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").": "El rango de celdas a recuperar, en notación A1 (por ej., \"A1:C10\").",
|
|
139
143
|
"The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).": "El índice cero de la fila a recuperar (por ejemplo, 0 para la primera fila, 1 para la segunda).",
|
|
140
144
|
"\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n": "\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n",
|
package/src/i18n/fr.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"Create Worksheet": "Créer une feuille de calcul",
|
|
27
27
|
"Find Row": "Trouver une ligne",
|
|
28
28
|
"Find Workbook": "Trouver le cahier de travail",
|
|
29
|
+
"Find Worksheet": "Rechercher une feuille de travail",
|
|
29
30
|
"Get Cells in Range": "Obtenir des cellules à portée",
|
|
30
31
|
"Get Row by ID": "Obtenir une ligne par ID",
|
|
31
32
|
"Get Worksheet by ID": "Obtenir la fiche par ID",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"Add a new worksheet (tab) to an existing workbook with optional default headers.": "Ajouter une nouvelle feuille de travail (onglet) à un classeur existant avec des en-têtes optionnels par défaut.",
|
|
57
58
|
"Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).": "Localisez une ligne en spécifiant une colonne de recherche et une valeur (par exemple, trouver une ligne où « ID» = 123).",
|
|
58
59
|
"Finds an existing workbook by name.": "Trouve un classeur existant par nom.",
|
|
60
|
+
"Finds an existing worksheet by name.": "Trouve une feuille de travail existante par nom.",
|
|
59
61
|
"Retrieve the values in a given cell range (e.g., “A1:C10”).": "Récupère les valeurs dans une plage de cellules donnée (par exemple, « A1:C10 »).",
|
|
60
62
|
" Retrieve the entire content of a row by its row ID.": " Récupère tout le contenu d'une ligne par son identifiant de ligne.",
|
|
61
63
|
"Retrieve metadata of a worksheet by its ID.": "Récupère les métadonnées d'une feuille par son ID.",
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
"Row Number": "Numéro de ligne",
|
|
92
94
|
"Headers": "En-têtes",
|
|
93
95
|
"File Name": "Nom du fichier",
|
|
96
|
+
"Exact Match": "Correspondance exacte",
|
|
94
97
|
"Row ID (Index)": "ID de ligne (Index)",
|
|
95
98
|
"New Worksheet Name": "Nom de la nouvelle fiche",
|
|
96
99
|
"Method": "Méthode",
|
|
@@ -135,6 +138,7 @@
|
|
|
135
138
|
"The column to search in.": "La colonne à rechercher.",
|
|
136
139
|
"The value to find in the lookup column.": "La valeur à trouver dans la colonne de recherche.",
|
|
137
140
|
"Excel File name to search for without extension.": "Nom du fichier Excel à rechercher sans extension.",
|
|
141
|
+
"If true, only return worksheets that exactly match the name. If false, return worksheets that contain the name.": "Si vrai, retourne uniquement les feuilles de travail qui correspondent exactement au nom. Si faux, retourne les feuilles de travail qui contiennent le nom.",
|
|
138
142
|
"The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").": "La plage de cellules à récupérer, en notation A1 (par exemple, \"A1:C10\").",
|
|
139
143
|
"The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).": "L'index basé sur zéro de la ligne à récupérer (par exemple, 0 pour la première ligne, 1 pour la seconde).",
|
|
140
144
|
"\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n": "\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n",
|
package/src/i18n/ja.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"Create Worksheet": "ワークシートを作成",
|
|
27
27
|
"Find Row": "行を検索",
|
|
28
28
|
"Find Workbook": "ワークブックを検索",
|
|
29
|
+
"Find Worksheet": "ワークシートを検索",
|
|
29
30
|
"Get Cells in Range": "セル範囲を取得する",
|
|
30
31
|
"Get Row by ID": "IDで行を取得",
|
|
31
32
|
"Get Worksheet by ID": "ワークシートを ID で取得",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"Add a new worksheet (tab) to an existing workbook with optional default headers.": "新しいワークシート(タブ)を既存のワークブックに追加します。",
|
|
57
58
|
"Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).": "検索列と値を指定して行を探します(例えば、「ID」=123の行を探します)。",
|
|
58
59
|
"Finds an existing workbook by name.": "既存のワークブックを名前で検索します。",
|
|
60
|
+
"Finds an existing worksheet by name.": "既存のワークシートを名前で検索します。",
|
|
59
61
|
"Retrieve the values in a given cell range (e.g., “A1:C10”).": "指定されたセル範囲の値を取得します (例: A1:C10)。",
|
|
60
62
|
" Retrieve the entire content of a row by its row ID.": " 行IDで行全体の内容を取得します。",
|
|
61
63
|
"Retrieve metadata of a worksheet by its ID.": "IDでワークシートのメタデータを取得します。",
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
"Row Number": "行番号",
|
|
92
94
|
"Headers": "ヘッダー",
|
|
93
95
|
"File Name": "ファイル名",
|
|
96
|
+
"Exact Match": "完全一致",
|
|
94
97
|
"Row ID (Index)": "行 ID (インデックス)",
|
|
95
98
|
"New Worksheet Name": "新しいワークシート名",
|
|
96
99
|
"Method": "方法",
|
|
@@ -135,6 +138,7 @@
|
|
|
135
138
|
"The column to search in.": "検索するカラム。",
|
|
136
139
|
"The value to find in the lookup column.": "ルックアップ列で検索する値。",
|
|
137
140
|
"Excel File name to search for without extension.": "エクセルファイル名を拡張子なしで検索します。",
|
|
141
|
+
"If true, only return worksheets that exactly match the name. If false, return worksheets that contain the name.": "true の場合、名前に完全に一致するワークシートのみを返します。false の場合は、名前を含むワークシートを返します。",
|
|
138
142
|
"The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").": "取得するセルの範囲(例:A1:C10\")。",
|
|
139
143
|
"The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).": "取得する行のゼロベースのインデックス(最初の行の場合は0、2番目の行の場合は1)です。",
|
|
140
144
|
"\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n": "\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n",
|
package/src/i18n/nl.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"Create Worksheet": "Werkblad aanmaken",
|
|
27
27
|
"Find Row": "Rij zoeken",
|
|
28
28
|
"Find Workbook": "Werkboek vinden",
|
|
29
|
+
"Find Worksheet": "Werkblad zoeken",
|
|
29
30
|
"Get Cells in Range": "Krijg Cellen in bereik",
|
|
30
31
|
"Get Row by ID": "Krijg Rij op ID",
|
|
31
32
|
"Get Worksheet by ID": "Haal het werkblad op via ID",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"Add a new worksheet (tab) to an existing workbook with optional default headers.": "Voeg een nieuw werkblad (tab) toe aan een bestaand werkboek met optionele standaard headers.",
|
|
57
58
|
"Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).": "Zoek een rij door een kolom en waarde op te geven (bijv. zoek een rij waar \"ID\" = 123).",
|
|
58
59
|
"Finds an existing workbook by name.": "Vindt een bestaand werkboek op naam.",
|
|
60
|
+
"Finds an existing worksheet by name.": "Vindt een bestaand werkblad op naam.",
|
|
59
61
|
"Retrieve the values in a given cell range (e.g., “A1:C10”).": "Haal de waarden op in een bepaald bereik (bv. \"A1:C10\").",
|
|
60
62
|
" Retrieve the entire content of a row by its row ID.": " Haal de gehele inhoud van een rij op met zijn rij ID.",
|
|
61
63
|
"Retrieve metadata of a worksheet by its ID.": "Haal metadata van een werkblad op met de ID ervan.",
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
"Row Number": "Rij nummer",
|
|
92
94
|
"Headers": "Kopteksten",
|
|
93
95
|
"File Name": "File Name",
|
|
96
|
+
"Exact Match": "Exacte overeenkomst",
|
|
94
97
|
"Row ID (Index)": "Rij ID (Index)",
|
|
95
98
|
"New Worksheet Name": "Naam nieuwe werkblad",
|
|
96
99
|
"Method": "Methode",
|
|
@@ -135,6 +138,7 @@
|
|
|
135
138
|
"The column to search in.": "De kolom om in te zoeken.",
|
|
136
139
|
"The value to find in the lookup column.": "De waarde te vinden in de zoek kolom.",
|
|
137
140
|
"Excel File name to search for without extension.": "Excel bestandsnaam om te zoeken zonder extensie.",
|
|
141
|
+
"If true, only return worksheets that exactly match the name. If false, return worksheets that contain the name.": "Indien waar, alleen werkbladen retourneren die precies overeenkomen met de naam. Indien niet waar, stuur werkbladen dan terug die de naam bevatten.",
|
|
138
142
|
"The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").": "Het bereik van cellen om op te halen, in A1 notatie (bijv. \"A1:C10\").",
|
|
139
143
|
"The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).": "De op nul gebaseerde index van de rij op te halen (vb. 0 voor de eerste rij, 1 voor de tweede).",
|
|
140
144
|
"\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n": "\nDe nieuwe naam voor het werkblad. De naam moet zich houden aan de volgende regels:\n- mag niet leeg zijn.\n- mag niet langer zijn dan 31 tekens.\n- Moet geen van de volgende tekens bevatten: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- De naam \"Geschiedenis\" is gereserveerd door Excel en kan niet worden gebruikt.\n",
|
package/src/i18n/pt.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"Create Worksheet": "Criar planilha",
|
|
27
27
|
"Find Row": "Encontrar linha",
|
|
28
28
|
"Find Workbook": "Encontrar pasta de atividade",
|
|
29
|
+
"Find Worksheet": "Localizar planilha",
|
|
29
30
|
"Get Cells in Range": "Obtenha Células ao longo do alcance",
|
|
30
31
|
"Get Row by ID": "Obter linha por ID",
|
|
31
32
|
"Get Worksheet by ID": "Obter planilha por ID",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"Add a new worksheet (tab) to an existing workbook with optional default headers.": "Adicionar uma nova planilha (guia) para um caderno de trabalho existente com cabeçalhos padrão opcional.",
|
|
57
58
|
"Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).": "Localizar uma linha especificando uma coluna e um valor de pesquisa (por exemplo, encontra uma linha onde \"ID\" = 123).",
|
|
58
59
|
"Finds an existing workbook by name.": "Localiza um caderno de trabalho existente pelo nome.",
|
|
60
|
+
"Finds an existing worksheet by name.": "Localiza uma planilha existente por nome.",
|
|
59
61
|
"Retrieve the values in a given cell range (e.g., “A1:C10”).": "Recupere os valores em uma determinada faixa de células (por exemplo, \"A1:C10\").",
|
|
60
62
|
" Retrieve the entire content of a row by its row ID.": " Recuperar todo o conteúdo da linha pela sua ID de linha.",
|
|
61
63
|
"Retrieve metadata of a worksheet by its ID.": "Recuperar metadados de uma planilha por sua ID.",
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
"Row Number": "Número da linha",
|
|
92
94
|
"Headers": "Cabeçalhos",
|
|
93
95
|
"File Name": "Nome do arquivo",
|
|
96
|
+
"Exact Match": "Partida exata",
|
|
94
97
|
"Row ID (Index)": "ID da Linha (Índice)",
|
|
95
98
|
"New Worksheet Name": "Nome da Nova Planilha",
|
|
96
99
|
"Method": "Método",
|
|
@@ -135,6 +138,7 @@
|
|
|
135
138
|
"The column to search in.": "A coluna para pesquisar.",
|
|
136
139
|
"The value to find in the lookup column.": "O valor a ser encontrado na coluna de pesquisa.",
|
|
137
140
|
"Excel File name to search for without extension.": "Nome do arquivo Excel para procurar sem extensão.",
|
|
141
|
+
"If true, only return worksheets that exactly match the name. If false, return worksheets that contain the name.": "Se verdadeiro, somente retorna planilhas que coincidem exatamente com o nome. Se falso, retorne planilhas que contenham o nome.",
|
|
138
142
|
"The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").": "O intervalo de células a recuperar, na notação A1 (ex.: \"A1:C10\").",
|
|
139
143
|
"The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).": "O índice baseado em zero da linha a ser recuperada (por exemplo, 0 para a primeira linha, 1 para o segundo).",
|
|
140
144
|
"\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n": "\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"Create Worksheet": "Create Worksheet",
|
|
27
27
|
"Find Row": "Find Row",
|
|
28
28
|
"Find Workbook": "Find Workbook",
|
|
29
|
+
"Find Worksheet": "Find Worksheet",
|
|
29
30
|
"Get Cells in Range": "Get Cells in Range",
|
|
30
31
|
"Get Row by ID": "Get Row by ID",
|
|
31
32
|
"Get Worksheet by ID": "Get Worksheet by ID",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"Add a new worksheet (tab) to an existing workbook with optional default headers.": "Add a new worksheet (tab) to an existing workbook with optional default headers.",
|
|
57
58
|
"Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).": "Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).",
|
|
58
59
|
"Finds an existing workbook by name.": "Finds an existing workbook by name.",
|
|
60
|
+
"Finds an existing worksheet by name.": "Finds an existing worksheet by name.",
|
|
59
61
|
"Retrieve the values in a given cell range (e.g., “A1:C10”).": "Retrieve the values in a given cell range (e.g., “A1:C10”).",
|
|
60
62
|
" Retrieve the entire content of a row by its row ID.": " Retrieve the entire content of a row by its row ID.",
|
|
61
63
|
"Retrieve metadata of a worksheet by its ID.": "Retrieve metadata of a worksheet by its ID.",
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
"Row Number": "Row Number",
|
|
92
94
|
"Headers": "Headers",
|
|
93
95
|
"File Name": "File Name",
|
|
96
|
+
"Exact Match": "Exact Match",
|
|
94
97
|
"Row ID (Index)": "Row ID (Index)",
|
|
95
98
|
"New Worksheet Name": "New Worksheet Name",
|
|
96
99
|
"Method": "Method",
|
|
@@ -135,6 +138,7 @@
|
|
|
135
138
|
"The column to search in.": "The column to search in.",
|
|
136
139
|
"The value to find in the lookup column.": "The value to find in the lookup column.",
|
|
137
140
|
"Excel File name to search for without extension.": "Excel File name to search for without extension.",
|
|
141
|
+
"If true, only return worksheets that exactly match the name. If false, return worksheets that contain the name.": "If true, only return worksheets that exactly match the name. If false, return worksheets that contain the name.",
|
|
138
142
|
"The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").": "The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").",
|
|
139
143
|
"The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).": "The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).",
|
|
140
144
|
"\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n": "\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n",
|
package/src/i18n/zh.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"Create Worksheet": "创建工作表",
|
|
27
27
|
"Find Row": "Find Row",
|
|
28
28
|
"Find Workbook": "Find Workbook",
|
|
29
|
+
"Find Worksheet": "Find Worksheet",
|
|
29
30
|
"Get Cells in Range": "Get Cells in Range",
|
|
30
31
|
"Get Row by ID": "Get Row by ID",
|
|
31
32
|
"Get Worksheet by ID": "Get Worksheet by ID",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
"Add a new worksheet (tab) to an existing workbook with optional default headers.": "Add a new worksheet (tab) to an existing workbook with optional default headers.",
|
|
57
58
|
"Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).": "Locate a row by specifying a lookup column and value (e.g. find a row where “ID” = 123).",
|
|
58
59
|
"Finds an existing workbook by name.": "Finds an existing workbook by name.",
|
|
60
|
+
"Finds an existing worksheet by name.": "Finds an existing worksheet by name.",
|
|
59
61
|
"Retrieve the values in a given cell range (e.g., “A1:C10”).": "Retrieve the values in a given cell range (e.g., “A1:C10”).",
|
|
60
62
|
" Retrieve the entire content of a row by its row ID.": " Retrieve the entire content of a row by its row ID.",
|
|
61
63
|
"Retrieve metadata of a worksheet by its ID.": "Retrieve metadata of a worksheet by its ID.",
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
"Row Number": "行号",
|
|
92
94
|
"Headers": "信头",
|
|
93
95
|
"File Name": "File Name",
|
|
96
|
+
"Exact Match": "精确匹配",
|
|
94
97
|
"Row ID (Index)": "Row ID (Index)",
|
|
95
98
|
"New Worksheet Name": "New Worksheet Name",
|
|
96
99
|
"Method": "方法",
|
|
@@ -135,6 +138,7 @@
|
|
|
135
138
|
"The column to search in.": "The column to search in.",
|
|
136
139
|
"The value to find in the lookup column.": "The value to find in the lookup column.",
|
|
137
140
|
"Excel File name to search for without extension.": "Excel File name to search for without extension.",
|
|
141
|
+
"If true, only return worksheets that exactly match the name. If false, return worksheets that contain the name.": "如果为 true,只返回与名称完全匹配的工作单。如果为 false,返回包含名称的工作表。",
|
|
138
142
|
"The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").": "The range of cells to retrieve, in A1 notation (e.g., \"A1:C10\").",
|
|
139
143
|
"The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).": "The zero-based index of the row to retrieve (e.g., 0 for the first row, 1 for the second).",
|
|
140
144
|
"\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n": "\nThe new name for the worksheet. The name must adhere to the following rules:\n- Cannot be blank.\n- Cannot exceed 31 characters.\n- Must not contain any of the following characters: `/`, `\\`, `?`, `*`, `:`, `[`, `]`.\n- The name \"History\" is reserved by Excel and cannot be used.\n",
|
|
@@ -143,11 +143,20 @@ exports.getWorksheetRowsAction = (0, pieces_framework_1.createAction)({
|
|
|
143
143
|
});
|
|
144
144
|
function evaluateFilters(filters, row) {
|
|
145
145
|
return filters.every((filter) => {
|
|
146
|
-
const { filterColumn: columnIndex, filterOperator: operator, filterValue: value
|
|
147
|
-
if (columnIndex === undefined || !operator
|
|
146
|
+
const { filterColumn: columnIndex, filterOperator: operator, filterValue: value } = filter;
|
|
147
|
+
if (columnIndex === undefined || !operator) {
|
|
148
148
|
return true;
|
|
149
149
|
}
|
|
150
150
|
const cellValue = row[columnIndex];
|
|
151
|
+
if (operator === constants_1.FilterOperator.EXISTS) {
|
|
152
|
+
return cellValue !== undefined && cellValue !== null && cellValue !== '';
|
|
153
|
+
}
|
|
154
|
+
if (operator === constants_1.FilterOperator.DOES_NOT_EXIST) {
|
|
155
|
+
return cellValue === undefined || cellValue === null || cellValue === '';
|
|
156
|
+
}
|
|
157
|
+
if (value === undefined) {
|
|
158
|
+
return true;
|
|
159
|
+
}
|
|
151
160
|
switch (operator) {
|
|
152
161
|
case constants_1.FilterOperator.TEXT_CONTAINS:
|
|
153
162
|
return containsText(cellValue, value);
|
|
@@ -189,9 +198,7 @@ function toNumber(value) {
|
|
|
189
198
|
return isNaN(num) ? value : num;
|
|
190
199
|
}
|
|
191
200
|
function isValidDate(date) {
|
|
192
|
-
if (typeof date === 'string' ||
|
|
193
|
-
typeof date === 'number' ||
|
|
194
|
-
date instanceof Date) {
|
|
201
|
+
if (typeof date === 'string' || typeof date === 'number' || date instanceof Date) {
|
|
195
202
|
return (0, dayjs_1.default)(date).isValid();
|
|
196
203
|
}
|
|
197
204
|
return false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-worksheet-rows.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/microsoft-excel-365/src/lib/actions/get-worksheet-rows.ts"],"names":[],"mappings":";;;;AAAA,qEAKwC;AACxC,6CAA+C;AAC/C,uCAAwC;AACxC,mDAA2E;AAC3E,8EAA2D;AAE3D,0DAA0B;AAC1B,uFAAuD;AACvD,yFAAyD;AAEzD,eAAK,CAAC,MAAM,CAAC,uBAAa,CAAC,CAAC;AAC5B,eAAK,CAAC,MAAM,CAAC,wBAAc,CAAC,CAAC;AAEhB,QAAA,sBAAsB,GAAG,IAAA,+BAAY,EAAC;IAClD,IAAI,EAAE,iBAAS;IACf,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE,oBAAoB;IACjC,KAAK,EAAE;QACN,WAAW,EAAE,oBAAW,CAAC,WAAW;QACpC,YAAY,EAAE,oBAAW,CAAC,YAAY;QACtC,KAAK,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACzB,WAAW,EAAE,OAAO;YACp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AE,CAAC;YAElB,KAAK,IAAI,CAAC,GAAG,YAAY,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACjD,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;gBAEpB,IAAI,UAAU,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;oBAClD,SAAS;gBACV,CAAC;gBACD,IAAI,OAAO,EAAE,CAAC;oBACb,MAAM,GAAG,GAA2B,EAAE,CAAC;oBACvC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;wBACzC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;oBAClC,CAAC;oBACD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"get-worksheet-rows.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/microsoft-excel-365/src/lib/actions/get-worksheet-rows.ts"],"names":[],"mappings":";;;;AAAA,qEAKwC;AACxC,6CAA+C;AAC/C,uCAAwC;AACxC,mDAA2E;AAC3E,8EAA2D;AAE3D,0DAA0B;AAC1B,uFAAuD;AACvD,yFAAyD;AAEzD,eAAK,CAAC,MAAM,CAAC,uBAAa,CAAC,CAAC;AAC5B,eAAK,CAAC,MAAM,CAAC,wBAAc,CAAC,CAAC;AAEhB,QAAA,sBAAsB,GAAG,IAAA,+BAAY,EAAC;IAClD,IAAI,EAAE,iBAAS;IACf,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE,oBAAoB;IACjC,KAAK,EAAE;QACN,WAAW,EAAE,oBAAW,CAAC,WAAW;QACpC,YAAY,EAAE,oBAAW,CAAC,YAAY;QACtC,KAAK,E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IS_ON_OR_AFTER = "DATE_IS_ON_OR_AFTER",
|
|
14
|
+
EXISTS = "EXISTS",
|
|
15
|
+
DOES_NOT_EXIST = "DOES_NOT_EXIST"
|
|
14
16
|
}
|
|
15
17
|
export declare const filterOperatorLabels: Record<FilterOperator, string>;
|
|
@@ -15,6 +15,8 @@ var FilterOperator;
|
|
|
15
15
|
FilterOperator["DATE_IS_AFTER"] = "DATE_IS_AFTER";
|
|
16
16
|
FilterOperator["DATE_IS_ON_OR_BEFORE"] = "DATE_IS_ON_OR_BEFORE";
|
|
17
17
|
FilterOperator["DATE_IS_ON_OR_AFTER"] = "DATE_IS_ON_OR_AFTER";
|
|
18
|
+
FilterOperator["EXISTS"] = "EXISTS";
|
|
19
|
+
FilterOperator["DOES_NOT_EXIST"] = "DOES_NOT_EXIST";
|
|
18
20
|
})(FilterOperator || (exports.FilterOperator = FilterOperator = {}));
|
|
19
21
|
exports.filterOperatorLabels = {
|
|
20
22
|
[FilterOperator.TEXT_CONTAINS]: '(Text) Contains',
|
|
@@ -29,5 +31,7 @@ exports.filterOperatorLabels = {
|
|
|
29
31
|
[FilterOperator.DATE_IS_AFTER]: '(Date) Is after',
|
|
30
32
|
[FilterOperator.DATE_IS_ON_OR_BEFORE]: '(Date) Is On or Before',
|
|
31
33
|
[FilterOperator.DATE_IS_ON_OR_AFTER]: '(Date) Is On or After',
|
|
34
|
+
[FilterOperator.EXISTS]: 'Exists',
|
|
35
|
+
[FilterOperator.DOES_NOT_EXIST]: 'Does not exist',
|
|
32
36
|
};
|
|
33
37
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/microsoft-excel-365/src/lib/common/constants.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/microsoft-excel-365/src/lib/common/constants.ts"],"names":[],"mappings":";;;AAAA,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