@dra2020/baseclient 1.0.161 → 1.0.162
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/baseclient.js
CHANGED
|
@@ -97,7 +97,7 @@ exports.Detail = Detail;
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
100
|
-
exports.BigPalettes = exports.defaultDistrictsPalette = exports.EthnicBackgroundColor = exports.PartisanDistrictClassicColors = exports.PartisanPrecinctClassicColors = exports.EthnicFewClassicColors = exports.ColorValues = exports.DefaultColorNames = exports.MaxClassicColors = exports.MaxColors = exports.MaxOrderedColors = void 0;
|
|
100
|
+
exports.BigPalettes = exports.defaultDistrictsPalette = exports.EthnicBackgroundColor = exports.PartisanDistrictClassicColors = exports.PartisanPrecinctClassicColors = exports.EthnicFewClassicColors = exports.ColorValues = exports.DefaultColorNames = exports.MaxClassicColors = exports.MaxColors = exports.MaxOrderedColors = exports.ColorBrewerSchemeNames = exports.ColorTable = void 0;
|
|
101
101
|
exports.genColor = genColor;
|
|
102
102
|
exports.orderedColors = orderedColors;
|
|
103
103
|
exports.getPalette = getPalette;
|
|
@@ -107,6 +107,8 @@ exports.getPalette = getPalette;
|
|
|
107
107
|
// Pastel2, PiYG, PuBu, PuBuGn, PuOr, PuRd, Purples, RdBu, RdGy, RdPu, RdYlBu, RdYlGn, Reds, Set1, Set2, Set3, Spectral,
|
|
108
108
|
// Wistia, YlGn, YlGnBu, YlOrBr, YlOrRd)
|
|
109
109
|
const colortable_1 = __webpack_require__(/*! ./colortable */ "./lib/colors/colortable.ts");
|
|
110
|
+
Object.defineProperty(exports, "ColorTable", ({ enumerable: true, get: function () { return colortable_1.ColorTable; } }));
|
|
111
|
+
Object.defineProperty(exports, "ColorBrewerSchemeNames", ({ enumerable: true, get: function () { return colortable_1.ColorBrewerSchemeNames; } }));
|
|
110
112
|
exports.MaxOrderedColors = 50;
|
|
111
113
|
exports.MaxColors = exports.MaxOrderedColors * 3; // Tied to orderedColors()
|
|
112
114
|
exports.MaxClassicColors = 55;
|
|
@@ -563,7 +565,8 @@ if (name.endsWith('_r')) {
|
|
|
563
565
|
|
|
564
566
|
|
|
565
567
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
566
|
-
exports.ColorTable = void 0;
|
|
568
|
+
exports.ColorTable = exports.ColorBrewerSchemeNames = void 0;
|
|
569
|
+
exports.ColorBrewerSchemeNames = ["Accent", "Dark2", "Paired", "Pastel1", "Pastel2", "Set1", "Set2", "Set3", "Blues", "Greens", "Oranges", "Reds", "Purples", "Greys1", "BuGn", "BuPu", "GnBu", "OrRd", "PuBuGn", "YlGn", "Spectral", "RdYlBu", "PiYG", "PRGn", "RdYlGn", "RdGy", "RdBu", "BrBG", "PuOr"];
|
|
567
570
|
exports.ColorTable = {
|
|
568
571
|
"Greys": ["#ffffff", "#fefefe", "#fdfdfd", "#fcfcfc", "#fbfbfb", "#fbfbfb", "#fafafa", "#f9f9f9", "#f8f8f8", "#f7f7f7", "#f7f7f7", "#f6f6f6", "#f5f5f5", "#f4f4f4", "#f3f3f3", "#f3f3f3", "#f2f2f2", "#f1f1f1", "#f0f0f0", "#efefef", "#eeeeee", "#ededed", "#ebebeb", "#eaeaea", "#e9e9e9", "#e8e8e8", "#e6e6e6", "#e5e5e5", "#e4e4e4", "#e3e3e3", "#e2e2e2", "#e0e0e0", "#dfdfdf", "#dedede", "#dddddd", "#dbdbdb", "#dadada", "#d9d9d9", "#d7d7d7", "#d6d6d6", "#d5d5d5", "#d3d3d3", "#d1d1d1", "#d0d0d0", "#cfcfcf", "#cdcdcd", "#cbcbcb", "#cacaca", "#c9c9c9", "#c7c7c7", "#c6c6c6", "#c4c4c4", "#c2c2c2", "#c2c2c2", "#c0c0c0", "#bebebe", "#bcbcbc", "#bbbbbb", "#b8b8b8", "#b6b6b6", "#b5b5b5", "#b2b2b2", "#b0b0b0", "#aeaeae", "#acacac", "#aaaaaa", "#a7a7a7", "#a6a6a6", "#a3a3a3", "#a1a1a1", "#a0a0a0", "#9d9d9d", "#9b9b9b", "#9a9a9a", "#979797", "#959595", "#939393", "#929292", "#8f8f8f", "#8d8d8d", "#8c8c8c", "#8a8a8a", "#888888", "#878787", "#848484", "#828282", "#808080", "#7f7f7f", "#7d7d7d", "#7b7b7b", "#797979", "#777777", "#757575", "#747474", "#727272", "#707070", "#6e6e6e", "#6d6d6d", "#6b6b6b", "#696969", "#676767", "#656565", "#636363", "#626262", "#606060", "#5e5e5e", "#5c5c5c", "#5b5b5b", "#595959", "#575757", "#565656", "#545454", "#525252", "#505050", "#4d4d4d", "#4b4b4b", "#484848", "#464646", "#444444", "#414141", "#3f3f3f", "#3c3c3c", "#3a3a3a", "#383838", "#353535", "#333333", "#303030", "#2e2e2e", "#2c2c2c", "#292929", "#272727", "#252525", "#222222", "#212121", "#1f1f1f", "#1c1c1c", "#1a1a1a", "#191919", "#171717", "#141414", "#131313", "#111111", "#0f0f0f", "#0d0d0d", "#0b0b0b", "#090909", "#060606", "#050505", "#030303", "#010101"],
|
|
569
572
|
"bone": ["#000001", "#020203", "#040405", "#050507", "#070709", "#08080c", "#0a0a0e", "#0b0b0f", "#0d0d12", "#0e0e14", "#0f0f15", "#111118", "#13131a", "#14141b", "#15151e", "#171720", "#191923", "#1a1a24", "#1c1c26", "#1d1d29", "#1e1e2a", "#20202c", "#22222f", "#232330", "#242433", "#262635", "#282837", "#292939", "#2a2a3b", "#2c2c3d", "#2d2d3f", "#2f2f41", "#313144", "#313145", "#333347", "#35354a", "#37374c", "#38384d", "#393950", "#3b3b52", "#3c3c53", "#3e3e56", "#3f3f58", "#404059", "#42425c", "#44445e", "#464661", "#464662", "#484864", "#4a4a67", "#4b4b68", "#4d4d6b", "#4e4e6d", "#4f4f6e", "#515171", "#535373", "#545674", "#555775", "#575977", "#595c79", "#5a5d7a", "#5b5f7b", "#5d627d", "#5e637e", "#606580", "#626881", "#636a83", "#646b84", "#666e86", "#687088", "#697188", "#6a748a", "#6c768c", "#6d778d", "#6f7a8f", "#707c90", "#727e92", "#738093", "#758295", "#778496", "#778697", "#798899", "#7b8a9b", "#7c8c9c", "#7e8e9d", "#7f919f", "#8193a1", "#8294a2", "#8497a4", "#8599a5", "#869aa6", "#889da8", "#8a9faa", "#8ba0ab", "#8ca3ac", "#8ea5ae", "#90a7b0", "#91a9b1", "#93abb2", "#94adb4", "#95afb5", "#97b1b7", "#99b3b9", "#9ab5b9", "#9bb7bb", "#9db9bd", "#9fbcbf", "#a0bdc0", "#a1bfc1", "#a3c2c3", "#a4c3c4", "#a6c5c6", "#a8c7c7", "#aac8c8", "#accaca", "#afcccc", "#b2cece", "#b3cece", "#b6d0d0", "#b9d2d2", "#bad3d3", "#bdd5d5", "#bfd6d6", "#c1d7d7", "#c4d9d9", "#c6dbdb", "#c9dcdc", "#cadddd", "#cddfdf", "#d0e1e1", "#d1e2e2", "#d4e3e3", "#d7e5e5", "#d8e6e6", "#dbe8e8", "#deeaea", "#e0ebeb", "#e2ecec", "#e4eeee", "#e7f0f0", "#e8f1f1", "#ebf2f2", "#eef4f4", "#eff5f5", "#f2f7f7", "#f5f8f8", "#f7fafa", "#f9fbfb", "#fcfdfd", "#feffff"],
|