argous 1.2.247 → 1.3.3
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/api/WebSocket.d.ts +18 -10
- package/dist/api/WebSocket.js +26 -18
- package/dist/api/index.js +54 -43
- package/dist/api/ws.d.ts +1 -1
- package/dist/api/ws.js +44 -3
- package/dist/components/Alert/Alert.js +17 -7
- package/dist/components/ArgousAction/ArgousAction.js +17 -7
- package/dist/components/ArgousAvatar/ArgousAvatar.d.ts +1 -1
- package/dist/components/ArgousAvatar/ArgousAvatar.js +44 -60
- package/dist/components/ArgousComplexPagination/ArgousComplexPagination.d.ts +1 -1
- package/dist/components/ArgousComplexPagination/ArgousComplexPagination.js +107 -81
- package/dist/components/ArgousComplexTable/ArgousComplexTable.d.ts +1 -1
- package/dist/components/ArgousComplexTable/ArgousComplexTable.js +39 -52
- package/dist/components/ArgousComplexTableBody/ArgousComplexTableBody.d.ts +1 -1
- package/dist/components/ArgousComplexTableBody/ArgousComplexTableBody.js +119 -97
- package/dist/components/ArgousComplexTableBody/DragAndDrop.d.ts +37 -0
- package/dist/components/ArgousComplexTableBody/DragAndDrop.js +156 -0
- package/dist/components/ArgousComplexTableHead/ArgousComplexTableHead.js +64 -47
- package/dist/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.js +55 -37
- package/dist/components/ArgousInput/ArgousInput.js +19 -9
- package/dist/components/ArgousPagination/ArgousPagination.js +18 -11
- package/dist/components/ArgousProgressBar/ArgousProgressBar.js +64 -74
- package/dist/components/ArgousSimpleTable/ArgousSimpleTable.js +28 -22
- package/dist/components/AutoComplete/AutoComplete.js +18 -9
- package/dist/components/AutoCompleteFavorites/AutoCompleteFavorites.d.ts +3 -4
- package/dist/components/AutoCompleteFavorites/AutoCompleteFavorites.js +226 -174
- package/dist/components/BarChart/BarChart.js +17 -7
- package/dist/components/BarraFerramentas/BarraFerramentas.js +119 -105
- package/dist/components/Button/Button.js +17 -7
- package/dist/components/Cabecalho/Cabecalho.js +17 -7
- package/dist/components/Calendar/Calendar.js +24 -41
- package/dist/components/Cam/Cam.js +19 -9
- package/dist/components/Carousel/Carousel.js +113 -103
- package/dist/components/CartaoUsuario/CartaoUsuario.js +36 -26
- package/dist/components/Collapse/Collapse.d.ts +3 -3
- package/dist/components/Collapse/Collapse.js +121 -71
- package/dist/components/Compartilhar/Compartilhar.js +70 -65
- package/dist/components/ConfirmModal/BasicModal.d.ts +1 -1
- package/dist/components/ConfirmModal/BasicModal.js +8 -8
- package/dist/components/ConfirmModal/ModalProvider.d.ts +12 -1
- package/dist/components/ConfirmModal/ModalProvider.js +17 -7
- package/dist/components/ConfirmModal/WrapperModal.d.ts +2 -2
- package/dist/components/ConfirmModal/WrapperModal.js +5 -5
- package/dist/components/ContactValidationInput/ContactValidationInput.d.ts +1 -1
- package/dist/components/ContactValidationInput/ContactValidationInput.js +105 -80
- package/dist/components/ContactValidationInput/SealModal.d.ts +1 -1
- package/dist/components/ContactValidationInput/SealModal.js +13 -20
- package/dist/components/Document/Icons.d.ts +2 -2
- package/dist/components/Document/Icons.js +33 -16
- package/dist/components/Document/ModalVisualizacaoDocumentos.d.ts +1 -1
- package/dist/components/Document/ModalVisualizacaoDocumentos.js +33 -17
- package/dist/components/Document/Visualizacao.d.ts +1 -1
- package/dist/components/Document/Visualizacao.js +48 -34
- package/dist/components/DropArea/DropArea.js +27 -12
- package/dist/components/DropArea/Html5FileSelector.js +6 -7
- package/dist/components/Editor/ScriptLoader2.d.ts +1 -1
- package/dist/components/Editor/ScriptLoader2.js +2 -2
- package/dist/components/Editor/Utils.d.ts +3 -3
- package/dist/components/Editor/Utils.js +2 -2
- package/dist/components/Editor/components/Editor.d.ts +1 -1
- package/dist/components/Editor/components/Editor.js +18 -9
- package/dist/components/Editor/components/EditorPropTypes.js +17 -7
- package/dist/components/FilePreparer/FilePreparer.d.ts +1 -1
- package/dist/components/FilePreparer/FilePreparer.js +105 -88
- package/dist/components/FileUploader/FileUploader.js +33 -22
- package/dist/components/FormVisualizer/FormVisualizer.d.ts +5 -7
- package/dist/components/FormVisualizer/FormVisualizer.js +92 -61
- package/dist/components/HalfGauge/HalfGauge.js +87 -135
- package/dist/components/Highlight/Highlight.js +23 -12
- package/dist/components/ImageResize/ImageResize.d.ts +1 -1
- package/dist/components/ImageResize/ImageResize.js +79 -85
- package/dist/components/ImageResizeButton/ImageResizeButton.d.ts +1 -1
- package/dist/components/ImageResizeButton/ImageResizeButton.js +19 -9
- package/dist/components/Input/Input.js +19 -9
- package/dist/components/InputTags/InputTags.js +22 -13
- package/dist/components/ListSelect/ListSelect.js +17 -7
- package/dist/components/MaterialButton/MaterialButton.d.ts +2 -4
- package/dist/components/MaterialButton/MaterialButton.js +56 -125
- package/dist/components/MenuBar/MenuBar.js +17 -7
- package/dist/components/MonthPicker/MonthPicker.js +20 -10
- package/dist/components/MultipleSelect/MultipleSelect.js +17 -7
- package/dist/components/OtpInput/OtpInput.d.ts +1 -1
- package/dist/components/OtpInput/OtpInput.js +71 -58
- package/dist/components/OutputText/OutputText.js +17 -7
- package/dist/components/Pagination/Pagination.js +17 -7
- package/dist/components/PercentageDisplay/PercentageDisplay.d.ts +1 -1
- package/dist/components/PercentageDisplay/PercentageDisplay.js +24 -92
- package/dist/components/Programa/PageCodeEasterEgg.d.ts +5 -4
- package/dist/components/Programa/PageCodeEasterEgg.js +41 -32
- package/dist/components/Programa/Programa.d.ts +2 -2
- package/dist/components/Programa/Programa.js +50 -28
- package/dist/components/Programa/Tab.d.ts +2 -2
- package/dist/components/Programa/TabNavigationRail.d.ts +3 -3
- package/dist/components/Programa/TabNavigationRail.js +13 -55
- package/dist/components/ProgressBar/ProgressBar.js +17 -7
- package/dist/components/Select/Select.js +17 -7
- package/dist/components/SimpleTable/SimpleTable.js +17 -7
- package/dist/components/Stepper/Stepper.d.ts +1 -1
- package/dist/components/Stepper/Stepper.js +194 -179
- package/dist/components/TablePicker/TablePicker.js +37 -12
- package/dist/components/Tabs/Tabs.js +17 -7
- package/dist/components/TextArea/TextArea.js +17 -7
- package/dist/components/TextToHtml/Cursor.d.ts +1 -1
- package/dist/components/TextToHtml/Cursor.js +17 -7
- package/dist/components/TextToHtml/TextStyles.d.ts +1 -1
- package/dist/components/TextToHtml/TextStyles.js +51 -44
- package/dist/components/TextToHtml/TextToHtml.js +37 -17
- package/dist/components/ThreadLog/ThreadLog.js +19 -9
- package/dist/components/UserCard/UserCard.js +36 -26
- package/dist/components/UtilAutoComplete/UtilAutoComplete.d.ts +3 -4
- package/dist/components/UtilAutoComplete/UtilAutoComplete.js +26 -16
- package/dist/components/UtilTextField/UtilTextField.d.ts +1 -1
- package/dist/components/UtilTextField/UtilTextField.js +26 -14
- package/dist/components/Zoom/Zoom.js +23 -24
- package/dist/fieldsRedux/createField.js +17 -7
- package/dist/fieldsRedux/fieldsRedux.js +19 -9
- package/dist/fieldsRedux/passFields.js +17 -7
- package/dist/reducers/index.d.ts +98 -2
- package/dist/utils/api.js +32 -15
- package/dist/utils/config.js +2 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +68 -54
- package/dist/utils/store.js +2 -3
- package/lib/api/WebSocket.js +11 -12
- package/lib/api/index.js +14 -14
- package/lib/api/ws.js +48 -4
- package/lib/components/ArgousAvatar/ArgousAvatar.d.ts +1 -1
- package/lib/components/ArgousAvatar/ArgousAvatar.js +20 -54
- package/lib/components/ArgousComplexPagination/ArgousComplexPagination.d.ts +1 -1
- package/lib/components/ArgousComplexPagination/ArgousComplexPagination.js +50 -25
- package/lib/components/ArgousComplexTable/ArgousComplexTable.d.ts +1 -1
- package/lib/components/ArgousComplexTable/ArgousComplexTable.js +15 -15
- package/lib/components/ArgousComplexTableBody/ArgousComplexTableBody.d.ts +1 -1
- package/lib/components/ArgousComplexTableBody/ArgousComplexTableBody.js +121 -106
- package/lib/components/ArgousComplexTableBody/DragAndDrop.js +85 -0
- package/lib/components/ArgousComplexTableHead/ArgousComplexTableHead.js +60 -51
- package/lib/components/ArgousComplexTableToolbar/ArgousComplexTableToolBar.js +21 -12
- package/lib/components/ArgousInput/ArgousInput.js +2 -2
- package/lib/components/ArgousPagination/ArgousPagination.js +12 -4
- package/lib/components/ArgousProgressBar/ArgousProgressBar.js +67 -78
- package/lib/components/ArgousSimpleTable/ArgousSimpleTable.js +12 -18
- package/lib/components/AutoComplete/AutoComplete.js +2 -3
- package/lib/components/AutoCompleteFavorites/AutoCompleteFavorites.d.ts +3 -4
- package/lib/components/AutoCompleteFavorites/AutoCompleteFavorites.js +174 -108
- package/lib/components/BarraFerramentas/BarraFerramentas.js +32 -21
- package/lib/components/Calendar/Calendar.js +7 -42
- package/lib/components/Carousel/Carousel.js +42 -27
- package/lib/components/CartaoUsuario/CartaoUsuario.js +6 -6
- package/lib/components/Collapse/Collapse.d.ts +3 -3
- package/lib/components/Collapse/Collapse.js +92 -57
- package/lib/components/Compartilhar/Compartilhar.js +47 -46
- package/lib/components/ConfirmModal/BasicModal.tsx +1 -1
- package/lib/components/ConfirmModal/WrapperModal.tsx +2 -2
- package/lib/components/ContactValidationInput/ContactValidationInput.d.ts +1 -1
- package/lib/components/ContactValidationInput/ContactValidationInput.js +248 -213
- package/lib/components/ContactValidationInput/SealModal.js +38 -32
- package/lib/components/Document/Icons.js +14 -6
- package/lib/components/Document/ModalVisualizacaoDocumentos.js +9 -2
- package/lib/components/Document/Visualizacao.js +31 -25
- package/lib/components/DropArea/DropArea.js +9 -3
- package/lib/components/Editor/ScriptLoader2.ts +3 -3
- package/lib/components/Editor/Utils.ts +3 -3
- package/lib/components/Editor/components/Editor.tsx +1 -1
- package/lib/components/Editor/tinymce/README.md +73 -0
- package/lib/components/Editor/tinymce/langs/README.md +3 -0
- package/lib/components/Editor/tinymce/models/dom/model.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/accordion/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/autolink/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/autosave/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/charmap/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/codesample/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/directionality/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/help/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/image/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/link/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/lists/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/media/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/table/plugin.js +3 -3
- package/lib/components/Editor/tinymce/plugins/table/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/visualchars/plugin.min.js +1 -1
- package/lib/components/Editor/tinymce/themes/silver/theme.js +38 -38
- package/lib/components/Editor/tinymce/themes/silver/theme.min.js +1 -1
- package/lib/components/Editor/tinymce/tinymce.js +12 -12
- package/lib/components/Editor/tinymce/tinymce.min.js +1 -1
- package/lib/components/FilePreparer/FilePreparer.d.ts +1 -1
- package/lib/components/FilePreparer/FilePreparer.js +112 -108
- package/lib/components/FileUploader/FileUploader.js +8 -7
- package/lib/components/FormVisualizer/FormVisualizer.d.ts +5 -7
- package/lib/components/FormVisualizer/FormVisualizer.js +59 -46
- package/lib/components/HalfGauge/HalfGauge.js +87 -85
- package/lib/components/Highlight/Highlight.js +4 -4
- package/lib/components/ImageResize/ImageResize.d.ts +1 -1
- package/lib/components/ImageResize/ImageResize.js +123 -118
- package/lib/components/ImageResizeButton/ImageResizeButton.d.ts +1 -1
- package/lib/components/ImageResizeButton/ImageResizeButton.js +1 -1
- package/lib/components/Input/Input.js +2 -2
- package/lib/components/InputTags/InputTags.js +6 -7
- package/lib/components/MaterialButton/MaterialButton.d.ts +2 -4
- package/lib/components/MaterialButton/MaterialButton.js +50 -125
- package/lib/components/MonthPicker/MonthPicker.js +2 -2
- package/lib/components/OtpInput/OtpInput.tsx +77 -69
- package/lib/components/PercentageDisplay/PercentageDisplay.d.ts +1 -1
- package/lib/components/PercentageDisplay/PercentageDisplay.js +29 -54
- package/lib/components/Programa/PageCodeEasterEgg.js +41 -40
- package/lib/components/Programa/Programa.d.ts +2 -2
- package/lib/components/Programa/Programa.js +21 -5
- package/lib/components/Programa/Tab.ts +4 -2
- package/lib/components/Programa/TabNavigationRail.js +9 -31
- package/lib/components/Stepper/Stepper.d.ts +1 -1
- package/lib/components/Stepper/Stepper.js +222 -190
- package/lib/components/TablePicker/TablePicker.js +11 -6
- package/lib/components/TextToHtml/TextStyles.js +42 -42
- package/lib/components/TextToHtml/TextToHtml.js +102 -92
- package/lib/components/ThreadLog/ThreadLog.js +1 -1
- package/lib/components/UserCard/UserCard.js +6 -6
- package/lib/components/UtilAutoComplete/UtilAutoComplete.d.ts +3 -4
- package/lib/components/UtilAutoComplete/UtilAutoComplete.js +67 -9
- package/lib/components/UtilTextField/UtilTextField.d.ts +1 -1
- package/lib/components/UtilTextField/UtilTextField.js +18 -16
- package/lib/components/Zoom/Zoom.js +6 -3
- package/lib/utils/api.ts +1 -1
- package/lib/utils/index.ts +10 -8
- package/package.json +56 -56
- package/.gitlab-ci.yml +0 -21
|
@@ -6464,8 +6464,8 @@
|
|
|
6464
6464
|
const doMove$1 = movement => (component, simulatedEvent, flowConfig, flowState) => movement(component, simulatedEvent, flowConfig, flowState).bind(() => flowConfig.executeOnMove ? execute$2(component, simulatedEvent, flowConfig) : Optional.some(true));
|
|
6465
6465
|
const doEscape = (component, simulatedEvent, flowConfig) => flowConfig.onEscape(component, simulatedEvent);
|
|
6466
6466
|
const getKeydownRules$3 = (_component, _se, flowConfig, _flowState) => {
|
|
6467
|
-
const westMovers = [...flowConfig.allowHorizontal ? LEFT : []].concat(flowConfig.allowVertical ? UP : []);
|
|
6468
|
-
const eastMovers = [...flowConfig.allowHorizontal ? RIGHT : []].concat(flowConfig.allowVertical ? DOWN : []);
|
|
6467
|
+
const westMovers = [...(flowConfig.allowHorizontal ? LEFT : [])].concat(flowConfig.allowVertical ? UP : []);
|
|
6468
|
+
const eastMovers = [...(flowConfig.allowHorizontal ? RIGHT : [])].concat(flowConfig.allowVertical ? DOWN : []);
|
|
6469
6469
|
return [
|
|
6470
6470
|
rule(inSet(westMovers), doMove$1(west$1(moveLeft$2, moveRight$2))),
|
|
6471
6471
|
rule(inSet(eastMovers), doMove$1(east$1(moveLeft$2, moveRight$2))),
|
|
@@ -6635,7 +6635,7 @@
|
|
|
6635
6635
|
rule(inSet(SPACE), specialInfo.onSpace)
|
|
6636
6636
|
];
|
|
6637
6637
|
const getKeyupRules = (component, simulatedEvent, specialInfo) => [
|
|
6638
|
-
...specialInfo.stopSpaceKeyup ? [rule(inSet(SPACE), stopEventForFirefox)] : [],
|
|
6638
|
+
...(specialInfo.stopSpaceKeyup ? [rule(inSet(SPACE), stopEventForFirefox)] : []),
|
|
6639
6639
|
rule(inSet(ESCAPE), specialInfo.onEscape)
|
|
6640
6640
|
];
|
|
6641
6641
|
var SpecialType = typical(schema$q, NoState.init, getKeydownRules, getKeyupRules, specialInfo => specialInfo.focusIn);
|
|
@@ -7024,7 +7024,7 @@
|
|
|
7024
7024
|
'role': getItemRole(detail),
|
|
7025
7025
|
...detail.domModification.attributes,
|
|
7026
7026
|
'aria-haspopup': detail.hasSubmenu,
|
|
7027
|
-
...detail.hasSubmenu ? { 'aria-expanded': false } : {}
|
|
7027
|
+
...(detail.hasSubmenu ? { 'aria-expanded': false } : {})
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
7030
|
behaviours: SketchBehaviours.augment(detail.itemBehaviours, [
|
|
@@ -7660,12 +7660,12 @@
|
|
|
7660
7660
|
run$1(onMenuItemDehighlightedEvent, (tmenuComp, se) => {
|
|
7661
7661
|
detail.onDehighlightItem(tmenuComp, se.event.menuComp, se.event.itemComp);
|
|
7662
7662
|
}),
|
|
7663
|
-
...detail.navigateOnHover ? [run$1(hover(), (tmenu, simulatedEvent) => {
|
|
7663
|
+
...(detail.navigateOnHover ? [run$1(hover(), (tmenu, simulatedEvent) => {
|
|
7664
7664
|
const item = simulatedEvent.event.item;
|
|
7665
7665
|
updateView(tmenu, item);
|
|
7666
7666
|
expandRight(tmenu, item, ExpandHighlightDecision.HighlightParent);
|
|
7667
7667
|
detail.onHover(tmenu, item);
|
|
7668
|
-
})] : []
|
|
7668
|
+
})] : [])
|
|
7669
7669
|
]);
|
|
7670
7670
|
const getActiveItem = container => Highlighting.getHighlighted(container).bind(Highlighting.getHighlighted);
|
|
7671
7671
|
const collapseMenuApi = container => {
|
|
@@ -9686,7 +9686,7 @@
|
|
|
9686
9686
|
innerHtml: iconHtml
|
|
9687
9687
|
},
|
|
9688
9688
|
behaviours: derive$1([
|
|
9689
|
-
...(_b = spec.behaviours) !== null && _b !== void 0 ? _b : [],
|
|
9689
|
+
...((_b = spec.behaviours) !== null && _b !== void 0 ? _b : []),
|
|
9690
9690
|
addFocusableBehaviour()
|
|
9691
9691
|
])
|
|
9692
9692
|
};
|
|
@@ -9897,7 +9897,7 @@
|
|
|
9897
9897
|
},
|
|
9898
9898
|
lazySink: sharedBackstage.getSink,
|
|
9899
9899
|
fireDismissalEventInstead: {},
|
|
9900
|
-
...sharedBackstage.header.isPositionedAtTop() ? {} : { fireRepositionEventInstead: {} }
|
|
9900
|
+
...(sharedBackstage.header.isPositionedAtTop() ? {} : { fireRepositionEventInstead: {} })
|
|
9901
9901
|
}));
|
|
9902
9902
|
uiMothership.add(notificationWrapper);
|
|
9903
9903
|
if (isNumber(settings.timeout) && settings.timeout > 0) {
|
|
@@ -10605,7 +10605,7 @@
|
|
|
10605
10605
|
dom: {
|
|
10606
10606
|
...item.dom,
|
|
10607
10607
|
attributes: {
|
|
10608
|
-
...(_a = item.dom.attributes) !== null && _a !== void 0 ? _a : {},
|
|
10608
|
+
...((_a = item.dom.attributes) !== null && _a !== void 0 ? _a : {}),
|
|
10609
10609
|
'id': generate$6('aria-item-search-result-id'),
|
|
10610
10610
|
'aria-selected': 'false'
|
|
10611
10611
|
}
|
|
@@ -10747,7 +10747,7 @@
|
|
|
10747
10747
|
dom: {
|
|
10748
10748
|
tag: 'div',
|
|
10749
10749
|
classes: [
|
|
10750
|
-
...columns === 1 ? ['tox-collection--list'] : ['tox-collection--grid'],
|
|
10750
|
+
...(columns === 1 ? ['tox-collection--list'] : ['tox-collection--grid']),
|
|
10751
10751
|
searchResultsClass
|
|
10752
10752
|
],
|
|
10753
10753
|
attributes: { id: ariaControlsSearchResults }
|
|
@@ -13269,7 +13269,7 @@
|
|
|
13269
13269
|
attributes: {
|
|
13270
13270
|
'aria-haspopup': 'true',
|
|
13271
13271
|
...detail.role.fold(() => ({}), role => ({ role })),
|
|
13272
|
-
...detail.dom.tag === 'button' ? { type: lookupAttr('type').getOr('button') } : {}
|
|
13272
|
+
...(detail.dom.tag === 'button' ? { type: lookupAttr('type').getOr('button') } : {})
|
|
13273
13273
|
}
|
|
13274
13274
|
}
|
|
13275
13275
|
};
|
|
@@ -15617,7 +15617,7 @@
|
|
|
15617
15617
|
factory: Input,
|
|
15618
15618
|
inputAttributes: {
|
|
15619
15619
|
type: 'text',
|
|
15620
|
-
...name === 'hex' ? { 'aria-live': 'polite' } : {}
|
|
15620
|
+
...(name === 'hex' ? { 'aria-live': 'polite' } : {})
|
|
15621
15621
|
},
|
|
15622
15622
|
inputClasses: [getClass('textfield')],
|
|
15623
15623
|
inputBehaviours: derive$1([
|
|
@@ -16510,7 +16510,7 @@
|
|
|
16510
16510
|
const attributes = {
|
|
16511
16511
|
...spec.label.map(title => ({ title })).getOr({}),
|
|
16512
16512
|
...initialData.map(html => ({ srcdoc: html })).getOr({}),
|
|
16513
|
-
...spec.sandboxed ? { sandbox: 'allow-scripts allow-same-origin' } : {}
|
|
16513
|
+
...(spec.sandboxed ? { sandbox: 'allow-scripts allow-same-origin' } : {})
|
|
16514
16514
|
};
|
|
16515
16515
|
const sourcing = getDynamicSource(initialData, spec.streamContent);
|
|
16516
16516
|
const pLabel = spec.label.map(label => renderLabel$3(label, providersBackstage));
|
|
@@ -16767,7 +16767,7 @@
|
|
|
16767
16767
|
}, sharedBackstage.providers.icons);
|
|
16768
16768
|
const fixWidthBehaviourName = generate$6('common-button-display-events');
|
|
16769
16769
|
const memDropdown = record(Dropdown.sketch({
|
|
16770
|
-
...spec.uid ? { uid: spec.uid } : {},
|
|
16770
|
+
...(spec.uid ? { uid: spec.uid } : {}),
|
|
16771
16771
|
...role,
|
|
16772
16772
|
dom: {
|
|
16773
16773
|
tag: 'button',
|
|
@@ -17927,7 +17927,7 @@
|
|
|
17927
17927
|
columns: 1,
|
|
17928
17928
|
presets: 'normal',
|
|
17929
17929
|
classes: [],
|
|
17930
|
-
dropdownBehaviours: [...tabstopping ? [Tabstopping.config({})] : []]
|
|
17930
|
+
dropdownBehaviours: [...(tabstopping ? [Tabstopping.config({})] : [])]
|
|
17931
17931
|
}, prefix, backstage.shared);
|
|
17932
17932
|
};
|
|
17933
17933
|
const getFetch = (items, getButton, backstage) => {
|
|
@@ -17999,7 +17999,7 @@
|
|
|
17999
17999
|
]
|
|
18000
18000
|
},
|
|
18001
18001
|
buttonBehaviours: derive$1([
|
|
18002
|
-
...visible ? [Tabstopping.config({})] : [],
|
|
18002
|
+
...(visible ? [Tabstopping.config({})] : []),
|
|
18003
18003
|
Toggling.config({
|
|
18004
18004
|
toggleClass: 'tox-trbtn--enabled',
|
|
18005
18005
|
toggleOnExecute: false,
|
|
@@ -18095,7 +18095,7 @@
|
|
|
18095
18095
|
]
|
|
18096
18096
|
},
|
|
18097
18097
|
buttonBehaviours: derive$1([
|
|
18098
|
-
...visible ? [Tabstopping.config({})] : [],
|
|
18098
|
+
...(visible ? [Tabstopping.config({})] : []),
|
|
18099
18099
|
config(directoryLabelEventsId, [run$1(keydown(), (comp, se) => {
|
|
18100
18100
|
const isRightArrowKey = se.event.raw.code === 'ArrowRight';
|
|
18101
18101
|
const isLeftArrowKey = se.event.raw.code === 'ArrowLeft';
|
|
@@ -18220,7 +18220,7 @@
|
|
|
18220
18220
|
})
|
|
18221
18221
|
]),
|
|
18222
18222
|
Toggling.config({
|
|
18223
|
-
...directory.children.length > 0 ? { aria: { mode: 'expanded' } } : {},
|
|
18223
|
+
...(directory.children.length > 0 ? { aria: { mode: 'expanded' } } : {}),
|
|
18224
18224
|
toggleClass: 'tox-tree--directory--expanded',
|
|
18225
18225
|
onToggled: (comp, childrenVisible) => {
|
|
18226
18226
|
const childrenComp = comp.components()[1];
|
|
@@ -18834,8 +18834,8 @@
|
|
|
18834
18834
|
const baseClasses = calculateClassesFromButtonType(buttonType);
|
|
18835
18835
|
const classes = [
|
|
18836
18836
|
...baseClasses,
|
|
18837
|
-
...icon.isSome() ? ['tox-button--icon'] : [],
|
|
18838
|
-
...spec.borderless ? ['tox-button--naked'] : [],
|
|
18837
|
+
...(icon.isSome() ? ['tox-button--icon'] : []),
|
|
18838
|
+
...(spec.borderless ? ['tox-button--naked'] : []),
|
|
18839
18839
|
...extraClasses
|
|
18840
18840
|
];
|
|
18841
18841
|
const dom = {
|
|
@@ -18900,8 +18900,8 @@
|
|
|
18900
18900
|
tag: 'button',
|
|
18901
18901
|
classes: [
|
|
18902
18902
|
...buttonTypeClasses.concat(spec.icon.isSome() ? ['tox-button--icon'] : []),
|
|
18903
|
-
...spec.active ? ['tox-button--enabled'] : [],
|
|
18904
|
-
...showIconAndText ? ['tox-button--icon-and-text'] : []
|
|
18903
|
+
...(spec.active ? ['tox-button--enabled'] : []),
|
|
18904
|
+
...(showIconAndText ? ['tox-button--icon-and-text'] : [])
|
|
18905
18905
|
],
|
|
18906
18906
|
attributes: tooltipAttributes
|
|
18907
18907
|
};
|
|
@@ -18911,7 +18911,7 @@
|
|
|
18911
18911
|
const iconComp = componentRenderPipeline([optMemIcon.map(memIcon => memIcon.asSpec())]);
|
|
18912
18912
|
const components = [
|
|
18913
18913
|
...iconComp,
|
|
18914
|
-
...spec.text.isSome() ? [translatedTextComponed] : []
|
|
18914
|
+
...(spec.text.isSome() ? [translatedTextComponed] : [])
|
|
18915
18915
|
];
|
|
18916
18916
|
const iconButtonSpec = renderCommonSpec(buttonSpec, Optional.some(action), extraBehaviours, dom, components, providers);
|
|
18917
18917
|
return Button.sketch(iconButtonSpec);
|
|
@@ -22484,7 +22484,7 @@
|
|
|
22484
22484
|
const hasIconAndText = spec.icon.isSome() && optTranslatedTextComponed.isSome();
|
|
22485
22485
|
const dom = {
|
|
22486
22486
|
tag: 'button',
|
|
22487
|
-
classes: buttonTypeClasses.concat(...spec.icon.isSome() && !hasIconAndText ? ['tox-button--icon'] : []).concat(...hasIconAndText ? ['tox-button--icon-and-text'] : []).concat(...spec.borderless ? ['tox-button--naked'] : []).concat(...spec.type === 'togglebutton' && spec.active ? ['tox-button--enabled'] : []),
|
|
22487
|
+
classes: buttonTypeClasses.concat(...(spec.icon.isSome() && !hasIconAndText ? ['tox-button--icon'] : [])).concat(...(hasIconAndText ? ['tox-button--icon-and-text'] : [])).concat(...(spec.borderless ? ['tox-button--naked'] : [])).concat(...(spec.type === 'togglebutton' && spec.active ? ['tox-button--enabled'] : [])),
|
|
22488
22488
|
attributes: tooltipAttributes
|
|
22489
22489
|
};
|
|
22490
22490
|
const extraBehaviours = [];
|
|
@@ -22521,10 +22521,10 @@
|
|
|
22521
22521
|
tag: 'div',
|
|
22522
22522
|
classes: [
|
|
22523
22523
|
!hasGroups ? 'tox-view__header' : 'tox-view__toolbar',
|
|
22524
|
-
...isPhone || isTablet ? [
|
|
22524
|
+
...(isPhone || isTablet ? [
|
|
22525
22525
|
'tox-view--mobile',
|
|
22526
22526
|
'tox-view--scrolling'
|
|
22527
|
-
] : []
|
|
22527
|
+
] : [])
|
|
22528
22528
|
]
|
|
22529
22529
|
},
|
|
22530
22530
|
behaviours: derive$1([
|
|
@@ -22611,10 +22611,10 @@
|
|
|
22611
22611
|
},
|
|
22612
22612
|
viewConfig: internalViewConfig,
|
|
22613
22613
|
components: [
|
|
22614
|
-
...internalViewConfig.buttons.length > 0 ? [View.parts.header({
|
|
22614
|
+
...(internalViewConfig.buttons.length > 0 ? [View.parts.header({
|
|
22615
22615
|
buttons: internalViewConfig.buttons,
|
|
22616
22616
|
providers
|
|
22617
|
-
})] : [],
|
|
22617
|
+
})] : []),
|
|
22618
22618
|
View.parts.pane({})
|
|
22619
22619
|
]
|
|
22620
22620
|
}));
|
|
@@ -27965,7 +27965,7 @@
|
|
|
27965
27965
|
'tox-silver-sink',
|
|
27966
27966
|
'tox-tinymce-aux'
|
|
27967
27967
|
].concat(deviceClasses),
|
|
27968
|
-
attributes: { ...global$8.isRtl() ? { dir: 'rtl' } : {} }
|
|
27968
|
+
attributes: { ...(global$8.isRtl() ? { dir: 'rtl' } : {}) }
|
|
27969
27969
|
},
|
|
27970
27970
|
behaviours: derive$1([Positioning.config({ useFixed: () => header.isDocked(lazyHeader) })])
|
|
27971
27971
|
};
|
|
@@ -27993,7 +27993,7 @@
|
|
|
27993
27993
|
'tox-silver-popup-sink',
|
|
27994
27994
|
'tox-tinymce-aux'
|
|
27995
27995
|
].concat(deviceClasses),
|
|
27996
|
-
attributes: { ...global$8.isRtl() ? { dir: 'rtl' } : {} }
|
|
27996
|
+
attributes: { ...(global$8.isRtl() ? { dir: 'rtl' } : {}) }
|
|
27997
27997
|
},
|
|
27998
27998
|
behaviours: derive$1([Positioning.config({
|
|
27999
27999
|
useFixed: () => header.isDocked(lazyHeader),
|
|
@@ -28037,8 +28037,8 @@
|
|
|
28037
28037
|
const isHidden = isDistractionFree(editor);
|
|
28038
28038
|
const attributes = {
|
|
28039
28039
|
role: 'application',
|
|
28040
|
-
...global$8.isRtl() ? { dir: 'rtl' } : {},
|
|
28041
|
-
...isHidden ? { 'aria-hidden': 'true' } : {}
|
|
28040
|
+
...(global$8.isRtl() ? { dir: 'rtl' } : {}),
|
|
28041
|
+
...(isHidden ? { 'aria-hidden': 'true' } : {})
|
|
28042
28042
|
};
|
|
28043
28043
|
const outerContainer = build$1(OuterContainer.sketch({
|
|
28044
28044
|
dom: {
|
|
@@ -28049,16 +28049,16 @@
|
|
|
28049
28049
|
].concat(isInline ? ['tox-tinymce-inline'] : []).concat(isToolbarBottom ? ['tox-tinymce--toolbar-bottom'] : []).concat(deviceClasses),
|
|
28050
28050
|
styles: {
|
|
28051
28051
|
visibility: 'hidden',
|
|
28052
|
-
...isHidden ? {
|
|
28052
|
+
...(isHidden ? {
|
|
28053
28053
|
opacity: '0',
|
|
28054
28054
|
border: '0'
|
|
28055
|
-
} : {}
|
|
28055
|
+
} : {})
|
|
28056
28056
|
},
|
|
28057
28057
|
attributes
|
|
28058
28058
|
},
|
|
28059
28059
|
components: [
|
|
28060
28060
|
editorContainer,
|
|
28061
|
-
...isInline ? [] : [partViewWrapper],
|
|
28061
|
+
...(isInline ? [] : [partViewWrapper]),
|
|
28062
28062
|
partThrobber
|
|
28063
28063
|
],
|
|
28064
28064
|
behaviours: derive$1([
|
|
@@ -29408,7 +29408,7 @@
|
|
|
29408
29408
|
classes: ['tox-dialog__content-js'],
|
|
29409
29409
|
attributes: {
|
|
29410
29410
|
...contentId.map(x => ({ id: x })).getOr({}),
|
|
29411
|
-
...ariaAttrs ? ariaAttributes : {}
|
|
29411
|
+
...(ariaAttrs ? ariaAttributes : {})
|
|
29412
29412
|
}
|
|
29413
29413
|
},
|
|
29414
29414
|
components: [],
|
|
@@ -30577,7 +30577,7 @@
|
|
|
30577
30577
|
classes: []
|
|
30578
30578
|
},
|
|
30579
30579
|
fireDismissalEventInstead: windowParams.persistent ? { event: 'doNotDismissYet' } : {},
|
|
30580
|
-
...isToolbarLocationTop ? {} : { fireRepositionEventInstead: {} },
|
|
30580
|
+
...(isToolbarLocationTop ? {} : { fireRepositionEventInstead: {} }),
|
|
30581
30581
|
inlineBehaviours: derive$1([
|
|
30582
30582
|
config('window-manager-inline-events', [run$1(dismissRequested(), (_comp, _se) => {
|
|
30583
30583
|
emit(dialogUi.dialog, formCancelEvent);
|
|
@@ -30633,7 +30633,7 @@
|
|
|
30633
30633
|
classes: []
|
|
30634
30634
|
},
|
|
30635
30635
|
fireDismissalEventInstead: windowParams.persistent ? { event: 'doNotDismissYet' } : {},
|
|
30636
|
-
...isToolbarLocationTop ? {} : { fireRepositionEventInstead: {} },
|
|
30636
|
+
...(isToolbarLocationTop ? {} : { fireRepositionEventInstead: {} }),
|
|
30637
30637
|
inlineBehaviours: derive$1([
|
|
30638
30638
|
config('window-manager-inline-events', [run$1(dismissRequested(), (_comp, _se) => {
|
|
30639
30639
|
emit(dialogUi.dialog, formCancelEvent);
|