oolib 2.190.2 → 2.190.4

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.
@@ -90,6 +90,10 @@ function DropdownMulti(_a) {
90
90
  setSearchStringInParent: setSearchStringInParent,
91
91
  searchStringInParent: searchStringInParent
92
92
  }), searchString = _e[0], setSearchString = _e[1];
93
+ console.log({
94
+ optionsFn: optionsFn === null || optionsFn === void 0 ? void 0 : optionsFn.fn,
95
+ argsString: JSON.stringify(optionsFn === null || optionsFn === void 0 ? void 0 : optionsFn.args),
96
+ });
93
97
  var options = (0, react_1.useMemo)(function () {
94
98
  var ops = (0, generateOptions_1.generateOptions)({
95
99
  options: optionsProp,
@@ -97,6 +101,7 @@ function DropdownMulti(_a) {
97
101
  theme: theme
98
102
  // injectOtherOption,
99
103
  });
104
+ console.log({ ops: ops });
100
105
  var currentValue = value || [];
101
106
  // rm the selectedOps from ops list (since they are shown anyway in the selectedops list)
102
107
  return /*isTagsStyle ? ops : */ ops.filter(function (op) { return currentValue.every(function (v) { return v.value !== op.value; }); });
@@ -104,7 +109,7 @@ function DropdownMulti(_a) {
104
109
  JSON.stringify(optionsProp), //we need this cuz options change from 'loading' to actual options in some cases
105
110
  // showOptions
106
111
  optionsFn === null || optionsFn === void 0 ? void 0 : optionsFn.fn,
107
- optionsFn === null || optionsFn === void 0 ? void 0 : optionsFn.args,
112
+ JSON.stringify(optionsFn === null || optionsFn === void 0 ? void 0 : optionsFn.args),
108
113
  value
109
114
  ]);
110
115
  options = (0, react_1.useMemo)(function () {
@@ -5,6 +5,7 @@ var getAllOptionsFns_1 = require("./getAllOptionsFns");
5
5
  var generateOptions = function (_a) {
6
6
  var _b;
7
7
  var options = _a.options, optionsFn = _a.optionsFn, theme = _a.theme /*injectOtherOption*/;
8
+ console.log('rerun generate options');
8
9
  switch (true) {
9
10
  case !!options:
10
11
  return options;
package/dist/index.d.ts CHANGED
@@ -79,6 +79,7 @@ export { CheckboxInput } from "./v2/components/RadioAndCheckbox/comps/CheckboxLi
79
79
  export { CheckboxButton } from "./v2/components/RadioAndCheckbox/comps/CheckboxList/comps/CheckboxButton";
80
80
  export { RadioList } from "./v2/components/RadioAndCheckbox/comps/RadioList/index";
81
81
  export { SwitchSingle } from "./v2/components/Switches";
82
+ export { default as CustomTooltip } from "./v2/components/dataviz/BarChart/comps/CustomTooltip";
82
83
  export * as baseStyling from "./v2/themes/utils/baseStyling";
83
84
  export { LoaderCircle, ProgressBar, LoaderCircle as Loader, LoaderOverlay } from "./components/LoadersAndProgress";
84
85
  export { TagClear, TagLink, TagSelect, TagDisplay } from "./components/Tags";
package/dist/index.js CHANGED
@@ -255,5 +255,5 @@ Object.defineProperty(exports, "RadioButton", { enumerable: true, get: function
255
255
  var Switches_2 = require("./v2/components/Switches");
256
256
  Object.defineProperty(exports, "SwitchSingle", { enumerable: true, get: function () { return Switches_2.SwitchSingle; } });
257
257
  var CustomTooltip_1 = require("./v2/components/dataviz/BarChart/comps/CustomTooltip");
258
- Object.defineProperty(exports, "CustomTooltip", { enumerable: true, get: function () { return CustomTooltip_1.CustomTooltip; } });
258
+ Object.defineProperty(exports, "CustomTooltip", { enumerable: true, get: function () { return __importDefault(CustomTooltip_1).default; } });
259
259
  exports.baseStyling = __importStar(require("./v2/themes/utils/baseStyling"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.190.2",
3
+ "version": "2.190.4",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",