@clickhouse/click-ui 0.0.177 → 0.0.179
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/dist/click-ui.es.js +716 -88
- package/dist/click-ui.umd.js +977 -349
- package/dist/components/Link/Link.d.ts +1 -2
- package/dist/components/Link/common.d.ts +7 -0
- package/dist/components/Logos/DigitalOcean.d.ts +4 -0
- package/dist/components/Logos/types.d.ts +1 -1
- package/dist/components/Panel/Panel.d.ts +11 -10
- package/dist/components/cursorOptions.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/types.d.ts +2 -0
- package/dist/styles/types.d.ts +14 -0
- package/dist/styles/variables.classic.json.d.ts +12 -0
- package/dist/styles/variables.dark.json.d.ts +12 -0
- package/dist/styles/variables.json.d.ts +15 -1
- package/dist/styles/variables.light.json.d.ts +12 -0
- package/package.json +1 -1
package/dist/click-ui.es.js
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
import { jsxs, jsx, Fragment as Fragment$1 } from "react/jsx-runtime";
|
|
8
|
-
import
|
|
8
|
+
import { keyframes, styled, useTheme, css as css$1, createGlobalStyle, ThemeProvider as ThemeProvider$1 } from "styled-components";
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
import React__default, { forwardRef, useCallback, createContext, useMemo, createElement as createElement$1, useContext, useRef, useEffect, useState, Children, isValidElement, cloneElement, Fragment, useLayoutEffect, useReducer, useId, PureComponent, Component, memo } from "react";
|
|
11
11
|
import * as ReactDOM from "react-dom";
|
|
@@ -1722,6 +1722,13 @@ const DeepNote = (props) => /* @__PURE__ */ jsxs("svg", { width: "64", height: "
|
|
|
1722
1722
|
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_472_6299", children: /* @__PURE__ */ jsx("rect", { width: "64", height: "62", fill: "white", transform: "translate(0 1)" }) }) })
|
|
1723
1723
|
] });
|
|
1724
1724
|
const DeltaLake = (props) => /* @__PURE__ */ jsx("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M63.3797 52.0798L33.9975 1.84243C33.3404 0.719191 31.717 0.719191 31.0599 1.84243L6.08989 44.5351C5.6511 45.2861 6.44314 46.1531 7.23033 45.784C7.55358 45.6318 7.92667 45.4788 8.33636 45.3262L8.32798 45.343C8.32798 45.343 9.01022 45.0784 10.163 44.7132C11.4335 44.3229 12.8258 43.9534 14.0862 43.6412C17.6129 42.8271 22.2341 42.1642 26.4012 42.8562C30.2361 43.4925 32.9069 44.5205 34.8521 45.5309C35.7438 45.9948 36.5862 44.8305 35.8651 44.1298C33.0762 41.4194 28.7848 38.1476 22.2575 36.7765C21.9717 36.7165 21.8284 36.3941 21.9762 36.1419L31.8066 19.3339C32.1298 18.7818 32.9276 18.7818 33.2508 19.3339L52.0252 51.4341C52.4208 52.1102 52.0892 52.9737 51.3465 53.2224C49.8753 53.7141 48.1179 54.0819 46.1506 54.0819C44.8991 54.0819 43.64 53.9342 42.3778 53.6409C42.3778 53.6409 38.7396 53.0667 33.8766 50.1654C29.0137 47.2644 19.6375 43.5635 9.1165 49.555C4.6337 52.4356 1.64679 56.3756 0.0728454 58.8492C-0.173675 59.2364 0.251893 59.6981 0.656734 59.482C4.27164 57.5508 14.0182 52.99 22.8008 54.6296C28.021 55.6038 33.9864 59.5446 40.1878 61.8043C50.4464 65.6058 60.504 59.2368 60.5256 59.2231C61.5888 58.5206 62.2133 57.9865 62.3196 57.8939L62.4479 57.7819C64.0871 56.3513 64.4783 53.9575 63.3797 52.0798Z", fill: "#00ADD4" }) });
|
|
1725
|
+
const DigitalOcean = (props) => /* @__PURE__ */ jsxs("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
1726
|
+
/* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_10220_29310)", children: [
|
|
1727
|
+
/* @__PURE__ */ jsx("path", { d: "M32.0036 61V49.7625C43.9081 49.7625 53.1483 37.9813 48.5771 25.4424C47.7373 23.1414 46.4046 21.0518 44.6722 19.3201C42.9399 17.5884 40.8499 16.2564 38.5486 15.4174C26.0206 10.8826 14.2158 20.0846 14.2158 31.9837H3C3 13.0195 21.3498 -1.76868 41.2438 4.44276C49.9438 7.17057 56.8639 14.0726 59.5591 22.749C65.7759 42.6684 51.0095 61.0054 32.0036 61.0054V61Z", fill: "#0080FF" }),
|
|
1728
|
+
/* @__PURE__ */ jsx("path", { d: "M20.853 49.7937V38.6196H32.0325V49.7937H20.853ZM12.2382 58.4031V49.7937H20.853V58.4031H12.2382ZM12.2382 49.7937H5.03711V42.5981H12.2382V49.7937Z", fill: "#0080FF" })
|
|
1729
|
+
] }),
|
|
1730
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_10220_29310", children: /* @__PURE__ */ jsx("rect", { width: "58", height: "58", fill: "white", transform: "translate(3 3)" }) }) })
|
|
1731
|
+
] });
|
|
1725
1732
|
const FeatureDatabaseLight = (props) => /* @__PURE__ */ jsxs("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
1726
1733
|
/* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M57.9071 49.179C57.6808 49.3474 57.4413 49.5105 57.1913 49.6737C52.4676 52.708 42.9622 54.858 32.0012 54.858C21.0401 54.858 11.535 52.7106 6.81102 49.6737C6.55838 49.5132 6.32154 49.3474 6.09521 49.179V56.3814C6.09521 57.0236 6.46891 57.613 7.04789 58.192C7.8479 58.9946 9.02687 59.7236 10.4953 60.392C15.348 62.5973 23.177 64 32.001 64C40.8251 64 48.6541 62.5974 53.5041 60.392C54.9725 59.7236 56.1515 58.9946 56.9515 58.192C57.5305 57.613 57.9042 57.0235 57.9042 56.3814L57.9071 49.179Z", fill: "url(#paint0_linear_17_266)" }),
|
|
1727
1734
|
/* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M57.9072 36.9887C57.6809 37.1571 57.4414 37.3203 57.1914 37.4834C52.4676 40.5177 42.9623 42.6651 32.0012 42.6651C21.0402 42.6651 11.535 40.5177 6.81108 37.4808C6.55845 37.3203 6.3216 37.1545 6.09528 36.9861V44.1885C6.09528 44.8307 6.46898 45.4201 7.04796 45.9991C7.84797 46.8017 9.02694 47.5307 10.4954 48.1991C15.3481 50.4044 23.177 51.8097 32.0011 51.8097C40.8252 51.8097 48.6542 50.4071 53.5041 48.2018C54.9726 47.5333 56.1516 46.8044 56.9516 46.0017C57.5305 45.4228 57.9042 44.8333 57.9042 44.1912L57.9072 36.9887Z", fill: "url(#paint1_linear_17_266)" }),
|
|
@@ -2138,6 +2145,7 @@ const LogosLight = {
|
|
|
2138
2145
|
decodeable: Decodeable,
|
|
2139
2146
|
deepnote: DeepNote,
|
|
2140
2147
|
deltalake: DeltaLake,
|
|
2148
|
+
digital_ocean: DigitalOcean,
|
|
2141
2149
|
feature_database: FeatureDatabaseLight,
|
|
2142
2150
|
feature_hexagon: FeatureHexagonLight,
|
|
2143
2151
|
fivetran: Fivetran,
|
|
@@ -2341,6 +2349,7 @@ const LogosDark = {
|
|
|
2341
2349
|
decodeable: Decodeable,
|
|
2342
2350
|
deepnote: DeepNote,
|
|
2343
2351
|
deltalake: DeltaLake,
|
|
2352
|
+
digital_ocean: DigitalOcean,
|
|
2344
2353
|
feature_database: FeatureDatabaseDark,
|
|
2345
2354
|
feature_hexagon: FeatureHexagonDark,
|
|
2346
2355
|
fivetran: Fivetran,
|
|
@@ -13547,6 +13556,634 @@ function requireSql() {
|
|
|
13547
13556
|
sql_1 = sql2;
|
|
13548
13557
|
return sql_1;
|
|
13549
13558
|
}
|
|
13559
|
+
var typescript_1;
|
|
13560
|
+
var hasRequiredTypescript;
|
|
13561
|
+
function requireTypescript() {
|
|
13562
|
+
if (hasRequiredTypescript)
|
|
13563
|
+
return typescript_1;
|
|
13564
|
+
hasRequiredTypescript = 1;
|
|
13565
|
+
const IDENT_RE2 = "[A-Za-z$_][0-9A-Za-z$_]*";
|
|
13566
|
+
const KEYWORDS = [
|
|
13567
|
+
"as",
|
|
13568
|
+
// for exports
|
|
13569
|
+
"in",
|
|
13570
|
+
"of",
|
|
13571
|
+
"if",
|
|
13572
|
+
"for",
|
|
13573
|
+
"while",
|
|
13574
|
+
"finally",
|
|
13575
|
+
"var",
|
|
13576
|
+
"new",
|
|
13577
|
+
"function",
|
|
13578
|
+
"do",
|
|
13579
|
+
"return",
|
|
13580
|
+
"void",
|
|
13581
|
+
"else",
|
|
13582
|
+
"break",
|
|
13583
|
+
"catch",
|
|
13584
|
+
"instanceof",
|
|
13585
|
+
"with",
|
|
13586
|
+
"throw",
|
|
13587
|
+
"case",
|
|
13588
|
+
"default",
|
|
13589
|
+
"try",
|
|
13590
|
+
"switch",
|
|
13591
|
+
"continue",
|
|
13592
|
+
"typeof",
|
|
13593
|
+
"delete",
|
|
13594
|
+
"let",
|
|
13595
|
+
"yield",
|
|
13596
|
+
"const",
|
|
13597
|
+
"class",
|
|
13598
|
+
// JS handles these with a special rule
|
|
13599
|
+
// "get",
|
|
13600
|
+
// "set",
|
|
13601
|
+
"debugger",
|
|
13602
|
+
"async",
|
|
13603
|
+
"await",
|
|
13604
|
+
"static",
|
|
13605
|
+
"import",
|
|
13606
|
+
"from",
|
|
13607
|
+
"export",
|
|
13608
|
+
"extends"
|
|
13609
|
+
];
|
|
13610
|
+
const LITERALS = [
|
|
13611
|
+
"true",
|
|
13612
|
+
"false",
|
|
13613
|
+
"null",
|
|
13614
|
+
"undefined",
|
|
13615
|
+
"NaN",
|
|
13616
|
+
"Infinity"
|
|
13617
|
+
];
|
|
13618
|
+
const TYPES = [
|
|
13619
|
+
"Intl",
|
|
13620
|
+
"DataView",
|
|
13621
|
+
"Number",
|
|
13622
|
+
"Math",
|
|
13623
|
+
"Date",
|
|
13624
|
+
"String",
|
|
13625
|
+
"RegExp",
|
|
13626
|
+
"Object",
|
|
13627
|
+
"Function",
|
|
13628
|
+
"Boolean",
|
|
13629
|
+
"Error",
|
|
13630
|
+
"Symbol",
|
|
13631
|
+
"Set",
|
|
13632
|
+
"Map",
|
|
13633
|
+
"WeakSet",
|
|
13634
|
+
"WeakMap",
|
|
13635
|
+
"Proxy",
|
|
13636
|
+
"Reflect",
|
|
13637
|
+
"JSON",
|
|
13638
|
+
"Promise",
|
|
13639
|
+
"Float64Array",
|
|
13640
|
+
"Int16Array",
|
|
13641
|
+
"Int32Array",
|
|
13642
|
+
"Int8Array",
|
|
13643
|
+
"Uint16Array",
|
|
13644
|
+
"Uint32Array",
|
|
13645
|
+
"Float32Array",
|
|
13646
|
+
"Array",
|
|
13647
|
+
"Uint8Array",
|
|
13648
|
+
"Uint8ClampedArray",
|
|
13649
|
+
"ArrayBuffer",
|
|
13650
|
+
"BigInt64Array",
|
|
13651
|
+
"BigUint64Array",
|
|
13652
|
+
"BigInt"
|
|
13653
|
+
];
|
|
13654
|
+
const ERROR_TYPES = [
|
|
13655
|
+
"EvalError",
|
|
13656
|
+
"InternalError",
|
|
13657
|
+
"RangeError",
|
|
13658
|
+
"ReferenceError",
|
|
13659
|
+
"SyntaxError",
|
|
13660
|
+
"TypeError",
|
|
13661
|
+
"URIError"
|
|
13662
|
+
];
|
|
13663
|
+
const BUILT_IN_GLOBALS = [
|
|
13664
|
+
"setInterval",
|
|
13665
|
+
"setTimeout",
|
|
13666
|
+
"clearInterval",
|
|
13667
|
+
"clearTimeout",
|
|
13668
|
+
"require",
|
|
13669
|
+
"exports",
|
|
13670
|
+
"eval",
|
|
13671
|
+
"isFinite",
|
|
13672
|
+
"isNaN",
|
|
13673
|
+
"parseFloat",
|
|
13674
|
+
"parseInt",
|
|
13675
|
+
"decodeURI",
|
|
13676
|
+
"decodeURIComponent",
|
|
13677
|
+
"encodeURI",
|
|
13678
|
+
"encodeURIComponent",
|
|
13679
|
+
"escape",
|
|
13680
|
+
"unescape"
|
|
13681
|
+
];
|
|
13682
|
+
const BUILT_IN_VARIABLES = [
|
|
13683
|
+
"arguments",
|
|
13684
|
+
"this",
|
|
13685
|
+
"super",
|
|
13686
|
+
"console",
|
|
13687
|
+
"window",
|
|
13688
|
+
"document",
|
|
13689
|
+
"localStorage",
|
|
13690
|
+
"module",
|
|
13691
|
+
"global"
|
|
13692
|
+
// Node.js
|
|
13693
|
+
];
|
|
13694
|
+
const BUILT_INS = [].concat(
|
|
13695
|
+
BUILT_IN_GLOBALS,
|
|
13696
|
+
BUILT_IN_VARIABLES,
|
|
13697
|
+
TYPES,
|
|
13698
|
+
ERROR_TYPES
|
|
13699
|
+
);
|
|
13700
|
+
function source2(re) {
|
|
13701
|
+
if (!re)
|
|
13702
|
+
return null;
|
|
13703
|
+
if (typeof re === "string")
|
|
13704
|
+
return re;
|
|
13705
|
+
return re.source;
|
|
13706
|
+
}
|
|
13707
|
+
function lookahead(re) {
|
|
13708
|
+
return concat2("(?=", re, ")");
|
|
13709
|
+
}
|
|
13710
|
+
function concat2(...args) {
|
|
13711
|
+
const joined = args.map((x) => source2(x)).join("");
|
|
13712
|
+
return joined;
|
|
13713
|
+
}
|
|
13714
|
+
function javascript(hljs) {
|
|
13715
|
+
const hasClosingTag = (match, { after }) => {
|
|
13716
|
+
const tag2 = "</" + match[0].slice(1);
|
|
13717
|
+
const pos = match.input.indexOf(tag2, after);
|
|
13718
|
+
return pos !== -1;
|
|
13719
|
+
};
|
|
13720
|
+
const IDENT_RE$1 = IDENT_RE2;
|
|
13721
|
+
const FRAGMENT = {
|
|
13722
|
+
begin: "<>",
|
|
13723
|
+
end: "</>"
|
|
13724
|
+
};
|
|
13725
|
+
const XML_TAG = {
|
|
13726
|
+
begin: /<[A-Za-z0-9\\._:-]+/,
|
|
13727
|
+
end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
|
|
13728
|
+
/**
|
|
13729
|
+
* @param {RegExpMatchArray} match
|
|
13730
|
+
* @param {CallbackResponse} response
|
|
13731
|
+
*/
|
|
13732
|
+
isTrulyOpeningTag: (match, response) => {
|
|
13733
|
+
const afterMatchIndex = match[0].length + match.index;
|
|
13734
|
+
const nextChar = match.input[afterMatchIndex];
|
|
13735
|
+
if (nextChar === "<") {
|
|
13736
|
+
response.ignoreMatch();
|
|
13737
|
+
return;
|
|
13738
|
+
}
|
|
13739
|
+
if (nextChar === ">") {
|
|
13740
|
+
if (!hasClosingTag(match, { after: afterMatchIndex })) {
|
|
13741
|
+
response.ignoreMatch();
|
|
13742
|
+
}
|
|
13743
|
+
}
|
|
13744
|
+
}
|
|
13745
|
+
};
|
|
13746
|
+
const KEYWORDS$1 = {
|
|
13747
|
+
$pattern: IDENT_RE2,
|
|
13748
|
+
keyword: KEYWORDS,
|
|
13749
|
+
literal: LITERALS,
|
|
13750
|
+
built_in: BUILT_INS
|
|
13751
|
+
};
|
|
13752
|
+
const decimalDigits = "[0-9](_?[0-9])*";
|
|
13753
|
+
const frac = `\\.(${decimalDigits})`;
|
|
13754
|
+
const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
|
|
13755
|
+
const NUMBER = {
|
|
13756
|
+
className: "number",
|
|
13757
|
+
variants: [
|
|
13758
|
+
// DecimalLiteral
|
|
13759
|
+
{ begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b` },
|
|
13760
|
+
{ begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
|
|
13761
|
+
// DecimalBigIntegerLiteral
|
|
13762
|
+
{ begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
|
|
13763
|
+
// NonDecimalIntegerLiteral
|
|
13764
|
+
{ begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
|
|
13765
|
+
{ begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
|
|
13766
|
+
{ begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
|
|
13767
|
+
// LegacyOctalIntegerLiteral (does not include underscore separators)
|
|
13768
|
+
// https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
|
|
13769
|
+
{ begin: "\\b0[0-7]+n?\\b" }
|
|
13770
|
+
],
|
|
13771
|
+
relevance: 0
|
|
13772
|
+
};
|
|
13773
|
+
const SUBST = {
|
|
13774
|
+
className: "subst",
|
|
13775
|
+
begin: "\\$\\{",
|
|
13776
|
+
end: "\\}",
|
|
13777
|
+
keywords: KEYWORDS$1,
|
|
13778
|
+
contains: []
|
|
13779
|
+
// defined later
|
|
13780
|
+
};
|
|
13781
|
+
const HTML_TEMPLATE = {
|
|
13782
|
+
begin: "html`",
|
|
13783
|
+
end: "",
|
|
13784
|
+
starts: {
|
|
13785
|
+
end: "`",
|
|
13786
|
+
returnEnd: false,
|
|
13787
|
+
contains: [
|
|
13788
|
+
hljs.BACKSLASH_ESCAPE,
|
|
13789
|
+
SUBST
|
|
13790
|
+
],
|
|
13791
|
+
subLanguage: "xml"
|
|
13792
|
+
}
|
|
13793
|
+
};
|
|
13794
|
+
const CSS_TEMPLATE = {
|
|
13795
|
+
begin: "css`",
|
|
13796
|
+
end: "",
|
|
13797
|
+
starts: {
|
|
13798
|
+
end: "`",
|
|
13799
|
+
returnEnd: false,
|
|
13800
|
+
contains: [
|
|
13801
|
+
hljs.BACKSLASH_ESCAPE,
|
|
13802
|
+
SUBST
|
|
13803
|
+
],
|
|
13804
|
+
subLanguage: "css"
|
|
13805
|
+
}
|
|
13806
|
+
};
|
|
13807
|
+
const TEMPLATE_STRING = {
|
|
13808
|
+
className: "string",
|
|
13809
|
+
begin: "`",
|
|
13810
|
+
end: "`",
|
|
13811
|
+
contains: [
|
|
13812
|
+
hljs.BACKSLASH_ESCAPE,
|
|
13813
|
+
SUBST
|
|
13814
|
+
]
|
|
13815
|
+
};
|
|
13816
|
+
const JSDOC_COMMENT = hljs.COMMENT(
|
|
13817
|
+
/\/\*\*(?!\/)/,
|
|
13818
|
+
"\\*/",
|
|
13819
|
+
{
|
|
13820
|
+
relevance: 0,
|
|
13821
|
+
contains: [
|
|
13822
|
+
{
|
|
13823
|
+
className: "doctag",
|
|
13824
|
+
begin: "@[A-Za-z]+",
|
|
13825
|
+
contains: [
|
|
13826
|
+
{
|
|
13827
|
+
className: "type",
|
|
13828
|
+
begin: "\\{",
|
|
13829
|
+
end: "\\}",
|
|
13830
|
+
relevance: 0
|
|
13831
|
+
},
|
|
13832
|
+
{
|
|
13833
|
+
className: "variable",
|
|
13834
|
+
begin: IDENT_RE$1 + "(?=\\s*(-)|$)",
|
|
13835
|
+
endsParent: true,
|
|
13836
|
+
relevance: 0
|
|
13837
|
+
},
|
|
13838
|
+
// eat spaces (not newlines) so we can find
|
|
13839
|
+
// types or variables
|
|
13840
|
+
{
|
|
13841
|
+
begin: /(?=[^\n])\s/,
|
|
13842
|
+
relevance: 0
|
|
13843
|
+
}
|
|
13844
|
+
]
|
|
13845
|
+
}
|
|
13846
|
+
]
|
|
13847
|
+
}
|
|
13848
|
+
);
|
|
13849
|
+
const COMMENT2 = {
|
|
13850
|
+
className: "comment",
|
|
13851
|
+
variants: [
|
|
13852
|
+
JSDOC_COMMENT,
|
|
13853
|
+
hljs.C_BLOCK_COMMENT_MODE,
|
|
13854
|
+
hljs.C_LINE_COMMENT_MODE
|
|
13855
|
+
]
|
|
13856
|
+
};
|
|
13857
|
+
const SUBST_INTERNALS = [
|
|
13858
|
+
hljs.APOS_STRING_MODE,
|
|
13859
|
+
hljs.QUOTE_STRING_MODE,
|
|
13860
|
+
HTML_TEMPLATE,
|
|
13861
|
+
CSS_TEMPLATE,
|
|
13862
|
+
TEMPLATE_STRING,
|
|
13863
|
+
NUMBER,
|
|
13864
|
+
hljs.REGEXP_MODE
|
|
13865
|
+
];
|
|
13866
|
+
SUBST.contains = SUBST_INTERNALS.concat({
|
|
13867
|
+
// we need to pair up {} inside our subst to prevent
|
|
13868
|
+
// it from ending too early by matching another }
|
|
13869
|
+
begin: /\{/,
|
|
13870
|
+
end: /\}/,
|
|
13871
|
+
keywords: KEYWORDS$1,
|
|
13872
|
+
contains: [
|
|
13873
|
+
"self"
|
|
13874
|
+
].concat(SUBST_INTERNALS)
|
|
13875
|
+
});
|
|
13876
|
+
const SUBST_AND_COMMENTS = [].concat(COMMENT2, SUBST.contains);
|
|
13877
|
+
const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
|
|
13878
|
+
// eat recursive parens in sub expressions
|
|
13879
|
+
{
|
|
13880
|
+
begin: /\(/,
|
|
13881
|
+
end: /\)/,
|
|
13882
|
+
keywords: KEYWORDS$1,
|
|
13883
|
+
contains: ["self"].concat(SUBST_AND_COMMENTS)
|
|
13884
|
+
}
|
|
13885
|
+
]);
|
|
13886
|
+
const PARAMS = {
|
|
13887
|
+
className: "params",
|
|
13888
|
+
begin: /\(/,
|
|
13889
|
+
end: /\)/,
|
|
13890
|
+
excludeBegin: true,
|
|
13891
|
+
excludeEnd: true,
|
|
13892
|
+
keywords: KEYWORDS$1,
|
|
13893
|
+
contains: PARAMS_CONTAINS
|
|
13894
|
+
};
|
|
13895
|
+
return {
|
|
13896
|
+
name: "Javascript",
|
|
13897
|
+
aliases: ["js", "jsx", "mjs", "cjs"],
|
|
13898
|
+
keywords: KEYWORDS$1,
|
|
13899
|
+
// this will be extended by TypeScript
|
|
13900
|
+
exports: { PARAMS_CONTAINS },
|
|
13901
|
+
illegal: /#(?![$_A-z])/,
|
|
13902
|
+
contains: [
|
|
13903
|
+
hljs.SHEBANG({
|
|
13904
|
+
label: "shebang",
|
|
13905
|
+
binary: "node",
|
|
13906
|
+
relevance: 5
|
|
13907
|
+
}),
|
|
13908
|
+
{
|
|
13909
|
+
label: "use_strict",
|
|
13910
|
+
className: "meta",
|
|
13911
|
+
relevance: 10,
|
|
13912
|
+
begin: /^\s*['"]use (strict|asm)['"]/
|
|
13913
|
+
},
|
|
13914
|
+
hljs.APOS_STRING_MODE,
|
|
13915
|
+
hljs.QUOTE_STRING_MODE,
|
|
13916
|
+
HTML_TEMPLATE,
|
|
13917
|
+
CSS_TEMPLATE,
|
|
13918
|
+
TEMPLATE_STRING,
|
|
13919
|
+
COMMENT2,
|
|
13920
|
+
NUMBER,
|
|
13921
|
+
{
|
|
13922
|
+
// object attr container
|
|
13923
|
+
begin: concat2(
|
|
13924
|
+
/[{,\n]\s*/,
|
|
13925
|
+
// we need to look ahead to make sure that we actually have an
|
|
13926
|
+
// attribute coming up so we don't steal a comma from a potential
|
|
13927
|
+
// "value" container
|
|
13928
|
+
//
|
|
13929
|
+
// NOTE: this might not work how you think. We don't actually always
|
|
13930
|
+
// enter this mode and stay. Instead it might merely match `,
|
|
13931
|
+
// <comments up next>` and then immediately end after the , because it
|
|
13932
|
+
// fails to find any actual attrs. But this still does the job because
|
|
13933
|
+
// it prevents the value contain rule from grabbing this instead and
|
|
13934
|
+
// prevening this rule from firing when we actually DO have keys.
|
|
13935
|
+
lookahead(concat2(
|
|
13936
|
+
// we also need to allow for multiple possible comments inbetween
|
|
13937
|
+
// the first key:value pairing
|
|
13938
|
+
/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,
|
|
13939
|
+
IDENT_RE$1 + "\\s*:"
|
|
13940
|
+
))
|
|
13941
|
+
),
|
|
13942
|
+
relevance: 0,
|
|
13943
|
+
contains: [
|
|
13944
|
+
{
|
|
13945
|
+
className: "attr",
|
|
13946
|
+
begin: IDENT_RE$1 + lookahead("\\s*:"),
|
|
13947
|
+
relevance: 0
|
|
13948
|
+
}
|
|
13949
|
+
]
|
|
13950
|
+
},
|
|
13951
|
+
{
|
|
13952
|
+
// "value" container
|
|
13953
|
+
begin: "(" + hljs.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
|
|
13954
|
+
keywords: "return throw case",
|
|
13955
|
+
contains: [
|
|
13956
|
+
COMMENT2,
|
|
13957
|
+
hljs.REGEXP_MODE,
|
|
13958
|
+
{
|
|
13959
|
+
className: "function",
|
|
13960
|
+
// we have to count the parens to make sure we actually have the
|
|
13961
|
+
// correct bounding ( ) before the =>. There could be any number of
|
|
13962
|
+
// sub-expressions inside also surrounded by parens.
|
|
13963
|
+
begin: "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + hljs.UNDERSCORE_IDENT_RE + ")\\s*=>",
|
|
13964
|
+
returnBegin: true,
|
|
13965
|
+
end: "\\s*=>",
|
|
13966
|
+
contains: [
|
|
13967
|
+
{
|
|
13968
|
+
className: "params",
|
|
13969
|
+
variants: [
|
|
13970
|
+
{
|
|
13971
|
+
begin: hljs.UNDERSCORE_IDENT_RE,
|
|
13972
|
+
relevance: 0
|
|
13973
|
+
},
|
|
13974
|
+
{
|
|
13975
|
+
className: null,
|
|
13976
|
+
begin: /\(\s*\)/,
|
|
13977
|
+
skip: true
|
|
13978
|
+
},
|
|
13979
|
+
{
|
|
13980
|
+
begin: /\(/,
|
|
13981
|
+
end: /\)/,
|
|
13982
|
+
excludeBegin: true,
|
|
13983
|
+
excludeEnd: true,
|
|
13984
|
+
keywords: KEYWORDS$1,
|
|
13985
|
+
contains: PARAMS_CONTAINS
|
|
13986
|
+
}
|
|
13987
|
+
]
|
|
13988
|
+
}
|
|
13989
|
+
]
|
|
13990
|
+
},
|
|
13991
|
+
{
|
|
13992
|
+
// could be a comma delimited list of params to a function call
|
|
13993
|
+
begin: /,/,
|
|
13994
|
+
relevance: 0
|
|
13995
|
+
},
|
|
13996
|
+
{
|
|
13997
|
+
className: "",
|
|
13998
|
+
begin: /\s/,
|
|
13999
|
+
end: /\s*/,
|
|
14000
|
+
skip: true
|
|
14001
|
+
},
|
|
14002
|
+
{
|
|
14003
|
+
// JSX
|
|
14004
|
+
variants: [
|
|
14005
|
+
{ begin: FRAGMENT.begin, end: FRAGMENT.end },
|
|
14006
|
+
{
|
|
14007
|
+
begin: XML_TAG.begin,
|
|
14008
|
+
// we carefully check the opening tag to see if it truly
|
|
14009
|
+
// is a tag and not a false positive
|
|
14010
|
+
"on:begin": XML_TAG.isTrulyOpeningTag,
|
|
14011
|
+
end: XML_TAG.end
|
|
14012
|
+
}
|
|
14013
|
+
],
|
|
14014
|
+
subLanguage: "xml",
|
|
14015
|
+
contains: [
|
|
14016
|
+
{
|
|
14017
|
+
begin: XML_TAG.begin,
|
|
14018
|
+
end: XML_TAG.end,
|
|
14019
|
+
skip: true,
|
|
14020
|
+
contains: ["self"]
|
|
14021
|
+
}
|
|
14022
|
+
]
|
|
14023
|
+
}
|
|
14024
|
+
],
|
|
14025
|
+
relevance: 0
|
|
14026
|
+
},
|
|
14027
|
+
{
|
|
14028
|
+
className: "function",
|
|
14029
|
+
beginKeywords: "function",
|
|
14030
|
+
end: /[{;]/,
|
|
14031
|
+
excludeEnd: true,
|
|
14032
|
+
keywords: KEYWORDS$1,
|
|
14033
|
+
contains: [
|
|
14034
|
+
"self",
|
|
14035
|
+
hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1 }),
|
|
14036
|
+
PARAMS
|
|
14037
|
+
],
|
|
14038
|
+
illegal: /%/
|
|
14039
|
+
},
|
|
14040
|
+
{
|
|
14041
|
+
// prevent this from getting swallowed up by function
|
|
14042
|
+
// since they appear "function like"
|
|
14043
|
+
beginKeywords: "while if switch catch for"
|
|
14044
|
+
},
|
|
14045
|
+
{
|
|
14046
|
+
className: "function",
|
|
14047
|
+
// we have to count the parens to make sure we actually have the correct
|
|
14048
|
+
// bounding ( ). There could be any number of sub-expressions inside
|
|
14049
|
+
// also surrounded by parens.
|
|
14050
|
+
begin: hljs.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
|
|
14051
|
+
// end parens
|
|
14052
|
+
returnBegin: true,
|
|
14053
|
+
contains: [
|
|
14054
|
+
PARAMS,
|
|
14055
|
+
hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1 })
|
|
14056
|
+
]
|
|
14057
|
+
},
|
|
14058
|
+
// hack: prevents detection of keywords in some circumstances
|
|
14059
|
+
// .keyword()
|
|
14060
|
+
// $keyword = x
|
|
14061
|
+
{
|
|
14062
|
+
variants: [
|
|
14063
|
+
{ begin: "\\." + IDENT_RE$1 },
|
|
14064
|
+
{ begin: "\\$" + IDENT_RE$1 }
|
|
14065
|
+
],
|
|
14066
|
+
relevance: 0
|
|
14067
|
+
},
|
|
14068
|
+
{
|
|
14069
|
+
// ES6 class
|
|
14070
|
+
className: "class",
|
|
14071
|
+
beginKeywords: "class",
|
|
14072
|
+
end: /[{;=]/,
|
|
14073
|
+
excludeEnd: true,
|
|
14074
|
+
illegal: /[:"[\]]/,
|
|
14075
|
+
contains: [
|
|
14076
|
+
{ beginKeywords: "extends" },
|
|
14077
|
+
hljs.UNDERSCORE_TITLE_MODE
|
|
14078
|
+
]
|
|
14079
|
+
},
|
|
14080
|
+
{
|
|
14081
|
+
begin: /\b(?=constructor)/,
|
|
14082
|
+
end: /[{;]/,
|
|
14083
|
+
excludeEnd: true,
|
|
14084
|
+
contains: [
|
|
14085
|
+
hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1 }),
|
|
14086
|
+
"self",
|
|
14087
|
+
PARAMS
|
|
14088
|
+
]
|
|
14089
|
+
},
|
|
14090
|
+
{
|
|
14091
|
+
begin: "(get|set)\\s+(?=" + IDENT_RE$1 + "\\()",
|
|
14092
|
+
end: /\{/,
|
|
14093
|
+
keywords: "get set",
|
|
14094
|
+
contains: [
|
|
14095
|
+
hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1 }),
|
|
14096
|
+
{ begin: /\(\)/ },
|
|
14097
|
+
// eat to avoid empty params
|
|
14098
|
+
PARAMS
|
|
14099
|
+
]
|
|
14100
|
+
},
|
|
14101
|
+
{
|
|
14102
|
+
begin: /\$[(.]/
|
|
14103
|
+
// relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
|
|
14104
|
+
}
|
|
14105
|
+
]
|
|
14106
|
+
};
|
|
14107
|
+
}
|
|
14108
|
+
function typescript2(hljs) {
|
|
14109
|
+
const IDENT_RE$1 = IDENT_RE2;
|
|
14110
|
+
const NAMESPACE = {
|
|
14111
|
+
beginKeywords: "namespace",
|
|
14112
|
+
end: /\{/,
|
|
14113
|
+
excludeEnd: true
|
|
14114
|
+
};
|
|
14115
|
+
const INTERFACE = {
|
|
14116
|
+
beginKeywords: "interface",
|
|
14117
|
+
end: /\{/,
|
|
14118
|
+
excludeEnd: true,
|
|
14119
|
+
keywords: "interface extends"
|
|
14120
|
+
};
|
|
14121
|
+
const USE_STRICT = {
|
|
14122
|
+
className: "meta",
|
|
14123
|
+
relevance: 10,
|
|
14124
|
+
begin: /^\s*['"]use strict['"]/
|
|
14125
|
+
};
|
|
14126
|
+
const TYPES2 = [
|
|
14127
|
+
"any",
|
|
14128
|
+
"void",
|
|
14129
|
+
"number",
|
|
14130
|
+
"boolean",
|
|
14131
|
+
"string",
|
|
14132
|
+
"object",
|
|
14133
|
+
"never",
|
|
14134
|
+
"enum"
|
|
14135
|
+
];
|
|
14136
|
+
const TS_SPECIFIC_KEYWORDS = [
|
|
14137
|
+
"type",
|
|
14138
|
+
"namespace",
|
|
14139
|
+
"typedef",
|
|
14140
|
+
"interface",
|
|
14141
|
+
"public",
|
|
14142
|
+
"private",
|
|
14143
|
+
"protected",
|
|
14144
|
+
"implements",
|
|
14145
|
+
"declare",
|
|
14146
|
+
"abstract",
|
|
14147
|
+
"readonly"
|
|
14148
|
+
];
|
|
14149
|
+
const KEYWORDS$1 = {
|
|
14150
|
+
$pattern: IDENT_RE2,
|
|
14151
|
+
keyword: KEYWORDS.concat(TS_SPECIFIC_KEYWORDS),
|
|
14152
|
+
literal: LITERALS,
|
|
14153
|
+
built_in: BUILT_INS.concat(TYPES2)
|
|
14154
|
+
};
|
|
14155
|
+
const DECORATOR = {
|
|
14156
|
+
className: "meta",
|
|
14157
|
+
begin: "@" + IDENT_RE$1
|
|
14158
|
+
};
|
|
14159
|
+
const swapMode = (mode, label, replacement) => {
|
|
14160
|
+
const indx = mode.contains.findIndex((m) => m.label === label);
|
|
14161
|
+
if (indx === -1) {
|
|
14162
|
+
throw new Error("can not find mode to replace");
|
|
14163
|
+
}
|
|
14164
|
+
mode.contains.splice(indx, 1, replacement);
|
|
14165
|
+
};
|
|
14166
|
+
const tsLanguage = javascript(hljs);
|
|
14167
|
+
Object.assign(tsLanguage.keywords, KEYWORDS$1);
|
|
14168
|
+
tsLanguage.exports.PARAMS_CONTAINS.push(DECORATOR);
|
|
14169
|
+
tsLanguage.contains = tsLanguage.contains.concat([
|
|
14170
|
+
DECORATOR,
|
|
14171
|
+
NAMESPACE,
|
|
14172
|
+
INTERFACE
|
|
14173
|
+
]);
|
|
14174
|
+
swapMode(tsLanguage, "shebang", hljs.SHEBANG());
|
|
14175
|
+
swapMode(tsLanguage, "use_strict", USE_STRICT);
|
|
14176
|
+
const functionDeclaration = tsLanguage.contains.find((m) => m.className === "function");
|
|
14177
|
+
functionDeclaration.relevance = 0;
|
|
14178
|
+
Object.assign(tsLanguage, {
|
|
14179
|
+
name: "TypeScript",
|
|
14180
|
+
aliases: ["ts", "tsx"]
|
|
14181
|
+
});
|
|
14182
|
+
return tsLanguage;
|
|
14183
|
+
}
|
|
14184
|
+
typescript_1 = typescript2;
|
|
14185
|
+
return typescript_1;
|
|
14186
|
+
}
|
|
13550
14187
|
function _setPrototypeOf(o, p) {
|
|
13551
14188
|
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
|
|
13552
14189
|
o2.__proto__ = p2;
|
|
@@ -13562,70 +14199,6 @@ function _assertThisInitialized(self2) {
|
|
|
13562
14199
|
}
|
|
13563
14200
|
var SyntaxHighlighter = highlight$2(core$1, {});
|
|
13564
14201
|
SyntaxHighlighter.registerLanguage = core$1.registerLanguage;
|
|
13565
|
-
var typescript_1;
|
|
13566
|
-
var hasRequiredTypescript;
|
|
13567
|
-
function requireTypescript() {
|
|
13568
|
-
if (hasRequiredTypescript)
|
|
13569
|
-
return typescript_1;
|
|
13570
|
-
hasRequiredTypescript = 1;
|
|
13571
|
-
typescript_1 = typescript2;
|
|
13572
|
-
typescript2.displayName = "typescript";
|
|
13573
|
-
typescript2.aliases = ["ts"];
|
|
13574
|
-
function typescript2(Prism) {
|
|
13575
|
-
(function(Prism2) {
|
|
13576
|
-
Prism2.languages.typescript = Prism2.languages.extend("javascript", {
|
|
13577
|
-
"class-name": {
|
|
13578
|
-
pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
|
|
13579
|
-
lookbehind: true,
|
|
13580
|
-
greedy: true,
|
|
13581
|
-
inside: null
|
|
13582
|
-
// see below
|
|
13583
|
-
},
|
|
13584
|
-
builtin: /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/
|
|
13585
|
-
});
|
|
13586
|
-
Prism2.languages.typescript.keyword.push(
|
|
13587
|
-
/\b(?:abstract|declare|is|keyof|readonly|require)\b/,
|
|
13588
|
-
// keywords that have to be followed by an identifier
|
|
13589
|
-
/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,
|
|
13590
|
-
// This is for `import type *, {}`
|
|
13591
|
-
/\btype\b(?=\s*(?:[\{*]|$))/
|
|
13592
|
-
);
|
|
13593
|
-
delete Prism2.languages.typescript["parameter"];
|
|
13594
|
-
delete Prism2.languages.typescript["literal-property"];
|
|
13595
|
-
var typeInside = Prism2.languages.extend("typescript", {});
|
|
13596
|
-
delete typeInside["class-name"];
|
|
13597
|
-
Prism2.languages.typescript["class-name"].inside = typeInside;
|
|
13598
|
-
Prism2.languages.insertBefore("typescript", "function", {
|
|
13599
|
-
decorator: {
|
|
13600
|
-
pattern: /@[$\w\xA0-\uFFFF]+/,
|
|
13601
|
-
inside: {
|
|
13602
|
-
at: {
|
|
13603
|
-
pattern: /^@/,
|
|
13604
|
-
alias: "operator"
|
|
13605
|
-
},
|
|
13606
|
-
function: /^[\s\S]+/
|
|
13607
|
-
}
|
|
13608
|
-
},
|
|
13609
|
-
"generic-function": {
|
|
13610
|
-
// e.g. foo<T extends "bar" | "baz">( ...
|
|
13611
|
-
pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
|
|
13612
|
-
greedy: true,
|
|
13613
|
-
inside: {
|
|
13614
|
-
function: /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
|
|
13615
|
-
generic: {
|
|
13616
|
-
pattern: /<[\s\S]+/,
|
|
13617
|
-
// everything after the first <
|
|
13618
|
-
alias: "class-name",
|
|
13619
|
-
inside: typeInside
|
|
13620
|
-
}
|
|
13621
|
-
}
|
|
13622
|
-
}
|
|
13623
|
-
});
|
|
13624
|
-
Prism2.languages.ts = Prism2.languages.typescript;
|
|
13625
|
-
})(Prism);
|
|
13626
|
-
}
|
|
13627
|
-
return typescript_1;
|
|
13628
|
-
}
|
|
13629
14202
|
const useColorStyle = (defaultTheme) => {
|
|
13630
14203
|
const theme2 = useTheme();
|
|
13631
14204
|
const inheritedThemeName = theme2.name !== "classic" ? theme2.name : "light";
|
|
@@ -13806,7 +14379,7 @@ const tsx = /* @__PURE__ */ getDefaultExportFromCjs(typescript);
|
|
|
13806
14379
|
SyntaxHighlighter.registerLanguage("sql", sql);
|
|
13807
14380
|
SyntaxHighlighter.registerLanguage("bash", bash);
|
|
13808
14381
|
SyntaxHighlighter.registerLanguage("json", json);
|
|
13809
|
-
SyntaxHighlighter.registerLanguage("
|
|
14382
|
+
SyntaxHighlighter.registerLanguage("tsx", tsx);
|
|
13810
14383
|
const CodeBlockContainer = styled.div.withConfig({
|
|
13811
14384
|
componentId: "sc-18gnqgi-0"
|
|
13812
14385
|
})(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;position:relative;cursor:pointer;", ""], ({
|
|
@@ -14519,7 +15092,7 @@ const selectedDateFormatter = new Intl.DateTimeFormat(locale, {
|
|
|
14519
15092
|
year: "numeric"
|
|
14520
15093
|
});
|
|
14521
15094
|
const explicitWidth = "250px";
|
|
14522
|
-
const HighlightedInputWrapper = styled
|
|
15095
|
+
const HighlightedInputWrapper = styled(InputWrapper).withConfig({
|
|
14523
15096
|
componentId: "sc-1kfphgn-0"
|
|
14524
15097
|
})(["", " width:", ";}"], ({
|
|
14525
15098
|
$isActive,
|
|
@@ -14527,12 +15100,12 @@ const HighlightedInputWrapper = styled$1(InputWrapper).withConfig({
|
|
|
14527
15100
|
}) => {
|
|
14528
15101
|
return `border: ${theme2.click.datePicker.dateOption.stroke} solid ${$isActive ? theme2.click.datePicker.dateOption.color.stroke.active : theme2.click.field.color.stroke.default};`;
|
|
14529
15102
|
}, explicitWidth);
|
|
14530
|
-
const DatePickerContainer = styled
|
|
15103
|
+
const DatePickerContainer = styled(Container).withConfig({
|
|
14531
15104
|
componentId: "sc-1kfphgn-1"
|
|
14532
15105
|
})(["background:", ";"], ({
|
|
14533
15106
|
theme: theme2
|
|
14534
15107
|
}) => theme2.click.datePicker.dateOption.color.background.default);
|
|
14535
|
-
const UnselectableTitle = styled
|
|
15108
|
+
const UnselectableTitle = styled.h2.withConfig({
|
|
14536
15109
|
componentId: "sc-1kfphgn-2"
|
|
14537
15110
|
})(["", " user-select:none;"], ({
|
|
14538
15111
|
theme: theme2
|
|
@@ -14540,7 +15113,7 @@ const UnselectableTitle = styled$1.h2.withConfig({
|
|
|
14540
15113
|
color: ${theme2.click.datePicker.color.title.default};
|
|
14541
15114
|
font: ${theme2.click.datePicker.typography.title.default};
|
|
14542
15115
|
`);
|
|
14543
|
-
const DateTable = styled
|
|
15116
|
+
const DateTable = styled.table.withConfig({
|
|
14544
15117
|
componentId: "sc-1kfphgn-3"
|
|
14545
15118
|
})(["border-collapse:separate;border-spacing:0;font:", " table-layout:fixed;user-select:none;width:", ";thead tr{height:", ";}tbody{cursor:pointer;}td,th{", ";padding:4px;}"], ({
|
|
14546
15119
|
theme: theme2
|
|
@@ -14549,7 +15122,7 @@ const DateTable = styled$1.table.withConfig({
|
|
|
14549
15122
|
}) => theme2.click.datePicker.dateOption.size.height, ({
|
|
14550
15123
|
theme: theme2
|
|
14551
15124
|
}) => `border: ${theme2.click.datePicker.dateOption.stroke} solid ${theme2.click.datePicker.dateOption.color.stroke.default}`);
|
|
14552
|
-
const DateTableHeader = styled
|
|
15125
|
+
const DateTableHeader = styled.th.withConfig({
|
|
14553
15126
|
componentId: "sc-1kfphgn-4"
|
|
14554
15127
|
})(["", " width:14%;"], ({
|
|
14555
15128
|
theme: theme2
|
|
@@ -14557,7 +15130,7 @@ const DateTableHeader = styled$1.th.withConfig({
|
|
|
14557
15130
|
color: ${theme2.click.datePicker.color.daytitle.default};
|
|
14558
15131
|
font: ${theme2.click.datePicker.typography.daytitle.default};
|
|
14559
15132
|
`);
|
|
14560
|
-
const DateTableCell = styled
|
|
15133
|
+
const DateTableCell = styled.td.withConfig({
|
|
14561
15134
|
componentId: "sc-1kfphgn-5"
|
|
14562
15135
|
})(["", " ", " ", " text-align:center;", " &:hover{", ";}"], ({
|
|
14563
15136
|
theme: theme2
|
|
@@ -32716,9 +33289,7 @@ const HoverCardContent = ({
|
|
|
32716
33289
|
};
|
|
32717
33290
|
HoverCardContent.displayName = "HoverCardContent";
|
|
32718
33291
|
HoverCard.Content = HoverCardContent;
|
|
32719
|
-
const
|
|
32720
|
-
componentId: "sc-1bwz77u-0"
|
|
32721
|
-
})(["font:", ";color:", ";margin:0;text-decoration:none;display:inline-flex;gap:", ";margin-right:", ";align-items:center;&:hover,&:focus{color:", ";transition:", ";text-decoration:underline;cursor:pointer;}&:visited{color:", ";}"], ({
|
|
33292
|
+
const linkStyles = css$1(["font:", ";color:", ";margin:0;text-decoration:none;display:inline-flex;gap:", ";margin-right:", ";align-items:center;&:hover,&:focus{color:", ";transition:", ";text-decoration:underline;cursor:pointer;}&:visited{color:", ";}"], ({
|
|
32722
33293
|
$size,
|
|
32723
33294
|
$weight = "normal",
|
|
32724
33295
|
theme: theme2
|
|
@@ -32737,6 +33308,9 @@ const CuiLink = styled.a.withConfig({
|
|
|
32737
33308
|
}) => theme2.transition.default, ({
|
|
32738
33309
|
theme: theme2
|
|
32739
33310
|
}) => theme2.click.global.color.text.link.default);
|
|
33311
|
+
const CuiLink = styled.a.withConfig({
|
|
33312
|
+
componentId: "sc-1bwz77u-0"
|
|
33313
|
+
})(["", ""], linkStyles);
|
|
32740
33314
|
const IconWrapper$1 = styled.span.withConfig({
|
|
32741
33315
|
componentId: "sc-1bwz77u-1"
|
|
32742
33316
|
})([".external-icon{height:", ";width:", ";}"], ({
|
|
@@ -32968,24 +33542,25 @@ const Pagination = ({
|
|
|
32968
33542
|
] });
|
|
32969
33543
|
};
|
|
32970
33544
|
const Panel = ({
|
|
32971
|
-
|
|
32972
|
-
|
|
33545
|
+
alignItems = "center",
|
|
33546
|
+
children,
|
|
32973
33547
|
color,
|
|
32974
|
-
|
|
33548
|
+
cursor,
|
|
33549
|
+
fillHeight,
|
|
33550
|
+
fillWidth,
|
|
32975
33551
|
gap,
|
|
32976
|
-
|
|
33552
|
+
hasBorder,
|
|
33553
|
+
hasShadow,
|
|
33554
|
+
height,
|
|
32977
33555
|
orientation = "horizontal",
|
|
32978
|
-
|
|
33556
|
+
padding,
|
|
32979
33557
|
radii = "sm",
|
|
32980
|
-
|
|
32981
|
-
height,
|
|
32982
|
-
fillHeight,
|
|
32983
|
-
alignItems = "center",
|
|
33558
|
+
width,
|
|
32984
33559
|
...props
|
|
32985
|
-
}) => /* @__PURE__ */ jsx(Wrapper$2, { $
|
|
33560
|
+
}) => /* @__PURE__ */ jsx(Wrapper$2, { $alignItems: alignItems, $color: color, $cursor: cursor, $fillHeight: fillHeight, $fillWidth: fillWidth, $gap: gap, $hasBorder: hasBorder, $hasShadow: hasShadow, $height: height, $orientation: orientation, $padding: padding, $radii: radii, $width: width, ...props, children });
|
|
32986
33561
|
const Wrapper$2 = styled.div.withConfig({
|
|
32987
33562
|
componentId: "sc-1q78udp-0"
|
|
32988
|
-
})(["display:flex;flex-flow:", ";align-items:", ";width:", ";height:", ";background-color:", ";border-radius:", ";padding:", ";border:", ";box-shadow:", ";gap:", ";"], ({
|
|
33563
|
+
})(["display:flex;flex-flow:", ";align-items:", ";width:", ";height:", ";background-color:", ";border-radius:", ";padding:", ";border:", ";box-shadow:", ";gap:", ";", ";"], ({
|
|
32989
33564
|
$orientation = "horizontal"
|
|
32990
33565
|
}) => $orientation === "horizontal" ? "row wrap" : "column", ({
|
|
32991
33566
|
$alignItems = "center"
|
|
@@ -33013,7 +33588,9 @@ const Wrapper$2 = styled.div.withConfig({
|
|
|
33013
33588
|
}) => $hasShadow ? theme2.shadow[1] : "none", ({
|
|
33014
33589
|
$gap = "sm",
|
|
33015
33590
|
theme: theme2
|
|
33016
|
-
}) => theme2.click.panel.space.gap[$gap]
|
|
33591
|
+
}) => theme2.click.panel.space.gap[$gap], ({
|
|
33592
|
+
$cursor
|
|
33593
|
+
}) => $cursor && `cursor: ${$cursor}`);
|
|
33017
33594
|
const ProgressContainer = styled.div.withConfig({
|
|
33018
33595
|
componentId: "sc-16gr3cg-0"
|
|
33019
33596
|
})(["display:flex;justify-content:space-between;align-items:center;overflow:hidden;transition:all 100ms ease-in-out;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;min-height:2px;", ";"], ({
|
|
@@ -42080,6 +42657,18 @@ const click$3 = {
|
|
|
42080
42657
|
slate: "#9a9ea7"
|
|
42081
42658
|
}
|
|
42082
42659
|
}
|
|
42660
|
+
},
|
|
42661
|
+
serviceCard: {
|
|
42662
|
+
color: {
|
|
42663
|
+
background: {
|
|
42664
|
+
"default": "#FBFCFF",
|
|
42665
|
+
hover: "lch(99 1.55 272)"
|
|
42666
|
+
},
|
|
42667
|
+
stroke: {
|
|
42668
|
+
"default": "#e6e7e9",
|
|
42669
|
+
hover: "rgb(81% 82.1% 83.6%)"
|
|
42670
|
+
}
|
|
42671
|
+
}
|
|
42083
42672
|
}
|
|
42084
42673
|
};
|
|
42085
42674
|
const name$3 = "classic";
|
|
@@ -43803,6 +44392,18 @@ const click$2 = {
|
|
|
43803
44392
|
slate: "#9a9ea7"
|
|
43804
44393
|
}
|
|
43805
44394
|
}
|
|
44395
|
+
},
|
|
44396
|
+
serviceCard: {
|
|
44397
|
+
color: {
|
|
44398
|
+
background: {
|
|
44399
|
+
"default": "rgb(17.8% 17.8% 17.8%)",
|
|
44400
|
+
hover: "lch(19.1 0 0)"
|
|
44401
|
+
},
|
|
44402
|
+
stroke: {
|
|
44403
|
+
"default": "rgb(23.6% 23.6% 23.6%)",
|
|
44404
|
+
hover: "rgb(27.4% 27.4% 27.4%)"
|
|
44405
|
+
}
|
|
44406
|
+
}
|
|
43806
44407
|
}
|
|
43807
44408
|
};
|
|
43808
44409
|
const name$2 = "dark";
|
|
@@ -45516,6 +46117,18 @@ const click$1 = {
|
|
|
45516
46117
|
slate: "#9a9ea7"
|
|
45517
46118
|
}
|
|
45518
46119
|
}
|
|
46120
|
+
},
|
|
46121
|
+
serviceCard: {
|
|
46122
|
+
color: {
|
|
46123
|
+
background: {
|
|
46124
|
+
"default": "#FBFCFF",
|
|
46125
|
+
hover: "lch(99 1.55 272)"
|
|
46126
|
+
},
|
|
46127
|
+
stroke: {
|
|
46128
|
+
"default": "#e6e7e9",
|
|
46129
|
+
hover: "rgb(81% 82.1% 83.6%)"
|
|
46130
|
+
}
|
|
46131
|
+
}
|
|
45519
46132
|
}
|
|
45520
46133
|
};
|
|
45521
46134
|
const name$1 = "light";
|
|
@@ -48640,12 +49253,25 @@ const click = {
|
|
|
48640
49253
|
slate: "#9a9ea7"
|
|
48641
49254
|
}
|
|
48642
49255
|
}
|
|
49256
|
+
},
|
|
49257
|
+
serviceCard: {
|
|
49258
|
+
color: {
|
|
49259
|
+
background: {
|
|
49260
|
+
"default": "#FBFCFF",
|
|
49261
|
+
hover: "lch(99 1.55 272)"
|
|
49262
|
+
},
|
|
49263
|
+
stroke: {
|
|
49264
|
+
"default": "#e6e7e9",
|
|
49265
|
+
hover: "rgb(81% 82.1% 83.6%)"
|
|
49266
|
+
}
|
|
49267
|
+
}
|
|
48643
49268
|
}
|
|
48644
49269
|
};
|
|
48645
49270
|
const transition = {
|
|
48646
49271
|
"default": "all 100ms ease-in 0ms",
|
|
48647
49272
|
duration: {
|
|
48648
49273
|
slow: "300ms",
|
|
49274
|
+
smooth: "150ms",
|
|
48649
49275
|
medium: "100ms",
|
|
48650
49276
|
fast: "50ms"
|
|
48651
49277
|
},
|
|
@@ -49096,7 +49722,8 @@ const shadow = {
|
|
|
49096
49722
|
"1": "0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)",
|
|
49097
49723
|
"2": "0 4px 4px 0 rgba(88, 92, 98, 0.06), inset 5px 0 10px 0 rgba(104, 105, 111, 0.1)",
|
|
49098
49724
|
"3": "-5px 0 20px 0 rgba(0, 0, 0, 0.08), -6px 0 10px 0 rgba(0, 0, 0, 0.08)",
|
|
49099
|
-
"4": "5px 0 20px 0 rgba(0, 0, 0, 0.08), 6px 0 10px 0 rgba(0, 0, 0, 0.08)"
|
|
49725
|
+
"4": "5px 0 20px 0 rgba(0, 0, 0, 0.08), 6px 0 10px 0 rgba(0, 0, 0, 0.08)",
|
|
49726
|
+
"5": "0 2px 2px 0 rgba(0, 0, 0, 0.03)"
|
|
49100
49727
|
};
|
|
49101
49728
|
const breakpoint = {
|
|
49102
49729
|
sizes: {
|
|
@@ -49536,6 +50163,7 @@ export {
|
|
|
49536
50163
|
VerticalStepper,
|
|
49537
50164
|
WarningAlert,
|
|
49538
50165
|
createToast,
|
|
50166
|
+
linkStyles,
|
|
49539
50167
|
themes,
|
|
49540
50168
|
useCUITheme,
|
|
49541
50169
|
useToast
|