Browse Source

Merge pull request #16875 from thingsboard/rc

Merge rc into master
pull/16517/merge
Vladyslav Prykhodko 1 day ago
committed by GitHub
parent
commit
3f9330dfb2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      msa/js-executor/package.json
  2. 43
      msa/js-executor/yarn.lock
  3. 6
      msa/web-report/chromium.js
  4. 5
      msa/web-report/package.json
  5. BIN
      msa/web-report/playwright-core-1.65.2.tgz
  6. 51
      msa/web-report/yarn.lock
  7. 3
      msa/web-ui/package.json
  8. 43
      msa/web-ui/yarn.lock
  9. 14
      ui-ngx/eslint.config.mjs
  10. 19
      ui-ngx/package.json
  11. 1
      ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html
  12. 2
      ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html
  13. 5
      ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html
  14. 1
      ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html
  15. 1
      ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html
  16. 11
      ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html
  17. 2
      ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html
  18. 2
      ui-ngx/src/app/modules/home/pages/integration/integration.component.html
  19. 10
      ui-ngx/src/app/shared/components/kv-map.component.html
  20. 2
      ui-ngx/src/app/shared/components/kv-map.component.ts
  21. 2
      ui-ngx/src/assets/locale/locale.constant-en_US.json
  22. 60
      ui-ngx/src/polyfills.ts
  23. 2
      ui-ngx/tsconfig.json
  24. 1027
      ui-ngx/yarn.lock

3
msa/js-executor/package.json

@ -49,5 +49,8 @@
"node_modules/config/**/*.*",
"node_modules/@antoniomuso/lz4-napi-*/**/*.node"
]
},
"resolutions": {
"@yao-pkg/pkg/tar": "^8.0.5"
}
}

43
msa/js-executor/yarn.lock

@ -365,13 +365,6 @@
"@hapi/bourne" "^3.0.0"
"@hapi/hoek" "^11.0.2"
"@isaacs/fs-minipass@^4.0.0":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz#2d59ae3ab4b38fb4270bfa23d30f8e2e86c7fe32"
integrity sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==
dependencies:
minipass "^7.0.4"
"@jridgewell/gen-mapping@^0.3.12":
version "0.3.13"
resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz#6342a19f44347518c93e43b1ac69deb3c4656a1f"
@ -772,11 +765,6 @@ chownr@^1.1.1:
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==
chownr@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/chownr/-/chownr-3.0.0.tgz#9855e64ecd240a9cc4267ce8a4aa5d24a1da15e4"
integrity sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==
cliui@^7.0.2:
version "7.0.4"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f"
@ -1403,18 +1391,6 @@ minimist@^1.2.0, minimist@^1.2.3:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
minipass@^7.0.4, minipass@^7.1.2:
version "7.1.3"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz#79389b4eb1bb2d003a9bba87d492f2bd37bdc65b"
integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==
minizlib@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-3.1.0.tgz#6ad76c3a8f10227c9b51d1c9ac8e30b27f5a251c"
integrity sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==
dependencies:
minipass "^7.1.2"
mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3:
version "0.5.3"
resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113"
@ -1932,16 +1908,10 @@ tar-stream@^3.1.5:
fast-fifo "^1.3.2"
streamx "^2.28.1"
tar@^7.5.7:
version "7.5.22"
resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9"
integrity sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==
dependencies:
"@isaacs/fs-minipass" "^4.0.0"
chownr "^3.0.0"
minipass "^7.1.2"
minizlib "^3.1.0"
yallist "^5.0.0"
tar@^7.5.7, tar@^8.0.5:
version "8.1.0"
resolved "https://registry.yarnpkg.com/tar/-/tar-8.1.0.tgz#c5cfb646747f360ece8d47c276c46e7bd499861f"
integrity sha512-0QsCa04wk0hddEWM4hSNMtgewhgvFTW+KzMKJzsSIGO2/snEWyaD9s72p9Is8SXHvbd6sxjInzzT39/yxOWTTw==
teex@^1.0.1:
version "1.0.1"
@ -2139,11 +2109,6 @@ y18n@^5.0.5:
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==
yallist@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533"
integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==
yargs-parser@^20.2.2:
version "20.2.9"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee"

6
msa/web-report/chromium.js

