提交代码

master
胡锐 7 months ago
parent 09671c7651
commit e12bb3c312
  1. 2
      .angular/cache/17.0.7/high-web/.tsbuildinfo
  2. 7
      .angular/cache/17.0.7/vite/deps/@angular_animations.js
  3. 5
      .angular/cache/17.0.7/vite/deps/@angular_common.js
  4. 7
      .angular/cache/17.0.7/vite/deps/@angular_common_http.js
  5. 3
      .angular/cache/17.0.7/vite/deps/@angular_core.js
  6. 7
      .angular/cache/17.0.7/vite/deps/@angular_forms.js
  7. 9
      .angular/cache/17.0.7/vite/deps/@angular_platform-browser.js
  8. 13
      .angular/cache/17.0.7/vite/deps/@angular_platform-browser_animations.js
  9. 11
      .angular/cache/17.0.7/vite/deps/@angular_router.js
  10. 175
      .angular/cache/17.0.7/vite/deps/_metadata.json
  11. 185
      .angular/cache/17.0.7/vite/deps/chunk-6NZ2BEBG.js
  12. 7
      .angular/cache/17.0.7/vite/deps/chunk-6NZ2BEBG.js.map
  13. 5588
      .angular/cache/17.0.7/vite/deps/chunk-CZEXXPIB.js
  14. 7
      .angular/cache/17.0.7/vite/deps/chunk-CZEXXPIB.js.map
  15. 6411
      .angular/cache/17.0.7/vite/deps/chunk-D4IIJHV7.js
  16. 7
      .angular/cache/17.0.7/vite/deps/chunk-D4IIJHV7.js.map
  17. 4189
      .angular/cache/17.0.7/vite/deps/chunk-ECVKT3ZH.js
  18. 7
      .angular/cache/17.0.7/vite/deps/chunk-ECVKT3ZH.js.map
  19. 24075
      .angular/cache/17.0.7/vite/deps/chunk-FGESKT7O.js
  20. 7
      .angular/cache/17.0.7/vite/deps/chunk-FGESKT7O.js.map
  21. 193
      .angular/cache/17.0.7/vite/deps/chunk-IAC53GOD.js
  22. 7
      .angular/cache/17.0.7/vite/deps/chunk-IAC53GOD.js.map
  23. 523
      .angular/cache/17.0.7/vite/deps/chunk-KI2JSLP6.js
  24. 7
      .angular/cache/17.0.7/vite/deps/chunk-KI2JSLP6.js.map
  25. 4827
      .angular/cache/17.0.7/vite/deps/chunk-OSQBUYO6.js
  26. 7
      .angular/cache/17.0.7/vite/deps/chunk-OSQBUYO6.js.map
  27. 152
      .angular/cache/17.0.7/vite/deps/chunk-VOD2PKZN.js
  28. 7
      .angular/cache/17.0.7/vite/deps/chunk-VOD2PKZN.js.map
  29. 2224
      .angular/cache/17.0.7/vite/deps/chunk-X7WBA24Z.js
  30. 7
      .angular/cache/17.0.7/vite/deps/chunk-X7WBA24Z.js.map
  31. 1949
      .angular/cache/17.0.7/vite/deps/chunk-Y4CEYMY2.js
  32. 7
      .angular/cache/17.0.7/vite/deps/chunk-Y4CEYMY2.js.map
  33. 62
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_breadcrumb.js
  34. 2
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_breadcrumb.js.map
  35. 25
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_button.js
  36. 38
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_carousel.js
  37. 2
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_carousel.js.map
  38. 46
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_checkbox.js
  39. 2
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_checkbox.js.map
  40. 88
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_form.js
  41. 2
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_form.js.map
  42. 17
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_grid.js
  43. 9
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_i18n.js
  44. 17
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_icon.js
  45. 72
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_input.js
  46. 2
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_input.js.map
  47. 54
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_layout.js
  48. 2
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_layout.js.map
  49. 41
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_menu.js
  50. 42
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_message.js
  51. 2
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_message.js.map
  52. 62
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_slider.js
  53. 2
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_slider.js.map
  54. 100
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_tabs.js
  55. 2
      .angular/cache/17.0.7/vite/deps/ng-zorro-antd_tabs.js.map
  56. 1
      src/app/app.config.ts
  57. 7
      src/app/app.routes.ts
  58. 12
      src/app/pages/account/account.module.ts
  59. 6
      src/app/pages/account/account.routes.ts
  60. 1
      src/app/pages/account/sys-account/sys-account.component.html
  61. 0
      src/app/pages/account/sys-account/sys-account.component.less
  62. 23
      src/app/pages/account/sys-account/sys-account.component.spec.ts
  63. 12
      src/app/pages/account/sys-account/sys-account.component.ts
  64. 7
      src/app/pages/body/index/index.component.html
  65. 19
      src/app/pages/body/index/index.component.ts
  66. 19
      src/app/pages/body/tab/tab.component.html
  67. 95
      src/app/pages/body/tab/tab.component.ts
  68. 1
      src/app/pages/index/index/index.component.html
  69. 11
      src/app/pages/system/menu/menu.component.html
  70. 11
      src/app/servies/menu/menu.service.ts
  71. 63
      src/app/utils/routeReuseStrategy.ts

File diff suppressed because one or more lines are too long

@ -19,9 +19,10 @@ import {
trigger,
useAnimation,
ɵPRE_STYLE
} from "./chunk-KI2JSLP6.js";
import "./chunk-OSQBUYO6.js";
import "./chunk-FGESKT7O.js";
} from "./chunk-EIAJJHP2.js";
import "./chunk-GRUKGTMG.js";
import "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
AUTO_STYLE,

@ -96,10 +96,11 @@ import {
provideImgixLoader,
registerLocaleData,
setRootDomAdapter
} from "./chunk-OSQBUYO6.js";
} from "./chunk-GRUKGTMG.js";
import {
IMAGE_CONFIG
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
APP_BASE_HREF,

@ -35,9 +35,10 @@ import {
withNoXsrfProtection,
withRequestsMadeViaParent,
withXsrfConfiguration
} from "./chunk-X7WBA24Z.js";
import "./chunk-OSQBUYO6.js";
import "./chunk-FGESKT7O.js";
} from "./chunk-U3HDGNZW.js";
import "./chunk-GRUKGTMG.js";
import "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
FetchBackend,

@ -427,7 +427,8 @@ import {
ɵɵtrustConstantResourceUrl,
ɵɵvalidateIframeAttribute,
ɵɵviewQuery
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
ANIMATION_MODULE_TYPE,

@ -55,9 +55,10 @@ import {
ɵInternalFormsSharedModule,
ɵNgNoValidate,
ɵNgSelectMultipleOption
} from "./chunk-D4IIJHV7.js";
import "./chunk-OSQBUYO6.js";
import "./chunk-FGESKT7O.js";
} from "./chunk-CGZ73UGK.js";
import "./chunk-GRUKGTMG.js";
import "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
AbstractControl,

@ -34,12 +34,13 @@ import {
provideProtractorTestingSupport,
withHttpTransferCacheOptions,
withNoHttpTransferCache
} from "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
} from "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import {
getDOM
} from "./chunk-OSQBUYO6.js";
import "./chunk-FGESKT7O.js";
} from "./chunk-GRUKGTMG.js";
import "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
BrowserModule,

@ -4,14 +4,15 @@ import {
NoopAnimationsModule,
provideAnimations,
provideNoopAnimations
} from "./chunk-ECVKT3ZH.js";
import "./chunk-KI2JSLP6.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
import "./chunk-OSQBUYO6.js";
} from "./chunk-DLJPVZ6P.js";
import "./chunk-EIAJJHP2.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import "./chunk-GRUKGTMG.js";
import {
ANIMATION_MODULE_TYPE
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
ANIMATION_MODULE_TYPE,

@ -71,11 +71,12 @@ import {
withRouterConfig,
withViewTransitions,
ɵEmptyOutletComponent
} from "./chunk-CZEXXPIB.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
import "./chunk-OSQBUYO6.js";
import "./chunk-FGESKT7O.js";
} from "./chunk-OHFVGNRL.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import "./chunk-GRUKGTMG.js";
import "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
ActivatedRoute,

