@reviewpush/rp-treeselect 0.0.10 → 0.0.12

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.
@@ -1702,7 +1702,6 @@ function stringifyValue(value) {
1702
1702
  render: function render() {
1703
1703
  var _this = this;
1704
1704
  var h = arguments[0];
1705
- console.log(this);
1706
1705
  if (!this.instance.name || this.instance.disabled || !this.instance.hasValue) return null;
1707
1706
  var stringifiedValues = this.instance.internalValue.map(stringifyValue);
1708
1707
  if (this.instance.multiple && this.instance.joinValues) stringifiedValues = [stringifiedValues.join(this.instance.delimiter)];
@@ -3429,11 +3428,13 @@ var placeholder;
3429
3428
  methods: {
3430
3429
  setup: function setup() {
3431
3430
  var el = document.createElement('div');
3431
+ el.setAttribute('id', "menu-target-".concat(this._uid));
3432
3432
  document.body.appendChild(el);
3433
- this.portalTarget = Object(external_Vue_["createApp"])(_objectSpread({
3434
- el: el,
3433
+ var targetApp = _objectSpread({
3435
3434
  parent: this
3436
- }, PortalTarget));
3435
+ }, PortalTarget);
3436
+ this.portalTarget = Object(external_Vue_["createApp"])(targetApp);
3437
+ this.portalTarget.mount("#menu-target-".concat(this._uid));
3437
3438
  },
3438
3439
  teardown: function teardown() {
3439
3440
  document.body.removeChild(this.portalTarget.$el);
@@ -4872,7 +4873,7 @@ var style = __webpack_require__(41);
4872
4873
  /* harmony default export */ var src = __webpack_exports__["default"] = (Treeselect);
4873
4874
 
4874
4875
 
4875
- var VERSION = "0.0.9";
4876
+ var VERSION = "0.0.12";
4876
4877
 
4877
4878
  /***/ })
4878
4879
  /******/ ]);