@ntlab/ntjs-assets 2.18.0 → 2.20.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/assets/js/DataTables/DataTables/js/dataTables.js +45 -35
- package/assets/js/DataTables/DataTables/js/dataTables.min.js +2 -2
- package/assets/js/DataTables/Extensions/Buttons/css/buttons.bootstrap5.css +73 -73
- package/assets/js/DataTables/Extensions/Buttons/css/buttons.bootstrap5.min.css +1 -1
- package/assets/js/DataTables/Extensions/Buttons/css/buttons.dataTables.css +4 -5
- package/assets/js/DataTables/Extensions/Buttons/css/buttons.dataTables.min.css +1 -1
- package/assets/js/DataTables/Extensions/Buttons/js/dataTables.buttons.js +8 -3
- package/assets/js/DataTables/Extensions/Buttons/js/dataTables.buttons.min.js +2 -2
- package/assets/js/cdn.json +3 -3
- package/assets/js/tinymce/CHANGELOG.md +7 -0
- package/assets/js/tinymce/models/dom/model.js +72 -12
- package/assets/js/tinymce/models/dom/model.min.js +2 -2
- package/assets/js/tinymce/plugins/accordion/plugin.js +1 -1
- package/assets/js/tinymce/plugins/accordion/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/advlist/plugin.js +1 -1
- package/assets/js/tinymce/plugins/advlist/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/anchor/plugin.js +1 -1
- package/assets/js/tinymce/plugins/anchor/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/autolink/plugin.js +1 -1
- package/assets/js/tinymce/plugins/autolink/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/autoresize/plugin.js +1 -1
- package/assets/js/tinymce/plugins/autoresize/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/autosave/plugin.js +1 -1
- package/assets/js/tinymce/plugins/autosave/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/charmap/plugin.js +1 -1
- package/assets/js/tinymce/plugins/charmap/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/code/plugin.js +1 -1
- package/assets/js/tinymce/plugins/code/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/codesample/plugin.js +1 -1
- package/assets/js/tinymce/plugins/codesample/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/directionality/plugin.js +1 -1
- package/assets/js/tinymce/plugins/directionality/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/emoticons/plugin.js +1 -1
- package/assets/js/tinymce/plugins/emoticons/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/fullscreen/plugin.js +1 -1
- package/assets/js/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/help/plugin.js +1 -1
- package/assets/js/tinymce/plugins/help/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/image/plugin.js +1 -1
- package/assets/js/tinymce/plugins/image/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/importcss/plugin.js +1 -1
- package/assets/js/tinymce/plugins/importcss/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/insertdatetime/plugin.js +1 -1
- package/assets/js/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/link/plugin.js +1 -1
- package/assets/js/tinymce/plugins/link/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/lists/plugin.js +1 -1
- package/assets/js/tinymce/plugins/lists/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/media/plugin.js +1 -1
- package/assets/js/tinymce/plugins/media/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/nonbreaking/plugin.js +1 -1
- package/assets/js/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/pagebreak/plugin.js +1 -1
- package/assets/js/tinymce/plugins/pagebreak/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/preview/plugin.js +1 -1
- package/assets/js/tinymce/plugins/preview/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/quickbars/plugin.js +1 -1
- package/assets/js/tinymce/plugins/quickbars/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/save/plugin.js +1 -1
- package/assets/js/tinymce/plugins/save/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/searchreplace/plugin.js +1 -1
- package/assets/js/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/table/plugin.js +1 -1
- package/assets/js/tinymce/plugins/table/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/visualblocks/plugin.js +1 -1
- package/assets/js/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/visualchars/plugin.js +1 -1
- package/assets/js/tinymce/plugins/visualchars/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/wordcount/plugin.js +1 -1
- package/assets/js/tinymce/plugins/wordcount/plugin.min.js +1 -1
- package/assets/js/tinymce/themes/silver/theme.js +10 -5
- package/assets/js/tinymce/themes/silver/theme.min.js +2 -2
- package/assets/js/tinymce/tinymce.js +11 -4
- package/assets/js/tinymce/tinymce.min.js +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* TinyMCE version 7.6.
|
|
2
|
+
* TinyMCE version 7.6.1 (2025-01-22)
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
(function () {
|
|
@@ -1512,7 +1512,7 @@
|
|
|
1512
1512
|
});
|
|
1513
1513
|
return columnsGroup;
|
|
1514
1514
|
};
|
|
1515
|
-
const generate$
|
|
1515
|
+
const generate$2 = list => {
|
|
1516
1516
|
const access = {};
|
|
1517
1517
|
const cells = [];
|
|
1518
1518
|
const tableOpt = head(list).map(rowData => rowData.element).bind(table);
|
|
@@ -1570,7 +1570,7 @@
|
|
|
1570
1570
|
};
|
|
1571
1571
|
const fromTable = table => {
|
|
1572
1572
|
const list = fromTable$1(table);
|
|
1573
|
-
return generate$
|
|
1573
|
+
return generate$2(list);
|
|
1574
1574
|
};
|
|
1575
1575
|
const justCells = warehouse => bind$2(warehouse.all, w => w.cells);
|
|
1576
1576
|
const justColumns = warehouse => values(warehouse.columns);
|
|
@@ -1578,7 +1578,7 @@
|
|
|
1578
1578
|
const getColumnAt = (warehouse, columnIndex) => Optional.from(warehouse.columns[columnIndex]);
|
|
1579
1579
|
const Warehouse = {
|
|
1580
1580
|
fromTable,
|
|
1581
|
-
generate: generate$
|
|
1581
|
+
generate: generate$2,
|
|
1582
1582
|
getAt,
|
|
1583
1583
|
findItem,
|
|
1584
1584
|
filterItems,
|
|
@@ -2499,6 +2499,26 @@
|
|
|
2499
2499
|
return options.isSet('table_default_styles') ? defaultStyles : determineDefaultTableStyles(editor, defaultStyles);
|
|
2500
2500
|
};
|
|
2501
2501
|
const tableUseColumnGroup = option('table_use_colgroups');
|
|
2502
|
+
const fixedContainerSelector = option('fixed_toolbar_container');
|
|
2503
|
+
const fixedToolbarContainerTarget = option('fixed_toolbar_container_target');
|
|
2504
|
+
const fixedContainerTarget = editor => {
|
|
2505
|
+
var _a;
|
|
2506
|
+
if (!editor.inline) {
|
|
2507
|
+
return Optional.none();
|
|
2508
|
+
}
|
|
2509
|
+
const selector = (_a = fixedContainerSelector(editor)) !== null && _a !== void 0 ? _a : '';
|
|
2510
|
+
if (selector.length > 0) {
|
|
2511
|
+
return descendant(body$1(), selector);
|
|
2512
|
+
}
|
|
2513
|
+
const element = fixedToolbarContainerTarget(editor);
|
|
2514
|
+
if (isNonNullable(element)) {
|
|
2515
|
+
return Optional.some(SugarElement.fromDom(element));
|
|
2516
|
+
}
|
|
2517
|
+
return Optional.none();
|
|
2518
|
+
};
|
|
2519
|
+
const useFixedContainer = editor => editor.inline && fixedContainerTarget(editor).isSome();
|
|
2520
|
+
const getUiMode = option('ui_mode');
|
|
2521
|
+
const isSplitUiMode = editor => !useFixedContainer(editor) && getUiMode(editor) === 'split';
|
|
2502
2522
|
|
|
2503
2523
|
const closest = target => closest$1(target, '[contenteditable]');
|
|
2504
2524
|
const isEditable$1 = (element, assumeEditable = false) => {
|
|
@@ -4043,7 +4063,7 @@
|
|
|
4043
4063
|
return replaceIn(grid, targetCells, comparator, substitution, replace, Optional.none, always);
|
|
4044
4064
|
};
|
|
4045
4065
|
|
|
4046
|
-
const generate = cases => {
|
|
4066
|
+
const generate$1 = cases => {
|
|
4047
4067
|
if (!isArray(cases)) {
|
|
4048
4068
|
throw new Error('cases must be an array');
|
|
4049
4069
|
}
|
|
@@ -4106,7 +4126,7 @@
|
|
|
4106
4126
|
});
|
|
4107
4127
|
return adt;
|
|
4108
4128
|
};
|
|
4109
|
-
const Adt = { generate };
|
|
4129
|
+
const Adt = { generate: generate$1 };
|
|
4110
4130
|
|
|
4111
4131
|
const adt$6 = Adt.generate([
|
|
4112
4132
|
{ none: [] },
|
|
@@ -7729,7 +7749,7 @@
|
|
|
7729
7749
|
set$2(target, 'data-initial-' + dir, getCssValue(target, dir));
|
|
7730
7750
|
add(target, resizeBarDragging);
|
|
7731
7751
|
set$1(target, 'opacity', '0.2');
|
|
7732
|
-
resizing.go(wire.
|
|
7752
|
+
resizing.go(wire.dragContainer());
|
|
7733
7753
|
};
|
|
7734
7754
|
const mousedown = bind(wire.parent(), 'mousedown', event => {
|
|
7735
7755
|
if (isRowBar(event.target)) {
|
|
@@ -7833,11 +7853,23 @@
|
|
|
7833
7853
|
};
|
|
7834
7854
|
const TableResize = { create };
|
|
7835
7855
|
|
|
7856
|
+
const random = () => window.crypto.getRandomValues(new Uint32Array(1))[0] / 4294967295;
|
|
7857
|
+
|
|
7858
|
+
let unique = 0;
|
|
7859
|
+
const generate = prefix => {
|
|
7860
|
+
const date = new Date();
|
|
7861
|
+
const time = date.getTime();
|
|
7862
|
+
const random$1 = Math.floor(random() * 1000000000);
|
|
7863
|
+
unique++;
|
|
7864
|
+
return prefix + '_' + random$1 + unique + String(time);
|
|
7865
|
+
};
|
|
7866
|
+
|
|
7836
7867
|
const only = (element, isResizable) => {
|
|
7837
7868
|
const parent = isDocument(element) ? documentElement(element) : element;
|
|
7838
7869
|
return {
|
|
7839
7870
|
parent: constant(parent),
|
|
7840
7871
|
view: constant(element),
|
|
7872
|
+
dragContainer: constant(parent),
|
|
7841
7873
|
origin: constant(SugarPosition(0, 0)),
|
|
7842
7874
|
isResizable
|
|
7843
7875
|
};
|
|
@@ -7847,6 +7879,7 @@
|
|
|
7847
7879
|
return {
|
|
7848
7880
|
parent: constant(chrome),
|
|
7849
7881
|
view: constant(editable),
|
|
7882
|
+
dragContainer: constant(chrome),
|
|
7850
7883
|
origin,
|
|
7851
7884
|
isResizable
|
|
7852
7885
|
};
|
|
@@ -7855,31 +7888,58 @@
|
|
|
7855
7888
|
return {
|
|
7856
7889
|
parent: constant(chrome),
|
|
7857
7890
|
view: constant(editable),
|
|
7891
|
+
dragContainer: constant(chrome),
|
|
7858
7892
|
origin: constant(SugarPosition(0, 0)),
|
|
7859
7893
|
isResizable
|
|
7860
7894
|
};
|
|
7861
7895
|
};
|
|
7896
|
+
const scrollable = (editable, chrome, dragContainer, isResizable) => {
|
|
7897
|
+
return {
|
|
7898
|
+
parent: constant(chrome),
|
|
7899
|
+
view: constant(editable),
|
|
7900
|
+
dragContainer: constant(dragContainer),
|
|
7901
|
+
origin: () => absolute(chrome),
|
|
7902
|
+
isResizable
|
|
7903
|
+
};
|
|
7904
|
+
};
|
|
7862
7905
|
const ResizeWire = {
|
|
7863
7906
|
only,
|
|
7864
7907
|
detached,
|
|
7865
|
-
body
|
|
7908
|
+
body,
|
|
7909
|
+
scrollable
|
|
7866
7910
|
};
|
|
7867
7911
|
|
|
7868
|
-
const createContainer =
|
|
7912
|
+
const createContainer = position => {
|
|
7913
|
+
const id = generate('resizer-container');
|
|
7869
7914
|
const container = SugarElement.fromTag('div');
|
|
7915
|
+
set$2(container, 'id', id);
|
|
7870
7916
|
setAll(container, {
|
|
7871
|
-
position
|
|
7917
|
+
position,
|
|
7872
7918
|
height: '0',
|
|
7873
7919
|
width: '0',
|
|
7874
7920
|
padding: '0',
|
|
7875
7921
|
margin: '0',
|
|
7876
7922
|
border: '0'
|
|
7877
7923
|
});
|
|
7878
|
-
append$1(body$1(), container);
|
|
7879
7924
|
return container;
|
|
7880
7925
|
};
|
|
7926
|
+
const getInlineResizeWire = (editor, isResizable) => {
|
|
7927
|
+
const isSplitUiMode$1 = isSplitUiMode(editor);
|
|
7928
|
+
const editorBody = SugarElement.fromDom(editor.getBody());
|
|
7929
|
+
const container = createContainer(isSplitUiMode$1 ? 'relative' : 'static');
|
|
7930
|
+
const body = body$1();
|
|
7931
|
+
if (isSplitUiMode$1) {
|
|
7932
|
+
after$5(editorBody, container);
|
|
7933
|
+
return ResizeWire.scrollable(editorBody, container, body, isResizable);
|
|
7934
|
+
}
|
|
7935
|
+
append$1(body, container);
|
|
7936
|
+
return ResizeWire.body(editorBody, container, isResizable);
|
|
7937
|
+
};
|
|
7881
7938
|
const get = (editor, isResizable) => {
|
|
7882
|
-
|
|
7939
|
+
if (editor.inline) {
|
|
7940
|
+
return getInlineResizeWire(editor, isResizable);
|
|
7941
|
+
}
|
|
7942
|
+
return ResizeWire.only(SugarElement.fromDom(editor.getDoc()), isResizable);
|
|
7883
7943
|
};
|
|
7884
7944
|
const remove = (editor, wire) => {
|
|
7885
7945
|
if (editor.inline) {
|