Skip to content

Commit

Permalink
remove [(ngModel)] from templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Nov 1, 2024
1 parent 0b10db0 commit bc8d173
Show file tree
Hide file tree
Showing 15 changed files with 4,535 additions and 3,621 deletions.
29 changes: 7 additions & 22 deletions dynamic-mapping-ui/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,11 @@
"options": {
"outputPath": "dist/dynamic-mapping",
"main": "src/main.ts",
"polyfills": [
"zone.js"
],
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "less",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.less"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.less", "@c8y/style/main.less"],
"scripts": [],
"aot": false,
"allowedCommonJsDependencies": [
Expand Down Expand Up @@ -86,19 +79,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "less",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.less"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.less", "@c8y/style/main.less"],
"scripts": []
}
},
Expand All @@ -123,4 +108,4 @@
"cli": {
"analytics": "7d223acb-751a-477e-88d3-2b250d6465dd"
}
}
}
7 changes: 4 additions & 3 deletions dynamic-mapping-ui/cumulocity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export default {
contentSecurityPolicy:
"base-uri 'none'; default-src 'self' 'unsafe-inline' http: https: ws: wss:; connect-src 'self' http: https: ws: wss:; script-src 'self' *.bugherd.com *.twitter.com *.twimg.com *.aptrinsic.com 'unsafe-inline' 'unsafe-eval' data:; style-src * 'unsafe-inline' blob:; img-src * data: blob:; font-src * data:; frame-src *; worker-src 'self' blob:;",
dynamicOptionsUrl: '/apps/public/public-options/options.json',
remotes: {
'sag-ps-pkg-dynamic-mapping': ['DynamicMappingModule']
},
// remotes: {
// 'sag-ps-pkg-dynamic-mapping': ['DynamicMappingModule']
// },
tabsHorizontal: true,
noAppSwitcher: false,
// comment the following properties to create a standalone app
Expand Down Expand Up @@ -118,6 +118,7 @@ export default {
'@c8y/client',
'@c8y/ngx-components',
'ngx-bootstrap',
'angular',
'@ngx-translate/core',
'@ngx-formly/core'
]
Expand Down
15 changes: 0 additions & 15 deletions dynamic-mapping-ui/extra-webpack.config.js

This file was deleted.

Loading

0 comments on commit bc8d173

Please sign in to comment.