Skip to content

Commit 88e17a8

Browse files
committed
docs(angular): stackblitz icon examples fix
1 parent 4c2bfdd commit 88e17a8

File tree

84 files changed

+522
-667
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+522
-667
lines changed

angular/docs/charts/index.html

+9-9
Large diffs are not rendered by default.

angular/docs/chunk-EOYJLGYG.js renamed to angular/docs/chunk-SM5GMCPJ.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import{o as C,p as Y,r as b,t as $,v as J}from"./chunk-5JTM7ME4.js";import{a as W}from"./chunk-M53Z3AR5.js";import{ld as I,md as d}from"./chunk-DKZEO5I5.js";import{c as R,d as w,g as y,i as T}from"./chunk-HBB5QWDW.js";import"./chunk-R4KLPISJ.js";import{a as H}from"./chunk-XU7EL3XQ.js";import{s as q}from"./chunk-CT3JPDU2.js";import{h as B,i as O}from"./chunk-3U4ZU4LE.js";import"./chunk-JNWWDZD6.js";import{$b as S,Ab as l,Ec as K,Fc as r,Gb as u,Gc as D,Hc as f,Ob as F,Pb as k,Rb as A,Uc as V,Vb as m,Vc as g,bc as z,cc as U,dc as G,ec as t,fc as o,gc as s,ha as M,kb as c,qb as v,tc as j,va as p}from"./chunk-UC6R2TWQ.js";import{a as E,b as L}from"./chunk-JKOY2XUY.js";var Q="```bash\nnpm install @coreui/icons@3\nnpm install @coreui/icons-angular@5.4\n```\n";var X="```bash\nyarn add @coreui/icons\nyarn add @coreui/icons-angular\n```\n";var Z=`\`\`\`typescript
1+
import{o as C,p as Y,r as b,t as $,v as J}from"./chunk-5JTM7ME4.js";import{a as W}from"./chunk-M53Z3AR5.js";import{ld as I,md as d}from"./chunk-DKZEO5I5.js";import{c as R,d as w,g as y,i as T}from"./chunk-HBB5QWDW.js";import"./chunk-R4KLPISJ.js";import{a as H}from"./chunk-XU7EL3XQ.js";import{s as q}from"./chunk-CT3JPDU2.js";import{h as B,i as O}from"./chunk-3U4ZU4LE.js";import"./chunk-JNWWDZD6.js";import{$b as S,Ab as l,Ec as K,Fc as r,Gb as u,Gc as D,Hc as f,Ob as F,Pb as k,Rb as A,Uc as V,Vb as m,Vc as g,bc as z,cc as U,dc as G,ec as t,fc as o,gc as s,ha as M,kb as c,qb as v,tc as j,va as p}from"./chunk-UC6R2TWQ.js";import{a as E,b as L}from"./chunk-JKOY2XUY.js";var Q="```bash\nnpm install @coreui/icons@3 @coreui/icons-angular@5.4\n```\n";var X="```bash\nyarn add @coreui/icons\nyarn add @coreui/icons-angular\n```\n";var Z=`\`\`\`typescript
22
// app NgModule (excerpt)
33
44
import { IconModule, IconSetService } from '@coreui/icons-angular';
@@ -26,7 +26,7 @@ export class AppComponent {
2626
}
2727
...
2828
\`\`\`
29-
`;var x=class e{constructor(){this.icons=J}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=l({type:e,selectors:[["docs-icons04"]],decls:2,vars:2,consts:[["size","xl","title","List Icon",3,"cIcon"],["size","xl","title","Shield Icon",3,"cIcon"]],template:function(n,i){n&1&&(p(),s(0,"svg",0)(1,"svg",1)),n&2&&(m("cIcon",i.icons.cilList),c(),m("cIcon",i.icons.cilShieldAlt))},dependencies:[d],encapsulation:2})}};var h=class e{constructor(){this.iconSet=M(I);this.iconSet.icons={cilListNumbered:C,cilPaperPlane:b}}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=l({type:e,selectors:[["docs-icons03"]],features:[V([I])],decls:2,vars:0,consts:[["cIcon","","name","cilListNumbered","size","xl","title","Numbered List Icon"],["cIcon","","name","cilPaperPlane","size","xl","title","Paper Plane Icon"]],template:function(n,i){n&1&&(p(),s(0,"svg",0)(1,"svg",1))},dependencies:[d],encapsulation:2})}};var _=class e{constructor(){this.icons={cilList:Y,cilShieldAlt:$}}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=l({type:e,selectors:[["docs-icons01"]],decls:2,vars:2,consts:[["size","xl","title","List Icon",3,"cIcon"],["width","25","title","Shield Icon",3,"cIcon"]],template:function(n,i){n&1&&(p(),s(0,"svg",0)(1,"svg",1)),n&2&&(m("cIcon",i.icons.cilList),c(),m("cIcon",i.icons.cilShieldAlt))},dependencies:[d],encapsulation:2})}};var se=()=>[import("./chunk-OK7SEAB6.js").then(e=>e.IconsFreeComponent),import("./chunk-K5L5B4HL.js").then(e=>e.IconsBrandComponent),import("./chunk-SPZEEZK4.js").then(e=>e.IconsFlagsComponent),import("./chunk-SBWU6LCH.js").then(e=>e.TabsComponent),import("./chunk-SBWU6LCH.js").then(e=>e.TabsListComponent),import("./chunk-SBWU6LCH.js").then(e=>e.TabDirective),import("./chunk-SBWU6LCH.js").then(e=>e.TabsContentComponent),import("./chunk-SBWU6LCH.js").then(e=>e.TabPanelComponent)],re=()=>["icons/examples/icons01.component.html","icons/examples/icons01.component.ts"],ae=()=>["icons/examples/icons04.component.ts","icons/examples/icons04.component.html"],me=()=>["icons/examples/icons03.component.html","icons/examples/icons03.component.ts"];function le(e,a){if(e&1&&(t(0,"button",9),r(1),o()),e&2){let n=a.$implicit;m("itemKey",n),c(),f(" ",n," ")}}function pe(e,a){e&1&&s(0,"docs-icons-free",11),e&2&&m("@insertRemoveTrigger",void 0)}function de(e,a){e&1&&s(0,"docs-icons-brand",11),e&2&&m("@insertRemoveTrigger",void 0)}function ue(e,a){e&1&&s(0,"docs-icons-flags",11),e&2&&m("@insertRemoveTrigger",void 0)}function fe(e,a){if(e&1&&(t(0,"c-tabs",7,0)(2,"c-tabs-list",8),U(3,le,2,2,"button",9,z),o(),t(5,"c-tabs-content")(6,"c-tab-panel",10),u(7,pe,1,1,"docs-icons-free",11),o(),t(8,"c-tab-panel",12),u(9,de,1,1,"docs-icons-brand",11),o(),t(10,"c-tab-panel",13),u(11,ue,1,1,"docs-icons-flags",11),o()()(),s(12,"hr")),e&2){let n=K(1),i=j();c(3),G(i.sets),c(4),S(n.tabsService.activeItemKey()==="Linear"?7:-1),c(2),S(n.tabsService.activeItemKey()==="Brand"?9:-1),c(2),S(n.tabsService.activeItemKey()==="Flags"?11:-1)}}var ne=class e{constructor(a,n,i){this.metaService=a;this.titleService=n;this.iconSetService=i;this.sets=["Linear","Brand","Flags"];this.npm=Q;this.yarn=X;this.usageModule=Z;this.usageComponent=ee;this.title="Angular Icons Component";this.description="Official Angular component for CoreUI Icons and CoreUI Icons PRO.";this.iconSetService.icons=L(E({},this.iconSetService.icons),{cilListNumbered:C,cilPaperPlane:b})}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}static{this.\u0275fac=function(n){return new(n||e)(v(B),v(O),v(I))}}static{this.\u0275cmp=l({type:e,selectors:[["docs-icons-docs"]],decls:35,vars:14,consts:[["tabs","cTabs"],["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],["stackblitz","","componentName","Icons01Component",3,"files","name"],["stackblitz","","componentName","Icons04Component",3,"files","name"],["stackblitz","","componentName","Icons03Component",3,"files","name"],[1,"api-table"],["activeItemKey","Linear"],["variant","tabs"],["cTab","",3,"itemKey"],["itemKey","Linear",1,"pt-4"],[1,"d-block"],["itemKey","Brand",1,"pt-4"],["itemKey","Flags",1,"pt-4"]],template:function(n,i){n&1&&(t(0,"h1",1),r(1),o(),t(2,"p",2),r(3),o(),s(4,"docs-ads-carbon-loader"),t(5,"markdown"),r(6),o(),t(7,"markdown"),r(8,`
29+
`;var x=class e{constructor(){this.icons={cilList:Y,cilShieldAlt:$}}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=l({type:e,selectors:[["docs-icons01"]],decls:2,vars:2,consts:[["size","xl","title","List Icon",3,"cIcon"],["width","25","title","Shield Icon",3,"cIcon"]],template:function(n,i){n&1&&(p(),s(0,"svg",0)(1,"svg",1)),n&2&&(m("cIcon",i.icons.cilList),c(),m("cIcon",i.icons.cilShieldAlt))},dependencies:[d],encapsulation:2})}};var h=class e{constructor(){this.icons=J}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=l({type:e,selectors:[["docs-icons02"]],decls:2,vars:2,consts:[["size","xl","title","List Icon",3,"cIcon"],["size","xl","title","Shield Icon",3,"cIcon"]],template:function(n,i){n&1&&(p(),s(0,"svg",0)(1,"svg",1)),n&2&&(m("cIcon",i.icons.cilList),c(),m("cIcon",i.icons.cilShieldAlt))},dependencies:[d],encapsulation:2})}};var _=class e{constructor(){this.iconSet=M(I);this.iconSet.icons={cilListNumbered:C,cilPaperPlane:b}}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=l({type:e,selectors:[["docs-icons03"]],features:[V([I])],decls:2,vars:0,consts:[["cIcon","","name","cilListNumbered","size","xl","title","Numbered List Icon"],["cIcon","","name","cilPaperPlane","size","xl","title","Paper Plane Icon"]],template:function(n,i){n&1&&(p(),s(0,"svg",0)(1,"svg",1))},dependencies:[d],encapsulation:2})}};var se=()=>[import("./chunk-OK7SEAB6.js").then(e=>e.IconsFreeComponent),import("./chunk-K5L5B4HL.js").then(e=>e.IconsBrandComponent),import("./chunk-SPZEEZK4.js").then(e=>e.IconsFlagsComponent),import("./chunk-SBWU6LCH.js").then(e=>e.TabsComponent),import("./chunk-SBWU6LCH.js").then(e=>e.TabsListComponent),import("./chunk-SBWU6LCH.js").then(e=>e.TabDirective),import("./chunk-SBWU6LCH.js").then(e=>e.TabsContentComponent),import("./chunk-SBWU6LCH.js").then(e=>e.TabPanelComponent)],re=()=>["icons/examples/icons01.component.html","icons/examples/icons01.component.ts"],ae=()=>["icons/examples/icons02.component.ts","icons/examples/icons02.component.html"],me=()=>["icons/examples/icons03.component.html","icons/examples/icons03.component.ts"];function le(e,a){if(e&1&&(t(0,"button",9),r(1),o()),e&2){let n=a.$implicit;m("itemKey",n),c(),f(" ",n," ")}}function pe(e,a){e&1&&s(0,"docs-icons-free",11),e&2&&m("@insertRemoveTrigger",void 0)}function de(e,a){e&1&&s(0,"docs-icons-brand",11),e&2&&m("@insertRemoveTrigger",void 0)}function ue(e,a){e&1&&s(0,"docs-icons-flags",11),e&2&&m("@insertRemoveTrigger",void 0)}function fe(e,a){if(e&1&&(t(0,"c-tabs",7,0)(2,"c-tabs-list",8),U(3,le,2,2,"button",9,z),o(),t(5,"c-tabs-content")(6,"c-tab-panel",10),u(7,pe,1,1,"docs-icons-free",11),o(),t(8,"c-tab-panel",12),u(9,de,1,1,"docs-icons-brand",11),o(),t(10,"c-tab-panel",13),u(11,ue,1,1,"docs-icons-flags",11),o()()(),s(12,"hr")),e&2){let n=K(1),i=j();c(3),G(i.sets),c(4),S(n.tabsService.activeItemKey()==="Linear"?7:-1),c(2),S(n.tabsService.activeItemKey()==="Brand"?9:-1),c(2),S(n.tabsService.activeItemKey()==="Flags"?11:-1)}}var ne=class e{constructor(a,n,i){this.metaService=a;this.titleService=n;this.iconSetService=i;this.sets=["Linear","Brand","Flags"];this.npm=Q;this.yarn=X;this.usageModule=Z;this.usageComponent=ee;this.title="Angular Icons Component";this.description="Official Angular component for CoreUI Icons and CoreUI Icons PRO.";this.iconSetService.icons=L(E({},this.iconSetService.icons),{cilListNumbered:C,cilPaperPlane:b})}ngOnInit(){this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}static{this.\u0275fac=function(n){return new(n||e)(v(B),v(O),v(I))}}static{this.\u0275cmp=l({type:e,selectors:[["docs-icons-docs"]],decls:35,vars:14,consts:[["tabs","cTabs"],["id","getting-started"],[1,"docs-lead","fs-4","fw-light"],["stackblitz","","componentName","Icons01Component",3,"files","name"],["stackblitz","","componentName","Icons02Component",3,"files","name"],["stackblitz","","componentName","Icons03Component",3,"files","name"],[1,"api-table"],["activeItemKey","Linear"],["variant","tabs"],["cTab","",3,"itemKey"],["itemKey","Linear",1,"pt-4"],[1,"d-block"],["itemKey","Brand",1,"pt-4"],["itemKey","Flags",1,"pt-4"]],template:function(n,i){n&1&&(t(0,"h1",1),r(1),o(),t(2,"p",2),r(3),o(),s(4,"docs-ads-carbon-loader"),t(5,"markdown"),r(6),o(),t(7,"markdown"),r(8,`
3030
3131
---
3232
@@ -43,7 +43,7 @@ export class AppComponent {
4343
4444
Not recommended, can drastically increase your bundle size.
4545
46-
`),o(),t(13,"docs-example",4),s(14,"docs-icons04"),o(),t(15,"markdown"),r(16),o(),t(17,"markdown"),r(18),o(),t(19,"markdown"),r(20,`
46+
`),o(),t(13,"docs-example",4),s(14,"docs-icons02"),o(),t(15,"markdown"),r(16),o(),t(17,"markdown"),r(18),o(),t(19,"markdown"),r(20,`
4747
4848
---
4949
#### Use icons
@@ -101,6 +101,7 @@ export class AppComponent {
101101
### Npm
102102
103103
`,i.npm,`
104+
104105
`),c(3),m("files",g(11,re))("name",i.title),c(4),m("files",g(12,ae))("name",i.title),c(3),f(`
105106
106107
---
@@ -124,4 +125,4 @@ export class AppComponent {
124125
`,i.usageComponent,`
125126
126127
127-
`),c(3),m("files",g(13,me))("name",i.title))},dependencies:[q,H,W,_,h,x],encapsulation:2,data:{animation:[R("insertRemoveTrigger",[T(":enter",[y({opacity:0}),w("300ms ease-in",y({opacity:1}))]),T(":leave",[w("600ms ease-out",y({opacity:0}))])])]}})}};export{ne as IconsDocsComponent};
128+
`),c(3),m("files",g(13,me))("name",i.title))},dependencies:[q,H,W,x,h,_],encapsulation:2,data:{animation:[R("insertRemoveTrigger",[T(":enter",[y({opacity:0}),w("300ms ease-in",y({opacity:1}))]),T(":leave",[w("600ms ease-out",y({opacity:0}))])])]}})}};export{ne as IconsDocsComponent};

angular/docs/components/accordion/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
</div>
133133

134134
</markdown><!----></ng-component><!----></div></main></div><c-footer _ngcontent-ng-c1338284688 class="footer docs-footer p-3 p-md-5 mt-5 text-center text-sm-start" ngh="0"><div _ngcontent-ng-c1338284688 class="container"><ul _ngcontent-ng-c1338284688 class="docs-footer-links ps-0 mb-3"><li _ngcontent-ng-c1338284688 class="d-inline-block"><a _ngcontent-ng-c1338284688 href="https://github.com/coreui">GitHub</a></li><li _ngcontent-ng-c1338284688 class="d-inline-block ms-3"><a _ngcontent-ng-c1338284688 href="https://twitter.com/core_ui">Twitter</a></li><li _ngcontent-ng-c1338284688 class="d-inline-block ms-3 ps-3 border-start border-2"><a _ngcontent-ng-c1338284688 href="https://coreui.io/support">Support</a></li><li _ngcontent-ng-c1338284688 class="d-inline-block ms-3 ps-3 border-start border-2"><a _ngcontent-ng-c1338284688 href="https://coreui.io/">CoreUI (Vanilla)</a></li><li _ngcontent-ng-c1338284688 class="d-inline-block ms-3"><a _ngcontent-ng-c1338284688 href="https://coreui.io/react/">CoreUI for React.js</a></li><li _ngcontent-ng-c1338284688 class="d-inline-block ms-3"><a _ngcontent-ng-c1338284688 href="https://coreui.io/vue/">CoreUI for Vue.js</a></li></ul><p _ngcontent-ng-c1338284688 class="mb-0"> CoreUI for Angular is Open Source UI Components Library for Angular. </p><p _ngcontent-ng-c1338284688 class="mb-0"> Currently v5.4.6 Code licensed <a _ngcontent-ng-c1338284688 href="https://github.com/coreui/coreui/blob/main/LICENSE" rel="license noopener" target="_blank"> MIT </a>, docs <a _ngcontent-ng-c1338284688 href="https://creativecommons.org/licenses/by/3.0/" rel="license noopener" target="_blank"> CC BY 3.0 </a> . <br _ngcontent-ng-c1338284688><strong _ngcontent-ng-c1338284688> CoreUI PRO requires a <a _ngcontent-ng-c1338284688 href="https://coreui.io/pricing/?framework=angular&amp;docs=footer">commercial license</a>. </strong></p></div></c-footer></div><!----><!----><!----></docs-dashboard><!----></docs-root>
135-
<link rel="modulepreload" href="chunk-DKZEO5I5.js"><link rel="modulepreload" href="chunk-HBB5QWDW.js"><link rel="modulepreload" href="chunk-R4KLPISJ.js"><link rel="modulepreload" href="chunk-CT3JPDU2.js"><link rel="modulepreload" href="chunk-3U4ZU4LE.js"><link rel="modulepreload" href="chunk-JNWWDZD6.js"><link rel="modulepreload" href="chunk-UC6R2TWQ.js"><link rel="modulepreload" href="chunk-JKOY2XUY.js"><script src="polyfills-XDLXSKNG.js" type="module"></script><script src="scripts-QMSAKRVM.js" defer></script><script src="main-ANNDVVNU.js" type="module"></script>
135+
<link rel="modulepreload" href="chunk-DKZEO5I5.js"><link rel="modulepreload" href="chunk-HBB5QWDW.js"><link rel="modulepreload" href="chunk-R4KLPISJ.js"><link rel="modulepreload" href="chunk-CT3JPDU2.js"><link rel="modulepreload" href="chunk-3U4ZU4LE.js"><link rel="modulepreload" href="chunk-JNWWDZD6.js"><link rel="modulepreload" href="chunk-UC6R2TWQ.js"><link rel="modulepreload" href="chunk-JKOY2XUY.js"><script src="polyfills-XDLXSKNG.js" type="module"></script><script src="scripts-QMSAKRVM.js" defer></script><script src="main-65OX4PVB.js" type="module"></script>
136136

137137

138-
<script id="ng-state" type="application/json">{"__nghData__":[{},{"t":{"0":"t0","1":"t1"},"c":{"0":[],"1":[]}},{"t":{"1":"t2"},"c":{"1":[]}},{"t":{"0":"t3","1":"t4"},"c":{"0":[],"1":[]}},{"t":{"0":"t9","1":"t10","2":"t11"},"c":{"0":[],"1":[],"2":[{"i":"t10","r":1,"s":0}]}},{"t":{"2":"t12","3":"t13","4":"t14","5":"t15","11":"t18","13":"t19","16":"t20","17":"t26","19":"t17","21":"t27"},"c":{"2":[],"3":[],"4":[],"5":[{"i":"t14","r":2,"s":0,"t":{"0":"t16"},"c":{"0":[{"i":"t17","r":1}]}}],"11":[{"i":"t18","r":1,"x":2}],"13":[{"i":"t19","r":3,"t":{"0":"t30"},"c":{"0":[{"i":"t27","r":2,"c":{"0":[]}}]}}],"16":[{"i":"t20","r":1,"n":{"1":"0f"},"t":{"1":"t21","2":"t22","3":"t23","4":"t24"},"c":{"1":[],"2":[],"3":[],"4":[{"i":"t23","r":2,"s":0,"t":{"0":"t25"},"c":{"0":[{"i":"t17","r":1}]}}]},"x":2}],"17":[],"19":[],"21":[]},"n":{"9":"8f","11":"9f","16":"14f"}},{"n":{"6":"5f","10":"9f","14":"13f","18":"17f"},"c":{"5":[],"9":[],"13":[],"17":[]},"d":[8,12,16]},{"n":{"1":"0f","5":"4f","45":"44f"},"d":[20,21,22,23,24,25,26],"t":{"41":"t5","81":"t6","83":"t7","85":"t8"},"c":{"41":[],"43":[{"i":"c4276163522","r":1}],"81":[],"83":[],"85":[]}},{"c":{"0":[{"i":"c1338284688","r":1}]}}]}</script></body></html>
138+
<script id="ng-state" type="application/json">{"__nghData__":[{},{"t":{"0":"t0","1":"t1"},"c":{"0":[],"1":[]}},{"t":{"1":"t2"},"c":{"1":[]}},{"t":{"0":"t3","1":"t4"},"c":{"0":[],"1":[]}},{"t":{"0":"t6","1":"t7","2":"t8"},"c":{"0":[],"1":[],"2":[{"i":"t7","r":1,"s":0}]}},{"t":{"2":"t12","3":"t13","4":"t14","5":"t15","11":"t18","13":"t19","16":"t20","17":"t26","19":"t17","21":"t27"},"c":{"2":[],"3":[],"4":[],"5":[{"i":"t14","r":2,"s":0,"t":{"0":"t16"},"c":{"0":[{"i":"t17","r":1}]}}],"11":[{"i":"t18","r":1,"x":2}],"13":[{"i":"t19","r":3,"t":{"0":"t30"},"c":{"0":[{"i":"t27","r":2,"c":{"0":[]}}]}}],"16":[{"i":"t20","r":1,"n":{"1":"0f"},"t":{"1":"t21","2":"t22","3":"t23","4":"t24"},"c":{"1":[],"2":[],"3":[],"4":[{"i":"t23","r":2,"s":0,"t":{"0":"t25"},"c":{"0":[{"i":"t17","r":1}]}}]},"x":2}],"17":[],"19":[],"21":[]},"n":{"9":"8f","11":"9f","16":"14f"}},{"n":{"6":"5f","10":"9f","14":"13f","18":"17f"},"c":{"5":[],"9":[],"13":[],"17":[]},"d":[8,12,16]},{"n":{"1":"0f","5":"4f","45":"44f"},"d":[20,21,22,23,24,25,26],"t":{"41":"t5","81":"t9","83":"t10","85":"t11"},"c":{"41":[],"43":[{"i":"c4276163522","r":1}],"81":[],"83":[],"85":[]}},{"c":{"0":[{"i":"c1338284688","r":1}]}}]}</script></body></html>

0 commit comments

Comments
 (0)