ooxml-ui 1.34.0 → 1.35.0
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/{chunk-6TS7ASDJ.js → chunk-C4KI635Q.js} +2 -17
- package/dist/chunk-D5IRYZLP.js +19 -0
- package/dist/{chunk-CALEXPBD.js → chunk-GZNBWWJ5.js} +840 -51
- package/dist/{chunk-SWDVBUBW.js → chunk-TGG36HHF.js} +2 -2
- package/dist/docx/print-picture.d.ts +4 -0
- package/dist/docx.js +46 -7
- package/dist/fonts/catalog.d.ts +0 -1
- package/dist/image-native-size.d.ts +43 -0
- package/dist/image-native-size.d.ts.map +1 -0
- package/dist/index.js +3 -3
- package/dist/picture-artistic-filters.d.ts +9 -0
- package/dist/picture-artistic-filters.d.ts.map +1 -0
- package/dist/picture-artistic-preview.d.ts +3 -0
- package/dist/picture-artistic-preview.d.ts.map +1 -0
- package/dist/picture-effects.d.ts +3 -1
- package/dist/picture-effects.d.ts.map +1 -0
- package/dist/picture-paint.d.ts +23 -0
- package/dist/picture-paint.d.ts.map +1 -0
- package/dist/picture-pixels.d.ts +11 -0
- package/dist/picture-pixels.d.ts.map +1 -0
- package/dist/picture-standard-filter.d.ts +6 -0
- package/dist/picture-standard-filter.d.ts.map +1 -0
- package/dist/picture-view.d.ts +10 -0
- package/dist/picture-view.d.ts.map +1 -0
- package/dist/pptx/{chart-3d-view-scene-HNL4NWJT.mjs → chart-3d-view-scene-BKNMGRGO.mjs} +3 -25
- package/dist/pptx/{chart-3d-view-scene-OPVBTZL5.cjs → chart-3d-view-scene-V55XPBBF.cjs} +39 -61
- package/dist/pptx/{chunk-7DT3UJQB.mjs → chunk-5EERUTDC.mjs} +7 -3
- package/dist/pptx/{chunk-S3L5NNCK.cjs → chunk-FROIGMTI.cjs} +1 -1
- package/dist/pptx/{chunk-ZS5EVODY.cjs → chunk-GKQULDFF.cjs} +52 -48
- package/dist/pptx/{chunk-CH4Z6H6C.mjs → chunk-GPQP2R5Y.mjs} +1017 -371
- package/dist/pptx/{chunk-S5I64Y55.cjs → chunk-HIRBPTML.cjs} +12 -12
- package/dist/pptx/{chunk-D4LJJ7Z7.cjs → chunk-KJICUZXM.cjs} +171 -540
- package/dist/pptx/{chunk-TDIJHLS5.cjs → chunk-NPYNJOK2.cjs} +1351 -699
- package/dist/pptx/{chunk-RZVEPTLN.mjs → chunk-QK6LJT3K.mjs} +140 -529
- package/dist/pptx/{chunk-LCCRLB7Q.mjs → chunk-UHDWWRTX.mjs} +1 -1
- package/dist/pptx/{chunk-SPOECCPV.mjs → chunk-WZHYA2B3.mjs} +1 -1
- package/dist/pptx/dom/elements/smartart.d.ts.map +1 -1
- package/dist/pptx/dom/index.cjs +424 -424
- package/dist/pptx/dom/index.mjs +8 -8
- package/dist/pptx/export/html2canvas-clone.cjs +6 -6
- package/dist/pptx/export/html2canvas-clone.mjs +1 -1
- package/dist/pptx/index.cjs +3356 -3352
- package/dist/pptx/index.mjs +4 -4
- package/dist/pptx/render/chart-3d-projection.d.ts +5 -54
- package/dist/pptx/render/chart-3d-projection.d.ts.map +1 -1
- package/dist/pptx/render/chart-3d-shading.d.ts +7 -10
- package/dist/pptx/render/chart-3d-shading.d.ts.map +1 -1
- package/dist/pptx/render/chart-combo-stock.cjs +3 -3
- package/dist/pptx/render/chart-combo-stock.mjs +1 -1
- package/dist/pptx/render/chart-funnel-sunburst.d.ts +1 -1
- package/dist/pptx/render/chart-funnel-sunburst.d.ts.map +1 -1
- package/dist/pptx/render/chart-map-projection.d.ts +2 -37
- package/dist/pptx/render/chart-map-projection.d.ts.map +1 -1
- package/dist/pptx/render/chart-overlays.cjs +7 -7
- package/dist/pptx/render/chart-overlays.mjs +1 -1
- package/dist/pptx/render/chart-region-map-alias.d.ts +1 -11
- package/dist/pptx/render/chart-region-map-alias.d.ts.map +1 -1
- package/dist/pptx/render/chart-region-map-colors.d.ts +1 -3
- package/dist/pptx/render/chart-region-map-colors.d.ts.map +1 -1
- package/dist/pptx/render/chart-region-map-data.d.ts +2 -44
- package/dist/pptx/render/chart-region-map-data.d.ts.map +1 -1
- package/dist/pptx/render/chart-region-map-view.d.ts.map +1 -1
- package/dist/pptx/render/chart-surface-treemap.cjs +4 -4
- package/dist/pptx/render/chart-surface-treemap.mjs +1 -1
- package/dist/pptx/render/chart-view-model-types.d.ts +2 -0
- package/dist/pptx/render/chart-view-model-types.d.ts.map +1 -1
- package/dist/pptx/render/chart-view-model.cjs +44 -44
- package/dist/pptx/render/chart-view-model.mjs +1 -1
- package/dist/pptx/render/chart-waterfall-map.cjs +6 -6
- package/dist/pptx/render/chart-waterfall-map.mjs +1 -1
- package/dist/pptx/render/editor-key-target.d.ts.map +1 -1
- package/dist/pptx/render/image-effect-filter-values.d.ts +1 -10
- package/dist/pptx/render/image-effect-filter-values.d.ts.map +1 -1
- package/dist/pptx/render/image-effects.d.ts +1 -0
- package/dist/pptx/render/image-effects.d.ts.map +1 -1
- package/dist/pptx/render/image-native-size.d.ts +1 -42
- package/dist/pptx/render/image-native-size.d.ts.map +1 -1
- package/dist/pptx/render/image-tiling.d.ts.map +1 -1
- package/dist/pptx/render/index.d.ts +1 -1
- package/dist/pptx/render/index.d.ts.map +1 -1
- package/dist/pptx/render/render-cache.d.ts +1 -3
- package/dist/pptx/render/render-cache.d.ts.map +1 -1
- package/dist/pptx/render/smartart-drawing.d.ts +3 -0
- package/dist/pptx/render/smartart-drawing.d.ts.map +1 -1
- package/dist/pptx/render/smartart-picture-image.d.ts +9 -0
- package/dist/pptx/render/smartart-picture-image.d.ts.map +1 -0
- package/dist/pptx/render/smartart-reflow-to-shapes.d.ts.map +1 -1
- package/dist/pptx/{smartart-insert-preview-RQUFRLSV.mjs → smartart-insert-preview-6BITTUI4.mjs} +5 -5
- package/dist/pptx/{smartart-insert-preview-YKNB37GE.cjs → smartart-insert-preview-BUOS5XQR.cjs} +6 -6
- package/dist/render-cache.d.ts +4 -0
- package/dist/render-cache.d.ts.map +1 -0
- package/dist/smartart/smartart-paint.d.ts +2 -1
- package/dist/smartart/smartart-picture.d.ts +4 -3
- package/dist/smartart.d.ts +3 -0
- package/dist/smartart.js +1 -1
- package/dist/teams.js +1 -1
- package/dist/theme-bridge.d.ts +0 -1
- package/dist/visio/viewer-chart-editor.d.ts +2 -1
- package/dist/visio.js +43 -11
- package/dist/xlsx/dialogs/custom-autofilter.d.ts +12 -0
- package/dist/xlsx/dialogs/filter-dates.d.ts +4 -0
- package/dist/xlsx/dialogs/help-dialogs.d.ts +2 -2
- package/dist/xlsx/dialogs/text-to-columns.d.ts +0 -7
- package/dist/xlsx/dialogs/top10-filter.d.ts +5 -0
- package/dist/xlsx/grid/filter-buttons.d.ts +11 -0
- package/dist/xlsx/grid/filter-menu.d.ts +10 -0
- package/dist/xlsx/grid/filter-presets.d.ts +19 -0
- package/dist/xlsx/grid/styles.d.ts +1 -1
- package/dist/xlsx.js +874 -168
- package/package.json +2 -2
- /package/dist/{chunk-3AOIYE3R.js → chunk-FFM3WVLU.js} +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { chartSpaceFormatSource } from './chunk-KYXSQFDB.js';
|
|
2
1
|
import { OfficeElement, controlStyles, flag, emit, definer } from './chunk-QLHCGV4C.js';
|
|
3
2
|
import { html, nothing } from 'lit';
|
|
4
3
|
import { live } from 'lit/directives/live.js';
|
|
5
|
-
import { chartExSpaceDataSheet, CHART_EX_LAYOUTS
|
|
4
|
+
import { chartExSpaceDataSheet, CHART_EX_LAYOUTS } from 'ooxml-core/chart';
|
|
6
5
|
import { normalizeLocale } from 'ooxml-core/i18n';
|
|
7
6
|
|
|
8
7
|
var en = [
|
|
@@ -444,19 +443,5 @@ function compactPageText(text) {
|
|
|
444
443
|
const numbers = text.match(/\d+/g);
|
|
445
444
|
return numbers && numbers.length === 2 ? numbers.join("/") : text;
|
|
446
445
|
}
|
|
447
|
-
function chartExSpaceFormatSource(space, theme) {
|
|
448
|
-
const source = chartSpaceFormatSource(chartExStyleSpace(space), {
|
|
449
|
-
...theme ? { theme } : {},
|
|
450
|
-
advanced: true
|
|
451
|
-
});
|
|
452
|
-
const { axisOptions: _axes, seriesOptions: _series, ...common } = source;
|
|
453
|
-
return {
|
|
454
|
-
...common,
|
|
455
|
-
element(target) {
|
|
456
|
-
const view = source.element(target);
|
|
457
|
-
return { ...view, support: { ...view.support, secondaryAxis: false } };
|
|
458
|
-
}
|
|
459
|
-
};
|
|
460
|
-
}
|
|
461
446
|
|
|
462
|
-
export {
|
|
447
|
+
export { compactPageText, defineChartExOptions, statusLayout, watchStatusWidth };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { chartSpaceFormatSource } from './chunk-KYXSQFDB.js';
|
|
2
|
+
import { chartExStyleSpace } from 'ooxml-core/chart';
|
|
3
|
+
|
|
4
|
+
function chartExSpaceFormatSource(space, theme) {
|
|
5
|
+
const source = chartSpaceFormatSource(chartExStyleSpace(space), {
|
|
6
|
+
...theme ? { theme } : {},
|
|
7
|
+
advanced: true
|
|
8
|
+
});
|
|
9
|
+
const { axisOptions: _axes, seriesOptions: _series, ...common } = source;
|
|
10
|
+
return {
|
|
11
|
+
...common,
|
|
12
|
+
element(target) {
|
|
13
|
+
const view = source.element(target);
|
|
14
|
+
return { ...view, support: { ...view.support, secondaryAxis: false } };
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { chartExSpaceFormatSource };
|