@nocobase/plugin-multi-keyword-filter 2.0.3

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 (54) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +99 -0
  3. package/client.d.ts +2 -0
  4. package/client.js +1 -0
  5. package/dist/client/0d9b6225e99c9b66.js +10 -0
  6. package/dist/client/MultipleKeywordsInput.d.ts +15 -0
  7. package/dist/client/index.d.ts +15 -0
  8. package/dist/client/index.js +10 -0
  9. package/dist/client/interceptor.d.ts +9 -0
  10. package/dist/client/locale.d.ts +10 -0
  11. package/dist/externalVersion.js +20 -0
  12. package/dist/index.d.ts +10 -0
  13. package/dist/index.js +48 -0
  14. package/dist/locale/de-DE.json +18 -0
  15. package/dist/locale/en-US.json +18 -0
  16. package/dist/locale/es-ES.json +18 -0
  17. package/dist/locale/fr-FR.json +18 -0
  18. package/dist/locale/hu-HU.json +18 -0
  19. package/dist/locale/id-ID.json +18 -0
  20. package/dist/locale/it-IT.json +18 -0
  21. package/dist/locale/ja-JP.json +18 -0
  22. package/dist/locale/ko-KR.json +18 -0
  23. package/dist/locale/nl-NL.json +18 -0
  24. package/dist/locale/pt-BR.json +18 -0
  25. package/dist/locale/ru-RU.json +18 -0
  26. package/dist/locale/tr-TR.json +18 -0
  27. package/dist/locale/uk-UA.json +18 -0
  28. package/dist/locale/vi-VN.json +18 -0
  29. package/dist/locale/zh-CN.json +18 -0
  30. package/dist/locale/zh-TW.json +18 -0
  31. package/dist/node_modules/qs/.editorconfig +43 -0
  32. package/dist/node_modules/qs/.eslintrc +38 -0
  33. package/dist/node_modules/qs/.github/FUNDING.yml +12 -0
  34. package/dist/node_modules/qs/.nycrc +13 -0
  35. package/dist/node_modules/qs/dist/qs.js +2087 -0
  36. package/dist/node_modules/qs/lib/formats.js +23 -0
  37. package/dist/node_modules/qs/lib/index.js +1 -0
  38. package/dist/node_modules/qs/lib/parse.js +264 -0
  39. package/dist/node_modules/qs/lib/stringify.js +320 -0
  40. package/dist/node_modules/qs/lib/utils.js +252 -0
  41. package/dist/node_modules/qs/package.json +1 -0
  42. package/dist/node_modules/qs/test/empty-keys-cases.js +37 -0
  43. package/dist/node_modules/qs/test/parse.js +898 -0
  44. package/dist/node_modules/qs/test/stringify.js +972 -0
  45. package/dist/node_modules/qs/test/utils.js +136 -0
  46. package/dist/server/index.d.ts +9 -0
  47. package/dist/server/index.js +42 -0
  48. package/dist/server/middlewares.d.ts +10 -0
  49. package/dist/server/middlewares.js +63 -0
  50. package/dist/server/plugin.d.ts +19 -0
  51. package/dist/server/plugin.js +58 -0
  52. package/package.json +31 -0
  53. package/server.d.ts +2 -0
  54. package/server.js +1 -0
@@ -0,0 +1,18 @@
1
+ {
2
+ "cancel": "Cancel",
3
+ "confirm": "Confirm",
4
+ "equalsAny": "is any of",
5
+ "errorParsingExcel": "Error parsing Excel file:",
6
+ "excelFileEmpty": "Excel file is empty",
7
+ "failedToParseExcel": "Failed to parse Excel file",
8
+ "importExcel": "Batch import keywords from Excel",
9
+ "importSuccess": "Successfully imported {{count}} keywords",
10
+ "keywordsInputPlaceholder": "Multiple keywords separated by line breaks",
11
+ "noValidKeywords": "No valid keywords found",
12
+ "notEqualsAny": "is none of",
13
+ "providedByPlugin": "Provided by @nocobase/plugin-multi-keyword-filter plugin",
14
+ "selectAtLeastOneColumn": "Please select at least one column",
15
+ "selectColumnsPlaceholder": "Please select columns to import",
16
+ "selectExcelColumns": "Select Excel columns to import",
17
+ "tips": "Effect of selecting a single column: All non-empty values in that column will be imported as keywords.\nEffect of selecting multiple columns: Non-empty values from multiple columns will be merged as keywords, duplicate values will be removed."
18
+ }
@@ -0,0 +1,43 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = space
5
+ indent_size = 4
6
+ end_of_line = lf
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+ max_line_length = 160
11
+ quote_type = single
12
+
13
+ [test/*]
14
+ max_line_length = off
15
+
16
+ [LICENSE.md]
17
+ indent_size = off
18
+
19
+ [*.md]
20
+ max_line_length = off
21
+
22
+ [*.json]
23
+ max_line_length = off
24
+
25
+ [Makefile]
26
+ max_line_length = off
27
+
28
+ [CHANGELOG.md]
29
+ indent_style = space
30
+ indent_size = 2
31
+
32
+ [LICENSE]
33
+ indent_size = 2
34
+ max_line_length = off
35
+
36
+ [coverage/**/*]
37
+ indent_size = off
38
+ indent_style = off
39
+ indent = off
40
+ max_line_length = off
41
+
42
+ [.nycrc]
43
+ indent_style = tab
@@ -0,0 +1,38 @@
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+
6
+ "ignorePatterns": [
7
+ "dist/",
8
+ ],
9
+
10
+ "rules": {
11
+ "complexity": 0,
12
+ "consistent-return": 1,
13
+ "func-name-matching": 0,
14
+ "id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
15
+ "indent": [2, 4],
16
+ "max-lines-per-function": [2, { "max": 150 }],
17
+ "max-params": [2, 16],
18
+ "max-statements": [2, 100],
19
+ "multiline-comment-style": 0,
20
+ "no-continue": 1,
21
+ "no-magic-numbers": 0,
22
+ "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
23
+ },
24
+
25
+ "overrides": [
26
+ {
27
+ "files": "test/**",
28
+ "rules": {
29
+ "function-paren-newline": 0,
30
+ "max-lines-per-function": 0,
31
+ "max-statements": 0,
32
+ "no-buffer-constructor": 0,
33
+ "no-extend-native": 0,
34
+ "no-throw-literal": 0,
35
+ },
36
+ },
37
+ ],
38
+ }
@@ -0,0 +1,12 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: [ljharb]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: # Replace with a single Ko-fi username
7
+ tidelift: npm/qs
8
+ community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay: # Replace with a single Liberapay username
10
+ issuehunt: # Replace with a single IssueHunt username
11
+ otechie: # Replace with a single Otechie username
12
+ custom: # Replace with a single custom sponsorship URL
@@ -0,0 +1,13 @@
1
+ {
2
+ "all": true,
3
+ "check-coverage": false,
4
+ "reporter": ["text-summary", "text", "html", "json"],
5
+ "lines": 86,
6
+ "statements": 85.93,
7
+ "functions": 82.43,
8
+ "branches": 76.06,
9
+ "exclude": [
10
+ "coverage",
11
+ "dist"
12
+ ]
13
+ }