@ -1,245 +1,254 @@
{
"hash": "88038483",
"browserHash": "5ef39866",
"hash": "caa9087e",
"browserHash": "8f2eb2e1",
"optimized": {
"@angular/animations": {
"src": "../../../../../node_modules/@angular/animations/fesm2022/animations.mjs",
"file": "@angular_animations.js",
"fileHash": "809a02fb",
"fileHash": "2190e03c",
"needsInterop": false
},
"@angular/common": {
"src": "../../../../../node_modules/@angular/common/fesm2022/common.mjs",
"file": "@angular_common.js",
"fileHash": "84f4329d",
"fileHash": "551819e1",
"needsInterop": false
},
"@angular/common/http": {
"src": "../../../../../node_modules/@angular/common/fesm2022/http.mjs",
"file": "@angular_common_http.js",
"fileHash": "76586bff",
"fileHash": "7404b45a",
"needsInterop": false
},
"@angular/common/locales/zh": {
"src": "../../../../../node_modules/@angular/common/locales/zh.mjs",
"file": "@angular_common_locales_zh.js",
"fileHash": "6017edb4",
"fileHash": "cd176df5",
"needsInterop": false
},
"@angular/core": {
"src": "../../../../../node_modules/@angular/core/fesm2022/core.mjs",
"file": "@angular_core.js",
"fileHash": "f8c9868f",
"fileHash": "7b677792",
"needsInterop": false
},
"@angular/forms": {
"src": "../../../../../node_modules/@angular/forms/fesm2022/forms.mjs",
"file": "@angular_forms.js",
"fileHash": "429061e0",
"fileHash": "f0acb155",
"needsInterop": false
},
"@angular/platform-browser": {
"src": "../../../../../node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs",
"file": "@angular_platform-browser.js",
"fileHash": "7b63e7a1",
"fileHash": "ffbed09d",
"needsInterop": false
},
"@angular/platform-browser/animations": {
"src": "../../../../../node_modules/@angular/platform-browser/fesm2022/animations.mjs",
"file": "@angular_platform-browser_animations.js",
"fileHash": "f48204c1",
"fileHash": "4860f4ea",
"needsInterop": false
},
"@angular/router": {
"src": "../../../../../node_modules/@angular/router/fesm2022/router.mjs",
"file": "@angular_router.js",
"fileHash": "52deb9fe",
"fileHash": "e90b260e",
"needsInterop": false
},
"ng-zorro-antd/breadcrumb": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-breadcrumb.mjs",
"file": "ng-zorro-antd_breadcrumb.js",
"fileHash": "0cf8cf86",
"fileHash": "12f6c2c5",
"needsInterop": false
},
"ng-zorro-antd/button": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-button.mjs",
"file": "ng-zorro-antd_button.js",
"fileHash": "ef565dc3",
"fileHash": "c5ebfbce",
"needsInterop": false
},
"ng-zorro-antd/carousel": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-carousel.mjs",
"file": "ng-zorro-antd_carousel.js",
"fileHash": "ce54ae7f",
"fileHash": "5e6da238",
"needsInterop": false
},
"ng-zorro-antd/checkbox": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-checkbox.mjs",
"file": "ng-zorro-antd_checkbox.js",
"fileHash": "dc1d3456",
"fileHash": "d930cc3e",
"needsInterop": false
},
"ng-zorro-antd/dropdown": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-dropdown.mjs",
"file": "ng-zorro-antd_dropdown.js",
"fileHash": "0b661e23",
"fileHash": "6929b596",
"needsInterop": false
},
"ng-zorro-antd/form": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-form.mjs",
"file": "ng-zorro-antd_form.js",
"fileHash": "f209f997",
"fileHash": "fc1c1004",
"needsInterop": false
},
"ng-zorro-antd/grid": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-grid.mjs",
"file": "ng-zorro-antd_grid.js",
"fileHash": "86145a31",
"fileHash": "4c95b572",
"needsInterop": false
},
"ng-zorro-antd/i18n": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-i18n.mjs",
"file": "ng-zorro-antd_i18n.js",
"fileHash": "d7b1f1ed",
"fileHash": "004b3458",
"needsInterop": false
},
"ng-zorro-antd/icon": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-icon.mjs",
"file": "ng-zorro-antd_icon.js",
"fileHash": "612c8079",
"fileHash": "56995e8e",
"needsInterop": false
},
"ng-zorro-antd/input": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-input.mjs",
"file": "ng-zorro-antd_input.js",
"fileHash": "f8038bf0",
"fileHash": "a2792fcb",
"needsInterop": false
},
"ng-zorro-antd/layout": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-layout.mjs",
"file": "ng-zorro-antd_layout.js",
"fileHash": "ffd2dad7",
"fileHash": "957541f4",
"needsInterop": false
},
"ng-zorro-antd/menu": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-menu.mjs",
"file": "ng-zorro-antd_menu.js",
"fileHash": "fddf30bb",
"fileHash": "d7106df7",
"needsInterop": false
},
"ng-zorro-antd/message": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-message.mjs",
"file": "ng-zorro-antd_message.js",
"fileHash": "b05b5e15",
"fileHash": "1d7cb4e4",
"needsInterop": false
},
"ng-zorro-antd/slider": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-slider.mjs",
"file": "ng-zorro-antd_slider.js",
"fileHash": "13f32c53",
"fileHash": "d037669f",
"needsInterop": false
},
"ng-zorro-antd/tabs": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-tabs.mjs",
"file": "ng-zorro-antd_tabs.js",
"fileHash": "ff0f3616",
"fileHash": "969c5dee",
"needsInterop": false
},
"ng-zorro-antd/tree": {
"src": "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-tree.mjs",
"file": "ng-zorro-antd_tree.js",
"fileHash": "4039d652",
"fileHash": "4070f5b6",
"needsInterop": false
},
"rxjs": {
"src": "../../../../../node_modules/rxjs/dist/esm5/index.js",
"file": "rxjs.js",
"fileHash": "007f5363",
"needsInterop": false
}
},
"chunks": {
"chunk-EISFVYMQ": {
"file": "chunk-EISFVYMQ.js"
"chunk-SIWHY5U5": {
"file": "chunk-SIWHY5U5.js"
},
"chunk-HGCFPTHW": {
"file": "chunk-HGCFPTHW.js"
},
"chunk-VMSZ6GWB": {
"file": "chunk-VMSZ6GWB.js"
"chunk-6YSLOGDV": {
"file": "chunk-6YSLOGDV.js"
},
"chunk-C33RY4ER": {
"file": "chunk-C33RY4ER.js"
"chunk-N2PB3IXS": {
"file": "chunk-N2PB3IXS.js"
},
"chunk-5AGOG3VI": {
"file": "chunk-5AGOG3VI.js"
"chunk-XNSEPSHF": {
"file": "chunk-XNSEPSHF.js"
},
"chunk-4OID6NLN": {
"file": "chunk-4OID6NLN.js"
"chunk-OHFVGNRL": {
"file": "chunk-OHFVGNRL.js"
},
"chunk-D4IIJHV7": {
"file": "chunk-D4IIJHV7.js"
"chunk-BGVPPB2M": {
"file": "chunk-BGVPPB2M.js"
},
"chunk-KUR2ZJJB": {
"file": "chunk-KUR2ZJJB.js"
"chunk-RKDI7MDU": {
"file": "chunk-RKDI7MDU.js"
},
"chunk-YGBKDI43": {
"file": "chunk-YGBKDI43.js"
"chunk-YFXR6SLR": {
"file": "chunk-YFXR6SLR.js"
},
"chunk-RSMXCRFI": {
"file": "chunk-RSMXCRFI.js"
"chunk-HF5YUKES": {
"file": "chunk-HF5YUKES.js"
},
"chunk-CZEXXPIB": {
"file": "chunk-CZEXXPIB.js"
"chunk-II6F7O4R": {
"file": "chunk-II6F7O4R.js"
},
"chunk-K4MSLGWI": {
"file": "chunk-K4MSLGWI.js"
"chunk-P2PA3N7Y": {
"file": "chunk-P2PA3N7Y.js"
},
"chunk-NOHVXVKW": {
"file": "chunk-NOHVXVKW.js"
"chunk-I4PM4FPC": {
"file": "chunk-I4PM4FPC.js"
},
"chunk-XDMUMVNQ": {
"file": "chunk-XDMUMVNQ.js"
"chunk-V3LUKTWG": {
"file": "chunk-V3LUKTWG.js"
},
"chunk-RJWK6JFA": {
"file": "chunk-RJWK6JFA.js"
"chunk-E6X5K3WX": {
"file": "chunk-E6X5K3WX.js"
},
"chunk-VOD2PKZN": {
"file": "chunk-VOD2PKZN.js"
"chunk-LE6DQ524": {
"file": "chunk-LE6DQ524.js"
},
"chunk-JGP5BR6B": {
"file": "chunk-JGP5BR6B.js"
},
"chunk-A7MWZ3GO": {
"file": "chunk-A7MWZ3GO.js"
"chunk-R3YQA6NO": {
"file": "chunk-R3YQA6NO.js"
},
"chunk-Q646SFZH": {
"file": "chunk-Q646SFZH.js"
"chunk-KBVCKJGB": {
"file": "chunk-KBVCKJGB.js"
},
"chunk-6NZ2BEBG": {
"file": "chunk-6NZ2BEBG.js"
"chunk-XJ6U6HBE": {
"file": "chunk-XJ6U6HBE.js"
},
"chunk-G327EOBL": {
"file": "chunk-G327EOBL.js"
"chunk-MQMU2B2N": {
"file": "chunk-MQMU2B2N.js"
},
"chunk-DASIIA63": {
"file": "chunk-DASIIA63.js"
"chunk-JXVDBMEG": {
"file": "chunk-JXVDBMEG.js"
},
"chunk-IAC53GOD": {
"file": "chunk-IAC53GOD.js"
"chunk-DLJPVZ6P": {
"file": "chunk-DLJPVZ6P.js"
},
"chunk-SATQCK6M": {
"file": "chunk-SATQCK6M.js"
"chunk-EIAJJHP2": {
"file": "chunk-EIAJJHP2.js"
},
"chunk-ECVKT3ZH": {
"file": "chunk-ECVKT3ZH.js"
"chunk-Q3CVYH5T": {
"file": "chunk-Q3CVYH5T.js"
},
"chunk-KI2JSLP6": {
"file": "chunk-KI2JSLP6.js"
"chunk-U3HDGNZW": {
"file": "chunk-U3HDGNZW.js"
},
"chunk-Y4CEYMY2": {
"file": "chunk-Y4CEYMY2.js"
"chunk-CGZ73UGK": {
"file": "chunk-CGZ73UGK.js"
},
"chunk-X7WBA24Z": {
"file": "chunk-X7WBA24Z.js"
"chunk-GRUKGTMG": {
"file": "chunk-GRUKGTMG.js"
},
"chunk-OSQBUYO6": {
"file": "chunk-OSQBUYO6.js"
"chunk-A6CRNF4U": {
"file": "chunk-A6CRNF4U.js"
},
"chunk-FGESKT7O": {
"file": "chunk-FGESKT7O.js"
"chunk-ZAWZRDJR": {
"file": "chunk-ZAWZRDJR.js"
},
"chunk-HSNDBVJ3": {
"file": "chunk-HSNDBVJ3.js"

@ -1,185 +0,0 @@
import {
DOCUMENT
} from "./chunk-OSQBUYO6.js";
import {
Directive,
EventEmitter,
Inject,
Injectable,
InjectionToken,
Input,
NgModule,
Optional,
Output,
inject,
setClassMetadata,
ɵɵProvidersFeature,
ɵɵattribute,
ɵɵdefineDirective,
ɵɵdefineInjectable,
ɵɵdefineInjector,
ɵɵdefineNgModule,
ɵɵinject
} from "./chunk-FGESKT7O.js";
// node_modules/@angular/cdk/fesm2022/bidi.mjs
var DIR_DOCUMENT = new InjectionToken("cdk-dir-doc", {
providedIn: "root",
factory: DIR_DOCUMENT_FACTORY
});
function DIR_DOCUMENT_FACTORY() {
return inject(DOCUMENT);
}
var RTL_LOCALE_PATTERN = /^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;
function _resolveDirectionality(rawValue) {
const value = rawValue?.toLowerCase() || "";
if (value === "auto" && typeof navigator !== "undefined" && navigator?.language) {
return RTL_LOCALE_PATTERN.test(navigator.language) ? "rtl" : "ltr";
}
return value === "rtl" ? "rtl" : "ltr";
}
var _Directionality = class _Directionality {
constructor(_document) {
this.value = "ltr";
this.change = new EventEmitter();
if (_document) {
const bodyDir = _document.body ? _document.body.dir : null;
const htmlDir = _document.documentElement ? _document.documentElement.dir : null;
this.value = _resolveDirectionality(bodyDir || htmlDir || "ltr");
}
}
ngOnDestroy() {
this.change.complete();
}
};
_Directionality.ɵfac = function Directionality_Factory(t) {
return new (t || _Directionality)(ɵɵinject(DIR_DOCUMENT, 8));
};
_Directionality.ɵprov = ɵɵdefineInjectable({
token: _Directionality,
factory: _Directionality.ɵfac,
providedIn: "root"
});
var Directionality = _Directionality;
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Directionality, [{
type: Injectable,
args: [{
providedIn: "root"
}]
}], () => [{
type: void 0,
decorators: [{
type: Optional
}, {
type: Inject,
args: [DIR_DOCUMENT]
}]
}], null);
})();
var _Dir = class _Dir {
constructor() {
this._dir = "ltr";
this._isInitialized = false;
this.change = new EventEmitter();
}
/** @docs-private */
get dir() {
return this._dir;
}
set dir(value) {
const previousValue = this._dir;
this._dir = _resolveDirectionality(value);
this._rawDir = value;
if (previousValue !== this._dir && this._isInitialized) {
this.change.emit(this._dir);
}
}
/** Current layout direction of the element. */
get value() {
return this.dir;
}
/** Initialize once default value has been set. */
ngAfterContentInit() {
this._isInitialized = true;
}
ngOnDestroy() {
this.change.complete();
}
};
_Dir.ɵfac = function Dir_Factory(t) {
return new (t || _Dir)();
};
_Dir.ɵdir = ɵɵdefineDirective({
type: _Dir,
selectors: [["", "dir", ""]],
hostVars: 1,
hostBindings: function Dir_HostBindings(rf, ctx) {
if (rf & 2) {
ɵɵattribute("dir", ctx._rawDir);
}
},
inputs: {
dir: "dir"
},
outputs: {
change: "dirChange"
},
exportAs: ["dir"],
features: [ɵɵProvidersFeature([{
provide: Directionality,
useExisting: _Dir
}])]
});
var Dir = _Dir;
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Dir, [{
type: Directive,
args: [{
selector: "[dir]",
providers: [{
provide: Directionality,
useExisting: Dir
}],
host: {
"[attr.dir]": "_rawDir"
},
exportAs: "dir"
}]
}], null, {
change: [{
type: Output,
args: ["dirChange"]
}],
dir: [{
type: Input
}]
});
})();
var _BidiModule = class _BidiModule {
};
_BidiModule.ɵfac = function BidiModule_Factory(t) {
return new (t || _BidiModule)();
};
_BidiModule.ɵmod = ɵɵdefineNgModule({
type: _BidiModule,
declarations: [Dir],
exports: [Dir]
});
_BidiModule.ɵinj = ɵɵdefineInjector({});
var BidiModule = _BidiModule;
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BidiModule, [{
type: NgModule,
args: [{
exports: [Dir],
declarations: [Dir]
}]
}], null, null);
})();
export {
Directionality,
BidiModule
};
//# sourceMappingURL=chunk-6NZ2BEBG.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

@ -1,193 +0,0 @@
import {
isPlatformBrowser
} from "./chunk-OSQBUYO6.js";
import {
Inject,
Injectable,
NgModule,
PLATFORM_ID,
setClassMetadata,
ɵɵdefineInjectable,
ɵɵdefineInjector,
ɵɵdefineNgModule,
ɵɵinject
} from "./chunk-FGESKT7O.js";
// node_modules/@angular/cdk/fesm2022/platform.mjs
var hasV8BreakIterator;
try {
hasV8BreakIterator = typeof Intl !== "undefined" && Intl.v8BreakIterator;
} catch {
hasV8BreakIterator = false;
}
var _Platform = class _Platform {
constructor(_platformId) {
this._platformId = _platformId;
this.isBrowser = this._platformId ? isPlatformBrowser(this._platformId) : typeof document === "object" && !!document;
this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent);
this.TRIDENT = this.isBrowser && /(msie|trident)/i.test(navigator.userAgent);
this.BLINK = this.isBrowser && !!(window.chrome || hasV8BreakIterator) && typeof CSS !== "undefined" && !this.EDGE && !this.TRIDENT;
this.WEBKIT = this.isBrowser && /AppleWebKit/i.test(navigator.userAgent) && !this.BLINK && !this.EDGE && !this.TRIDENT;
this.IOS = this.isBrowser && /iPad|iPhone|iPod/.test(navigator.userAgent) && !("MSStream" in window);
this.FIREFOX = this.isBrowser && /(firefox|minefield)/i.test(navigator.userAgent);
this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) && !this.TRIDENT;
this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && this.WEBKIT;
}
};
_Platform.ɵfac = function Platform_Factory(t) {
return new (t || _Platform)(ɵɵinject(PLATFORM_ID));
};
_Platform.ɵprov = ɵɵdefineInjectable({
token: _Platform,
factory: _Platform.ɵfac,
providedIn: "root"
});
var Platform = _Platform;
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Platform, [{
type: Injectable,
args: [{
providedIn: "root"
}]
}], () => [{
type: Object,
decorators: [{
type: Inject,
args: [PLATFORM_ID]
}]
}], null);
})();
var _PlatformModule = class _PlatformModule {
};
_PlatformModule.ɵfac = function PlatformModule_Factory(t) {
return new (t || _PlatformModule)();
};
_PlatformModule.ɵmod = ɵɵdefineNgModule({
type: _PlatformModule
});
_PlatformModule.ɵinj = ɵɵdefineInjector({});
var PlatformModule = _PlatformModule;
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(PlatformModule, [{
type: NgModule,
args: [{}]
}], null, null);
})();
var supportsPassiveEvents;
function supportsPassiveEventListeners() {
if (supportsPassiveEvents == null && typeof window !== "undefined") {
try {
window.addEventListener("test", null, Object.defineProperty({}, "passive", {
get: () => supportsPassiveEvents = true
}));
} finally {
supportsPassiveEvents = supportsPassiveEvents || false;
}
}
return supportsPassiveEvents;
}
function normalizePassiveListenerOptions(options) {
return supportsPassiveEventListeners() ? options : !!options.capture;
}
var rtlScrollAxisType;
var scrollBehaviorSupported;
function supportsScrollBehavior() {
if (scrollBehaviorSupported == null) {
if (typeof document !== "object" || !document || typeof Element !== "function" || !Element) {
scrollBehaviorSupported = false;
return scrollBehaviorSupported;
}
if ("scrollBehavior" in document.documentElement.style) {
scrollBehaviorSupported = true;
} else {
const scrollToFunction = Element.prototype.scrollTo;
if (scrollToFunction) {
scrollBehaviorSupported = !/\{\s*\[native code\]\s*\}/.test(scrollToFunction.toString());
} else {
scrollBehaviorSupported = false;
}
}
}
return scrollBehaviorSupported;
}
function getRtlScrollAxisType() {
if (typeof document !== "object" || !document) {
return 0;
}
if (rtlScrollAxisType == null) {
const scrollContainer = document.createElement("div");
const containerStyle = scrollContainer.style;
scrollContainer.dir = "rtl";
containerStyle.width = "1px";
containerStyle.overflow = "auto";
containerStyle.visibility = "hidden";
containerStyle.pointerEvents = "none";
containerStyle.position = "absolute";
const content = document.createElement("div");
const contentStyle = content.style;
contentStyle.width = "2px";
contentStyle.height = "1px";
scrollContainer.appendChild(content);
document.body.appendChild(scrollContainer);
rtlScrollAxisType = 0;
if (scrollContainer.scrollLeft === 0) {
scrollContainer.scrollLeft = 1;
rtlScrollAxisType = scrollContainer.scrollLeft === 0 ? 1 : 2;
}
scrollContainer.remove();
}
return rtlScrollAxisType;
}
var shadowDomIsSupported;
function _supportsShadowDom() {
if (shadowDomIsSupported == null) {
const head = typeof document !== "undefined" ? document.head : null;
shadowDomIsSupported = !!(head && (head.createShadowRoot || head.attachShadow));
}
return shadowDomIsSupported;
}
function _getShadowRoot(element) {
if (_supportsShadowDom()) {
const rootNode = element.getRootNode ? element.getRootNode() : null;
if (typeof ShadowRoot !== "undefined" && ShadowRoot && rootNode instanceof ShadowRoot) {
return rootNode;
}
}
return null;
}
function _getFocusedElementPierceShadowDom() {
let activeElement = typeof document !== "undefined" && document ? document.activeElement : null;
while (activeElement && activeElement.shadowRoot) {
const newActiveElement = activeElement.shadowRoot.activeElement;
if (newActiveElement === activeElement) {
break;
} else {
activeElement = newActiveElement;
}
}
return activeElement;
}
function _getEventTarget(event) {
return event.composedPath ? event.composedPath()[0] : event.target;
}
function _isTestEnvironment() {
return (
// @ts-ignore
typeof __karma__ !== "undefined" && !!__karma__ || // @ts-ignore
typeof jasmine !== "undefined" && !!jasmine || // @ts-ignore
typeof jest !== "undefined" && !!jest || // @ts-ignore
typeof Mocha !== "undefined" && !!Mocha
);
}
export {
Platform,
normalizePassiveListenerOptions,
supportsScrollBehavior,
getRtlScrollAxisType,
_getShadowRoot,
_getFocusedElementPierceShadowDom,
_getEventTarget,
_isTestEnvironment
};
//# sourceMappingURL=chunk-IAC53GOD.js.map

File diff suppressed because one or more lines are too long

@ -1,523 +0,0 @@
import {
DOCUMENT
} from "./chunk-OSQBUYO6.js";
import {
ANIMATION_MODULE_TYPE,
Inject,
Injectable,
RendererFactory2,
RuntimeError,
ViewEncapsulation$1,
inject,
setClassMetadata,
ɵɵdefineInjectable,
ɵɵinject
} from "./chunk-FGESKT7O.js";
// node_modules/@angular/animations/fesm2022/animations.mjs
var AUTO_STYLE = "*";
function trigger(name, definitions) {
return {
type: 7,
name,
definitions,
options: {}
};
}
function animate(timings, styles = null) {
return {
type: 4,
styles,
timings
};
}
function group(steps, options = null) {
return {
type: 3,
steps,
options
};
}
function sequence(steps, options = null) {
return {
type: 2,
steps,
options
};
}
function style(tokens) {
return {
type: 6,
styles: tokens,
offset: null
};
}
function state(name, styles, options) {
return {
type: 0,
name,
styles,
options
};
}
function keyframes(steps) {
return {
type: 5,
steps
};
}
function transition(stateChangeExpr, steps, options = null) {
return {
type: 1,
expr: stateChangeExpr,
animation: steps,
options
};
}
function animation(steps, options = null) {
return {
type: 8,
animation: steps,
options
};
}
function animateChild(options = null) {
return {
type: 9,
options
};
}
function useAnimation(animation2, options = null) {
return {
type: 10,
animation: animation2,
options
};
}
function query(selector, animation2, options = null) {
return {
type: 11,
selector,
animation: animation2,
options
};
}
function stagger(timings, animation2) {
return {
type: 12,
timings,
animation: animation2
};
}
var _AnimationBuilder = class _AnimationBuilder {
};
_AnimationBuilder.ɵfac = function AnimationBuilder_Factory(t) {
return new (t || _AnimationBuilder)();
};
_AnimationBuilder.ɵprov = ɵɵdefineInjectable({
token: _AnimationBuilder,
factory: () => (() => inject(BrowserAnimationBuilder))(),
providedIn: "root"
});
var AnimationBuilder = _AnimationBuilder;
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(AnimationBuilder, [{
type: Injectable,
args: [{
providedIn: "root",
useFactory: () => inject(BrowserAnimationBuilder)
}]
}], null, null);
})();
var AnimationFactory = class {
};
var _BrowserAnimationBuilder = class _BrowserAnimationBuilder extends AnimationBuilder {
constructor(rootRenderer, doc) {
super();
this.animationModuleType = inject(ANIMATION_MODULE_TYPE, {
optional: true
});
this._nextAnimationId = 0;
const typeData = {
id: "0",
encapsulation: ViewEncapsulation$1.None,
styles: [],
data: {
animation: []
}
};
this._renderer = rootRenderer.createRenderer(doc.body, typeData);
if (this.animationModuleType === null && !isAnimationRenderer(this._renderer)) {
throw new RuntimeError(3600, (typeof ngDevMode === "undefined" || ngDevMode) && "Angular detected that the `AnimationBuilder` was injected, but animation support was not enabled. Please make sure that you enable animations in your application by calling `provideAnimations()` or `provideAnimationsAsync()` function.");
}
}
build(animation2) {
const id = this._nextAnimationId;
this._nextAnimationId++;
const entry = Array.isArray(animation2) ? sequence(animation2) : animation2;
issueAnimationCommand(this._renderer, null, id, "register", [entry]);
return new BrowserAnimationFactory(id, this._renderer);
}
};
_BrowserAnimationBuilder.ɵfac = function BrowserAnimationBuilder_Factory(t) {
return new (t || _BrowserAnimationBuilder)(ɵɵinject(RendererFactory2), ɵɵinject(DOCUMENT));
};
_BrowserAnimationBuilder.ɵprov = ɵɵdefineInjectable({
token: _BrowserAnimationBuilder,
factory: _BrowserAnimationBuilder.ɵfac,
providedIn: "root"
});
var BrowserAnimationBuilder = _BrowserAnimationBuilder;
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BrowserAnimationBuilder, [{
type: Injectable,
args: [{
providedIn: "root"
}]
}], () => [{
type: RendererFactory2
}, {
type: Document,
decorators: [{
type: Inject,
args: [DOCUMENT]
}]
}], null);
})();
var BrowserAnimationFactory = class extends AnimationFactory {
constructor(_id, _renderer) {
super();
this._id = _id;
this._renderer = _renderer;
}
create(element, options) {
return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer);
}
};
var RendererAnimationPlayer = class {
constructor(id, element, options, _renderer) {
this.id = id;
this.element = element;
this._renderer = _renderer;
this.parentPlayer = null;
this._started = false;
this.totalTime = 0;
this._command("create", options);
}
_listen(eventName, callback) {
return this._renderer.listen(this.element, `@@${this.id}:${eventName}`, callback);
}
_command(command, ...args) {
issueAnimationCommand(this._renderer, this.element, this.id, command, args);
}
onDone(fn) {
this._listen("done", fn);
}
onStart(fn) {
this._listen("start", fn);
}
onDestroy(fn) {
this._listen("destroy", fn);
}
init() {
this._command("init");
}
hasStarted() {
return this._started;
}
play() {
this._command("play");
this._started = true;
}
pause() {
this._command("pause");
}
restart() {
this._command("restart");
}
finish() {
this._command("finish");
}
destroy() {
this._command("destroy");
}
reset() {
this._command("reset");
this._started = false;
}
setPosition(p) {
this._command("setPosition", p);
}
getPosition() {
return unwrapAnimationRenderer(this._renderer)?.engine?.players[this.id]?.getPosition() ?? 0;
}
};
function issueAnimationCommand(renderer, element, id, command, args) {
renderer.setProperty(element, `@@${id}:${command}`, args);
}
function unwrapAnimationRenderer(renderer) {
const type = renderer.ɵtype;
if (type === 0) {
return renderer;
} else if (type === 1) {
return renderer.animationRenderer;
}
return null;
}
function isAnimationRenderer(renderer) {
const type = renderer.ɵtype;
return type === 0 || type === 1;
}
var NoopAnimationPlayer = class {
constructor(duration = 0, delay = 0) {
this._onDoneFns = [];
this._onStartFns = [];
this._onDestroyFns = [];
this._originalOnDoneFns = [];
this._originalOnStartFns = [];
this._started = false;
this._destroyed = false;
this._finished = false;
this._position = 0;
this.parentPlayer = null;
this.totalTime = duration + delay;
}
_onFinish() {
if (!this._finished) {
this._finished = true;
this._onDoneFns.forEach((fn) => fn());
this._onDoneFns = [];
}
}
onStart(fn) {
this._originalOnStartFns.push(fn);
this._onStartFns.push(fn);
}
onDone(fn) {
this._originalOnDoneFns.push(fn);
this._onDoneFns.push(fn);
}
onDestroy(fn) {
this._onDestroyFns.push(fn);
}
hasStarted() {
return this._started;
}
init() {
}
play() {
if (!this.hasStarted()) {
this._onStart();
this.triggerMicrotask();
}
this._started = true;
}
/** @internal */
triggerMicrotask() {
queueMicrotask(() => this._onFinish());
}
_onStart() {
this._onStartFns.forEach((fn) => fn());
this._onStartFns = [];
}
pause() {
}
restart() {
}
finish() {
this._onFinish();
}
destroy() {
if (!this._destroyed) {
this._destroyed = true;
if (!this.hasStarted()) {
this._onStart();
}
this.finish();
this._onDestroyFns.forEach((fn) => fn());
this._onDestroyFns = [];
}
}
reset() {
this._started = false;
this._finished = false;
this._onStartFns = this._originalOnStartFns;
this._onDoneFns = this._originalOnDoneFns;
}
setPosition(position) {
this._position = this.totalTime ? position * this.totalTime : 1;
}
getPosition() {
return this.totalTime ? this._position / this.totalTime : 1;
}
/** @internal */
triggerCallback(phaseName) {
const methods = phaseName == "start" ? this._onStartFns : this._onDoneFns;
methods.forEach((fn) => fn());
methods.length = 0;
}
};
var AnimationGroupPlayer = class {
constructor(_players) {
this._onDoneFns = [];
this._onStartFns = [];
this._finished = false;
this._started = false;
this._destroyed = false;
this._onDestroyFns = [];
this.parentPlayer = null;
this.totalTime = 0;
this.players = _players;
let doneCount = 0;
let destroyCount = 0;
let startCount = 0;
const total = this.players.length;
if (total == 0) {
queueMicrotask(() => this._onFinish());
} else {
this.players.forEach((player) => {
player.onDone(() => {
if (++doneCount == total) {
this._onFinish();
}
});
player.onDestroy(() => {
if (++destroyCount == total) {
this._onDestroy();
}
});
player.onStart(() => {
if (++startCount == total) {
this._onStart();
}
});
});
}
this.totalTime = this.players.reduce((time, player) => Math.max(time, player.totalTime), 0);
}
_onFinish() {
if (!this._finished) {
this._finished = true;
this._onDoneFns.forEach((fn) => fn());
this._onDoneFns = [];
}
}
init() {
this.players.forEach((player) => player.init());
}
onStart(fn) {
this._onStartFns.push(fn);
}
_onStart() {
if (!this.hasStarted()) {
this._started = true;
this._onStartFns.forEach((fn) => fn());
this._onStartFns = [];
}
}
onDone(fn) {
this._onDoneFns.push(fn);
}
onDestroy(fn) {
this._onDestroyFns.push(fn);
}
hasStarted() {
return this._started;
}
play() {
if (!this.parentPlayer) {
this.init();
}
this._onStart();
this.players.forEach((player) => player.play());
}
pause() {
this.players.forEach((player) => player.pause());
}
restart() {
this.players.forEach((player) => player.restart());
}
finish() {
this._onFinish();
this.players.forEach((player) => player.finish());
}
destroy() {
this._onDestroy();
}
_onDestroy() {
if (!this._destroyed) {
this._destroyed = true;
this._onFinish();
this.players.forEach((player) => player.destroy());
this._onDestroyFns.forEach((fn) => fn());
this._onDestroyFns = [];
}
}
reset() {
this.players.forEach((player) => player.reset());
this._destroyed = false;
this._finished = false;
this._started = false;
}
setPosition(p) {
const timeAtPosition = p * this.totalTime;
this.players.forEach((player) => {
const position = player.totalTime ? Math.min(1, timeAtPosition / player.totalTime) : 1;
player.setPosition(position);
});
}
getPosition() {
const longestPlayer = this.players.reduce((longestSoFar, player) => {
const newPlayerIsLongest = longestSoFar === null || player.totalTime > longestSoFar.totalTime;
return newPlayerIsLongest ? player : longestSoFar;
}, null);
return longestPlayer != null ? longestPlayer.getPosition() : 0;
}
beforeDestroy() {
this.players.forEach((player) => {
if (player.beforeDestroy) {
player.beforeDestroy();
}
});
}
/** @internal */
triggerCallback(phaseName) {
const methods = phaseName == "start" ? this._onStartFns : this._onDoneFns;
methods.forEach((fn) => fn());
methods.length = 0;
}
};
var ɵPRE_STYLE = "!";
export {
AUTO_STYLE,
trigger,
animate,
group,
sequence,
style,
state,
keyframes,
transition,
animation,
animateChild,
useAnimation,
query,
stagger,
AnimationBuilder,
AnimationFactory,
BrowserAnimationBuilder,
NoopAnimationPlayer,
AnimationGroupPlayer,
ɵPRE_STYLE
};
/*! Bundled license information:
@angular/animations/fesm2022/animations.mjs:
(**
* @license Angular v17.0.7
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*)
*/
//# sourceMappingURL=chunk-KI2JSLP6.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,152 +0,0 @@
import {
Directive,
Input,
NgModule,
TemplateRef,
ViewContainerRef,
setClassMetadata,
ɵɵNgOnChangesFeature,
ɵɵdefineDirective,
ɵɵdefineInjector,
ɵɵdefineNgModule,
ɵɵdirectiveInject
} from "./chunk-FGESKT7O.js";
// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-core-outlet.mjs
var _NzStringTemplateOutletDirective = class _NzStringTemplateOutletDirective {
static ngTemplateContextGuard(_dir, _ctx) {
return true;
}
recreateView() {
this.viewContainer.clear();
const isTemplateRef = this.nzStringTemplateOutlet instanceof TemplateRef;
const templateRef = isTemplateRef ? this.nzStringTemplateOutlet : this.templateRef;
this.embeddedViewRef = this.viewContainer.createEmbeddedView(templateRef, isTemplateRef ? this.nzStringTemplateOutletContext : this.context);
}
updateContext() {
const isTemplateRef = this.nzStringTemplateOutlet instanceof TemplateRef;
const newCtx = isTemplateRef ? this.nzStringTemplateOutletContext : this.context;
const oldCtx = this.embeddedViewRef.context;
if (newCtx) {
for (const propName of Object.keys(newCtx)) {
oldCtx[propName] = newCtx[propName];
}
}
}
constructor(viewContainer, templateRef) {
this.viewContainer = viewContainer;
this.templateRef = templateRef;
this.embeddedViewRef = null;
this.context = new NzStringTemplateOutletContext();
this.nzStringTemplateOutletContext = null;
this.nzStringTemplateOutlet = null;
}
ngOnChanges(changes) {
const {
nzStringTemplateOutletContext,
nzStringTemplateOutlet
} = changes;
const shouldRecreateView = () => {
let shouldOutletRecreate = false;
if (nzStringTemplateOutlet) {
if (nzStringTemplateOutlet.firstChange) {
shouldOutletRecreate = true;
} else {
const isPreviousOutletTemplate = nzStringTemplateOutlet.previousValue instanceof TemplateRef;
const isCurrentOutletTemplate = nzStringTemplateOutlet.currentValue instanceof TemplateRef;
shouldOutletRecreate = isPreviousOutletTemplate || isCurrentOutletTemplate;
}
}
const hasContextShapeChanged = (ctxChange) => {
const prevCtxKeys = Object.keys(ctxChange.previousValue || {});
const currCtxKeys = Object.keys(ctxChange.currentValue || {});
if (prevCtxKeys.length === currCtxKeys.length) {
for (const propName of currCtxKeys) {
if (prevCtxKeys.indexOf(propName) === -1) {
return true;
}
}
return false;
} else {
return true;
}
};
const shouldContextRecreate = nzStringTemplateOutletContext && hasContextShapeChanged(nzStringTemplateOutletContext);
return shouldContextRecreate || shouldOutletRecreate;
};
if (nzStringTemplateOutlet) {
this.context.$implicit = nzStringTemplateOutlet.currentValue;
}
const recreateView = shouldRecreateView();
if (recreateView) {
this.recreateView();
} else {
this.updateContext();
}
}
};
_NzStringTemplateOutletDirective.ɵfac = function NzStringTemplateOutletDirective_Factory(t) {
return new (t || _NzStringTemplateOutletDirective)(ɵɵdirectiveInject(ViewContainerRef), ɵɵdirectiveInject(TemplateRef));
};
_NzStringTemplateOutletDirective.ɵdir = ɵɵdefineDirective({
type: _NzStringTemplateOutletDirective,
selectors: [["", "nzStringTemplateOutlet", ""]],
inputs: {
nzStringTemplateOutletContext: "nzStringTemplateOutletContext",
nzStringTemplateOutlet: "nzStringTemplateOutlet"
},
exportAs: ["nzStringTemplateOutlet"],
standalone: true,
features: [ɵɵNgOnChangesFeature]
});
var NzStringTemplateOutletDirective = _NzStringTemplateOutletDirective;
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(NzStringTemplateOutletDirective, [{
type: Directive,
args: [{
selector: "[nzStringTemplateOutlet]",
exportAs: "nzStringTemplateOutlet",
standalone: true
}]
}], () => [{
type: ViewContainerRef
}, {
type: TemplateRef
}], {
nzStringTemplateOutletContext: [{
type: Input
}],
nzStringTemplateOutlet: [{
type: Input
}]
});
})();
var NzStringTemplateOutletContext = class {
};
var _NzOutletModule = class _NzOutletModule {
};
_NzOutletModule.ɵfac = function NzOutletModule_Factory(t) {
return new (t || _NzOutletModule)();
};
_NzOutletModule.ɵmod = ɵɵdefineNgModule({
type: _NzOutletModule,
imports: [NzStringTemplateOutletDirective],
exports: [NzStringTemplateOutletDirective]
});
_NzOutletModule.ɵinj = ɵɵdefineInjector({});
var NzOutletModule = _NzOutletModule;
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(NzOutletModule, [{
type: NgModule,
args: [{
imports: [NzStringTemplateOutletDirective],
exports: [NzStringTemplateOutletDirective]
}]
}], null, null);
})();
export {
NzStringTemplateOutletDirective,
NzOutletModule
};
//# sourceMappingURL=chunk-VOD2PKZN.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

@ -1,48 +1,48 @@
import {
NzDropDownDirective,
NzDropDownModule
} from "./chunk-KUR2ZJJB.js";
import "./chunk-YGBKDI43.js";
import "./chunk-RSMXCRFI.js";
} from "./chunk-6YSLOGDV.js";
import "./chunk-N2PB3IXS.js";
import "./chunk-XNSEPSHF.js";
import {
ActivatedRoute,
NavigationEnd,
PRIMARY_OUTLET,
Router
} from "./chunk-CZEXXPIB.js";
import "./chunk-K4MSLGWI.js";
import "./chunk-NOHVXVKW.js";
import "./chunk-XDMUMVNQ.js";
import "./chunk-RJWK6JFA.js";
} from "./chunk-OHFVGNRL.js";
import "./chunk-BGVPPB2M.js";
import "./chunk-RKDI7MDU.js";
import "./chunk-YFXR6SLR.js";
import "./chunk-HF5YUKES.js";
import {
NzOutletModule,
NzStringTemplateOutletDirective
} from "./chunk-VOD2PKZN.js";
import "./chunk-JGP5BR6B.js";
import "./chunk-A7MWZ3GO.js";
import "./chunk-Q646SFZH.js";
import {
Directionality
} from "./chunk-6NZ2BEBG.js";
} from "./chunk-II6F7O4R.js";
import "./chunk-I4PM4FPC.js";
import {
NzIconDirective,
NzIconModule
} from "./chunk-G327EOBL.js";
import "./chunk-DASIIA63.js";
import "./chunk-IAC53GOD.js";
} from "./chunk-LE6DQ524.js";
import "./chunk-JGP5BR6B.js";
import "./chunk-R3YQA6NO.js";
import "./chunk-KBVCKJGB.js";
import {
Directionality
} from "./chunk-XJ6U6HBE.js";
import "./chunk-MQMU2B2N.js";
import {
InputBoolean,
PREFIX
} from "./chunk-SATQCK6M.js";
import "./chunk-ECVKT3ZH.js";
import "./chunk-KI2JSLP6.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
} from "./chunk-JXVDBMEG.js";
import "./chunk-DLJPVZ6P.js";
import "./chunk-EIAJJHP2.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import {
NgForOf,
NgIf,
NgTemplateOutlet
} from "./chunk-OSQBUYO6.js";
} from "./chunk-GRUKGTMG.js";
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
@ -53,13 +53,8 @@ import {
NgModule,
Optional,
Renderer2,
Subject,
ViewEncapsulation$1,
__decorate,
filter,
setClassMetadata,
startWith,
takeUntil,
ɵɵProvidersFeature,
ɵɵStandaloneFeature,
ɵɵadvance,
@ -88,7 +83,14 @@ import {
ɵɵtext,
ɵɵtextInterpolate,
ɵɵtextInterpolate1
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import {
Subject,
__decorate,
filter,
startWith,
takeUntil
} from "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-breadcrumb.mjs

File diff suppressed because one or more lines are too long

@ -2,18 +2,19 @@ import {
NzButtonComponent,
NzButtonGroupComponent,
NzButtonModule
} from "./chunk-RSMXCRFI.js";
import "./chunk-6NZ2BEBG.js";
import "./chunk-G327EOBL.js";
import "./chunk-DASIIA63.js";
import "./chunk-IAC53GOD.js";
import "./chunk-SATQCK6M.js";
import "./chunk-ECVKT3ZH.js";
import "./chunk-KI2JSLP6.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
import "./chunk-OSQBUYO6.js";
import "./chunk-FGESKT7O.js";
} from "./chunk-XNSEPSHF.js";
import "./chunk-LE6DQ524.js";
import "./chunk-R3YQA6NO.js";
import "./chunk-XJ6U6HBE.js";
import "./chunk-MQMU2B2N.js";
import "./chunk-JXVDBMEG.js";
import "./chunk-DLJPVZ6P.js";
import "./chunk-EIAJJHP2.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import "./chunk-GRUKGTMG.js";
import "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
NzButtonComponent,

@ -1,31 +1,31 @@
import {
LEFT_ARROW,
RIGHT_ARROW
} from "./chunk-JGP5BR6B.js";
import {
NzDragService,
NzResizeService
} from "./chunk-A7MWZ3GO.js";
import "./chunk-Q646SFZH.js";
} from "./chunk-I4PM4FPC.js";
import {
Directionality
} from "./chunk-6NZ2BEBG.js";
LEFT_ARROW,
RIGHT_ARROW
} from "./chunk-JGP5BR6B.js";
import {
NzConfigService,
WithConfig
} from "./chunk-DASIIA63.js";
} from "./chunk-R3YQA6NO.js";
import "./chunk-KBVCKJGB.js";
import {
Directionality
} from "./chunk-XJ6U6HBE.js";
import {
Platform
} from "./chunk-IAC53GOD.js";
} from "./chunk-MQMU2B2N.js";
import {
InputBoolean,
InputNumber
} from "./chunk-SATQCK6M.js";
} from "./chunk-JXVDBMEG.js";
import {
NgForOf,
NgIf,
NgTemplateOutlet
} from "./chunk-OSQBUYO6.js";
} from "./chunk-GRUKGTMG.js";
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
@ -42,14 +42,9 @@ import {
Optional,
Output,
Renderer2,
Subject,
ViewChild,
ViewEncapsulation$1,
__decorate,
fromEvent,
setClassMetadata,
takeUntil,
timer,
ɵɵNgOnChangesFeature,
ɵɵStandaloneFeature,
ɵɵadvance,
@ -79,7 +74,14 @@ import {
ɵɵtext,
ɵɵtextInterpolate,
ɵɵviewQuery
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import {
Subject,
__decorate,
fromEvent,
takeUntil,
timer
} from "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-carousel.mjs

File diff suppressed because one or more lines are too long

@ -1,32 +1,32 @@
import {
FocusMonitor
} from "./chunk-EISFVYMQ.js";
} from "./chunk-V3LUKTWG.js";
import {
NzFormStatusService
} from "./chunk-5AGOG3VI.js";
} from "./chunk-E6X5K3WX.js";
import "./chunk-LE6DQ524.js";
import "./chunk-JGP5BR6B.js";
import "./chunk-R3YQA6NO.js";
import "./chunk-KBVCKJGB.js";
import {
Directionality
} from "./chunk-XJ6U6HBE.js";
import "./chunk-MQMU2B2N.js";
import {
InputBoolean
} from "./chunk-JXVDBMEG.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import {
CheckboxControlValueAccessor,
FormsModule,
NG_VALUE_ACCESSOR,
NgControlStatus,
NgModel
} from "./chunk-D4IIJHV7.js";
import "./chunk-JGP5BR6B.js";
import "./chunk-Q646SFZH.js";
import {
Directionality
} from "./chunk-6NZ2BEBG.js";
import "./chunk-G327EOBL.js";
import "./chunk-DASIIA63.js";
import "./chunk-IAC53GOD.js";
import {
InputBoolean
} from "./chunk-SATQCK6M.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
} from "./chunk-CGZ73UGK.js";
import {
NgForOf
} from "./chunk-OSQBUYO6.js";
} from "./chunk-GRUKGTMG.js";
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
@ -38,14 +38,10 @@ import {
NgZone,
Optional,
Output,
Subject,
ViewChild,
ViewEncapsulation$1,
__decorate,
forwardRef,
fromEvent,
setClassMetadata,
takeUntil,
ɵɵProvidersFeature,
ɵɵStandaloneFeature,
ɵɵadvance,
@ -72,7 +68,13 @@ import {
ɵɵtext,
ɵɵtextInterpolate,
ɵɵviewQuery
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import {
Subject,
__decorate,
fromEvent,
takeUntil
} from "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-checkbox.mjs

File diff suppressed because one or more lines are too long

@ -1,59 +1,59 @@
import {
NzI18nService
} from "./chunk-VMSZ6GWB.js";
} from "./chunk-SIWHY5U5.js";
import {
NzTooltipDirective
} from "./chunk-C33RY4ER.js";
import {
NzFormStatusService
} from "./chunk-5AGOG3VI.js";
import {
NzGridModule
} from "./chunk-4OID6NLN.js";
import {
AbstractControl,
FormControlDirective,
FormControlName,
NgControl,
NgModel
} from "./chunk-D4IIJHV7.js";
import "./chunk-K4MSLGWI.js";
import "./chunk-NOHVXVKW.js";
import "./chunk-XDMUMVNQ.js";
} from "./chunk-HGCFPTHW.js";
import "./chunk-BGVPPB2M.js";
import "./chunk-RKDI7MDU.js";
import "./chunk-YFXR6SLR.js";
import {
helpMotion
} from "./chunk-RJWK6JFA.js";
} from "./chunk-HF5YUKES.js";
import {
NzOutletModule,
NzStringTemplateOutletDirective
} from "./chunk-VOD2PKZN.js";
import "./chunk-JGP5BR6B.js";
import "./chunk-A7MWZ3GO.js";
import "./chunk-Q646SFZH.js";
} from "./chunk-II6F7O4R.js";
import {
Directionality
} from "./chunk-6NZ2BEBG.js";
NzGridModule
} from "./chunk-P2PA3N7Y.js";
import "./chunk-I4PM4FPC.js";
import {
NzFormStatusService
} from "./chunk-E6X5K3WX.js";
import {
NzIconDirective,
NzIconModule
} from "./chunk-G327EOBL.js";
} from "./chunk-LE6DQ524.js";
import "./chunk-JGP5BR6B.js";
import {
NzConfigService,
WithConfig
} from "./chunk-DASIIA63.js";
import "./chunk-IAC53GOD.js";
} from "./chunk-R3YQA6NO.js";
import "./chunk-KBVCKJGB.js";
import {
Directionality
} from "./chunk-XJ6U6HBE.js";
import "./chunk-MQMU2B2N.js";
import {
InputBoolean,
toBoolean
} from "./chunk-SATQCK6M.js";
import "./chunk-ECVKT3ZH.js";
import "./chunk-KI2JSLP6.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
} from "./chunk-JXVDBMEG.js";
import "./chunk-DLJPVZ6P.js";
import "./chunk-EIAJJHP2.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import {
AbstractControl,
FormControlDirective,
FormControlName,
NgControl,
NgModel
} from "./chunk-CGZ73UGK.js";
import {
NgClass,
NgIf
} from "./chunk-OSQBUYO6.js";
} from "./chunk-GRUKGTMG.js";
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
@ -65,16 +65,8 @@ import {
NgModule,
Optional,
SkipSelf,
Subject,
Subscription,
ViewEncapsulation$1,
__decorate,
filter,
map,
setClassMetadata,
startWith,
takeUntil,
tap,
ɵɵNgOnChangesFeature,
ɵɵProvidersFeature,
ɵɵStandaloneFeature,
@ -102,7 +94,17 @@ import {
ɵɵtemplate,
ɵɵtext,
ɵɵtextInterpolate
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import {
Subject,
Subscription,
__decorate,
filter,
map,
startWith,
takeUntil,
tap
} from "./chunk-ZAWZRDJR.js";
import {
__spreadValues
} from "./chunk-HSNDBVJ3.js";

File diff suppressed because one or more lines are too long

@ -2,14 +2,15 @@ import {
NzColDirective,
NzGridModule,
NzRowDirective
} from "./chunk-4OID6NLN.js";
import "./chunk-A7MWZ3GO.js";
import "./chunk-Q646SFZH.js";
import "./chunk-6NZ2BEBG.js";
import "./chunk-IAC53GOD.js";
import "./chunk-SATQCK6M.js";
import "./chunk-OSQBUYO6.js";
import "./chunk-FGESKT7O.js";
} from "./chunk-P2PA3N7Y.js";
import "./chunk-I4PM4FPC.js";
import "./chunk-KBVCKJGB.js";
import "./chunk-XJ6U6HBE.js";
import "./chunk-MQMU2B2N.js";
import "./chunk-JXVDBMEG.js";
import "./chunk-GRUKGTMG.js";
import "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
NzColDirective,

@ -77,10 +77,11 @@ import {
zh_CN,
zh_HK,
zh_TW
} from "./chunk-VMSZ6GWB.js";
import "./chunk-SATQCK6M.js";
import "./chunk-OSQBUYO6.js";
import "./chunk-FGESKT7O.js";
} from "./chunk-SIWHY5U5.js";
import "./chunk-JXVDBMEG.js";
import "./chunk-GRUKGTMG.js";
import "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
DATE_HELPER_SERVICE_FACTORY,

