dashboard-shell-shell 3.0.5-test.6 → 3.0.5-test.61
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/assets/brand/csp/favicon.png +0 -0
- package/assets/brand/harvester/favicon.png +0 -0
- package/assets/brand/suse/favicon.png +0 -0
- package/assets/icons/demo.css +539 -0
- package/assets/icons/demo.css:Zone.Identifier +0 -0
- package/assets/icons/demo_index.html +1131 -0
- package/assets/icons/demo_index.html:Zone.Identifier +0 -0
- package/assets/icons/iconfont.css +219 -0
- package/assets/icons/iconfont.css:Zone.Identifier +0 -0
- package/assets/icons/iconfont.js +1 -0
- package/assets/icons/iconfont.js:Zone.Identifier +0 -0
- package/assets/icons/iconfont.json +324 -0
- package/assets/icons/iconfont.json:Zone.Identifier +0 -0
- package/assets/icons/iconfont.ttf +0 -0
- package/assets/icons/iconfont.ttf:Zone.Identifier +0 -0
- package/assets/icons/iconfont.woff +0 -0
- package/assets/icons/iconfont.woff2 +0 -0
- package/assets/icons/iconfont.woff2:Zone.Identifier +0 -0
- package/assets/icons/iconfont.woff:Zone.Identifier +0 -0
- package/assets/iconsNew/demo.css +539 -0
- package/assets/iconsNew/demo.css:Zone.Identifier +0 -0
- package/assets/iconsNew/demo_index.html +303 -0
- package/assets/iconsNew/demo_index.html:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.css +43 -0
- package/assets/iconsNew/iconfont.css:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.js +1 -0
- package/assets/iconsNew/iconfont.js:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.json +44 -0
- package/assets/iconsNew/iconfont.json:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.ttf +0 -0
- package/assets/iconsNew/iconfont.ttf:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.woff +0 -0
- package/assets/iconsNew/iconfont.woff2 +0 -0
- package/assets/iconsNew/iconfont.woff2:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.woff:Zone.Identifier +0 -0
- package/assets/images/API.svg +3 -0
- package/assets/images/action.svg +6 -0
- package/assets/images/login/password.svg +20 -0
- package/assets/images/login/user.svg +6 -0
- package/assets/images/login-bg.png +0 -0
- package/assets/images/login-left.png +0 -0
- package/assets/images/login-logo.svg +44 -0
- package/assets/images/logo.png +0 -0
- package/assets/images/logo.svg +47 -0
- package/assets/images/pl/dark/logo.png +0 -0
- package/assets/images/pl/half-logo.svg +2 -23
- package/assets/images/pl/harvester.png +0 -0
- package/assets/images/pl/logo.png +0 -0
- package/assets/images/promp-yellow.svg +5 -0
- package/assets/images/user.png +0 -0
- package/assets/styles/all.scss +83 -0
- package/assets/styles/app.scss +5 -0
- package/assets/styles/base/_basic.scss +2 -2
- package/assets/styles/base/_helpers.scss +1 -1
- package/assets/styles/base/_mixins.scss +1 -1
- package/assets/styles/base/_typography.scss +2 -1
- package/assets/styles/base/_variables.scss +14 -7
- package/assets/styles/fonts/_icons.scss +3 -2
- package/assets/styles/global/_button.scss +44 -26
- package/assets/styles/global/_columns.scss +3 -1
- package/assets/styles/global/_form.scss +46 -13
- package/assets/styles/global/_labeled-input.scss +54 -26
- package/assets/styles/global/_layout.scss +8 -3
- package/assets/styles/global/_select.scss +25 -17
- package/assets/styles/global/_table.scss +7 -1
- package/assets/styles/global/_tooltip.scss +60 -8
- package/assets/styles/themes/_dark.scss +3 -0
- package/assets/styles/themes/_light.scss +69 -46
- package/assets/styles/vendor/vue-select.scss +24 -10
- package/assets/translations/en-us.yaml +92 -4
- package/assets/translations/zh-hans.yaml +668 -206
- package/components/ActionDropdown.vue +2 -1
- package/components/ActionMenu.vue +2 -2
- package/components/ActionMenuShell.vue +2 -0
- package/components/AppModal.vue +46 -5
- package/components/BrandImage.vue +1 -0
- package/components/ButtonDropdown.vue +28 -4
- package/components/ButtonMultiAction.vue +1 -0
- package/components/ClusterIconMenu.vue +2 -2
- package/components/CodeMirror.vue +26 -10
- package/components/ConsumptionGauge.vue +24 -5
- package/components/ContainerResourceLimit.vue +2 -2
- package/components/CopyToClipboard.vue +15 -0
- package/components/CruResource.vue +12 -10
- package/components/CruResourceFooter.vue +2 -2
- package/components/DashboardOptions.vue +29 -17
- package/components/DotState.vue +84 -0
- package/components/Drawer/Chrome.vue +2 -2
- package/components/Drawer/ResourceDetailDrawer/ConfigTab.vue +30 -27
- package/components/Drawer/ResourceDetailDrawer/YamlTab.vue +1 -1
- package/components/Drawer/ResourceDetailDrawer/index.vue +5 -4
- package/components/ExplorerMembers.vue +28 -4
- package/components/ExplorerProjectsNamespaces.vue +19 -5
- package/components/GlobalRoleBindings.vue +23 -4
- package/components/GrafanaDashboard.vue +4 -4
- package/components/GrowlManager.vue +3 -1
- package/components/HardwareResourceGauge.vue +39 -3
- package/components/IndentedPanel.vue +4 -10
- package/components/InfoBox.vue +3 -3
- package/components/InputOrDisplay.vue +28 -2
- package/components/LabelValue.vue +20 -1
- package/components/ModalWithCard.vue +12 -3
- package/components/PodSecurityAdmission.vue +2 -2
- package/components/PromptModal.vue +1 -1
- package/components/PromptRemove.vue +53 -12
- package/components/RelatedResources.vue +3 -0
- package/components/Resource/Detail/Metadata/IdentifyingInformation/index.vue +1 -3
- package/components/Resource/Detail/Metadata/KeyValue.vue +8 -4
- package/components/Resource/Detail/Metadata/index.vue +3 -1
- package/components/Resource/Detail/TitleBar/Title.vue +4 -3
- package/components/Resource/Detail/TitleBar/Top.vue +2 -0
- package/components/Resource/Detail/TitleBar/composables.ts +16 -1
- package/components/Resource/Detail/TitleBar/index.vue +125 -27
- package/components/ResourceDetail/Masthead/index.vue +1 -1
- package/components/ResourceDetail/Masthead/latest.vue +1 -1
- package/components/ResourceDetail/Masthead/legacy.vue +183 -39
- package/components/ResourceDetail/legacy.vue +47 -29
- package/components/ResourceList/Masthead.vue +222 -54
- package/components/ResourceList/ResourceLoadingIndicator.vue +5 -2
- package/components/ResourceTable.vue +40 -2
- package/components/SideNav.vue +74 -20
- package/components/SingleClusterInfo.vue +2 -1
- package/components/SortableTable/THead.vue +79 -4
- package/components/SortableTable/index.vue +1053 -464
- package/components/SortableTable/paging.js +26 -16
- package/components/SortableTable/selection.js +2 -2
- package/components/Tabbed/Tab.vue +3 -3
- package/components/Tabbed/index.vue +53 -30
- package/components/YamlEditor.vue +0 -1
- package/components/auth/Principal.vue +51 -19
- package/components/auth/RoleDetailEdit.vue +69 -14
- package/components/auth/SelectPrincipal.vue +1 -0
- package/components/breadcrumb/index.vue +119 -0
- package/components/form/ArrayList.vue +177 -152
- package/components/form/ArrayListGrouped.vue +13 -3
- package/components/form/ArrayListSelect.vue +1 -1
- package/components/form/BannerSettings.vue +64 -59
- package/components/form/ChangePassword.vue +5 -5
- package/components/form/ClusterAppearance.vue +4 -3
- package/components/form/ColorInput.vue +32 -8
- package/components/form/Command.vue +4 -5
- package/components/form/Conditions.vue +15 -1
- package/components/form/Footer.vue +12 -8
- package/components/form/HealthCheck.vue +0 -2
- package/components/form/HookOption.vue +87 -58
- package/components/form/InputWithSelect.vue +8 -4
- package/components/form/KeyValue.vue +66 -8
- package/components/form/LabeledSelect.vue +216 -242
- package/components/form/Labels.vue +4 -4
- package/components/form/MatchExpressions.vue +28 -11
- package/components/form/Members/ClusterMembershipEditor.vue +1 -1
- package/components/form/Members/ClusterPermissionsEditor.vue +61 -43
- package/components/form/Members/MembershipEditor.vue +4 -4
- package/components/form/Members/ProjectMembershipEditor.vue +1 -1
- package/components/form/NameNsDescription.vue +62 -22
- package/components/form/Networking.vue +6 -9
- package/components/form/NodeAffinity.vue +29 -28
- package/components/form/Password.vue +16 -7
- package/components/form/PodAffinity.vue +24 -25
- package/components/form/Probe.vue +15 -11
- package/components/form/ProjectMemberEditor.vue +66 -48
- package/components/form/ResourceQuota/Namespace.vue +4 -4
- package/components/form/ResourceQuota/NamespaceRow.vue +26 -23
- package/components/form/ResourceQuota/Project.vue +4 -4
- package/components/form/ResourceQuota/ProjectRow.vue +38 -35
- package/components/form/ResourceSelector.vue +1 -1
- package/components/form/SecretSelector.vue +24 -23
- package/components/form/Security.vue +1 -3
- package/components/form/Select.vue +12 -3
- package/components/form/ServiceNameSelect.vue +2 -5
- package/components/form/ServicePorts.vue +149 -75
- package/components/form/SimpleSecretSelector.vue +29 -9
- package/components/form/Taints.vue +2 -1
- package/components/form/Tolerations.vue +13 -9
- package/components/form/UnitInput.vue +8 -3
- package/components/form/ValueFromResource.vue +110 -96
- package/components/form/WorkloadPorts.vue +143 -123
- package/components/formatter/BadgeStateFormatter.vue +8 -5
- package/components/formatter/LiveDate.vue +3 -3
- package/components/formatter/WorkloadHealthScale.vue +4 -3
- package/components/nav/Favorite.vue +5 -1
- package/components/nav/Group.vue +139 -99
- package/components/nav/Header.vue +138 -164
- package/components/nav/HeaderPageActionMenu.vue +1 -0
- package/components/nav/NamespaceFilter.vue +34 -36
- package/components/nav/TopLevelMenu.vue +62 -25
- package/components/nav/Type.vue +73 -43
- package/composables/useClickOutside.ts +1 -1
- package/config/menuRouteMap.js +10 -0
- package/config/private-label.js +14 -11
- package/config/product/auth.js +17 -7
- package/config/product/explorer.js +32 -10
- package/config/product/manager.js +28 -17
- package/config/product/settings.js +19 -9
- package/config/product/uiplugins.js +13 -10
- package/config/router/navigation-guards/index.js +61 -3
- package/config/settings.ts +28 -0
- package/config/table-headers.js +3 -2
- package/detail/node.vue +28 -23
- package/dialog/AddCustomBadgeDialog.vue +17 -9
- package/dialog/ForceMachineRemoveDialog.vue +2 -2
- package/dialog/RollbackWorkloadDialog.vue +1 -1
- package/dialog/ScalePoolDownDialog.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +9 -6
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +3 -1
- package/edit/autoscaling.horizontalpodautoscaler/metric-identifier.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/metric-object-reference.vue +7 -5
- package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +5 -3
- package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +2 -2
- package/edit/configmap.vue +4 -0
- package/edit/logging-flow/index.vue +1 -2
- package/edit/logging.banzaicloud.io.output/providers/awsElasticsearch.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/azurestorage.vue +19 -19
- package/edit/logging.banzaicloud.io.output/providers/cloudwatch.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/datadog.vue +19 -19
- package/edit/logging.banzaicloud.io.output/providers/elasticsearch.vue +14 -14
- package/edit/logging.banzaicloud.io.output/providers/forward.vue +12 -12
- package/edit/logging.banzaicloud.io.output/providers/gcs.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/gelf.vue +6 -6
- package/edit/logging.banzaicloud.io.output/providers/kafka.vue +10 -10
- package/edit/logging.banzaicloud.io.output/providers/kinesisStream.vue +8 -8
- package/edit/logging.banzaicloud.io.output/providers/logdna.vue +17 -17
- package/edit/logging.banzaicloud.io.output/providers/logz.vue +7 -7
- package/edit/logging.banzaicloud.io.output/providers/loki.vue +12 -12
- package/edit/logging.banzaicloud.io.output/providers/newrelic.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/opensearch.vue +14 -14
- package/edit/logging.banzaicloud.io.output/providers/redis.vue +6 -6
- package/edit/logging.banzaicloud.io.output/providers/s3.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/splunkHec.vue +13 -13
- package/edit/logging.banzaicloud.io.output/providers/sumologic.vue +2 -2
- package/edit/logging.banzaicloud.io.output/providers/syslog.vue +54 -54
- package/edit/management.cattle.io.user.vue +17 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/auth.vue +19 -19
- package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +50 -26
- package/edit/monitoring.coreos.com.alertmanagerconfig/routeConfig.vue +36 -12
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/dingding.vue +32 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/email.vue +6 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/message.vue +52 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/pagerduty.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/slack.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/snmp.vue +45 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/webhook.vue +1 -1
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/work.vue +31 -0
- package/edit/monitoring.coreos.com.receiver/types/email.vue +6 -6
- package/edit/monitoring.coreos.com.receiver/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.receiver/types/pagerduty.vue +5 -5
- package/edit/monitoring.coreos.com.receiver/types/slack.vue +4 -4
- package/edit/namespace.vue +1 -2
- package/edit/networking.k8s.io.ingress/Certificate.vue +14 -5
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +2 -2
- package/edit/networking.k8s.io.ingress/Rule.vue +5 -11
- package/edit/networking.k8s.io.ingress/RulePath.vue +105 -96
- package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +3 -3
- package/edit/networking.k8s.io.networkpolicy/PolicyRulePort.vue +4 -2
- package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +12 -11
- package/edit/networking.k8s.io.networkpolicy/index.vue +1 -1
- package/edit/persistentvolume/index.vue +3 -1
- package/edit/persistentvolumeclaim.vue +2 -0
- package/edit/provisioning.cattle.io.cluster/tabs/Basics.vue +1 -1
- package/edit/secret/index.vue +2 -2
- package/edit/service.vue +4 -1
- package/edit/storage.k8s.io.storageclass/index.vue +10 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +34 -27
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +15 -13
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +41 -39
- package/edit/token.vue +31 -12
- package/edit/workload/Job.vue +31 -34
- package/edit/workload/Upgrading.vue +5 -5
- package/edit/workload/index.vue +22 -18
- package/edit/workload/storage/Mount.vue +1 -0
- package/edit/workload/storage/awsElasticBlockStore.vue +9 -7
- package/edit/workload/storage/azureDisk.vue +14 -10
- package/edit/workload/storage/azureFile.vue +9 -7
- package/edit/workload/storage/csi/index.vue +6 -9
- package/edit/workload/storage/emptyDir.vue +7 -5
- package/edit/workload/storage/gcePersistentDisk.vue +9 -7
- package/edit/workload/storage/hostPath.vue +7 -5
- package/edit/workload/storage/nfs.vue +8 -6
- package/edit/workload/storage/persistentVolumeClaim/index.vue +12 -10
- package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +20 -15
- package/edit/workload/storage/secret.vue +9 -6
- package/edit/workload/storage/vsphereVolume.vue +11 -7
- package/initialize/app-extended.js +7 -1
- package/list/management.cattle.io.podsecurityadmissionconfigurationtemplate.vue +8 -6
- package/list/management.cattle.io.setting.vue +22 -13
- package/list/management.cattle.io.user.vue +7 -3
- package/list/namespace.vue +3 -0
- package/list/provisioning.cattle.io.cluster.vue +6 -7
- package/mixins/brand.js +17 -0
- package/mixins/create-edit-view/impl.js +10 -0
- package/models/provisioning.cattle.io.cluster.js +19 -18
- package/models/workload.js +2 -2
- package/package.json +1 -1
- package/pages/account/index.vue +93 -58
- package/pages/account/pri.vue +229 -0
- package/pages/auth/login.vue +216 -51
- package/pages/auth/setup.vue +175 -33
- package/pages/c/_cluster/_product/namespaces.vue +5 -5
- package/pages/c/_cluster/auth/roles/index.vue +83 -8
- package/pages/c/_cluster/explorer/ConfigBadge.vue +1 -1
- package/pages/c/_cluster/explorer/index.vue +2 -1
- package/pages/c/_cluster/explorer/tools/index.vue +6 -6
- package/pages/c/_cluster/monitoring/monitor/index.vue +2 -2
- package/pages/c/_cluster/settings/banners.vue +174 -102
- package/pages/c/_cluster/settings/brand.vue +350 -302
- package/pages/c/_cluster/settings/performance.vue +61 -38
- package/pages/home.vue +119 -37
- package/pages/prefs.vue +27 -25
- package/pkg/tsconfig.json +9 -9
- package/pkg/vue.config.js +1 -1
- package/plugins/dashboard-store/actions.js +1 -1
- package/plugins/dashboard-store/resource-class.js +28 -27
- package/promptRemove/mixin/roleDeletionCheck.js +2 -2
- package/public/index.html +4 -4
- package/rancher-components/BadgeState/BadgeState.vue +38 -55
- package/rancher-components/Banner/Banner.vue +25 -9
- package/rancher-components/Card/Card.vue +7 -8
- package/rancher-components/Form/Checkbox/Checkbox.vue +4 -0
- package/rancher-components/Form/LabeledInput/LabeledInput.vue +42 -3
- package/rancher-components/Form/Radio/RadioButton.vue +35 -11
- package/rancher-components/Form/Radio/RadioGroup.vue +22 -6
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +3 -3
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +1 -0
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +41 -4
- package/rancher-components/RcDropdown/RcDropdown.vue +35 -7
- package/rancher-components/RcDropdown/RcDropdownItem.vue +2 -2
- package/rancher-components/RcDropdown/RcDropdownMenu.vue +12 -6
- package/rancher-components/RcDropdown/types.ts +1 -0
- package/rancher-components/StringList/StringList.vue +1 -1
- package/scripts/build-pkg.sh +18 -23
- package/scripts/publish-shell.sh +1 -1
- package/static/favicon.ico +0 -0
- package/static/favicon.png +0 -0
- package/static/loading-indicator.html +3 -3
- package/store/i18n.js +6 -2
- package/store/modal.ts +3 -3
- package/store/prefs.js +11 -4
- package/store/type-map.js +30 -2
- package/types/shell/index.d.ts +86 -97
- package/utils/error.js +109 -8
- package/utils/errorTranslate.json +1740 -0
- package/utils/errorTranslateNew.json +39 -0
- package/utils/roleFiltering.js +33 -0
- package/utils/router.js +21 -0
- package/utils/select.js +26 -3
- package/utils/string.js +8 -5
- package/utils/title.ts +1 -1
- package/vue.config.js +1 -1
|
@@ -212,6 +212,7 @@ export default {
|
|
|
212
212
|
border: 1px solid var(--dropdown-border);
|
|
213
213
|
padding: 0px;
|
|
214
214
|
text-align: left;
|
|
215
|
+
border-radius: 2px;
|
|
215
216
|
|
|
216
217
|
LI {
|
|
217
218
|
padding: 10px;
|
|
@@ -222,7 +223,7 @@ export default {
|
|
|
222
223
|
|
|
223
224
|
> .divider-inner {
|
|
224
225
|
padding: 0;
|
|
225
|
-
border-bottom:
|
|
226
|
+
border-bottom: 0px solid var(--dropdown-divider);
|
|
226
227
|
width: 125%;
|
|
227
228
|
margin: 0 auto;
|
|
228
229
|
}
|
|
@@ -305,7 +305,7 @@ export default {
|
|
|
305
305
|
color: var(--dropdown-text);
|
|
306
306
|
background-color: var(--dropdown-bg);
|
|
307
307
|
border: 1px solid var(--dropdown-border);
|
|
308
|
-
border-radius:
|
|
308
|
+
border-radius: 3px;
|
|
309
309
|
box-shadow: 0 5px 20px var(--shadow);
|
|
310
310
|
|
|
311
311
|
LI {
|
|
@@ -326,7 +326,7 @@ export default {
|
|
|
326
326
|
|
|
327
327
|
&.divider {
|
|
328
328
|
padding: 0;
|
|
329
|
-
border-bottom:
|
|
329
|
+
border-bottom: 0px solid var(--dropdown-divider);
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
&:not(.divider):hover {
|
|
@@ -18,6 +18,7 @@ type RcDropdownMenuComponentProps = {
|
|
|
18
18
|
dataTestid?: string;
|
|
19
19
|
resource: Object;
|
|
20
20
|
customActions?: DropdownOption[];
|
|
21
|
+
showIcon: Boolean;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
const props = defineProps <RcDropdownMenuComponentProps>();
|
|
@@ -101,5 +102,6 @@ const menuOptions = () => {
|
|
|
101
102
|
:data-testid="dataTestid"
|
|
102
103
|
@update:open="openChanged"
|
|
103
104
|
@select="(e: MouseEvent, option: object) => execute(option, e)"
|
|
105
|
+
:showIcon="showIcon"
|
|
104
106
|
/>
|
|
105
107
|
</template>
|
package/components/AppModal.vue
CHANGED
|
@@ -30,7 +30,7 @@ export default defineComponent({
|
|
|
30
30
|
*/
|
|
31
31
|
width: {
|
|
32
32
|
type: [Number, String],
|
|
33
|
-
default:
|
|
33
|
+
default: 610,
|
|
34
34
|
validator(value) {
|
|
35
35
|
if (typeof value === 'number') {
|
|
36
36
|
return value > 0;
|
|
@@ -101,7 +101,7 @@ export default defineComponent({
|
|
|
101
101
|
return `${ this.width }${ uom }`;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
return '
|
|
104
|
+
return '610px';
|
|
105
105
|
},
|
|
106
106
|
stylesPropToObj(): object {
|
|
107
107
|
return this.styles.split(';')
|
|
@@ -164,6 +164,14 @@ export default defineComponent({
|
|
|
164
164
|
this.$emit('close');
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
|
+
close(event: MouseEvent) {
|
|
168
|
+
if (
|
|
169
|
+
this.$refs.modalRef
|
|
170
|
+
) {
|
|
171
|
+
this.$emit('close');
|
|
172
|
+
}
|
|
173
|
+
// this.$emit('close');
|
|
174
|
+
},
|
|
167
175
|
handleEscapeKey(event: KeyboardEvent) {
|
|
168
176
|
if (this.clickToClose && event.key === 'Escape') {
|
|
169
177
|
this.$emit('close');
|
|
@@ -206,8 +214,20 @@ export default defineComponent({
|
|
|
206
214
|
aria-modal="true"
|
|
207
215
|
@click.stop
|
|
208
216
|
>
|
|
217
|
+
<div
|
|
218
|
+
class="close-dailog-icon"
|
|
219
|
+
>
|
|
220
|
+
<button
|
|
221
|
+
class="btn btn-sm role-link hide-bar"
|
|
222
|
+
@click="close"
|
|
223
|
+
>
|
|
224
|
+
<i class="icon icon-x" />
|
|
225
|
+
</button>
|
|
226
|
+
</div>
|
|
227
|
+
<div>
|
|
209
228
|
<slot><!--Empty content--></slot>
|
|
210
229
|
</div>
|
|
230
|
+
</div>
|
|
211
231
|
</div>
|
|
212
232
|
</transition>
|
|
213
233
|
</teleport>
|
|
@@ -220,18 +240,21 @@ export default defineComponent({
|
|
|
220
240
|
left: 0;
|
|
221
241
|
width: 100vw;
|
|
222
242
|
height: 100vh;
|
|
223
|
-
background-color: var(--overlay-bg);
|
|
243
|
+
/* background-color: var(--overlay-bg); */
|
|
244
|
+
background-color: var(--overlay-model-bg);
|
|
224
245
|
display: flex;
|
|
225
246
|
justify-content: center;
|
|
226
247
|
align-items: center;
|
|
227
|
-
z-index: z-index('modalOverlay');
|
|
248
|
+
/* z-index: z-index('modalOverlay'); */
|
|
249
|
+
z-index: 50;
|
|
228
250
|
|
|
229
251
|
.modal-container {
|
|
230
252
|
background-color: var(--modal-bg);
|
|
231
253
|
border-radius: var(--border-radius);
|
|
232
254
|
max-height: 95vh;
|
|
233
255
|
overflow: auto;
|
|
234
|
-
border:
|
|
256
|
+
border: 0px;
|
|
257
|
+
position: relative;
|
|
235
258
|
}
|
|
236
259
|
}
|
|
237
260
|
|
|
@@ -244,4 +267,22 @@ export default defineComponent({
|
|
|
244
267
|
.modal-fade-leave-to {
|
|
245
268
|
opacity: 0;
|
|
246
269
|
}
|
|
270
|
+
.hide-bar{
|
|
271
|
+
width: 32px;
|
|
272
|
+
min-width: 32px !important;
|
|
273
|
+
}
|
|
274
|
+
.close-dailog-icon{
|
|
275
|
+
position: absolute;
|
|
276
|
+
right: 13px;
|
|
277
|
+
top: 18px;
|
|
278
|
+
& > button{
|
|
279
|
+
color:var(--body-text) !important;
|
|
280
|
+
min-width: 32px !important;
|
|
281
|
+
width: 32px !important;
|
|
282
|
+
& > button:hover{
|
|
283
|
+
color:var(--body-text) !important;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
}
|
|
247
288
|
</style>
|
|
@@ -196,7 +196,8 @@ export default {
|
|
|
196
196
|
@update:modelValue="$emit('click-action', $event)"
|
|
197
197
|
>
|
|
198
198
|
<template #no-options>
|
|
199
|
-
|
|
199
|
+
暂无数据
|
|
200
|
+
<!-- <slot name="no-options" /> -->
|
|
200
201
|
</template>
|
|
201
202
|
|
|
202
203
|
<template #selected-option="option">
|
|
@@ -247,16 +248,37 @@ export default {
|
|
|
247
248
|
}
|
|
248
249
|
}
|
|
249
250
|
.button-dropdown {
|
|
250
|
-
background: var(--accent-btn);
|
|
251
|
+
/* background: var(--accent-btn); */
|
|
252
|
+
background: var(--accent-btn-hover);
|
|
251
253
|
border: solid 1px var(--link);
|
|
252
254
|
color: var(--link);
|
|
253
255
|
padding: 0;
|
|
254
256
|
|
|
257
|
+
&{
|
|
258
|
+
:deep() .vs__dropdown-toggle .vs__actions,
|
|
259
|
+
:deep() .vs__selected-options {
|
|
260
|
+
background: var(--accent-btn-hover);
|
|
261
|
+
}
|
|
262
|
+
:deep() .vs__selected-options .vs__selected button {
|
|
263
|
+
background-color: transparent;
|
|
264
|
+
color: var(--accent-btn-hover-text);
|
|
265
|
+
}
|
|
266
|
+
:deep() .vs__dropdown-toggle .vs__actions {
|
|
267
|
+
&:after {
|
|
268
|
+
color: var(--accent-btn-hover-text);
|
|
269
|
+
// padding-top: 10px;
|
|
270
|
+
display: flex;
|
|
271
|
+
align-items: center;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
255
276
|
&.vs--open :deep() {
|
|
256
277
|
outline: none;
|
|
257
278
|
box-shadow: none;
|
|
258
279
|
}
|
|
259
280
|
|
|
281
|
+
|
|
260
282
|
&:hover {
|
|
261
283
|
:deep() .vs__dropdown-toggle .vs__actions,
|
|
262
284
|
:deep() .vs__selected-options {
|
|
@@ -275,6 +297,7 @@ export default {
|
|
|
275
297
|
|
|
276
298
|
:deep() > .vs__dropdown-toggle {
|
|
277
299
|
width: 100%;
|
|
300
|
+
width: 100px;
|
|
278
301
|
display: grid;
|
|
279
302
|
grid-template-columns: 75% 25%;
|
|
280
303
|
border: none;
|
|
@@ -283,7 +306,7 @@ export default {
|
|
|
283
306
|
.vs__actions {
|
|
284
307
|
|
|
285
308
|
&:after {
|
|
286
|
-
color: var(--
|
|
309
|
+
color: var(--accent-btn-hover-text);
|
|
287
310
|
line-height: 1;
|
|
288
311
|
}
|
|
289
312
|
}
|
|
@@ -297,7 +320,8 @@ export default {
|
|
|
297
320
|
button {
|
|
298
321
|
border: none;
|
|
299
322
|
background: transparent;
|
|
300
|
-
color: var(--
|
|
323
|
+
color: var(--accent-btn-hover-text);
|
|
324
|
+
min-width: 83px;
|
|
301
325
|
}
|
|
302
326
|
}
|
|
303
327
|
.vs__search {
|
|
@@ -159,7 +159,7 @@ export default {
|
|
|
159
159
|
display: flex;
|
|
160
160
|
align-items: center;
|
|
161
161
|
justify-content: center;
|
|
162
|
-
color: var(--
|
|
162
|
+
color: var(--primary);
|
|
163
163
|
font-weight: bold;
|
|
164
164
|
background: var(--nav-icon-badge-bg);
|
|
165
165
|
border: 1px solid var(--border);
|
|
@@ -168,7 +168,7 @@ export default {
|
|
|
168
168
|
text-transform: uppercase;
|
|
169
169
|
|
|
170
170
|
.custom-color-decoration {
|
|
171
|
-
height:
|
|
171
|
+
height: 0px;
|
|
172
172
|
width: 100%;
|
|
173
173
|
margin: 0 auto;
|
|
174
174
|
position: absolute;
|
|
@@ -5,7 +5,7 @@ import { _EDIT, _VIEW } from '@shell/config/query-params';
|
|
|
5
5
|
export default {
|
|
6
6
|
name: 'CodeMirror',
|
|
7
7
|
|
|
8
|
-
emits: ['onReady', 'onInput', 'onChanges', 'onFocus'
|
|
8
|
+
emits: ['onReady', 'onInput', 'onChanges', 'onFocus'],
|
|
9
9
|
|
|
10
10
|
props: {
|
|
11
11
|
/**
|
|
@@ -140,9 +140,9 @@ export default {
|
|
|
140
140
|
},
|
|
141
141
|
|
|
142
142
|
watch: {
|
|
143
|
-
hasLintErrors(neu) {
|
|
144
|
-
|
|
145
|
-
},
|
|
143
|
+
// hasLintErrors(neu) {
|
|
144
|
+
// this.$emit('validationChanged', !neu);
|
|
145
|
+
// },
|
|
146
146
|
|
|
147
147
|
isCodeMirrorContainerFocused: {
|
|
148
148
|
handler(neu) {
|
|
@@ -209,7 +209,7 @@ export default {
|
|
|
209
209
|
},
|
|
210
210
|
|
|
211
211
|
onReady(codeMirrorRef) {
|
|
212
|
-
this.$emit('validationChanged', true);
|
|
212
|
+
// this.$emit('validationChanged', true);
|
|
213
213
|
|
|
214
214
|
this.$nextTick(() => {
|
|
215
215
|
codeMirrorRef.refresh();
|
|
@@ -279,7 +279,7 @@ export default {
|
|
|
279
279
|
id="code-mirror-el"
|
|
280
280
|
ref="codeMirrorRef"
|
|
281
281
|
:value="value"
|
|
282
|
-
|
|
282
|
+
|
|
283
283
|
:disabled="isDisabled"
|
|
284
284
|
:original-style="true"
|
|
285
285
|
@ready="onReady"
|
|
@@ -288,6 +288,19 @@ export default {
|
|
|
288
288
|
@focus="onFocus"
|
|
289
289
|
@blur="onBlur"
|
|
290
290
|
/>
|
|
291
|
+
<!-- <Codemirror
|
|
292
|
+
id="code-mirror-el"
|
|
293
|
+
ref="codeMirrorRef"
|
|
294
|
+
:value="value"
|
|
295
|
+
:options="combinedOptions"
|
|
296
|
+
:disabled="isDisabled"
|
|
297
|
+
:original-style="true"
|
|
298
|
+
@ready="onReady"
|
|
299
|
+
@input="onInput"
|
|
300
|
+
@changes="onChanges"
|
|
301
|
+
@focus="onFocus"
|
|
302
|
+
@blur="onBlur"
|
|
303
|
+
/> -->
|
|
291
304
|
<span
|
|
292
305
|
v-show="isCodeMirrorFocused"
|
|
293
306
|
class="escape-text"
|
|
@@ -310,12 +323,12 @@ export default {
|
|
|
310
323
|
}
|
|
311
324
|
|
|
312
325
|
&.as-text-area .codemirror-container{
|
|
313
|
-
min-height:
|
|
326
|
+
min-height: 32px !important;
|
|
314
327
|
position: relative;
|
|
315
328
|
display: block;
|
|
316
329
|
box-sizing: border-box;
|
|
317
330
|
width: 100%;
|
|
318
|
-
padding: 10px;
|
|
331
|
+
padding: 8px 10px 0 10px !important;
|
|
319
332
|
background-color: var(--input-bg);
|
|
320
333
|
border-radius: var(--border-radius);
|
|
321
334
|
border: solid var(--border-width) var(--input-border);
|
|
@@ -356,6 +369,7 @@ export default {
|
|
|
356
369
|
}
|
|
357
370
|
|
|
358
371
|
.CodeMirror-lines {
|
|
372
|
+
background-color: var(--input-bg);
|
|
359
373
|
color: var(--input-text);
|
|
360
374
|
padding: 0;
|
|
361
375
|
|
|
@@ -404,7 +418,7 @@ export default {
|
|
|
404
418
|
|
|
405
419
|
.code-mirror {
|
|
406
420
|
position: relative;
|
|
407
|
-
margin-bottom:
|
|
421
|
+
margin-bottom: 0 !important;
|
|
408
422
|
|
|
409
423
|
.escape-text {
|
|
410
424
|
font-size: 12px;
|
|
@@ -484,5 +498,7 @@ export default {
|
|
|
484
498
|
}
|
|
485
499
|
}
|
|
486
500
|
}
|
|
487
|
-
|
|
501
|
+
.CodeMirror-scroll {
|
|
502
|
+
min-height: 350px;
|
|
503
|
+
}
|
|
488
504
|
</style>
|
|
@@ -59,7 +59,11 @@ export default {
|
|
|
59
59
|
usedAsResourceName: {
|
|
60
60
|
type: Boolean,
|
|
61
61
|
defaut: false
|
|
62
|
-
}
|
|
62
|
+
},
|
|
63
|
+
reserveText: {
|
|
64
|
+
type: String,
|
|
65
|
+
defaut: '预留'
|
|
66
|
+
},
|
|
63
67
|
},
|
|
64
68
|
computed: {
|
|
65
69
|
displayUnits() {
|
|
@@ -91,13 +95,13 @@ export default {
|
|
|
91
95
|
</script>
|
|
92
96
|
|
|
93
97
|
<template>
|
|
94
|
-
<div class="consumption-gauge">
|
|
98
|
+
<!-- <div class="consumption-gauge">
|
|
95
99
|
<h3 v-if="resourceName && !usedAsResourceName">
|
|
96
100
|
{{ resourceName }}
|
|
97
101
|
</h3>
|
|
98
|
-
<div class="numbers">
|
|
102
|
+
<div class="numbers"> -->
|
|
99
103
|
<!-- @slot Optional slot to use as the title rather than showing the resource name -->
|
|
100
|
-
<slot
|
|
104
|
+
<!-- <slot
|
|
101
105
|
name="title"
|
|
102
106
|
:amountTemplateValues="amountTemplateValues"
|
|
103
107
|
:formattedPercentage="formattedPercentage"
|
|
@@ -118,7 +122,22 @@ export default {
|
|
|
118
122
|
:color-stops="colorStops"
|
|
119
123
|
/>
|
|
120
124
|
</div>
|
|
121
|
-
</div>
|
|
125
|
+
</div> -->
|
|
126
|
+
<div class="consumption-gauge">
|
|
127
|
+
<div
|
|
128
|
+
v-if="resourceName && !usedAsResourceName"
|
|
129
|
+
class="mb-20"
|
|
130
|
+
>
|
|
131
|
+
{{ resourceName }}
|
|
132
|
+
</div>
|
|
133
|
+
<slot
|
|
134
|
+
name="content"
|
|
135
|
+
:amountTemplateValues="amountTemplateValues"
|
|
136
|
+
:formattedPercentage="formattedPercentage"
|
|
137
|
+
>
|
|
138
|
+
<p>{{ formattedPercentage + '(共' + (amountTemplateValues.total || 0) + ' ' + (amountTemplateValues.unit || 'GiB') + ',' + (reserveText || '') + ' ' + (amountTemplateValues.used || 0) + ' ' + (amountTemplateValues.unit || 'GiB') + ')' }}</p>
|
|
139
|
+
</slot>
|
|
140
|
+
</div>
|
|
122
141
|
</template>
|
|
123
142
|
|
|
124
143
|
<style lang="scss">
|
|
@@ -177,7 +177,7 @@ export default {
|
|
|
177
177
|
</div>
|
|
178
178
|
</div>
|
|
179
179
|
|
|
180
|
-
<div class="row
|
|
180
|
+
<div class="row">
|
|
181
181
|
<span class="col span-6">
|
|
182
182
|
<UnitInput
|
|
183
183
|
v-model:value="requestsCpu"
|
|
@@ -206,7 +206,7 @@ export default {
|
|
|
206
206
|
</span>
|
|
207
207
|
</div>
|
|
208
208
|
|
|
209
|
-
<div class="row
|
|
209
|
+
<div class="row">
|
|
210
210
|
<span class="col span-6">
|
|
211
211
|
<UnitInput
|
|
212
212
|
v-model:value="limitsCpu"
|
|
@@ -42,3 +42,18 @@ export default {
|
|
|
42
42
|
@click="clicked"
|
|
43
43
|
/>
|
|
44
44
|
</template>
|
|
45
|
+
|
|
46
|
+
<style lang="scss"scoped>
|
|
47
|
+
button {
|
|
48
|
+
min-width: auto;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.bg-success{
|
|
52
|
+
background-color: var(--success-hover-text) !important;
|
|
53
|
+
color: #333 !important;
|
|
54
|
+
}
|
|
55
|
+
.bg-success:hover{
|
|
56
|
+
background-color: var(--success-hover-text) !important;
|
|
57
|
+
color: var(--primary) !important;
|
|
58
|
+
}
|
|
59
|
+
</style>
|
|
@@ -623,13 +623,14 @@ export default {
|
|
|
623
623
|
/>
|
|
624
624
|
<span v-else>{{ subtype.label }}</span>
|
|
625
625
|
</h5>
|
|
626
|
-
|
|
626
|
+
<!-- 禅道 3541 隐藏 更多信息 -->
|
|
627
|
+
<!-- <a
|
|
627
628
|
v-if="subtype.docLink"
|
|
628
629
|
:href="subtype.docLink"
|
|
629
630
|
target="_blank"
|
|
630
631
|
rel="noopener nofollow"
|
|
631
632
|
class="flex-right"
|
|
632
|
-
>{{ t('generic.moreInfo') }} <i class="icon icon-external-link" /></a>
|
|
633
|
+
>{{ t('generic.moreInfo') }} <i class="icon icon-external-link" /></a> -->
|
|
633
634
|
</div>
|
|
634
635
|
<hr
|
|
635
636
|
v-if="subtype.description"
|
|
@@ -711,14 +712,14 @@ export default {
|
|
|
711
712
|
</template>
|
|
712
713
|
</template>
|
|
713
714
|
<div class="controls-steps">
|
|
714
|
-
<button
|
|
715
|
+
<!-- <button
|
|
715
716
|
v-if="showYaml"
|
|
716
717
|
type="button"
|
|
717
718
|
class="btn role-secondary"
|
|
718
719
|
@click="showPreviewYaml"
|
|
719
720
|
>
|
|
720
721
|
<t k="cruResource.previewYaml" />
|
|
721
|
-
</button>
|
|
722
|
+
</button> -->
|
|
722
723
|
<template
|
|
723
724
|
v-if="showPrevious"
|
|
724
725
|
name="back"
|
|
@@ -798,7 +799,7 @@ export default {
|
|
|
798
799
|
#default
|
|
799
800
|
>
|
|
800
801
|
<div>
|
|
801
|
-
<button
|
|
802
|
+
<!-- <button
|
|
802
803
|
v-if="showYaml"
|
|
803
804
|
:data-testid="componentTestid + '-yaml'"
|
|
804
805
|
type="button"
|
|
@@ -806,7 +807,7 @@ export default {
|
|
|
806
807
|
@click="showPreviewYaml"
|
|
807
808
|
>
|
|
808
809
|
<t k="cruResource.previewYaml" />
|
|
809
|
-
</button>
|
|
810
|
+
</button> -->
|
|
810
811
|
<AsyncButton
|
|
811
812
|
v-if="!showSubtypeSelection"
|
|
812
813
|
ref="save"
|
|
@@ -822,7 +823,7 @@ export default {
|
|
|
822
823
|
</template>
|
|
823
824
|
<!------ YAML ------>
|
|
824
825
|
<!-- Hide this section until it's needed. This means we don't need to upfront create initialYaml -->
|
|
825
|
-
<section
|
|
826
|
+
<!-- <section
|
|
826
827
|
v-else-if="showYaml && !showAsForm"
|
|
827
828
|
class="cru-resource-yaml-container resource-container cru__content"
|
|
828
829
|
>
|
|
@@ -835,7 +836,7 @@ export default {
|
|
|
835
836
|
:offer-preview="isEdit"
|
|
836
837
|
:done-route="doneRoute"
|
|
837
838
|
:done-override="resource.doneOverride"
|
|
838
|
-
:
|
|
839
|
+
:errors="errors"
|
|
839
840
|
:apply-hooks="applyHooks"
|
|
840
841
|
class="resource-container cru__content"
|
|
841
842
|
@error="e=>$emit('error', e)"
|
|
@@ -896,7 +897,7 @@ export default {
|
|
|
896
897
|
</slot>
|
|
897
898
|
</template>
|
|
898
899
|
</ResourceYaml>
|
|
899
|
-
</section>
|
|
900
|
+
</section> -->
|
|
900
901
|
</component>
|
|
901
902
|
</section>
|
|
902
903
|
</template>
|
|
@@ -910,7 +911,6 @@ export default {
|
|
|
910
911
|
}
|
|
911
912
|
}
|
|
912
913
|
.create-resource-container {
|
|
913
|
-
|
|
914
914
|
.resource-container {
|
|
915
915
|
display: flex; // Ensures content grows in child CruResources
|
|
916
916
|
flex-direction: column;
|
|
@@ -974,6 +974,7 @@ form.create-resource-container .cru {
|
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
976
|
.cru {
|
|
977
|
+
height: 100%;
|
|
977
978
|
display: flex;
|
|
978
979
|
flex-direction: column;
|
|
979
980
|
flex-grow: 1;
|
|
@@ -982,6 +983,7 @@ form.create-resource-container .cru {
|
|
|
982
983
|
display: flex;
|
|
983
984
|
flex-direction: column;
|
|
984
985
|
flex-grow: 1;
|
|
986
|
+
height: 100%;
|
|
985
987
|
}
|
|
986
988
|
|
|
987
989
|
&__content {
|
|
@@ -115,12 +115,12 @@ export default {
|
|
|
115
115
|
<style lang="scss">
|
|
116
116
|
.cru-resource-footer {
|
|
117
117
|
display: flex;
|
|
118
|
-
justify-content: flex-
|
|
118
|
+
justify-content: flex-start;
|
|
119
119
|
margin-top: 20px;
|
|
120
120
|
z-index: z-index('cruFooter');
|
|
121
121
|
|
|
122
122
|
.btn {
|
|
123
|
-
margin-left:
|
|
123
|
+
margin-left: 10px;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
@@ -102,26 +102,35 @@ export default {
|
|
|
102
102
|
|
|
103
103
|
<template>
|
|
104
104
|
<div class="graph-options">
|
|
105
|
-
<div v-if="hasSummaryAndDetail">
|
|
106
|
-
<ButtonGroup
|
|
107
|
-
v-model:value="value.type"
|
|
108
|
-
:options="detailSummaryOptions"
|
|
105
|
+
<div v-if="hasSummaryAndDetail" class="mr-10">
|
|
106
|
+
<ButtonGroup
|
|
107
|
+
v-model:value="value.type"
|
|
108
|
+
:options="detailSummaryOptions"
|
|
109
109
|
/>
|
|
110
110
|
</div>
|
|
111
111
|
<div v-else>
|
|
112
112
|
<div />
|
|
113
113
|
</div>
|
|
114
114
|
<div class="range-refresh">
|
|
115
|
-
<
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
115
|
+
<div class="mr-10">
|
|
116
|
+
<LabeledSelect
|
|
117
|
+
v-model:value="value.range"
|
|
118
|
+
:options="rangeOptions"
|
|
119
|
+
class="gafanana-select"
|
|
120
|
+
:selectWidth="'60px'"
|
|
121
|
+
:label="t('graphOptions.range')"
|
|
122
|
+
/>
|
|
123
|
+
</div>
|
|
124
|
+
<div class="mr-10">
|
|
125
|
+
<LabeledSelect
|
|
126
|
+
v-model:value="value.refreshRate"
|
|
127
|
+
:options="refreshOptions"
|
|
128
|
+
class="gafanana-select"
|
|
129
|
+
:selectWidth="'60px'"
|
|
130
|
+
:label="t('graphOptions.refresh')"
|
|
124
131
|
/>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
125
134
|
</div>
|
|
126
135
|
</div>
|
|
127
136
|
</template>
|
|
@@ -131,17 +140,20 @@ export default {
|
|
|
131
140
|
&, .range-refresh {
|
|
132
141
|
display: flex;
|
|
133
142
|
flex-direction: row;
|
|
134
|
-
justify-content: flex-end;
|
|
143
|
+
/* justify-content: flex-end; */
|
|
135
144
|
}
|
|
136
145
|
|
|
137
146
|
& {
|
|
138
|
-
justify-content: space-between;
|
|
147
|
+
/* justify-content: space-between; */
|
|
139
148
|
align-items: center;
|
|
140
149
|
}
|
|
141
150
|
|
|
142
|
-
.labeled-select {
|
|
151
|
+
/* .labeled-select {
|
|
143
152
|
width: 100px;
|
|
144
153
|
margin-left: 10px;
|
|
145
|
-
}
|
|
154
|
+
} */
|
|
155
|
+
}
|
|
156
|
+
.gafanana-select{
|
|
157
|
+
width: 300px;
|
|
146
158
|
}
|
|
147
159
|
</style>
|