vg-print 1.0.211 → 1.0.212

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.
@@ -66303,8 +66303,8 @@ table.hiprint-printElement-tableTarget {
66303
66303
  }]);
66304
66304
  });
66305
66305
  })(vuePluginHiprint);
66306
- var vuePluginHiprintExports = vuePluginHiprint.exports;
66307
- const cn = {
66306
+ var vuePluginHiprintExports = vuePluginHiprint.exports, jqueryExports = requireJquery();
66307
+ const $$1 = /* @__PURE__ */ getDefaultExportFromCjs(jqueryExports), cn = {
66308
66308
  请选择字段: "请选择字段",
66309
66309
  计数: "计数",
66310
66310
  合计: "合计",
@@ -68640,8 +68640,6 @@ const cn = {
68640
68640
  __proto__: null,
68641
68641
  default: ru$1
68642
68642
  }, Symbol.toStringTag, { value: "Module" }));
68643
- var jqueryExports = requireJquery();
68644
- const $$1 = /* @__PURE__ */ getDefaultExportFromCjs(jqueryExports);
68645
68643
  var jquery_minicolors_min = { exports: {} };
68646
68644
  (function(Ee, Me) {
68647
68645
  (function(Ce) {
@@ -83400,7 +83398,7 @@ ${i18n$1.__("转大小写")}
83400
83398
  }
83401
83399
  };
83402
83400
  })();
83403
- const version = "1.0.211";
83401
+ const version = "1.0.212";
83404
83402
  let autoConnect = function(Ee) {
83405
83403
  console.log("autoConnect"), window.autoConnect = !0, window.hiwebSocket && window.hiwebSocket.hasIo() && window.hiwebSocket.start(Ee);
83406
83404
  }, disAutoConnect = function() {
@@ -90667,7 +90665,7 @@ const i18n = createI18n({
90667
90665
  return {
90668
90666
  addElementTypes: Me
90669
90667
  };
90670
- }, defaultProvider = aProvider(), _export_sfc = (Ee, Me) => {
90668
+ }, providerDefault = aProvider(), _export_sfc = (Ee, Me) => {
90671
90669
  const Ce = Ee.__vccOpts || Ee;
90672
90670
  for (const [Be, Pe] of Me)
90673
90671
  Ce[Be] = Pe;
@@ -90684,7 +90682,7 @@ const i18n = createI18n({
90684
90682
  config: { type: Object, default: () => ({}) },
90685
90683
  plugins: { type: Array, default: () => [] },
90686
90684
  authKey: { type: String, default: "" },
90687
- provider: { type: Object, default: () => defaultProvider },
90685
+ provider: { type: Object, default: () => providerDefault },
90688
90686
  providerModuleKey: { type: String, default: "taskProviderModule" }
90689
90687
  },
90690
90688
  emits: ["ready"],
@@ -90693,10 +90691,14 @@ const i18n = createI18n({
90693
90691
  },
90694
90692
  mounted() {
90695
90693
  try {
90696
- this.config && Object.keys(this.config).length && vuePluginHiprintExports.hiprint.setConfig(this.config), Array.isArray(this.plugins) && this.plugins.length && vuePluginHiprintExports.hiprint.register({ authKey: this.authKey || "", plugins: this.plugins }), vuePluginHiprintExports.hiprint.init({ providers: [this.provider || new vuePluginHiprintExports.defaultElementTypeProvider()] });
90694
+ this.config && Object.keys(this.config).length && vuePluginHiprintExports.hiprint.setConfig(this.config), Array.isArray(this.plugins) && this.plugins.length && vuePluginHiprintExports.hiprint.register({ authKey: this.authKey || "", plugins: this.plugins }), vuePluginHiprintExports.hiprint.init({ providers: [this.provider] });
90697
90695
  try {
90698
90696
  const Me = ".hiprintEpContainer";
90699
- window.$ && window.$(Me).empty(), vuePluginHiprintExports.hiprint.PrintElementTypeManager.build(Me, this.providerModuleKey);
90697
+ try {
90698
+ $$1(Me).empty();
90699
+ } catch {
90700
+ }
90701
+ vuePluginHiprintExports.hiprint.PrintElementTypeManager.build(Me, this.providerModuleKey);
90700
90702
  } catch {
90701
90703
  }
90702
90704
  const Ee = new vuePluginHiprintExports.hiprint.PrintTemplate({ template: this.getInitialTemplate() });
@@ -90765,7 +90767,7 @@ function _sfc_render$4(Ee, Me, Ce, Be, Pe, Te) {
90765
90767
  ])
90766
90768
  ]);
90767
90769
  }
90768
- const Designer = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-1ffb08ac"]]), _sfc_main$3 = {
90770
+ const Designer = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-59a1a130"]]), _sfc_main$3 = {
90769
90771
  name: "Header",
90770
90772
  props: {
90771
90773
  logoHtml: { type: String, default: '<i class="svp-header-logo svicon sv-print"></i>' },