diff --git a/package.json b/package.json index c8794b55e..73e4a2a53 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "js-base64": "^3.7.2", "json-to-avro": "^1.1.1", "lodash": "^4.17.21", + "lucide-vue-next": "^0.553.0", "marked": "^4.0.9", "monaco-editor": "^0.30.0", "mqtt": "^4.2.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 86383e6ac..7a3280bef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -92,6 +92,9 @@ importers: lodash: specifier: ^4.17.21 version: 4.17.21 + lucide-vue-next: + specifier: ^0.553.0 + version: 0.553.0(vue@3.5.4(typescript@5.5.4)) marked: specifier: ^4.0.9 version: 4.3.0 @@ -2729,6 +2732,11 @@ packages: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} engines: {node: '>=10'} + lucide-vue-next@0.553.0: + resolution: {integrity: sha512-0tg9XT+VCElTT+7EXXbBRhWe1nU7Doa32Xv/dHP5/LCleFVgV6cAqziM3C7AetqmsYIsfAtNwRYdtvs4Ds7aUg==} + peerDependencies: + vue: '>=3.0.1' + magic-string@0.30.11: resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} @@ -6671,6 +6679,10 @@ snapshots: dependencies: yallist: 4.0.0 + lucide-vue-next@0.553.0(vue@3.5.4(typescript@5.5.4)): + dependencies: + vue: 3.5.4(typescript@5.5.4) + magic-string@0.30.11: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 diff --git a/src/assets/img/aws_timestream.png b/src/assets/img/aws_timestream.png new file mode 100644 index 000000000..42ad154d2 Binary files /dev/null and b/src/assets/img/aws_timestream.png differ diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index 124d16cf5..5e90c7473 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -24,6 +24,7 @@ declare global { const BACKGROUND_CIRCLE_RADIUS: typeof import('./hooks/Overview/useNodesGraph')['BACKGROUND_CIRCLE_RADIUS'] const BANNED_NEVER_EXPIRE_VALUE: typeof import('./common/constants')['BANNED_NEVER_EXPIRE_VALUE'] const BATCH_UPLOAD_CSV_MAX_ROWS: typeof import('./common/constants')['BATCH_UPLOAD_CSV_MAX_ROWS'] + const BRIDGE_TYPES_LIKE_INFLUXDB: typeof import('./common/constants')['BRIDGE_TYPES_LIKE_INFLUXDB'] const BRIDGE_TYPES_NOT_USE_SCHEMA: typeof import('./common/constants')['BRIDGE_TYPES_NOT_USE_SCHEMA'] const CER_FILE_ACCEPTS: typeof import('./common/constants')['CER_FILE_ACCEPTS'] const COMMON_ID_REG: typeof import('./common/constants')['COMMON_ID_REG'] @@ -610,6 +611,7 @@ declare module 'vue' { readonly BACKGROUND_CIRCLE_RADIUS: UnwrapRef readonly BANNED_NEVER_EXPIRE_VALUE: UnwrapRef readonly BATCH_UPLOAD_CSV_MAX_ROWS: UnwrapRef + readonly BRIDGE_TYPES_LIKE_INFLUXDB: UnwrapRef readonly BRIDGE_TYPES_NOT_USE_SCHEMA: UnwrapRef readonly CER_FILE_ACCEPTS: UnwrapRef readonly COMMON_ID_REG: UnwrapRef diff --git a/src/common/constants.ts b/src/common/constants.ts index 20076a1e6..3292b73b7 100644 --- a/src/common/constants.ts +++ b/src/common/constants.ts @@ -281,7 +281,12 @@ export const ADMIN_USERNAMES = ['admin', 'root', 'administrator'] const { VITE_APP_VERSION } = import.meta.env export const IS_ENTERPRISE = VITE_APP_VERSION === 'enterprise' -export const BRIDGE_TYPES_NOT_USE_SCHEMA = [BridgeType.InfluxDB, BridgeType.Datalayers] +export const BRIDGE_TYPES_LIKE_INFLUXDB = [ + BridgeType.InfluxDB, + BridgeType.Datalayers, + BridgeType.AWSTimestream, +] +export const BRIDGE_TYPES_NOT_USE_SCHEMA = [...BRIDGE_TYPES_LIKE_INFLUXDB] export const CONNECTOR_TYPES_WITH_TWO_DIRECTIONS = [BridgeType.MQTT, BridgeType.RabbitMQ] diff --git a/src/components/AdvancedSettingsBtn.vue b/src/components/AdvancedSettingsBtn.vue index 67fabf4b2..95596bdd0 100644 --- a/src/components/AdvancedSettingsBtn.vue +++ b/src/components/AdvancedSettingsBtn.vue @@ -8,11 +8,13 @@ @click="toggle" > {{ buttonText ?? tl('advancedSettings') }} - + diff --git a/src/components/Buttons/SearchButton.vue b/src/components/Buttons/SearchButton.vue index 277dbf997..6007090ca 100644 --- a/src/components/Buttons/SearchButton.vue +++ b/src/components/Buttons/SearchButton.vue @@ -1,11 +1,13 @@ diff --git a/src/components/Buttons/SettingsButton.vue b/src/components/Buttons/SettingsButton.vue index 03782d1cd..d89c173bf 100644 --- a/src/components/Buttons/SettingsButton.vue +++ b/src/components/Buttons/SettingsButton.vue @@ -1,10 +1,12 @@ diff --git a/src/components/KeyAndValueEditor.vue b/src/components/KeyAndValueEditor.vue index f0ef89747..a346669e2 100644 --- a/src/components/KeyAndValueEditor.vue +++ b/src/components/KeyAndValueEditor.vue @@ -76,12 +76,12 @@ @input="atInputChange" /> - + - + {{ t('Base.add') }} @@ -102,6 +102,7 @@