@ -22,15 +22,15 @@ module.exports = {
// exclude: glob patterns of the files that are not packaged
// strip: glob patterns of the executables to strip of their symbols, when GNU strip is installed
snapshot: {
version: '156.0.8078.0',
version: '159.0.8154.0',
baseUrl: 'https://commondatastorage.googleapis.com/chromium-browser-snapshots',
// The .pak.info files, 70 MB, are left from the build of the translations; the browser does not read them
linux: { path: 'Linux_x64/1706520/chrome-linux.zip', sha256: '6b62846a868ea3ee675f77600790877a428dfb2428c940f8eff99db1038f9815',
linux: { path: 'Linux_x64/1739867/chrome-linux.zip', sha256: 'e3dc14d0c796c4cff0a2e67e1d2d384a5228ab7e6adb4d4822d813772e4b8b4b',
exclude: ['locales/*.pak.info'],
// The Linux builds come with their symbols, 180 MB
strip: ['chrome', 'chrome_crashpad_handler', 'chrome_sandbox', '*.so*'] },
// interactive_ui_tests.exe is a test program of 348 MB that the service does not need
windows: { path: 'Win_x64/1706509/chrome-win.zip', sha256: '6bdfecb33dbfa7159e5666798bdc28c76347bef913573e899cb43930b78d26cc',
windows: { path: 'Win_x64/1739762/chrome-win.zip', sha256: '097cc334674de52de3653519d8205bc227c7943f6a6cc0d2a0fc4a8f685284db',
exclude: ['interactive_ui_tests.exe'] }
}
};

5
msa/web-report/package.json

@ -18,7 +18,7 @@
"config": "~4.4.2",
"express": "~5.3.0",
"js-yaml": "^4.3.2",
"playwright-core": "~1.64.1",
"playwright-core": "~1.65.2",
"winston": "~3.19.0",
"winston-daily-rotate-file": "~5.0.0"
},
@ -44,5 +44,8 @@
"node_modules/playwright-core/lib/server/chromium/appIcon.png",
"../../node_modules/playwright-core/lib/webp_codec.wasm"
]
},
"resolutions": {
"@yao-pkg/pkg/tar": "^8.0.5"
}
}

BIN
msa/web-report/playwright-core-1.65.2.tgz

Binary file not shown.

51
msa/web-report/yarn.lock

@ -235,13 +235,6 @@
resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz#b21affb804cc167c133d95f45b3a1dc1323b9a87"
integrity sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==
"@isaacs/fs-minipass@^4.0.0":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz#2d59ae3ab4b38fb4270bfa23d30f8e2e86c7fe32"
integrity sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==
dependencies:
minipass "^7.0.4"
"@jridgewell/gen-mapping@^0.3.12":
version "0.3.13"
resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz#6342a19f44347518c93e43b1ac69deb3c4656a1f"
@ -591,11 +584,6 @@ chownr@^1.1.1:
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==
chownr@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/chownr/-/chownr-3.0.0.tgz#9855e64ecd240a9cc4267ce8a4aa5d24a1da15e4"
integrity sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==
cliui@^7.0.2:
version "7.0.4"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f"
@ -1178,18 +1166,6 @@ minimist@^1.2.0, minimist@^1.2.3:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
minipass@^7.0.4, minipass@^7.1.2:
version "7.1.3"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz#79389b4eb1bb2d003a9bba87d492f2bd37bdc65b"
integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==
minizlib@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-3.1.0.tgz#6ad76c3a8f10227c9b51d1c9ac8e30b27f5a251c"
integrity sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==
dependencies:
minipass "^7.1.2"
mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3:
version "0.5.3"
resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113"
@ -1307,10 +1283,10 @@ picomatch@^4.0.2, picomatch@^4.0.4:
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.7.tgz#6313360034ccb36b3dc61ecbdff78121f90fe21f"
integrity sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==
playwright-core@~1.64.1:
version "1.64.1"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.64.1.tgz#ca9ec82d7da6ced1b2326ec59ef097aaa9a29f94"
integrity sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==
playwright-core@~1.65.2:
version "1.65.2"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.65.2.tgz#10b242db00a3cf9d01d2cc38cd91afb66664be6c"
integrity sha512-aHu9F46Mx5ha9iiB+VLZMUUtex3PBw4am9MHptc0IXaJhz++6YXsH96eEyThwCwMkIUiB8TdZcwXqnb3xKDzmA==
postinstall-postinstall@^2.1.0:
version "2.1.0"
@ -1707,16 +1683,10 @@ tar-stream@^3.1.5:
fast-fifo "^1.3.2"
streamx "^2.28.1"
tar@^7.5.7:
version "7.5.22"
resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9"
integrity sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==
dependencies:
"@isaacs/fs-minipass" "^4.0.0"
chownr "^3.0.0"
minipass "^7.1.2"
minizlib "^3.1.0"
yallist "^5.0.0"
tar@^7.5.7, tar@^8.0.5:
version "8.1.0"
resolved "https://registry.yarnpkg.com/tar/-/tar-8.1.0.tgz#c5cfb646747f360ece8d47c276c46e7bd499861f"
integrity sha512-0QsCa04wk0hddEWM4hSNMtgewhgvFTW+KzMKJzsSIGO2/snEWyaD9s72p9Is8SXHvbd6sxjInzzT39/yxOWTTw==
teex@^1.0.1:
version "1.0.1"
@ -1909,11 +1879,6 @@ y18n@^5.0.5:
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==
yallist@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533"
integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==
yargs-parser@^20.2.2:
version "20.2.9"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee"

