@orangelogic/design-system 2.133.0 → 2.135.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/library/chunks/asset-link-format.BBWyY5fn.js +2627 -0
- package/library/chunks/{button.DYoFn504.js → button.3giRMk79.js} +2 -2
- package/library/chunks/{checkbox.uH0uF0OV.js → checkbox.B-2O517F.js} +3 -3
- package/library/chunks/{table.DuP4v5FN.js → color-swatch-group.DC6vIYo4.js} +3133 -2887
- package/library/chunks/{color-swatch.0zyBEfL_.js → color-swatch.g3FPUnxM.js} +2 -2
- package/library/chunks/{confirm-popover.DpVYvK20.js → confirm-popover.DtndPsMa.js} +3 -3
- package/library/chunks/{dialog.BwBD_hJi.js → dialog.BQq3xBeH.js} +2 -2
- package/library/chunks/directive-helpers.DEDMV45_.js +42 -0
- package/library/chunks/{document-viewer.BM716ovi.js → document-viewer.BQPJD2lJ.js} +8 -8
- package/library/chunks/{dom.BXeuEG1b.js → dom.acWb8KCK.js} +1 -1
- package/library/chunks/{dot-pagination.B70lV5Av.js → dot-pagination.DBk9Rz1e.js} +1 -1
- package/library/chunks/{endpoints.6E17hFiK.js → endpoints.tU0_RZ_7.js} +4 -4
- package/library/chunks/{file-on-demand.D-Ectby2.js → file-on-demand.Bnloo9Ui.js} +12 -12
- package/library/chunks/folder-select.DuG4dSPm.js +942 -0
- package/library/chunks/{form.3af0bYrm.js → form.K1XOtu3S.js} +1 -1
- package/library/chunks/{header.BMGvKrdP.js → header.Bpjw08j7.js} +1 -1
- package/library/chunks/{i18n.DoMIwXr2.js → i18n.DJikbkDK.js} +48 -12
- package/library/chunks/{icon-button.B-Jf9W3v.js → icon-button.xobY-9OH.js} +1 -1
- package/library/chunks/{iframe.Cdv6esyS.js → iframe.BkvxcywO.js} +1 -1
- package/library/chunks/{image.SLqIVjqc.js → image.KZRXIthe.js} +241 -229
- package/library/chunks/{input.CQNhMu4z.js → input.GUw7x9tK.js} +3 -3
- package/library/chunks/{keyed.C0rkKrxH.js → keyed.DdOUTIg-.js} +1 -1
- package/library/chunks/{live.SCz6M8Gs.js → live.DCegntDo.js} +1 -1
- package/library/chunks/{option.SCVixE2L.js → option.uHye0aDT.js} +1 -1
- package/library/chunks/{pagination.BFE6Nk3_.js → pagination.D8Hzwlan.js} +6 -6
- package/library/chunks/{ref.bzeTdX0K.js → ref.DktKp7fP.js} +1 -1
- package/library/chunks/{repeat.DbF2p5ae.js → repeat.CFjcER6_.js} +1 -1
- package/library/chunks/{resizable-component.styles.BVhOesNE.js → resizable-component.styles.CAfXABBc.js} +5 -5
- package/library/chunks/{string.CbnVBzsd.js → string.CjJ09HK3.js} +14 -11
- package/library/chunks/{tab-group.C-p2Dljr.js → tab-group.0_aOE22R.js} +5 -5
- package/library/chunks/toast.Bz-j7zP2.js +109 -0
- package/library/chunks/{tree.9PK8ifJd.js → tree.C14rLLol.js} +3 -3
- package/library/chunks/url.-WDYqplj.js +42 -0
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +16 -2163
- package/library/components/atoms.js +49 -51
- package/library/components/audio.js +3 -3
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +3 -3
- package/library/components/checkbox.js +3 -3
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +6 -7
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +2 -2
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/diff.js +1 -1
- package/library/components/document-viewer.js +4 -4
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +88 -85
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +13 -13
- package/library/components/folder-select.js +5 -5
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +6 -5
- package/library/components/input.js +4 -4
- package/library/components/line-clamp.js +1 -1
- package/library/components/masonry.js +3 -3
- package/library/components/menu-item.js +2 -2
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +27 -29
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +6 -6
- package/library/components/padding-input-group.js +2 -2
- package/library/components/pagination.js +7 -7
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/range.js +5 -5
- package/library/components/rating.js +2 -2
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +10 -7
- package/library/components/shadow-input-group.js +2 -2
- package/library/components/share-option-list.js +3 -3
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/switch.js +2 -2
- package/library/components/tab-group.js +5 -5
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +2 -2
- package/library/components/textarea.js +2 -2
- package/library/components/timecode.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +4 -4
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +46083 -43779
- package/library/components/video.js +3 -3
- package/library/package.json +3 -1
- package/library/packages/atoms/src/components/image/image.d.ts +3 -0
- package/library/packages/atoms/src/components/select/select.d.ts +6 -0
- package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +1 -0
- package/library/packages/atoms/src/index.d.ts +0 -1
- package/library/packages/events/src/cx-folder-select-selection-seeded.d.ts +6 -0
- package/library/packages/events/src/cx-image-src-resolved.d.ts +9 -0
- package/library/packages/events/src/cx-pdf-viewer-annotation-draw-mode-change.d.ts +10 -0
- package/library/packages/events/src/cx-pdf-viewer-annotation-draw-params-change.d.ts +11 -0
- package/library/packages/events/src/cx-pdf-viewer-more-options-select.d.ts +8 -0
- package/library/packages/events/src/cx-pdf-viewer-toolbar-annotation-mode-change.d.ts +10 -0
- package/library/packages/events/src/cx-pdf-viewer-toolbar-annotation-params-change.d.ts +11 -0
- package/library/packages/events/src/cx-pdf-viewer-toolbar-click.d.ts +8 -0
- package/library/packages/events/src/cx-pdf-viewer-toolbar-page-change.d.ts +8 -0
- package/library/packages/events/src/cx-pdf-viewer-toolbar-scale-change.d.ts +8 -0
- package/library/packages/events/src/cx-pdf-viewer-toolbar-view-toggle.d.ts +11 -0
- package/library/packages/events/src/cx-pdf-viewer-view-on-asset-toggle.d.ts +11 -0
- package/library/packages/events/src/cx-video-src-resolved.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +13 -0
- package/library/packages/hybrid/table-core/src/index.d.ts +3 -0
- package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-row-actions/table-row-actions-dropdown.d.ts +8 -8
- package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-row-actions/table-row-actions.d.ts +6 -5
- package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-toolbar/table-dropdown-filter.d.ts +4 -4
- package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-toolbar/table-group-by-dropdown.d.ts +4 -4
- package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-toolbar/table-saved-search-dropdown.d.ts +6 -5
- package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-toolbar/table-toolbar.d.ts +12 -12
- package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/table.d.ts +11 -11
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Clipboard/Clipboard.d.ts +1 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Clipboard/extensions/extensions.d.ts +1 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/History/History.d.ts +1 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/History/extensions/extensions.d.ts +1 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/HoverMenu/HoverMenu.d.ts +1 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Import/defaults/importers.d.ts +1 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/SelectRange/SelectRange.d.ts +4 -4
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/SelectRange/extensions/extensions.d.ts +2 -2
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +1 -1
- package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +5 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +32 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +20 -3
- package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +5 -0
- package/library/packages/molecules/src/index.d.ts +1 -1
- package/library/packages/molecules/src/library-index.d.ts +0 -1
- package/library/packages/molecules/src/pdf-viewer-toolbar/components/index.d.ts +3 -0
- package/library/packages/molecules/src/pdf-viewer-toolbar/components/pdf-viewer-annotation-draw/pdf-viewer-annotation-draw.d.ts +92 -0
- package/library/packages/molecules/src/pdf-viewer-toolbar/components/pdf-viewer-more-options/pdf-viewer-more-options.d.ts +43 -0
- package/library/packages/molecules/src/pdf-viewer-toolbar/components/pdf-viewer-more-options/pdf-viewer-more-options.styles.d.ts +2 -0
- package/library/packages/molecules/src/pdf-viewer-toolbar/components/pdf-viewer-view-on-asset/pdf-viewer-view-on-asset.d.ts +42 -0
- package/library/packages/molecules/src/pdf-viewer-toolbar/components/pdf-viewer-view-on-asset/pdf-viewer-view-on-asset.styles.d.ts +2 -0
- package/library/packages/molecules/src/pdf-viewer-toolbar/pdf-viewer-toolbar.d.ts +101 -0
- package/library/packages/molecules/src/pdf-viewer-toolbar/pdf-viewer-toolbar.styles.d.ts +2 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +66 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.constants.d.ts +1 -1
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.constants.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +2 -9
- package/library/packages/organisms/src/content-builder/configs/dam-view.d.ts +1 -7
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +2 -14
- package/library/packages/organisms/src/content-builder/styleController.d.ts +1 -1
- package/library/packages/organisms/src/dam-custom-toolbar-buttons-editor/dam-custom-toolbar-buttons-editor.d.ts +9 -1
- package/library/packages/organisms/src/dashboard-table/dashboard-table.d.ts +1 -1
- package/library/packages/organisms/src/index.d.ts +1 -0
- package/library/packages/{molecules → organisms}/src/list-editor/list-editor.d.ts +9 -3
- package/library/packages/organisms/src/list-editor/list-editor.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.d.ts +1 -1
- package/library/packages/services/src/api/folder/folder.types.d.ts +9 -2
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +16 -0
- package/library/packages/types/src/content-builder.d.ts +1 -1
- package/library/packages/types/src/dam-view.d.ts +1 -0
- package/library/packages/types/src/folder-select.d.ts +8 -1
- package/library/packages/types/src/pdf-viewer-toolbar.d.ts +82 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +43 -7
- package/library/packages/utils/src/string/string.d.ts +1 -1
- package/library/packages/utils/src/url/url.d.ts +12 -2
- package/library/react-web-component.d.ts +514 -913
- package/library/utils.js +200 -199
- package/package.json +3 -1
- package/library/chunks/asset.CcxcYY9d.js +0 -469
- package/library/chunks/color-swatch-group.DlTVQ3Ul.js +0 -362
- package/library/chunks/directive-helpers.Dm4rc594.js +0 -37
- package/library/chunks/folder-select.DHV6f6TA.js +0 -884
- package/library/chunks/list-editor.BXY4UIAI.js +0 -1394
- package/library/chunks/responsive.Cf65FCWd.js +0 -17
- package/library/chunks/toast.D3AW3RWv.js +0 -94
- package/library/chunks/url.Cj9cIQXJ.js +0 -27
- package/library/components/list-editor.d.ts +0 -3
- package/library/components/list-editor.js +0 -33
- package/library/components/table.d.ts +0 -3
- package/library/components/table.js +0 -84
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/index.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-footer/table-footer.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-footer/table-footer.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-row-actions/table-row-actions.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/components/table-toolbar/table-toolbar.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/controllers/ajax-facets/ajax-facet-data-controller.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/controllers/ajax-facets/ajax-facet-filter-controller.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/controllers/filter-controller.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/controllers/select-all-controller.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-alert.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-base.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-calcs.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-clickable-cell.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-data-tree.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-edit.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-footer.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-format.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-group-rows.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-header.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-hover-menu.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-move-rows.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-page.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-placeholder.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-popup.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-print.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-resize.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-responsive-layout.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-rows.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-rtl.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-select-range.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/styles/table-spreadsheet.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/table-data-loader.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/table.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → hybrid/table-core/src}/table/table.utils.d.ts +0 -0
- /package/library/packages/molecules/src/{list-editor/list-editor.styles.d.ts → pdf-viewer-toolbar/components/pdf-viewer-annotation-draw/pdf-viewer-annotation-draw.styles.d.ts} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as kd, a as Sa, b as Be, c as Je } from "../chunks/inheritsLoose.BuSn_CvZ.js";
|
|
2
2
|
import { c as ps, a as Bn } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
|
|
3
3
|
import { r as Sb } from "../chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js";
|
|
4
|
-
import { C as Cb } from "../chunks/image.
|
|
4
|
+
import { C as Cb } from "../chunks/image.KZRXIthe.js";
|
|
5
5
|
import Mb from "./resize-observer.js";
|
|
6
|
-
import { r as Db, R as Pb, a as Rp, b as Lb } from "../chunks/resizable-component.styles.
|
|
6
|
+
import { r as Db, R as Pb, a as Rp, b as Lb } from "../chunks/resizable-component.styles.CAfXABBc.js";
|
|
7
7
|
import { c as Rb } from "../chunks/component.styles.CRO4Odto.js";
|
|
8
8
|
import { b as Ib } from "../chunks/browser.BHOCIF_A.js";
|
|
9
9
|
import { c as Ob } from "../chunks/custom-element.L4WJXn1j.js";
|
|
10
|
-
import { L as kb } from "../chunks/i18n.
|
|
10
|
+
import { L as kb } from "../chunks/i18n.DJikbkDK.js";
|
|
11
11
|
import { w as Ki } from "../chunks/watch.CThbualB.js";
|
|
12
12
|
import { i as Bb, x as Qc } from "../chunks/lit-element.jLBm65_O.js";
|
|
13
13
|
import { n as Ri } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
package/library/package.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangelogic/design-system",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.135.0",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"types": "library/types.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"analyze": "vite build && open bundle-stats/stats.html",
|
|
9
9
|
"copy-entry-file": "node ./scripts/copy-entry-file.js",
|
|
10
|
+
"sync-csharp": "node ./scripts/sync-csharp-to-core.js",
|
|
10
11
|
"build-worker": "vite build --config ./vite.worker.config.js",
|
|
11
12
|
"build": "vite build --config vite.config.ts && bun run build-worker && node ./scripts/remove-index-html-file.js && node ./scripts/copy-entry-file.js",
|
|
13
|
+
"build-sync": "bun run build && bun run sync-csharp",
|
|
12
14
|
"start": "vite",
|
|
13
15
|
"dev-build": "vite build --config vite.dev-build.config.ts",
|
|
14
16
|
"open": "npx playwright test --project=chromium --ui",
|
|
@@ -40,6 +40,7 @@ import { default as CxSpinner } from '../spinner/spinner';
|
|
|
40
40
|
* @slot fallback - The fallback element, always shown when the image fails to load; override this slot to customize the broken-image UI.
|
|
41
41
|
*/
|
|
42
42
|
export default class CxImage extends ResizableElement {
|
|
43
|
+
#private;
|
|
43
44
|
static readonly styles: import('lit').CSSResult[];
|
|
44
45
|
static readonly dependencies: {
|
|
45
46
|
'cx-icon': typeof CxIcon;
|
|
@@ -168,6 +169,8 @@ export default class CxImage extends ResizableElement {
|
|
|
168
169
|
handleSrcChange(): void;
|
|
169
170
|
private clearRetryTimer;
|
|
170
171
|
private scheduleRetry;
|
|
172
|
+
/** Appends the retry cache-bust param to `src` while a retry attempt is in flight, so a CDN edge caching a corrupted/truncated response is bypassed in favor of a fresh origin fetch. */
|
|
173
|
+
protected applyRetryCacheBust(src: string): string;
|
|
171
174
|
private initZoom;
|
|
172
175
|
protected handleLoad(event: Event): void;
|
|
173
176
|
protected handleError(): void;
|
|
@@ -246,6 +246,12 @@ export default class CxSelect extends CortexElement implements CortexFormControl
|
|
|
246
246
|
*/
|
|
247
247
|
getOptionDisabled: (option: HTMLElement) => boolean | undefined;
|
|
248
248
|
stayOpenOnSelect: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* When set to true, the listbox closes right after an option is selected, even when `multiple` is enabled
|
|
251
|
+
* (by default multi-select keeps the listbox open). Has no effect on single-select, which already closes on
|
|
252
|
+
* select. If `stayOpenOnSelect` is also set, `stayOpenOnSelect` wins and the listbox stays open.
|
|
253
|
+
*/
|
|
254
|
+
closeOnSelect: boolean;
|
|
249
255
|
/**
|
|
250
256
|
* When set to true, the `cx-change` event will be emitted on every change of the value, even if the value is not changed.
|
|
251
257
|
*/
|
|
@@ -35,6 +35,7 @@ import { default as CxTab } from '../tab/tab';
|
|
|
35
35
|
* @cssproperty --track-color - The color of the indicator's track (the line that separates tabs from panels).
|
|
36
36
|
* @cssproperty --track-width - The width of the indicator's track (the line that separates tabs from panels).
|
|
37
37
|
* @cssproperty [--tab-dropdown-trigger-max-width=150px] - The maximum width of the dropdown button.
|
|
38
|
+
* @cssproperty [--tab-group-top-gap=var(--cx-spacing-small)] - The gap between the nav and body when placement is top.
|
|
38
39
|
*/
|
|
39
40
|
export default class CxTabGroup extends CortexElement {
|
|
40
41
|
static readonly styles: CSSResultGroup;
|
|
@@ -73,7 +73,6 @@ export { default as CxStepper } from './components/stepper/stepper';
|
|
|
73
73
|
export { default as CxSwitch } from './components/switch/switch';
|
|
74
74
|
export { default as CxTab } from './components/tab/tab';
|
|
75
75
|
export { default as CxTabGroup } from './components/tab-group/tab-group';
|
|
76
|
-
export { default as CxTable } from './components/table/table';
|
|
77
76
|
export { default as CxTabPanel } from './components/tab-panel/tab-panel';
|
|
78
77
|
export { default as CxTag } from './components/tag/tag';
|
|
79
78
|
export { default as CxTextarea } from './components/textarea/textarea';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PdfViewerAnnotationMode } from '../../types/src/pdf-viewer-toolbar';
|
|
2
|
+
|
|
3
|
+
export type CxPdfViewerAnnotationDrawModeChangeEvent = CustomEvent<{
|
|
4
|
+
mode: PdfViewerAnnotationMode;
|
|
5
|
+
}>;
|
|
6
|
+
declare global {
|
|
7
|
+
interface GlobalEventHandlersEventMap {
|
|
8
|
+
'cx-pdf-viewer-annotation-draw-mode-change': CxPdfViewerAnnotationDrawModeChangeEvent;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PdfViewerAnnotationParam } from '../../types/src/pdf-viewer-toolbar';
|
|
2
|
+
|
|
3
|
+
export type CxPdfViewerAnnotationDrawParamsChangeEvent = CustomEvent<{
|
|
4
|
+
param: PdfViewerAnnotationParam;
|
|
5
|
+
value: number | string;
|
|
6
|
+
}>;
|
|
7
|
+
declare global {
|
|
8
|
+
interface GlobalEventHandlersEventMap {
|
|
9
|
+
'cx-pdf-viewer-annotation-draw-params-change': CxPdfViewerAnnotationDrawParamsChangeEvent;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PdfViewerAnnotationMode } from '../../types/src/pdf-viewer-toolbar';
|
|
2
|
+
|
|
3
|
+
export type CxPdfViewerToolbarAnnotationModeChangeEvent = CustomEvent<{
|
|
4
|
+
mode: PdfViewerAnnotationMode;
|
|
5
|
+
}>;
|
|
6
|
+
declare global {
|
|
7
|
+
interface GlobalEventHandlersEventMap {
|
|
8
|
+
'cx-pdf-viewer-toolbar-annotation-mode-change': CxPdfViewerToolbarAnnotationModeChangeEvent;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PdfViewerAnnotationParam } from '../../types/src/pdf-viewer-toolbar';
|
|
2
|
+
|
|
3
|
+
export type CxPdfViewerToolbarAnnotationParamsChangeEvent = CustomEvent<{
|
|
4
|
+
param: PdfViewerAnnotationParam;
|
|
5
|
+
value: number | string;
|
|
6
|
+
}>;
|
|
7
|
+
declare global {
|
|
8
|
+
interface GlobalEventHandlersEventMap {
|
|
9
|
+
'cx-pdf-viewer-toolbar-annotation-params-change': CxPdfViewerToolbarAnnotationParamsChangeEvent;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PdfViewerViewOnAssetLayer } from '../../types/src/pdf-viewer-toolbar';
|
|
2
|
+
|
|
3
|
+
export type CxPdfViewerToolbarViewToggleEvent = CustomEvent<{
|
|
4
|
+
checked: boolean;
|
|
5
|
+
name: PdfViewerViewOnAssetLayer;
|
|
6
|
+
}>;
|
|
7
|
+
declare global {
|
|
8
|
+
interface GlobalEventHandlersEventMap {
|
|
9
|
+
'cx-pdf-viewer-toolbar-view-toggle': CxPdfViewerToolbarViewToggleEvent;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PdfViewerViewOnAssetLayer } from '../../types/src/pdf-viewer-toolbar';
|
|
2
|
+
|
|
3
|
+
export type CxPdfViewerViewOnAssetToggleEvent = CustomEvent<{
|
|
4
|
+
checked: boolean;
|
|
5
|
+
name: PdfViewerViewOnAssetLayer;
|
|
6
|
+
}>;
|
|
7
|
+
declare global {
|
|
8
|
+
interface GlobalEventHandlersEventMap {
|
|
9
|
+
'cx-pdf-viewer-view-on-asset-toggle': CxPdfViewerViewOnAssetToggleEvent;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -81,6 +81,7 @@ export * from './cx-finish';
|
|
|
81
81
|
export * from './cx-focus';
|
|
82
82
|
export * from './cx-folder-select-children-loaded';
|
|
83
83
|
export * from './cx-folder-select-search-term-change';
|
|
84
|
+
export * from './cx-folder-select-selection-seeded';
|
|
84
85
|
export * from './cx-gallery-chunk-request';
|
|
85
86
|
export * from './cx-gallery-config-save';
|
|
86
87
|
export * from './cx-gallery-item-click';
|
|
@@ -98,6 +99,7 @@ export * from './cx-hub-connection-disconnected';
|
|
|
98
99
|
export * from './cx-hub-connection-reconnected';
|
|
99
100
|
export * from './cx-hub-connection-reconnecting';
|
|
100
101
|
export * from './cx-image-click';
|
|
102
|
+
export * from './cx-image-src-resolved';
|
|
101
103
|
export * from './cx-import-settings';
|
|
102
104
|
export * from './cx-initial-focus';
|
|
103
105
|
export * from './cx-input';
|
|
@@ -129,6 +131,16 @@ export * from './cx-page-outline-headings-count';
|
|
|
129
131
|
export * from './cx-page-outline-item-click';
|
|
130
132
|
export * from './cx-page-size-change';
|
|
131
133
|
export * from './cx-pause-upload';
|
|
134
|
+
export * from './cx-pdf-viewer-annotation-draw-mode-change';
|
|
135
|
+
export * from './cx-pdf-viewer-annotation-draw-params-change';
|
|
136
|
+
export * from './cx-pdf-viewer-more-options-select';
|
|
137
|
+
export * from './cx-pdf-viewer-toolbar-annotation-mode-change';
|
|
138
|
+
export * from './cx-pdf-viewer-toolbar-annotation-params-change';
|
|
139
|
+
export * from './cx-pdf-viewer-toolbar-click';
|
|
140
|
+
export * from './cx-pdf-viewer-toolbar-page-change';
|
|
141
|
+
export * from './cx-pdf-viewer-toolbar-scale-change';
|
|
142
|
+
export * from './cx-pdf-viewer-toolbar-view-toggle';
|
|
143
|
+
export * from './cx-pdf-viewer-view-on-asset-toggle';
|
|
132
144
|
export * from './cx-ready';
|
|
133
145
|
export * from './cx-redo';
|
|
134
146
|
export * from './cx-refresh';
|
|
@@ -200,6 +212,7 @@ export * from './cx-undo';
|
|
|
200
212
|
export * from './cx-unmark-favorite';
|
|
201
213
|
export * from './cx-video-click';
|
|
202
214
|
export * from './cx-video-editor-track-canvas-ready';
|
|
215
|
+
export * from './cx-video-src-resolved';
|
|
203
216
|
export * from './cx-video-editor-track-click';
|
|
204
217
|
export * from './cx-video-editor-transition-click';
|
|
205
218
|
export * from './cx-video-thumbnail-resolved';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { default as CxButton } from '
|
|
2
|
-
import { default as CxDropdown } from '
|
|
3
|
-
import { default as CxIcon } from '
|
|
4
|
-
import { default as CxMenu } from '
|
|
5
|
-
import { default as CxMenuItem } from '
|
|
6
|
-
import { default as CxMenuSection } from '
|
|
7
|
-
import {
|
|
8
|
-
import { default as CxTooltip } from '../../../tooltip/tooltip.ts';
|
|
1
|
+
import { default as CxButton } from '../../../../../../atoms/src/components/button/button.ts';
|
|
2
|
+
import { default as CxDropdown } from '../../../../../../atoms/src/components/dropdown/dropdown.ts';
|
|
3
|
+
import { default as CxIcon } from '../../../../../../atoms/src/components/icon/icon.ts';
|
|
4
|
+
import { default as CxMenu } from '../../../../../../atoms/src/components/menu/menu.ts';
|
|
5
|
+
import { default as CxMenuItem } from '../../../../../../atoms/src/components/menu-item/menu-item.ts';
|
|
6
|
+
import { default as CxMenuSection } from '../../../../../../atoms/src/components/menu-section/menu-section.ts';
|
|
7
|
+
import { default as CxTooltip } from '../../../../../../atoms/src/components/tooltip/tooltip.ts';
|
|
9
8
|
import { default as CortexElement } from '../../../../../../base/src/cortex-element.ts';
|
|
10
9
|
import { DropdownItem, ICellComponent, RowAction } from '../../../../../../types/src/table';
|
|
11
10
|
import { nothing } from 'lit';
|
|
11
|
+
import { RowComponent } from '../../table';
|
|
12
12
|
|
|
13
13
|
export default class CxTableRowActionsDropdown extends CortexElement {
|
|
14
14
|
static readonly dependencies: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as CxButton } from '
|
|
2
|
-
import { default as CxIcon } from '
|
|
3
|
-
import { default as CxSpace } from '
|
|
4
|
-
import { default as CxTooltip } from '
|
|
1
|
+
import { default as CxButton } from '../../../../../../atoms/src/components/button/button.ts';
|
|
2
|
+
import { default as CxIcon } from '../../../../../../atoms/src/components/icon/icon.ts';
|
|
3
|
+
import { default as CxSpace } from '../../../../../../atoms/src/components/space/space.ts';
|
|
4
|
+
import { default as CxTooltip } from '../../../../../../atoms/src/components/tooltip/tooltip.ts';
|
|
5
5
|
import { default as CortexElement } from '../../../../../../base/src/cortex-element.ts';
|
|
6
6
|
import { ICellComponent, IRowComponent, RowAction } from '../../../../../../types/src/table';
|
|
7
7
|
import { CSSResultGroup } from 'lit';
|
|
@@ -19,7 +19,8 @@ import { default as CxTableRowActionsDropdown } from './table-row-actions-dropdo
|
|
|
19
19
|
* @event {{ name: string, row: RowComponent, cell?: CellComponent }} cx-table-row-action-click - Emitted when an action is clicked.
|
|
20
20
|
*
|
|
21
21
|
* @property {RowAction[]} actions - The list of actions to display.
|
|
22
|
-
* @property {
|
|
22
|
+
* @property {IRowComponent} row - The row the actions apply to.
|
|
23
|
+
* @property {ICellComponent} [cell] - The cell the actions apply to.
|
|
23
24
|
*/
|
|
24
25
|
export default class CxTableRowActions extends CortexElement {
|
|
25
26
|
static readonly styles: CSSResultGroup;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as CxButton } from '
|
|
2
|
-
import { default as CxDropdown } from '
|
|
3
|
-
import { default as CxMenu } from '
|
|
4
|
-
import { default as CxMenuItem } from '
|
|
1
|
+
import { default as CxButton } from '../../../../../../atoms/src/components/button/button.ts';
|
|
2
|
+
import { default as CxDropdown } from '../../../../../../atoms/src/components/dropdown/dropdown.ts';
|
|
3
|
+
import { default as CxMenu } from '../../../../../../atoms/src/components/menu/menu.ts';
|
|
4
|
+
import { default as CxMenuItem } from '../../../../../../atoms/src/components/menu-item/menu-item.ts';
|
|
5
5
|
import { default as CortexElement } from '../../../../../../base/src/cortex-element.ts';
|
|
6
6
|
import { TableDropdownFilterData, TableDropdownFilterDataOption } from '../../../../../../types/src/table-toolbar';
|
|
7
7
|
import { CSSResultGroup } from 'lit';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as CxButton } from '
|
|
2
|
-
import { default as CxDropdown } from '
|
|
3
|
-
import { default as CxMenu } from '
|
|
4
|
-
import { default as CxMenuItem } from '
|
|
1
|
+
import { default as CxButton } from '../../../../../../atoms/src/components/button/button.ts';
|
|
2
|
+
import { default as CxDropdown } from '../../../../../../atoms/src/components/dropdown/dropdown.ts';
|
|
3
|
+
import { default as CxMenu } from '../../../../../../atoms/src/components/menu/menu.ts';
|
|
4
|
+
import { default as CxMenuItem } from '../../../../../../atoms/src/components/menu-item/menu-item.ts';
|
|
5
5
|
import { default as CortexElement } from '../../../../../../base/src/cortex-element.ts';
|
|
6
6
|
import { TableGroupByOption } from '../../../../../../types/src/table-toolbar';
|
|
7
7
|
import { CSSResultGroup } from 'lit';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { default as CxButton } from '
|
|
2
|
-
import { default as CxDropdown } from '
|
|
3
|
-
import { default as CxIcon } from '
|
|
4
|
-
import { default as CxMenu } from '
|
|
5
|
-
import { default as CxMenuItem } from '
|
|
1
|
+
import { default as CxButton } from '../../../../../../atoms/src/components/button/button.ts';
|
|
2
|
+
import { default as CxDropdown } from '../../../../../../atoms/src/components/dropdown/dropdown.ts';
|
|
3
|
+
import { default as CxIcon } from '../../../../../../atoms/src/components/icon/icon.ts';
|
|
4
|
+
import { default as CxMenu } from '../../../../../../atoms/src/components/menu/menu.ts';
|
|
5
|
+
import { default as CxMenuItem } from '../../../../../../atoms/src/components/menu-item/menu-item.ts';
|
|
6
6
|
import { default as CortexElement } from '../../../../../../base/src/cortex-element.ts';
|
|
7
7
|
import { SavedSearchItem } from '../../../../../../types/src/table-toolbar';
|
|
8
8
|
import { CSSResultGroup } from 'lit';
|
|
@@ -21,6 +21,7 @@ export default class CxTableSavedSearchDropdown extends CortexElement {
|
|
|
21
21
|
};
|
|
22
22
|
private readonly localize;
|
|
23
23
|
private fetchController;
|
|
24
|
+
private requestId;
|
|
24
25
|
/**
|
|
25
26
|
* The URL to load the saved searches from
|
|
26
27
|
*/
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { default as CxButton } from '
|
|
2
|
-
import { default as CxCheckbox } from '
|
|
3
|
-
import { default as CxDropdown } from '
|
|
4
|
-
import { default as CxIcon } from '
|
|
5
|
-
import { default as CxIconButton } from '
|
|
6
|
-
import { default as CxInput } from '
|
|
7
|
-
import { default as CxMenu } from '
|
|
8
|
-
import { default as CxMenuItem } from '
|
|
9
|
-
import { default as CxPagination } from '
|
|
10
|
-
import { default as CxSpace } from '
|
|
11
|
-
import { default as CxTooltip } from '
|
|
12
|
-
import { default as CxTypography } from '
|
|
1
|
+
import { default as CxButton } from '../../../../../../atoms/src/components/button/button.ts';
|
|
2
|
+
import { default as CxCheckbox } from '../../../../../../atoms/src/components/checkbox/checkbox.ts';
|
|
3
|
+
import { default as CxDropdown } from '../../../../../../atoms/src/components/dropdown/dropdown.ts';
|
|
4
|
+
import { default as CxIcon } from '../../../../../../atoms/src/components/icon/icon.ts';
|
|
5
|
+
import { default as CxIconButton } from '../../../../../../atoms/src/components/icon-button/icon-button.ts';
|
|
6
|
+
import { default as CxInput } from '../../../../../../atoms/src/components/input/input.ts';
|
|
7
|
+
import { default as CxMenu } from '../../../../../../atoms/src/components/menu/menu.ts';
|
|
8
|
+
import { default as CxMenuItem } from '../../../../../../atoms/src/components/menu-item/menu-item.ts';
|
|
9
|
+
import { default as CxPagination } from '../../../../../../atoms/src/components/pagination/pagination.ts';
|
|
10
|
+
import { default as CxSpace } from '../../../../../../atoms/src/components/space/space.ts';
|
|
11
|
+
import { default as CxTooltip } from '../../../../../../atoms/src/components/tooltip/tooltip.ts';
|
|
12
|
+
import { default as CxTypography } from '../../../../../../atoms/src/components/typography/typography.ts';
|
|
13
13
|
import { default as CortexElement } from '../../../../../../base/src/cortex-element.ts';
|
|
14
14
|
import { PaginationPlacement } from '../../../../../../types/src/table';
|
|
15
15
|
import { SavedSearchItem, TableDropdownFilterData, TableGroupByOption } from '../../../../../../types/src/table-toolbar';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { default as CxButton } from '
|
|
2
|
-
import { default as CxCheckbox } from '
|
|
3
|
-
import { default as CxDivider } from '
|
|
4
|
-
import { default as CxFormatNumber } from '
|
|
5
|
-
import { default as CxIconButton } from '
|
|
6
|
-
import { default as CxSelect } from '
|
|
7
|
-
import { default as CxSpace } from '
|
|
8
|
-
import { default as CxSpinner } from '
|
|
9
|
-
import { default as CxTooltip } from '
|
|
1
|
+
import { default as CxButton } from '../../../../atoms/src/components/button/button.ts';
|
|
2
|
+
import { default as CxCheckbox } from '../../../../atoms/src/components/checkbox/checkbox.ts';
|
|
3
|
+
import { default as CxDivider } from '../../../../atoms/src/components/divider/divider.ts';
|
|
4
|
+
import { default as CxFormatNumber } from '../../../../atoms/src/components/format-number/format-number.ts';
|
|
5
|
+
import { default as CxIconButton } from '../../../../atoms/src/components/icon-button/icon-button.ts';
|
|
6
|
+
import { default as CxSelect } from '../../../../atoms/src/components/select/select.ts';
|
|
7
|
+
import { default as CxSpace } from '../../../../atoms/src/components/space/space.ts';
|
|
8
|
+
import { default as CxSpinner } from '../../../../atoms/src/components/spinner/spinner.ts';
|
|
9
|
+
import { default as CxTooltip } from '../../../../atoms/src/components/tooltip/tooltip.ts';
|
|
10
10
|
import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
|
|
11
11
|
import { default as CxFacetedFilter } from '../../../../molecules/src/faceted-filter/faceted-filter.ts';
|
|
12
|
-
import { RowComponent, TabulatorFull as Tabulator } from '../../../../hybrid/table-core/src/index.ts';
|
|
13
12
|
import { PaginationCounter } from '../../../../types/src/pagination';
|
|
14
13
|
import { DateFilterCompareFormat, HoverMenuOptions, HttpMethod, PaginationPlacement, TableClipboardAction, ColumnDefinition, Options, OptionsColumns, OptionsSpreadsheet, SheetDefinition, TableDataFormat } from '../../../../types/src/table';
|
|
15
14
|
import { SavedSearchItem, TableDropdownFilterData, TableGroupByOption } from '../../../../types/src/table-toolbar';
|
|
16
15
|
import { CSSResultGroup, TemplateResult } from 'lit';
|
|
16
|
+
import { RowComponent, TabulatorFull as Tabulator } from '../tabulator-tables';
|
|
17
17
|
import { CxTableFooter, CxTableRowActions, CxTableToolbar } from './components';
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -874,5 +874,5 @@ declare global {
|
|
|
874
874
|
'cx-table': CxTable;
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
|
-
export * from '
|
|
877
|
+
export * from '../tabulator-tables';
|
|
878
878
|
export * from './components';
|
package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Clipboard/Clipboard.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export default class Clipboard extends Module {
|
|
|
7
7
|
static readonly moduleName = "clipboard";
|
|
8
8
|
static readonly moduleExtensions: {
|
|
9
9
|
keybindings: {
|
|
10
|
-
actions: Record<string, (this: import('
|
|
10
|
+
actions: Record<string, (this: import('../..').KeybindingsModule, e: KeyboardEvent) => void>;
|
|
11
11
|
bindings: Record<string, string | string[]>;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const extensions: {
|
|
2
2
|
keybindings: {
|
|
3
|
-
actions: Record<string, (this: import('
|
|
3
|
+
actions: Record<string, (this: import('../../..').KeybindingsModule, e: KeyboardEvent) => void>;
|
|
4
4
|
bindings: Record<string, string | string[]>;
|
|
5
5
|
};
|
|
6
6
|
};
|
package/library/packages/hybrid/table-core/src/tabulator-tables/modules/History/History.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export default class History extends Module {
|
|
|
24
24
|
static readonly moduleName = "history";
|
|
25
25
|
static readonly moduleExtensions: {
|
|
26
26
|
keybindings: {
|
|
27
|
-
actions: Record<string, (this: import('
|
|
27
|
+
actions: Record<string, (this: import('../..').KeybindingsModule, e: KeyboardEvent) => void>;
|
|
28
28
|
bindings: Record<string, string[]>;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const extensions: {
|
|
2
2
|
keybindings: {
|
|
3
|
-
actions: Record<string, (this: import('
|
|
3
|
+
actions: Record<string, (this: import('../../..').KeybindingsModule, e: KeyboardEvent) => void>;
|
|
4
4
|
bindings: Record<string, string[]>;
|
|
5
5
|
};
|
|
6
6
|
};
|
package/library/packages/hybrid/table-core/src/tabulator-tables/modules/HoverMenu/HoverMenu.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CxTableRowActions } from '@/atoms/components/table/components';
|
|
2
1
|
import { IHoverMenu } from '../../../../../../types/src/table';
|
|
2
|
+
import { CxTableRowActions } from '../../../table/table';
|
|
3
3
|
import { default as Cell } from '../../core/cell/Cell';
|
|
4
4
|
import { default as Module } from '../../core/Module';
|
|
5
5
|
import { default as Row } from '../../core/row/Row';
|
|
@@ -6,6 +6,6 @@ declare const _default: {
|
|
|
6
6
|
array: typeof array;
|
|
7
7
|
csv: typeof csv;
|
|
8
8
|
json: typeof json;
|
|
9
|
-
xlsx: (this: import('
|
|
9
|
+
xlsx: (this: import('../../..').Tabulator, input: ArrayBuffer | string) => any[][];
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
package/library/packages/hybrid/table-core/src/tabulator-tables/modules/SelectRange/SelectRange.d.ts
CHANGED
|
@@ -69,12 +69,12 @@ export default class SelectRange extends Module {
|
|
|
69
69
|
initializeWatchers(): void;
|
|
70
70
|
initializeColumn(column: Column): void;
|
|
71
71
|
updateHeaderColumn(): void;
|
|
72
|
-
getRanges(): import('
|
|
72
|
+
getRanges(): import('./RangeComponent').default[];
|
|
73
73
|
getRangesData(): any[][];
|
|
74
74
|
addRangeFromComponent(start: any, end: any): Range;
|
|
75
|
-
cellGetRanges(cell: any): import('
|
|
76
|
-
rowGetRanges(row: any): import('
|
|
77
|
-
colGetRanges(col: any): import('
|
|
75
|
+
cellGetRanges(cell: any): import('./RangeComponent').default[];
|
|
76
|
+
rowGetRanges(row: any): import('./RangeComponent').default[];
|
|
77
|
+
colGetRanges(col: any): import('./RangeComponent').default[];
|
|
78
78
|
_handleMouseUp(): void;
|
|
79
79
|
_handleKeyDown(e: KeyboardEvent): void;
|
|
80
80
|
initializeFocus(cell: Cell): void;
|
|
@@ -9,14 +9,14 @@ declare const _default: {
|
|
|
9
9
|
};
|
|
10
10
|
export: {
|
|
11
11
|
columnLookups: {
|
|
12
|
-
range: (this: import('
|
|
12
|
+
range: (this: import('../../..').Tabulator) => any[];
|
|
13
13
|
};
|
|
14
14
|
rowLookups: {
|
|
15
15
|
range: () => any[];
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
keybindings: {
|
|
19
|
-
actions: Record<string, (this: import('
|
|
19
|
+
actions: Record<string, (this: import('../SelectRange').default, e: KeyboardEvent) => void>;
|
|
20
20
|
bindings: {
|
|
21
21
|
rangeExpandDown: string;
|
|
22
22
|
rangeExpandJumpDown: string[];
|
|
@@ -67,7 +67,7 @@ export default class CxAssetPicker extends CortexElement {
|
|
|
67
67
|
* pickers) used to fetch a clean preview image and title, bypassing any stored
|
|
68
68
|
* URL/name that may be stale or have transformations applied.
|
|
69
69
|
*/
|
|
70
|
-
recordId: string;
|
|
70
|
+
recordId: string | null;
|
|
71
71
|
/** When true, uses the Site Builder search endpoint for asset fetching. */
|
|
72
72
|
isSiteBuilder: boolean;
|
|
73
73
|
private previewSrc;
|
|
@@ -152,6 +152,11 @@ export default class CxDynamicSelect extends CortexElement {
|
|
|
152
152
|
*/
|
|
153
153
|
setOptionSelected: (option: HTMLElement, selected?: boolean) => void;
|
|
154
154
|
stayOpenOnSelect: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* When set to true, closes the listbox right after an option is selected, even when `multiple` is enabled.
|
|
157
|
+
* Forwarded to the inner `cx-select` (see its `close-on-select`).
|
|
158
|
+
*/
|
|
159
|
+
closeOnSelect: boolean;
|
|
155
160
|
/**
|
|
156
161
|
* When set to true, the `cx-change` event will be emitted on every change of the value, even if the value is not changed.
|
|
157
162
|
*/
|
|
@@ -67,6 +67,27 @@ export default class CxFolderSelectTreeItem extends CortexElement {
|
|
|
67
67
|
url: string;
|
|
68
68
|
/** Overrides the default `folder` icon name when set. */
|
|
69
69
|
icon: string;
|
|
70
|
+
/**
|
|
71
|
+
* Font-icon class name resolved server-side for the folder's DocSubType
|
|
72
|
+
* (mirrors the legacy Browser tree's per-DocSubType icon config). Used
|
|
73
|
+
* when `isFontIcon` is not explicitly `false` and no `icon` override is set.
|
|
74
|
+
*/
|
|
75
|
+
iconName: string;
|
|
76
|
+
/**
|
|
77
|
+
* Relative image URL resolved server-side for the folder's DocSubType
|
|
78
|
+
* icon. Used when `isFontIcon` is explicitly `false` and no `icon`
|
|
79
|
+
* override is set.
|
|
80
|
+
*/
|
|
81
|
+
iconImageUrl: string;
|
|
82
|
+
/** Color (hex or CSS color name) resolved server-side for the DocSubType icon. */
|
|
83
|
+
iconColor: string;
|
|
84
|
+
/**
|
|
85
|
+
* Whether the server-resolved DocSubType icon is a font icon (`true`) vs.
|
|
86
|
+
* a custom image (`false`). Defaults to `false`, which combined with the
|
|
87
|
+
* empty `iconName`/`iconImageUrl` defaults falls through to the default
|
|
88
|
+
* folder icon when no DocSubType icon is configured.
|
|
89
|
+
*/
|
|
90
|
+
isFontIcon: boolean;
|
|
70
91
|
data: Folder[] | null;
|
|
71
92
|
hasMore: boolean;
|
|
72
93
|
loading: boolean;
|
|
@@ -93,6 +114,17 @@ export default class CxFolderSelectTreeItem extends CortexElement {
|
|
|
93
114
|
* Mirrors `cx-folder-item.syncBoxes` from packages/organisms/file-on-demand.
|
|
94
115
|
*/
|
|
95
116
|
syncBoxes(): Promise<void>;
|
|
117
|
+
/**
|
|
118
|
+
* Resolves the icon to render, in priority order:
|
|
119
|
+
* 1. `icon` explicit override (unchanged legacy behavior; used by the
|
|
120
|
+
* separate `extra-folder-icon` feature).
|
|
121
|
+
* 2. Server-resolved DocSubType image icon (`isFontIcon === false` and
|
|
122
|
+
* `iconImageUrl` set).
|
|
123
|
+
* 3. Server-resolved DocSubType font icon (`isFontIcon !== false` and
|
|
124
|
+
* `iconName` set).
|
|
125
|
+
* 4. Default folder icon, keeping the existing docType-driven variant.
|
|
126
|
+
*/
|
|
127
|
+
private renderIcon;
|
|
96
128
|
render(): TemplateResult;
|
|
97
129
|
}
|
|
98
130
|
declare global {
|