Superset二次开发之源码DependencyList.tsx 分析

server/2024/9/25 23:25:10/

功能点

路径

superset-frontend\src\dashboard\components\nativeFilters\FiltersConfigModal\FiltersConfigForm\DependencyList.tsx

/*** Licensed to the Apache Software Foundation (ASF) under one* or more contributor license agreements.  See the NOTICE file* distributed with this work for additional information* regarding copyright ownership.  The ASF licenses this file* to you under the Apache License, Version 2.0 (the* "License"); you may not use this file except in compliance* with the License.  You may obtain a copy of the License at**   http://www.apache.org/licenses/LICENSE-2.0** Unless required by applicable law or agreed to in writing,* software distributed under the License is distributed on an* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY* KIND, either express or implied.  See the License for the* specific language governing permissions and limitations* under the License.*/
import React, { useState } from 'react';
import { styled, t } from '@superset-ui/core';
import Icons from 'src/components/Icons';
import { Select } from 'src/components';
import { CollapsibleControl } from './CollapsibleControl';
import { INPUT_WIDTH } from './constants';interface DependencyListProps {availableFilters: {label: string;value: string;type: string | undefined;}[];dependencies: string[];onDependenciesChange: (dependenci

http://www.ppmy.cn/server/116794.html

相关文章

QT界面中的区域以及图像大小,想随着QT界面的放大缩小变化,如何实现?

原始界面 原始界面ui文本长这样&#xff1a; <?xml version"1.0" encoding"UTF-8"?> <ui version"4.0"><class>MainWindow</class><widget class"QMainWindow" name"MainWindow"><prope…

vue3 element plus table 滚动到指定位置

一. 需求 页面表格数据加载完成之后 计算一下需要滚动的高度 表格自动滚动 二. code 1. 给table加上ref <el-table ref"tableRef" :data"tableData">...</el-table> 2. 使用nextTick在表格渲染完之后计算高度滚动 import { ref, nextT…

直流电源纹波怎么测量?示波器的探头和带宽如何选择?

对于电源工程师来说&#xff0c;精确测量电源纹波是一项基本技能。本文将详细介绍直流电源纹波测试时的注意事项&#xff0c;包括示波器探头的选择、带宽设置、时基选择&#xff0c;确保精准测量直流电源纹波。 一、选择合适的示波器带宽 为了避免电路的高频噪声影响电源纹波的…

加密与安全_ sm-crypto 国密算法sm2、sm3和sm4的Java库

文章目录 Presm-crypto如何使用如何引入依赖 sm2获取密钥对加密解密签名验签获取椭圆曲线点 sm3sm4加密解密 Pre 加密与安全_三种方式实现基于国密非对称加密算法的加解密和签名验签 sm-crypto https://github.com/antherd/sm-crypto 国密算法sm2、sm3和sm4的java版。基于js…

Java重修笔记 第五十五天 坦克大战(五)多线程基础

线程常用方法 1. 设置线程的名称 public final void setName(String name) 参数&#xff1a;name - 这个线程的新名称 2. 得到线程的名称 public final String getName() 返回值&#xff1a;线程的名称 3. 创建线程 public void start() Java 虚拟机底层调用 start0 方法创…

【三】TDengine 3.3.2 生产级别集群搭建

TDengine 3.3.2 集群搭建 集群规划 一、主机名和端口规划 修改主机信息&#xff1a;修改hosts信息&#xff0c;TDEngine是通过FQDN进行访问&#xff0c; 规划好三个节点对应的hostname。 vi /etc/hosts 追加以下信息 192.168.90.131 node1 192.168.90.132 node2 192.168.90.133…

HTTP 协议介绍

基本介绍&#xff1a; HTTP&#xff08;Hyper Text Transfer Protocol&#xff09;&#xff1a; 全称超文本传输协议&#xff0c;是用于从万维网&#xff08;WWW:World Wide Web &#xff09;服务器传输超文本到本地浏览器的传送协议。 HTTP 是一种应用层协议&#xff0c;是基…

用于全文RSS服务的Full-Text-RSS

什么是 Full-Text-RSS &#xff1f; Full-Text-RSS 能轻松从网页或仅摘要的 RSS 提要中提取完整的文章内容。 是 fivefilters 全文 RSS 服务的非官方 Docker 镜像。 从功能上来说&#xff0c;和老苏之前介绍过的 Morss很 类似 文章传送门&#xff1a;用Morss获取全文RSS摘要 安…