3
msa/web-ui/package.json

@ -42,5 +42,8 @@
"assets": [
"node_modules/config/**/*.*"
]
},
"resolutions": {
"@yao-pkg/pkg/tar": "^8.0.5"
}
}

43
msa/web-ui/yarn.lock

@ -235,13 +235,6 @@
resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz#b21affb804cc167c133d95f45b3a1dc1323b9a87"
integrity sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==
"@isaacs/fs-minipass@^4.0.0":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz#2d59ae3ab4b38fb4270bfa23d30f8e2e86c7fe32"
integrity sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==
dependencies:
minipass "^7.0.4"
"@jridgewell/gen-mapping@^0.3.12":
version "0.3.13"
resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz#6342a19f44347518c93e43b1ac69deb3c4656a1f"
@ -606,11 +599,6 @@ chownr@^1.1.1:
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==
chownr@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/chownr/-/chownr-3.0.0.tgz#9855e64ecd240a9cc4267ce8a4aa5d24a1da15e4"
integrity sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==
cliui@^7.0.2:
version "7.0.4"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f"
@ -1217,18 +1205,6 @@ minimist@^1.2.0, minimist@^1.2.3:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
minipass@^7.0.4, minipass@^7.1.2:
version "7.1.3"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz#79389b4eb1bb2d003a9bba87d492f2bd37bdc65b"
integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==
minizlib@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-3.1.0.tgz#6ad76c3a8f10227c9b51d1c9ac8e30b27f5a251c"
integrity sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==
dependencies:
minipass "^7.1.2"
mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3:
version "0.5.3"
resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113"
@ -1741,16 +1717,10 @@ tar-stream@^3.1.5:
fast-fifo "^1.3.2"
streamx "^2.28.1"
tar@^7.5.7:
version "7.5.22"
resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9"
integrity sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==
dependencies:
"@isaacs/fs-minipass" "^4.0.0"
chownr "^3.0.0"
minipass "^7.1.2"
minizlib "^3.1.0"
yallist "^5.0.0"
tar@^7.5.7, tar@^8.0.5:
version "8.0.5"
resolved "https://registry.yarnpkg.com/tar/-/tar-8.0.5.tgz#1f36231a811830520db3a6af984c55505a930ec3"
integrity sha512-iYroSHv/iVs5Bfy7uXCZVTye64oecqEETP3jvxksDcJlf8E3hreHYyhT+Qu7b+JgniditLaQbk4ZujNAnPEX9w==
teex@^1.0.1:
version "1.0.1"
@ -1943,11 +1913,6 @@ y18n@^5.0.5:
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==
yallist@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533"
integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==
yargs-parser@^20.2.2:
version "20.2.9"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee"

14
ui-ngx/eslint.config.mjs

