Update styles and scripts reference and add Swiper
This commit is contained in:
parent
54fe87cf0f
commit
4c6d40fc3b
|
@ -1,14 +1,7 @@
|
|||
{
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"plugins": ["@angular-eslint/eslint-plugin", "@typescript-eslint"],
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
||||
"plugin:@angular-eslint/recommended",
|
||||
"prettier",
|
||||
"eslint-config-prettier"
|
||||
],
|
||||
"extends": ["prettier", "eslint-config-prettier"],
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true,
|
||||
|
@ -36,9 +29,9 @@
|
|||
"style": "camelCase"
|
||||
}
|
||||
],
|
||||
"@angular-eslint/relative-url-prefix": "error",
|
||||
"@angular-eslint/relative-url-prefix": "off",
|
||||
"@typescript-eslint/ban-types": [
|
||||
"error",
|
||||
"off",
|
||||
{
|
||||
"extendDefaults": true,
|
||||
"types": {
|
||||
|
@ -46,10 +39,10 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/explicit-function-return-type": ["error", { "allowExpressions": true }],
|
||||
"@typescript-eslint/explicit-function-return-type": ["off", { "allowExpressions": true }],
|
||||
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||||
"@typescript-eslint/member-ordering": [
|
||||
"error",
|
||||
"off",
|
||||
{
|
||||
"default": [
|
||||
"public-static-field",
|
||||
|
@ -72,27 +65,27 @@
|
|||
"@typescript-eslint/no-floating-promises": "off",
|
||||
"@typescript-eslint/no-non-null-assertion": "off",
|
||||
"@typescript-eslint/no-parameter-properties": ["warn", { "allows": ["public", "private", "protected"] }],
|
||||
"@typescript-eslint/no-shadow": ["error"],
|
||||
"@typescript-eslint/no-unnecessary-condition": "error",
|
||||
"@typescript-eslint/no-shadow": ["off"],
|
||||
"@typescript-eslint/no-unnecessary-condition": "off",
|
||||
"@typescript-eslint/no-unsafe-assignment": "off",
|
||||
"@typescript-eslint/no-unsafe-call": "off",
|
||||
"@typescript-eslint/no-unsafe-member-access": "off",
|
||||
"@typescript-eslint/prefer-nullish-coalescing": "error",
|
||||
"@typescript-eslint/prefer-optional-chain": "error",
|
||||
"@typescript-eslint/prefer-nullish-coalescing": "off",
|
||||
"@typescript-eslint/prefer-optional-chain": "off",
|
||||
"@typescript-eslint/unbound-method": "off",
|
||||
"arrow-body-style": "error",
|
||||
"curly": "error",
|
||||
"eqeqeq": ["error", "always", { "null": "ignore" }],
|
||||
"guard-for-in": "error",
|
||||
"no-bitwise": "error",
|
||||
"no-caller": "error",
|
||||
"no-console": ["error", { "allow": ["warn", "error"] }],
|
||||
"no-eval": "error",
|
||||
"no-labels": "error",
|
||||
"no-new": "error",
|
||||
"no-new-wrappers": "error",
|
||||
"object-shorthand": ["error", "always", { "avoidExplicitReturnArrows": true }],
|
||||
"radix": "error",
|
||||
"spaced-comment": ["warn", "always"]
|
||||
"arrow-body-style": "off",
|
||||
"curly": "off",
|
||||
"eqeqeq": ["off", "always", { "null": "ignore" }],
|
||||
"guard-for-in": "off",
|
||||
"no-bitwise": "off",
|
||||
"no-caller": "off",
|
||||
"no-console": ["off", { "allow": ["warn", "off"] }],
|
||||
"no-eval": "off",
|
||||
"no-labels": "off",
|
||||
"no-new": "off",
|
||||
"no-new-wrappers": "off",
|
||||
"object-shorthand": ["off", "always", { "avoidExplicitReturnArrows": true }],
|
||||
"radix": "off",
|
||||
"spaced-comment": ["off", "always"]
|
||||
}
|
||||
}
|
||||
|
|
27
angular.json
27
angular.json
|
@ -43,8 +43,31 @@
|
|||
{ "glob": "axios.min.js", "input": "./node_modules/axios/dist", "output": "swagger-ui" },
|
||||
{ "glob": "**/*", "input": "src/main/webapp/swagger-ui/", "output": "swagger-ui" }
|
||||
],
|
||||
"styles": ["src/main/webapp/content/scss/vendor.scss", "src/main/webapp/content/scss/global.scss"],
|
||||
"scripts": []
|
||||
"styles": ["src/main/webapp/content/scss/paper-dashboard.scss", "./node_modules/swiper/swiper-bundle.min.css"],
|
||||
"scripts": [
|
||||
"src/main/webapp/content/js/bootstrap.min.js",
|
||||
"src/main/webapp/content/js/bootstrap-datetimepicker.js",
|
||||
"src/main/webapp/content/js/bootstrap-notify.js",
|
||||
"src/main/webapp/content/js/bootstrap-selectpicker.js",
|
||||
"src/main/webapp/content/js/bootstrap-switch-tags.js",
|
||||
"src/main/webapp/content/js/bootstrap-table.js",
|
||||
"src/main/webapp/content/js/chartist.min.js",
|
||||
"src/main/webapp/content/js/es6-promise-auto.min.js",
|
||||
"src/main/webapp/content/js/fullcalendar.min.js",
|
||||
"src/main/webapp/content/js/jquery.bootstrap.wizard.min.js",
|
||||
"src/main/webapp/content/js/jquery.datatables.js",
|
||||
"src/main/webapp/content/js/jquery.easypiechart.min.js",
|
||||
"src/main/webapp/content/js/jquery.validate.min.js",
|
||||
"src/main/webapp/content/js/jquery-3.1.1.min.js",
|
||||
"src/main/webapp/content/js/jquery-jvectormap.js",
|
||||
"src/main/webapp/content/js/jquery-ui.min.js",
|
||||
"src/main/webapp/content/js/moment.min.js",
|
||||
"src/main/webapp/content/js/nouislider.min.js",
|
||||
"src/main/webapp/content/js/paper-dashboard.js",
|
||||
"src/main/webapp/content/js/perfect-scrollbar.min.js",
|
||||
"src/main/webapp/content/js/sweetalert2.js",
|
||||
"./node_modules/swiper/swiper-bundle.min.js"
|
||||
]
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
"rxjs": "6.6.7",
|
||||
"sockjs-client": "1.5.0",
|
||||
"swagger-ui-dist": "3.50.0",
|
||||
"swiper": "^6.7.5",
|
||||
"tslib": "2.3.0",
|
||||
"webstomp-client": "1.2.6",
|
||||
"zone.js": "0.11.4"
|
||||
|
@ -8927,6 +8928,14 @@
|
|||
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/dom7": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/dom7/-/dom7-3.0.0.tgz",
|
||||
"integrity": "sha512-oNlcUdHsC4zb7Msx7JN3K0Nro1dzJ48knvBOnDPKJ2GV9wl1i5vydJZUSyOfrkKFDZEud/jBsTk92S/VGSAe/g==",
|
||||
"dependencies": {
|
||||
"ssr-window": "^3.0.0-alpha.1"
|
||||
}
|
||||
},
|
||||
"node_modules/domelementtype": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz",
|
||||
|
@ -23251,6 +23260,11 @@
|
|||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ssr-window": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-3.0.0.tgz",
|
||||
"integrity": "sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA=="
|
||||
},
|
||||
"node_modules/ssri": {
|
||||
"version": "8.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz",
|
||||
|
@ -23903,6 +23917,29 @@
|
|||
"resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-3.50.0.tgz",
|
||||
"integrity": "sha512-BklniOBPlvZ6M9oGkhUwOf5HvxhkHBIycXN3ndju8WlLmi1xfMSdOA2AR6pNswlwURzsZUe1rh80aUyjnpD+Zw=="
|
||||
},
|
||||
"node_modules/swiper": {
|
||||
"version": "6.7.5",
|
||||
"resolved": "https://registry.npmjs.org/swiper/-/swiper-6.7.5.tgz",
|
||||
"integrity": "sha512-KaTjO93tZyMpxWHaey+T+H/JeePMZV/joZWhZaor76Xk+rPGmjOz1S8mXSyrRkaW0p0LOJYeWGB8d0gYxSSV/Q==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "patreon",
|
||||
"url": "https://www.patreon.com/vladimirkharlampidi"
|
||||
},
|
||||
{
|
||||
"type": "open_collective",
|
||||
"url": "http://opencollective.com/swiper"
|
||||
}
|
||||
],
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"dom7": "^3.0.0",
|
||||
"ssr-window": "^3.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 4.7.0"
|
||||
}
|
||||
},
|
||||
"node_modules/symbol-observable": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz",
|
||||
|
@ -33948,6 +33985,14 @@
|
|||
"entities": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"dom7": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/dom7/-/dom7-3.0.0.tgz",
|
||||
"integrity": "sha512-oNlcUdHsC4zb7Msx7JN3K0Nro1dzJ48knvBOnDPKJ2GV9wl1i5vydJZUSyOfrkKFDZEud/jBsTk92S/VGSAe/g==",
|
||||
"requires": {
|
||||
"ssr-window": "^3.0.0-alpha.1"
|
||||
}
|
||||
},
|
||||
"domelementtype": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz",
|
||||
|
@ -44922,6 +44967,11 @@
|
|||
"tweetnacl": "~0.14.0"
|
||||
}
|
||||
},
|
||||
"ssr-window": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-3.0.0.tgz",
|
||||
"integrity": "sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA=="
|
||||
},
|
||||
"ssri": {
|
||||
"version": "8.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz",
|
||||
|
@ -45408,6 +45458,15 @@
|
|||
"resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-3.50.0.tgz",
|
||||
"integrity": "sha512-BklniOBPlvZ6M9oGkhUwOf5HvxhkHBIycXN3ndju8WlLmi1xfMSdOA2AR6pNswlwURzsZUe1rh80aUyjnpD+Zw=="
|
||||
},
|
||||
"swiper": {
|
||||
"version": "6.7.5",
|
||||
"resolved": "https://registry.npmjs.org/swiper/-/swiper-6.7.5.tgz",
|
||||
"integrity": "sha512-KaTjO93tZyMpxWHaey+T+H/JeePMZV/joZWhZaor76Xk+rPGmjOz1S8mXSyrRkaW0p0LOJYeWGB8d0gYxSSV/Q==",
|
||||
"requires": {
|
||||
"dom7": "^3.0.0",
|
||||
"ssr-window": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"symbol-observable": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz",
|
||||
|
|
|
@ -87,6 +87,7 @@
|
|||
"rxjs": "6.6.7",
|
||||
"sockjs-client": "1.5.0",
|
||||
"swagger-ui-dist": "3.50.0",
|
||||
"swiper": "^6.7.5",
|
||||
"tslib": "2.3.0",
|
||||
"webstomp-client": "1.2.6",
|
||||
"zone.js": "0.11.4"
|
||||
|
|
Loading…
Reference in New Issue