@voicenter-team/voicenter-ui-plus 4.0.0-beta.6 → 4.0.0-beta.8
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 +4 -1
- package/library/assets/components/VcFilterBar/VcFilterAddMenu.css +1 -0
- package/library/assets/components/VcFilterBar/VcFilterBar.css +1 -0
- package/library/assets/components/VcFilterBar/VcFilterChip.css +1 -0
- package/library/assets/components/VcFilterBar/VcFilterChipEditor.css +1 -0
- package/library/assets/components/VcFilterBar/VcFilterEditorModal.css +1 -0
- package/library/assets/components/VcFilterBar/VcFilterEditorPanel.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterBooleanEditor.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterMultiselectEditor.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterRangeEditor.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterSelectEditor.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterTextEditor.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterTextListEditor.css +1 -0
- package/library/assets/components/VcTimeInput/VcTimeInput.css +1 -1
- package/library/components/VcFilterBar/VcFilterAddMenu.vue.mjs +380 -0
- package/library/components/VcFilterBar/VcFilterAddMenu.vue3.mjs +5 -0
- package/library/components/VcFilterBar/VcFilterBar.vue.mjs +469 -0
- package/library/components/VcFilterBar/VcFilterBar.vue3.mjs +5 -0
- package/library/components/VcFilterBar/VcFilterChip.vue.mjs +136 -0
- package/library/components/VcFilterBar/VcFilterChip.vue3.mjs +5 -0
- package/library/components/VcFilterBar/VcFilterChipEditor.vue.mjs +133 -0
- package/library/components/VcFilterBar/VcFilterChipEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/VcFilterEditorModal.vue.mjs +90 -0
- package/library/components/VcFilterBar/VcFilterEditorModal.vue3.mjs +5 -0
- package/library/components/VcFilterBar/VcFilterEditorPanel.vue.mjs +179 -0
- package/library/components/VcFilterBar/VcFilterEditorPanel.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.mjs +62 -0
- package/library/components/VcFilterBar/editors/VcFilterBooleanEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.mjs +199 -0
- package/library/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterRangeEditor.vue.mjs +124 -0
- package/library/components/VcFilterBar/editors/VcFilterRangeEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterSelectEditor.vue.mjs +96 -0
- package/library/components/VcFilterBar/editors/VcFilterSelectEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterTextEditor.vue.mjs +58 -0
- package/library/components/VcFilterBar/editors/VcFilterTextEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterTextListEditor.vue.mjs +155 -0
- package/library/components/VcFilterBar/editors/VcFilterTextListEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/filterBarChip.mjs +59 -0
- package/library/components/VcFilterBar/filterBarDate.mjs +69 -0
- package/library/components/VcFilterBar/filterBarDraft.mjs +86 -0
- package/library/components/VcFilterBar/filterBarEditors.mjs +36 -0
- package/library/components/VcFilterBar/filterBarErrors.mjs +57 -0
- package/library/components/VcFilterBar/filterBarModel.mjs +378 -0
- package/library/components/VcFilterBar/filterBarOptions.mjs +253 -0
- package/library/components/VcFilterBar/filterBarSearch.mjs +89 -0
- package/library/components/VcFilterBar/filterBarValidate.mjs +99 -0
- package/library/components/VcTimeInput/VcTimeInput.vue.mjs +178 -36
- package/library/index.mjs +227 -162
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/locales/en.json.mjs +51 -1
- package/library/plugin-components.gen.mjs +125 -122
- package/library/plugin.mjs +225 -160
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +25 -1
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/tokens/tokens.mjs +2 -0
- package/library/types/components/VcFilterBar/VcFilterAddMenu.vue.d.ts +39 -0
- package/library/types/components/VcFilterBar/VcFilterBar.vue.d.ts +132 -0
- package/library/types/components/VcFilterBar/VcFilterChip.vue.d.ts +42 -0
- package/library/types/components/VcFilterBar/VcFilterChipEditor.vue.d.ts +46 -0
- package/library/types/components/VcFilterBar/VcFilterEditorModal.vue.d.ts +40 -0
- package/library/types/components/VcFilterBar/VcFilterEditorPanel.vue.d.ts +116 -0
- package/library/types/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.d.ts +66 -0
- package/library/types/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.d.ts +73 -0
- package/library/types/components/VcFilterBar/editors/VcFilterRangeEditor.vue.d.ts +62 -0
- package/library/types/components/VcFilterBar/editors/VcFilterSelectEditor.vue.d.ts +62 -0
- package/library/types/components/VcFilterBar/editors/VcFilterTextEditor.vue.d.ts +68 -0
- package/library/types/components/VcFilterBar/editors/VcFilterTextListEditor.vue.d.ts +64 -0
- package/library/types/components/VcFilterBar/filterBarChip.d.ts +23 -0
- package/library/types/components/VcFilterBar/filterBarDate.d.ts +14 -0
- package/library/types/components/VcFilterBar/filterBarDraft.d.ts +28 -0
- package/library/types/components/VcFilterBar/filterBarEditors.d.ts +7 -0
- package/library/types/components/VcFilterBar/filterBarErrors.d.ts +22 -0
- package/library/types/components/VcFilterBar/filterBarModel.d.ts +83 -0
- package/library/types/components/VcFilterBar/filterBarOptions.d.ts +52 -0
- package/library/types/components/VcFilterBar/filterBarSearch.d.ts +23 -0
- package/library/types/components/VcFilterBar/filterBarValidate.d.ts +34 -0
- package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +1 -1
- package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +29 -6
- package/library/types/components/exports.d.ts +3 -1
- package/library/types/components.gen.d.ts +1 -0
- package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +3 -3
- package/library/types/index.d.ts +8 -0
- package/library/types/localization/locales/en.json.d.ts +51 -1
- package/library/types/tokens/tokens.d.ts +2 -1
- package/library/types/types/VcFilterBar.types.d.ts +329 -0
- package/library/types/types/VcTimeInput.types.d.ts +3 -0
- package/library/types/types/index.d.ts +2 -0
- package/package.json +1 -1
package/library/style.css
CHANGED
|
@@ -138,6 +138,30 @@ button.vc-button,.vc-button{position:relative;display:inline-flex;cursor:pointer
|
|
|
138
138
|
|
|
139
139
|
.vc-input[data-v-2cd60582]{margin:0;flex-grow:1;border-style:none;background-color:transparent;padding-left:.75rem;padding-right:.75rem;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.vc-input__container[data-v-2cd60582]{display:flex;width:100%;max-width:100%;overflow:hidden;border-radius:var(--vc-radius-control);border-width:1px;border-color:var(--vc-input);font-size:.875rem;min-height:var(--vc-size-control-md);transition:border-color .2s ease-in-out}.vc-input__container[data-v-2cd60582]:hover:not(.is--disabled){border-color:var(--vc-input--hover)}.vc-input__container input[data-v-2cd60582]:-webkit-autofill,.vc-input__container input[data-v-2cd60582]:-webkit-autofill:hover,.vc-input__container input[data-v-2cd60582]:-webkit-autofill:focus,.vc-input__container input[data-v-2cd60582]:-internal-autofill-selected{background-color:transparent!important;background-image:none!important;color:transparent!important}.vc-input__container.is--prefix-icon .vc-input[data-v-2cd60582]{padding-left:0}.vc-input__container.is--prefix-icon .vc-input[data-v-2cd60582]:where([dir=rtl],[dir=rtl] *){padding-right:0}.vc-input__container.is--clearable .vc-input[data-v-2cd60582]{padding-right:0}.vc-input__container.is--clearable .vc-input[data-v-2cd60582]:where([dir=rtl],[dir=rtl] *){padding-left:0}.vc-input__container.is--disabled[data-v-2cd60582]{background-color:var(--vc-bg-inset)}.vc-input__container.is--disabled:hover .vc-input[data-v-2cd60582],.vc-input__container.is--disabled:hover input[data-v-2cd60582]{cursor:not-allowed}.vc-input__container.is--error[data-v-2cd60582]{border-color:var(--vc-action-danger)}.vc-input__clearable[data-v-2cd60582]{display:flex;flex-shrink:0;cursor:pointer;align-items:center;justify-content:center;padding-inline:.25rem 0}.vc-input__clearable:hover i[data-v-2cd60582]{color:var(--vc-content-brand--hover)}.vc-input__clearable:hover i[data-v-2cd60582]:active{color:var(--vc-content-brand--pressed)}.vc-input-color--primary[data-v-2cd60582]:hover:not(.is--disabled){border-color:color-mix(in srgb,var(--vc-action-primary) 45%,var(--vc-input))}.vc-input-color--primary.is--focus[data-v-2cd60582]:not(.is--disabled):not(.is--error){border-color:var(--vc-action-primary--hover)}.vc-input-color--secondary[data-v-2cd60582]:hover:not(.is--disabled){border-color:color-mix(in srgb,var(--vc-action-secondary) 45%,var(--vc-input))}.vc-input-color--secondary.is--focus[data-v-2cd60582]:not(.is--disabled):not(.is--error){border-color:var(--vc-action-secondary--hover)}.vc-input-color--destructive[data-v-2cd60582]:hover:not(.is--disabled){border-color:color-mix(in srgb,var(--vc-action-danger) 45%,var(--vc-input))}.vc-input-color--destructive.is--focus[data-v-2cd60582]:not(.is--disabled):not(.is--error){border-color:var(--vc-action-danger--hover)}.vc-input-color--success[data-v-2cd60582]:hover:not(.is--disabled){border-color:color-mix(in srgb,var(--vc-action-success) 45%,var(--vc-input))}.vc-input-color--success.is--focus[data-v-2cd60582]:not(.is--disabled):not(.is--error){border-color:var(--vc-action-success--hover)}.vc-input-color--warning[data-v-2cd60582]:hover:not(.is--disabled){border-color:color-mix(in srgb,var(--vc-action-warning) 45%,var(--vc-input))}.vc-input-color--warning.is--focus[data-v-2cd60582]:not(.is--disabled):not(.is--error){border-color:var(--vc-action-warning--hover)}.vc-input-color--info[data-v-2cd60582]:hover:not(.is--disabled){border-color:color-mix(in srgb,var(--vc-action-info) 45%,var(--vc-input))}.vc-input-color--info.is--focus[data-v-2cd60582]:not(.is--disabled):not(.is--error){border-color:var(--vc-action-info--hover)}.vc-input__file-uploader-wrapper-input[data-v-2cd60582]{display:none}.vc-input__file-uploader-wrapper-label[data-v-2cd60582]{padding-bottom:.5rem}.vc-input__message-wrapper[data-v-2cd60582]{position:relative;width:100%;font-size:.75rem;line-height:1.5}.vc-input__message-wrapper--text[data-v-2cd60582]{left:0;top:0;display:inline-flex;width:100%;flex-wrap:wrap;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;color:var(--vc-content-tertiary)}.vc-input__error-wrapper[data-v-2cd60582]{position:relative;width:100%;font-size:.75rem;line-height:1.5}.vc-input__error-wrapper--text[data-v-2cd60582]{left:0;top:0;display:inline-flex;width:100%;flex-wrap:wrap;overflow:hidden;text-overflow:ellipsis;white-space:normal;font-size:.75rem;color:var(--vc-content-danger)}
|
|
140
140
|
|
|
141
|
+
.vc-filter-boolean-editor__error{margin:0 0 8px;font-size:12px;color:var(--vc-content-danger)}.vc-filter-boolean-editor{padding:12px 16px}
|
|
142
|
+
|
|
143
|
+
.vc-filter-multiselect-editor{display:flex;flex-direction:column}.vc-filter-multiselect-editor__search{padding:12px 16px 4px}.vc-filter-multiselect-editor__list{display:flex;flex-direction:column;max-height:280px;overflow-y:auto;padding:4px 16px 8px}.vc-filter-multiselect-editor__caption{margin:4px 0 2px;font-size:12px;color:var(--vc-content-tertiary)}.vc-filter-multiselect-editor__row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}.vc-filter-multiselect-editor__aside{flex-shrink:0;font-size:12px;color:var(--vc-content-tertiary)}.vc-filter-multiselect-editor__aside.is-refused{color:var(--vc-content-danger)}.vc-filter-multiselect-editor__message{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:12px 16px;font-size:14px;color:var(--vc-content-secondary)}.vc-filter-multiselect-editor__problem{margin:0;padding:0 16px 8px;font-size:12px;color:var(--vc-content-danger)}
|
|
144
|
+
|
|
145
|
+
.vc-filter-range-editor{display:flex;flex-direction:column;gap:8px;padding:12px 16px}.vc-filter-range-editor__bounds{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 12px}.vc-filter-range-editor__bound{display:contents}.vc-filter-range-editor__label{font-size:14px;color:var(--vc-content-secondary)}.vc-filter-range-editor__problem{margin:0;font-size:12px;color:var(--vc-content-danger)}
|
|
146
|
+
|
|
147
|
+
.vc-filter-select-editor__error{margin:0 0 8px;font-size:12px;color:var(--vc-content-danger)}.vc-filter-select-editor__list{display:flex;flex-direction:column;gap:4px;max-height:280px;overflow-y:auto;padding:12px 16px}.vc-filter-select-editor__message{margin:0;padding:12px 16px;font-size:14px;color:var(--vc-content-secondary)}
|
|
148
|
+
|
|
149
|
+
.vc-filter-text-editor{display:flex;flex-direction:column;gap:6px;padding:12px 16px}.vc-filter-text-editor__problem{margin:0;font-size:12px;color:var(--vc-content-danger)}
|
|
150
|
+
|
|
151
|
+
.vc-filter-text-list-editor{display:flex;flex-direction:column;gap:6px;max-height:320px;overflow-y:auto;padding:12px 16px}.vc-filter-text-list-editor__row{display:flex;align-items:center;gap:4px}.vc-filter-text-list-editor__note{margin:0;font-size:12px;color:var(--vc-content-tertiary)}.vc-filter-text-list-editor__problem{margin:0;font-size:12px;color:var(--vc-content-danger)}
|
|
152
|
+
|
|
153
|
+
.vc-filter-add-menu__popover.vc-popover{padding:0}.vc-filter-add-menu{display:flex;flex-direction:column;color:var(--vc-content-primary)}.vc-filter-add-menu__reference{display:inline-flex}.vc-filter-add-menu__search{padding:12px 12px 4px}.vc-filter-add-menu__list{display:flex;flex-direction:column;max-height:360px;overflow-y:auto;padding:0 6px 8px}.vc-filter-add-menu__group{margin:10px 10px 4px;font-size:12px;font-weight:600;color:var(--vc-content-tertiary)}.vc-filter-add-menu__item{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:0 10px;border:0;border-radius:var(--vc-radius-control);background:transparent;font:inherit;font-size:14px;color:var(--vc-content-primary);text-align:start;cursor:pointer}.vc-filter-add-menu__item:hover,.vc-filter-add-menu__item:focus-visible{outline:none;background:var(--vc-bg-inset)}.vc-filter-add-menu__item.is-disabled{color:var(--vc-content-disabled);cursor:default}.vc-filter-add-menu__icon{flex-shrink:0;font-size:16px;color:var(--vc-content-secondary)}.vc-filter-add-menu__label{flex-shrink:0}.vc-filter-add-menu__preview{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:end;font-size:12px;color:var(--vc-content-tertiary)}.vc-filter-add-menu__empty{margin:0;padding:12px 10px;font-size:14px;color:var(--vc-content-secondary)}
|
|
154
|
+
|
|
155
|
+
.vc-filter-bar{display:flex;flex-direction:column;min-width:0}.vc-filter-bar__toolbar{display:flex;flex-direction:column;gap:10px;padding:14px 16px 12px}.vc-filter-bar__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}.vc-filter-bar__date.el-date-editor.el-range-editor{flex:0 0 236px;width:236px}.vc-filter-bar__date.el-date-editor.el-range-editor.el-date-editor--datetimerange{flex-basis:352px;width:352px}.vc-filter-bar__search{flex:1 1 260px;min-width:200px;max-width:340px}.vc-filter-bar__picker{flex:0 0 140px;width:140px}.vc-filter-bar__linked{flex:0 0 160px;width:160px}.vc-filter-bar__hint{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;color:var(--vc-content-secondary)}.vc-filter-bar__end{display:flex;align-items:center;gap:6px;margin-inline-start:auto}.vc-filter-bar__toggle{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:1px solid var(--vc-input);border-radius:var(--vc-radius-control);background:var(--vc-bg-field);font:inherit;font-size:14px;color:var(--vc-content-primary);white-space:nowrap;cursor:pointer;transition:background-color .15s ease}.vc-filter-bar__toggle:hover{background:var(--vc-bg-inset)}.vc-filter-bar__toggle:focus-visible{outline:none;box-shadow:0 0 0 2px var(--vc-ring)}.vc-filter-bar__toggle-icon{flex-shrink:0;font-size:16px;color:var(--vc-content-tertiary)}.vc-filter-bar__chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.vc-filter-bar__date--error.el-date-editor.el-range-editor{box-shadow:0 0 0 1px var(--vc-content-danger) inset}.vc-filter-bar__errors{display:flex;align-items:flex-start;gap:8px;font-size:14px;color:var(--vc-content-danger)}.vc-filter-bar__errors-icon{flex-shrink:0;margin-top:2px;font-size:16px}.vc-filter-bar__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:10px 16px;border-top:1px solid var(--vc-border)}.vc-filter-bar__footer-start,.vc-filter-bar__footer-end{display:flex;flex-wrap:wrap;align-items:center;gap:8px}@media (max-width: 640px){.vc-filter-bar__date.el-date-editor.el-range-editor,.vc-filter-bar__search,.vc-filter-bar__linked{flex:1 1 100%;width:100%}.vc-filter-bar__end{margin-inline-start:0}}
|
|
156
|
+
|
|
157
|
+
.vc-filter-chip{display:inline-flex;align-items:stretch;height:28px;max-width:100%;border:1px solid var(--vc-border-strong);border-radius:var(--vc-radius-control);background:var(--vc-bg-surface);font-size:13px;line-height:26px;white-space:nowrap;overflow:hidden}.vc-filter-chip.is-exclude{border-color:color-mix(in srgb,var(--vc-action-danger) 45%,var(--vc-border-strong))}.vc-filter-chip.is-error{border-color:var(--vc-content-danger)}.vc-filter-chip__main{display:inline-flex;align-items:stretch;min-width:0;padding:0;border:0;background:transparent;font:inherit;color:var(--vc-content-secondary);cursor:pointer}.vc-filter-chip__main:hover .vc-filter-chip__segment:not(.vc-filter-chip__segment--mode){background:var(--vc-bg-inset)}.vc-filter-chip__main:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--vc-ring)}.vc-filter-chip__segment{display:inline-flex;align-items:center;gap:6px;min-width:0;padding:0 8px;transition:background-color .15s ease}.vc-filter-chip__segment+.vc-filter-chip__segment{border-inline-start:1px solid var(--vc-border)}.vc-filter-chip__segment--mode{padding:0 6px;background:color-mix(in srgb,var(--vc-action-danger) 14%,var(--vc-bg-surface));color:var(--vc-content-danger)}.vc-filter-chip__icon{flex-shrink:0;font-size:14px}.vc-filter-chip__value{display:block;min-width:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;color:var(--vc-content-primary);font-weight:500}.vc-filter-chip__value.is-pending{color:var(--vc-content-tertiary);font-weight:400}.vc-filter-chip__alert{color:var(--vc-content-danger)}.vc-filter-chip__remove{display:inline-flex;align-items:center;justify-content:center;width:26px;padding:0;border:0;border-inline-start:1px solid var(--vc-border);background:transparent;color:var(--vc-content-tertiary);cursor:pointer;font-size:14px}.vc-filter-chip__remove:hover{background:var(--vc-bg-inset);color:var(--vc-content-primary)}.vc-filter-chip__remove:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--vc-ring)}
|
|
158
|
+
|
|
159
|
+
.vc-filter-chip-editor__reference{display:inline-flex;max-width:100%}
|
|
160
|
+
|
|
161
|
+
.vc-filter-editor-modal__panel .vc-filter-editor-panel__head{padding-top:0}
|
|
162
|
+
|
|
163
|
+
.vc-filter-editor-panel{display:flex;flex-direction:column;color:var(--vc-content-primary)}.vc-filter-editor-panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 8px;border-bottom:1px solid var(--vc-border)}.vc-filter-editor-panel__head-start{display:inline-flex;align-items:center;gap:4px;min-width:0;padding-inline-start:8px}.vc-filter-editor-panel__title{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vc-filter-editor-panel__note{display:flex;align-items:flex-start;gap:8px;margin:12px 16px 0;padding:8px 10px;border-radius:var(--vc-radius-control);background:var(--vc-bg-inset);font-size:12px;color:var(--vc-content-secondary)}.vc-filter-editor-panel__note-icon{flex-shrink:0;margin-top:1px;font-size:14px}.vc-filter-editor-panel__error{margin:12px 16px 0;font-size:12px;color:var(--vc-content-danger)}.vc-filter-editor-panel__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid var(--vc-border);font-size:14px}.vc-filter-editor-panel__foot-start{min-width:0;color:var(--vc-content-secondary)}
|
|
164
|
+
|
|
141
165
|
.vc-input__error-wrapper{position:relative;width:100%;font-size:.75rem;line-height:1.5}.vc-input__error-wrapper--text{left:0;top:0;display:inline-flex;width:100%;flex-wrap:wrap;overflow:hidden;text-overflow:ellipsis;white-space:normal;font-size:.75rem;color:var(--vc-content-danger)}
|
|
142
166
|
|
|
143
167
|
.vc-input__label{display:flex;width:100%;align-items:center;line-height:1}.vc-input__label-wrapper{display:flex;flex-grow:1;align-items:center;gap:.5rem;font-size:.875rem;font-weight:var(--vc-font-weight-normal);color:var(--vc-content-primary)}.vc-input__label-wrapper--left-item{display:inline-flex}.vc-input__label-wrapper--left-item-icon{height:1.25rem;width:1.25rem;font-size:1.25rem;line-height:1;color:var(--vc-content-primary)}.vc-input__label-wrapper-label{display:inline-flex;flex-grow:1;align-items:center;gap:.25rem;font-size:.875rem;font-weight:var(--vc-font-weight-normal);color:var(--vc-content-primary)}.vc-input__label-wrapper-label__required-icon{color:var(--vc-content-brand)}.vc-input__label-info{cursor:pointer;color:var(--vc-content-brand)}
|
|
@@ -330,7 +354,7 @@ svg:is(.vc-icon-component){display:inline-block;width:1em;height:1em}
|
|
|
330
354
|
|
|
331
355
|
.vc-tag-input__wrap{width:100%}.vc-tag-input__prefix-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;padding-left:.25rem;padding-right:.25rem;color:var(--vc-content-brand)}.vc-tag-input__clearable{display:flex;flex-shrink:0;align-items:center;justify-content:center;padding-left:.25rem;padding-right:.25rem}.vc-tag-input__clearable svg{cursor:pointer;color:var(--vc-content-brand);transition:all .3s ease}.vc-tag-input__clearable svg:hover{color:var(--vc-content-brand--hover)}.vc-tag-input__container{display:flex;width:100%;max-width:100%;align-items:center;overflow:hidden;border-radius:var(--vc-radius-control);border-width:1px;border-color:var(--vc-input);padding-left:.75rem;padding-right:.75rem;font-size:.875rem;outline:2px solid transparent;outline-offset:2px;min-height:var(--vc-size-control-md)}.vc-tag-input__container.is-clearable{padding-right:0}.vc-tag-input__container.is-prefix-icon{padding-left:0}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container:hover:not(.is-disabled):not(.is-error){border-color:var(--vc-input--hover)}.vc-tag-input__tags{gap:.375rem;padding-block:3px}.vc-tag-input__wrap.is--compact .vc-tag-input__container{min-height:1.25rem}.vc-tag-input__wrap.is--compact .vc-tag-input__tags{padding-block:1px}.vc-tag-input__wrap.is--compact .vc-tag{line-height:1rem}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container{border-color:var(--vc-action-primary--hover)}.vc-tag-input__wrap--error .vc-tag-input__container{border-color:var(--vc-action-danger)}.vc-tag-input__wrap--disabled .vc-tag-input__container,.vc-tag-input__wrap--disabled input{background-color:var(--vc-bg-inset)}.vc-tag-input__wrap--disabled .vc-tag-input__container:hover,.vc-tag-input__wrap--disabled input:hover{cursor:not-allowed;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.vc-tag-input__wrap--disabled .vc-tag-input__clearable svg{cursor:not-allowed;pointer-events:none}.vc-tag-input__content{flex-grow:1;flex-wrap:wrap;max-width:calc(100% - 32px);overflow:hidden}.vc-tag-input__input-token{flex:1 1 1rem;display:inline-flex}.vc-tag-input__input{border:0 none;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--primary{color:var(--vc-content-brand)}.vc-tag-input__container.vc-tag-input-color--primary .vc-tag-input__clearable svg{color:var(--vc-content-brand)}.vc-tag-input__container.vc-tag-input-color--primary .vc-tag-input__clearable svg:hover{color:var(--vc-content-brand--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--primary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-primary) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--primary:not(.is-error){border-color:var(--vc-action-primary--hover)}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--secondary{color:var(--vc-content-secondary)}.vc-tag-input__container.vc-tag-input-color--secondary .vc-tag-input__clearable svg{color:var(--vc-content-secondary)}.vc-tag-input__container.vc-tag-input-color--secondary .vc-tag-input__clearable svg:hover{color:var(--vc-content-secondary--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--secondary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-secondary) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--secondary:not(.is-error){border-color:var(--vc-action-secondary--hover)}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--destructive{color:var(--vc-content-danger)}.vc-tag-input__container.vc-tag-input-color--destructive .vc-tag-input__clearable svg{color:var(--vc-content-danger)}.vc-tag-input__container.vc-tag-input-color--destructive .vc-tag-input__clearable svg:hover{color:var(--vc-content-danger--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--destructive:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-danger) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--destructive:not(.is-error){border-color:var(--vc-action-danger--hover)}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--success{color:var(--vc-content-success)}.vc-tag-input__container.vc-tag-input-color--success .vc-tag-input__clearable svg{color:var(--vc-content-success)}.vc-tag-input__container.vc-tag-input-color--success .vc-tag-input__clearable svg:hover{color:var(--vc-content-success--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--success:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-success) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--success:not(.is-error){border-color:var(--vc-action-success--hover)}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--warning{color:var(--vc-content-warning)}.vc-tag-input__container.vc-tag-input-color--warning .vc-tag-input__clearable svg{color:var(--vc-content-warning)}.vc-tag-input__container.vc-tag-input-color--warning .vc-tag-input__clearable svg:hover{color:var(--vc-content-warning--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--warning:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-warning) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--warning:not(.is-error){border-color:var(--vc-action-warning--hover)}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--info{color:var(--vc-content-info)}.vc-tag-input__container.vc-tag-input-color--info .vc-tag-input__clearable svg{color:var(--vc-content-info)}.vc-tag-input__container.vc-tag-input-color--info .vc-tag-input__clearable svg:hover{color:var(--vc-content-info--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--info:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-info) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--info:not(.is-error){border-color:var(--vc-action-info--hover)}[dir=rtl] .vc-tag-input__container{padding-left:.75rem;padding-right:.75rem}[dir=rtl] .vc-tag-input__container.is-clearable{padding-left:0}[dir=rtl] .vc-tag-input__container.is-prefix-icon{padding-right:0}
|
|
332
356
|
|
|
333
|
-
.vc-time-input{width:100%}.vc-time-input__container{position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden;border-radius:var(--vc-radius-control);border-width:1px;border-color:var(--vc-input);font-size:.875rem;outline:2px solid transparent;outline-offset:2px;height:var(--vc-size-control-md)}.vc-time-input__container:hover:not(.is-disabled):not(.is-error){border-color:var(--vc-input--hover)}.vc-time-input__container.vc-time-input-color--primary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-primary) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--primary.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-primary--hover)}.vc-time-input__container.vc-time-input-color--secondary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-secondary) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--secondary.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-secondary--hover)}.vc-time-input__container.vc-time-input-color--destructive:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-danger) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--destructive.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-danger--hover)}.vc-time-input__container.vc-time-input-color--success:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-success) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--success.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-success--hover)}.vc-time-input__container.vc-time-input-color--warning:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-warning) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--warning.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-warning--hover)}.vc-time-input__container.vc-time-input-color--info:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-info) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--info.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-info--hover)}.vc-time-input__container.is-disabled,.vc-time-input__container.is-disabled .vc-time-input__times,.vc-time-input__container.is-disabled input{background-color:var(--vc-bg-inset)}.vc-time-input__container.is-disabled:hover,.vc-time-input__container.is-disabled input{cursor:not-allowed}.vc-time-input__container.is-error{border-color:var(--vc-action-danger)}.vc-time-input__btn-decrease,.vc-time-input__btn-increase{display:flex;height:100%;width:2rem;flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;background-color:var(--vc-action-secondary--subtle-hover)}.vc-time-input__btn-decrease:hover,.vc-time-input__btn-increase:hover{cursor:pointer}.vc-time-input__btn-decrease .icon,.vc-time-input__btn-increase .icon{color:var(--vc-content-primary)}.vc-time-input__btn-decrease.is-disabled:hover,.vc-time-input__btn-increase.is-disabled:hover{cursor:not-allowed}.vc-time-input__btn-decrease.is-disabled .icon,.vc-time-input__btn-increase.is-disabled .icon{color:var(--vc-content-primary);opacity:.5}.vc-time-input__input-wrapper{height:100%;flex-grow:1;background-color:var(--vc-bg-field)}.vc-time-input__empty-placeholder{display:flex;height:100%;width:100%;align-items:center;justify-content:center;color:var(--vc-content-tertiary)}.vc-time-input__empty-placeholder:hover{cursor:text}.vc-time-input__times{display:flex;height:100%;align-items:center;justify-content:center}.vc-time-input__times .vc-time-input__input{height:100%;width:1.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--vc-bg-field);padding:.125rem;text-align:center;font-size:.875rem;outline:2px solid transparent;outline-offset:2px}.vc-time-input__times .vc-time-input__input::-webkit-outer-spin-button,.vc-time-input__times .vc-time-input__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.vc-time-input .divider-wrapper{display:inline-flex;height:100%;align-items:center}
|
|
357
|
+
.vc-time-input{width:100%}.vc-time-input__container{position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden;border-radius:var(--vc-radius-control);border-width:1px;border-color:var(--vc-input);font-size:.875rem;outline:2px solid transparent;outline-offset:2px;height:var(--vc-size-control-md)}.vc-time-input__container:hover:not(.is-disabled):not(.is-error){border-color:var(--vc-input--hover)}.vc-time-input__container.vc-time-input-color--primary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-primary) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--primary.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-primary--hover)}.vc-time-input__container.vc-time-input-color--primary .vc-time-input__clearable svg{color:var(--vc-content-brand)}.vc-time-input__container.vc-time-input-color--primary .vc-time-input__clearable svg:hover{color:var(--vc-content-brand--hover)}.vc-time-input__container.vc-time-input-color--secondary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-secondary) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--secondary.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-secondary--hover)}.vc-time-input__container.vc-time-input-color--secondary .vc-time-input__clearable svg{color:var(--vc-content-secondary)}.vc-time-input__container.vc-time-input-color--secondary .vc-time-input__clearable svg:hover{color:var(--vc-content-secondary--hover)}.vc-time-input__container.vc-time-input-color--destructive:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-danger) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--destructive.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-danger--hover)}.vc-time-input__container.vc-time-input-color--destructive .vc-time-input__clearable svg{color:var(--vc-content-danger)}.vc-time-input__container.vc-time-input-color--destructive .vc-time-input__clearable svg:hover{color:var(--vc-content-danger--hover)}.vc-time-input__container.vc-time-input-color--success:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-success) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--success.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-success--hover)}.vc-time-input__container.vc-time-input-color--success .vc-time-input__clearable svg{color:var(--vc-content-success)}.vc-time-input__container.vc-time-input-color--success .vc-time-input__clearable svg:hover{color:var(--vc-content-success--hover)}.vc-time-input__container.vc-time-input-color--warning:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-warning) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--warning.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-warning--hover)}.vc-time-input__container.vc-time-input-color--warning .vc-time-input__clearable svg{color:var(--vc-content-warning)}.vc-time-input__container.vc-time-input-color--warning .vc-time-input__clearable svg:hover{color:var(--vc-content-warning--hover)}.vc-time-input__container.vc-time-input-color--info:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-info) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--info.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-info--hover)}.vc-time-input__container.vc-time-input-color--info .vc-time-input__clearable svg{color:var(--vc-content-info)}.vc-time-input__container.vc-time-input-color--info .vc-time-input__clearable svg:hover{color:var(--vc-content-info--hover)}.vc-time-input__container.is-disabled,.vc-time-input__container.is-disabled .vc-time-input__times,.vc-time-input__container.is-disabled .vc-time-input__clearable,.vc-time-input__container.is-disabled input{background-color:var(--vc-bg-inset)}.vc-time-input__container.is-disabled:hover,.vc-time-input__container.is-disabled input{cursor:not-allowed}.vc-time-input__container.is-error{border-color:var(--vc-action-danger)}.vc-time-input__btn-decrease,.vc-time-input__btn-increase{display:flex;height:100%;width:2rem;flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;background-color:var(--vc-action-secondary--subtle-hover)}.vc-time-input__btn-decrease:hover,.vc-time-input__btn-increase:hover{cursor:pointer}.vc-time-input__btn-decrease .icon,.vc-time-input__btn-increase .icon{color:var(--vc-content-primary)}.vc-time-input__btn-decrease.is-disabled:hover,.vc-time-input__btn-increase.is-disabled:hover{cursor:not-allowed}.vc-time-input__btn-decrease.is-disabled .icon,.vc-time-input__btn-increase.is-disabled .icon{color:var(--vc-content-primary);opacity:.5}.vc-time-input__input-wrapper{height:100%;flex-grow:1;background-color:var(--vc-bg-field)}.vc-time-input__clearable{display:flex;height:100%;flex-shrink:0;align-items:center;justify-content:center;background-color:var(--vc-bg-field);padding-left:.25rem;padding-right:.25rem}.vc-time-input__clearable svg{cursor:pointer;color:var(--vc-content-brand);transition:all .3s ease}.vc-time-input__clearable svg:hover{color:var(--vc-content-brand--hover)}.vc-time-input__empty-placeholder{display:flex;height:100%;width:100%;align-items:center;justify-content:center;color:var(--vc-content-tertiary)}.vc-time-input__empty-placeholder:hover{cursor:text}.vc-time-input__times{display:flex;height:100%;align-items:center;justify-content:center;padding-left:.75rem;padding-right:.75rem;direction:ltr}.vc-time-input__times .vc-time-input__input{height:100%;width:1.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--vc-bg-field);padding:.125rem;text-align:center;font-size:.875rem;outline:2px solid transparent;outline-offset:2px}.vc-time-input__times .vc-time-input__input::-moz-placeholder{color:var(--vc-content-tertiary)}.vc-time-input__times .vc-time-input__input::placeholder{color:var(--vc-content-tertiary)}.vc-time-input__times .vc-time-input__input::-webkit-outer-spin-button,.vc-time-input__times .vc-time-input__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.vc-time-input .divider-wrapper{display:inline-flex;height:100%;align-items:center}
|
|
334
358
|
|
|
335
359
|
.vc-tool-call-value--text{margin:0;overflow:auto;white-space:pre-wrap;overflow-wrap:break-word;border-radius:var(--vc-radius-inner);border-width:1px;border-color:var(--vc-border);background-color:var(--vc-bg-page);padding:.5rem .75rem;font-size:.75rem;color:var(--vc-content-primary);font-family:inherit;text-align:start}.vc-tool-call-value--empty{font-size:.75rem;color:var(--vc-content-disabled)}
|
|
336
360
|
|
package/library/style.css.br
CHANGED
|
Binary file
|
package/library/style.css.gz
CHANGED
|
Binary file
|
|
@@ -7,11 +7,13 @@ const VcJsonViewerProvideKey = globalSymbol("VcJsonViewerProvideKey");
|
|
|
7
7
|
const VcEntityToken = globalSymbol("entity");
|
|
8
8
|
const VcEditableTabsDataToken = globalSymbol("editableTabsData");
|
|
9
9
|
const VcEntityListTableExternalPaginateToken = globalSymbol("entityListTableExternalPaginate");
|
|
10
|
+
const VcFilterOptionsStoreKey = globalSymbol("VcFilterOptionsStoreKey");
|
|
10
11
|
export {
|
|
11
12
|
VcCollapseProvideKey,
|
|
12
13
|
VcEditableTabsDataToken,
|
|
13
14
|
VcEntityListTableExternalPaginateToken,
|
|
14
15
|
VcEntityToken,
|
|
16
|
+
VcFilterOptionsStoreKey,
|
|
15
17
|
VcJsonViewerProvideKey,
|
|
16
18
|
VcSoundPlayerProvideKey,
|
|
17
19
|
VcTabPaneProvideKey,
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Slot } from 'vue';
|
|
2
|
+
import type { VcFilterField, VcFilterModel, VcFilterModelOptions } from '../../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
fields: Array<VcFilterField>;
|
|
5
|
+
modelValue: VcFilterModel;
|
|
6
|
+
modelOptions?: VcFilterModelOptions | undefined;
|
|
7
|
+
/** @description The bar's `#editor-<key>` slots. */
|
|
8
|
+
editorSlots?: Record<string, Slot | undefined> | undefined;
|
|
9
|
+
/** @description The bar's `#editor-footer` slot. */
|
|
10
|
+
footerSlot?: Slot | undefined;
|
|
11
|
+
/** @description A line above a list's options. */
|
|
12
|
+
optionsCaption?: string | undefined;
|
|
13
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: VcFilterModel) => void;
|
|
15
|
+
"open-modal": (field: VcFilterField) => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
fields: Array<VcFilterField>;
|
|
18
|
+
modelValue: VcFilterModel;
|
|
19
|
+
modelOptions?: VcFilterModelOptions | undefined;
|
|
20
|
+
/** @description The bar's `#editor-<key>` slots. */
|
|
21
|
+
editorSlots?: Record<string, Slot | undefined> | undefined;
|
|
22
|
+
/** @description The bar's `#editor-footer` slot. */
|
|
23
|
+
footerSlot?: Slot | undefined;
|
|
24
|
+
/** @description A line above a list's options. */
|
|
25
|
+
optionsCaption?: string | undefined;
|
|
26
|
+
}>>> & Readonly<{
|
|
27
|
+
"onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
|
|
28
|
+
"onOpen-modal"?: ((field: VcFilterField) => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import type { VcFilterApplied, VcFilterDateRangeConfig, VcFilterField, VcFilterFieldValue, VcFilterModel, VcFilterOptionsStore, VcFilterSearchConfig, VcFilterErrors, VcFilterRefusedValues } from '../../types';
|
|
2
|
+
declare function updateDateRange(range: [Date, Date] | null): void;
|
|
3
|
+
declare function onSearchInput(text: string, immediate?: boolean): void;
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
/** @description The filter: a plain object, sent to the server as it is. */
|
|
6
|
+
modelValue?: VcFilterModel | undefined;
|
|
7
|
+
fields: VcFilterField[];
|
|
8
|
+
/** @description The date range; `false` hides it. Default: shown, `StartTime` / `EndTime` as dates. */
|
|
9
|
+
dateRange?: false | VcFilterDateRangeConfig | undefined;
|
|
10
|
+
/** @description The search line; `false` hides it. Default: shown, the text goes to `search`. */
|
|
11
|
+
search?: false | VcFilterSearchConfig | undefined;
|
|
12
|
+
/** @description The model key of the exclude object. */
|
|
13
|
+
excludeKey?: string | undefined;
|
|
14
|
+
/** @description A store shared with other bars; by default the bar has its own. */
|
|
15
|
+
optionsStore?: VcFilterOptionsStore | undefined;
|
|
16
|
+
/** @description Whether the chip row can be hidden behind "N filters applied". */
|
|
17
|
+
collapsible?: boolean | undefined;
|
|
18
|
+
/** @description A line above a list's options in the Add filter menu, e.g. "Calls in this period". */
|
|
19
|
+
optionsCaption?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* @description Server errors by the path they name (`UserList`, `Exclude.UserList`, `StartTime`):
|
|
22
|
+
* shown at the chip, the date range or the search line, or under the toolbar. An error hides once
|
|
23
|
+
* the user changes what it names.
|
|
24
|
+
*/
|
|
25
|
+
errors?: VcFilterErrors | undefined;
|
|
26
|
+
/** @description Values the login may not use, by path (`UserList`, `Exclude.QueueList`): marked in the chip and its editor. */
|
|
27
|
+
refusedValues?: VcFilterRefusedValues | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
modelValue: () => {};
|
|
30
|
+
dateRange: undefined;
|
|
31
|
+
search: undefined;
|
|
32
|
+
excludeKey: undefined;
|
|
33
|
+
optionsStore: undefined;
|
|
34
|
+
collapsible: boolean;
|
|
35
|
+
optionsCaption: undefined;
|
|
36
|
+
errors: undefined;
|
|
37
|
+
refusedValues: undefined;
|
|
38
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
"update:modelValue": (value: VcFilterModel) => void;
|
|
40
|
+
search: (text: string) => void;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
42
|
+
/** @description The filter: a plain object, sent to the server as it is. */
|
|
43
|
+
modelValue?: VcFilterModel | undefined;
|
|
44
|
+
fields: VcFilterField[];
|
|
45
|
+
/** @description The date range; `false` hides it. Default: shown, `StartTime` / `EndTime` as dates. */
|
|
46
|
+
dateRange?: false | VcFilterDateRangeConfig | undefined;
|
|
47
|
+
/** @description The search line; `false` hides it. Default: shown, the text goes to `search`. */
|
|
48
|
+
search?: false | VcFilterSearchConfig | undefined;
|
|
49
|
+
/** @description The model key of the exclude object. */
|
|
50
|
+
excludeKey?: string | undefined;
|
|
51
|
+
/** @description A store shared with other bars; by default the bar has its own. */
|
|
52
|
+
optionsStore?: VcFilterOptionsStore | undefined;
|
|
53
|
+
/** @description Whether the chip row can be hidden behind "N filters applied". */
|
|
54
|
+
collapsible?: boolean | undefined;
|
|
55
|
+
/** @description A line above a list's options in the Add filter menu, e.g. "Calls in this period". */
|
|
56
|
+
optionsCaption?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* @description Server errors by the path they name (`UserList`, `Exclude.UserList`, `StartTime`):
|
|
59
|
+
* shown at the chip, the date range or the search line, or under the toolbar. An error hides once
|
|
60
|
+
* the user changes what it names.
|
|
61
|
+
*/
|
|
62
|
+
errors?: VcFilterErrors | undefined;
|
|
63
|
+
/** @description Values the login may not use, by path (`UserList`, `Exclude.QueueList`): marked in the chip and its editor. */
|
|
64
|
+
refusedValues?: VcFilterRefusedValues | undefined;
|
|
65
|
+
}>, {
|
|
66
|
+
modelValue: () => {};
|
|
67
|
+
dateRange: undefined;
|
|
68
|
+
search: undefined;
|
|
69
|
+
excludeKey: undefined;
|
|
70
|
+
optionsStore: undefined;
|
|
71
|
+
collapsible: boolean;
|
|
72
|
+
optionsCaption: undefined;
|
|
73
|
+
errors: undefined;
|
|
74
|
+
refusedValues: undefined;
|
|
75
|
+
}>>> & Readonly<{
|
|
76
|
+
onSearch?: ((text: string) => any) | undefined;
|
|
77
|
+
"onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
|
|
78
|
+
}>, {
|
|
79
|
+
search: false | VcFilterSearchConfig;
|
|
80
|
+
modelValue: VcFilterModel;
|
|
81
|
+
errors: VcFilterErrors;
|
|
82
|
+
optionsCaption: string;
|
|
83
|
+
dateRange: false | VcFilterDateRangeConfig;
|
|
84
|
+
excludeKey: string;
|
|
85
|
+
optionsStore: VcFilterOptionsStore;
|
|
86
|
+
collapsible: boolean;
|
|
87
|
+
refusedValues: VcFilterRefusedValues;
|
|
88
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<`chip-${string}`, (_: {
|
|
89
|
+
item: VcFilterApplied<VcFilterFieldValue>;
|
|
90
|
+
remove: () => void;
|
|
91
|
+
}) => any>> & {
|
|
92
|
+
date?(_: {
|
|
93
|
+
value: [Date, Date] | undefined;
|
|
94
|
+
update: typeof updateDateRange;
|
|
95
|
+
}): any;
|
|
96
|
+
search?(_: {
|
|
97
|
+
text: string;
|
|
98
|
+
update: typeof onSearchInput;
|
|
99
|
+
}): any;
|
|
100
|
+
"search-append"?(_: {}): any;
|
|
101
|
+
add?(_: {
|
|
102
|
+
modelValue: VcFilterModel;
|
|
103
|
+
}): any;
|
|
104
|
+
actions?(_: {
|
|
105
|
+
modelValue: VcFilterModel;
|
|
106
|
+
}): any;
|
|
107
|
+
"footer-start"?(_: {}): any;
|
|
108
|
+
"footer-end"?(_: {}): any;
|
|
109
|
+
}>;
|
|
110
|
+
export default _default;
|
|
111
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
112
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
113
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
114
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
115
|
+
} : {
|
|
116
|
+
type: import('vue').PropType<T[K]>;
|
|
117
|
+
required: true;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
type __VLS_WithDefaults<P, D> = {
|
|
121
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
122
|
+
default: D[K];
|
|
123
|
+
}> : P[K];
|
|
124
|
+
};
|
|
125
|
+
type __VLS_Prettify<T> = {
|
|
126
|
+
[K in keyof T]: T[K];
|
|
127
|
+
} & {};
|
|
128
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
129
|
+
new (): {
|
|
130
|
+
$slots: S;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode } from '../../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
field: VcFilterField;
|
|
4
|
+
mode: VcFilterMode;
|
|
5
|
+
value: VcFilterFieldValue;
|
|
6
|
+
error?: string | undefined;
|
|
7
|
+
/** @description Values the login may not use. */
|
|
8
|
+
refused?: VcFilterListItem[] | undefined;
|
|
9
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
edit: (event: MouseEvent) => void;
|
|
11
|
+
remove: () => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
field: VcFilterField;
|
|
14
|
+
mode: VcFilterMode;
|
|
15
|
+
value: VcFilterFieldValue;
|
|
16
|
+
error?: string | undefined;
|
|
17
|
+
/** @description Values the login may not use. */
|
|
18
|
+
refused?: VcFilterListItem[] | undefined;
|
|
19
|
+
}>>> & Readonly<{
|
|
20
|
+
onRemove?: (() => any) | undefined;
|
|
21
|
+
onEdit?: ((event: MouseEvent) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
23
|
+
value?(_: {
|
|
24
|
+
text: string;
|
|
25
|
+
value: VcFilterFieldValue;
|
|
26
|
+
}): any;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Slot } from 'vue';
|
|
2
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterModel, VcFilterModelOptions } from '../../types';
|
|
3
|
+
declare function toggle(): void;
|
|
4
|
+
declare function close(): void;
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
field: VcFilterField;
|
|
7
|
+
mode: VcFilterMode;
|
|
8
|
+
value: VcFilterFieldValue;
|
|
9
|
+
modelValue: VcFilterModel;
|
|
10
|
+
modelOptions?: VcFilterModelOptions | undefined;
|
|
11
|
+
editorSlots?: Record<string, Slot | undefined> | undefined;
|
|
12
|
+
footerSlot?: Slot | undefined;
|
|
13
|
+
optionsCaption?: string | undefined;
|
|
14
|
+
error?: string | undefined;
|
|
15
|
+
refused?: VcFilterListItem[] | undefined;
|
|
16
|
+
}>>, {
|
|
17
|
+
open: typeof toggle;
|
|
18
|
+
close: typeof close;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: VcFilterModel) => void;
|
|
21
|
+
remove: () => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
field: VcFilterField;
|
|
24
|
+
mode: VcFilterMode;
|
|
25
|
+
value: VcFilterFieldValue;
|
|
26
|
+
modelValue: VcFilterModel;
|
|
27
|
+
modelOptions?: VcFilterModelOptions | undefined;
|
|
28
|
+
editorSlots?: Record<string, Slot | undefined> | undefined;
|
|
29
|
+
footerSlot?: Slot | undefined;
|
|
30
|
+
optionsCaption?: string | undefined;
|
|
31
|
+
error?: string | undefined;
|
|
32
|
+
refused?: VcFilterListItem[] | undefined;
|
|
33
|
+
}>>> & Readonly<{
|
|
34
|
+
onRemove?: (() => any) | undefined;
|
|
35
|
+
"onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
|
|
36
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: import('vue').PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Slot } from 'vue';
|
|
2
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterModel, VcFilterModelOptions } from '../../types';
|
|
3
|
+
import type { DraftOrigin } from './filterBarDraft';
|
|
4
|
+
declare function open(next: {
|
|
5
|
+
field: VcFilterField;
|
|
6
|
+
origin: DraftOrigin;
|
|
7
|
+
mode?: VcFilterMode;
|
|
8
|
+
value?: VcFilterFieldValue;
|
|
9
|
+
error?: string;
|
|
10
|
+
refused?: Array<VcFilterListItem>;
|
|
11
|
+
}): void;
|
|
12
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
modelValue: VcFilterModel;
|
|
14
|
+
modelOptions?: VcFilterModelOptions | undefined;
|
|
15
|
+
editorSlots?: Record<string, Slot | undefined> | undefined;
|
|
16
|
+
footerSlot?: Slot | undefined;
|
|
17
|
+
optionsCaption?: string | undefined;
|
|
18
|
+
}>>, {
|
|
19
|
+
open: typeof open;
|
|
20
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: VcFilterModel) => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
modelValue: VcFilterModel;
|
|
24
|
+
modelOptions?: VcFilterModelOptions | undefined;
|
|
25
|
+
editorSlots?: Record<string, Slot | undefined> | undefined;
|
|
26
|
+
footerSlot?: Slot | undefined;
|
|
27
|
+
optionsCaption?: string | undefined;
|
|
28
|
+
}>>> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { Slot } from 'vue';
|
|
2
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterModel } from '../../types';
|
|
3
|
+
import type { EditorSlots } from './filterBarEditors';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
field: VcFilterField;
|
|
6
|
+
mode: VcFilterMode;
|
|
7
|
+
value?: VcFilterFieldValue | undefined;
|
|
8
|
+
applied?: VcFilterListItem[] | undefined;
|
|
9
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
10
|
+
canExclude?: boolean | undefined;
|
|
11
|
+
showBack?: boolean | undefined;
|
|
12
|
+
showTitle?: boolean | undefined;
|
|
13
|
+
commitLabel: string;
|
|
14
|
+
canCommit?: boolean | undefined;
|
|
15
|
+
editorSlots?: EditorSlots | undefined;
|
|
16
|
+
footerSlot?: Slot | undefined;
|
|
17
|
+
/** @description The whole filter as it would be with this draft, for the footer slot (e.g. a count from the server). */
|
|
18
|
+
preview?: VcFilterModel | undefined;
|
|
19
|
+
/** @description A line above a list's options. */
|
|
20
|
+
caption?: string | undefined;
|
|
21
|
+
/** @description The server's error for this field and side. */
|
|
22
|
+
error?: string | undefined;
|
|
23
|
+
/** @description Values the login may not use. */
|
|
24
|
+
refused?: VcFilterListItem[] | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
value: undefined;
|
|
27
|
+
applied: () => never[];
|
|
28
|
+
blocked: () => never[];
|
|
29
|
+
canExclude: boolean;
|
|
30
|
+
showBack: boolean;
|
|
31
|
+
showTitle: boolean;
|
|
32
|
+
canCommit: boolean;
|
|
33
|
+
editorSlots: undefined;
|
|
34
|
+
footerSlot: undefined;
|
|
35
|
+
preview: undefined;
|
|
36
|
+
caption: undefined;
|
|
37
|
+
error: undefined;
|
|
38
|
+
refused: () => never[];
|
|
39
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
"update:mode": (mode: VcFilterMode) => void;
|
|
41
|
+
"update:value": (value: VcFilterFieldValue | undefined) => void;
|
|
42
|
+
back: () => void;
|
|
43
|
+
commit: () => void;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
45
|
+
field: VcFilterField;
|
|
46
|
+
mode: VcFilterMode;
|
|
47
|
+
value?: VcFilterFieldValue | undefined;
|
|
48
|
+
applied?: VcFilterListItem[] | undefined;
|
|
49
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
50
|
+
canExclude?: boolean | undefined;
|
|
51
|
+
showBack?: boolean | undefined;
|
|
52
|
+
showTitle?: boolean | undefined;
|
|
53
|
+
commitLabel: string;
|
|
54
|
+
canCommit?: boolean | undefined;
|
|
55
|
+
editorSlots?: EditorSlots | undefined;
|
|
56
|
+
footerSlot?: Slot | undefined;
|
|
57
|
+
/** @description The whole filter as it would be with this draft, for the footer slot (e.g. a count from the server). */
|
|
58
|
+
preview?: VcFilterModel | undefined;
|
|
59
|
+
/** @description A line above a list's options. */
|
|
60
|
+
caption?: string | undefined;
|
|
61
|
+
/** @description The server's error for this field and side. */
|
|
62
|
+
error?: string | undefined;
|
|
63
|
+
/** @description Values the login may not use. */
|
|
64
|
+
refused?: VcFilterListItem[] | undefined;
|
|
65
|
+
}>, {
|
|
66
|
+
value: undefined;
|
|
67
|
+
applied: () => never[];
|
|
68
|
+
blocked: () => never[];
|
|
69
|
+
canExclude: boolean;
|
|
70
|
+
showBack: boolean;
|
|
71
|
+
showTitle: boolean;
|
|
72
|
+
canCommit: boolean;
|
|
73
|
+
editorSlots: undefined;
|
|
74
|
+
footerSlot: undefined;
|
|
75
|
+
preview: undefined;
|
|
76
|
+
caption: undefined;
|
|
77
|
+
error: undefined;
|
|
78
|
+
refused: () => never[];
|
|
79
|
+
}>>> & Readonly<{
|
|
80
|
+
"onUpdate:mode"?: ((mode: VcFilterMode) => any) | undefined;
|
|
81
|
+
"onUpdate:value"?: ((value: VcFilterFieldValue | undefined) => any) | undefined;
|
|
82
|
+
onBack?: (() => any) | undefined;
|
|
83
|
+
onCommit?: (() => any) | undefined;
|
|
84
|
+
}>, {
|
|
85
|
+
error: string;
|
|
86
|
+
value: VcFilterFieldValue;
|
|
87
|
+
caption: string;
|
|
88
|
+
preview: VcFilterModel;
|
|
89
|
+
blocked: Array<VcFilterListItem>;
|
|
90
|
+
applied: Array<VcFilterListItem>;
|
|
91
|
+
refused: Array<VcFilterListItem>;
|
|
92
|
+
canExclude: boolean;
|
|
93
|
+
showBack: boolean;
|
|
94
|
+
showTitle: boolean;
|
|
95
|
+
canCommit: boolean;
|
|
96
|
+
editorSlots: EditorSlots;
|
|
97
|
+
footerSlot: Slot;
|
|
98
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
99
|
+
export default _default;
|
|
100
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
101
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
102
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
103
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
104
|
+
} : {
|
|
105
|
+
type: import('vue').PropType<T[K]>;
|
|
106
|
+
required: true;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
type __VLS_WithDefaults<P, D> = {
|
|
110
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
111
|
+
default: D[K];
|
|
112
|
+
}> : P[K];
|
|
113
|
+
};
|
|
114
|
+
type __VLS_Prettify<T> = {
|
|
115
|
+
[K in keyof T]: T[K];
|
|
116
|
+
} & {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode } from '../../../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
/** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
|
|
4
|
+
modelValue?: VcFilterFieldValue | undefined;
|
|
5
|
+
field: VcFilterField;
|
|
6
|
+
mode: VcFilterMode;
|
|
7
|
+
/** @description Values the other side of a list field has. */
|
|
8
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
9
|
+
/** @description Values the field already has on this side. */
|
|
10
|
+
applied?: VcFilterListItem[] | undefined;
|
|
11
|
+
error?: string | undefined;
|
|
12
|
+
/** @description Values the login may not use. */
|
|
13
|
+
refused?: VcFilterListItem[] | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
modelValue: undefined;
|
|
16
|
+
blocked: () => never[];
|
|
17
|
+
applied: () => never[];
|
|
18
|
+
error: undefined;
|
|
19
|
+
refused: () => never[];
|
|
20
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
/** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
|
|
24
|
+
modelValue?: VcFilterFieldValue | undefined;
|
|
25
|
+
field: VcFilterField;
|
|
26
|
+
mode: VcFilterMode;
|
|
27
|
+
/** @description Values the other side of a list field has. */
|
|
28
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
29
|
+
/** @description Values the field already has on this side. */
|
|
30
|
+
applied?: VcFilterListItem[] | undefined;
|
|
31
|
+
error?: string | undefined;
|
|
32
|
+
/** @description Values the login may not use. */
|
|
33
|
+
refused?: VcFilterListItem[] | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
modelValue: undefined;
|
|
36
|
+
blocked: () => never[];
|
|
37
|
+
applied: () => never[];
|
|
38
|
+
error: undefined;
|
|
39
|
+
refused: () => never[];
|
|
40
|
+
}>>> & Readonly<{
|
|
41
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
error: string;
|
|
44
|
+
modelValue: VcFilterFieldValue;
|
|
45
|
+
blocked: Array<VcFilterListItem>;
|
|
46
|
+
applied: Array<VcFilterListItem>;
|
|
47
|
+
refused: Array<VcFilterListItem>;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: import('vue').PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
type __VLS_WithDefaults<P, D> = {
|
|
60
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
+
default: D[K];
|
|
62
|
+
}> : P[K];
|
|
63
|
+
};
|
|
64
|
+
type __VLS_Prettify<T> = {
|
|
65
|
+
[K in keyof T]: T[K];
|
|
66
|
+
} & {};
|