@gravitee/ui-components 3.25.3-typescript-bfd8f67 → 3.25.3-typescript-94e8113
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/CHANGELOG.md +1292 -0
- package/LICENSE.txt +202 -0
- package/README.md +195 -0
- package/dist/src/atoms/gv-autocomplete.d.ts +104 -0
- package/dist/src/atoms/gv-autocomplete.js +422 -0
- package/dist/src/atoms/gv-button.d.ts +109 -0
- package/dist/src/atoms/gv-button.js +397 -0
- package/dist/src/atoms/gv-checkbox.d.ts +114 -0
- package/dist/src/atoms/gv-checkbox.js +178 -0
- package/dist/src/atoms/gv-date-picker-calendar.d.ts +190 -0
- package/dist/src/atoms/gv-date-picker-calendar.js +812 -0
- package/dist/src/atoms/gv-date-picker-cell.d.ts +80 -0
- package/dist/src/atoms/gv-date-picker-cell.js +174 -0
- package/dist/src/atoms/gv-date-picker.d.ts +194 -0
- package/dist/src/atoms/gv-date-picker.js +638 -0
- package/dist/src/atoms/gv-file-upload.d.ts +64 -0
- package/dist/src/atoms/gv-file-upload.js +348 -0
- package/dist/src/atoms/gv-icon.d.ts +26 -0
- package/dist/src/atoms/gv-icon.js +93 -0
- package/dist/src/atoms/gv-image.d.ts +45 -0
- package/dist/src/atoms/gv-image.js +135 -0
- package/dist/src/atoms/gv-input-message.d.ts +20 -0
- package/dist/src/atoms/gv-input-message.js +78 -0
- package/dist/src/atoms/gv-input.d.ts +246 -0
- package/dist/src/atoms/gv-input.js +508 -0
- package/dist/src/atoms/gv-link.d.ts +67 -0
- package/dist/src/atoms/gv-link.js +204 -0
- package/dist/src/atoms/gv-message.d.ts +23 -0
- package/dist/src/atoms/gv-message.js +133 -0
- package/dist/src/atoms/gv-metric.d.ts +32 -0
- package/dist/src/atoms/gv-metric.js +112 -0
- package/dist/src/atoms/gv-relative-time.d.ts +45 -0
- package/dist/src/atoms/gv-relative-time.js +143 -0
- package/dist/src/atoms/gv-select-native.d.ts +174 -0
- package/dist/src/atoms/gv-select-native.js +363 -0
- package/dist/src/atoms/gv-select.d.ts +71 -0
- package/dist/src/atoms/gv-select.js +413 -0
- package/dist/src/atoms/gv-spinner.d.ts +10 -0
- package/dist/src/atoms/gv-spinner.js +54 -0
- package/dist/src/atoms/gv-state.d.ts +50 -0
- package/dist/src/atoms/gv-state.js +125 -0
- package/dist/src/atoms/gv-switch.d.ts +60 -0
- package/dist/src/atoms/gv-switch.js +235 -0
- package/dist/src/atoms/gv-tag.d.ts +69 -0
- package/dist/src/atoms/gv-tag.js +162 -0
- package/dist/src/atoms/gv-text.d.ts +110 -0
- package/dist/src/atoms/gv-text.js +160 -0
- package/dist/src/charts/gv-chart-bar.d.ts +50 -0
- package/dist/src/charts/gv-chart-bar.js +101 -0
- package/dist/src/charts/gv-chart-gauge.d.ts +58 -0
- package/dist/src/charts/gv-chart-gauge.js +92 -0
- package/dist/src/charts/gv-chart-histogram.d.ts +48 -0
- package/dist/src/charts/gv-chart-histogram.js +78 -0
- package/dist/src/charts/gv-chart-line.d.ts +52 -0
- package/dist/src/charts/gv-chart-line.js +218 -0
- package/dist/src/charts/gv-chart-map.d.ts +50 -0
- package/dist/src/charts/gv-chart-map.js +111 -0
- package/dist/src/charts/gv-chart-pie.d.ts +50 -0
- package/dist/src/charts/gv-chart-pie.js +89 -0
- package/dist/src/index.d.ts +77 -0
- package/dist/src/index.js +77 -0
- package/dist/src/lib/cron-expression.d.ts +1 -0
- package/dist/src/lib/cron-expression.js +176 -0
- package/dist/src/lib/date.d.ts +1 -0
- package/dist/src/lib/date.js +43 -0
- package/dist/src/lib/events.d.ts +1 -0
- package/dist/src/lib/events.js +26 -0
- package/dist/src/lib/http-client-schema-form.d.ts +68 -0
- package/dist/src/lib/http-client-schema-form.js +67 -0
- package/dist/src/lib/http.d.ts +222 -0
- package/dist/src/lib/http.js +237 -0
- package/dist/src/lib/i18n.d.ts +30 -0
- package/dist/src/lib/i18n.js +93 -0
- package/dist/src/lib/item.d.ts +12 -0
- package/dist/src/lib/item.js +110 -0
- package/dist/src/lib/properties.d.ts +42 -0
- package/dist/src/lib/properties.js +171 -0
- package/dist/src/lib/schema-form.d.ts +5 -0
- package/dist/src/lib/schema-form.js +39 -0
- package/dist/src/lib/studio.d.ts +2 -0
- package/dist/src/lib/studio.js +144 -0
- package/dist/src/lib/style.d.ts +6 -0
- package/dist/src/lib/style.js +39 -0
- package/dist/src/lib/text-format.d.ts +6 -0
- package/dist/src/lib/text-format.js +65 -0
- package/dist/src/lib/theme.d.ts +4 -0
- package/dist/src/lib/theme.js +60 -0
- package/dist/src/lib/utils.d.ts +9 -0
- package/dist/src/lib/utils.js +106 -0
- package/dist/src/mixins/chart-element.d.ts +39 -0
- package/dist/src/mixins/chart-element.js +153 -0
- package/dist/src/mixins/input-element.d.ts +64 -0
- package/dist/src/mixins/input-element.js +136 -0
- package/dist/src/mixins/item-resource.d.ts +56 -0
- package/dist/src/mixins/item-resource.js +102 -0
- package/dist/src/mixins/keyboard-element.d.ts +25 -0
- package/dist/src/mixins/keyboard-element.js +62 -0
- package/dist/src/mixins/update-after-browser.d.ts +11 -0
- package/dist/src/mixins/update-after-browser.js +30 -0
- package/dist/src/mixins/with-resize-observer.d.ts +12 -0
- package/dist/src/mixins/with-resize-observer.js +62 -0
- package/dist/src/mixins/with-skeleton-attribute.d.ts +35 -0
- package/dist/src/mixins/with-skeleton-attribute.js +109 -0
- package/dist/src/molecules/gv-card-full.d.ts +78 -0
- package/dist/src/molecules/gv-card-full.js +209 -0
- package/dist/src/molecules/gv-card-list.d.ts +33 -0
- package/dist/src/molecules/gv-card-list.js +101 -0
- package/dist/src/molecules/gv-card.d.ts +65 -0
- package/dist/src/molecules/gv-card.js +130 -0
- package/dist/src/molecules/gv-category-list.d.ts +17 -0
- package/dist/src/molecules/gv-category-list.js +56 -0
- package/dist/src/molecules/gv-category.d.ts +64 -0
- package/dist/src/molecules/gv-category.js +163 -0
- package/dist/src/molecules/gv-code.d.ts +192 -0
- package/dist/src/molecules/gv-code.js +334 -0
- package/dist/src/molecules/gv-confirm.d.ts +60 -0
- package/dist/src/molecules/gv-confirm.js +175 -0
- package/dist/src/molecules/gv-cron-editor.d.ts +115 -0
- package/dist/src/molecules/gv-cron-editor.js +685 -0
- package/dist/src/molecules/gv-dropdown-menu.d.ts +28 -0
- package/dist/src/molecules/gv-dropdown-menu.js +108 -0
- package/dist/src/molecules/gv-expandable.d.ts +37 -0
- package/dist/src/molecules/gv-expandable.js +116 -0
- package/dist/src/molecules/gv-expression-language.d.ts +150 -0
- package/dist/src/molecules/gv-expression-language.js +263 -0
- package/dist/src/molecules/gv-identity-picture.d.ts +44 -0
- package/dist/src/molecules/gv-identity-picture.js +139 -0
- package/dist/src/molecules/gv-list.d.ts +123 -0
- package/dist/src/molecules/gv-list.js +214 -0
- package/dist/src/molecules/gv-metrics.d.ts +65 -0
- package/dist/src/molecules/gv-metrics.js +147 -0
- package/dist/src/molecules/gv-modal.d.ts +64 -0
- package/dist/src/molecules/gv-modal.js +203 -0
- package/dist/src/molecules/gv-nav.d.ts +41 -0
- package/dist/src/molecules/gv-nav.js +180 -0
- package/dist/src/molecules/gv-option.d.ts +65 -0
- package/dist/src/molecules/gv-option.js +230 -0
- package/dist/src/molecules/gv-plans.d.ts +73 -0
- package/dist/src/molecules/gv-plans.js +400 -0
- package/dist/src/molecules/gv-popover.d.ts +91 -0
- package/dist/src/molecules/gv-popover.js +323 -0
- package/dist/src/molecules/gv-promote.d.ts +108 -0
- package/dist/src/molecules/gv-promote.js +203 -0
- package/dist/src/molecules/gv-rating-list.d.ts +77 -0
- package/dist/src/molecules/gv-rating-list.js +341 -0
- package/dist/src/molecules/gv-rating.d.ts +55 -0
- package/dist/src/molecules/gv-rating.js +234 -0
- package/dist/src/molecules/gv-row-expandable.d.ts +8 -0
- package/dist/src/molecules/gv-row-expandable.js +42 -0
- package/dist/src/molecules/gv-row.d.ts +37 -0
- package/dist/src/molecules/gv-row.js +205 -0
- package/dist/src/molecules/gv-stats.d.ts +53 -0
- package/dist/src/molecules/gv-stats.js +110 -0
- package/dist/src/molecules/gv-stepper.d.ts +46 -0
- package/dist/src/molecules/gv-stepper.js +274 -0
- package/dist/src/molecules/gv-table.d.ts +159 -0
- package/dist/src/molecules/gv-table.js +644 -0
- package/dist/src/molecules/gv-tree.d.ts +44 -0
- package/dist/src/molecules/gv-tree.js +238 -0
- package/dist/src/organisms/gv-documentation.d.ts +52 -0
- package/dist/src/organisms/gv-documentation.js +205 -0
- package/dist/src/organisms/gv-header.d.ts +60 -0
- package/dist/src/organisms/gv-header.js +276 -0
- package/dist/src/organisms/gv-http-client.d.ts +57 -0
- package/dist/src/organisms/gv-http-client.js +258 -0
- package/dist/src/organisms/gv-menu.d.ts +74 -0
- package/dist/src/organisms/gv-menu.js +258 -0
- package/dist/src/organisms/gv-newsletter-subscription.d.ts +82 -0
- package/dist/src/organisms/gv-newsletter-subscription.js +258 -0
- package/dist/src/organisms/gv-pagination.d.ts +63 -0
- package/dist/src/organisms/gv-pagination.js +179 -0
- package/dist/src/organisms/gv-properties.d.ts +229 -0
- package/dist/src/organisms/gv-properties.js +860 -0
- package/dist/src/organisms/gv-resizable-views.d.ts +33 -0
- package/dist/src/organisms/gv-resizable-views.js +371 -0
- package/dist/src/organisms/gv-resources.d.ts +125 -0
- package/dist/src/organisms/gv-resources.js +496 -0
- package/dist/src/organisms/gv-schema-form-array.d.ts +55 -0
- package/dist/src/organisms/gv-schema-form-array.js +237 -0
- package/dist/src/organisms/gv-schema-form-control-object.d.ts +64 -0
- package/dist/src/organisms/gv-schema-form-control-object.js +141 -0
- package/dist/src/organisms/gv-schema-form-control.d.ts +90 -0
- package/dist/src/organisms/gv-schema-form-control.js +419 -0
- package/dist/src/organisms/gv-schema-form.d.ts +156 -0
- package/dist/src/organisms/gv-schema-form.js +700 -0
- package/dist/src/organisms/gv-tabs.d.ts +56 -0
- package/dist/src/organisms/gv-tabs.js +201 -0
- package/dist/src/organisms/gv-user-menu.d.ts +56 -0
- package/dist/src/organisms/gv-user-menu.js +298 -0
- package/dist/src/organisms/gv-vertical-menu.d.ts +28 -0
- package/dist/src/organisms/gv-vertical-menu.js +119 -0
- package/dist/src/policy-studio/gv-flow-step.d.ts +142 -0
- package/dist/src/policy-studio/gv-flow-step.js +443 -0
- package/dist/src/policy-studio/gv-flow.d.ts +89 -0
- package/dist/src/policy-studio/gv-flow.js +595 -0
- package/dist/src/policy-studio/gv-policy-studio-menu.d.ts +94 -0
- package/dist/src/policy-studio/gv-policy-studio-menu.js +689 -0
- package/dist/src/policy-studio/gv-policy-studio.d.ts +464 -0
- package/dist/src/policy-studio/gv-policy-studio.js +1712 -0
- package/dist/src/styles/empty.d.ts +1 -0
- package/dist/src/styles/empty.js +35 -0
- package/dist/src/styles/input.d.ts +1 -0
- package/dist/src/styles/input.js +262 -0
- package/dist/src/styles/link.d.ts +1 -0
- package/dist/src/styles/link.js +31 -0
- package/dist/src/styles/shapes.d.ts +2 -0
- package/dist/src/styles/shapes.js +17 -0
- package/dist/src/styles/skeleton.d.ts +1 -0
- package/dist/src/styles/skeleton.js +52 -0
- package/dist/src/styles/zoom.d.ts +1 -0
- package/dist/src/styles/zoom.js +39 -0
- package/dist/src/theme/gv-theme.d.ts +81 -0
- package/dist/src/theme/gv-theme.js +197 -0
- package/dist/wc/gv-autocomplete.d.ts +1 -0
- package/dist/wc/gv-autocomplete.js +1 -0
- package/dist/wc/gv-button.d.ts +1 -0
- package/dist/wc/gv-button.js +1 -0
- package/dist/wc/gv-card-full.d.ts +1 -0
- package/dist/wc/gv-card-full.js +1 -0
- package/dist/wc/gv-card-list.d.ts +1 -0
- package/dist/wc/gv-card-list.js +1 -0
- package/dist/wc/gv-card.d.ts +1 -0
- package/dist/wc/gv-card.js +1 -0
- package/dist/wc/gv-category-list.d.ts +1 -0
- package/dist/wc/gv-category-list.js +1 -0
- package/dist/wc/gv-category.d.ts +1 -0
- package/dist/wc/gv-category.js +1 -0
- package/dist/wc/gv-chart-bar.d.ts +1 -0
- package/dist/wc/gv-chart-bar.js +1 -0
- package/dist/wc/gv-chart-gauge.d.ts +1 -0
- package/dist/wc/gv-chart-gauge.js +1 -0
- package/dist/wc/gv-chart-histogram.d.ts +1 -0
- package/dist/wc/gv-chart-histogram.js +1 -0
- package/dist/wc/gv-chart-line.d.ts +1 -0
- package/dist/wc/gv-chart-line.js +1 -0
- package/dist/wc/gv-chart-map.d.ts +1 -0
- package/dist/wc/gv-chart-map.js +1 -0
- package/dist/wc/gv-chart-pie.d.ts +1 -0
- package/dist/wc/gv-chart-pie.js +1 -0
- package/dist/wc/gv-checkbox.d.ts +1 -0
- package/dist/wc/gv-checkbox.js +1 -0
- package/dist/wc/gv-code.d.ts +1 -0
- package/dist/wc/gv-code.js +1 -0
- package/dist/wc/gv-confirm.d.ts +1 -0
- package/dist/wc/gv-confirm.js +1 -0
- package/dist/wc/gv-cron-editor.d.ts +1 -0
- package/dist/wc/gv-cron-editor.js +1 -0
- package/dist/wc/gv-date-picker-calendar.d.ts +1 -0
- package/dist/wc/gv-date-picker-calendar.js +1 -0
- package/dist/wc/gv-date-picker-cell.d.ts +1 -0
- package/dist/wc/gv-date-picker-cell.js +1 -0
- package/dist/wc/gv-date-picker.d.ts +1 -0
- package/dist/wc/gv-date-picker.js +1 -0
- package/dist/wc/gv-documentation.d.ts +1 -0
- package/dist/wc/gv-documentation.js +1 -0
- package/dist/wc/gv-dropdown-menu.d.ts +1 -0
- package/dist/wc/gv-dropdown-menu.js +1 -0
- package/dist/wc/gv-expandable.d.ts +1 -0
- package/dist/wc/gv-expandable.js +1 -0
- package/dist/wc/gv-expression-language.d.ts +1 -0
- package/dist/wc/gv-expression-language.js +1 -0
- package/dist/wc/gv-file-upload.d.ts +1 -0
- package/dist/wc/gv-file-upload.js +1 -0
- package/dist/wc/gv-flow-step.d.ts +1 -0
- package/dist/wc/gv-flow-step.js +1 -0
- package/dist/wc/gv-flow.d.ts +1 -0
- package/dist/wc/gv-flow.js +1 -0
- package/dist/wc/gv-header.d.ts +1 -0
- package/dist/wc/gv-header.js +1 -0
- package/dist/wc/gv-http-client.d.ts +1 -0
- package/dist/wc/gv-http-client.js +1 -0
- package/dist/wc/gv-icon.d.ts +1 -0
- package/dist/wc/gv-icon.js +1 -0
- package/dist/wc/gv-identity-picture.d.ts +1 -0
- package/dist/wc/gv-identity-picture.js +1 -0
- package/dist/wc/gv-image.d.ts +1 -0
- package/dist/wc/gv-image.js +1 -0
- package/dist/wc/gv-input-message.d.ts +1 -0
- package/dist/wc/gv-input-message.js +1 -0
- package/dist/wc/gv-input.d.ts +1 -0
- package/dist/wc/gv-input.js +1 -0
- package/dist/wc/gv-link.d.ts +1 -0
- package/dist/wc/gv-link.js +1 -0
- package/dist/wc/gv-list.d.ts +1 -0
- package/dist/wc/gv-list.js +1 -0
- package/dist/wc/gv-menu.d.ts +1 -0
- package/dist/wc/gv-menu.js +1 -0
- package/dist/wc/gv-message.d.ts +1 -0
- package/dist/wc/gv-message.js +1 -0
- package/dist/wc/gv-metric.d.ts +1 -0
- package/dist/wc/gv-metric.js +1 -0
- package/dist/wc/gv-metrics.d.ts +1 -0
- package/dist/wc/gv-metrics.js +1 -0
- package/dist/wc/gv-modal.d.ts +1 -0
- package/dist/wc/gv-modal.js +1 -0
- package/dist/wc/gv-nav.d.ts +1 -0
- package/dist/wc/gv-nav.js +1 -0
- package/dist/wc/gv-newsletter-subscription.d.ts +1 -0
- package/dist/wc/gv-newsletter-subscription.js +1 -0
- package/dist/wc/gv-option.d.ts +1 -0
- package/dist/wc/gv-option.js +1 -0
- package/dist/wc/gv-pagination.d.ts +1 -0
- package/dist/wc/gv-pagination.js +1 -0
- package/dist/wc/gv-plans.d.ts +1 -0
- package/dist/wc/gv-plans.js +1 -0
- package/dist/wc/gv-policy-studio-menu.d.ts +1 -0
- package/dist/wc/gv-policy-studio-menu.js +1 -0
- package/dist/wc/gv-policy-studio.d.ts +1 -0
- package/dist/wc/gv-policy-studio.js +1 -0
- package/dist/wc/gv-popover.d.ts +1 -0
- package/dist/wc/gv-popover.js +1 -0
- package/dist/wc/gv-promote.d.ts +1 -0
- package/dist/wc/gv-promote.js +1 -0
- package/dist/wc/gv-properties.d.ts +1 -0
- package/dist/wc/gv-properties.js +1 -0
- package/dist/wc/gv-rating-list.d.ts +1 -0
- package/dist/wc/gv-rating-list.js +1 -0
- package/dist/wc/gv-rating.d.ts +1 -0
- package/dist/wc/gv-rating.js +1 -0
- package/dist/wc/gv-relative-time.d.ts +1 -0
- package/dist/wc/gv-relative-time.js +1 -0
- package/dist/wc/gv-resizable-views.d.ts +1 -0
- package/dist/wc/gv-resizable-views.js +1 -0
- package/dist/wc/gv-resources.d.ts +1 -0
- package/dist/wc/gv-resources.js +1 -0
- package/dist/wc/gv-row-expandable.d.ts +1 -0
- package/dist/wc/gv-row-expandable.js +1 -0
- package/dist/wc/gv-row.d.ts +1 -0
- package/dist/wc/gv-row.js +1 -0
- package/dist/wc/gv-schema-form-array.d.ts +1 -0
- package/dist/wc/gv-schema-form-array.js +1 -0
- package/dist/wc/gv-schema-form-control-object.d.ts +1 -0
- package/dist/wc/gv-schema-form-control-object.js +1 -0
- package/dist/wc/gv-schema-form-control.d.ts +1 -0
- package/dist/wc/gv-schema-form-control.js +1 -0
- package/dist/wc/gv-schema-form.d.ts +1 -0
- package/dist/wc/gv-schema-form.js +1 -0
- package/dist/wc/gv-select-native.d.ts +1 -0
- package/dist/wc/gv-select-native.js +1 -0
- package/dist/wc/gv-select.d.ts +1 -0
- package/dist/wc/gv-select.js +1 -0
- package/dist/wc/gv-spinner.d.ts +1 -0
- package/dist/wc/gv-spinner.js +1 -0
- package/dist/wc/gv-state.d.ts +1 -0
- package/dist/wc/gv-state.js +1 -0
- package/dist/wc/gv-stats.d.ts +1 -0
- package/dist/wc/gv-stats.js +1 -0
- package/dist/wc/gv-stepper.d.ts +1 -0
- package/dist/wc/gv-stepper.js +1 -0
- package/dist/wc/gv-switch.d.ts +1 -0
- package/dist/wc/gv-switch.js +1 -0
- package/dist/wc/gv-table.d.ts +1 -0
- package/dist/wc/gv-table.js +1 -0
- package/dist/wc/gv-tabs.d.ts +1 -0
- package/dist/wc/gv-tabs.js +1 -0
- package/dist/wc/gv-tag.d.ts +1 -0
- package/dist/wc/gv-tag.js +1 -0
- package/dist/wc/gv-text.d.ts +1 -0
- package/dist/wc/gv-text.js +1 -0
- package/dist/wc/gv-theme.d.ts +1 -0
- package/dist/wc/gv-theme.js +1 -0
- package/dist/wc/gv-tree.d.ts +1 -0
- package/dist/wc/gv-tree.js +1 -0
- package/dist/wc/gv-user-menu.d.ts +1 -0
- package/dist/wc/gv-user-menu.js +1 -0
- package/dist/wc/gv-vertical-menu.d.ts +1 -0
- package/dist/wc/gv-vertical-menu.js +1 -0
- package/package.json +8 -16
- package/src/atoms/gv-autocomplete.js +0 -1
- package/src/atoms/gv-button.js +0 -1
- package/src/atoms/gv-checkbox.js +0 -1
- package/src/atoms/gv-date-picker-calendar.js +0 -1
- package/src/atoms/gv-date-picker-cell.js +0 -1
- package/src/atoms/gv-date-picker.js +0 -1
- package/src/atoms/gv-file-upload.js +0 -1
- package/src/atoms/gv-icon.js +0 -1
- package/src/atoms/gv-image.js +0 -1
- package/src/atoms/gv-input-message.js +0 -1
- package/src/atoms/gv-input.js +0 -1
- package/src/atoms/gv-link.js +0 -1
- package/src/atoms/gv-message.js +0 -1
- package/src/atoms/gv-metric.js +0 -1
- package/src/atoms/gv-relative-time.js +0 -1
- package/src/atoms/gv-select-native.js +0 -1
- package/src/atoms/gv-select.js +0 -1
- package/src/atoms/gv-spinner.js +0 -1
- package/src/atoms/gv-state.js +0 -1
- package/src/atoms/gv-switch.js +0 -1
- package/src/atoms/gv-tag.js +0 -1
- package/src/atoms/gv-text.js +0 -1
- package/src/charts/gv-chart-bar.js +0 -1
- package/src/charts/gv-chart-gauge.js +0 -1
- package/src/charts/gv-chart-histogram.js +0 -1
- package/src/charts/gv-chart-line.js +0 -1
- package/src/charts/gv-chart-map.js +0 -1
- package/src/charts/gv-chart-pie.js +0 -1
- package/src/index.js +0 -1
- package/src/lib/cron-expression.js +0 -1
- package/src/lib/date.js +0 -1
- package/src/lib/events.js +0 -1
- package/src/lib/http-client-schema-form.js +0 -1
- package/src/lib/http.js +0 -1
- package/src/lib/i18n.js +0 -1
- package/src/lib/item.js +0 -1
- package/src/lib/properties.js +0 -1
- package/src/lib/schema-form.js +0 -1
- package/src/lib/studio.js +0 -1
- package/src/lib/style.js +0 -1
- package/src/lib/text-format.js +0 -1
- package/src/lib/theme.js +0 -1
- package/src/lib/utils.js +0 -1
- package/src/mixins/chart-element.js +0 -1
- package/src/mixins/input-element.js +0 -1
- package/src/mixins/item-resource.js +0 -1
- package/src/mixins/keyboard-element.js +0 -1
- package/src/mixins/update-after-browser.js +0 -1
- package/src/mixins/with-resize-observer.js +0 -1
- package/src/mixins/with-skeleton-attribute.js +0 -1
- package/src/molecules/gv-card-full.js +0 -1
- package/src/molecules/gv-card-list.js +0 -1
- package/src/molecules/gv-card.js +0 -1
- package/src/molecules/gv-category-list.js +0 -1
- package/src/molecules/gv-category.js +0 -1
- package/src/molecules/gv-code.js +0 -1
- package/src/molecules/gv-confirm.js +0 -1
- package/src/molecules/gv-cron-editor.js +0 -1
- package/src/molecules/gv-dropdown-menu.js +0 -1
- package/src/molecules/gv-expandable.js +0 -1
- package/src/molecules/gv-expression-language.js +0 -1
- package/src/molecules/gv-identity-picture.js +0 -1
- package/src/molecules/gv-list.js +0 -1
- package/src/molecules/gv-metrics.js +0 -1
- package/src/molecules/gv-modal.js +0 -1
- package/src/molecules/gv-nav.js +0 -1
- package/src/molecules/gv-option.js +0 -1
- package/src/molecules/gv-plans.js +0 -1
- package/src/molecules/gv-popover.js +0 -1
- package/src/molecules/gv-promote.js +0 -1
- package/src/molecules/gv-rating-list.js +0 -1
- package/src/molecules/gv-rating.js +0 -1
- package/src/molecules/gv-row-expandable.js +0 -1
- package/src/molecules/gv-row.js +0 -1
- package/src/molecules/gv-stats.js +0 -1
- package/src/molecules/gv-stepper.js +0 -1
- package/src/molecules/gv-table.js +0 -1
- package/src/molecules/gv-tree.js +0 -1
- package/src/organisms/gv-documentation.js +0 -1
- package/src/organisms/gv-header.js +0 -1
- package/src/organisms/gv-http-client.js +0 -1
- package/src/organisms/gv-menu.js +0 -1
- package/src/organisms/gv-newsletter-subscription.js +0 -1
- package/src/organisms/gv-pagination.js +0 -1
- package/src/organisms/gv-properties.js +0 -1
- package/src/organisms/gv-resizable-views.js +0 -1
- package/src/organisms/gv-resources.js +0 -1
- package/src/organisms/gv-schema-form-array.js +0 -1
- package/src/organisms/gv-schema-form-control-object.js +0 -1
- package/src/organisms/gv-schema-form-control.js +0 -1
- package/src/organisms/gv-schema-form.js +0 -1
- package/src/organisms/gv-tabs.js +0 -1
- package/src/organisms/gv-user-menu.js +0 -1
- package/src/organisms/gv-vertical-menu.js +0 -1
- package/src/policy-studio/gv-flow-step.js +0 -1
- package/src/policy-studio/gv-flow.js +0 -1
- package/src/policy-studio/gv-policy-studio-menu.js +0 -1
- package/src/policy-studio/gv-policy-studio.js +0 -1
- package/src/styles/empty.js +0 -1
- package/src/styles/input.js +0 -1
- package/src/styles/link.js +0 -1
- package/src/styles/shapes.js +0 -1
- package/src/styles/skeleton.js +0 -1
- package/src/styles/zoom.js +0 -1
- package/src/theme/gv-theme.js +0 -1
- package/wc/gv-autocomplete.js +0 -1
- package/wc/gv-button.js +0 -1
- package/wc/gv-card-full.js +0 -1
- package/wc/gv-card-list.js +0 -1
- package/wc/gv-card.js +0 -1
- package/wc/gv-category-list.js +0 -1
- package/wc/gv-category.js +0 -1
- package/wc/gv-chart-bar.js +0 -1
- package/wc/gv-chart-gauge.js +0 -1
- package/wc/gv-chart-histogram.js +0 -1
- package/wc/gv-chart-line.js +0 -1
- package/wc/gv-chart-map.js +0 -1
- package/wc/gv-chart-pie.js +0 -1
- package/wc/gv-checkbox.js +0 -1
- package/wc/gv-code.js +0 -1
- package/wc/gv-confirm.js +0 -1
- package/wc/gv-cron-editor.js +0 -1
- package/wc/gv-date-picker-calendar.js +0 -1
- package/wc/gv-date-picker-cell.js +0 -1
- package/wc/gv-date-picker.js +0 -1
- package/wc/gv-documentation.js +0 -1
- package/wc/gv-dropdown-menu.js +0 -1
- package/wc/gv-expandable.js +0 -1
- package/wc/gv-expression-language.js +0 -1
- package/wc/gv-file-upload.js +0 -1
- package/wc/gv-flow-step.js +0 -1
- package/wc/gv-flow.js +0 -1
- package/wc/gv-header.js +0 -1
- package/wc/gv-http-client.js +0 -1
- package/wc/gv-icon.js +0 -1
- package/wc/gv-identity-picture.js +0 -1
- package/wc/gv-image.js +0 -1
- package/wc/gv-input-message.js +0 -1
- package/wc/gv-input.js +0 -1
- package/wc/gv-link.js +0 -1
- package/wc/gv-list.js +0 -1
- package/wc/gv-menu.js +0 -1
- package/wc/gv-message.js +0 -1
- package/wc/gv-metric.js +0 -1
- package/wc/gv-metrics.js +0 -1
- package/wc/gv-modal.js +0 -1
- package/wc/gv-nav.js +0 -1
- package/wc/gv-newsletter-subscription.js +0 -1
- package/wc/gv-option.js +0 -1
- package/wc/gv-pagination.js +0 -1
- package/wc/gv-plans.js +0 -1
- package/wc/gv-policy-studio-menu.js +0 -1
- package/wc/gv-policy-studio.js +0 -1
- package/wc/gv-popover.js +0 -1
- package/wc/gv-promote.js +0 -1
- package/wc/gv-properties.js +0 -1
- package/wc/gv-rating-list.js +0 -1
- package/wc/gv-rating.js +0 -1
- package/wc/gv-relative-time.js +0 -1
- package/wc/gv-resizable-views.js +0 -1
- package/wc/gv-resources.js +0 -1
- package/wc/gv-row-expandable.js +0 -1
- package/wc/gv-row.js +0 -1
- package/wc/gv-schema-form-array.js +0 -1
- package/wc/gv-schema-form-control-object.js +0 -1
- package/wc/gv-schema-form-control.js +0 -1
- package/wc/gv-schema-form.js +0 -1
- package/wc/gv-select-native.js +0 -1
- package/wc/gv-select.js +0 -1
- package/wc/gv-spinner.js +0 -1
- package/wc/gv-state.js +0 -1
- package/wc/gv-stats.js +0 -1
- package/wc/gv-stepper.js +0 -1
- package/wc/gv-switch.js +0 -1
- package/wc/gv-table.js +0 -1
- package/wc/gv-tabs.js +0 -1
- package/wc/gv-tag.js +0 -1
- package/wc/gv-text.js +0 -1
- package/wc/gv-theme.js +0 -1
- package/wc/gv-tree.js +0 -1
- package/wc/gv-user-menu.js +0 -1
- package/wc/gv-vertical-menu.js +0 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resizable views component
|
|
3
|
+
*
|
|
4
|
+
* @fires gv-resizable-views:resize - when user click to resize action
|
|
5
|
+
* @fires gv-resizable-views:move - when user move the resize cursor
|
|
6
|
+
*
|
|
7
|
+
* @slot top - The top content
|
|
8
|
+
* @slot bottom - The bottom content
|
|
9
|
+
*
|
|
10
|
+
* @attr {String} direction - the direction [vertical|horizonal]
|
|
11
|
+
* @attr {Boolean} no-overflow - true if slot containers should have `overflow: hidden`
|
|
12
|
+
*/
|
|
13
|
+
export class GvResizableViews extends LitElement {
|
|
14
|
+
static get properties(): {
|
|
15
|
+
direction: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
reflect: boolean;
|
|
18
|
+
};
|
|
19
|
+
noOverflow: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
attribute: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
static get styles(): import("lit").CSSResult[];
|
|
25
|
+
direction: string;
|
|
26
|
+
split(): void;
|
|
27
|
+
maximizeTop(): void;
|
|
28
|
+
maximizeBottom(): void;
|
|
29
|
+
resize(top?: number, bottom?: number): void;
|
|
30
|
+
resizable(resizer: any): void;
|
|
31
|
+
get shape(): "design:vertical" | "design:horizontal";
|
|
32
|
+
}
|
|
33
|
+
import { LitElement } from "lit-element/lit-element";
|
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { css, LitElement, html } from 'lit';
|
|
17
|
+
import { classMap } from 'lit/directives/class-map';
|
|
18
|
+
import { dispatchCustomEvent } from '../lib/events';
|
|
19
|
+
/**
|
|
20
|
+
* Resizable views component
|
|
21
|
+
*
|
|
22
|
+
* @fires gv-resizable-views:resize - when user click to resize action
|
|
23
|
+
* @fires gv-resizable-views:move - when user move the resize cursor
|
|
24
|
+
*
|
|
25
|
+
* @slot top - The top content
|
|
26
|
+
* @slot bottom - The bottom content
|
|
27
|
+
*
|
|
28
|
+
* @attr {String} direction - the direction [vertical|horizonal]
|
|
29
|
+
* @attr {Boolean} no-overflow - true if slot containers should have `overflow: hidden`
|
|
30
|
+
*/
|
|
31
|
+
export class GvResizableViews extends LitElement {
|
|
32
|
+
static get properties() {
|
|
33
|
+
return {
|
|
34
|
+
direction: { type: String, reflect: true },
|
|
35
|
+
noOverflow: { type: Boolean, attribute: 'no-overflow' },
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
constructor() {
|
|
39
|
+
super();
|
|
40
|
+
this.direction = 'vertical';
|
|
41
|
+
}
|
|
42
|
+
split() {
|
|
43
|
+
this.resize();
|
|
44
|
+
}
|
|
45
|
+
maximizeTop() {
|
|
46
|
+
this.resize(85, 15);
|
|
47
|
+
}
|
|
48
|
+
maximizeBottom() {
|
|
49
|
+
this.resize(20, 80);
|
|
50
|
+
}
|
|
51
|
+
resize(top = 50, bottom = 50) {
|
|
52
|
+
this.shadowRoot.querySelector('.top').style.height = `${top}%`;
|
|
53
|
+
this.shadowRoot.querySelector('.bottom').style.height = `${bottom}%`;
|
|
54
|
+
// Dispatch event after transition
|
|
55
|
+
setTimeout(() => {
|
|
56
|
+
dispatchCustomEvent(this, 'resize', { top, bottom });
|
|
57
|
+
}, 350);
|
|
58
|
+
}
|
|
59
|
+
resizable(resizer) {
|
|
60
|
+
const direction = resizer.getAttribute('data-direction') || 'horizontal';
|
|
61
|
+
const prevSibling = resizer.previousElementSibling;
|
|
62
|
+
const nextSibling = resizer.nextElementSibling;
|
|
63
|
+
// The current position of mouse
|
|
64
|
+
let x = 0;
|
|
65
|
+
let y = 0;
|
|
66
|
+
let prevSiblingHeight = 0;
|
|
67
|
+
let prevSiblingWidth = 0;
|
|
68
|
+
const shadowRoot = this.shadowRoot;
|
|
69
|
+
const me = this;
|
|
70
|
+
// Handle the mousedown event
|
|
71
|
+
// that's triggered when user drags the resizer
|
|
72
|
+
const mouseDownHandler = function (e) {
|
|
73
|
+
if (!e.target.classList.contains('action')) {
|
|
74
|
+
// Get the current mouse position
|
|
75
|
+
shadowRoot.querySelector('.box').classList.remove('transition');
|
|
76
|
+
x = e.clientX;
|
|
77
|
+
y = e.clientY;
|
|
78
|
+
const rect = prevSibling.getBoundingClientRect();
|
|
79
|
+
prevSiblingHeight = rect.height;
|
|
80
|
+
prevSiblingWidth = rect.width;
|
|
81
|
+
// Attach the listeners to `document`
|
|
82
|
+
document.addEventListener('mousemove', mouseMoveHandler);
|
|
83
|
+
document.addEventListener('mouseup', mouseUpHandler);
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
const mouseMoveHandler = function (e) {
|
|
87
|
+
// How far the mouse has been moved
|
|
88
|
+
const dx = e.clientX - x;
|
|
89
|
+
const dy = e.clientY - y;
|
|
90
|
+
dispatchCustomEvent(me, 'move', { direction });
|
|
91
|
+
switch (direction) {
|
|
92
|
+
case 'vertical':
|
|
93
|
+
prevSibling.style.height = `${((prevSiblingHeight + dy) * 100) / resizer.parentNode.getBoundingClientRect().height}%`;
|
|
94
|
+
nextSibling.style.height = `${100 - ((prevSiblingHeight + dy) * 100) / resizer.parentNode.getBoundingClientRect().height}%`;
|
|
95
|
+
break;
|
|
96
|
+
case 'horizontal':
|
|
97
|
+
default:
|
|
98
|
+
prevSibling.style.width = `${((prevSiblingWidth + dx) * 100) / resizer.parentNode.getBoundingClientRect().width}%`;
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
const cursor = direction === 'horizontal' ? 'col-resize' : 'row-resize';
|
|
102
|
+
resizer.style.cursor = cursor;
|
|
103
|
+
resizer.classList.add('drag');
|
|
104
|
+
document.body.style.cursor = cursor;
|
|
105
|
+
prevSibling.style.userSelect = 'none';
|
|
106
|
+
prevSibling.style.pointerEvents = 'none';
|
|
107
|
+
nextSibling.style.userSelect = 'none';
|
|
108
|
+
nextSibling.style.pointerEvents = 'none';
|
|
109
|
+
};
|
|
110
|
+
const mouseUpHandler = function () {
|
|
111
|
+
resizer.style.removeProperty('cursor');
|
|
112
|
+
resizer.classList.remove('drag');
|
|
113
|
+
document.body.style.removeProperty('cursor');
|
|
114
|
+
prevSibling.style.removeProperty('user-select');
|
|
115
|
+
prevSibling.style.removeProperty('pointer-events');
|
|
116
|
+
nextSibling.style.removeProperty('user-select');
|
|
117
|
+
nextSibling.style.removeProperty('pointer-events');
|
|
118
|
+
// Remove the handlers of `mousemove` and `mouseup`
|
|
119
|
+
document.removeEventListener('mousemove', mouseMoveHandler);
|
|
120
|
+
document.removeEventListener('mouseup', mouseUpHandler);
|
|
121
|
+
shadowRoot.querySelector('.box').classList.add('transition');
|
|
122
|
+
};
|
|
123
|
+
// Attach the handler
|
|
124
|
+
resizer.addEventListener('mousedown', mouseDownHandler);
|
|
125
|
+
}
|
|
126
|
+
firstUpdated() {
|
|
127
|
+
this.shadowRoot.querySelectorAll('.resizer').forEach((elt) => this.resizable(elt));
|
|
128
|
+
}
|
|
129
|
+
get shape() {
|
|
130
|
+
if (this.direction === 'horizontal') {
|
|
131
|
+
return 'design:vertical';
|
|
132
|
+
}
|
|
133
|
+
return 'design:horizontal';
|
|
134
|
+
}
|
|
135
|
+
render() {
|
|
136
|
+
return html `
|
|
137
|
+
<div class="${classMap({ box: true, transition: true, 'no-overflow': this.noOverflow })}">
|
|
138
|
+
<div class="top"><slot name="top"></slot></div>
|
|
139
|
+
<div class="resizer" data-direction="${this.direction}">
|
|
140
|
+
<gv-icon shape="${this.shape}"></gv-icon>
|
|
141
|
+
<div class="actions">
|
|
142
|
+
<gv-icon class="layout-icon" shape="layout:layout-right-panel-2"></gv-icon>
|
|
143
|
+
<gv-button
|
|
144
|
+
small
|
|
145
|
+
link
|
|
146
|
+
class="action"
|
|
147
|
+
icon="layout:layout-bottom-panel"
|
|
148
|
+
title="Maximize top"
|
|
149
|
+
@gv-button:click="${this.maximizeTop}"
|
|
150
|
+
></gv-button>
|
|
151
|
+
<gv-button
|
|
152
|
+
small
|
|
153
|
+
link
|
|
154
|
+
class="action"
|
|
155
|
+
icon="layout:layout-horizontal-2"
|
|
156
|
+
title="Split screen"
|
|
157
|
+
@gv-button:click="${this.split}"
|
|
158
|
+
></gv-button>
|
|
159
|
+
<gv-button
|
|
160
|
+
small
|
|
161
|
+
link
|
|
162
|
+
class="action"
|
|
163
|
+
icon="layout:layout-top-panel-6"
|
|
164
|
+
title="Maximize bottom"
|
|
165
|
+
@gv-button:click="${this.maximizeBottom}"
|
|
166
|
+
></gv-button>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
<div class="bottom"><slot name="bottom"></slot></div>
|
|
170
|
+
</div>
|
|
171
|
+
`;
|
|
172
|
+
}
|
|
173
|
+
static get styles() {
|
|
174
|
+
return [
|
|
175
|
+
// language=css
|
|
176
|
+
css `
|
|
177
|
+
.box {
|
|
178
|
+
display: flex;
|
|
179
|
+
height: 100%;
|
|
180
|
+
flex: 1 1 0;
|
|
181
|
+
flex-direction: column;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
:host([direction='horizontal']) .box {
|
|
185
|
+
flex-direction: row;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:host([direction='horizontal']) .layout-icon {
|
|
189
|
+
display: none;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
* {
|
|
193
|
+
box-sizing: border-box;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
::slotted(*) {
|
|
197
|
+
display: inline-block;
|
|
198
|
+
width: 100%;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.no-overflow ::slotted(*) {
|
|
202
|
+
height: 100%;
|
|
203
|
+
position: relative;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.top,
|
|
207
|
+
.bottom {
|
|
208
|
+
position: relative;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.no-overflow .top,
|
|
212
|
+
.no-overflow .bottom {
|
|
213
|
+
overflow: hidden;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.bottom {
|
|
217
|
+
display: flex;
|
|
218
|
+
flex-grow: 1;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.left {
|
|
222
|
+
width: 70%;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.left,
|
|
226
|
+
.right {
|
|
227
|
+
padding: 0.2rem;
|
|
228
|
+
overflow: auto;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.top,
|
|
232
|
+
.bottom {
|
|
233
|
+
border-left: 1px solid #bfbfbf;
|
|
234
|
+
border-right: 1px solid #bfbfbf;
|
|
235
|
+
height: 100%;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
:host([direction='horizontal']) .top {
|
|
239
|
+
border-right: 0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
:host([direction='horizontal']) .bottom {
|
|
243
|
+
border-left: 0;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.transition .top,
|
|
247
|
+
.transition .bottom {
|
|
248
|
+
transition: height 350ms ease-in-out;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.top {
|
|
252
|
+
overflow-y: auto;
|
|
253
|
+
overflow-x: hidden;
|
|
254
|
+
height: 50%;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.bottom {
|
|
258
|
+
overflow-y: auto;
|
|
259
|
+
overflow-x: hidden;
|
|
260
|
+
height: 50%;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
:host([direction='horizontal']) .top,
|
|
264
|
+
:host([direction='horizontal']) .bottom {
|
|
265
|
+
height: 100%;
|
|
266
|
+
width: 50%;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.resizer {
|
|
270
|
+
z-index: 10;
|
|
271
|
+
background-color: #d9d9d9;
|
|
272
|
+
--gv-icon--s: 20px;
|
|
273
|
+
display: flex;
|
|
274
|
+
align-items: center;
|
|
275
|
+
justify-content: flex-end;
|
|
276
|
+
--gv-icon--c: #28444f;
|
|
277
|
+
transition: all 0.2s ease-in-out;
|
|
278
|
+
position: relative;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.resizer.drag {
|
|
282
|
+
border-width: 4px 0;
|
|
283
|
+
border-style: double;
|
|
284
|
+
border-color: #d9d9d9;
|
|
285
|
+
background-color: white;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.resizer gv-icon,
|
|
289
|
+
.resizer .actions {
|
|
290
|
+
transition: all 0.2s ease-in-out;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.resizer.drag gv-icon,
|
|
294
|
+
.resizer.drag .actions {
|
|
295
|
+
visibility: hidden;
|
|
296
|
+
opacity: 0;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
:host([direction='horizontal']) .resizer.drag {
|
|
300
|
+
border-width: 0 4px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.resizer > gv-icon {
|
|
304
|
+
position: absolute;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
:host([direction='horizontal']) .resizer {
|
|
308
|
+
align-items: flex-start;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
:host([direction='vertical']) .resizer gv-icon {
|
|
312
|
+
right: 45px;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
:host([direction='horizontal']) .resizer gv-icon {
|
|
316
|
+
left: -9px;
|
|
317
|
+
top: 45px;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.resizer[data-direction='vertical'] {
|
|
321
|
+
cursor: ns-resize;
|
|
322
|
+
height: 2px;
|
|
323
|
+
width: 100%;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.resizer[data-direction='horizontal'] {
|
|
327
|
+
cursor: ew-resize;
|
|
328
|
+
height: 100%;
|
|
329
|
+
width: 2px;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.actions {
|
|
333
|
+
margin-top: -22px;
|
|
334
|
+
margin-right: 15px;
|
|
335
|
+
padding: 0 0.2rem;
|
|
336
|
+
border-radius: 4px 4px 0 0;
|
|
337
|
+
background-color: #d9d9d9;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.actions gv-button {
|
|
341
|
+
margin: 0.2rem 0.1rem;
|
|
342
|
+
visibility: hidden;
|
|
343
|
+
opacity: 0;
|
|
344
|
+
display: none;
|
|
345
|
+
transition: all 250ms ease-in-out;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.actions:focus-within,
|
|
349
|
+
.actions:hover {
|
|
350
|
+
padding: 0.2rem;
|
|
351
|
+
margin-top: -66px;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.actions:focus-within gv-button,
|
|
355
|
+
.actions:hover gv-button {
|
|
356
|
+
display: block;
|
|
357
|
+
opacity: 1;
|
|
358
|
+
visibility: visible;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.actions:focus-within gv-icon,
|
|
362
|
+
.actions:hover gv-icon {
|
|
363
|
+
display: none;
|
|
364
|
+
opacity: 0;
|
|
365
|
+
visibility: hidden;
|
|
366
|
+
}
|
|
367
|
+
`,
|
|
368
|
+
];
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
window.customElements.define('gv-resizable-views', GvResizableViews);
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
declare const GvResources_base: {
|
|
2
|
+
new (): {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
_controller: {};
|
|
5
|
+
_handleKeyDown: (e: any) => void;
|
|
6
|
+
_handleKeyUp: (e: any) => void;
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
disconnectedCallback(): void;
|
|
9
|
+
_onKeyDown(e: any): void;
|
|
10
|
+
_onKeyUp(e: any): void;
|
|
11
|
+
isPressed(...keys: any[]): boolean;
|
|
12
|
+
onKeyboard(controller: any): void;
|
|
13
|
+
};
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
};
|
|
16
|
+
export class GvResources extends GvResources_base {
|
|
17
|
+
static get properties(): {
|
|
18
|
+
resources: {
|
|
19
|
+
type: ArrayConstructor;
|
|
20
|
+
};
|
|
21
|
+
_resources: {
|
|
22
|
+
type: ArrayConstructor;
|
|
23
|
+
attribute: boolean;
|
|
24
|
+
};
|
|
25
|
+
types: {
|
|
26
|
+
type: ArrayConstructor;
|
|
27
|
+
};
|
|
28
|
+
documentation: {
|
|
29
|
+
type: ObjectConstructor;
|
|
30
|
+
};
|
|
31
|
+
_currentResource: {
|
|
32
|
+
type: ObjectConstructor;
|
|
33
|
+
attribute: boolean;
|
|
34
|
+
};
|
|
35
|
+
_currentResourceLoading: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
attribute: boolean;
|
|
38
|
+
};
|
|
39
|
+
_filter: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
};
|
|
42
|
+
readonly: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
reflect: boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
static get styles(): import("lit").CSSResult[];
|
|
48
|
+
set resources(arg: any);
|
|
49
|
+
get resources(): any;
|
|
50
|
+
types: any[];
|
|
51
|
+
_currentResource: {
|
|
52
|
+
type: any;
|
|
53
|
+
title: string;
|
|
54
|
+
icon: string;
|
|
55
|
+
schema: {
|
|
56
|
+
properties: any;
|
|
57
|
+
required: any[];
|
|
58
|
+
};
|
|
59
|
+
values: {};
|
|
60
|
+
submitLabel: string;
|
|
61
|
+
dirty: boolean;
|
|
62
|
+
_id?: undefined;
|
|
63
|
+
} | {
|
|
64
|
+
_id: any;
|
|
65
|
+
title: string;
|
|
66
|
+
type: any;
|
|
67
|
+
icon: string;
|
|
68
|
+
schema: {
|
|
69
|
+
properties: any;
|
|
70
|
+
required: any[];
|
|
71
|
+
};
|
|
72
|
+
values: any;
|
|
73
|
+
submitLabel: string;
|
|
74
|
+
dirty?: undefined;
|
|
75
|
+
} | null;
|
|
76
|
+
_emptymessage: string;
|
|
77
|
+
firstUpdated(): void;
|
|
78
|
+
_resources: any;
|
|
79
|
+
_generateId(list: any): any;
|
|
80
|
+
_getResizableViews(): any;
|
|
81
|
+
_maximizeTopView(): void;
|
|
82
|
+
_maximizeBottomView(): void;
|
|
83
|
+
_splitMainViews(): void;
|
|
84
|
+
_onCancelResourceForm(): void;
|
|
85
|
+
documentation: any;
|
|
86
|
+
_removeResource(item: any): void;
|
|
87
|
+
_buildResourceSchema(resourceType: any): {
|
|
88
|
+
properties: any;
|
|
89
|
+
required: any[];
|
|
90
|
+
};
|
|
91
|
+
_onCreateResource({ detail }: {
|
|
92
|
+
detail: any;
|
|
93
|
+
}): void;
|
|
94
|
+
_currentResourceLoading: boolean | undefined;
|
|
95
|
+
_onSubmitResourceForm({ detail }: {
|
|
96
|
+
detail: any;
|
|
97
|
+
}): void;
|
|
98
|
+
_onChangeResourceForm({ detail }: {
|
|
99
|
+
detail: any;
|
|
100
|
+
}): void;
|
|
101
|
+
_onResetResourceForm(): void;
|
|
102
|
+
_findResourceById(id: any): any;
|
|
103
|
+
_onSelectResource({ detail: { items } }: {
|
|
104
|
+
detail: {
|
|
105
|
+
items: any;
|
|
106
|
+
};
|
|
107
|
+
}): void;
|
|
108
|
+
_onEditResource(resource: any): void;
|
|
109
|
+
_onCloseDocumentation(): void;
|
|
110
|
+
_getCurrentResourceType(): any;
|
|
111
|
+
_onFetchDocumentation(): void;
|
|
112
|
+
get dirty(): any;
|
|
113
|
+
confirm(): any;
|
|
114
|
+
_onChangeResourceState(item: any, event: any): void;
|
|
115
|
+
_renderForm(): import("lit-html").TemplateResult<1>;
|
|
116
|
+
_renderDoc(): import("lit-html").TemplateResult<1>;
|
|
117
|
+
_renderBottom(): import("lit-html").TemplateResult<1> | undefined;
|
|
118
|
+
_onSearchResource({ detail }: {
|
|
119
|
+
detail: any;
|
|
120
|
+
}): void;
|
|
121
|
+
_filter: any;
|
|
122
|
+
_onClearResource(): void;
|
|
123
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
124
|
+
}
|
|
125
|
+
export {};
|