@ -20,16 +20,6 @@ export default tsEslint.config(
],
processor: angular.processInlineTemplates,
rules: {
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
accessibility: "explicit"
}
],
"arrow-parens": [
"off",
"always"
],
"@angular-eslint/component-selector": [
"error",
{
@ -38,7 +28,7 @@ export default tsEslint.config(
]
}
],
"id-blacklist": [
"id-denylist": [
"error",
"any",
"Number",
@ -49,11 +39,9 @@ export default tsEslint.config(
"Undefined",
"undefined"
],
"import/order": "off",
"@typescript-eslint/member-ordering": "off",
"no-underscore-dangle": "off",
"@typescript-eslint/naming-convention": "off",
"jsdoc/newline-after-description": 0,
"@typescript-eslint/consistent-indexed-object-style": "off",
"@typescript-eslint/array-type": "off",
"no-extra-boolean-cast": "off",

19
ui-ngx/package.json

@ -43,6 +43,7 @@
"@mat-datetimepicker/core": "~16.0.1",
"@mdi/svg": "^7.4.47",
"@messageformat/core": "^3.4.1",
"@messageformat/parser": "^5.2.0",
"@ngrx/effects": "^20.1.0",
"@ngrx/store": "^20.1.0",
"@ngrx/store-devtools": "^20.1.0",
@ -57,7 +58,6 @@
"angular-gridster2": "~20.2.4",
"angular2-hotkeys": "^16.0.1",
"canvas-gauges": "^2.1.7",
"core-js": "^3.51.0",
"dayjs": "1.11.23",
"echarts": "https://github.com/thingsboard/echarts/archive/5.5.4-TB.tar.gz",
"exceljs-hardened": "~5.1.0",
@ -70,7 +70,6 @@
"jquery-sparkline": "^2.4.0",
"jquery.terminal": "^2.48.1",
"js-beautify": "1.15.4",
"json-schema-defaults": "^0.4.0",
"jstree": "^3.3.17",
"jstree-bootstrap-theme": "^1.0.1",
"jszip": "^3.10.2",
@ -81,11 +80,13 @@
"leaflet.gridlayer.googlemutant": "0.15.0",
"leaflet.markercluster": "1.5.3",
"libphonenumber-js": "^1.13.15",
"lodash": "^4.18.1",
"maplibre-gl": "6.15.0",
"marked": "~16.4.2",
"modern-screenshot": "^4.7.0",
"moment": "^2.31.0",
"moment-timezone": "^0.6.5",
"mousetrap": "^1.6.5",
"ngx-captcha": "^14.0.0",
"ngx-clipboard": "^16.0.0",
"ngx-daterangepicker-material": "^6.0.4",
@ -96,10 +97,10 @@
"ngx-translate-messageformat-compiler": "^7.3.0",
"objectpath": "^2.0.0",
"photoswipe": "^5.4.4",
"prismjs": "^1.30.0",
"qrcode": "^1.5.4",
"raphael": "^2.3.0",
"rxjs": "~7.8.2",
"schema-inspector": "^2.1.0",
"screenfull": "^6.0.2",
"sorted-btree": "^1.8.1",
"split.js": "^1.6.5",
@ -112,13 +113,11 @@
},
"devDependencies": {
"@angular-builders/custom-esbuild": "20.0.0",
"@angular-devkit/core": "20.3.41",
"@angular-devkit/schematics": "20.3.41",
"@angular/build": "20.3.41",
"@angular/cli": "20.3.41",
"@angular/compiler-cli": "20.3.34",
"@angular/language-service": "20.3.34",
"@cyclonedx/cyclonedx-library": "10.3.0",
"@eslint/js": "9.39.5",
"@types/ace-diff": "^2.1.4",
"@types/canvas-gauges": "^2.1.8",
"@types/flot": "^0.0.36",
@ -141,24 +140,20 @@
"autoprefixer": "^10.6.1",
"directory-tree": "^3.6.0",
"eslint": "9.39.5",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "^62.9.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-tailwindcss": "^3.18.3",
"normalize-package-data": "8.0.0",
"packageurl-js": "2.0.1",
"patch-package": "^8.0.1",
"postcss": "^8.5.31",
"postinstall-prepare": "^2.0.0",
"spdx-expression-parse": "4.0.0",
"tailwindcss": "^3.4.19",
"ts-node": "^10.9.2",
"typescript": "~5.9.3",
"typescript-eslint": "^8.72.0"
},
"resolutions": {
"esbuild": "0.28.1",
"rollup": "4.59.0",
"js-beautify/**/minimatch": "^9.0.7"
"js-beautify/**/minimatch": "^9.0.7",
"@angular/cli/**/tar": "^8.0.5"
}
}

