@gct-paas/word 0.1.30 → 0.1.31

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/index.es.js CHANGED
@@ -61886,7 +61886,7 @@ const _hoisted_7$b = { style: { "padding": "0 12px" } };
61886
61886
  const _sfc_main$21 = /* @__PURE__ */ defineComponent({
61887
61887
  __name: "doc-design-layout",
61888
61888
  props: {
61889
- IOTPermission: { type: Boolean, default: true }
61889
+ IOTPermission: { type: Boolean, default: false }
61890
61890
  },
61891
61891
  setup(__props, { expose: __expose }) {
61892
61892
  const props = __props;
@@ -61920,10 +61920,6 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
61920
61920
  const onImportTemplate = () => {
61921
61921
  handleUploadFile();
61922
61922
  };
61923
- const onImportData = (mainData) => {
61924
- const data = mainData2WordData(mainData);
61925
- docInst.value?.dataManager.patch(data);
61926
- };
61927
61923
  onFileUpload(async (files) => {
61928
61924
  const file = files?.[0];
61929
61925
  if (!file) return;
@@ -61948,8 +61944,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
61948
61944
  }
61949
61945
  );
61950
61946
  __expose({
61951
- onImportTemplate,
61952
- onImportData
61947
+ onImportTemplate
61953
61948
  });
61954
61949
  return (_ctx, _cache) => {
61955
61950
  return openBlock(), createBlock(unref(GctLayout), {
@@ -62005,7 +62000,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
62005
62000
  };
62006
62001
  }
62007
62002
  });
62008
- const docDesignLayout = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["__scopeId", "data-v-041003c9"]]);
62003
+ const docDesignLayout = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["__scopeId", "data-v-744401de"]]);
62009
62004
  function convertPxToPaperSize(pageSize, customSize) {
62010
62005
  if (pageSize === PageSizeEnumConst.A3) {
62011
62006
  return {
@@ -1,7 +1,6 @@
1
1
  import { DocDesignLayoutProps } from './doc-design-layout';
2
2
  declare const _default: import('vue').DefineComponent<DocDesignLayoutProps, {
3
3
  onImportTemplate: () => void;
4
- onImportData: (mainData: any) => void;
5
4
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DocDesignLayoutProps> & Readonly<{}>, {
6
5
  IOTPermission: boolean;
7
6
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
package/dist/word.css CHANGED
@@ -9140,40 +9140,40 @@ ul li .widget-icon[data-v-1e28101c] {
9140
9140
  position: relative;
9141
9141
  background-color: #f0f0f0;
9142
9142
  }
9143
- .doc-design-layout[data-v-041003c9] {
9143
+ .doc-design-layout[data-v-744401de] {
9144
9144
  display: flex;
9145
9145
  flex-direction: column;
9146
9146
  width: 100%;
9147
9147
  height: 100%;
9148
9148
  }
9149
- .doc-design-layout.preview[data-v-041003c9] {
9149
+ .doc-design-layout.preview[data-v-744401de] {
9150
9150
  pointer-events: none;
9151
9151
  }
9152
- .doc-design-layout .design-body[data-v-041003c9] {
9152
+ .doc-design-layout .design-body[data-v-744401de] {
9153
9153
  flex: 1;
9154
9154
  display: flex;
9155
9155
  min-height: 0;
9156
9156
  }
9157
- .doc-design-layout .design-body .design-sidebar[data-v-041003c9] {
9157
+ .doc-design-layout .design-body .design-sidebar[data-v-744401de] {
9158
9158
  position: relative;
9159
9159
  overflow: hidden;
9160
9160
  background: #fff;
9161
9161
  flex-shrink: 0;
9162
9162
  }
9163
- .doc-design-layout .design-body .design-sidebar.left[data-v-041003c9] {
9163
+ .doc-design-layout .design-body .design-sidebar.left[data-v-744401de] {
9164
9164
  border-right: 1px solid #e0e0e0;
9165
9165
  }
9166
- .doc-design-layout .design-body .design-sidebar.right[data-v-041003c9] {
9166
+ .doc-design-layout .design-body .design-sidebar.right[data-v-744401de] {
9167
9167
  border-left: 1px solid #e0e0e0;
9168
9168
  }
9169
- .doc-design-layout .design-body .design-sidebar .right-container[data-v-041003c9] {
9169
+ .doc-design-layout .design-body .design-sidebar .right-container[data-v-744401de] {
9170
9170
  position: relative;
9171
9171
  display: flex;
9172
9172
  width: 100%;
9173
9173
  height: 100%;
9174
9174
  overflow: hidden;
9175
9175
  }
9176
- .doc-design-layout .design-body .design-sidebar .right-container .divider[data-v-041003c9] {
9176
+ .doc-design-layout .design-body .design-sidebar .right-container .divider[data-v-744401de] {
9177
9177
  position: absolute;
9178
9178
  left: 0;
9179
9179
  top: 0;
@@ -9184,13 +9184,13 @@ ul li .widget-icon[data-v-1e28101c] {
9184
9184
  left: 46px;
9185
9185
  transform: translateX(-50%);
9186
9186
  }
9187
- .doc-design-layout .design-body .design-main[data-v-041003c9] {
9187
+ .doc-design-layout .design-body .design-main[data-v-744401de] {
9188
9188
  position: relative;
9189
9189
  flex: 1;
9190
9190
  min-height: 0;
9191
9191
  overflow: hidden;
9192
9192
  }
9193
- .doc-design-layout .design-body .design-main .empty-container[data-v-041003c9] {
9193
+ .doc-design-layout .design-body .design-main .empty-container[data-v-744401de] {
9194
9194
  position: absolute;
9195
9195
  top: 0;
9196
9196
  left: 50%;
@@ -9204,7 +9204,7 @@ ul li .widget-icon[data-v-1e28101c] {
9204
9204
  pointer-events: all;
9205
9205
  transform: translateX(-50%);
9206
9206
  }
9207
- .doc-design-layout .design-footer[data-v-041003c9] {
9207
+ .doc-design-layout .design-footer[data-v-744401de] {
9208
9208
  flex-shrink: 0;
9209
9209
  display: flex;
9210
9210
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/word",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "GCT 在线 word",
5
5
  "keywords": [
6
6
  "vue",