@devschile/chucao 2.3.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -16
- package/dist/chucao/chucao.css +1 -1
- package/dist/chucao/chucao.esm.js +1 -1
- package/dist/chucao/chucao.esm.js.map +1 -1
- package/dist/chucao/index.esm.js +1 -1
- package/dist/chucao/index.esm.js.map +1 -1
- package/dist/chucao/p-0bc141a2.entry.js +2 -0
- package/dist/chucao/p-0bc141a2.entry.js.map +1 -0
- package/dist/chucao/p-0e044eff.entry.js +2 -0
- package/dist/chucao/p-0e044eff.entry.js.map +1 -0
- package/dist/chucao/{p-ff5f5c1f.entry.js → p-1108062e.entry.js} +2 -2
- package/dist/chucao/p-26e144ff.entry.js +2 -0
- package/dist/chucao/p-26e144ff.entry.js.map +1 -0
- package/dist/chucao/p-2c681cc0.entry.js +2 -0
- package/dist/chucao/p-2c681cc0.entry.js.map +1 -0
- package/dist/chucao/p-2e785177.entry.js +2 -0
- package/dist/chucao/p-2e785177.entry.js.map +1 -0
- package/dist/chucao/{p-04dbcfa0.entry.js → p-337d7f68.entry.js} +2 -2
- package/dist/chucao/p-350f974d.entry.js +2 -0
- package/dist/chucao/p-350f974d.entry.js.map +1 -0
- package/dist/chucao/p-4846cac4.entry.js +2 -0
- package/dist/chucao/p-6345c9e1.entry.js +2 -0
- package/dist/chucao/p-6345c9e1.entry.js.map +1 -0
- package/dist/chucao/p-957acf39.entry.js +2 -0
- package/dist/chucao/p-957acf39.entry.js.map +1 -0
- package/dist/chucao/p-97655c41.entry.js +2 -0
- package/dist/chucao/p-97655c41.entry.js.map +1 -0
- package/dist/chucao/{p-6a4bc80c.entry.js → p-9f73855e.entry.js} +2 -2
- package/dist/chucao/p-BXzZsX2r.js +2 -0
- package/dist/chucao/p-BXzZsX2r.js.map +1 -0
- package/dist/chucao/p-CIV5Gg1o.js +3 -0
- package/dist/chucao/p-CIV5Gg1o.js.map +1 -0
- package/dist/chucao/p-CnivhwvG.js +2 -0
- package/dist/chucao/p-CnivhwvG.js.map +1 -0
- package/dist/chucao/p-b53d954e.entry.js +2 -0
- package/dist/chucao/p-b53d954e.entry.js.map +1 -0
- package/dist/chucao/{p-c986036f.entry.js → p-b6cc08f0.entry.js} +2 -2
- package/dist/chucao/p-be7b5c21.entry.js +2 -0
- package/dist/chucao/p-be7b5c21.entry.js.map +1 -0
- package/dist/chucao/p-c165f839.entry.js +2 -0
- package/dist/chucao/p-c165f839.entry.js.map +1 -0
- package/dist/chucao/p-c251b0d1.entry.js +2 -0
- package/dist/chucao/p-c251b0d1.entry.js.map +1 -0
- package/dist/chucao/p-f5b74bca.entry.js +2 -0
- package/dist/chucao/p-f5b74bca.entry.js.map +1 -0
- package/dist/chucao/p-f9fe752c.entry.js +2 -0
- package/dist/chucao/p-f9fe752c.entry.js.map +1 -0
- package/dist/chucao/p-fdf065e6.entry.js +2 -0
- package/dist/chucao/p-fdf065e6.entry.js.map +1 -0
- package/dist/cjs/ch-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ch-alert_8.cjs.entry.js +69 -38
- package/dist/cjs/ch-alert_8.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-checkbox.cjs.entry.js +9 -11
- package/dist/cjs/ch-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-cluster.cjs.entry.js +47 -0
- package/dist/cjs/ch-cluster.cjs.entry.js.map +1 -0
- package/dist/cjs/ch-divider.cjs.entry.js +2 -2
- package/dist/cjs/ch-drawer.cjs.entry.js +4 -3
- package/dist/cjs/ch-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-emoji.cjs.entry.js +2 -2
- package/dist/cjs/ch-empty-state.cjs.entry.js +34 -0
- package/dist/cjs/ch-empty-state.cjs.entry.js.map +1 -0
- package/dist/cjs/ch-grid.cjs.entry.js +59 -0
- package/dist/cjs/ch-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/ch-icon-button.cjs.entry.js +51 -0
- package/dist/cjs/ch-icon-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ch-icon.cjs.entry.js +38 -0
- package/dist/cjs/ch-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/ch-link.cjs.entry.js +1 -1
- package/dist/cjs/ch-modal.cjs.entry.js +4 -3
- package/dist/cjs/ch-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-page-header.cjs.entry.js +45 -0
- package/dist/cjs/ch-page-header.cjs.entry.js.map +1 -0
- package/dist/cjs/ch-radio.cjs.entry.js +9 -11
- package/dist/cjs/ch-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-segmented-control.cjs.entry.js +8 -7
- package/dist/cjs/ch-segmented-control.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-skeleton.cjs.entry.js +58 -0
- package/dist/cjs/ch-skeleton.cjs.entry.js.map +1 -0
- package/dist/cjs/ch-stack.cjs.entry.js +37 -0
- package/dist/cjs/ch-stack.cjs.entry.js.map +1 -0
- package/dist/cjs/ch-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ch-textarea.cjs.entry.js +9 -11
- package/dist/cjs/ch-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-tooltip.cjs.entry.js +204 -5
- package/dist/cjs/ch-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/chucao.cjs.js +3 -3
- package/dist/cjs/chucao.cjs.js.map +1 -1
- package/dist/cjs/icons-CNyDgV-q.js +88 -0
- package/dist/cjs/icons-CNyDgV-q.js.map +1 -0
- package/dist/cjs/{index-C9cpLteP.js → index-ByZY6aTj.js} +119 -16
- package/dist/cjs/index-ByZY6aTj.js.map +1 -0
- package/dist/cjs/index.cjs.js +16 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/validation-message-bbtJ2sa_.js +26 -0
- package/dist/cjs/validation-message-bbtJ2sa_.js.map +1 -0
- package/dist/collection/collection-manifest.json +9 -1
- package/dist/collection/components/ch-alert/ch-alert.css +13 -0
- package/dist/collection/components/ch-alert/ch-alert.js +44 -1
- package/dist/collection/components/ch-alert/ch-alert.js.map +1 -1
- package/dist/collection/components/ch-badge/ch-badge.css +30 -1
- package/dist/collection/components/ch-badge/ch-badge.js +35 -1
- package/dist/collection/components/ch-badge/ch-badge.js.map +1 -1
- package/dist/collection/components/ch-button/ch-button.js +9 -2
- package/dist/collection/components/ch-button/ch-button.js.map +1 -1
- package/dist/collection/components/ch-card/ch-card.js +1 -1
- package/dist/collection/components/ch-checkbox/ch-checkbox.js +8 -10
- package/dist/collection/components/ch-checkbox/ch-checkbox.js.map +1 -1
- package/dist/collection/components/ch-cluster/ch-cluster.css +93 -0
- package/dist/collection/components/ch-cluster/ch-cluster.js +152 -0
- package/dist/collection/components/ch-cluster/ch-cluster.js.map +1 -0
- package/dist/collection/components/ch-divider/ch-divider.js +1 -1
- package/dist/collection/components/ch-drawer/ch-drawer.js +9 -3
- package/dist/collection/components/ch-drawer/ch-drawer.js.map +1 -1
- package/dist/collection/components/ch-emoji/ch-emoji.js +1 -1
- package/dist/collection/components/ch-empty-state/ch-empty-state.css +67 -0
- package/dist/collection/components/ch-empty-state/ch-empty-state.js +108 -0
- package/dist/collection/components/ch-empty-state/ch-empty-state.js.map +1 -0
- package/dist/collection/components/ch-grid/ch-grid.css +47 -0
- package/dist/collection/components/ch-grid/ch-grid.js +137 -0
- package/dist/collection/components/ch-grid/ch-grid.js.map +1 -0
- package/dist/collection/components/ch-icon/ch-icon.css +25 -0
- package/dist/collection/components/ch-icon/ch-icon.js +121 -0
- package/dist/collection/components/ch-icon/ch-icon.js.map +1 -0
- package/dist/collection/components/ch-icon-button/ch-icon-button.css +99 -0
- package/dist/collection/components/ch-icon-button/ch-icon-button.js +216 -0
- package/dist/collection/components/ch-icon-button/ch-icon-button.js.map +1 -0
- package/dist/collection/components/ch-input/ch-input.js +8 -10
- package/dist/collection/components/ch-input/ch-input.js.map +1 -1
- package/dist/collection/components/ch-modal/ch-modal.js +9 -3
- package/dist/collection/components/ch-modal/ch-modal.js.map +1 -1
- package/dist/collection/components/ch-page-header/ch-page-header.css +84 -0
- package/dist/collection/components/ch-page-header/ch-page-header.js +162 -0
- package/dist/collection/components/ch-page-header/ch-page-header.js.map +1 -0
- package/dist/collection/components/ch-radio/ch-radio.js +8 -10
- package/dist/collection/components/ch-radio/ch-radio.js.map +1 -1
- package/dist/collection/components/ch-segmented-control/ch-segmented-control.js +7 -6
- package/dist/collection/components/ch-segmented-control/ch-segmented-control.js.map +1 -1
- package/dist/collection/components/ch-select/ch-select.js +8 -10
- package/dist/collection/components/ch-select/ch-select.js.map +1 -1
- package/dist/collection/components/ch-skeleton/ch-skeleton.css +50 -0
- package/dist/collection/components/ch-skeleton/ch-skeleton.js +175 -0
- package/dist/collection/components/ch-skeleton/ch-skeleton.js.map +1 -0
- package/dist/collection/components/ch-spinner/ch-spinner.js +1 -1
- package/dist/collection/components/ch-stack/ch-stack.css +83 -0
- package/dist/collection/components/ch-stack/ch-stack.js +124 -0
- package/dist/collection/components/ch-stack/ch-stack.js.map +1 -0
- package/dist/collection/components/ch-switch/ch-switch.js +8 -10
- package/dist/collection/components/ch-switch/ch-switch.js.map +1 -1
- package/dist/collection/components/ch-tabs/ch-tabs.js +1 -1
- package/dist/collection/components/ch-textarea/ch-textarea.js +8 -10
- package/dist/collection/components/ch-textarea/ch-textarea.js.map +1 -1
- package/dist/collection/components/ch-tooltip/ch-tooltip.css +29 -1
- package/dist/collection/components/ch-tooltip/ch-tooltip.js +125 -6
- package/dist/collection/components/ch-tooltip/ch-tooltip.js.map +1 -1
- package/dist/collection/tokens/tokens.js +12 -0
- package/dist/collection/tokens/tokens.js.map +1 -1
- package/dist/collection/tokens/types.js.map +1 -1
- package/dist/collection/utils/accessibility.js +24 -0
- package/dist/collection/utils/accessibility.js.map +1 -0
- package/dist/collection/utils/icons.js +82 -0
- package/dist/collection/utils/icons.js.map +1 -0
- package/dist/collection/utils/overlay.js +101 -0
- package/dist/collection/utils/overlay.js.map +1 -0
- package/dist/collection/utils/validation-message.js +20 -0
- package/dist/collection/utils/validation-message.js.map +1 -0
- package/dist/components/ch-accordion.js +1 -1
- package/dist/components/ch-alert.js +1 -1
- package/dist/components/ch-alert.js.map +1 -1
- package/dist/components/ch-badge.js +1 -1
- package/dist/components/ch-badge.js.map +1 -1
- package/dist/components/ch-button.js +1 -1
- package/dist/components/ch-button.js.map +1 -1
- package/dist/components/ch-card.js +1 -1
- package/dist/components/ch-checkbox.js +1 -1
- package/dist/components/ch-checkbox.js.map +1 -1
- package/dist/components/ch-cluster.d.ts +11 -0
- package/dist/components/ch-cluster.js +2 -0
- package/dist/components/ch-cluster.js.map +1 -0
- package/dist/components/ch-divider.js +1 -1
- package/dist/components/ch-drawer.js +1 -1
- package/dist/components/ch-drawer.js.map +1 -1
- package/dist/components/ch-emoji.js +1 -1
- package/dist/components/ch-empty-state.d.ts +11 -0
- package/dist/components/ch-empty-state.js +2 -0
- package/dist/components/ch-empty-state.js.map +1 -0
- package/dist/components/ch-grid.d.ts +11 -0
- package/dist/components/ch-grid.js +2 -0
- package/dist/components/ch-grid.js.map +1 -0
- package/dist/components/ch-icon-button.d.ts +11 -0
- package/dist/components/ch-icon-button.js +2 -0
- package/dist/components/ch-icon-button.js.map +1 -0
- package/dist/components/ch-icon.d.ts +11 -0
- package/dist/components/ch-icon.js +2 -0
- package/dist/components/ch-icon.js.map +1 -0
- package/dist/components/ch-input.js +1 -1
- package/dist/components/ch-input.js.map +1 -1
- package/dist/components/ch-link.js +1 -1
- package/dist/components/ch-modal.js +1 -1
- package/dist/components/ch-modal.js.map +1 -1
- package/dist/components/ch-page-header.d.ts +11 -0
- package/dist/components/ch-page-header.js +2 -0
- package/dist/components/ch-page-header.js.map +1 -0
- package/dist/components/ch-radio.js +1 -1
- package/dist/components/ch-radio.js.map +1 -1
- package/dist/components/ch-segmented-control.js +1 -1
- package/dist/components/ch-segmented-control.js.map +1 -1
- package/dist/components/ch-select.js +1 -1
- package/dist/components/ch-select.js.map +1 -1
- package/dist/components/ch-skeleton.d.ts +11 -0
- package/dist/components/ch-skeleton.js +2 -0
- package/dist/components/ch-skeleton.js.map +1 -0
- package/dist/components/ch-spinner.js +1 -1
- package/dist/components/ch-stack.d.ts +11 -0
- package/dist/components/ch-stack.js +2 -0
- package/dist/components/ch-stack.js.map +1 -0
- package/dist/components/ch-switch.js +1 -1
- package/dist/components/ch-switch.js.map +1 -1
- package/dist/components/ch-tabs.js +1 -1
- package/dist/components/ch-textarea.js +1 -1
- package/dist/components/ch-textarea.js.map +1 -1
- package/dist/components/ch-tooltip.js +1 -1
- package/dist/components/ch-tooltip.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-BXzZsX2r.js +2 -0
- package/dist/components/p-BXzZsX2r.js.map +1 -0
- package/dist/components/{p-C1995t1C.js → p-CV0rD-fF.js} +2 -2
- package/dist/components/p-CnivhwvG.js +2 -0
- package/dist/components/p-CnivhwvG.js.map +1 -0
- package/dist/components/p-qP_9qshx.js +2 -0
- package/dist/components/p-qP_9qshx.js.map +1 -0
- package/dist/esm/ch-accordion.entry.js +1 -1
- package/dist/esm/ch-alert_8.entry.js +69 -38
- package/dist/esm/ch-alert_8.entry.js.map +1 -1
- package/dist/esm/ch-checkbox.entry.js +9 -11
- package/dist/esm/ch-checkbox.entry.js.map +1 -1
- package/dist/esm/ch-cluster.entry.js +45 -0
- package/dist/esm/ch-cluster.entry.js.map +1 -0
- package/dist/esm/ch-divider.entry.js +2 -2
- package/dist/esm/ch-drawer.entry.js +4 -3
- package/dist/esm/ch-drawer.entry.js.map +1 -1
- package/dist/esm/ch-emoji.entry.js +2 -2
- package/dist/esm/ch-empty-state.entry.js +32 -0
- package/dist/esm/ch-empty-state.entry.js.map +1 -0
- package/dist/esm/ch-grid.entry.js +57 -0
- package/dist/esm/ch-grid.entry.js.map +1 -0
- package/dist/esm/ch-icon-button.entry.js +49 -0
- package/dist/esm/ch-icon-button.entry.js.map +1 -0
- package/dist/esm/ch-icon.entry.js +36 -0
- package/dist/esm/ch-icon.entry.js.map +1 -0
- package/dist/esm/ch-link.entry.js +1 -1
- package/dist/esm/ch-modal.entry.js +4 -3
- package/dist/esm/ch-modal.entry.js.map +1 -1
- package/dist/esm/ch-page-header.entry.js +43 -0
- package/dist/esm/ch-page-header.entry.js.map +1 -0
- package/dist/esm/ch-radio.entry.js +9 -11
- package/dist/esm/ch-radio.entry.js.map +1 -1
- package/dist/esm/ch-segmented-control.entry.js +8 -7
- package/dist/esm/ch-segmented-control.entry.js.map +1 -1
- package/dist/esm/ch-skeleton.entry.js +56 -0
- package/dist/esm/ch-skeleton.entry.js.map +1 -0
- package/dist/esm/ch-stack.entry.js +35 -0
- package/dist/esm/ch-stack.entry.js.map +1 -0
- package/dist/esm/ch-tabs.entry.js +2 -2
- package/dist/esm/ch-textarea.entry.js +9 -11
- package/dist/esm/ch-textarea.entry.js.map +1 -1
- package/dist/esm/ch-tooltip.entry.js +204 -5
- package/dist/esm/ch-tooltip.entry.js.map +1 -1
- package/dist/esm/chucao.js +4 -4
- package/dist/esm/chucao.js.map +1 -1
- package/dist/esm/icons-CnivhwvG.js +86 -0
- package/dist/esm/icons-CnivhwvG.js.map +1 -0
- package/dist/esm/{index-DWC12BJ-.js → index-CIV5Gg1o.js} +119 -17
- package/dist/esm/index-CIV5Gg1o.js.map +1 -0
- package/dist/esm/index.js +13 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/validation-message-BXzZsX2r.js +24 -0
- package/dist/esm/validation-message-BXzZsX2r.js.map +1 -0
- package/dist/types/components/ch-alert/ch-alert.d.ts +11 -0
- package/dist/types/components/ch-badge/ch-badge.d.ts +14 -0
- package/dist/types/components/ch-button/ch-button.d.ts +3 -1
- package/dist/types/components/ch-cluster/ch-cluster.d.ts +28 -0
- package/dist/types/components/ch-drawer/ch-drawer.d.ts +2 -1
- package/dist/types/components/ch-empty-state/ch-empty-state.d.ts +25 -0
- package/dist/types/components/ch-grid/ch-grid.d.ts +38 -0
- package/dist/types/components/ch-icon/ch-icon.d.ts +29 -0
- package/dist/types/components/ch-icon-button/ch-icon-button.d.ts +36 -0
- package/dist/types/components/ch-modal/ch-modal.d.ts +2 -1
- package/dist/types/components/ch-page-header/ch-page-header.d.ts +39 -0
- package/dist/types/components/ch-skeleton/ch-skeleton.d.ts +39 -0
- package/dist/types/components/ch-stack/ch-stack.d.ts +26 -0
- package/dist/types/components/ch-tooltip/ch-tooltip.d.ts +32 -2
- package/dist/types/components.d.ts +807 -8
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/dist/types/tokens/tokens.d.ts +12 -0
- package/dist/types/tokens/types.d.ts +2 -1
- package/dist/types/utils/accessibility.d.ts +2 -0
- package/dist/types/utils/icons.d.ts +15 -0
- package/dist/types/utils/overlay.d.ts +49 -0
- package/dist/types/utils/validation-message.d.ts +20 -0
- package/dist-react/components.d.ts +27 -1
- package/dist-react/components.js +72 -0
- package/dist-react/components.ts +97 -1
- package/dist-vue/index.d.ts +8 -0
- package/dist-vue/index.js +62 -1
- package/dist-vue/index.ts +78 -1
- package/hydrate/index.js +1114 -132
- package/hydrate/index.mjs +1114 -132
- package/package.json +112 -5
- package/dist/chucao/p-37e7f9cc.entry.js +0 -2
- package/dist/chucao/p-37e7f9cc.entry.js.map +0 -1
- package/dist/chucao/p-3db38c49.entry.js +0 -2
- package/dist/chucao/p-3db38c49.entry.js.map +0 -1
- package/dist/chucao/p-60c2fd71.entry.js +0 -2
- package/dist/chucao/p-60c2fd71.entry.js.map +0 -1
- package/dist/chucao/p-6c617158.entry.js +0 -2
- package/dist/chucao/p-6c617158.entry.js.map +0 -1
- package/dist/chucao/p-DWC12BJ-.js +0 -3
- package/dist/chucao/p-DWC12BJ-.js.map +0 -1
- package/dist/chucao/p-aeea9cbe.entry.js +0 -2
- package/dist/chucao/p-aeea9cbe.entry.js.map +0 -1
- package/dist/chucao/p-bb2445d1.entry.js +0 -2
- package/dist/chucao/p-c4806e96.entry.js +0 -2
- package/dist/chucao/p-c4806e96.entry.js.map +0 -1
- package/dist/chucao/p-e3265e38.entry.js +0 -2
- package/dist/chucao/p-e3265e38.entry.js.map +0 -1
- package/dist/chucao/p-f78f0163.entry.js +0 -2
- package/dist/chucao/p-f78f0163.entry.js.map +0 -1
- package/dist/cjs/index-C9cpLteP.js.map +0 -1
- package/dist/components/p-BhAZrOxf.js +0 -2
- package/dist/components/p-BhAZrOxf.js.map +0 -1
- package/dist/esm/index-DWC12BJ-.js.map +0 -1
- /package/dist/chucao/{p-ff5f5c1f.entry.js.map → p-1108062e.entry.js.map} +0 -0
- /package/dist/chucao/{p-04dbcfa0.entry.js.map → p-337d7f68.entry.js.map} +0 -0
- /package/dist/chucao/{p-bb2445d1.entry.js.map → p-4846cac4.entry.js.map} +0 -0
- /package/dist/chucao/{p-6a4bc80c.entry.js.map → p-9f73855e.entry.js.map} +0 -0
- /package/dist/chucao/{p-c986036f.entry.js.map → p-b6cc08f0.entry.js.map} +0 -0
- /package/dist/components/{p-C1995t1C.js.map → p-CV0rD-fF.js.map} +0 -0
|
@@ -4,12 +4,16 @@ const NAMESPACE = 'chucao';
|
|
|
4
4
|
const BUILD = /* chucao */ { hotModuleReplacement: false, lazyLoad: true, propChangeCallback: true, state: true, updatable: true};
|
|
5
5
|
|
|
6
6
|
const globalScripts = () => {};
|
|
7
|
-
const globalStyles = ":root{--color-background-base:#100a1c;--color-background-top-glow:#201e40;--color-background-bottom-glow:#261226;--color-surface-default:rgba(32, 30, 64, 0.6);--color-surface-hover:rgba(45, 212, 191, 0.08);--color-scrim-default:rgba(0, 0, 0, 0.6);--color-border-default:rgba(255, 255, 255, 0.08);--color-border-hover:rgba(45, 212, 191, 0.3);--color-accent-default:#2dd4bf;--color-accent-hover:#5ee8d4;--color-accent-text:#06210f;--color-status-positive:#4ade80;--color-status-positive-background:rgba(34, 197, 94, 0.18);--color-status-warning:#f87171;--color-status-warning-background:rgba(248, 113, 113, 0.15);--color-text-primary:#ffffff;--color-text-secondary:rgba(255, 255, 255, 0.55);--color-brand-huemul-dark:#85422b;--color-brand-huemul-light:#b45b38;--color-brand-stroke:#1d1d1b;--typography-body:Fira Sans, Droid Sans, Helvetica Neue, sans-serif;--typography-heading:Inconsolata, monospace;--typography-size-xs:0.68rem;--typography-size-sm:0.85rem;--typography-size-md:1rem;--typography-size-lg:1.25rem;--typography-size-xl:1.5rem;--typography-weight-regular:400;--typography-weight-semibold:600;--typography-weight-bold:700;--typography-tracking-badge:0.03em;--spacing-2xs:0.18rem;--spacing-xs:0.25rem;--spacing-sm:0.35rem;--spacing-md:0.5rem;--spacing-lg:0.6rem;--spacing-xl:0.8rem;--spacing-2xl:1rem;--spacing-3xl:1.25rem;--spacing-4xl:1.35rem;--spacing-5xl:1.5rem;--spacing-6xl:2rem;--spacing-shift:2px;--spacing-elevate:1px;--radius-sm:6px;--radius-md:8px;--radius-pill:999px;--border-width:1px;--border-accent-bar:3px;--shadow-focus-ring:0 0 0 3px rgba(45, 212, 191, 0.12);--shadow-card-hover:0 4px 20px rgba(45, 212, 191, 0.06);--effect-blur:10px;--duration-fast:150ms;--duration-normal:200ms;--duration-spin:800ms;--easing-default:ease;--easing-linear:linear;--focus-outline-width:2px;--focus-outline-offset:2px;--opacity-disabled:0.5;--z-index-base:0;--z-index-dropdown:100;--z-index-modal:1000;--layout-max-width:68rem}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:400;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-400-normal.woff2') format('woff2')}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:600;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-600-normal.woff2') format('woff2')}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:700;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-700-normal.woff2') format('woff2')}@font-face{font-family:'Inconsolata';font-style:normal;font-weight:400;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/inconsolata-latin-400-normal.woff2') format('woff2')}:root{--bg:var(--color-background-base);--bg-gradient:radial-gradient(50% 30% ellipse at center top, var(--color-background-top-glow) 0%, rgba(0, 0, 0, 0) 100%),\n radial-gradient(60% 50% ellipse at center bottom, var(--color-background-bottom-glow) 0%, var(--color-background-base) 100%);--surface:var(--color-surface-default);--surface-hover:var(--color-surface-hover);--border:var(--color-border-default);--border-hover:var(--color-border-hover);--text:var(--color-text-primary);--text-muted:var(--color-text-secondary);--accent:var(--color-accent-default);--accent-hover:var(--color-accent-hover);--font-body:var(--typography-body);--font-heading:var(--typography-heading);--radius:var(--radius-sm)}body{font-family:var(--font-body)}.ch-container{width:100%;max-width:var(--layout-max-width);margin-inline:auto}.ch-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.ch-flex{display:flex}.ch-flex-col{display:flex;flex-direction:column}.ch-items-center{align-items:center}.ch-justify-center{justify-content:center}.ch-justify-between{justify-content:space-between}.ch-gap-sm{gap:var(--spacing-md)}.ch-gap-md{gap:var(--spacing-2xl)}.ch-text-center{text-align:center}.ch-text-primary{color:var(--text)}.ch-text-muted{color:var(--text-muted)}.ch-text-accent{color:var(--accent)}.ch-heading{font-family:var(--font-heading)}";
|
|
7
|
+
const globalStyles = ":root{--color-background-base:#100a1c;--color-background-top-glow:#201e40;--color-background-bottom-glow:#261226;--color-surface-default:rgba(32, 30, 64, 0.6);--color-surface-hover:rgba(45, 212, 191, 0.08);--color-scrim-default:rgba(0, 0, 0, 0.6);--color-border-default:rgba(255, 255, 255, 0.08);--color-border-hover:rgba(45, 212, 191, 0.3);--color-accent-default:#2dd4bf;--color-accent-hover:#5ee8d4;--color-accent-text:#06210f;--color-status-positive:#4ade80;--color-status-positive-background:rgba(34, 197, 94, 0.18);--color-status-warning:#f87171;--color-status-warning-background:rgba(248, 113, 113, 0.15);--color-text-primary:#ffffff;--color-text-secondary:rgba(255, 255, 255, 0.55);--color-brand-huemul-dark:#85422b;--color-brand-huemul-light:#b45b38;--color-brand-stroke:#1d1d1b;--typography-body:Fira Sans, Droid Sans, Helvetica Neue, sans-serif;--typography-heading:Inconsolata, monospace;--typography-size-xs:0.68rem;--typography-size-sm:0.85rem;--typography-size-md:1rem;--typography-size-lg:1.25rem;--typography-size-xl:1.5rem;--typography-weight-regular:400;--typography-weight-semibold:600;--typography-weight-bold:700;--typography-tracking-badge:0.03em;--spacing-2xs:0.18rem;--spacing-xs:0.25rem;--spacing-sm:0.35rem;--spacing-md:0.5rem;--spacing-lg:0.6rem;--spacing-xl:0.8rem;--spacing-2xl:1rem;--spacing-3xl:1.25rem;--spacing-4xl:1.35rem;--spacing-5xl:1.5rem;--spacing-6xl:2rem;--spacing-shift:2px;--spacing-elevate:1px;--radius-sm:6px;--radius-md:8px;--radius-pill:999px;--border-width:1px;--border-accent-bar:3px;--shadow-focus-ring:0 0 0 3px rgba(45, 212, 191, 0.12);--shadow-card-hover:0 4px 20px rgba(45, 212, 191, 0.06);--effect-blur:10px;--duration-fast:150ms;--duration-normal:200ms;--duration-spin:800ms;--easing-default:ease;--easing-linear:linear;--focus-outline-width:2px;--focus-outline-offset:2px;--opacity-disabled:0.5;--z-index-base:0;--z-index-dropdown:100;--z-index-modal:1000;--layout-max-width:68rem;--icon-size-sm:16px;--icon-size-md:20px;--icon-size-lg:24px;--icon-stroke:2px}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:400;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-400-normal.woff2') format('woff2')}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:600;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-600-normal.woff2') format('woff2')}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:700;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-700-normal.woff2') format('woff2')}@font-face{font-family:'Inconsolata';font-style:normal;font-weight:400;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/inconsolata-latin-400-normal.woff2') format('woff2')}:root{--bg:var(--color-background-base);--bg-gradient:radial-gradient(50% 30% ellipse at center top, var(--color-background-top-glow) 0%, rgba(0, 0, 0, 0) 100%),\n radial-gradient(60% 50% ellipse at center bottom, var(--color-background-bottom-glow) 0%, var(--color-background-base) 100%);--surface:var(--color-surface-default);--surface-hover:var(--color-surface-hover);--border:var(--color-border-default);--border-hover:var(--color-border-hover);--text:var(--color-text-primary);--text-muted:var(--color-text-secondary);--accent:var(--color-accent-default);--accent-hover:var(--color-accent-hover);--font-body:var(--typography-body);--font-heading:var(--typography-heading);--radius:var(--radius-sm)}body{font-family:var(--font-body)}.ch-container{width:100%;max-width:var(--layout-max-width);margin-inline:auto}.ch-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.ch-flex{display:flex}.ch-flex-col{display:flex;flex-direction:column}.ch-items-center{align-items:center}.ch-justify-center{justify-content:center}.ch-justify-between{justify-content:space-between}.ch-gap-sm{gap:var(--spacing-md)}.ch-gap-md{gap:var(--spacing-2xl)}.ch-text-center{text-align:center}.ch-text-primary{color:var(--text)}.ch-text-muted{color:var(--text-muted)}.ch-text-accent{color:var(--accent)}.ch-heading{font-family:var(--font-heading)}";
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
|
-
Stencil Client Platform v4.
|
|
10
|
+
Stencil Client Platform v4.45.1 | MIT Licensed | https://stenciljs.com
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
// src/utils/constants.ts
|
|
15
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
16
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
13
17
|
var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
|
|
14
18
|
PrimitiveType2["Undefined"] = "undefined";
|
|
15
19
|
PrimitiveType2["Null"] = "null";
|
|
@@ -571,6 +575,13 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
571
575
|
}
|
|
572
576
|
}
|
|
573
577
|
}
|
|
578
|
+
if (typeof nodeName === "function") {
|
|
579
|
+
return nodeName(
|
|
580
|
+
vnodeData === null ? {} : vnodeData,
|
|
581
|
+
vNodeChildren,
|
|
582
|
+
vdomFnUtils
|
|
583
|
+
);
|
|
584
|
+
}
|
|
574
585
|
const vnode = newVNode(nodeName, null);
|
|
575
586
|
vnode.$attrs$ = vnodeData;
|
|
576
587
|
if (vNodeChildren.length > 0) {
|
|
@@ -600,6 +611,36 @@ var newVNode = (tag, text) => {
|
|
|
600
611
|
};
|
|
601
612
|
var Host = {};
|
|
602
613
|
var isHost = (node) => node && node.$tag$ === Host;
|
|
614
|
+
var vdomFnUtils = {
|
|
615
|
+
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
616
|
+
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
|
|
617
|
+
};
|
|
618
|
+
var convertToPublic = (node) => ({
|
|
619
|
+
vattrs: node.$attrs$,
|
|
620
|
+
vchildren: node.$children$,
|
|
621
|
+
vkey: node.$key$,
|
|
622
|
+
vname: node.$name$,
|
|
623
|
+
vtag: node.$tag$,
|
|
624
|
+
vtext: node.$text$
|
|
625
|
+
});
|
|
626
|
+
var convertToPrivate = (node) => {
|
|
627
|
+
if (typeof node.vtag === "function") {
|
|
628
|
+
const vnodeData = { ...node.vattrs };
|
|
629
|
+
if (node.vkey) {
|
|
630
|
+
vnodeData.key = node.vkey;
|
|
631
|
+
}
|
|
632
|
+
if (node.vname) {
|
|
633
|
+
vnodeData.name = node.vname;
|
|
634
|
+
}
|
|
635
|
+
return h(node.vtag, vnodeData, ...node.vchildren || []);
|
|
636
|
+
}
|
|
637
|
+
const vnode = newVNode(node.vtag, node.vtext);
|
|
638
|
+
vnode.$attrs$ = node.vattrs;
|
|
639
|
+
vnode.$children$ = node.vchildren;
|
|
640
|
+
vnode.$key$ = node.vkey;
|
|
641
|
+
vnode.$name$ = node.vname;
|
|
642
|
+
return vnode;
|
|
643
|
+
};
|
|
603
644
|
|
|
604
645
|
// src/runtime/client-hydrate.ts
|
|
605
646
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
@@ -1195,6 +1236,27 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
1195
1236
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
1196
1237
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
1197
1238
|
}
|
|
1239
|
+
} else if (memberName === "style") {
|
|
1240
|
+
{
|
|
1241
|
+
for (const prop in oldValue) {
|
|
1242
|
+
if (!newValue || newValue[prop] == null) {
|
|
1243
|
+
if (prop.includes("-")) {
|
|
1244
|
+
elm.style.removeProperty(prop);
|
|
1245
|
+
} else {
|
|
1246
|
+
elm.style[prop] = "";
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
for (const prop in newValue) {
|
|
1252
|
+
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
1253
|
+
if (prop.includes("-")) {
|
|
1254
|
+
elm.style.setProperty(prop, newValue[prop]);
|
|
1255
|
+
} else {
|
|
1256
|
+
elm.style[prop] = newValue[prop];
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1198
1260
|
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
1199
1261
|
if (newValue) {
|
|
1200
1262
|
queueRefAttachment(newValue, elm);
|
|
@@ -1351,12 +1413,19 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
1351
1413
|
if (newVNode2.$text$ != null) {
|
|
1352
1414
|
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
1353
1415
|
} else {
|
|
1416
|
+
if (!isSvgMode) {
|
|
1417
|
+
isSvgMode = newVNode2.$tag$ === "svg";
|
|
1418
|
+
}
|
|
1354
1419
|
if (!win.document) {
|
|
1355
1420
|
throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
|
|
1356
1421
|
}
|
|
1357
|
-
elm = newVNode2.$elm$ = win.document.
|
|
1422
|
+
elm = newVNode2.$elm$ = win.document.createElementNS(
|
|
1423
|
+
isSvgMode ? SVG_NS : HTML_NS,
|
|
1358
1424
|
newVNode2.$tag$
|
|
1359
|
-
);
|
|
1425
|
+
) ;
|
|
1426
|
+
if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
|
1427
|
+
isSvgMode = false;
|
|
1428
|
+
}
|
|
1360
1429
|
{
|
|
1361
1430
|
updateElement(null, newVNode2, isSvgMode);
|
|
1362
1431
|
}
|
|
@@ -1369,6 +1438,13 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
1369
1438
|
}
|
|
1370
1439
|
}
|
|
1371
1440
|
}
|
|
1441
|
+
{
|
|
1442
|
+
if (newVNode2.$tag$ === "svg") {
|
|
1443
|
+
isSvgMode = false;
|
|
1444
|
+
} else if (elm.tagName === "foreignObject") {
|
|
1445
|
+
isSvgMode = true;
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1372
1448
|
}
|
|
1373
1449
|
elm["s-hn"] = hostTagName;
|
|
1374
1450
|
return elm;
|
|
@@ -1477,7 +1553,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1477
1553
|
if (idxInOld >= 0) {
|
|
1478
1554
|
elmToMove = oldCh[idxInOld];
|
|
1479
1555
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
1480
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2,
|
|
1556
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
1481
1557
|
} else {
|
|
1482
1558
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
1483
1559
|
oldCh[idxInOld] = void 0;
|
|
@@ -1527,6 +1603,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1527
1603
|
const tag = newVNode2.$tag$;
|
|
1528
1604
|
const text = newVNode2.$text$;
|
|
1529
1605
|
if (text == null) {
|
|
1606
|
+
{
|
|
1607
|
+
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
1608
|
+
}
|
|
1530
1609
|
{
|
|
1531
1610
|
if (tag === "slot" && !useNativeShadowDom) {
|
|
1532
1611
|
if (oldVNode.$name$ !== newVNode2.$name$) {
|
|
@@ -1551,6 +1630,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1551
1630
|
} else if (isInitialRender && BUILD.updatable && oldChildren !== null && newChildren === null) {
|
|
1552
1631
|
newVNode2.$children$ = oldChildren;
|
|
1553
1632
|
}
|
|
1633
|
+
if (isSvgMode && tag === "svg") {
|
|
1634
|
+
isSvgMode = false;
|
|
1635
|
+
}
|
|
1554
1636
|
} else if (oldVNode.$text$ !== text) {
|
|
1555
1637
|
elm.data = text;
|
|
1556
1638
|
}
|
|
@@ -1762,6 +1844,17 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1762
1844
|
hostRef.$flags$ &= -517;
|
|
1763
1845
|
}
|
|
1764
1846
|
};
|
|
1847
|
+
var forceUpdate = (ref) => {
|
|
1848
|
+
var _a;
|
|
1849
|
+
{
|
|
1850
|
+
const hostRef = getHostRef(ref);
|
|
1851
|
+
const isConnected = (_a = hostRef == null ? void 0 : hostRef.$hostElement$) == null ? void 0 : _a.isConnected;
|
|
1852
|
+
if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1853
|
+
scheduleUpdate(hostRef, false);
|
|
1854
|
+
}
|
|
1855
|
+
return isConnected;
|
|
1856
|
+
}
|
|
1857
|
+
};
|
|
1765
1858
|
var appDidLoad = (who) => {
|
|
1766
1859
|
var _a;
|
|
1767
1860
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
@@ -1936,23 +2029,28 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1936
2029
|
}
|
|
1937
2030
|
return;
|
|
1938
2031
|
}
|
|
1939
|
-
const
|
|
2032
|
+
const parsedValue = parsePropertyValue(
|
|
2033
|
+
newValue,
|
|
2034
|
+
memberFlags,
|
|
2035
|
+
!!(cmpMeta.$flags$ & 64 /* formAssociated */)
|
|
2036
|
+
);
|
|
2037
|
+
const setterSetVal = (val) => {
|
|
1940
2038
|
const currentValue = ref.$lazyInstance$[memberName];
|
|
1941
2039
|
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1942
2040
|
ref.$instanceValues$.set(memberName, currentValue);
|
|
1943
2041
|
}
|
|
1944
|
-
ref.$lazyInstance$[memberName] =
|
|
1945
|
-
newValue,
|
|
1946
|
-
memberFlags,
|
|
1947
|
-
!!(cmpMeta.$flags$ & 64 /* formAssociated */)
|
|
1948
|
-
);
|
|
2042
|
+
ref.$lazyInstance$[memberName] = val;
|
|
1949
2043
|
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1950
2044
|
};
|
|
1951
2045
|
if (ref.$lazyInstance$) {
|
|
1952
|
-
setterSetVal();
|
|
2046
|
+
setterSetVal(parsedValue);
|
|
1953
2047
|
} else {
|
|
2048
|
+
ref.$instanceValues$.set(memberName, parsedValue);
|
|
1954
2049
|
ref.$fetchedCbList$.push(() => {
|
|
1955
|
-
|
|
2050
|
+
const pendingValue = ref.$instanceValues$.get(memberName);
|
|
2051
|
+
if (ref.$lazyInstance$[memberName] !== pendingValue) {
|
|
2052
|
+
setterSetVal(pendingValue);
|
|
2053
|
+
}
|
|
1956
2054
|
});
|
|
1957
2055
|
}
|
|
1958
2056
|
}
|
|
@@ -2000,8 +2098,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2000
2098
|
if (isBooleanTarget) {
|
|
2001
2099
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
2002
2100
|
}
|
|
2101
|
+
const currentValue = propMemberFlags & 4096 /* Setter */ ? hostRef.$instanceValues$.get(propName) : this[propName];
|
|
2003
2102
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
2004
|
-
if (!isSpuriousBooleanRemoval && newValue !=
|
|
2103
|
+
if (!isSpuriousBooleanRemoval && newValue != currentValue && (!propDesc.get || !!propDesc.set)) {
|
|
2005
2104
|
this[propName] = newValue;
|
|
2006
2105
|
}
|
|
2007
2106
|
});
|
|
@@ -2380,6 +2479,9 @@ var getHostListenerTarget = (doc, elm, flags) => {
|
|
|
2380
2479
|
if (flags & 4 /* TargetDocument */) {
|
|
2381
2480
|
return doc;
|
|
2382
2481
|
}
|
|
2482
|
+
if (flags & 8 /* TargetWindow */) {
|
|
2483
|
+
return win;
|
|
2484
|
+
}
|
|
2383
2485
|
return elm;
|
|
2384
2486
|
};
|
|
2385
2487
|
var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
@@ -2396,12 +2498,13 @@ function transformTag(tag) {
|
|
|
2396
2498
|
exports.Host = Host;
|
|
2397
2499
|
exports.bootstrapLazy = bootstrapLazy;
|
|
2398
2500
|
exports.createEvent = createEvent;
|
|
2501
|
+
exports.forceUpdate = forceUpdate;
|
|
2399
2502
|
exports.getElement = getElement;
|
|
2400
2503
|
exports.globalScripts = globalScripts;
|
|
2401
2504
|
exports.h = h;
|
|
2402
2505
|
exports.promiseResolve = promiseResolve;
|
|
2403
2506
|
exports.registerInstance = registerInstance;
|
|
2404
2507
|
exports.setNonce = setNonce;
|
|
2405
|
-
//# sourceMappingURL=index-
|
|
2508
|
+
//# sourceMappingURL=index-ByZY6aTj.js.map
|
|
2406
2509
|
|
|
2407
|
-
//# sourceMappingURL=index-
|
|
2510
|
+
//# sourceMappingURL=index-ByZY6aTj.js.map
|