@ -8,14 +8,15 @@ import {
NzIconModule,
NzIconPatchService,
NzIconService
} from "./chunk-G327EOBL.js";
import "./chunk-DASIIA63.js";
import "./chunk-IAC53GOD.js";
import "./chunk-SATQCK6M.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
import "./chunk-OSQBUYO6.js";
import "./chunk-FGESKT7O.js";
} from "./chunk-LE6DQ524.js";
import "./chunk-R3YQA6NO.js";
import "./chunk-MQMU2B2N.js";
import "./chunk-JXVDBMEG.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import "./chunk-GRUKGTMG.js";
import "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
DEFAULT_TWOTONE_COLOR,

@ -1,47 +1,47 @@
import {
NzOutletModule,
NzStringTemplateOutletDirective
} from "./chunk-II6F7O4R.js";
import {
NzResizeService
} from "./chunk-I4PM4FPC.js";
import {
FocusMonitor
} from "./chunk-EISFVYMQ.js";
} from "./chunk-V3LUKTWG.js";
import {
NzFormItemFeedbackIconComponent,
NzFormNoStatusService,
NzFormPatchModule,
NzFormStatusService
} from "./chunk-5AGOG3VI.js";
} from "./chunk-E6X5K3WX.js";
import {
NgControl
} from "./chunk-D4IIJHV7.js";
import {
NzOutletModule,
NzStringTemplateOutletDirective
} from "./chunk-VOD2PKZN.js";
NzIconDirective,
NzIconModule
} from "./chunk-LE6DQ524.js";
import "./chunk-JGP5BR6B.js";
import {
NzResizeService
} from "./chunk-A7MWZ3GO.js";
import "./chunk-Q646SFZH.js";
import "./chunk-R3YQA6NO.js";
import "./chunk-KBVCKJGB.js";
import {
Directionality
} from "./chunk-6NZ2BEBG.js";
import {
NzIconDirective,
NzIconModule
} from "./chunk-G327EOBL.js";
import "./chunk-DASIIA63.js";
} from "./chunk-XJ6U6HBE.js";
import {
Platform
} from "./chunk-IAC53GOD.js";
} from "./chunk-MQMU2B2N.js";
import {
InputBoolean,
getStatusClassNames,
isNotNil
} from "./chunk-SATQCK6M.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
} from "./chunk-JXVDBMEG.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import {
NgControl
} from "./chunk-CGZ73UGK.js";
import {
NgClass,
NgIf,
NgTemplateOutlet
} from "./chunk-OSQBUYO6.js";
} from "./chunk-GRUKGTMG.js";
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
@ -49,7 +49,6 @@ import {
ContentChild,
ContentChildren,
Directive,
EMPTY,
ElementRef,
Input,
NgModule,
@ -57,20 +56,10 @@ import {
Optional,
Renderer2,
Self,
Subject,
ViewContainerRef,
ViewEncapsulation$1,
__decorate,
distinctUntilChanged,
filter,
isDevMode,
map,
merge,
mergeMap,
setClassMetadata,
startWith,
switchMap,
takeUntil,
ɵɵNgOnChangesFeature,
ɵɵProvidersFeature,
ɵɵStandaloneFeature,
@ -100,7 +89,20 @@ import {
ɵɵtemplateRefExtractor,
ɵɵtext,
ɵɵtextInterpolate
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import {
EMPTY,
Subject,
__decorate,
distinctUntilChanged,
filter,
map,
merge,
mergeMap,
startWith,
switchMap,
takeUntil
} from "./chunk-ZAWZRDJR.js";
import {
__spreadValues
} from "./chunk-HSNDBVJ3.js";

File diff suppressed because one or more lines are too long

@ -1,42 +1,42 @@
import {
NzMenuDirective
} from "./chunk-YGBKDI43.js";
import "./chunk-CZEXXPIB.js";
import "./chunk-K4MSLGWI.js";
import "./chunk-NOHVXVKW.js";
import "./chunk-XDMUMVNQ.js";
import "./chunk-RJWK6JFA.js";
import "./chunk-VOD2PKZN.js";
import "./chunk-JGP5BR6B.js";
} from "./chunk-N2PB3IXS.js";
import "./chunk-OHFVGNRL.js";
import "./chunk-BGVPPB2M.js";
import "./chunk-RKDI7MDU.js";
import "./chunk-YFXR6SLR.js";
import "./chunk-HF5YUKES.js";
import "./chunk-II6F7O4R.js";
import {
NzBreakpointService,
siderResponsiveMap
} from "./chunk-A7MWZ3GO.js";
import "./chunk-Q646SFZH.js";
import {
Directionality
} from "./chunk-6NZ2BEBG.js";
} from "./chunk-I4PM4FPC.js";
import {
NzIconDirective,
NzIconModule
} from "./chunk-G327EOBL.js";
import "./chunk-DASIIA63.js";
} from "./chunk-LE6DQ524.js";
import "./chunk-JGP5BR6B.js";
import "./chunk-R3YQA6NO.js";
import "./chunk-KBVCKJGB.js";
import {
Directionality
} from "./chunk-XJ6U6HBE.js";
import {
Platform
} from "./chunk-IAC53GOD.js";
} from "./chunk-MQMU2B2N.js";
import {
InputBoolean,
inNextTick,
toCssPixel
} from "./chunk-SATQCK6M.js";
import "./chunk-ECVKT3ZH.js";
import "./chunk-KI2JSLP6.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
} from "./chunk-JXVDBMEG.js";
import "./chunk-DLJPVZ6P.js";
import "./chunk-EIAJJHP2.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import {
NgIf,
NgTemplateOutlet
} from "./chunk-OSQBUYO6.js";
} from "./chunk-GRUKGTMG.js";
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
@ -50,11 +50,8 @@ import {
Optional,
Output,
Renderer2,
Subject,
ViewEncapsulation$1,
__decorate,
setClassMetadata,
takeUntil,
ɵɵNgOnChangesFeature,
ɵɵStandaloneFeature,
ɵɵadvance,
@ -83,7 +80,12 @@ import {
ɵɵstyleProp,
ɵɵtemplate,
ɵɵtemplateRefExtractor
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import {
Subject,
__decorate,
takeUntil
} from "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-layout.mjs

File diff suppressed because one or more lines are too long

@ -15,27 +15,28 @@ import {
NzSubmenuInlineChildComponent,
NzSubmenuNoneInlineChildComponent,
NzSubmenuService
} from "./chunk-YGBKDI43.js";
import "./chunk-CZEXXPIB.js";
import "./chunk-K4MSLGWI.js";
import "./chunk-NOHVXVKW.js";
import "./chunk-XDMUMVNQ.js";
import "./chunk-RJWK6JFA.js";
import "./chunk-VOD2PKZN.js";
} from "./chunk-N2PB3IXS.js";
import "./chunk-OHFVGNRL.js";
import "./chunk-BGVPPB2M.js";
import "./chunk-RKDI7MDU.js";
import "./chunk-YFXR6SLR.js";
import "./chunk-HF5YUKES.js";
import "./chunk-II6F7O4R.js";
import "./chunk-I4PM4FPC.js";
import "./chunk-LE6DQ524.js";
import "./chunk-JGP5BR6B.js";
import "./chunk-A7MWZ3GO.js";
import "./chunk-Q646SFZH.js";
import "./chunk-6NZ2BEBG.js";
import "./chunk-G327EOBL.js";
import "./chunk-DASIIA63.js";
import "./chunk-IAC53GOD.js";
import "./chunk-SATQCK6M.js";
import "./chunk-ECVKT3ZH.js";
import "./chunk-KI2JSLP6.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
import "./chunk-OSQBUYO6.js";
import "./chunk-FGESKT7O.js";
import "./chunk-R3YQA6NO.js";
import "./chunk-KBVCKJGB.js";
import "./chunk-XJ6U6HBE.js";
import "./chunk-MQMU2B2N.js";
import "./chunk-JXVDBMEG.js";
import "./chunk-DLJPVZ6P.js";
import "./chunk-EIAJJHP2.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import "./chunk-GRUKGTMG.js";
import "./chunk-A6CRNF4U.js";
import "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
export {
MenuDropDownTokenFactory,

@ -1,40 +1,40 @@
import {
ComponentPortal,
Overlay
} from "./chunk-NOHVXVKW.js";
} from "./chunk-YFXR6SLR.js";
import {
moveUpMotion
} from "./chunk-RJWK6JFA.js";
} from "./chunk-HF5YUKES.js";
import {
NzOutletModule,
NzStringTemplateOutletDirective
} from "./chunk-VOD2PKZN.js";
import "./chunk-JGP5BR6B.js";
} from "./chunk-II6F7O4R.js";
import {
NzSingletonService
} from "./chunk-A7MWZ3GO.js";
import "./chunk-Q646SFZH.js";
import "./chunk-6NZ2BEBG.js";
} from "./chunk-I4PM4FPC.js";
import {
NzIconDirective,
NzIconModule
} from "./chunk-G327EOBL.js";
} from "./chunk-LE6DQ524.js";
import "./chunk-JGP5BR6B.js";
import {
NzConfigService
} from "./chunk-DASIIA63.js";
import "./chunk-IAC53GOD.js";
} from "./chunk-R3YQA6NO.js";
import "./chunk-KBVCKJGB.js";
import "./chunk-XJ6U6HBE.js";
import "./chunk-MQMU2B2N.js";
import {
toCssPixel
} from "./chunk-SATQCK6M.js";
import "./chunk-KI2JSLP6.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
} from "./chunk-JXVDBMEG.js";
import "./chunk-EIAJJHP2.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import {
NgClass,
NgForOf,
NgSwitch,
NgSwitchCase
} from "./chunk-OSQBUYO6.js";
} from "./chunk-GRUKGTMG.js";
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
@ -46,12 +46,8 @@ import {
Input,
NgModule,
Output,
Subject,
ViewEncapsulation$1,
filter,
setClassMetadata,
take,
takeUntil,
ɵɵInheritDefinitionFeature,
ɵɵStandaloneFeature,
ɵɵadvance,
@ -77,7 +73,13 @@ import {
ɵɵsanitizeHtml,
ɵɵstyleProp,
ɵɵtemplate
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import {
Subject,
filter,
take,
takeUntil
} from "./chunk-ZAWZRDJR.js";
import {
__spreadValues
} from "./chunk-HSNDBVJ3.js";

File diff suppressed because one or more lines are too long

@ -1,30 +1,27 @@
import {
NzToolTipModule,
NzTooltipDirective
} from "./chunk-C33RY4ER.js";
import {
NG_VALUE_ACCESSOR
} from "./chunk-D4IIJHV7.js";
import "./chunk-K4MSLGWI.js";
import "./chunk-NOHVXVKW.js";
import "./chunk-XDMUMVNQ.js";
import "./chunk-RJWK6JFA.js";
import "./chunk-VOD2PKZN.js";
} from "./chunk-HGCFPTHW.js";
import "./chunk-BGVPPB2M.js";
import "./chunk-RKDI7MDU.js";
import "./chunk-YFXR6SLR.js";
import "./chunk-HF5YUKES.js";
import "./chunk-II6F7O4R.js";
import "./chunk-I4PM4FPC.js";
import {
DOWN_ARROW,
LEFT_ARROW,
RIGHT_ARROW,
UP_ARROW
} from "./chunk-JGP5BR6B.js";
import "./chunk-A7MWZ3GO.js";
import "./chunk-Q646SFZH.js";
import "./chunk-R3YQA6NO.js";
import "./chunk-KBVCKJGB.js";
import {
Directionality
} from "./chunk-6NZ2BEBG.js";
import "./chunk-DASIIA63.js";
} from "./chunk-XJ6U6HBE.js";
import {
Platform
} from "./chunk-IAC53GOD.js";
} from "./chunk-MQMU2B2N.js";
import {
InputBoolean,
InputNumber,
@ -35,16 +32,19 @@ import {
getPrecision,
isNil,
silentEvent
} from "./chunk-SATQCK6M.js";
import "./chunk-ECVKT3ZH.js";
import "./chunk-KI2JSLP6.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
} from "./chunk-JXVDBMEG.js";
import "./chunk-DLJPVZ6P.js";
import "./chunk-EIAJJHP2.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import {
NG_VALUE_ACCESSOR
} from "./chunk-CGZ73UGK.js";
import {
NgForOf,
NgIf,
NgStyle
} from "./chunk-OSQBUYO6.js";
} from "./chunk-GRUKGTMG.js";
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
@ -55,20 +55,11 @@ import {
NgModule,
Optional,
Output,
Subject,
ViewChild,
ViewChildren,
ViewEncapsulation$1,
__decorate,
distinctUntilChanged,
filter,
forwardRef,
fromEvent,
map,
merge,
setClassMetadata,
takeUntil,
tap,
ɵɵNgOnChangesFeature,
ɵɵProvidersFeature,
ɵɵStandaloneFeature,
@ -94,7 +85,18 @@ import {
ɵɵsanitizeHtml,
ɵɵtemplate,
ɵɵviewQuery
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import {
Subject,
__decorate,
distinctUntilChanged,
filter,
fromEvent,
map,
merge,
takeUntil,
tap
} from "./chunk-ZAWZRDJR.js";
import {
__spreadProps,
__spreadValues

File diff suppressed because one or more lines are too long

@ -1,33 +1,40 @@
import {
A11yModule,
CdkMonitorFocus,
FocusKeyManager
} from "./chunk-EISFVYMQ.js";
import {
NzDropDownDirective,
NzDropdownMenuComponent
} from "./chunk-KUR2ZJJB.js";
} from "./chunk-6YSLOGDV.js";
import {
NzMenuDirective,
NzMenuItemComponent,
NzMenuModule
} from "./chunk-YGBKDI43.js";
import "./chunk-RSMXCRFI.js";
} from "./chunk-N2PB3IXS.js";
import "./chunk-XNSEPSHF.js";
import {
NavigationEnd,
Router,
RouterLink
} from "./chunk-CZEXXPIB.js";
import "./chunk-K4MSLGWI.js";
import "./chunk-NOHVXVKW.js";
import "./chunk-XDMUMVNQ.js";
} from "./chunk-OHFVGNRL.js";
import "./chunk-BGVPPB2M.js";
import "./chunk-RKDI7MDU.js";
import "./chunk-YFXR6SLR.js";
import {
ViewportRuler
} from "./chunk-RJWK6JFA.js";
} from "./chunk-HF5YUKES.js";
import {
NzOutletModule,
NzStringTemplateOutletDirective
} from "./chunk-VOD2PKZN.js";
} from "./chunk-II6F7O4R.js";
import {
reqAnimFrame
} from "./chunk-I4PM4FPC.js";
import {
A11yModule,
CdkMonitorFocus,
FocusKeyManager
} from "./chunk-V3LUKTWG.js";
import {
NzIconDirective,
NzIconModule
} from "./chunk-LE6DQ524.js";
import {
DOWN_ARROW,
ENTER,
@ -37,39 +44,32 @@ import {
UP_ARROW,
hasModifierKey
} from "./chunk-JGP5BR6B.js";
import {
reqAnimFrame
} from "./chunk-A7MWZ3GO.js";
import "./chunk-Q646SFZH.js";
import {
Directionality
} from "./chunk-6NZ2BEBG.js";
import {
NzIconDirective,
NzIconModule
} from "./chunk-G327EOBL.js";
import {
NzConfigService,
WithConfig
} from "./chunk-DASIIA63.js";
import "./chunk-IAC53GOD.js";
} from "./chunk-R3YQA6NO.js";
import "./chunk-KBVCKJGB.js";
import {
Directionality
} from "./chunk-XJ6U6HBE.js";
import "./chunk-MQMU2B2N.js";
import {
InputBoolean,
PREFIX,
coerceElement,
coerceNumberProperty,
wrapIntoObservable
} from "./chunk-SATQCK6M.js";
import "./chunk-ECVKT3ZH.js";
import "./chunk-KI2JSLP6.js";
import "./chunk-Y4CEYMY2.js";
import "./chunk-X7WBA24Z.js";
} from "./chunk-JXVDBMEG.js";
import "./chunk-DLJPVZ6P.js";
import "./chunk-EIAJJHP2.js";
import "./chunk-Q3CVYH5T.js";
import "./chunk-U3HDGNZW.js";
import {
NgForOf,
NgIf,
NgStyle,
NgTemplateOutlet
} from "./chunk-OSQBUYO6.js";
} from "./chunk-GRUKGTMG.js";
import {
ANIMATION_MODULE_TYPE,
ChangeDetectionStrategy,
@ -87,29 +87,14 @@ import {
Input,
NgModule,
NgZone,
Observable,
Optional,
Output,
QueryList,
Self,
Subject,
Subscription,
TemplateRef,
ViewChild,
ViewEncapsulation$1,
__decorate,
animationFrameScheduler,
asapScheduler,
auditTime,
delay,
filter,
first,
fromEvent,
merge,
of,
setClassMetadata,
startWith,
takeUntil,
ɵɵNgOnChangesFeature,
ɵɵProvidersFeature,
ɵɵStandaloneFeature,
@ -148,7 +133,24 @@ import {
ɵɵtextInterpolate,
ɵɵtextInterpolate1,
ɵɵviewQuery
} from "./chunk-FGESKT7O.js";
} from "./chunk-A6CRNF4U.js";
import {
Observable,
Subject,
Subscription,
__decorate,
animationFrameScheduler,
asapScheduler,
auditTime,
delay,
filter,
first,
fromEvent,
merge,
of,
startWith,
takeUntil
} from "./chunk-ZAWZRDJR.js";
import "./chunk-HSNDBVJ3.js";
// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-cdk-resize-observer.mjs

File diff suppressed because one or more lines are too long

@ -10,6 +10,7 @@ import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import {BrowserAnimationsModule, provideAnimations} from '@angular/platform-browser/animations';
import {InitGuardService} from "./utils/initGuard.service";
import {AiRouteReuseStrategy} from "./utils/routeReuseStrategy";
registerLocaleData(zh);

@ -2,7 +2,7 @@ import { Routes } from '@angular/router';
import {IndexComponent} from "./pages/body/index/index.component";
import {InitGuardService} from "./utils/initGuard.service";
export const routes: Routes = [
{path: '', pathMatch: 'full', redirectTo: 'login'},
{path: '', pathMatch: 'full', redirectTo: 'admin/index'},
{
path: 'login',
loadChildren: () => import('./pages/login/login.routes').then(m => m.LOGIN_ROUTES),
@ -16,6 +16,11 @@ export const routes: Routes = [
loadChildren: () => import('./pages/index/index.routes').then(m => m.INDEX_ROUTES),
canActivate: [InitGuardService]
},
{
path: 'account',
loadChildren: () => import('./pages/account/account.routes').then(m => m.ACCOUNT_ROUTES),
canActivate: [InitGuardService]
},
{
path: 'system',
loadChildren: () => import('./pages/system/system.routes').then(m => m.SYSTEM_ROUTES),

@ -0,0 +1,12 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
@NgModule({
declarations: [],
imports: [
CommonModule
]
})
export class AccountModule { }

@ -0,0 +1,6 @@
import { Routes } from '@angular/router';
import {SysAccountComponent} from "./sys-account/sys-account.component";
export const ACCOUNT_ROUTES: Routes = [
{ path: 'sys_account', component: SysAccountComponent}
];

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SysAccountComponent } from './sys-account.component';
describe('SysAccountComponent', () => {
let component: SysAccountComponent;
let fixture: ComponentFixture<SysAccountComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [SysAccountComponent]
})
.compileComponents();
fixture = TestBed.createComponent(SysAccountComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

@ -0,0 +1,12 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-sys-account',
standalone: true,
imports: [],
templateUrl: './sys-account.component.html',
styleUrl: './sys-account.component.less'
})
export class SysAccountComponent {
}

@ -31,11 +31,13 @@
<!-- start 菜单内容 end-->
<div class="side_menu_content">
<ul nz-menu nzMode="inline">
<li nz-submenu *ngFor="let item of leftMenuData" nzTitle="{{item.menuName}}" nzIcon="{{item.menuUrlImg}}" >
<li nz-submenu nzOpen *ngFor="let item of leftMenuData" nzTitle="{{item.menuName}}" nzIcon="{{item.menuUrlImg}}" >
<ul>
<li nz-menu-group>
<ul>
<li nz-menu-item *ngFor="let childMenu of item['childMenuList']">{{childMenu['menuName']}}</li>
<li nz-menu-item nzMatchRouter *ngFor="let childMenu of item['childMenuList']">
<a [routerLink]="[item['menuUrl'], childMenu['menuUrl']]" (click)="clickMenu(childMenu)">{{childMenu['menuName']}}</a>
</li>
</ul>
</li>
</ul>
@ -43,7 +45,6 @@
</ul>
</div>
<!-- start 菜单内容 end -->
</div>
<!-- end 左侧导航栏 end -->

@ -1,5 +1,5 @@
import { Component } from '@angular/core';
import {RouterLink, RouterOutlet} from "@angular/router";
import {Router, RouterLink, RouterOutlet} from "@angular/router";
import {NzContentComponent, NzFooterComponent, NzHeaderComponent, NzLayoutComponent} from "ng-zorro-antd/layout";
import {NzBreadCrumbComponent, NzBreadCrumbItemComponent} from "ng-zorro-antd/breadcrumb";
import {NzColDirective, NzRowDirective} from "ng-zorro-antd/grid";
@ -13,7 +13,6 @@ import {TabComponent} from "../tab/tab.component";
import {BrowserStorageService} from "../../../utils/localStorage.service";
import {DATA} from "../../../data/login/localStorage.namespace";
@Component({
selector: 'app-index',
standalone: true,
@ -70,21 +69,27 @@ export class IndexComponent {
// 左侧菜单栏数据
leftMenuData: any = [];
// 侧边菜单展示开关
isCollapse = false;
constructor(private storage: BrowserStorageService) {
constructor(private storage: BrowserStorageService,
private router: Router) {
this.menuData = this.menuData.concat(this.storage.get(DATA)['menuTree']);
console.log(this.menuData);
// 激活首页路由
this.router.navigateByUrl("admin/index").finally();
}
clickMenu(menu: object) {
}
// 选择操作
isSelected(item: any) {
this.menuData.map((data: any) => {
data.selected = data.menuName === item.menuName;
this.leftMenuData = data['childMenuList'];
console.log(this.leftMenuData);
});
this.leftMenuData = item['childMenuList'];
if (item['menuName'] === '首页') {
this.isCollapse = false;
} else {

@ -1,9 +1,18 @@
<div class="card-container" style="width: 100%;height: 100%">
<nz-tabset nzType="card">
<nz-tab *ngFor="let item of menuTabs" [nzTitle]="item">
<router-outlet></router-outlet>
<nz-tabset nzType="card" [(nzSelectedIndex)]="activatedMenuIndex">
<nz-tab *ngFor="let item of tabs" (nzSelect)="toggleTab(item.path)" [nzTitle]="titleTemplate">
<ng-template #titleTemplate>
<div>
{{item.title}}
<i
class="tab-remove-btn"
nz-icon nzType="close"
nzTheme="outline"
(click)="closeTab(item.path)"
></i>
</div>
</ng-template>
</nz-tab>
</nz-tabset>
<router-outlet></router-outlet>
</div>

@ -1,7 +1,12 @@
import { Component } from '@angular/core';
import {NgForOf} from "@angular/common";
import {NzTabComponent, NzTabSetComponent} from "ng-zorro-antd/tabs";
import {RouterOutlet} from "@angular/router";
import {ActivationEnd, Router, RouterOutlet} from "@angular/router";
import {filter} from "rxjs";
import {MenuService} from "../../../servies/menu/menu.service";
import {BrowserStorageService} from "../../../utils/localStorage.service";
import {DATA} from "../../../data/login/localStorage.namespace";
import {menuData} from "../../../data/menu/menu.namespace";
@Component({
selector: 'app-tab',
@ -16,12 +21,96 @@ import {RouterOutlet} from "@angular/router";
styleUrl: './tab.component.less'
})
export class TabComponent {
// 当前打开的Tab页
activatedMenuIndex = -1;
// 存放已打开的Tab页信息
tabs: { path: string, title: string }[] = [];
constructor(private router: Router) {
// 监听路由事件,只订阅 ActivationEnd 事件
this.router.events.pipe(filter(e => e instanceof ActivationEnd))
.subscribe((e) => {
// 这里不强转VS Code编译通不过,有没有大佬有解决方法
const thisEvt = <ActivationEnd>e;
console.log("路由监听" , thisEvt.snapshot.routeConfig?.path);
menuTabs = ['首页'];
if (thisEvt.snapshot.routeConfig?.loadChildren) {
// 当前激活的路由
const activatedRoutePath = thisEvt.snapshot.routeConfig?.path;
const routeData = thisEvt.snapshot.routeConfig?.data;
let menuTitle = '新标签页';
if(routeData) {
menuTitle = routeData['title'];
}
constructor() {
// 该路由是否已激活,激活过则直接打开
let isExist = false;
this.tabs.every((t, i) => {
if(activatedRoutePath === t.path) {
this.activatedMenuIndex = i;
isExist = true;
return false;
}
return true;
});
// 指定路由不在tabs中存在(未激活或激活后关闭)
if(!isExist) {
this.activeMenu(activatedRoutePath, menuTitle);
}
}
});
}
// 点击菜单激活指定路由并保存tab页签
activeMenu(menuPath: string | undefined, menuTitle: string): void {
if(!menuPath) return;
let menuIndex = -1;
this.tabs.every((t, i) => {
if(menuPath === t.path) {
menuIndex = i;
return false;
}
return true;
});
if(menuIndex === -1) {
this.tabs.push({path: menuPath, title: menuTitle});
menuIndex = this.tabs.length - 1;
this.activatedMenuIndex = menuIndex;
}
}
// 激活路由
activeRoute(path: string): void {
this.router.navigateByUrl(path).finally();
}
// 切换tab,激活对应路由
toggleTab(path: string): void {
this.activeRoute(path);
}
// tab页签关闭,从缓存中删除对应信息
closeTab(path: string): void {
if (1 === this.tabs.length) return;
let selectedIndex = -1;
this.tabs.every((t, i) => {
if(t.path === path) {
selectedIndex = i;
return false;
}
return true;
});
this.tabs.splice(selectedIndex, 1);
if(selectedIndex === this.activatedMenuIndex) {
let prevIndex = this.activatedMenuIndex - 1;
this.activatedMenuIndex = prevIndex > 0 ? prevIndex : 0;
this.activeRoute(this.tabs[this.activatedMenuIndex].path);
}else if (this.activatedMenuIndex > selectedIndex) {
this.activatedMenuIndex -= 1;
}
}
}

@ -1 +1,2 @@
首页
<div style="width: 100%; height: calc(100vh - 134px);"></div>

@ -1,3 +1,5 @@
<!--
<nz-tree
nzBlockNode
[nzData]="menuData"
@ -5,7 +7,7 @@
[nzTreeTemplate]="nzTreeTemplate"
></nz-tree>
<ng-template #nzTreeTemplate let-node let-origin="origin">
<!--<span class="custom-node">
&lt;!&ndash;<span class="custom-node">
<span *ngIf="!node.isLeaf" (contextmenu)="contextMenu($event, menu)">
<span nz-icon [nzType]="node.isExpanded ? 'folder-open' : 'folder'" (click)="openFolder(node)"></span>
<span class="folder-name">{{ node.title }}</span>
@ -16,11 +18,12 @@
<span class="file-name">{{ node.title }}</span>
<span class="file-desc">modified by {{ origin.author | lowercase }}</span>
</span>
</span>-->
</span>&ndash;&gt;
</ng-template>
<nz-dropdown-menu #menu="nzDropdownMenu">
<ul nz-menu>
<!-- <li nz-menu-item (click)="selectDropdown()">Action 1</li>
<li nz-menu-item (click)="selectDropdown()">Action 2</li>-->
&lt;!&ndash; <li nz-menu-item (click)="selectDropdown()">Action 1</li>
<li nz-menu-item (click)="selectDropdown()">Action 2</li>&ndash;&gt;
</ul>
</nz-dropdown-menu>
-->

@ -21,6 +21,17 @@ export class MenuService {
});
}
/**
*
* @param roleId
* @param callBack
*/
public queryMenuList(callBack:any) {
this.http.get(environment.userUrl + 'secMenu/queryMenuList').subscribe(data => {
callBack(data);
});
}
/**
*
* @param roleId

@ -0,0 +1,63 @@
import {ActivatedRouteSnapshot, DetachedRouteHandle, RouteReuseStrategy} from '@angular/router';
export class AiRouteReuseStrategy implements RouteReuseStrategy {
/**
*
**/
public static routeSnapshots: { [key: string]: DetachedRouteHandle } = {};
/**
*
*
**/
shouldDetach(route: ActivatedRouteSnapshot): boolean {
return true;
}
/**
* url为key保存路由key也可以使用其他属性
**/
store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle): void {
const url = this.getFullRouteUrl(route);
AiRouteReuseStrategy.routeSnapshots[url] = handle;
}
/**
*
**/
shouldAttach(route: ActivatedRouteSnapshot): boolean {
const url = this.getFullRouteUrl(route);
return !!AiRouteReuseStrategy.routeSnapshots[url];
}
/**
* null
**/
retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null {
const url = this.getFullRouteUrl(route);
return route.routeConfig ? AiRouteReuseStrategy.routeSnapshots[url] : null;
}
/**
*
**/
shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean {
return future.routeConfig === curr.routeConfig &&
JSON.stringify(future.params) === JSON.stringify(curr.params);
}
private getFullRouteUrl(route: ActivatedRouteSnapshot): string {
return this.getFullRouteUrlPaths(route).filter(Boolean).join('/').replace(/\//g, '_');
}
private getFullRouteUrlPaths(route: ActivatedRouteSnapshot): string[] {
const paths = this.getRouteUrlPaths(route);
return route.parent
? [...this.getFullRouteUrlPaths(route.parent), ...paths]
: paths;
}
private getRouteUrlPaths(route: ActivatedRouteSnapshot): string[] {
return route.url.map(urlSegment => urlSegment.path);
}
}
Loading…
Cancel
Save