@cregis/ui 0.1.11 → 0.2.1
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 +20 -6
- package/dist/es/cregis-ui.js +2094 -208
- package/dist/index.css +1 -1
- package/dist/types/index.d.ts +277 -5
- package/dist/umd/cregis-ui.umd.cjs +1 -1
- package/dist/umd/index.css +1 -1
- package/package.json +6 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--system-brand: display-p3 .1216 .7647 .3529;--system-error: display-p3 .8431 .2745 .1765;--system-decor: display-p3 .0078 .1765 .051;--same-black: 2 3 4;--same-white: 255 255 255;--foreground-face: 255 255 255;--foreground-base: 2 3 4;--module-line: 235 236 237;--page: 255 255 255}.dark{--system-brand: display-p3 .1216 .7647 .3529;--system-error: display-p3 .8431 .2745 .1765;--system-decor: display-p3 1 1 1;--same-black: 2 3 4;--same-white: 255 255 255;--foreground-face: 2 3 4;--foreground-base: 255 255 255;--module-line: 0 0 0;--page: 30 33 35}/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}circle,path,polygon,rect,ellipse,line,polyline,g{vector-effect:non-scaling-stroke}:root{--material-vibrant-brand-primary: color(var(--system-brand) / 1);--material-opaque-card-moderate: rgb(var(--foreground-base) / .05);--material-foreground-face-primary: rgb(var(--foreground-face) / 1);--material-foreground-face-quaternary: rgb(var(--foreground-face) / .2);--material-foreground-base-primary: rgb(var(--foreground-base) / 1);--material-foreground-base-secondary: rgb(var(--foreground-base) / .6);--material-foreground-base-quaternary: rgb(var(--foreground-base) / .2);--material-vibrant-error-primary: color(var(--system-error) / 1);--material-decor-primary: color(var(--system-decor) / 1);--material-same-white: rgb(var(--same-white) / 1);--material-opaque-hide: rgb(var(--foreground-base) / 0);--text-base-primary: rgb(var(--foreground-base) / 1);--text-base-secondary: rgb(var(--foreground-base) / .6);--text-base-tertiary: rgb(var(--foreground-base) / .4);--text-base-quaternary: rgb(var(--foreground-base) / .2);--text-face-primary: rgb(var(--foreground-face) / 1);--text-face-secondary: rgb(var(--foreground-face) / .6);--text-same-white: rgb(var(--same-white) / 1);--text-same-white-tap: rgb(var(--same-white) / .6);--text-same-black: rgb(var(--same-black) / 1);--text-same-black-tap: rgb(var(--same-black) / .6);--text-brand-tap: color(var(--system-brand) / .6);--text-brand-40: color(var(--system-brand) / .4);--text-brand-disabled: color(var(--system-brand) / .2);--text-error-tap: color(var(--system-error) / .6);--line-border-deep: rgb(var(--foreground-base) / .18);--line-module: rgb(var(--module-line) / 1);--line-page: rgb(var(--foreground-base) / .1);--event-hover-secondary: rgb(var(--foreground-base) / .05);--event-hover-tertiary: rgb(var(--page) / 1);--event-focus-secondary: rgb(var(--foreground-base) / .07)}.dark{--material-opaque-card-moderate: rgb(var(--foreground-base) / .07);--event-hover-secondary: rgb(var(--foreground-base) / .07);--event-focus-secondary: rgb(var(--foreground-base) / .1)}.cregis-input{width:100%;position:relative;display:inline-flex;font-size:15px;line-height:22px;box-sizing:border-box;vertical-align:middle;caret-color:var(--text-base-primary)}.cregis-input.is-disabled{cursor:not-allowed}.cregis-input.is-disabled .cregis-input__inner{color:var(--text-base-quaternary);cursor:not-allowed}.cregis-input__wrapper{position:relative;display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:0 12px;background-color:var(--material-opaque-card-moderate);border-radius:6px;border:2px solid transparent}.cregis-input__wrapper.is-focus{border:2px solid var(--material-vibrant-brand-primary);border-radius:6px;background-color:var(--material-foreground-face-quaternary)}.cregis-input__wrapper.is-focus .cregis-input__inner::placeholder{color:var(--text-base-quaternary)}.cregis-input__inner{width:100%;min-width:20px;-webkit-appearance:none;font-size:inherit;padding:0;outline:none;border:none;background:none;box-sizing:border-box;color:var(--text-base-primary)}.cregis-input__inner::placeholder{color:var(--text-base-tertiary)}.cregis-input__inner::-webkit-outer-spin-button,.cregis-input__inner::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.cregis-input--small{height:32px}.cregis-input--medium{height:40px}.cregis-input--large{height:48px}.cregis-input__unit{color:var(--text-base-primary)}.cregis-input__prefix,.cregis-input__suffix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;align-items:center}.cregis-input__prefix>:first-child{margin-left:0!important}.cregis-input__prefix>:last-child{margin-right:8px!important}.cregis-input__suffix>:first-child{margin-left:8px!important}.cregis-input__suffix>:last-child{margin-right:0!important}.cregis-textarea{position:relative}.cregis-textarea.is-disabled .cregis-textarea__wrapper{color:var(--text-base-quaternary);cursor:not-allowed}.cregis-textarea__wrapper{resize:none;position:relative;display:block;padding:12px;background-color:var(--material-opaque-card-moderate);border-radius:6px;border:2px solid transparent;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;background-image:none;-webkit-appearance:none;caret-color:var(--text-base-primary);color:var(--text-base-primary)}.cregis-textarea__wrapper:focus{outline:none;border:2px solid var(--material-vibrant-brand-primary)}.cregis-textarea__wrapper:focus::placeholder{color:var(--text-base-quaternary)}.cregis-textarea__wrapper::placeholder{color:var(--text-base-tertiary)}.cregis-textarea__buttons{position:absolute;bottom:10px;left:12px;display:flex;gap:16px}.cregis-textarea__button{font-size:12px;font-weight:500;cursor:default;color:var(--material-vibrant-brand-primary)}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:is(.cregis-button.is-affix,.cregis-button__icon,:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-disabled) svg>g:is([fill=none],[fill=transparent]) :is(path,line,polyline,polygon,circle,ellipse):not([fill]),:is(.cregis-button.is-affix,.cregis-button__icon,:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-disabled) svg>g:is([fill=none],[fill=transparent]) :is(path,line,polyline,polygon,circle,ellipse):is([fill=none],[fill=transparent]){stroke:var(--cregis-btn-svg-stroke)}:is(.cregis-button.is-affix,.cregis-button__icon,:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-disabled) svg :is(path,line,polyline,polygon,circle,ellipse)[fill]:not([fill=none]):not([fill=transparent]){fill:var(--cregis-btn-svg-fill)}.cregis-button{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;text-align:center;box-sizing:border-box;outline:none;transition:.1s;font-weight:500;-webkit-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;color:var(--text-same-white);background-color:var(--material-vibrant-brand-primary);border:1px solid var(--material-vibrant-brand-primary);font-size:13px;border-radius:30px}.cregis-button:active,.cregis-button.is-active:not(.is-disabled){color:var(--text-same-white-tap)}.cregis-button.is-plain{color:var(--material-vibrant-brand-primary);background-color:var(--material-opaque-hide)}.cregis-button.is-plain:hover{color:var(--text-same-white);background-color:var(--material-vibrant-brand-primary)}.cregis-button.is-plain:active,.cregis-button.is-plain.is-active:not(.is-disabled){color:var(--text-same-white-tap)}.cregis-button.is-text{color:var(--material-vibrant-brand-primary);background-color:var(--material-opaque-hide);border-color:transparent}.cregis-button.is-text:hover{background-color:var(--event-hover-secondary)}.cregis-button.is-text:active,.cregis-button.is-text.is-active:not(.is-disabled){color:var(--text-brand-tap)}.cregis-button.is-block{width:100%}:is(.cregis-button.is-plain.is-loading,.cregis-button.is-text.is-loading):hover{background-color:var(--material-opaque-hide)}.cregis-button .loading{animation:rotate 2s linear infinite}.cregis-button.is-affix{gap:4px;--cregis-btn-svg-stroke: var(--text-same-white);--cregis-btn-svg-fill: var(--text-same-white)}.cregis-button.is-affix span{color:var(--text-same-white)}.cregis-button.is-affix:active:not(.is-disabled),.cregis-button.is-affix.is-active:not(.is-disabled){--cregis-btn-svg-stroke: var(--text-same-white-tap);--cregis-btn-svg-fill: var(--text-same-white-tap)}:is(.cregis-button.is-affix:active:not(.is-disabled),.cregis-button.is-affix.is-active:not(.is-disabled)) span{color:var(--text-same-white-tap)}.cregis-button.is-affix.is-disabled{--cregis-btn-svg-stroke: var(--material-foreground-base-quaternary);--cregis-btn-svg-fill: var(--material-foreground-base-quaternary)}.cregis-button.is-affix.is-disabled span{color:var(--text-base-quaternary)}.cregis-button--secondary{background-color:var(--material-opaque-card-moderate);border-color:transparent;color:var(--text-base-primary)}.cregis-button--secondary:active,.cregis-button--secondary.is-active:not(.is-disabled){color:var(--text-base-secondary)}.cregis-button--secondary.is-plain{border:.5px solid var(--line-border-deep);color:var(--text-base-primary)}.cregis-button--secondary.is-plain:hover{border:.5px solid transparent;color:var(--text-base-primary);background-color:var(--material-opaque-card-moderate)}.cregis-button--secondary.is-plain.is-plain.is-loading{border:.5px solid var(--line-border-deep)}.cregis-button--secondary.is-plain:active,.cregis-button--secondary.is-plain.is-active:not(.is-disabled){color:var(--text-base-secondary)}.cregis-button--secondary.is-plain.is-affix{--cregis-btn-svg-stroke: var(--text-base-primary);--cregis-btn-svg-fill: var(--text-base-primary)}.cregis-button--secondary.is-plain.is-affix span{color:var(--text-base-primary)}.cregis-button--secondary.is-plain.is-affix:hover:not(.is-disabled){--cregis-btn-svg-stroke: var(--text-base-primary);--cregis-btn-svg-fill: var(--text-base-primary)}.cregis-button--secondary.is-plain.is-affix:hover:not(.is-disabled) span{color:var(--text-base-primary)}.cregis-button--secondary.is-plain.is-affix:active:not(.is-disabled),.cregis-button--secondary.is-plain.is-affix.is-active:not(.is-disabled){--cregis-btn-svg-stroke: var(--text-base-secondary);--cregis-btn-svg-fill: var(--text-base-secondary)}:is(.cregis-button--secondary.is-plain.is-affix:active:not(.is-disabled),.cregis-button--secondary.is-plain.is-affix.is-active:not(.is-disabled)) span{color:var(--text-base-secondary)}.cregis-button--secondary.is-text{color:var(--text-base-primary)}.cregis-button--secondary.is-text:active,.cregis-button--secondary.is-text.is-active:not(.is-disabled){color:var(--text-base-secondary)}.cregis-button--danger{background-color:var(--material-vibrant-error-primary);border-color:var(--material-vibrant-error-primary)}.cregis-button--danger.is-plain{color:var(--material-vibrant-error-primary)}.cregis-button--danger.is-plain:hover{background-color:var(--material-vibrant-error-primary)}.cregis-button--danger.is-text{color:var(--material-vibrant-error-primary)}.cregis-button--danger.is-text:active,.cregis-button--danger.is-text.is-active:not(.is-disabled){color:var(--text-error-tap)}.cregis-button--foreground{background-color:var(--material-decor-primary);border-color:var(--material-decor-primary);color:var(--text-face-primary)}.cregis-button--foreground:active,.cregis-button--foreground.is-active:not(.is-disabled){color:var(--text-face-secondary)}.cregis-button--foreground.is-plain{color:var(--material-decor-primary)}.cregis-button--foreground.is-plain:hover{color:var(--text-face-primary);background-color:var(--material-decor-primary)}.cregis-button--foreground.is-plain:active,.cregis-button--foreground.is-plain.is-active:not(.is-disabled){color:var(--text-face-secondary)}.cregis-button--sameWhite{background-color:var(--material-same-white);border-color:transparent;color:var(--text-same-black)}.cregis-button--sameWhite:active,.cregis-button--sameWhite.is-active:not(.is-disabled){color:var(--text-same-black-tap)}.cregis-button--large{padding:0 20px;height:40px;font-size:15px;line-height:22px}.cregis-button--medium{padding:0 16px;height:32px;font-size:13px;line-height:18px}.cregis-button--small{padding:0 12px;height:24px;font-size:13px;line-height:18px}.cregis-button--extraSmall{padding:0 12px;height:20px;font-size:12px;line-height:16px}:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-disabled{--cregis-btn-svg-stroke: var(--material-foreground-base-quaternary);--cregis-btn-svg-fill: var(--material-foreground-base-quaternary);color:var(--text-base-quaternary);background-color:var(--material-opaque-card-moderate);border-color:transparent;cursor:not-allowed}:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-plain.is-disabled{border:.5px solid var(--line-border-deep);background-color:var(--material-opaque-hide)}:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-plain.is-disabled:hover{color:var(--text-base-quaternary)}:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-text.is-disabled{background-color:var(--material-opaque-hide);border-color:transparent}:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-text.is-disabled:active{color:var(--text-base-quaternary)}.cregis-button__link{border:none;border-bottom:1px dashed var(--material-opaque-hide);background-color:var(--material-opaque-hide);color:var(--material-vibrant-brand-primary);font-weight:500;padding:0}.cregis-button__link:hover{border-bottom:1px dashed var(--text-brand-40)}.cregis-button__link:active,.cregis-button__link.is-active:not(.is-disabled){border-bottom:1px dashed var(--text-brand-disabled);color:var(--text-brand-tap)}.cregis-button__link.is-disabled{color:var(--text-base-quaternary);border-color:transparent;cursor:not-allowed}.cregis-button__link--foreground{color:var(--text-base-primary)}.cregis-button__link--foreground:hover{border-bottom:1px dashed var(--text-base-tertiary)}.cregis-button__link--foreground:active,.cregis-button__link--foreground.is-active:not(.is-disabled){border-bottom:1px dashed var(--text-base-quaternary);color:var(--text-base-secondary)}.cregis-button__link--foreground.is-disabled{color:var(--text-base-quaternary);border-color:transparent}.cregis-button__link--large{font-size:15px}.cregis-button__link--medium{font-size:13px}.cregis-button__link--small,.cregis-button__link--extraSmall{font-size:12px}.cregis-button__icon-wrapper{display:flex;flex-direction:column;align-items:center}.cregis-button__icon{--cregis-btn-svg-stroke: var(--material-foreground-base-secondary);--cregis-btn-svg-fill: var(--material-foreground-base-secondary);display:flex;justify-content:center;align-items:center;border-color:transparent;background-color:var(--material-opaque-hide);padding:0;border-radius:6px}.cregis-button__icon:hover{--cregis-btn-svg-stroke: var(--material-foreground-base-primary);--cregis-btn-svg-fill: var(--material-foreground-base-primary);background-color:var(--event-hover-secondary)}.cregis-button__icon:active,.cregis-button__icon.is-active:not(.is-disabled){--cregis-btn-svg-stroke: var(--material-foreground-base-secondary);--cregis-btn-svg-fill: var(--material-foreground-base-secondary);background-color:var(--event-focus-secondary)}.cregis-button__icon.is-disabled{--cregis-btn-svg-stroke: var(--material-foreground-base-quaternary);--cregis-btn-svg-fill: var(--material-foreground-base-quaternary);cursor:not-allowed}.cregis-button__icon.is-disabled:hover{background-color:var(--material-opaque-hide)}.cregis-button__icon--rectangle.cregis-button__icon--large{width:36px;height:28px}.cregis-button__icon--rectangle.cregis-button__icon--medium{width:32px;height:24px}.cregis-button__icon--rectangle.cregis-button__icon--small,.cregis-button__icon--rectangle.cregis-button__icon--extraSmall{width:26px;height:20px}:is(.cregis-button__icon--square,.cregis-button__icon--circle).cregis-button__icon--large{width:28px;height:28px}:is(.cregis-button__icon--square,.cregis-button__icon--circle).cregis-button__icon--medium{width:24px;height:24px}:is(.cregis-button__icon--square,.cregis-button__icon--circle).cregis-button__icon--small,:is(.cregis-button__icon--square,.cregis-button__icon--circle).cregis-button__icon--extraSmall{width:20px;height:20px}.cregis-button__icon--circle{border-radius:50%}.cregis-button__icon--professional{width:32px;height:24px}.cregis-button__icon-text{font-size:11px;line-height:14px;font-weight:500;color:var(--text-base-secondary)}.cregis-button__icon-text.is-disabled{cursor:not-allowed;color:var(--text-base-quaternary)}.cregis-checkbox__wrapper{width:fit-content;display:flex;align-items:center;gap:8px;cursor:default;-webkit-user-select:none;user-select:none}.cregis-checkbox{width:16px;height:16px;border:1px solid var(--line-border-deep);border-radius:4px;display:flex;align-items:center;justify-content:center}.cregis-checkbox svg{visibility:hidden}.cregis-checkbox:hover svg{color:var(--line-border-deep);visibility:visible}.cregis-checkbox.is-checked,.cregis-checkbox.is-indeterminate{border:1px solid var(--material-vibrant-brand-primary)!important;background-color:var(--material-vibrant-brand-primary)!important}:is(.cregis-checkbox.is-checked,.cregis-checkbox.is-indeterminate) svg{visibility:visible!important;color:var(--material-same-white)}.cregis-checkbox.is-circle{border-radius:50%}.cregis-checkbox.is-disabled{cursor:not-allowed;background-color:var(--material-opaque-card-moderate)}.cregis-checkbox.is-disabled:hover svg{visibility:hidden}.cregis-checkbox.is-checked.is-disabled{opacity:.6}.cregis-checkbox__label{font-size:15px;color:var(--text-base-primary)}.cregis-checkbox__label.is-disabled{cursor:not-allowed}.cregis-checkbox--indeterminate{width:8px;height:1.5px;border-radius:1px;background-color:var(--material-same-white)}.cregis-radio__wrapper{width:fit-content;display:flex;align-items:center;gap:8px;cursor:default;-webkit-user-select:none;user-select:none}.cregis-radio{width:16px;height:16px;border:1px solid var(--line-border-deep);border-radius:50%;display:flex;align-items:center;justify-content:center}.cregis-radio:hover .cregis-radio__inner{visibility:visible}.cregis-radio.is-checked{border:1px solid var(--material-vibrant-brand-primary)!important;background-color:var(--material-vibrant-brand-primary)!important}.cregis-radio.is-checked .cregis-radio__inner{visibility:visible!important;background-color:var(--text-same-white)}.cregis-radio.is-disabled{cursor:not-allowed;background-color:var(--material-opaque-card-moderate)}.cregis-radio.is-disabled:hover .cregis-radio__inner{visibility:hidden}.cregis-radio.is-checked.is-disabled{opacity:.6}.cregis-radio__inner{width:6px;height:6px;border-radius:50%;background-color:var(--material-foreground-base-quaternary);visibility:hidden}.cregis-radio__label{font-size:15px;color:var(--text-base-primary)}.cregis-radio__label.is-disabled{cursor:not-allowed}.cregis-divider{display:flex;align-items:center}.cregis-divider--horizontal{flex-direction:row}.cregis-divider--vertical{flex-direction:column}.cregis-tabs{display:flex;gap:16px;width:fit-content;height:29px;font-size:13px;font-weight:500;color:var(--text-base-primary);cursor:default}.cregis-tabs__item{border-bottom:2px solid var(--material-opaque-hide);transition:color .2s ease,border-color .2s ease}.cregis-tabs__item.is-active{color:var(--material-vibrant-brand-primary);border-bottom:2px solid var(--material-vibrant-brand-primary)}.cregis-tabs--large{height:33px;font-size:15px}.cregis-tabs--small{height:28px;font-size:12px}.cregis-tabs--card{height:28px;background-color:var(--material-opaque-card-moderate);border-radius:14px;padding:3px;font-size:12px;gap:0}.cregis-tabs--card.cregis-tabs--large{height:32px;border-radius:16px}.cregis-tabs--card.cregis-tabs--small{height:24px;border-radius:12px}.cregis-tabs--card .cregis-tabs__item{display:flex;align-items:center;justify-content:center;border:none;padding:0 12px}.cregis-tabs--card .cregis-tabs__item.is-active{color:var(--text-base-primary);background-color:var(--event-hover-tertiary)}
|
|
1
|
+
:root{--system-brand: display-p3 .1216 .7647 .3529;--system-error: display-p3 .8431 .2745 .1765;--system-decor: display-p3 .0078 .1765 .051;--same-black: 2 3 4;--same-white: 255 255 255;--foreground-face: 255 255 255;--foreground-base: 2 3 4;--module-line: 235 236 237;--page: 255 255 255;--flotation: 255 255 255}.dark{--system-brand: display-p3 .1216 .7647 .3529;--system-error: display-p3 .8431 .2745 .1765;--system-decor: display-p3 1 1 1;--same-black: 2 3 4;--same-white: 255 255 255;--foreground-face: 2 3 4;--foreground-base: 255 255 255;--module-line: 0 0 0;--page: 30 33 35;--flotation: 35 37 39}/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}circle,path,polygon,rect,ellipse,line,polyline,g{vector-effect:non-scaling-stroke}:root{--material-vibrant-brand-primary: color(var(--system-brand) / 1);--material-opaque-card-moderate: rgb(var(--foreground-base) / .05);--material-foreground-face-primary: rgb(var(--foreground-face) / 1);--material-foreground-face-quaternary: rgb(var(--foreground-face) / .2);--material-foreground-base-primary: rgb(var(--foreground-base) / 1);--material-foreground-base-secondary: rgb(var(--foreground-base) / .6);--material-foreground-base-quaternary: rgb(var(--foreground-base) / .2);--material-vibrant-error-primary: color(var(--system-error) / 1);--material-decor-primary: color(var(--system-decor) / 1);--material-same-white: rgb(var(--same-white) / 1);--material-opaque-hide: rgb(var(--foreground-base) / 0);--material-foreground-face-secondary: rgb(var(--foreground-face) / .6);--material-vibrant-brand-quaternary: color(var(--system-brand) / .2);--material-opaque-card-deep: rgb(var(--foreground-base) / .1);--text-base-primary: rgb(var(--foreground-base) / 1);--text-base-secondary: rgb(var(--foreground-base) / .6);--text-base-tertiary: rgb(var(--foreground-base) / .4);--text-base-quaternary: rgb(var(--foreground-base) / .2);--text-face-primary: rgb(var(--foreground-face) / 1);--text-face-secondary: rgb(var(--foreground-face) / .6);--text-same-white: rgb(var(--same-white) / 1);--text-same-white-tap: rgb(var(--same-white) / .6);--text-same-black: rgb(var(--same-black) / 1);--text-same-black-tap: rgb(var(--same-black) / .6);--text-brand-tap: color(var(--system-brand) / .6);--text-brand-40: color(var(--system-brand) / .4);--text-brand-disabled: color(var(--system-brand) / .2);--text-error-tap: color(var(--system-error) / .6);--line-border-deep: rgb(var(--foreground-base) / .18);--line-module: rgb(var(--module-line) / 1);--line-page: rgb(var(--foreground-base) / .1);--event-hover-secondary: rgb(var(--foreground-base) / .05);--event-hover-tertiary: rgb(var(--page) / 1);--event-focus-secondary: rgb(var(--foreground-base) / .07);--event-focus-tertiary: color(var(--system-brand) / .2);--effect-prompt: rgb(var(--foreground-base) / .9);--effect-shadow-shallow: rgb(var(--same-black) / .1);--effect-shadow-deep: rgb(var(--same-black) / .2);--box-flotation: rgb(var(--flotation) / 1)}.dark{--material-opaque-card-moderate: rgb(var(--foreground-base) / .07);--event-hover-secondary: rgb(var(--foreground-base) / .07);--event-focus-secondary: rgb(var(--foreground-base) / .1);--effect-prompt: rgb(var(--foreground-base) / .2);--effect-shadow-shallow: rgb(var(--same-black) / .3);--effect-shadow-deep: rgb(var(--same-black) / .6)}.backdrop-fixed-header{-webkit-backdrop-filter:saturate(360%) blur(160px);backdrop-filter:saturate(360%) blur(160px);background-color:var(--material-foreground-face-secondary)}.cregis-input{width:100%;position:relative;display:inline-flex;font-size:15px;line-height:22px;box-sizing:border-box;vertical-align:middle;caret-color:var(--text-base-primary)}.cregis-input.is-disabled{cursor:not-allowed}.cregis-input.is-disabled .cregis-input__inner{color:var(--text-base-quaternary);cursor:not-allowed}.cregis-input__wrapper{position:relative;display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:0 12px;background-color:var(--material-opaque-card-moderate);border-radius:6px;border:2px solid transparent}.cregis-input__wrapper.is-focus{border:2px solid var(--material-vibrant-brand-primary);border-radius:6px;background-color:var(--material-foreground-face-quaternary)}.cregis-input__wrapper.is-focus .cregis-input__inner::placeholder{color:var(--text-base-quaternary)}.cregis-input__inner{width:100%;min-width:20px;-webkit-appearance:none;font-size:inherit;padding:0;outline:none;border:none;background:none;box-sizing:border-box;color:var(--text-base-primary)}.cregis-input__inner::placeholder{color:var(--text-base-tertiary)}.cregis-input__inner::-webkit-outer-spin-button,.cregis-input__inner::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.cregis-input--small{height:32px}.cregis-input--medium{height:40px}.cregis-input--large{height:48px}.cregis-input__unit{color:var(--text-base-primary)}.cregis-input__prefix,.cregis-input__suffix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;align-items:center}.cregis-input__prefix>:first-child{margin-left:0!important}.cregis-input__prefix>:last-child{margin-right:8px!important}.cregis-input__suffix>:first-child{margin-left:8px!important}.cregis-input__suffix>:last-child{margin-right:0!important}.cregis-textarea{position:relative}.cregis-textarea.is-disabled .cregis-textarea__wrapper{color:var(--text-base-quaternary);cursor:not-allowed}.cregis-textarea__wrapper{resize:none;position:relative;display:block;padding:12px;background-color:var(--material-opaque-card-moderate);border-radius:6px;border:2px solid transparent;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;background-image:none;-webkit-appearance:none;caret-color:var(--text-base-primary);color:var(--text-base-primary)}.cregis-textarea__wrapper:focus{outline:none;border:2px solid var(--material-vibrant-brand-primary)}.cregis-textarea__wrapper:focus::placeholder{color:var(--text-base-quaternary)}.cregis-textarea__wrapper::placeholder{color:var(--text-base-tertiary)}.cregis-textarea__buttons{position:absolute;bottom:10px;left:12px;display:flex;gap:16px}.cregis-textarea__button{font-size:12px;font-weight:500;cursor:default;color:var(--material-vibrant-brand-primary)}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:is(.cregis-button.is-affix,.cregis-button__icon:not(.cregis-button__icon--slot),:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-disabled) svg>g:is([fill=none],[fill=transparent]) :is(path,line,polyline,polygon,circle,ellipse):not([fill]),:is(.cregis-button.is-affix,.cregis-button__icon:not(.cregis-button__icon--slot),:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-disabled) svg>g:is([fill=none],[fill=transparent]) :is(path,line,polyline,polygon,circle,ellipse):is([fill=none],[fill=transparent]){stroke:var(--cregis-btn-svg-stroke)}:is(.cregis-button.is-affix,.cregis-button__icon:not(.cregis-button__icon--slot),:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-disabled) svg :is(path,line,polyline,polygon,circle,ellipse)[fill]:not([fill=none]):not([fill=transparent]){fill:var(--cregis-btn-svg-fill)}.cregis-button{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;text-align:center;box-sizing:border-box;outline:none;transition:.1s;font-weight:500;-webkit-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;color:var(--text-same-white);background-color:var(--material-vibrant-brand-primary);border:1px solid var(--material-vibrant-brand-primary);font-size:13px;border-radius:30px}.cregis-button:active,.cregis-button.is-active:not(.is-disabled){color:var(--text-same-white-tap)}.cregis-button.is-plain{color:var(--material-vibrant-brand-primary);background-color:var(--material-opaque-hide)}.cregis-button.is-plain:hover{color:var(--text-same-white);background-color:var(--material-vibrant-brand-primary)}.cregis-button.is-plain:active,.cregis-button.is-plain.is-active:not(.is-disabled){color:var(--text-same-white-tap)}.cregis-button.is-text{color:var(--material-vibrant-brand-primary);background-color:var(--material-opaque-hide);border-color:transparent}.cregis-button.is-text:hover{background-color:var(--event-hover-secondary)}.cregis-button.is-text:active,.cregis-button.is-text.is-active:not(.is-disabled){color:var(--text-brand-tap)}.cregis-button.is-block{width:100%}:is(.cregis-button.is-plain.is-loading,.cregis-button.is-text.is-loading):hover{background-color:var(--material-opaque-hide)}.cregis-button .loading{animation:rotate 2s linear infinite}.cregis-button.is-affix{gap:4px;--cregis-btn-svg-stroke: var(--text-same-white);--cregis-btn-svg-fill: var(--text-same-white)}.cregis-button.is-affix span{color:var(--text-same-white)}.cregis-button.is-affix:active:not(.is-disabled),.cregis-button.is-affix.is-active:not(.is-disabled){--cregis-btn-svg-stroke: var(--text-same-white-tap);--cregis-btn-svg-fill: var(--text-same-white-tap)}:is(.cregis-button.is-affix:active:not(.is-disabled),.cregis-button.is-affix.is-active:not(.is-disabled)) span{color:var(--text-same-white-tap)}.cregis-button.is-affix.is-disabled{--cregis-btn-svg-stroke: var(--material-foreground-base-quaternary);--cregis-btn-svg-fill: var(--material-foreground-base-quaternary)}.cregis-button.is-affix.is-disabled span{color:var(--text-base-quaternary)}.cregis-button--secondary{background-color:var(--material-opaque-card-moderate);border-color:transparent;color:var(--text-base-primary)}.cregis-button--secondary:active,.cregis-button--secondary.is-active:not(.is-disabled){color:var(--text-base-secondary)}.cregis-button--secondary.is-plain{border:.5px solid var(--line-border-deep);color:var(--text-base-primary)}.cregis-button--secondary.is-plain:hover{border:.5px solid transparent;color:var(--text-base-primary);background-color:var(--material-opaque-card-moderate)}.cregis-button--secondary.is-plain.is-plain.is-loading{border:.5px solid var(--line-border-deep)}.cregis-button--secondary.is-plain:active,.cregis-button--secondary.is-plain.is-active:not(.is-disabled){color:var(--text-base-secondary)}.cregis-button--secondary.is-plain.is-affix{--cregis-btn-svg-stroke: var(--text-base-primary);--cregis-btn-svg-fill: var(--text-base-primary)}.cregis-button--secondary.is-plain.is-affix span{color:var(--text-base-primary)}.cregis-button--secondary.is-plain.is-affix:hover:not(.is-disabled){--cregis-btn-svg-stroke: var(--text-base-primary);--cregis-btn-svg-fill: var(--text-base-primary)}.cregis-button--secondary.is-plain.is-affix:hover:not(.is-disabled) span{color:var(--text-base-primary)}.cregis-button--secondary.is-plain.is-affix:active:not(.is-disabled),.cregis-button--secondary.is-plain.is-affix.is-active:not(.is-disabled){--cregis-btn-svg-stroke: var(--text-base-secondary);--cregis-btn-svg-fill: var(--text-base-secondary)}:is(.cregis-button--secondary.is-plain.is-affix:active:not(.is-disabled),.cregis-button--secondary.is-plain.is-affix.is-active:not(.is-disabled)) span{color:var(--text-base-secondary)}.cregis-button--secondary.is-text{color:var(--text-base-primary)}.cregis-button--secondary.is-text:active,.cregis-button--secondary.is-text.is-active:not(.is-disabled){color:var(--text-base-secondary)}.cregis-button--danger{background-color:var(--material-vibrant-error-primary);border-color:var(--material-vibrant-error-primary)}.cregis-button--danger.is-plain{color:var(--material-vibrant-error-primary)}.cregis-button--danger.is-plain:hover{background-color:var(--material-vibrant-error-primary)}.cregis-button--danger.is-text{color:var(--material-vibrant-error-primary)}.cregis-button--danger.is-text:active,.cregis-button--danger.is-text.is-active:not(.is-disabled){color:var(--text-error-tap)}.cregis-button--foreground{background-color:var(--material-decor-primary);border-color:var(--material-decor-primary);color:var(--text-face-primary)}.cregis-button--foreground:active,.cregis-button--foreground.is-active:not(.is-disabled){color:var(--text-face-secondary)}.cregis-button--foreground.is-plain{color:var(--material-decor-primary)}.cregis-button--foreground.is-plain:hover{color:var(--text-face-primary);background-color:var(--material-decor-primary)}.cregis-button--foreground.is-plain:active,.cregis-button--foreground.is-plain.is-active:not(.is-disabled){color:var(--text-face-secondary)}.cregis-button--sameWhite{background-color:var(--material-same-white);border-color:transparent;color:var(--text-same-black)}.cregis-button--sameWhite:active,.cregis-button--sameWhite.is-active:not(.is-disabled){color:var(--text-same-black-tap)}.cregis-button--large{padding:0 20px;height:40px;font-size:15px;line-height:22px}.cregis-button--medium{padding:0 16px;height:32px;font-size:13px;line-height:18px}.cregis-button--small{padding:0 12px;height:24px;font-size:13px;line-height:18px}.cregis-button--extraSmall{padding:0 12px;height:20px;font-size:12px;line-height:16px}:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-disabled{--cregis-btn-svg-stroke: var(--material-foreground-base-quaternary);--cregis-btn-svg-fill: var(--material-foreground-base-quaternary);color:var(--text-base-quaternary);background-color:var(--material-opaque-card-moderate);border-color:transparent;cursor:not-allowed}:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-plain.is-disabled{border:.5px solid var(--line-border-deep);background-color:var(--material-opaque-hide)}:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-plain.is-disabled:hover{color:var(--text-base-quaternary)}:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-text.is-disabled{background-color:var(--material-opaque-hide);border-color:transparent}:is(.cregis-button,.cregis-button--secondary,.cregis-button--danger,.cregis-button--foreground,.cregis-button--sameWhite).is-text.is-disabled:active{color:var(--text-base-quaternary)}.cregis-button__link{border:none;border-bottom:1px dashed var(--material-opaque-hide);background-color:var(--material-opaque-hide);color:var(--material-vibrant-brand-primary);font-weight:500;padding:0}.cregis-button__link:hover{border-bottom:1px dashed var(--text-brand-40)}.cregis-button__link:active,.cregis-button__link.is-active:not(.is-disabled){border-bottom:1px dashed var(--text-brand-disabled);color:var(--text-brand-tap)}.cregis-button__link.is-disabled{color:var(--text-base-quaternary);border-color:transparent;cursor:not-allowed}.cregis-button__link--foreground{color:var(--text-base-primary)}.cregis-button__link--foreground:hover{border-bottom:1px dashed var(--text-base-tertiary)}.cregis-button__link--foreground:active,.cregis-button__link--foreground.is-active:not(.is-disabled){border-bottom:1px dashed var(--text-base-quaternary);color:var(--text-base-secondary)}.cregis-button__link--foreground.is-disabled{color:var(--text-base-quaternary);border-color:transparent}.cregis-button__link--large{font-size:15px}.cregis-button__link--medium{font-size:13px}.cregis-button__link--small,.cregis-button__link--extraSmall{font-size:12px}.cregis-button__icon-wrapper{display:flex;flex-direction:column;align-items:center}.cregis-button__icon{--cregis-btn-svg-stroke: var(--material-foreground-base-secondary);--cregis-btn-svg-fill: var(--material-foreground-base-secondary);display:flex;justify-content:center;align-items:center;border-color:transparent;background-color:var(--material-opaque-hide);padding:0;border-radius:6px}.cregis-button__icon:hover{--cregis-btn-svg-stroke: var(--material-foreground-base-primary);--cregis-btn-svg-fill: var(--material-foreground-base-primary);background-color:var(--event-hover-secondary)}.cregis-button__icon:active,.cregis-button__icon.is-active:not(.is-disabled){--cregis-btn-svg-stroke: var(--material-foreground-base-secondary);--cregis-btn-svg-fill: var(--material-foreground-base-secondary);background-color:var(--event-focus-secondary)}.cregis-button__icon.is-disabled{--cregis-btn-svg-stroke: var(--material-foreground-base-quaternary);--cregis-btn-svg-fill: var(--material-foreground-base-quaternary);cursor:not-allowed}.cregis-button__icon.is-disabled:hover{background-color:var(--material-opaque-hide)}.cregis-button__icon-slot-inner{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;box-sizing:border-box;width:var(--cregis-btn-icon-slot-size);height:var(--cregis-btn-icon-slot-size)}.cregis-button__icon-slot-inner svg{display:block;width:var(--cregis-btn-icon-slot-size);height:var(--cregis-btn-icon-slot-size)}.cregis-button__icon--rectangle.cregis-button__icon--large{width:36px;height:28px}.cregis-button__icon--rectangle.cregis-button__icon--medium{width:32px;height:24px}.cregis-button__icon--rectangle.cregis-button__icon--small,.cregis-button__icon--rectangle.cregis-button__icon--extraSmall{width:26px;height:20px}:is(.cregis-button__icon--square,.cregis-button__icon--circle).cregis-button__icon--large{width:28px;height:28px}:is(.cregis-button__icon--square,.cregis-button__icon--circle).cregis-button__icon--medium{width:24px;height:24px}:is(.cregis-button__icon--square,.cregis-button__icon--circle).cregis-button__icon--small,:is(.cregis-button__icon--square,.cregis-button__icon--circle).cregis-button__icon--extraSmall{width:20px;height:20px}.cregis-button__icon--circle{border-radius:50%}.cregis-button__icon--professional{width:32px;height:24px}.cregis-button__icon-text{font-size:11px;line-height:14px;font-weight:500;color:var(--text-base-secondary)}.cregis-button__icon-text.is-disabled{cursor:not-allowed;color:var(--text-base-quaternary)}.cregis-checkbox__wrapper{width:fit-content;display:flex;align-items:center;gap:8px;cursor:default;-webkit-user-select:none;user-select:none}.cregis-checkbox{width:16px;height:16px;border:1px solid var(--line-border-deep);border-radius:4px;display:flex;align-items:center;justify-content:center}.cregis-checkbox svg{visibility:hidden}.cregis-checkbox:hover svg{color:var(--line-border-deep);visibility:visible}.cregis-checkbox.is-checked,.cregis-checkbox.is-indeterminate{border:1px solid var(--material-vibrant-brand-primary)!important;background-color:var(--material-vibrant-brand-primary)!important}:is(.cregis-checkbox.is-checked,.cregis-checkbox.is-indeterminate) svg{visibility:visible!important;color:var(--material-same-white)}.cregis-checkbox.is-circle{border-radius:50%}.cregis-checkbox.is-disabled{cursor:not-allowed;background-color:var(--material-opaque-card-moderate)}.cregis-checkbox.is-disabled:hover svg{visibility:hidden}.cregis-checkbox.is-checked.is-disabled{opacity:.6}.cregis-checkbox__label{font-size:15px;color:var(--text-base-primary)}.cregis-checkbox__label.is-disabled{cursor:not-allowed}.cregis-checkbox--indeterminate{width:8px;height:1.5px;border-radius:1px;background-color:var(--material-same-white)}.cregis-radio__wrapper{width:fit-content;display:flex;align-items:center;gap:8px;cursor:default;-webkit-user-select:none;user-select:none}.cregis-radio{width:16px;height:16px;border:1px solid var(--line-border-deep);border-radius:50%;display:flex;align-items:center;justify-content:center}.cregis-radio:hover .cregis-radio__inner{visibility:visible}.cregis-radio.is-checked{border:1px solid var(--material-vibrant-brand-primary)!important;background-color:var(--material-vibrant-brand-primary)!important}.cregis-radio.is-checked .cregis-radio__inner{visibility:visible!important;background-color:var(--text-same-white)}.cregis-radio.is-disabled{cursor:not-allowed;background-color:var(--material-opaque-card-moderate)}.cregis-radio.is-disabled:hover .cregis-radio__inner{visibility:hidden}.cregis-radio.is-checked.is-disabled{opacity:.6}.cregis-radio__inner{width:6px;height:6px;border-radius:50%;background-color:var(--material-foreground-base-quaternary);visibility:hidden}.cregis-radio__label{font-size:15px;color:var(--text-base-primary)}.cregis-radio__label.is-disabled{cursor:not-allowed}.cregis-divider{display:flex;align-items:center}.cregis-divider--horizontal{flex-direction:row}.cregis-divider--vertical{flex-direction:column}.cregis-tabs{display:flex;gap:16px;width:fit-content;height:29px;font-size:13px;font-weight:500;color:var(--text-base-primary);cursor:default}.cregis-tabs__item{border-bottom:2px solid var(--material-opaque-hide);transition:color .2s ease,border-color .2s ease}.cregis-tabs__item.is-active{color:var(--material-vibrant-brand-primary);border-bottom:2px solid var(--material-vibrant-brand-primary)}.cregis-tabs--large{height:33px;font-size:15px}.cregis-tabs--small{height:28px;font-size:12px}.cregis-tabs--card{height:28px;background-color:var(--material-opaque-card-moderate);border-radius:14px;padding:3px;font-size:12px;gap:0}.cregis-tabs--card.cregis-tabs--large{height:32px;border-radius:16px}.cregis-tabs--card.cregis-tabs--small{height:24px;border-radius:12px}.cregis-tabs--card .cregis-tabs__item{display:flex;align-items:center;justify-content:center;border:none;padding:0 12px}.cregis-tabs--card .cregis-tabs__item.is-active{color:var(--text-base-primary);background-color:var(--event-hover-tertiary)}.cregis-message__wrapper{position:fixed;inset:0 0 auto;z-index:10000;display:flex;justify-content:center;padding-top:40px;pointer-events:none}.cregis-message{display:flex;align-items:center;box-sizing:border-box;max-width:min(90vw,480px);padding:8px 12px;border-radius:4px;background-color:var(--effect-prompt);color:var(--text-same-white);font-size:15px;line-height:22px;text-align:center}.cregis-message-enter-active,.cregis-message-leave-active{transition:opacity .22s ease,transform .22s ease}.cregis-message-enter-from,.cregis-message-leave-to{opacity:0;transform:translateY(-10px)}.cregis-notification__wrapper{position:fixed;inset:0 0 auto;z-index:10000;display:flex;justify-content:center;padding-top:40px;pointer-events:none}.cregis-notification{display:flex;gap:8px;align-items:center;box-sizing:border-box;max-width:min(90vw,480px);padding:12px;border-radius:6px;background-color:var(--effect-prompt);color:var(--text-same-white);pointer-events:auto}.cregis-notification__content{margin-right:40px}.cregis-notification__title{font-size:15px;line-height:22px}.cregis-notification__message{font-size:13px;line-height:18px}.cregis-notification-enter-active,.cregis-notification-leave-active{transition:opacity .22s ease,transform .22s ease}.cregis-notification-enter-from,.cregis-notification-leave-to{opacity:0;transform:translateY(-10px)}.cregis-progress__wrapper{width:100%}.cregis-progress__track-wrap{position:relative;padding-top:28px}.cregis-progress{background-color:var(--material-vibrant-brand-quaternary);border-radius:8px;box-shadow:none}.cregis-progress__tip{position:absolute;top:0;left:clamp(14px,var(--cregis-progress-tip-left, 0%),calc(100% - 14px));box-sizing:border-box;padding:3px 6px;border-radius:4px;background-color:var(--effect-prompt);color:var(--text-same-white);font-size:11px;font-weight:500;line-height:14px;white-space:nowrap;transform:translate(-50%);transition:left .35s cubic-bezier(.4,0,.2,1)}.cregis-progress__tip:after{content:"";position:absolute;top:100%;left:50%;width:0;height:0;margin-left:-5px;border-width:5px 5px 0;border-style:solid;border-color:var(--effect-prompt) transparent transparent}.cregis-progress:has(.cregis-progress__sliding-block){position:relative;overflow:hidden}.cregis-progress__bar{position:relative;z-index:1;background-color:var(--material-vibrant-brand-primary);border-radius:8px;box-shadow:none;transition:width .35s cubic-bezier(.4,0,.2,1)}.cregis-progress__sliding-block{position:absolute;top:0;left:0;z-index:0;width:80px;height:100%;background-color:var(--material-vibrant-brand-primary);animation:cregis-progress-sliding-block 1.25s ease-in-out infinite alternate}@keyframes cregis-progress-sliding-block{0%{left:0}to{left:calc(100% - min(80px,100%))}}@media(prefers-reduced-motion:reduce){.cregis-progress__bar,.cregis-progress__tip{transition:none}.cregis-progress__sliding-block{animation:none;left:50%;transform:translate(-50%)}}@-webkit-keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}.cregis-progress.active .cregis-progress__bar,.cregis-progress__bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite}.cregis-progress--striped .cregis-progress__bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.cregis-popover{display:inline-block}.cregis-popover__trigger{width:fit-content;color:var(--text-base-primary)}.cregis-popover__trigger--disabled,.cregis-popover__trigger--disabled *{cursor:not-allowed}.cregis-popover__content{box-sizing:border-box;min-width:0;color:var(--text-base-primary);border-radius:6px;box-shadow:0 0 0 .5px var(--effect-shadow-shallow),0 8px 24px 0 var(--effect-shadow-deep);background-color:var(--box-flotation);overflow-wrap:anywhere;word-break:break-word;overflow-x:auto;pointer-events:auto}.cregis-popover__content--hide-scrollbar::-webkit-scrollbar{display:none}.fade-enter-active,.fade-leave-active{transition:opacity .1s}.fade-enter-from,.fade-leave-to{opacity:0}.cregis-select{display:inline-block}.cregis-select__trigger{display:flex;align-items:center;justify-content:space-between;border:.5px solid transparent;background-color:var(--material-opaque-card-moderate);border-radius:6px;-webkit-user-select:none;user-select:none}.cregis-select__trigger:hover{border:.5px solid transparent;background-color:var(--event-hover-secondary)}.cregis-select__trigger:active{color:var(--text-base-secondary)}.cregis-select.is-disabled .cregis-select__trigger-label,.cregis-select.is-disabled .cregis-select__placeholder,.cregis-select.is-disabled .cregis-select__selected{color:var(--text-base-quaternary)}.cregis-select__trigger-label{flex:1;min-width:0;overflow:hidden}.cregis-select__trigger-label>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cregis-select__placeholder{color:var(--text-base-tertiary)}.cregis-select__icon{display:inline-flex;flex-shrink:0;align-items:center;transition:transform .2s ease}.cregis-select__icon.is-open{transform:rotate(180deg)}.cregis-select__trigger--large{height:40px;padding:0 8px 0 12px;font-size:15px;line-height:22px}.cregis-select__trigger--medium{height:32px;padding:0 8px;font-size:15px;line-height:22px}.cregis-select__trigger--small{height:32px;padding:0 8px;font-size:13px;line-height:18px}.cregis-select__trigger--extraSmall{height:24px;padding:0 8px;font-size:12px;line-height:16px}.cregis-select__trigger--plain{background-color:transparent;border:.5px solid var(--line-border-deep)}.cregis-select__trigger--noBorder{background-color:transparent;border:.5px solid transparent}.cregis-select__dropdown{display:flex;flex-direction:column;min-height:100px}.cregis-select__dropdown.is-empty{justify-content:center;align-items:center}.cregis-select__dropdown-empty{margin:0;padding:0 8px;text-align:center;font-size:15px;line-height:22px;color:var(--text-base-quaternary)}.cregis-select__dropdown-filter{padding:6px;position:sticky;top:0}.cregis-select__dropdown-filter-empty{margin:0;padding-top:12px;text-align:center;font-size:15px;line-height:22px;color:var(--text-base-quaternary)}.cregis-select__dropdown-content{display:flex;flex-direction:column;gap:1px;padding:4px}.cregis-select__option{display:flex;align-items:center;padding:5px 8px;font-size:15px;line-height:22px;border-radius:6px;cursor:default}.cregis-select__option:hover{background-color:var(--event-hover-secondary)}.cregis-select__option.is-selected{background-color:var(--event-focus-secondary)}.cregis-select__option.is-disabled{cursor:not-allowed;color:var(--text-base-quaternary);pointer-events:none}.cregis-cascader{display:inline-block}.cregis-popover__content:has(.cregis-cascader__dropdown){overflow-x:visible!important}.cregis-cascader__dropdown-item .cregis-popover .cregis-popover__content{overflow-x:visible!important;box-sizing:border-box;min-width:160px;max-width:min(360px,90vw);width:max-content;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.cregis-cascader__trigger{display:flex;align-items:center;justify-content:space-between;border:.5px solid transparent;background-color:var(--material-opaque-card-moderate);border-radius:6px;-webkit-user-select:none;user-select:none}.cregis-cascader__trigger:hover{border:.5px solid transparent;background-color:var(--event-hover-secondary)}.cregis-cascader__trigger:active{color:var(--text-base-secondary)}.cregis-cascader.is-disabled .cregis-cascader__trigger-label,.cregis-cascader.is-disabled .cregis-cascader__placeholder,.cregis-cascader.is-disabled .cregis-cascader__selected{color:var(--text-base-quaternary)}.cregis-cascader__trigger-label{flex:1;min-width:0;overflow:hidden}.cregis-cascader__trigger-label>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cregis-cascader__placeholder{color:var(--text-base-tertiary)}.cregis-cascader__icon{display:inline-flex;flex-shrink:0;align-items:center;transition:transform .2s ease}.cregis-cascader__icon.is-open{transform:rotate(180deg)}.cregis-cascader__trigger--large{height:40px;padding:0 8px 0 12px;font-size:15px;line-height:22px}.cregis-cascader__trigger--medium{height:32px;padding:0 8px;font-size:15px;line-height:22px}.cregis-cascader__trigger--small{height:32px;padding:0 8px;font-size:13px;line-height:18px}.cregis-cascader__trigger--extraSmall{height:24px;padding:0 8px;font-size:12px;line-height:16px}.cregis-cascader__trigger--plain{background-color:transparent;border:.5px solid var(--line-border-deep)}.cregis-cascader__trigger--noBorder{background-color:transparent;border:.5px solid transparent}.cregis-cascader__dropdown{display:flex;flex-direction:column;min-height:100px}.cregis-cascader__dropdown.is-empty{justify-content:center;align-items:center}.cregis-cascader__dropdown-empty{margin:0;padding:0 8px;text-align:center;font-size:15px;line-height:22px;color:var(--text-base-quaternary)}.cregis-cascader__dropdown-filter{padding:6px;position:sticky;bottom:0}.cregis-cascader__dropdown-filter-empty{margin:0;padding-top:12px;text-align:center;font-size:15px;line-height:22px;color:var(--text-base-quaternary)}.cregis-cascader__dropdown-content{display:flex;flex-direction:column;gap:1px;padding:4px;position:relative}.cregis-cascader__dropdown-item{display:flex;gap:1px;align-items:stretch;height:32px;padding:0;border-radius:6px;font-size:15px;line-height:22px;box-sizing:border-box}.cregis-cascader__dropdown-item:not(.is-disabled):hover{color:var(--text-same-white);background-color:var(--material-vibrant-brand-primary)}.cregis-cascader__dropdown-item:not(.is-disabled):has(.cregis-cascader__suboption-panel:hover){background-color:transparent;color:var(--text-base-primary)}.cregis-cascader__dropdown-item:not(.is-disabled):has(.cregis-cascader__suboption-panel:hover) .cregis-cascader__suboption-trigger:not(.is-disabled){background-color:var(--event-focus-secondary)}.cregis-cascader__dropdown-item:not(.is-disabled):hover:has(.cregis-cascader__suboption-trigger.is-parent-active:not(.is-disabled)){background-color:transparent;color:var(--text-base-primary)}.cregis-cascader__dropdown-item.is-disabled{cursor:not-allowed;color:var(--text-base-quaternary);pointer-events:none}.cregis-cascader__dropdown-item-popover{display:flex;flex:1;min-width:0;min-height:32px;align-items:stretch;border-radius:6px}.cregis-cascader__leaf-only{display:flex;align-items:center;flex:1;min-width:0;height:100%;cursor:pointer;padding:0 8px;box-sizing:border-box}.cregis-cascader__leaf-only>p{margin:0}.cregis-cascader__dropdown-item>div{width:100%;min-width:0;height:100%}.cregis-cascader__dropdown-item .cregis-popover{display:block;width:100%}.cregis-cascader__dropdown-item .cregis-popover__trigger{width:100%;max-width:100%;height:100%;color:inherit}.cregis-cascader__suboption-trigger{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:0 8px;border-radius:6px}.cregis-cascader__suboption-trigger>p{flex:1;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cregis-cascader__suboption-panel{display:flex;flex-direction:column;gap:1px;line-height:22px;font-size:15px;color:var(--text-base-primary)}.cregis-cascader__suboption-row{padding:5px 8px;border-radius:6px;cursor:default;color:var(--text-base-primary);box-sizing:border-box}.cregis-cascader__suboption-row.is-active:not(.is-disabled){background-color:var(--event-focus-secondary)}.cregis-cascader__suboption-row:hover:not(.is-disabled){background-color:var(--material-vibrant-brand-primary);color:var(--text-same-white)}.cregis-cascader__suboption-row.is-disabled{cursor:not-allowed;color:var(--text-base-quaternary);pointer-events:none}.cregis-cascader__suboption-trigger.is-disabled{pointer-events:none;opacity:.55}.cregis-cascader__suboption-trigger.is-parent-active:not(.is-disabled){background-color:var(--event-focus-tertiary)}.cregis-cascader__suboption-amount-container{display:flex;align-items:center;gap:4px}.cregis-cascader__suboption-amount{height:16px;padding:0 6px;display:flex;justify-content:center;align-items:center;background-color:var(--material-opaque-card-deep);border-radius:8px;font-size:11px;font-weight:500;line-height:14px;color:var(--text-base-tertiary)}.cregis-cascader__suboption-trigger:hover:not(.is-disabled):not(.is-parent-active) .cregis-cascader__suboption-amount{color:var(--text-same-white)}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
2
|
import { ComponentOptionsMixin } from 'vue';
|
|
3
3
|
import { ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { ComputedRef } from 'vue';
|
|
4
5
|
import { CSSProperties } from 'vue';
|
|
5
6
|
import { DefineComponent } from 'vue';
|
|
6
7
|
import { InjectionKey } from 'vue';
|
|
8
|
+
import { Options } from '@popperjs/core';
|
|
9
|
+
import { Placement } from '@popperjs/core';
|
|
7
10
|
import { PublicProps } from 'vue';
|
|
8
11
|
import { Ref } from 'vue';
|
|
12
|
+
import { StringOrNumber } from './types/common';
|
|
13
|
+
import { StringOrNumber as StringOrNumber_3 } from '../../types/common';
|
|
14
|
+
|
|
15
|
+
declare type Align = 'left' | 'center' | 'right';
|
|
16
|
+
|
|
17
|
+
declare type Align_2 = 'left' | 'center' | 'right';
|
|
9
18
|
|
|
10
19
|
export declare const Button: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
11
20
|
type: ButtonType;
|
|
@@ -16,6 +25,7 @@ export declare const Button: DefineComponent<ButtonProps, {}, {}, {}, {}, Compon
|
|
|
16
25
|
export declare interface ButtonProps {
|
|
17
26
|
type?: ButtonType;
|
|
18
27
|
size?: ButtonSize;
|
|
28
|
+
width?: string;
|
|
19
29
|
plain?: boolean;
|
|
20
30
|
text?: boolean;
|
|
21
31
|
disabled?: boolean;
|
|
@@ -34,6 +44,90 @@ export declare type ButtonSize = 'extraSmall' | 'small' | 'medium' | 'large';
|
|
|
34
44
|
|
|
35
45
|
export declare type ButtonType = 'primary' | 'secondary' | 'danger' | 'foreground' | 'sameWhite';
|
|
36
46
|
|
|
47
|
+
export declare const Cascader: DefineComponent<CascaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
48
|
+
"update:modelValue": (value: StringOrNumber_3) => any;
|
|
49
|
+
change: (value: StringOrNumber_3) => any;
|
|
50
|
+
"visible-change": (value: boolean) => any;
|
|
51
|
+
"filter-input": (value: string) => any;
|
|
52
|
+
"filter-clear": () => any;
|
|
53
|
+
}, string, PublicProps, Readonly<CascaderProps> & Readonly<{
|
|
54
|
+
"onUpdate:modelValue"?: (value: StringOrNumber_3) => any;
|
|
55
|
+
onChange?: (value: StringOrNumber_3) => any;
|
|
56
|
+
"onVisible-change"?: (value: boolean) => any;
|
|
57
|
+
"onFilter-input"?: (value: string) => any;
|
|
58
|
+
"onFilter-clear"?: () => any;
|
|
59
|
+
}>, {
|
|
60
|
+
type: "plain" | "default" | "noBorder";
|
|
61
|
+
size: "small" | "medium" | "large" | "extraSmall";
|
|
62
|
+
placeholder: string;
|
|
63
|
+
offset: [number, number];
|
|
64
|
+
options: CascaderRootOption[];
|
|
65
|
+
align: "left" | "right" | "center";
|
|
66
|
+
filterDebounceMs: number;
|
|
67
|
+
noDataText: string;
|
|
68
|
+
noMatchText: string;
|
|
69
|
+
triggerWidth: StringOrNumber_3;
|
|
70
|
+
subPopperWidth: StringOrNumber_3;
|
|
71
|
+
showSubOptionAmount: boolean;
|
|
72
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
73
|
+
|
|
74
|
+
export declare interface CascaderEmits {
|
|
75
|
+
(e: 'update:modelValue', value: StringOrNumber_3): void;
|
|
76
|
+
(e: 'change', value: StringOrNumber_3): void;
|
|
77
|
+
(e: 'visible-change', value: boolean): void;
|
|
78
|
+
(e: 'filter-input', value: string): void;
|
|
79
|
+
(e: 'filter-clear'): void;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export declare interface CascaderProps {
|
|
83
|
+
/** 选中的 option `value`(一级或二级) */
|
|
84
|
+
modelValue?: StringOrNumber_3;
|
|
85
|
+
options?: CascaderRootOption[];
|
|
86
|
+
type?: Type_3;
|
|
87
|
+
size?: Size_2;
|
|
88
|
+
align?: Align_2;
|
|
89
|
+
placeholder?: string;
|
|
90
|
+
disabled?: boolean;
|
|
91
|
+
filterable?: boolean;
|
|
92
|
+
filterDebounceMs?: number;
|
|
93
|
+
noDataText?: string;
|
|
94
|
+
noMatchText?: string;
|
|
95
|
+
triggerWidth?: StringOrNumber_3;
|
|
96
|
+
popperWidth?: StringOrNumber_3;
|
|
97
|
+
/** 二级 Popover 宽度,默认 200px */
|
|
98
|
+
subPopperWidth?: StringOrNumber_3;
|
|
99
|
+
maxPopperHeight?: StringOrNumber_3;
|
|
100
|
+
/** 一级下拉相对触发器的 Popper 偏移 `[skidding, distance]`,与 Popover 一致 */
|
|
101
|
+
offset?: [number, number];
|
|
102
|
+
showSubOptionAmount?: boolean;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/** 一级选项;有 `children` 且非空时用 Popover 展开二级 */
|
|
106
|
+
export declare interface CascaderRootOption {
|
|
107
|
+
label: string;
|
|
108
|
+
value: StringOrNumber_3;
|
|
109
|
+
disabled?: boolean;
|
|
110
|
+
filterText?: string;
|
|
111
|
+
children?: CascaderSubOption[];
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export declare interface CascaderScrollPayload {
|
|
115
|
+
scrollTop: number;
|
|
116
|
+
scrollLeft: number;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** 当前选中项所在层级:0 未选;1 一级;2 二级 */
|
|
120
|
+
export declare type CascaderSelectionLevel = 0 | 1 | 2;
|
|
121
|
+
|
|
122
|
+
/** 二级选项 */
|
|
123
|
+
export declare interface CascaderSubOption {
|
|
124
|
+
label: string;
|
|
125
|
+
value: StringOrNumber_3;
|
|
126
|
+
disabled?: boolean;
|
|
127
|
+
/** 参与过滤的文本,默认等于 `label` */
|
|
128
|
+
filterText?: string;
|
|
129
|
+
}
|
|
130
|
+
|
|
37
131
|
export declare const Checkbox: DefineComponent<CheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
38
132
|
"update:modelValue": (value: number | boolean) => any;
|
|
39
133
|
change: (value: number | boolean) => any;
|
|
@@ -103,9 +197,9 @@ export declare const Input: DefineComponent<InputProps, {
|
|
|
103
197
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
104
198
|
|
|
105
199
|
export declare interface InputEmits {
|
|
106
|
-
(e: 'update:modelValue', value:
|
|
107
|
-
(e: 'input', value:
|
|
108
|
-
(e: 'change', value:
|
|
200
|
+
(e: 'update:modelValue', value: StringOrNumber_2): void;
|
|
201
|
+
(e: 'input', value: StringOrNumber_2): void;
|
|
202
|
+
(e: 'change', value: StringOrNumber_2): void;
|
|
109
203
|
(e: 'focus', value: FocusEvent): void;
|
|
110
204
|
(e: 'blur', value: FocusEvent): void;
|
|
111
205
|
(e: 'clear'): void;
|
|
@@ -113,7 +207,7 @@ export declare interface InputEmits {
|
|
|
113
207
|
|
|
114
208
|
export declare interface InputProps {
|
|
115
209
|
type?: 'text' | 'number' | 'textarea';
|
|
116
|
-
modelValue:
|
|
210
|
+
modelValue: StringOrNumber_2;
|
|
117
211
|
size?: 'small' | 'medium' | 'large';
|
|
118
212
|
width?: string;
|
|
119
213
|
placeholder?: string;
|
|
@@ -124,6 +218,107 @@ export declare interface InputProps {
|
|
|
124
218
|
rows?: number;
|
|
125
219
|
}
|
|
126
220
|
|
|
221
|
+
/** 函数式轻提示,默认停留 1s,可通过对象配置时长;已有提示展示时忽略新调用 */
|
|
222
|
+
export declare function Message(source: MessageParam): void;
|
|
223
|
+
|
|
224
|
+
export declare type MessageParam = string | MessageProps;
|
|
225
|
+
|
|
226
|
+
export declare interface MessageProps {
|
|
227
|
+
message: string;
|
|
228
|
+
duration?: number;
|
|
229
|
+
onVanish?: () => void;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/** 函数式轻提示,默认停留 1s,可通过对象配置时长;已有提示展示时忽略新调用 */
|
|
233
|
+
declare function Notification_2(source: NotificationProps): void;
|
|
234
|
+
export { Notification_2 as Notification }
|
|
235
|
+
|
|
236
|
+
export declare interface NotificationProps {
|
|
237
|
+
title: string;
|
|
238
|
+
message: string;
|
|
239
|
+
btnText: string;
|
|
240
|
+
type?: Type;
|
|
241
|
+
onVanish?: () => void;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
declare const Option_2: DefineComponent<OptionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<OptionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
245
|
+
export { Option_2 as Option }
|
|
246
|
+
|
|
247
|
+
export declare interface OptionProps {
|
|
248
|
+
label: string;
|
|
249
|
+
value: StringOrNumber_3;
|
|
250
|
+
disabled?: boolean;
|
|
251
|
+
/** 参与过滤的文本,默认等于 `label`;自定义插槽展示时可用拼音、别名等扩展搜索 */
|
|
252
|
+
filterText?: string;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export declare const Popover: DefineComponent<PopoverProps, {
|
|
256
|
+
isOpen: Ref<boolean>;
|
|
257
|
+
open: () => void;
|
|
258
|
+
close: () => void;
|
|
259
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
260
|
+
scroll: (payload: PopoverScrollPayload) => any;
|
|
261
|
+
"visible-change": (value: boolean) => any;
|
|
262
|
+
"click-outside": (value: boolean) => any;
|
|
263
|
+
}, string, PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
264
|
+
onScroll?: (payload: PopoverScrollPayload) => any;
|
|
265
|
+
"onVisible-change"?: (value: boolean) => any;
|
|
266
|
+
"onClick-outside"?: (value: boolean) => any;
|
|
267
|
+
}>, {
|
|
268
|
+
disabled: boolean;
|
|
269
|
+
preserveContentMount: boolean;
|
|
270
|
+
trigger: "hover" | "click";
|
|
271
|
+
placement: Placement;
|
|
272
|
+
manual: boolean;
|
|
273
|
+
openDelay: number;
|
|
274
|
+
closeDelay: number;
|
|
275
|
+
offset: [number, number];
|
|
276
|
+
padding: string | number;
|
|
277
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
278
|
+
|
|
279
|
+
export declare interface PopoverEmits {
|
|
280
|
+
(e: 'visible-change', value: boolean): void;
|
|
281
|
+
(e: 'click-outside', value: boolean): void;
|
|
282
|
+
(e: 'scroll', payload: PopoverScrollPayload): void;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export declare interface PopoverInstance {
|
|
286
|
+
isOpen: Ref<boolean>;
|
|
287
|
+
open: () => void;
|
|
288
|
+
close: () => void;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export declare interface PopoverProps {
|
|
292
|
+
preserveContentMount?: boolean;
|
|
293
|
+
trigger?: 'hover' | 'click';
|
|
294
|
+
placement?: Placement;
|
|
295
|
+
manual?: boolean;
|
|
296
|
+
disabled?: boolean;
|
|
297
|
+
popoverOptions?: Options;
|
|
298
|
+
openDelay?: number;
|
|
299
|
+
closeDelay?: number;
|
|
300
|
+
popperWidth?: string | number;
|
|
301
|
+
maxPopperHeight?: string | number;
|
|
302
|
+
offset?: [number, number];
|
|
303
|
+
padding?: string | number;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export declare interface PopoverScrollPayload {
|
|
307
|
+
scrollTop: number;
|
|
308
|
+
scrollLeft: number;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export declare const Progress: DefineComponent<ProgressProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
|
|
312
|
+
strokeWidth: number;
|
|
313
|
+
showPercentage: boolean;
|
|
314
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
315
|
+
|
|
316
|
+
export declare interface ProgressProps {
|
|
317
|
+
percentage: number;
|
|
318
|
+
strokeWidth?: number;
|
|
319
|
+
showPercentage?: boolean;
|
|
320
|
+
}
|
|
321
|
+
|
|
127
322
|
export declare const Radio: DefineComponent<RadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
128
323
|
"update:modelValue": (value: RadioValue) => any;
|
|
129
324
|
change: (value: RadioValue) => any;
|
|
@@ -146,7 +341,78 @@ export declare interface RadioProps {
|
|
|
146
341
|
|
|
147
342
|
export declare type RadioValue = boolean | string | number;
|
|
148
343
|
|
|
149
|
-
declare
|
|
344
|
+
export declare const Select: DefineComponent<SelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
345
|
+
"update:modelValue": (value: StringOrNumber_3) => any;
|
|
346
|
+
change: (value: StringOrNumber_3) => any;
|
|
347
|
+
"visible-change": (value: boolean) => any;
|
|
348
|
+
"filter-input": (value: string) => any;
|
|
349
|
+
"filter-clear": () => any;
|
|
350
|
+
}, string, PublicProps, Readonly<SelectProps> & Readonly<{
|
|
351
|
+
"onUpdate:modelValue"?: (value: StringOrNumber_3) => any;
|
|
352
|
+
onChange?: (value: StringOrNumber_3) => any;
|
|
353
|
+
"onVisible-change"?: (value: boolean) => any;
|
|
354
|
+
"onFilter-input"?: (value: string) => any;
|
|
355
|
+
"onFilter-clear"?: () => any;
|
|
356
|
+
}>, {
|
|
357
|
+
type: "plain" | "default" | "noBorder";
|
|
358
|
+
size: "small" | "medium" | "large" | "extraSmall";
|
|
359
|
+
placeholder: string;
|
|
360
|
+
align: "left" | "right" | "center";
|
|
361
|
+
filterDebounceMs: number;
|
|
362
|
+
noDataText: string;
|
|
363
|
+
noMatchText: string;
|
|
364
|
+
triggerWidth: StringOrNumber_3;
|
|
365
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
366
|
+
|
|
367
|
+
export declare interface SelectContext {
|
|
368
|
+
modelValue: ComputedRef<StringOrNumber_3 | undefined>;
|
|
369
|
+
disabled: ComputedRef<boolean>;
|
|
370
|
+
selectOption: (value: StringOrNumber_3, label: string) => void;
|
|
371
|
+
isOptionSelected: (value: StringOrNumber_3) => boolean;
|
|
372
|
+
registerOption: (value: StringOrNumber_3, label: string, searchText?: string) => () => void;
|
|
373
|
+
filterQuery: ComputedRef<string>;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export declare interface SelectEmits {
|
|
377
|
+
(e: 'update:modelValue', value: StringOrNumber_3): void;
|
|
378
|
+
(e: 'change', value: StringOrNumber_3): void;
|
|
379
|
+
(e: 'visible-change', value: boolean): void;
|
|
380
|
+
(e: 'filter-input', value: string): void;
|
|
381
|
+
(e: 'filter-clear'): void;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export declare const selectInjectKey: InjectionKey<SelectContext>;
|
|
385
|
+
|
|
386
|
+
export declare interface SelectProps {
|
|
387
|
+
modelValue?: StringOrNumber_3;
|
|
388
|
+
type?: Type_2;
|
|
389
|
+
size?: Size;
|
|
390
|
+
align?: Align;
|
|
391
|
+
placeholder?: string;
|
|
392
|
+
disabled?: boolean;
|
|
393
|
+
filterable?: boolean;
|
|
394
|
+
/** 搜索框防抖毫秒数,默认 200 */
|
|
395
|
+
filterDebounceMs?: number;
|
|
396
|
+
noDataText?: string;
|
|
397
|
+
/** 可搜索时无匹配项的提示 */
|
|
398
|
+
noMatchText?: string;
|
|
399
|
+
triggerWidth?: StringOrNumber_3;
|
|
400
|
+
popperWidth?: StringOrNumber_3;
|
|
401
|
+
maxPopperHeight?: StringOrNumber_3;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export declare interface SelectScrollPayload {
|
|
405
|
+
scrollTop: number;
|
|
406
|
+
scrollLeft: number;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
declare type Size = 'large' | 'medium' | 'small' | 'extraSmall';
|
|
410
|
+
|
|
411
|
+
declare type Size_2 = 'large' | 'medium' | 'small' | 'extraSmall';
|
|
412
|
+
|
|
413
|
+
export { StringOrNumber }
|
|
414
|
+
|
|
415
|
+
declare type StringOrNumber_2 = string | number;
|
|
150
416
|
|
|
151
417
|
export declare const TabPane: DefineComponent<TabPaneProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TabPaneProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
152
418
|
|
|
@@ -184,4 +450,10 @@ export declare interface TabsProps {
|
|
|
184
450
|
size?: TabSize;
|
|
185
451
|
}
|
|
186
452
|
|
|
453
|
+
export declare type Type = 'primary' | 'info' | 'success' | 'warning' | 'error';
|
|
454
|
+
|
|
455
|
+
declare type Type_2 = 'default' | 'plain' | 'noBorder';
|
|
456
|
+
|
|
457
|
+
declare type Type_3 = 'default' | 'plain' | 'noBorder';
|
|
458
|
+
|
|
187
459
|
export { }
|