1
ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html

@ -50,6 +50,7 @@
noDataText="integration.no-headers-filter"
keyPlaceholderText="integration.header"
isStrokedButton="true"
showRequiredErrors
appearance="outline"
formControlName="headersFilter">
</tb-key-val-map>

2
ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html

@ -73,7 +73,7 @@
<ng-template matExpansionPanelContent>
<fieldset class="fields-group">
<legend class="group-title" translate>integration.other-properties</legend>
<tb-key-val-map formControlName="otherProperties" isStrokedButton="true" appearance="outline"></tb-key-val-map>
<tb-key-val-map formControlName="otherProperties" isStrokedButton="true" showRequiredErrors appearance="outline"></tb-key-val-map>
</fieldset>
<ng-container [ngTemplateOutlet]="genericAdditionalInfoTemplate">
</ng-container>

5
ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html

@ -62,8 +62,9 @@
noDataText="integration.no-headers-filter"
keyPlaceholderText="integration.header"
isStrokedButton="true"
appearance="outline"
formControlName="additionalHeadersFilter">
showRequiredErrors
appearance="outline"
formControlName="additionalHeadersFilter">
</tb-key-val-map>
@if (kpnIntegrationConfigForm.get('additionalHeadersFilter').hasError('securityHeaderDuplicate')) {
<mat-error>{{ 'integration.kpn-security-header-duplicate' | translate }}</mat-error>

1
ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html

@ -122,6 +122,7 @@
noDataText="integration.no-headers-filter"
keyPlaceholderText="integration.header"
isStrokedButton="true"
showRequiredErrors
appearance="outline"
formControlName="headersFilter">
</tb-key-val-map>

1
ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html

@ -67,6 +67,7 @@
noDataText="integration.no-headers-filter"
keyPlaceholderText="integration.header"
isStrokedButton="true"
showRequiredErrors
appearance="outline"
formControlName="headersFilter">
</tb-key-val-map>

11
ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html

@ -10,17 +10,22 @@
@for (topicFilter of mqttFiltersFromArray.controls; track topicFilter; let i = $index) {
<div class="flex flex-1 flex-row items-center justify-start gap-2"
[formGroup]="topicFilter">
<mat-form-field appearance="outline" floatLabel="always" hideRequiredMarker class="mat-block flex-1">
<mat-form-field appearance="outline" floatLabel="always" class="mat-block flex-1">
@if (i === 0) {
<mat-label>{{"integration.topic" | translate }}</mat-label>
}
<input matInput required name="topicFilterTopic" formControlName="filter">
<input matInput required name="topicFilterTopic" formControlName="filter"
[attr.aria-label]="'integration.topic' | translate">
@if (topicFilter.get('filter').hasError('required')) {
<mat-error tbTruncateWithTooltip translate>integration.topics-required</mat-error>
}
</mat-form-field>
<mat-form-field appearance="outline" floatLabel="always" hideRequiredMarker class="mat-block flex-1">
@if (i === 0) {
<mat-label>{{"integration.mqtt-qos" | translate }}</mat-label>
}
<mat-select required formControlName="qos">
<mat-select required formControlName="qos"
[aria-label]="'integration.mqtt-qos' | translate">
@for (mqttQoS of mqttQosTypes; track mqttQoS) {
<mat-option [value]="mqttQoS">
{{ mqttQoS }} - {{ getMqttQosTranslation(mqttQoS) | translate}}

2
ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html

@ -177,7 +177,7 @@
</div>
<fieldset class="fields-group">
<legend class="group-title" translate>integration.metadata</legend>
<tb-key-val-map formControlName="metadata" isStrokedButton="true" appearance="outline"></tb-key-val-map>
<tb-key-val-map formControlName="metadata" isStrokedButton="true" showRequiredErrors appearance="outline"></tb-key-val-map>
</fieldset>
</section>
</ng-template>

2
ui-ngx/src/app/modules/home/pages/integration/integration.component.html

@ -115,7 +115,7 @@
</div>
<fieldset class="fields-group">
<legend class="group-title" translate>integration.metadata</legend>
<tb-key-val-map formControlName="metadata" isStrokedButton="true" appearance="outline"></tb-key-val-map>
<tb-key-val-map formControlName="metadata" isStrokedButton="true" showRequiredErrors appearance="outline"></tb-key-val-map>
</fieldset>
</section>
<div style="height: 30px;"></div>

10
ui-ngx/src/app/shared/components/kv-map.component.html

@ -11,11 +11,17 @@
<div class="flex flex-row items-center justify-start gap-2"[class.mb-1]="!$last" formArrayName="keyVals">
<mat-form-field class="mat-block flex-1" subscriptSizing="{{ subscriptSizing }}" [appearance]="appearance">
<input [formControl]="keyValControl.get('key')" matInput required
placeholder="{{ (keyPlaceholderText ? keyPlaceholderText : 'key-val.key') | translate }}"/>
placeholder="{{ (keyPlaceholderText ? keyPlaceholderText : 'key-val.key') | translate }}{{ showRequiredErrors ? '*' : '' }}"/>
@if (showRequiredErrors && keyValControl.get('key').hasError('required')) {
<mat-error tbTruncateWithTooltip translate>key-val.key-required</mat-error>
}
</mat-form-field>
<mat-form-field class="mat-block flex-1" subscriptSizing="{{ subscriptSizing }}" [appearance]="appearance">
<input [formControl]="keyValControl.get('value')" matInput [required]="isValueRequired"
placeholder="{{ (valuePlaceholderText ? valuePlaceholderText : 'key-val.value') | translate }}"/>
placeholder="{{ (valuePlaceholderText ? valuePlaceholderText : 'key-val.value') | translate }}{{ showRequiredErrors && isValueRequired ? '*' : '' }}"/>
@if (showRequiredErrors && keyValControl.get('value').hasError('required')) {
<mat-error tbTruncateWithTooltip translate>key-val.value-required</mat-error>
}
</mat-form-field>
<button mat-icon-button color="primary"
[class.!hidden]="disabled"

2
ui-ngx/src/app/shared/components/kv-map.component.ts

@ -47,6 +47,8 @@ export class KeyValMapComponent extends PageComponent implements ControlValueAcc
@Input() @coerceBoolean() isValueRequired = true;
@Input() @coerceBoolean() showRequiredErrors = false;
@Input() titleText: string;
@Input() keyPlaceholderText: string;

2
ui-ngx/src/assets/locale/locale.constant-en_US.json

@ -10967,7 +10967,9 @@
},
"key-val": {
"key": "Key",
"key-required": "Key is required.",
"value": "Value",
"value-required": "Value is required.",
"remove-entry": "Remove entry",
"add-entry": "Add entry",
"no-data": "No entries"

60
ui-ngx/src/polyfills.ts

@ -1,65 +1,9 @@
// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors
// SPDX-License-Identifier: Apache-2.0
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
*
* This file is divided into 2 sections:
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
* 2. Application imports. Files imported after ZoneJS that should be loaded before your main
* file.
*
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
*
* Learn more in https://angular.io/guide/browser-support
*/
/***************************************************************************************************
* BROWSER POLYFILLS
*/
/**
* By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags
* because those flags need to be set before `zone.js` being loaded, and webpack
* will put import in the top of bundle, so user need to create a separate file
* in this directory (for example: zone-flags.ts), and put the following flags
* into that file, and then add the following code before importing zone.js.
* import './zone-flags.ts';
*
* The flags allowed in zone-flags.ts are listed here.
*
* The following flags will work for all browsers.
*
* (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
* (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
* (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
*
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
* with the following flag, it will bypass `zone.js` patch for IE/Edge
*
* (window as any).__Zone_enable_cross_context_check = true;
*
*/
/***************************************************************************************************
* Zone JS is required by default for Angular itself.
*/
import './zone-flags';
import 'zone.js'; // Included with Angular CLI.
import 'core-js/es/array';
/***************************************************************************************************
* APPLICATION IMPORTS
*/
import 'zone.js';
(window as any).global = window;
/***************************************************************************************************
* WIDGETS IMPORTS
*/
// canvas-gauges must not create gauges from the page markup: widgets create them explicitly.
(window as any).GAUGES_NO_AUTO_INIT = true;

2
ui-ngx/tsconfig.json

@ -61,7 +61,7 @@
]
},
"lib": [
"es2020",
"es2022",
"dom"
],
"useDefineForClassFields": false

1027
ui-ngx/yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save