@c8y/devkit 1019.0.7 → 1019.2.8
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.
|
@@ -236,9 +236,11 @@ export interface ApplicationOptions {
|
|
|
236
236
|
*/
|
|
237
237
|
mapConfig?: MapDefaultConfig;
|
|
238
238
|
/**
|
|
239
|
-
* The URL used to
|
|
239
|
+
* The URL used to lookup geo coordinates for a user provided address via [nominatim API](https://nominatim.org/release-docs/develop/api/Search/).
|
|
240
|
+
* Can be set to empty to disable the find address feature on the location tab.
|
|
241
|
+
* Uses: `https://nominatim.openstreetmap.org/search?format=json&q={searchTerm}` if not set.
|
|
240
242
|
*/
|
|
241
|
-
|
|
243
|
+
mapNominatimUrl?: string;
|
|
242
244
|
/**
|
|
243
245
|
* The name of the root element. By default c8y-bootstrap.
|
|
244
246
|
*/
|
|
@@ -12,6 +12,7 @@ const plugin_1 = require("./plugin");
|
|
|
12
12
|
const production_1 = require("./production");
|
|
13
13
|
const styles_1 = require("./styles");
|
|
14
14
|
const translation_1 = require("./translation");
|
|
15
|
+
const favicon_1 = require("./favicon");
|
|
15
16
|
const lodash_1 = require("lodash");
|
|
16
17
|
const extra_1 = require("./extra");
|
|
17
18
|
/**
|
|
@@ -75,6 +76,7 @@ async function webpackConfigurationTransformer(baseWebpackConfig, browserBuilder
|
|
|
75
76
|
const legacyConfig = (0, legacy_1.config)();
|
|
76
77
|
const stylesConfig = (0, styles_1.config)(envOptions, c8yWebpackConfig);
|
|
77
78
|
const federationConfig = (0, federationUtils_1.buildConfigForFederation)(c8yWebpackConfig);
|
|
79
|
+
const faviconConfig = (0, favicon_1.config)();
|
|
78
80
|
const ignoreWarnings = [
|
|
79
81
|
{
|
|
80
82
|
message: /.*? part of the TypeScript compilation but it's unused\./
|
|
@@ -95,6 +97,7 @@ async function webpackConfigurationTransformer(baseWebpackConfig, browserBuilder
|
|
|
95
97
|
legacyConfig,
|
|
96
98
|
stylesConfig,
|
|
97
99
|
federationConfig,
|
|
100
|
+
faviconConfig,
|
|
98
101
|
{
|
|
99
102
|
watchOptions: {
|
|
100
103
|
aggregateTimeout: 600,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../src/webpack/config/base.ts"],"names":[],"mappings":";;;AAAA,yDAAmF;AAEnF,iDAAsD;AACtD,8DAAoE;AACpE,8CAK0B;AAC1B,mCAAqD;AACrD,+CAAyD;AACzD,qCAAuD;AACvD,qCAAuD;AACvD,6CAAuD;AACvD,qCAAuD;AACvD,+CAAiE;
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../src/webpack/config/base.ts"],"names":[],"mappings":";;;AAAA,yDAAmF;AAEnF,iDAAsD;AACtD,8DAAoE;AACpE,8CAK0B;AAC1B,mCAAqD;AACrD,+CAAyD;AACzD,qCAAuD;AACvD,qCAAuD;AACvD,6CAAuD;AACvD,qCAAuD;AACvD,+CAAiE;AACjE,uCAAyD;AAKzD,mCAA8B;AAC9B,mCAA2C;AAE3C;;;;;;;GAOG;AAEH;;;;;;GAMG;AACH,SAAgB,0CAA0C,CACxD,OAAiC,EACjC,OAAuB;IAEvB,OAAO,CAAC,iBAAuC,EAAE,EAAE,CACjD,+BAA+B,CAAC,iBAAiB,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AACzE,CAAC;AAND,gGAMC;AAED;;;;;;GAMG;AACH,SAAgB,sDAAsD,CACpE,OAAmC,EACnC,OAAuB;IAEvB,OAAO,CAAC,iBAAuC,EAAE,EAAE,CACjD,OAAO;SACJ,gBAAgB,CAAC,IAAA,kCAAsB,EAAC,OAAO,CAAC,aAAa,CAAC,CAAC;SAC/D,IAAI,CAAC,cAAc,CAAC,EAAE,CACrB,+BAA+B,CAC7B,iBAAiB,EACjB,cAAqD,EACrD,OAAO,EACP,OAAO,CACR,CACF,CAAC;AACR,CAAC;AAfD,wHAeC;AAED;;;;;;;;;;;GAWG;AACH,KAAK,U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AW;QACX,iBAAiB;QACjB,gBAAgB;QAChB,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,gBAAgB;QAChB,aAAa;QACb;YACE,YAAY,EAAE;gBACZ,gBAAgB,EAAE,GAAG;gBACrB,OAAO,EAAE,CAAC,iBAAiB,EAAE,SAAS,EAAE,2BAA2B,EAAE,aAAa,CAAC;aACpF;YACD,cAAc;YACd,KAAK,EAAE,qBAAqB,CAAC,SAAS,EAAE,KAAK,IAAI;gBAC/C,MAAM,EAAE,KAAK;gBACb,cAAc,EAAE,CAAC,iBAAiB,CAAC;aACpC;SACF;KACF,CAAC,CAAC;IAEH,sCAAsC;IACtC,MAAM,kBAAkB,GAAG,IAAA,wBAAgB,EAAC,UAAU,EAAE,wBAAwB,CAAC,CAAC;IAClF,MAAM,YAAY,GAAyB,IAAA,qBAAY,EAAC;QACtD,wBAAwB;QACxB,kBAAkB;KACnB,CAAC,CAAC;IAEH,IAAI,eAAe,GAAG,uBAAuB;QAC3C,CAAC,CAAC,IAAA,sCAAwB,EAAC,UAAU,EAAE,YAAY,EAAE,uBAAuB,CAAC;QAC7E,CAAC,CAAC,YAAY,CAAC;IAEjB,oEAAoE;IACpE,IAAI,YAAY,CAAC,IAAI,KAAK,YAAY,EAAE;QACtC,eAAe,GAAG,IAAA,oCAAuB,EAAC,UAAU,EAAE,eAAe,CAAC,CAAC;KACxE;IAED,OAAO,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -108,7 +108,7 @@ export declare class CumulocityPlugin {
|
|
|
108
108
|
sensorAppOneLink?: string | undefined;
|
|
109
109
|
mapLayers?: import("../ApplicationOptions").MapTileLayer[] | undefined;
|
|
110
110
|
mapConfig?: import("../ApplicationOptions").MapDefaultConfig | undefined;
|
|
111
|
-
|
|
111
|
+
mapNominatimUrl?: string | undefined;
|
|
112
112
|
rootTagName?: string | undefined;
|
|
113
113
|
modules: never[];
|
|
114
114
|
core_path: string;
|
|
@@ -174,7 +174,7 @@ export declare class CumulocityPlugin {
|
|
|
174
174
|
sensorAppOneLink?: string | undefined;
|
|
175
175
|
mapLayers?: import("../ApplicationOptions").MapTileLayer[] | undefined;
|
|
176
176
|
mapConfig?: import("../ApplicationOptions").MapDefaultConfig | undefined;
|
|
177
|
-
|
|
177
|
+
mapNominatimUrl?: string | undefined;
|
|
178
178
|
rootTagName?: string | undefined;
|
|
179
179
|
};
|
|
180
180
|
languagesKeys(): string[];
|
|
@@ -244,7 +244,7 @@ export declare class CumulocityPlugin {
|
|
|
244
244
|
sensorAppOneLink?: string | undefined;
|
|
245
245
|
mapLayers?: import("../ApplicationOptions").MapTileLayer[] | undefined;
|
|
246
246
|
mapConfig?: import("../ApplicationOptions").MapDefaultConfig | undefined;
|
|
247
|
-
|
|
247
|
+
mapNominatimUrl?: string | undefined;
|
|
248
248
|
rootTagName?: string | undefined;
|
|
249
249
|
};
|
|
250
250
|
copyDefinitionToImports(copy: any, context: any): Promise<string[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/devkit",
|
|
3
|
-
"version": "1019.
|
|
3
|
+
"version": "1019.2.8",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Cumulocity",
|
|
6
6
|
"description": "Cumulocity Webpack Build Facade",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
45
45
|
"@babel/plugin-transform-async-to-generator": "^7.18.6",
|
|
46
46
|
"@babel/preset-env": "^7.16.7",
|
|
47
|
-
"@c8y/client": "1019.
|
|
47
|
+
"@c8y/client": "1019.2.8",
|
|
48
48
|
"@schematics/angular": "^15.2.6",
|
|
49
49
|
"angular-gettext-tools": "2.5.3",
|
|
50
50
|
"babel-eslint": "10.0.1",
|
|
51
|
-
"babel-loader": "9.1.
|
|
51
|
+
"babel-loader": "9.1.3",
|
|
52
52
|
"babel-plugin-angularjs-annotate": "0.10.0",
|
|
53
53
|
"chalk": "^4.1.2",
|
|
54
54
|
"copy-webpack-plugin": "11.0.0",
|