ng-zorro-antd-hash-code.mjs 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. import * as i0 from '@angular/core';
  2. import { EventEmitter, Output, Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
  3. import { NzStringTemplateOutletDirective } from 'ng-zorro-antd/core/outlet';
  4. import * as i1 from 'ng-zorro-antd/icon';
  5. import { NzIconModule } from 'ng-zorro-antd/icon';
  6. /**
  7. * Use of this source code is governed by an MIT-style license that can be
  8. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  9. */
  10. class NzHashCodeComponent {
  11. cdr;
  12. nzValue = '';
  13. nzTitle = 'HashCode';
  14. nzLogo = '';
  15. nzMode = 'double';
  16. nzType = 'default';
  17. nzOnCopy = new EventEmitter();
  18. hashDataList = [];
  19. copyHandle() {
  20. this.nzOnCopy.emit(this.nzValue);
  21. }
  22. constructor(cdr) {
  23. this.cdr = cdr;
  24. }
  25. ngOnChanges(changes) {
  26. const { nzValue } = changes;
  27. if (nzValue) {
  28. this.setData(this.nzValue);
  29. }
  30. }
  31. setData(value) {
  32. if (this.nzMode !== 'single') {
  33. this.hashDataList = value.match(/.{1,4}/g);
  34. }
  35. else {
  36. this.hashDataList = value.match(/.{1,8}/g);
  37. }
  38. this.cdr.markForCheck();
  39. }
  40. static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NzHashCodeComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
  41. static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.2", type: NzHashCodeComponent, isStandalone: true, selector: "nz-hash-code", inputs: { nzValue: "nzValue", nzTitle: "nzTitle", nzLogo: "nzLogo", nzMode: "nzMode", nzType: "nzType" }, outputs: { nzOnCopy: "nzOnCopy" }, host: { properties: { "class.ant-hash-code-default": "nzType === 'default'", "class.ant-hash-code-primary": "nzType === 'primary'", "class.ant-hash-code-double": "nzMode === 'double'", "class.ant-hash-code-single": "nzMode === 'single'", "class.ant-hash-code-strip": "nzMode === 'strip'", "class.ant-hash-code-rect": "nzMode === 'rect'" }, classAttribute: "ant-hash-code" }, exportAs: ["nzHashCode"], usesOnChanges: true, ngImport: i0, template: `
  42. @if (nzMode !== 'single' && nzMode !== 'rect') {
  43. <div class="ant-hash-code-header">
  44. <div class="ant-hash-code-header-title">{{ nzTitle }}</div>
  45. <div class="ant-hash-code-header-copy" (click)="copyHandle()">
  46. <nz-icon nzType="copy" nzTheme="outline" />
  47. </div>
  48. <div class="ant-hash-code-header-logo">
  49. <ng-template [nzStringTemplateOutlet]="nzLogo">{{ nzLogo }}</ng-template>
  50. </div>
  51. </div>
  52. }
  53. @if (nzMode === 'single' || nzMode === 'rect') {
  54. <div class="ant-hash-code-header-copy" (click)="copyHandle()">
  55. <nz-icon nzType="copy" nzTheme="outline" />
  56. </div>
  57. }
  58. <div
  59. class="ant-hash-code-contant"
  60. [class.ant-hash-code-value-default]="nzType === 'default'"
  61. [class.ant-hash-code-value-primary]="nzType === 'primary'"
  62. >
  63. <div
  64. class="ant-hash-code-code-value"
  65. [style]="{ height: nzMode === 'rect' ? '70px' : nzMode === 'single' ? '18px' : '35px' }"
  66. >
  67. @if (nzMode === 'double') {
  68. @if (hashDataList.length > 8) {
  69. @for (v of hashDataList.slice(0, 6); track v) {
  70. <div class="ant-hash-code-code-value-block">{{ v }}</div>
  71. }
  72. <div class="ant-hash-code-code-value-block">····</div>
  73. <div class="ant-hash-code-code-value-block">{{ hashDataList[hashDataList.length - 1] }}</div>
  74. } @else {
  75. @for (v of hashDataList; track v) {
  76. <div class="ant-hash-code-code-value-block">{{ v }}</div>
  77. }
  78. }
  79. }
  80. @if (nzMode === 'single') {
  81. <div class="ant-hash-code-code-value-block">{{ hashDataList[0] }}</div>
  82. <div class="ant-hash-code-code-value-block">····</div>
  83. <div class="ant-hash-code-code-value-block">{{ hashDataList[hashDataList.length - 1] }}</div>
  84. }
  85. @if (nzMode === 'rect' || nzMode === 'strip') {
  86. @if (hashDataList.length > 16) {
  87. @for (v of hashDataList.slice(0, 14); track v) {
  88. <div class="ant-hash-code-code-value-block">{{ v }}</div>
  89. }
  90. <div class="ant-hash-code-code-value-block">····</div>
  91. <div class="ant-hash-code-code-value-block">{{ hashDataList[hashDataList.length - 1] }}</div>
  92. } @else {
  93. @for (v of hashDataList; track v) {
  94. <div class="ant-hash-code-code-value-block">{{ v }}</div>
  95. }
  96. }
  97. }
  98. </div>
  99. <div
  100. class="ant-hash-code-texaure"
  101. [class.ant-hash-code-texaure-double]="nzMode === 'double'"
  102. [class.ant-hash-code-texaure-single]="nzMode === 'single'"
  103. [class.ant-hash-code-texaure-strip]="nzMode === 'strip'"
  104. [class.ant-hash-code-texaure-rect]="nzMode === 'rect'"
  105. >
  106. <svg width="545px" height="111px" viewBox="0 0 545 111" version="1.1" xmlns="http://www.w3.org/2000/svg">
  107. <defs>
  108. <linearGradient
  109. x1="15.7162414%"
  110. y1="50.0992184%"
  111. x2="49.5266564%"
  112. y2="50.0234565%"
  113. id="linearGradient-2bm6v9icte-1"
  114. >
  115. <stop stop-color="#A76A00" offset="0%"></stop>
  116. <stop stop-color="#F50006" offset="61.2716995%"></stop>
  117. <stop stop-color="#DA8500" offset="100%"></stop>
  118. </linearGradient>
  119. </defs>
  120. <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  121. <g
  122. transform="translate(-163.000000, -315.000000)"
  123. stroke="url(#linearGradient-2bm6v9icte-1)"
  124. stroke-width="0.72"
  125. >
  126. <g transform="translate(163.535712, 316.000000)" style="mix-blend-mode: exclusion;">
  127. <path
  128. d="M0,0 C22.68,0 22.68,5.76 45.36,5.76 C68.04,5.76 68.04,0 90.72,0 C113.4,0 113.4,5.76 136.08,5.76 C158.76,5.76 158.76,0 181.44,0 C204.12,0 204.12,5.76 226.8,5.76 C249.48,5.76 249.48,0 272.16,0"
  129. ></path>
  130. <path
  131. d="M0,28.08 C22.68,28.08 22.68,33.84 45.36,33.84 C68.04,33.84 68.04,28.08 90.72,28.08 C113.4,28.08 113.4,33.84 136.08,33.84 C158.76,33.84 158.76,28.08 181.44,28.08 C204.12,28.08 204.12,33.84 226.8,33.84 C249.48,33.84 249.48,28.08 272.16,28.08"
  132. ></path>
  133. <path
  134. d="M0,37.44 C22.68,37.44 22.68,43.2 45.36,43.2 C68.04,43.2 68.04,37.44 90.72,37.44 C113.4,37.44 113.4,43.2 136.08,43.2 C158.76,43.2 158.76,37.44 181.44,37.44 C204.12,37.44 204.12,43.2 226.8,43.2 C249.48,43.2 249.48,37.44 272.16,37.44"
  135. ></path>
  136. <path
  137. d="M0,9.36 C22.68,9.36 22.68,15.12 45.36,15.12 C68.04,15.12 68.04,9.36 90.72,9.36 C113.4,9.36 113.4,15.12 136.08,15.12 C158.76,15.12 158.76,9.36 181.44,9.36 C204.12,9.36 204.12,15.12 226.8,15.12 C249.48,15.12 249.48,9.36 272.16,9.36"
  138. ></path>
  139. <path
  140. d="M0,18.72 C22.68,18.72 22.68,24.48 45.36,24.48 C68.04,24.48 68.04,18.72 90.72,18.72 C113.4,18.72 113.4,24.48 136.08,24.48 C158.76,24.48 158.76,18.72 181.44,18.72 C204.12,18.72 204.12,24.48 226.8,24.48 C249.48,24.48 249.48,18.72 272.16,18.72"
  141. ></path>
  142. <path
  143. d="M0,46.8 C22.68,46.8 22.68,52.56 45.36,52.56 C68.04,52.56 68.04,46.8 90.72,46.8 C113.4,46.8 113.4,52.56 136.08,52.56 C158.76,52.56 158.76,46.8 181.44,46.8 C204.12,46.8 204.12,52.56 226.8,52.56 C249.48,52.56 249.48,46.8 272.16,46.8"
  144. ></path>
  145. </g>
  146. <g transform="translate(163.535712, 373.000000)" style="mix-blend-mode: exclusion;">
  147. <path
  148. d="M0,0 C22.68,0 22.68,5.76 45.36,5.76 C68.04,5.76 68.04,0 90.72,0 C113.4,0 113.4,5.76 136.08,5.76 C158.76,5.76 158.76,0 181.44,0 C204.12,0 204.12,5.76 226.8,5.76 C249.48,5.76 249.48,0 272.16,0"
  149. ></path>
  150. <path
  151. d="M0,28.08 C22.68,28.08 22.68,33.84 45.36,33.84 C68.04,33.84 68.04,28.08 90.72,28.08 C113.4,28.08 113.4,33.84 136.08,33.84 C158.76,33.84 158.76,28.08 181.44,28.08 C204.12,28.08 204.12,33.84 226.8,33.84 C249.48,33.84 249.48,28.08 272.16,28.08"
  152. ></path>
  153. <path
  154. d="M0,37.44 C22.68,37.44 22.68,43.2 45.36,43.2 C68.04,43.2 68.04,37.44 90.72,37.44 C113.4,37.44 113.4,43.2 136.08,43.2 C158.76,43.2 158.76,37.44 181.44,37.44 C204.12,37.44 204.12,43.2 226.8,43.2 C249.48,43.2 249.48,37.44 272.16,37.44"
  155. ></path>
  156. <path
  157. d="M0,9.36 C22.68,9.36 22.68,15.12 45.36,15.12 C68.04,15.12 68.04,9.36 90.72,9.36 C113.4,9.36 113.4,15.12 136.08,15.12 C158.76,15.12 158.76,9.36 181.44,9.36 C204.12,9.36 204.12,15.12 226.8,15.12 C249.48,15.12 249.48,9.36 272.16,9.36"
  158. ></path>
  159. <path
  160. d="M0,18.72 C22.68,18.72 22.68,24.48 45.36,24.48 C68.04,24.48 68.04,18.72 90.72,18.72 C113.4,18.72 113.4,24.48 136.08,24.48 C158.76,24.48 158.76,18.72 181.44,18.72 C204.12,18.72 204.12,24.48 226.8,24.48 C249.48,24.48 249.48,18.72 272.16,18.72"
  161. ></path>
  162. <path
  163. d="M0,46.8 C22.68,46.8 22.68,52.56 45.36,52.56 C68.04,52.56 68.04,46.8 90.72,46.8 C113.4,46.8 113.4,52.56 136.08,52.56 C158.76,52.56 158.76,46.8 181.44,46.8 C204.12,46.8 204.12,52.56 226.8,52.56 C249.48,52.56 249.48,46.8 272.16,46.8"
  164. ></path>
  165. </g>
  166. <g transform="translate(435.535712, 316.000000)" style="mix-blend-mode: exclusion;">
  167. <path
  168. d="M0,0 C22.68,0 22.68,5.76 45.36,5.76 C68.04,5.76 68.04,0 90.72,0 C113.4,0 113.4,5.76 136.08,5.76 C158.76,5.76 158.76,0 181.44,0 C204.12,0 204.12,5.76 226.8,5.76 C249.48,5.76 249.48,0 272.16,0"
  169. ></path>
  170. <path
  171. d="M0,28.08 C22.68,28.08 22.68,33.84 45.36,33.84 C68.04,33.84 68.04,28.08 90.72,28.08 C113.4,28.08 113.4,33.84 136.08,33.84 C158.76,33.84 158.76,28.08 181.44,28.08 C204.12,28.08 204.12,33.84 226.8,33.84 C249.48,33.84 249.48,28.08 272.16,28.08"
  172. ></path>
  173. <path
  174. d="M0,37.44 C22.68,37.44 22.68,43.2 45.36,43.2 C68.04,43.2 68.04,37.44 90.72,37.44 C113.4,37.44 113.4,43.2 136.08,43.2 C158.76,43.2 158.76,37.44 181.44,37.44 C204.12,37.44 204.12,43.2 226.8,43.2 C249.48,43.2 249.48,37.44 272.16,37.44"
  175. ></path>
  176. <path
  177. d="M0,9.36 C22.68,9.36 22.68,15.12 45.36,15.12 C68.04,15.12 68.04,9.36 90.72,9.36 C113.4,9.36 113.4,15.12 136.08,15.12 C158.76,15.12 158.76,9.36 181.44,9.36 C204.12,9.36 204.12,15.12 226.8,15.12 C249.48,15.12 249.48,9.36 272.16,9.36"
  178. ></path>
  179. <path
  180. d="M0,18.72 C22.68,18.72 22.68,24.48 45.36,24.48 C68.04,24.48 68.04,18.72 90.72,18.72 C113.4,18.72 113.4,24.48 136.08,24.48 C158.76,24.48 158.76,18.72 181.44,18.72 C204.12,18.72 204.12,24.48 226.8,24.48 C249.48,24.48 249.48,18.72 272.16,18.72"
  181. ></path>
  182. <path
  183. d="M0,46.8 C22.68,46.8 22.68,52.56 45.36,52.56 C68.04,52.56 68.04,46.8 90.72,46.8 C113.4,46.8 113.4,52.56 136.08,52.56 C158.76,52.56 158.76,46.8 181.44,46.8 C204.12,46.8 204.12,52.56 226.8,52.56 C249.48,52.56 249.48,46.8 272.16,46.8"
  184. ></path>
  185. </g>
  186. <g transform="translate(435.535712, 373.000000)" style="mix-blend-mode: exclusion;">
  187. <path
  188. d="M0,0 C22.68,0 22.68,5.76 45.36,5.76 C68.04,5.76 68.04,0 90.72,0 C113.4,0 113.4,5.76 136.08,5.76 C158.76,5.76 158.76,0 181.44,0 C204.12,0 204.12,5.76 226.8,5.76 C249.48,5.76 249.48,0 272.16,0"
  189. ></path>
  190. <path
  191. d="M0,28.08 C22.68,28.08 22.68,33.84 45.36,33.84 C68.04,33.84 68.04,28.08 90.72,28.08 C113.4,28.08 113.4,33.84 136.08,33.84 C158.76,33.84 158.76,28.08 181.44,28.08 C204.12,28.08 204.12,33.84 226.8,33.84 C249.48,33.84 249.48,28.08 272.16,28.08"
  192. ></path>
  193. <path
  194. d="M0,37.44 C22.68,37.44 22.68,43.2 45.36,43.2 C68.04,43.2 68.04,37.44 90.72,37.44 C113.4,37.44 113.4,43.2 136.08,43.2 C158.76,43.2 158.76,37.44 181.44,37.44 C204.12,37.44 204.12,43.2 226.8,43.2 C249.48,43.2 249.48,37.44 272.16,37.44"
  195. ></path>
  196. <path
  197. d="M0,9.36 C22.68,9.36 22.68,15.12 45.36,15.12 C68.04,15.12 68.04,9.36 90.72,9.36 C113.4,9.36 113.4,15.12 136.08,15.12 C158.76,15.12 158.76,9.36 181.44,9.36 C204.12,9.36 204.12,15.12 226.8,15.12 C249.48,15.12 249.48,9.36 272.16,9.36"
  198. ></path>
  199. <path
  200. d="M0,18.72 C22.68,18.72 22.68,24.48 45.36,24.48 C68.04,24.48 68.04,18.72 90.72,18.72 C113.4,18.72 113.4,24.48 136.08,24.48 C158.76,24.48 158.76,18.72 181.44,18.72 C204.12,18.72 204.12,24.48 226.8,24.48 C249.48,24.48 249.48,18.72 272.16,18.72"
  201. ></path>
  202. <path
  203. d="M0,46.8 C22.68,46.8 22.68,52.56 45.36,52.56 C68.04,52.56 68.04,46.8 90.72,46.8 C113.4,46.8 113.4,52.56 136.08,52.56 C158.76,52.56 158.76,46.8 181.44,46.8 C204.12,46.8 204.12,52.56 226.8,52.56 C249.48,52.56 249.48,46.8 272.16,46.8"
  204. ></path>
  205. </g>
  206. </g>
  207. </g>
  208. </svg>
  209. </div>
  210. </div>
  211. `, isInline: true, dependencies: [{ kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
  212. }
  213. i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NzHashCodeComponent, decorators: [{
  214. type: Component,
  215. args: [{
  216. changeDetection: ChangeDetectionStrategy.OnPush,
  217. imports: [NzIconModule, NzStringTemplateOutletDirective],
  218. selector: 'nz-hash-code',
  219. exportAs: 'nzHashCode',
  220. template: `
  221. @if (nzMode !== 'single' && nzMode !== 'rect') {
  222. <div class="ant-hash-code-header">
  223. <div class="ant-hash-code-header-title">{{ nzTitle }}</div>
  224. <div class="ant-hash-code-header-copy" (click)="copyHandle()">
  225. <nz-icon nzType="copy" nzTheme="outline" />
  226. </div>
  227. <div class="ant-hash-code-header-logo">
  228. <ng-template [nzStringTemplateOutlet]="nzLogo">{{ nzLogo }}</ng-template>
  229. </div>
  230. </div>
  231. }
  232. @if (nzMode === 'single' || nzMode === 'rect') {
  233. <div class="ant-hash-code-header-copy" (click)="copyHandle()">
  234. <nz-icon nzType="copy" nzTheme="outline" />
  235. </div>
  236. }
  237. <div
  238. class="ant-hash-code-contant"
  239. [class.ant-hash-code-value-default]="nzType === 'default'"
  240. [class.ant-hash-code-value-primary]="nzType === 'primary'"
  241. >
  242. <div
  243. class="ant-hash-code-code-value"
  244. [style]="{ height: nzMode === 'rect' ? '70px' : nzMode === 'single' ? '18px' : '35px' }"
  245. >
  246. @if (nzMode === 'double') {
  247. @if (hashDataList.length > 8) {
  248. @for (v of hashDataList.slice(0, 6); track v) {
  249. <div class="ant-hash-code-code-value-block">{{ v }}</div>
  250. }
  251. <div class="ant-hash-code-code-value-block">····</div>
  252. <div class="ant-hash-code-code-value-block">{{ hashDataList[hashDataList.length - 1] }}</div>
  253. } @else {
  254. @for (v of hashDataList; track v) {
  255. <div class="ant-hash-code-code-value-block">{{ v }}</div>
  256. }
  257. }
  258. }
  259. @if (nzMode === 'single') {
  260. <div class="ant-hash-code-code-value-block">{{ hashDataList[0] }}</div>
  261. <div class="ant-hash-code-code-value-block">····</div>
  262. <div class="ant-hash-code-code-value-block">{{ hashDataList[hashDataList.length - 1] }}</div>
  263. }
  264. @if (nzMode === 'rect' || nzMode === 'strip') {
  265. @if (hashDataList.length > 16) {
  266. @for (v of hashDataList.slice(0, 14); track v) {
  267. <div class="ant-hash-code-code-value-block">{{ v }}</div>
  268. }
  269. <div class="ant-hash-code-code-value-block">····</div>
  270. <div class="ant-hash-code-code-value-block">{{ hashDataList[hashDataList.length - 1] }}</div>
  271. } @else {
  272. @for (v of hashDataList; track v) {
  273. <div class="ant-hash-code-code-value-block">{{ v }}</div>
  274. }
  275. }
  276. }
  277. </div>
  278. <div
  279. class="ant-hash-code-texaure"
  280. [class.ant-hash-code-texaure-double]="nzMode === 'double'"
  281. [class.ant-hash-code-texaure-single]="nzMode === 'single'"
  282. [class.ant-hash-code-texaure-strip]="nzMode === 'strip'"
  283. [class.ant-hash-code-texaure-rect]="nzMode === 'rect'"
  284. >
  285. <svg width="545px" height="111px" viewBox="0 0 545 111" version="1.1" xmlns="http://www.w3.org/2000/svg">
  286. <defs>
  287. <linearGradient
  288. x1="15.7162414%"
  289. y1="50.0992184%"
  290. x2="49.5266564%"
  291. y2="50.0234565%"
  292. id="linearGradient-2bm6v9icte-1"
  293. >
  294. <stop stop-color="#A76A00" offset="0%"></stop>
  295. <stop stop-color="#F50006" offset="61.2716995%"></stop>
  296. <stop stop-color="#DA8500" offset="100%"></stop>
  297. </linearGradient>
  298. </defs>
  299. <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  300. <g
  301. transform="translate(-163.000000, -315.000000)"
  302. stroke="url(#linearGradient-2bm6v9icte-1)"
  303. stroke-width="0.72"
  304. >
  305. <g transform="translate(163.535712, 316.000000)" style="mix-blend-mode: exclusion;">
  306. <path
  307. d="M0,0 C22.68,0 22.68,5.76 45.36,5.76 C68.04,5.76 68.04,0 90.72,0 C113.4,0 113.4,5.76 136.08,5.76 C158.76,5.76 158.76,0 181.44,0 C204.12,0 204.12,5.76 226.8,5.76 C249.48,5.76 249.48,0 272.16,0"
  308. ></path>
  309. <path
  310. d="M0,28.08 C22.68,28.08 22.68,33.84 45.36,33.84 C68.04,33.84 68.04,28.08 90.72,28.08 C113.4,28.08 113.4,33.84 136.08,33.84 C158.76,33.84 158.76,28.08 181.44,28.08 C204.12,28.08 204.12,33.84 226.8,33.84 C249.48,33.84 249.48,28.08 272.16,28.08"
  311. ></path>
  312. <path
  313. d="M0,37.44 C22.68,37.44 22.68,43.2 45.36,43.2 C68.04,43.2 68.04,37.44 90.72,37.44 C113.4,37.44 113.4,43.2 136.08,43.2 C158.76,43.2 158.76,37.44 181.44,37.44 C204.12,37.44 204.12,43.2 226.8,43.2 C249.48,43.2 249.48,37.44 272.16,37.44"
  314. ></path>
  315. <path
  316. d="M0,9.36 C22.68,9.36 22.68,15.12 45.36,15.12 C68.04,15.12 68.04,9.36 90.72,9.36 C113.4,9.36 113.4,15.12 136.08,15.12 C158.76,15.12 158.76,9.36 181.44,9.36 C204.12,9.36 204.12,15.12 226.8,15.12 C249.48,15.12 249.48,9.36 272.16,9.36"
  317. ></path>
  318. <path
  319. d="M0,18.72 C22.68,18.72 22.68,24.48 45.36,24.48 C68.04,24.48 68.04,18.72 90.72,18.72 C113.4,18.72 113.4,24.48 136.08,24.48 C158.76,24.48 158.76,18.72 181.44,18.72 C204.12,18.72 204.12,24.48 226.8,24.48 C249.48,24.48 249.48,18.72 272.16,18.72"
  320. ></path>
  321. <path
  322. d="M0,46.8 C22.68,46.8 22.68,52.56 45.36,52.56 C68.04,52.56 68.04,46.8 90.72,46.8 C113.4,46.8 113.4,52.56 136.08,52.56 C158.76,52.56 158.76,46.8 181.44,46.8 C204.12,46.8 204.12,52.56 226.8,52.56 C249.48,52.56 249.48,46.8 272.16,46.8"
  323. ></path>
  324. </g>
  325. <g transform="translate(163.535712, 373.000000)" style="mix-blend-mode: exclusion;">
  326. <path
  327. d="M0,0 C22.68,0 22.68,5.76 45.36,5.76 C68.04,5.76 68.04,0 90.72,0 C113.4,0 113.4,5.76 136.08,5.76 C158.76,5.76 158.76,0 181.44,0 C204.12,0 204.12,5.76 226.8,5.76 C249.48,5.76 249.48,0 272.16,0"
  328. ></path>
  329. <path
  330. d="M0,28.08 C22.68,28.08 22.68,33.84 45.36,33.84 C68.04,33.84 68.04,28.08 90.72,28.08 C113.4,28.08 113.4,33.84 136.08,33.84 C158.76,33.84 158.76,28.08 181.44,28.08 C204.12,28.08 204.12,33.84 226.8,33.84 C249.48,33.84 249.48,28.08 272.16,28.08"
  331. ></path>
  332. <path
  333. d="M0,37.44 C22.68,37.44 22.68,43.2 45.36,43.2 C68.04,43.2 68.04,37.44 90.72,37.44 C113.4,37.44 113.4,43.2 136.08,43.2 C158.76,43.2 158.76,37.44 181.44,37.44 C204.12,37.44 204.12,43.2 226.8,43.2 C249.48,43.2 249.48,37.44 272.16,37.44"
  334. ></path>
  335. <path
  336. d="M0,9.36 C22.68,9.36 22.68,15.12 45.36,15.12 C68.04,15.12 68.04,9.36 90.72,9.36 C113.4,9.36 113.4,15.12 136.08,15.12 C158.76,15.12 158.76,9.36 181.44,9.36 C204.12,9.36 204.12,15.12 226.8,15.12 C249.48,15.12 249.48,9.36 272.16,9.36"
  337. ></path>
  338. <path
  339. d="M0,18.72 C22.68,18.72 22.68,24.48 45.36,24.48 C68.04,24.48 68.04,18.72 90.72,18.72 C113.4,18.72 113.4,24.48 136.08,24.48 C158.76,24.48 158.76,18.72 181.44,18.72 C204.12,18.72 204.12,24.48 226.8,24.48 C249.48,24.48 249.48,18.72 272.16,18.72"
  340. ></path>
  341. <path
  342. d="M0,46.8 C22.68,46.8 22.68,52.56 45.36,52.56 C68.04,52.56 68.04,46.8 90.72,46.8 C113.4,46.8 113.4,52.56 136.08,52.56 C158.76,52.56 158.76,46.8 181.44,46.8 C204.12,46.8 204.12,52.56 226.8,52.56 C249.48,52.56 249.48,46.8 272.16,46.8"
  343. ></path>
  344. </g>
  345. <g transform="translate(435.535712, 316.000000)" style="mix-blend-mode: exclusion;">
  346. <path
  347. d="M0,0 C22.68,0 22.68,5.76 45.36,5.76 C68.04,5.76 68.04,0 90.72,0 C113.4,0 113.4,5.76 136.08,5.76 C158.76,5.76 158.76,0 181.44,0 C204.12,0 204.12,5.76 226.8,5.76 C249.48,5.76 249.48,0 272.16,0"
  348. ></path>
  349. <path
  350. d="M0,28.08 C22.68,28.08 22.68,33.84 45.36,33.84 C68.04,33.84 68.04,28.08 90.72,28.08 C113.4,28.08 113.4,33.84 136.08,33.84 C158.76,33.84 158.76,28.08 181.44,28.08 C204.12,28.08 204.12,33.84 226.8,33.84 C249.48,33.84 249.48,28.08 272.16,28.08"
  351. ></path>
  352. <path
  353. d="M0,37.44 C22.68,37.44 22.68,43.2 45.36,43.2 C68.04,43.2 68.04,37.44 90.72,37.44 C113.4,37.44 113.4,43.2 136.08,43.2 C158.76,43.2 158.76,37.44 181.44,37.44 C204.12,37.44 204.12,43.2 226.8,43.2 C249.48,43.2 249.48,37.44 272.16,37.44"
  354. ></path>
  355. <path
  356. d="M0,9.36 C22.68,9.36 22.68,15.12 45.36,15.12 C68.04,15.12 68.04,9.36 90.72,9.36 C113.4,9.36 113.4,15.12 136.08,15.12 C158.76,15.12 158.76,9.36 181.44,9.36 C204.12,9.36 204.12,15.12 226.8,15.12 C249.48,15.12 249.48,9.36 272.16,9.36"
  357. ></path>
  358. <path
  359. d="M0,18.72 C22.68,18.72 22.68,24.48 45.36,24.48 C68.04,24.48 68.04,18.72 90.72,18.72 C113.4,18.72 113.4,24.48 136.08,24.48 C158.76,24.48 158.76,18.72 181.44,18.72 C204.12,18.72 204.12,24.48 226.8,24.48 C249.48,24.48 249.48,18.72 272.16,18.72"
  360. ></path>
  361. <path
  362. d="M0,46.8 C22.68,46.8 22.68,52.56 45.36,52.56 C68.04,52.56 68.04,46.8 90.72,46.8 C113.4,46.8 113.4,52.56 136.08,52.56 C158.76,52.56 158.76,46.8 181.44,46.8 C204.12,46.8 204.12,52.56 226.8,52.56 C249.48,52.56 249.48,46.8 272.16,46.8"
  363. ></path>
  364. </g>
  365. <g transform="translate(435.535712, 373.000000)" style="mix-blend-mode: exclusion;">
  366. <path
  367. d="M0,0 C22.68,0 22.68,5.76 45.36,5.76 C68.04,5.76 68.04,0 90.72,0 C113.4,0 113.4,5.76 136.08,5.76 C158.76,5.76 158.76,0 181.44,0 C204.12,0 204.12,5.76 226.8,5.76 C249.48,5.76 249.48,0 272.16,0"
  368. ></path>
  369. <path
  370. d="M0,28.08 C22.68,28.08 22.68,33.84 45.36,33.84 C68.04,33.84 68.04,28.08 90.72,28.08 C113.4,28.08 113.4,33.84 136.08,33.84 C158.76,33.84 158.76,28.08 181.44,28.08 C204.12,28.08 204.12,33.84 226.8,33.84 C249.48,33.84 249.48,28.08 272.16,28.08"
  371. ></path>
  372. <path
  373. d="M0,37.44 C22.68,37.44 22.68,43.2 45.36,43.2 C68.04,43.2 68.04,37.44 90.72,37.44 C113.4,37.44 113.4,43.2 136.08,43.2 C158.76,43.2 158.76,37.44 181.44,37.44 C204.12,37.44 204.12,43.2 226.8,43.2 C249.48,43.2 249.48,37.44 272.16,37.44"
  374. ></path>
  375. <path
  376. d="M0,9.36 C22.68,9.36 22.68,15.12 45.36,15.12 C68.04,15.12 68.04,9.36 90.72,9.36 C113.4,9.36 113.4,15.12 136.08,15.12 C158.76,15.12 158.76,9.36 181.44,9.36 C204.12,9.36 204.12,15.12 226.8,15.12 C249.48,15.12 249.48,9.36 272.16,9.36"
  377. ></path>
  378. <path
  379. d="M0,18.72 C22.68,18.72 22.68,24.48 45.36,24.48 C68.04,24.48 68.04,18.72 90.72,18.72 C113.4,18.72 113.4,24.48 136.08,24.48 C158.76,24.48 158.76,18.72 181.44,18.72 C204.12,18.72 204.12,24.48 226.8,24.48 C249.48,24.48 249.48,18.72 272.16,18.72"
  380. ></path>
  381. <path
  382. d="M0,46.8 C22.68,46.8 22.68,52.56 45.36,52.56 C68.04,52.56 68.04,46.8 90.72,46.8 C113.4,46.8 113.4,52.56 136.08,52.56 C158.76,52.56 158.76,46.8 181.44,46.8 C204.12,46.8 204.12,52.56 226.8,52.56 C249.48,52.56 249.48,46.8 272.16,46.8"
  383. ></path>
  384. </g>
  385. </g>
  386. </g>
  387. </svg>
  388. </div>
  389. </div>
  390. `,
  391. host: {
  392. class: 'ant-hash-code',
  393. '[class.ant-hash-code-default]': `nzType === 'default'`,
  394. '[class.ant-hash-code-primary]': `nzType === 'primary'`,
  395. '[class.ant-hash-code-double]': `nzMode === 'double'`,
  396. '[class.ant-hash-code-single]': `nzMode === 'single'`,
  397. '[class.ant-hash-code-strip]': `nzMode === 'strip'`,
  398. '[class.ant-hash-code-rect]': `nzMode === 'rect'`
  399. }
  400. }]
  401. }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { nzValue: [{
  402. type: Input
  403. }], nzTitle: [{
  404. type: Input
  405. }], nzLogo: [{
  406. type: Input
  407. }], nzMode: [{
  408. type: Input
  409. }], nzType: [{
  410. type: Input
  411. }], nzOnCopy: [{
  412. type: Output
  413. }] } });
  414. /**
  415. * Use of this source code is governed by an MIT-style license that can be
  416. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  417. */
  418. class NzHashCodeModule {
  419. static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NzHashCodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
  420. static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.2", ngImport: i0, type: NzHashCodeModule, imports: [NzHashCodeComponent], exports: [NzHashCodeComponent] });
  421. static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NzHashCodeModule, imports: [NzHashCodeComponent] });
  422. }
  423. i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NzHashCodeModule, decorators: [{
  424. type: NgModule,
  425. args: [{
  426. exports: [NzHashCodeComponent],
  427. imports: [NzHashCodeComponent]
  428. }]
  429. }] });
  430. /**
  431. * Use of this source code is governed by an MIT-style license that can be
  432. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  433. */
  434. /**
  435. * Use of this source code is governed by an MIT-style license that can be
  436. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  437. */
  438. /**
  439. * Generated bundle index. Do not edit.
  440. */
  441. export { NzHashCodeComponent, NzHashCodeModule };
  442. //# sourceMappingURL=ng-zorro-antd-hash-code.mjs.map