@banyan_cloud/roots 1.0.82 → 1.0.84
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/cjs/index.js +173 -150
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +173 -150
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +173 -150
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -20876,49 +20876,40 @@ They are, in order: __emphasis__, **strong**, ++monospace++, +++passthrough+++,
|
|
|
20876
20876
|
})(Prism);
|
|
20877
20877
|
}
|
|
20878
20878
|
|
|
20879
|
-
var asm6502_1;
|
|
20880
|
-
|
|
20881
|
-
|
|
20882
|
-
function
|
|
20883
|
-
|
|
20884
|
-
|
|
20885
|
-
|
|
20886
|
-
|
|
20887
|
-
|
|
20888
|
-
|
|
20889
|
-
|
|
20890
|
-
|
|
20891
|
-
|
|
20892
|
-
|
|
20893
|
-
|
|
20894
|
-
|
|
20895
|
-
|
|
20896
|
-
|
|
20897
|
-
|
|
20898
|
-
|
|
20899
|
-
|
|
20900
|
-
|
|
20901
|
-
|
|
20902
|
-
|
|
20903
|
-
|
|
20904
|
-
|
|
20905
|
-
|
|
20906
|
-
|
|
20907
|
-
|
|
20908
|
-
|
|
20909
|
-
|
|
20910
|
-
|
|
20911
|
-
|
|
20912
|
-
|
|
20913
|
-
},
|
|
20914
|
-
register: {
|
|
20915
|
-
pattern: /\b[xya]\b/i,
|
|
20916
|
-
alias: 'variable'
|
|
20917
|
-
},
|
|
20918
|
-
punctuation: /[(),:]/
|
|
20919
|
-
};
|
|
20920
|
-
}
|
|
20921
|
-
return asm6502_1;
|
|
20879
|
+
var asm6502_1 = asm6502;
|
|
20880
|
+
asm6502.displayName = 'asm6502';
|
|
20881
|
+
asm6502.aliases = [];
|
|
20882
|
+
function asm6502(Prism) {
|
|
20883
|
+
Prism.languages.asm6502 = {
|
|
20884
|
+
comment: /;.*/,
|
|
20885
|
+
directive: {
|
|
20886
|
+
pattern: /\.\w+(?= )/,
|
|
20887
|
+
alias: 'property'
|
|
20888
|
+
},
|
|
20889
|
+
string: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
20890
|
+
'op-code': {
|
|
20891
|
+
pattern:
|
|
20892
|
+
/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,
|
|
20893
|
+
alias: 'keyword'
|
|
20894
|
+
},
|
|
20895
|
+
'hex-number': {
|
|
20896
|
+
pattern: /#?\$[\da-f]{1,4}\b/i,
|
|
20897
|
+
alias: 'number'
|
|
20898
|
+
},
|
|
20899
|
+
'binary-number': {
|
|
20900
|
+
pattern: /#?%[01]+\b/,
|
|
20901
|
+
alias: 'number'
|
|
20902
|
+
},
|
|
20903
|
+
'decimal-number': {
|
|
20904
|
+
pattern: /#?\b\d+\b/,
|
|
20905
|
+
alias: 'number'
|
|
20906
|
+
},
|
|
20907
|
+
register: {
|
|
20908
|
+
pattern: /\b[xya]\b/i,
|
|
20909
|
+
alias: 'variable'
|
|
20910
|
+
},
|
|
20911
|
+
punctuation: /[(),:]/
|
|
20912
|
+
};
|
|
20922
20913
|
}
|
|
20923
20914
|
|
|
20924
20915
|
var asmatmel_1 = asmatmel;
|
|
@@ -22875,95 +22866,104 @@ function requireCobol () {
|
|
|
22875
22866
|
return cobol_1;
|
|
22876
22867
|
}
|
|
22877
22868
|
|
|
22878
|
-
var coffeescript_1
|
|
22879
|
-
|
|
22880
|
-
|
|
22881
|
-
function
|
|
22869
|
+
var coffeescript_1;
|
|
22870
|
+
var hasRequiredCoffeescript;
|
|
22871
|
+
|
|
22872
|
+
function requireCoffeescript () {
|
|
22873
|
+
if (hasRequiredCoffeescript) return coffeescript_1;
|
|
22874
|
+
hasRequiredCoffeescript = 1;
|
|
22875
|
+
|
|
22876
|
+
coffeescript_1 = coffeescript;
|
|
22877
|
+
coffeescript.displayName = 'coffeescript';
|
|
22878
|
+
coffeescript.aliases = ['coffee'];
|
|
22879
|
+
function coffeescript(Prism) {
|
|
22882
22880
|
(function (Prism) {
|
|
22883
|
-
|
|
22884
|
-
|
|
22885
|
-
|
|
22886
|
-
|
|
22887
|
-
|
|
22888
|
-
|
|
22889
|
-
|
|
22890
|
-
|
|
22891
|
-
|
|
22892
|
-
|
|
22893
|
-
|
|
22894
|
-
|
|
22895
|
-
|
|
22896
|
-
|
|
22897
|
-
|
|
22898
|
-
|
|
22899
|
-
|
|
22900
|
-
|
|
22901
|
-
|
|
22902
|
-
|
|
22903
|
-
|
|
22904
|
-
|
|
22905
|
-
|
|
22906
|
-
|
|
22907
|
-
|
|
22908
|
-
|
|
22909
|
-
|
|
22910
|
-
|
|
22911
|
-
|
|
22912
|
-
|
|
22913
|
-
|
|
22914
|
-
|
|
22915
|
-
|
|
22916
|
-
|
|
22917
|
-
|
|
22918
|
-
|
|
22919
|
-
|
|
22920
|
-
|
|
22921
|
-
|
|
22922
|
-
|
|
22923
|
-
|
|
22924
|
-
|
|
22925
|
-
|
|
22926
|
-
|
|
22927
|
-
|
|
22928
|
-
|
|
22929
|
-
|
|
22930
|
-
|
|
22931
|
-
|
|
22932
|
-
|
|
22933
|
-
|
|
22934
|
-
|
|
22935
|
-
|
|
22936
|
-
|
|
22937
|
-
|
|
22938
|
-
|
|
22939
|
-
|
|
22940
|
-
|
|
22941
|
-
|
|
22942
|
-
|
|
22943
|
-
|
|
22944
|
-
|
|
22945
|
-
|
|
22946
|
-
|
|
22947
|
-
|
|
22948
|
-
|
|
22949
|
-
|
|
22950
|
-
|
|
22951
|
-
|
|
22952
|
-
|
|
22953
|
-
|
|
22954
|
-
|
|
22955
|
-
|
|
22956
|
-
|
|
22957
|
-
|
|
22958
|
-
|
|
22959
|
-
|
|
22960
|
-
|
|
22961
|
-
|
|
22962
|
-
|
|
22963
|
-
|
|
22964
|
-
|
|
22965
|
-
|
|
22966
|
-
|
|
22881
|
+
// Ignore comments starting with { to privilege string interpolation highlighting
|
|
22882
|
+
var comment = /#(?!\{).+/;
|
|
22883
|
+
var interpolation = {
|
|
22884
|
+
pattern: /#\{[^}]+\}/,
|
|
22885
|
+
alias: 'variable'
|
|
22886
|
+
};
|
|
22887
|
+
Prism.languages.coffeescript = Prism.languages.extend('javascript', {
|
|
22888
|
+
comment: comment,
|
|
22889
|
+
string: [
|
|
22890
|
+
// Strings are multiline
|
|
22891
|
+
{
|
|
22892
|
+
pattern: /'(?:\\[\s\S]|[^\\'])*'/,
|
|
22893
|
+
greedy: true
|
|
22894
|
+
},
|
|
22895
|
+
{
|
|
22896
|
+
// Strings are multiline
|
|
22897
|
+
pattern: /"(?:\\[\s\S]|[^\\"])*"/,
|
|
22898
|
+
greedy: true,
|
|
22899
|
+
inside: {
|
|
22900
|
+
interpolation: interpolation
|
|
22901
|
+
}
|
|
22902
|
+
}
|
|
22903
|
+
],
|
|
22904
|
+
keyword:
|
|
22905
|
+
/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,
|
|
22906
|
+
'class-member': {
|
|
22907
|
+
pattern: /@(?!\d)\w+/,
|
|
22908
|
+
alias: 'variable'
|
|
22909
|
+
}
|
|
22910
|
+
});
|
|
22911
|
+
Prism.languages.insertBefore('coffeescript', 'comment', {
|
|
22912
|
+
'multiline-comment': {
|
|
22913
|
+
pattern: /###[\s\S]+?###/,
|
|
22914
|
+
alias: 'comment'
|
|
22915
|
+
},
|
|
22916
|
+
// Block regexp can contain comments and interpolation
|
|
22917
|
+
'block-regex': {
|
|
22918
|
+
pattern: /\/{3}[\s\S]*?\/{3}/,
|
|
22919
|
+
alias: 'regex',
|
|
22920
|
+
inside: {
|
|
22921
|
+
comment: comment,
|
|
22922
|
+
interpolation: interpolation
|
|
22923
|
+
}
|
|
22924
|
+
}
|
|
22925
|
+
});
|
|
22926
|
+
Prism.languages.insertBefore('coffeescript', 'string', {
|
|
22927
|
+
'inline-javascript': {
|
|
22928
|
+
pattern: /`(?:\\[\s\S]|[^\\`])*`/,
|
|
22929
|
+
inside: {
|
|
22930
|
+
delimiter: {
|
|
22931
|
+
pattern: /^`|`$/,
|
|
22932
|
+
alias: 'punctuation'
|
|
22933
|
+
},
|
|
22934
|
+
script: {
|
|
22935
|
+
pattern: /[\s\S]+/,
|
|
22936
|
+
alias: 'language-javascript',
|
|
22937
|
+
inside: Prism.languages.javascript
|
|
22938
|
+
}
|
|
22939
|
+
}
|
|
22940
|
+
},
|
|
22941
|
+
// Block strings
|
|
22942
|
+
'multiline-string': [
|
|
22943
|
+
{
|
|
22944
|
+
pattern: /'''[\s\S]*?'''/,
|
|
22945
|
+
greedy: true,
|
|
22946
|
+
alias: 'string'
|
|
22947
|
+
},
|
|
22948
|
+
{
|
|
22949
|
+
pattern: /"""[\s\S]*?"""/,
|
|
22950
|
+
greedy: true,
|
|
22951
|
+
alias: 'string',
|
|
22952
|
+
inside: {
|
|
22953
|
+
interpolation: interpolation
|
|
22954
|
+
}
|
|
22955
|
+
}
|
|
22956
|
+
]
|
|
22957
|
+
});
|
|
22958
|
+
Prism.languages.insertBefore('coffeescript', 'keyword', {
|
|
22959
|
+
// Object property
|
|
22960
|
+
property: /(?!\d)\w+(?=\s*:(?!:))/
|
|
22961
|
+
});
|
|
22962
|
+
delete Prism.languages.coffeescript['template-string'];
|
|
22963
|
+
Prism.languages.coffee = Prism.languages.coffeescript;
|
|
22964
|
+
})(Prism);
|
|
22965
|
+
}
|
|
22966
|
+
return coffeescript_1;
|
|
22967
22967
|
}
|
|
22968
22968
|
|
|
22969
22969
|
var concurnas_1;
|
|
@@ -42829,7 +42829,7 @@ refractor.register(aql_1);
|
|
|
42829
42829
|
refractor.register(arduino_1);
|
|
42830
42830
|
refractor.register(arff_1);
|
|
42831
42831
|
refractor.register(asciidoc_1);
|
|
42832
|
-
refractor.register(
|
|
42832
|
+
refractor.register(asm6502_1);
|
|
42833
42833
|
refractor.register(asmatmel_1);
|
|
42834
42834
|
refractor.register(aspnet_1);
|
|
42835
42835
|
refractor.register(autohotkey_1);
|
|
@@ -42855,7 +42855,7 @@ refractor.register(cil_1);
|
|
|
42855
42855
|
refractor.register(clojure_1);
|
|
42856
42856
|
refractor.register(cmake_1);
|
|
42857
42857
|
refractor.register(requireCobol());
|
|
42858
|
-
refractor.register(
|
|
42858
|
+
refractor.register(requireCoffeescript());
|
|
42859
42859
|
refractor.register(requireConcurnas());
|
|
42860
42860
|
refractor.register(requireCoq());
|
|
42861
42861
|
refractor.register(requireCpp());
|
|
@@ -46941,8 +46941,8 @@ var COLORS = Object.keys(modules_dd21d9e9).reduce(function (acc, curr) {
|
|
|
46941
46941
|
return acc;
|
|
46942
46942
|
}, {});
|
|
46943
46943
|
|
|
46944
|
-
var css$x = ".
|
|
46945
|
-
var modules_abbc385a = {"root":"
|
|
46944
|
+
var css$x = ".Step_module_root__94d74268 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n position: relative;\n z-index: 1;\n gap: 0.5rem;\n flex: 1;\n cursor: default;\n}\n.Step_module_root__94d74268:last-child {\n flex: 0 1 auto;\n}\n.Step_module_root__94d74268:last-child .Step_module_title__94d74268::after {\n display: none;\n}\n.Step_module_root__94d74268 .Step_module_left__94d74268 {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n position: relative;\n width: 1.5rem;\n height: 1.5rem;\n background: var(--white);\n border: 0.063rem solid var(--grey2);\n border-radius: 2rem;\n font-size: 1rem;\n color: var(--grey2);\n}\n.Step_module_root__94d74268 .Step_module_left__94d74268 .Step_module_icon__94d74268 {\n width: 0.75rem;\n height: 0.75rem;\n}\n.Step_module_root__94d74268 .Step_module_left__94d74268 .Step_module_icon__94d74268.Step_module_errorIcon__94d74268 {\n fill: var(--error);\n}\n.Step_module_root__94d74268 .Step_module_left__94d74268 .Step_module_icon__94d74268.Step_module_completionIcon__94d74268 {\n fill: var(--highlight);\n}\n.Step_module_root__94d74268 .Step_module_left__94d74268 .Step_module_icon__94d74268.Step_module_completionIcon__94d74268.Step_module_active__94d74268 {\n fill: var(--white);\n}\n.Step_module_root__94d74268 .Step_module_left__94d74268 .Step_module_progress__94d74268 {\n position: absolute;\n z-index: -1;\n inset: -0.3rem;\n border-radius: 2rem;\n}\n.Step_module_root__94d74268 .Step_module_left__94d74268 .Step_module_progress__94d74268::after {\n position: absolute;\n content: \"\";\n inset: 0.15rem;\n background: white;\n border-radius: 2rem;\n}\n.Step_module_root__94d74268 .Step_module_right__94d74268 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n flex: 1;\n}\n.Step_module_root__94d74268 .Step_module_right__94d74268 .Step_module_title__94d74268 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 0.75rem;\n width: 100%;\n font-size: 1rem;\n color: var(--grey2);\n}\n.Step_module_root__94d74268 .Step_module_right__94d74268 .Step_module_title__94d74268::after {\n content: \"\";\n flex: 1;\n min-width: 1.5rem;\n border-bottom: 0.063rem solid;\n margin-top: 0.75rem;\n border-bottom-color: var(--grey2);\n}\n.Step_module_root__94d74268 .Step_module_right__94d74268 .Step_module_title__94d74268.Step_module_noTail__94d74268::after {\n display: none;\n}\n.Step_module_root__94d74268 .Step_module_right__94d74268 .Step_module_description__94d74268 {\n font-size: 0.75rem;\n color: var(--grey2);\n}\n.Step_module_root__94d74268.Step_module_active__94d74268 .Step_module_left__94d74268 {\n background: var(--highlight);\n color: var(--white);\n}\n.Step_module_root__94d74268.Step_module_active__94d74268 .Step_module_left__94d74268, .Step_module_root__94d74268.Step_module_completed__94d74268 .Step_module_left__94d74268 {\n border-color: var(--highlight);\n}\n.Step_module_root__94d74268.Step_module_active__94d74268 .Step_module_right__94d74268 .Step_module_title__94d74268, .Step_module_root__94d74268.Step_module_completed__94d74268 .Step_module_right__94d74268 .Step_module_title__94d74268 {\n color: var(--black);\n}\n.Step_module_root__94d74268.Step_module_active__94d74268 .Step_module_right__94d74268 .Step_module_description__94d74268, .Step_module_root__94d74268.Step_module_completed__94d74268 .Step_module_right__94d74268 .Step_module_description__94d74268 {\n color: var(--grey);\n}\n.Step_module_root__94d74268.Step_module_completed__94d74268 .Step_module_right__94d74268 .Step_module_title__94d74268::after {\n border-bottom-color: var(--highlight);\n}\n.Step_module_root__94d74268.Step_module_error__94d74268 .Step_module_left__94d74268 {\n background: var(--white);\n border-color: var(--error);\n color: var(--error);\n}\n.Step_module_root__94d74268.Step_module_error__94d74268 .Step_module_right__94d74268 .Step_module_title__94d74268 {\n color: var(--error);\n}\n.Step_module_root__94d74268.Step_module_error__94d74268 .Step_module_right__94d74268 .Step_module_description__94d74268 {\n color: rgba(var(--error), 0.6);\n}";
|
|
46945
|
+
var modules_abbc385a = {"root":"Step_module_root__94d74268","title":"Step_module_title__94d74268","left":"Step_module_left__94d74268","icon":"Step_module_icon__94d74268","error-icon":"Step_module_errorIcon__94d74268","completion-icon":"Step_module_completionIcon__94d74268","active":"Step_module_active__94d74268","progress":"Step_module_progress__94d74268","right":"Step_module_right__94d74268","no-tail":"Step_module_noTail__94d74268","description":"Step_module_description__94d74268","completed":"Step_module_completed__94d74268","error":"Step_module_error__94d74268"};
|
|
46946
46946
|
n(css$x,{});
|
|
46947
46947
|
|
|
46948
46948
|
var Step = function Step(props) {
|
|
@@ -46951,7 +46951,8 @@ var Step = function Step(props) {
|
|
|
46951
46951
|
active = props.active,
|
|
46952
46952
|
completion = props.completion,
|
|
46953
46953
|
error = props.error,
|
|
46954
|
-
index = props.index
|
|
46954
|
+
index = props.index,
|
|
46955
|
+
noTail = props.noTail;
|
|
46955
46956
|
var display = /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
46956
46957
|
className: modules_abbc385a.text,
|
|
46957
46958
|
children: index + 1
|
|
@@ -46978,7 +46979,7 @@ var Step = function Step(props) {
|
|
|
46978
46979
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
46979
46980
|
className: modules_abbc385a.right,
|
|
46980
46981
|
children: [/*#__PURE__*/jsxRuntime.jsx("span", {
|
|
46981
|
-
className: modules_abbc385a.title,
|
|
46982
|
+
className: classes(modules_abbc385a.title, noTail ? modules_abbc385a['no-tail'] : ''),
|
|
46982
46983
|
children: title
|
|
46983
46984
|
}), description != null && /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
46984
46985
|
className: modules_abbc385a.description,
|
|
@@ -46993,14 +46994,16 @@ Step.propTypes = {
|
|
|
46993
46994
|
active: propTypes$1.exports.bool,
|
|
46994
46995
|
completion: propTypes$1.exports.number,
|
|
46995
46996
|
error: propTypes$1.exports.bool,
|
|
46996
|
-
index: propTypes$1.exports.number
|
|
46997
|
+
index: propTypes$1.exports.number,
|
|
46998
|
+
noTail: propTypes$1.exports.bool
|
|
46997
46999
|
};
|
|
46998
47000
|
Step.defaultProps = {
|
|
46999
47001
|
description: '',
|
|
47000
47002
|
active: false,
|
|
47001
47003
|
completion: 0,
|
|
47002
47004
|
error: false,
|
|
47003
|
-
index: 0
|
|
47005
|
+
index: 0,
|
|
47006
|
+
noTail: false
|
|
47004
47007
|
};
|
|
47005
47008
|
|
|
47006
47009
|
var Stepper = function Stepper(props) {
|
|
@@ -108684,7 +108687,7 @@ var BaseVerticalBarChart = function BaseVerticalBarChart(props) {
|
|
|
108684
108687
|
var _seriesData$chartData9, _seriesData$chartData10;
|
|
108685
108688
|
return seriesData === null || seriesData === void 0 ? void 0 : (_seriesData$chartData9 = seriesData.chartData) === null || _seriesData$chartData9 === void 0 ? void 0 : (_seriesData$chartData10 = _seriesData$chartData9[obj1]) === null || _seriesData$chartData10 === void 0 ? void 0 : _seriesData$chartData10["x".concat(index + 1)];
|
|
108686
108689
|
});
|
|
108687
|
-
}) ? 0.
|
|
108690
|
+
}) ? 0.004 : 0;
|
|
108688
108691
|
return seriesOption.map(function (objectData, index) {
|
|
108689
108692
|
var _seriesOptionObject$l, _objectData$label, _seriesData$chartData11;
|
|
108690
108693
|
return _objectSpread2(_objectSpread2(_objectSpread2({}, seriesOptionObject), objectData), {}, {
|
|
@@ -109407,6 +109410,7 @@ var HeatMapChart = function HeatMapChart(props) {
|
|
|
109407
109410
|
seriesName = props.seriesName,
|
|
109408
109411
|
seriesOption = props.seriesOption,
|
|
109409
109412
|
visualMap = props.visualMap,
|
|
109413
|
+
defaultColor = props.defaultColor,
|
|
109410
109414
|
style = props.style,
|
|
109411
109415
|
className = props.className,
|
|
109412
109416
|
theme = props.theme,
|
|
@@ -109462,13 +109466,20 @@ var HeatMapChart = function HeatMapChart(props) {
|
|
|
109462
109466
|
var row = 7;
|
|
109463
109467
|
var col = 7;
|
|
109464
109468
|
var dataNew = [];
|
|
109465
|
-
for (var i =
|
|
109469
|
+
for (var i = row, k = 0; i > 0; i--) {
|
|
109466
109470
|
for (var j = 0; j < col; j++, k++) {
|
|
109467
|
-
var _newSeriesData$k$name, _newSeriesData$k, _newSeriesData$k$valu, _newSeriesData$k2;
|
|
109468
|
-
dataNew.push({
|
|
109471
|
+
var _newSeriesData$k$name, _newSeriesData$k, _newSeriesData$k$valu, _newSeriesData$k2, _newSeriesData$k$valu2, _newSeriesData$k3;
|
|
109472
|
+
dataNew.push(_objectSpread2({
|
|
109469
109473
|
name: (_newSeriesData$k$name = newSeriesData === null || newSeriesData === void 0 ? void 0 : (_newSeriesData$k = newSeriesData[k]) === null || _newSeriesData$k === void 0 ? void 0 : _newSeriesData$k.name) !== null && _newSeriesData$k$name !== void 0 ? _newSeriesData$k$name : '',
|
|
109470
109474
|
value: [j, i, (_newSeriesData$k$valu = newSeriesData === null || newSeriesData === void 0 ? void 0 : (_newSeriesData$k2 = newSeriesData[k]) === null || _newSeriesData$k2 === void 0 ? void 0 : _newSeriesData$k2.value) !== null && _newSeriesData$k$valu !== void 0 ? _newSeriesData$k$valu : -1]
|
|
109471
|
-
})
|
|
109475
|
+
}, ((_newSeriesData$k$valu2 = newSeriesData === null || newSeriesData === void 0 ? void 0 : (_newSeriesData$k3 = newSeriesData[k]) === null || _newSeriesData$k3 === void 0 ? void 0 : _newSeriesData$k3.value) !== null && _newSeriesData$k$valu2 !== void 0 ? _newSeriesData$k$valu2 : -1) === -1 ? {
|
|
109476
|
+
itemStyle: {
|
|
109477
|
+
color: defaultColor
|
|
109478
|
+
},
|
|
109479
|
+
emphasis: {
|
|
109480
|
+
disabled: true
|
|
109481
|
+
}
|
|
109482
|
+
} : {}));
|
|
109472
109483
|
}
|
|
109473
109484
|
}
|
|
109474
109485
|
return [_objectSpread2(_objectSpread2(_objectSpread2({}, seriesOptionObject), seriesOption), {}, {
|
|
@@ -109557,6 +109568,7 @@ HeatMapChart.propTypes = {
|
|
|
109557
109568
|
visualMap: propTypes$1.exports.shape({}),
|
|
109558
109569
|
seriesOption: propTypes$1.exports.shape({}),
|
|
109559
109570
|
style: propTypes$1.exports.objectOf(propTypes$1.exports.shape),
|
|
109571
|
+
defaultColor: propTypes$1.exports.string,
|
|
109560
109572
|
className: propTypes$1.exports.string,
|
|
109561
109573
|
theme: propTypes$1.exports.oneOf(['light', 'dark'])
|
|
109562
109574
|
};
|
|
@@ -109592,6 +109604,7 @@ HeatMapChart.defaultProps = {
|
|
|
109592
109604
|
show: true
|
|
109593
109605
|
}
|
|
109594
109606
|
},
|
|
109607
|
+
defaultColor: 'grey',
|
|
109595
109608
|
style: {
|
|
109596
109609
|
width: '100%',
|
|
109597
109610
|
height: '100%'
|
|
@@ -112175,12 +112188,18 @@ var BaseMap = function BaseMap(props) {
|
|
|
112175
112188
|
setMap = _useState2[1];
|
|
112176
112189
|
var _useState3 = React.useState(null),
|
|
112177
112190
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
112178
|
-
|
|
112179
|
-
|
|
112191
|
+
markerClusterer = _useState4[0],
|
|
112192
|
+
setMarkerClusterer = _useState4[1];
|
|
112193
|
+
var _useState5 = React.useState(null),
|
|
112194
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
112195
|
+
activeInfoWindow = _useState6[0],
|
|
112196
|
+
setActiveInfoWindow = _useState6[1];
|
|
112180
112197
|
React.useEffect(function () {
|
|
112181
112198
|
if (ref.current && !map) {
|
|
112182
112199
|
setMap(new window.google.maps.Map(ref.current, {
|
|
112183
|
-
mapId: mapId
|
|
112200
|
+
mapId: mapId,
|
|
112201
|
+
mapTypeControl: false,
|
|
112202
|
+
streetViewControl: false
|
|
112184
112203
|
}));
|
|
112185
112204
|
}
|
|
112186
112205
|
}, [map]);
|
|
@@ -112188,15 +112207,19 @@ var BaseMap = function BaseMap(props) {
|
|
|
112188
112207
|
var _markersRef$current;
|
|
112189
112208
|
if (clustered && map && React.Children.count(children) > 0 && (markersRef === null || markersRef === void 0 ? void 0 : (_markersRef$current = markersRef.current) === null || _markersRef$current === void 0 ? void 0 : _markersRef$current.length) > 0) {
|
|
112190
112209
|
var _markersRef$current2;
|
|
112210
|
+
if (markerClusterer) {
|
|
112211
|
+
markerClusterer.clearMarkers();
|
|
112212
|
+
setMarkerClusterer(null);
|
|
112213
|
+
}
|
|
112191
112214
|
var markers = markersRef === null || markersRef === void 0 ? void 0 : (_markersRef$current2 = markersRef.current) === null || _markersRef$current2 === void 0 ? void 0 : _markersRef$current2.map(function (marker) {
|
|
112192
112215
|
return marker.current;
|
|
112193
112216
|
});
|
|
112194
112217
|
|
|
112195
112218
|
// eslint-disable-next-line no-new
|
|
112196
|
-
new MarkerClusterer({
|
|
112219
|
+
setMarkerClusterer(new MarkerClusterer({
|
|
112197
112220
|
map: map,
|
|
112198
112221
|
markers: markers
|
|
112199
|
-
});
|
|
112222
|
+
}));
|
|
112200
112223
|
}
|
|
112201
112224
|
}, [clustered, children, map]);
|
|
112202
112225
|
React.useEffect(function () {
|
|
@@ -112373,7 +112396,7 @@ var Marker = /*#__PURE__*/React.forwardRef(function Marker(_ref, ref) {
|
|
|
112373
112396
|
React.useEffect(function () {
|
|
112374
112397
|
if (activeInfoWindow == null || activeInfoWindow !== index) {
|
|
112375
112398
|
var infoWindow = infoWindowRef === null || infoWindowRef === void 0 ? void 0 : infoWindowRef.current;
|
|
112376
|
-
infoWindow.close();
|
|
112399
|
+
infoWindow === null || infoWindow === void 0 ? void 0 : infoWindow.close();
|
|
112377
112400
|
}
|
|
112378
112401
|
}, [activeInfoWindow]);
|
|
112379
112402
|
if (React.Children.count(children) === 1) {
|