plggmatic 0.4.0 → 0.5.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/Appearance/usecase/appearanceCss.d.ts.map +1 -1
- package/dist/Component/usecase/choices.d.ts +125 -0
- package/dist/Component/usecase/choices.d.ts.map +1 -0
- package/dist/Component/usecase/compound.d.ts +76 -0
- package/dist/Component/usecase/compound.d.ts.map +1 -0
- package/dist/Component/usecase/display.d.ts +90 -0
- package/dist/Component/usecase/display.d.ts.map +1 -0
- package/dist/Component/usecase/feedback.d.ts +47 -0
- package/dist/Component/usecase/feedback.d.ts.map +1 -0
- package/dist/Component/usecase/navigation.d.ts +141 -0
- package/dist/Component/usecase/navigation.d.ts.map +1 -0
- package/dist/Component/usecase/partsCss.d.ts +34 -0
- package/dist/Component/usecase/partsCss.d.ts.map +1 -0
- package/dist/Component/usecase/presenting.d.ts +51 -0
- package/dist/Component/usecase/presenting.d.ts.map +1 -0
- package/dist/Component/usecase/toast.d.ts.map +1 -1
- package/dist/Component/usecase/workbench.d.ts +59 -0
- package/dist/Component/usecase/workbench.d.ts.map +1 -0
- package/dist/Meta/model/classHooks.d.ts +185 -0
- package/dist/Meta/model/classHooks.d.ts.map +1 -1
- package/dist/Navigate/index.d.ts +1 -1
- package/dist/Navigate/index.d.ts.map +1 -1
- package/dist/Navigate/model/marker.d.ts +22 -0
- package/dist/Navigate/model/marker.d.ts.map +1 -1
- package/dist/Navigate/usecase/navigationScript.d.ts.map +1 -1
- package/dist/Shell/usecase/shell.d.ts.map +1 -1
- package/dist/Shell/usecase/siteCss.d.ts +24 -0
- package/dist/Shell/usecase/siteCss.d.ts.map +1 -0
- package/dist/System/usecase/systemCss.d.ts.map +1 -1
- package/dist/columnsEntry.es.js +114 -3
- package/dist/hooksEntry.d.ts +17 -0
- package/dist/hooksEntry.d.ts.map +1 -0
- package/dist/hooksEntry.es.js +303 -0
- package/dist/index.d.ts +14 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1584 -33
- package/dist/styleEntry.es.js +126 -4
- package/package.json +5 -1
package/dist/index.es.js
CHANGED
|
@@ -17,13 +17,15 @@ const __modules = {
|
|
|
17
17
|
"use strict";
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
exports.boardClass = exports.rowLinkClass = exports.listActionClass = exports.listActionsClass = exports.listItemClass = exports.listClass = exports.menuBodyClass = exports.errorClass = exports.hintClass = exports.backClass = exports.singleClass = exports.schedulerClass = exports.crumbSepClass = exports.crumbLinkClass = exports.crumbHereClass = exports.crumbsClass = exports.colHeadLinkClass = exports.colHeadTitleClass = exports.colHeadClass = exports.fieldMediaClass = exports.fieldRefClass = exports.fieldMomentClass = exports.fieldFlagClass = exports.fieldNumClass = exports.checkLabelClass = exports.checkboxClass = exports.checkClass = exports.inputClass = exports.fieldValueClass = exports.fieldErrorClass = exports.fieldLabelClass = exports.fieldClass = exports.fieldsClass = exports.formClass = exports.toastToneClass = exports.toastCloseClass = exports.toastClass = exports.toasterClass = exports.dialogActionsClass = exports.dialogTitleClass = exports.dialogClass = exports.backdropClass = exports.modalClass = exports.disabledClass = exports.actionsClass = exports.btnDangerClass = exports.btnPrimaryClass = exports.btnClass = exports.cssPrefix = exports.frameworkName = void 0;
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.switchLabelClass = exports.switchThumbClass = exports.switchTrackClass = exports.switchClass = exports.propControlClass = exports.propLabelClass = exports.propClass = exports.propsClass = exports.toggle = exports.entry = exports.choice = exports.propertyRow = exports.propertyList = exports.calloutToneClass = exports.calloutTitleClass = void 0;
|
|
20
|
+
exports.documentColumn = exports.strip = exports.frameClass = exports.embeddedAttr = exports.embedParam = exports.embeddersMeta = exports.partnersMeta = exports.navHookName = exports.spanAttr = exports.columnAttr = exports.stripAttr = exports.compositionHref = exports.compositionQuery = exports.decodeComposition = exports.escapeChar = exports.fieldSeparator = exports.entrySeparator = exports.spanParam = exports.restParam = exports.columnsOf = exports.soloComposition = exports.columnWithSpan = exports.columnOf = exports.asidePane = exports.mainPane = exports.navPane = exports.pane = exports.columnWith = exports.column = exports.rowWith = exports.row = exports.paneClass = exports.colClass = exports.rowClass = exports.landmarkTag = exports.openedAttr = exports.replacingAttr = exports.leavingAttr = exports.trailClass = exports.foldClass = exports.selector = exports.cssVarRef = exports.cssVar = exports.queryChoiceClass = exports.queryClass = exports.tileCaptionClass = exports.tileLabelClass = exports.tileLinkClass = exports.tileBodyClass = exports.tileClass = void 0;
|
|
21
|
+
exports.advanceColumns = exports.renderMode = exports.singleColumn = exports.crumbsOf = exports.multiColumnWith = exports.multiColumn = exports.currentScreen = exports.toggleMode = exports.modes = exports.formView = exports.errorFor = exports.parseForm = exports.isPending = exports.pendingSubmission = exports.idleSubmission = exports.controlKinds = exports.toaster = exports.toast = exports.tones = exports.confirmDialog = exports.declaredForm = exports.fieldControl = exports.checkbox = exports.selectInput = exports.textArea = exports.textInput = exports.breadcrumb = exports.colHead = exports.navTree = exports.prose = exports.heading = exports.textLink = exports.button = exports.pressDim = exports.hoverDim = exports.focusRing = exports.parseSteps = exports.printSteps = exports.trailQuery = exports.decodeTrail = exports.encodeTrail = exports.stepSeparator = exports.trailParam = exports.restep = exports.stepFrom = exports.foldTrail = exports.settledTrail = exports.resolveTrail = exports.injectNavigationScript = exports.navigationInitScript = void 0;
|
|
22
|
+
exports.collection = exports.permits = exports.isDestructive = exports.action = exports.confirm = exports.immediate = exports.matchesChoice = exports.matchesQuery = exports.queryChoice = exports.query = exports.applyVia = exports.projectRow = exports.projection = exports.projectField = exports.asFlag = exports.asMoment = exports.asNum = exports.asText = exports.unusedAdapter$ = exports.noDefaultAdapter$ = exports.unknownAdapter$ = exports.diagnosticSeverity = exports.reconcile = exports.resolveAdapter = exports.named = exports.hostAdapter = exports.effect = exports.scope = exports.actor = exports.adapter = exports.dynamic = exports.async = exports.sync = exports.makeRow = exports.refTarget = exports.fieldText = exports.mediaValue$ = exports.refValue$ = exports.momentValue$ = exports.flagValue$ = exports.numValue$ = exports.textValue$ = exports.mediaValue = exports.refValue = exports.momentValue = exports.flagValue = exports.numValue = exports.textValue = exports.fieldOf = exports.field = void 0;
|
|
23
|
+
exports.emit$ = exports.enumArg$ = exports.textArg$ = exports.nullary$ = exports.tool = exports.runFlowEffect = exports.emit = exports.enumArg = exports.textArg = exports.nullary = exports.resumeFlow = exports.startFlow = exports.readFlow = exports.flowSchema = exports.defaultFuel = exports.schedule = exports.sceneToUrl = exports.parseUrl = exports.detailLevel$ = exports.boardLevel$ = exports.listLevel$ = exports.menuLevel$ = exports.failed = exports.loaded = exports.cancelAction = exports.confirmAction = exports.requestAction = exports.queryChoiceInput = exports.queryInput = exports.select = exports.openMenu = exports.urlChanged = exports.navigate = exports.sliceOf = exports.focusedView = exports.binding = exports.detailView$ = exports.listView$ = exports.menuView$ = exports.detailView = exports.listView = exports.menuView = exports.choiceOf = exports.slotOf = exports.emptyModel = exports.declare = exports.menu = exports.menuEntry = exports.actionById = exports.collectionById = void 0;
|
|
24
|
+
exports.navNumberedClass = exports.navClass = exports.widthAttr = exports.programmaticScrollAttr = exports.phoneAttr = exports.menuCompactAttr = exports.menuOpenAttr = exports.seamClass = exports.menuClass = exports.browserClass = exports.pinnedClass = exports.workspaceClass = exports.workspaceCss = exports.workspaceOptions = exports.reachableScroll = exports.visibleColumnStart = exports.stripStyle = exports.stripVar = exports.stripGeometry = exports.stripMetrics = exports.pragmaticThemeWithPalette = exports.pragmaticTheme = exports.sidebarNavRevealScript = exports.sidebarNavCss = exports.sidebarNavClass = exports.sidebarNav = exports.themeToggleCss = exports.moonClass = exports.sunClass = exports.themeToggleClass = exports.staticThemeToggle = exports.themeToggle = exports.inertModelContext = exports.detectModelContext = exports.invokeWith = exports.syncCatalog = exports.diffCatalog = exports.descriptorOf = exports.ran$ = exports.stalled$ = exports.rejected$ = exports.ran = exports.stalled = exports.rejected = exports.runFlow = exports.flowSchemaOf = exports.flowHost = exports.catalogOf = exports.rowCap = exports.runFlow$ = void 0;
|
|
25
|
+
exports.shellRailGroupClass = exports.shellRailClass = exports.shellNoteClass = exports.figureBodyClass = exports.figurePageClass = exports.shellPageClass = exports.shellFootClass = exports.shellFoldClass = exports.shellBrandClass = exports.shellBodyClass = exports.shellTitleClass = exports.shellHeadClass = exports.shellSideClass = exports.shellClass = exports.asAppearance = exports.appearanceCss = exports.soft = exports.monochrome = exports.systemCss = exports.kitAppearanceCss = exports.kitSystemCss = exports.kitCss = exports.shell = exports.carouselInitScript = exports.carouselNextClass = exports.carouselPrevClass = exports.carouselCss = exports.shareInsetVar = exports.spanTwoClass = exports.shareClass = exports.shareCss = exports.shareOptions = exports.savePreference = exports.readPreference = exports.widthColumn = exports.menuColumn = exports.browser = exports.pinnedPanel = exports.workspaceWith = exports.workspace = exports.revealColumn = exports.revealOptions = exports.glideEase = exports.revealTarget = exports.navSubgroupTitleClass = exports.navSubgroupClass = exports.navFlatClass = exports.navLinkClass = exports.navGroupTitleClass = exports.navGroupClass = void 0;
|
|
26
|
+
exports.siteSectionClass = exports.siteStripClass = exports.siteBodyClass = exports.siteCss = exports.preview = exports.swatches = exports.swatch = exports.split = exports.cluster = exports.exampleBox = exports.statusClass = exports.codeInputClass = exports.rowsRowClass = exports.rowsClass = exports.splitterClass = exports.statusLine = exports.codeInput = exports.rowList = exports.splitter = exports.switchLabelClass = exports.switchThumbClass = exports.switchTrackClass = exports.switchClass = exports.propControlClass = exports.propLabelClass = exports.propClass = exports.propsClass = exports.toggle = exports.entry = exports.choice = exports.propertyRow = exports.propertyList = exports.calloutToneClass = exports.calloutTitleClass = exports.calloutClass = exports.shellOpenAttr = exports.shellBackdropClass = exports.shellMenuId = exports.shellMenuClass = exports.shellMenuButtonClass = exports.shellBarBrandClass = exports.shellBarClass = exports.shellMinAttr = exports.docClass = exports.docFootClass = exports.shellSideLinkClass = exports.shellCaptionClass = exports.chromeLinkLabelClass = exports.chromeLinkClass = exports.chromeLinksClass = void 0;
|
|
27
|
+
exports.sortedOn = exports.drawer = exports.toggled = exports.checkGroup = exports.suggestInput = exports.fileInput = exports.slider = exports.searchField = exports.dateInput = exports.numberInput = exports.segmented = exports.radioGroup = exports.popover = exports.floatingIconButton = exports.iconButton = exports.menuButton = exports.toolbar = exports.toolGroup = exports.toolButton = exports.accordion = exports.steps = exports.pagination = exports.pageNumbers = exports.tabs = exports.tooltip = exports.skeleton = exports.spinner = exports.progress = exports.alert = exports.itemList = exports.emptyState = exports.codeBlock = exports.avatar = exports.divider = exports.descList = exports.dataTable = exports.card = exports.tag = exports.badge = exports.toolIconClass = exports.toolClass = exports.toolGroupClass = exports.toolbarClass = exports.iconButtonRoundClass = exports.iconButtonClass = exports.siteDrawerNoteClass = exports.siteBarNoteClass = exports.siteBarHomeClass = exports.siteMainClass = exports.siteFillClass = void 0;
|
|
28
|
+
exports.calendar = exports.monthWeeks = exports.sortTable = exports.sortedBy = void 0;
|
|
27
29
|
var identity_1 = require("src/Meta/model/identity.ts");
|
|
28
30
|
Object.defineProperty(exports, "frameworkName", { enumerable: true, get: function () { return identity_1.frameworkName; } });
|
|
29
31
|
Object.defineProperty(exports, "cssPrefix", { enumerable: true, get: function () { return identity_1.cssPrefix; } });
|
|
@@ -121,6 +123,11 @@ Object.defineProperty(exports, "stripAttr", { enumerable: true, get: function ()
|
|
|
121
123
|
Object.defineProperty(exports, "columnAttr", { enumerable: true, get: function () { return Navigate_1.columnAttr; } });
|
|
122
124
|
Object.defineProperty(exports, "spanAttr", { enumerable: true, get: function () { return Navigate_1.spanAttr; } });
|
|
123
125
|
Object.defineProperty(exports, "navHookName", { enumerable: true, get: function () { return Navigate_1.navHookName; } });
|
|
126
|
+
Object.defineProperty(exports, "partnersMeta", { enumerable: true, get: function () { return Navigate_1.partnersMeta; } });
|
|
127
|
+
Object.defineProperty(exports, "embeddersMeta", { enumerable: true, get: function () { return Navigate_1.embeddersMeta; } });
|
|
128
|
+
Object.defineProperty(exports, "embedParam", { enumerable: true, get: function () { return Navigate_1.embedParam; } });
|
|
129
|
+
Object.defineProperty(exports, "embeddedAttr", { enumerable: true, get: function () { return Navigate_1.embeddedAttr; } });
|
|
130
|
+
Object.defineProperty(exports, "frameClass", { enumerable: true, get: function () { return Navigate_1.frameClass; } });
|
|
124
131
|
Object.defineProperty(exports, "strip", { enumerable: true, get: function () { return Navigate_1.strip; } });
|
|
125
132
|
Object.defineProperty(exports, "documentColumn", { enumerable: true, get: function () { return Navigate_1.documentColumn; } });
|
|
126
133
|
Object.defineProperty(exports, "navigationInitScript", { enumerable: true, get: function () { return Navigate_1.navigationInitScript; } });
|
|
@@ -411,6 +418,17 @@ Object.defineProperty(exports, "shellBrandClass", { enumerable: true, get: funct
|
|
|
411
418
|
Object.defineProperty(exports, "shellFoldClass", { enumerable: true, get: function () { return classHooks_5.shellFoldClass; } });
|
|
412
419
|
Object.defineProperty(exports, "shellFootClass", { enumerable: true, get: function () { return classHooks_5.shellFootClass; } });
|
|
413
420
|
Object.defineProperty(exports, "shellPageClass", { enumerable: true, get: function () { return classHooks_5.shellPageClass; } });
|
|
421
|
+
Object.defineProperty(exports, "figurePageClass", { enumerable: true, get: function () { return classHooks_5.figurePageClass; } });
|
|
422
|
+
Object.defineProperty(exports, "figureBodyClass", { enumerable: true, get: function () { return classHooks_5.figureBodyClass; } });
|
|
423
|
+
Object.defineProperty(exports, "shellNoteClass", { enumerable: true, get: function () { return classHooks_5.shellNoteClass; } });
|
|
424
|
+
Object.defineProperty(exports, "shellRailClass", { enumerable: true, get: function () { return classHooks_5.shellRailClass; } });
|
|
425
|
+
Object.defineProperty(exports, "shellRailGroupClass", { enumerable: true, get: function () { return classHooks_5.shellRailGroupClass; } });
|
|
426
|
+
Object.defineProperty(exports, "chromeLinksClass", { enumerable: true, get: function () { return classHooks_5.chromeLinksClass; } });
|
|
427
|
+
Object.defineProperty(exports, "chromeLinkClass", { enumerable: true, get: function () { return classHooks_5.chromeLinkClass; } });
|
|
428
|
+
Object.defineProperty(exports, "chromeLinkLabelClass", { enumerable: true, get: function () { return classHooks_5.chromeLinkLabelClass; } });
|
|
429
|
+
Object.defineProperty(exports, "shellCaptionClass", { enumerable: true, get: function () { return classHooks_5.shellCaptionClass; } });
|
|
430
|
+
Object.defineProperty(exports, "shellSideLinkClass", { enumerable: true, get: function () { return classHooks_5.shellSideLinkClass; } });
|
|
431
|
+
Object.defineProperty(exports, "docFootClass", { enumerable: true, get: function () { return classHooks_5.docFootClass; } });
|
|
414
432
|
Object.defineProperty(exports, "docClass", { enumerable: true, get: function () { return classHooks_5.docClass; } });
|
|
415
433
|
Object.defineProperty(exports, "shellMinAttr", { enumerable: true, get: function () { return classHooks_5.shellMinAttr; } });
|
|
416
434
|
Object.defineProperty(exports, "shellBarClass", { enumerable: true, get: function () { return classHooks_5.shellBarClass; } });
|
|
@@ -438,6 +456,91 @@ Object.defineProperty(exports, "switchClass", { enumerable: true, get: function
|
|
|
438
456
|
Object.defineProperty(exports, "switchTrackClass", { enumerable: true, get: function () { return classHooks_6.switchTrackClass; } });
|
|
439
457
|
Object.defineProperty(exports, "switchThumbClass", { enumerable: true, get: function () { return classHooks_6.switchThumbClass; } });
|
|
440
458
|
Object.defineProperty(exports, "switchLabelClass", { enumerable: true, get: function () { return classHooks_6.switchLabelClass; } });
|
|
459
|
+
var workbench_1 = require("src/Component/usecase/workbench.ts");
|
|
460
|
+
Object.defineProperty(exports, "splitter", { enumerable: true, get: function () { return workbench_1.splitter; } });
|
|
461
|
+
Object.defineProperty(exports, "rowList", { enumerable: true, get: function () { return workbench_1.rowList; } });
|
|
462
|
+
Object.defineProperty(exports, "codeInput", { enumerable: true, get: function () { return workbench_1.codeInput; } });
|
|
463
|
+
Object.defineProperty(exports, "statusLine", { enumerable: true, get: function () { return workbench_1.statusLine; } });
|
|
464
|
+
var classHooks_7 = require("src/Meta/model/classHooks.ts");
|
|
465
|
+
Object.defineProperty(exports, "splitterClass", { enumerable: true, get: function () { return classHooks_7.splitterClass; } });
|
|
466
|
+
Object.defineProperty(exports, "rowsClass", { enumerable: true, get: function () { return classHooks_7.rowsClass; } });
|
|
467
|
+
Object.defineProperty(exports, "rowsRowClass", { enumerable: true, get: function () { return classHooks_7.rowsRowClass; } });
|
|
468
|
+
Object.defineProperty(exports, "codeInputClass", { enumerable: true, get: function () { return classHooks_7.codeInputClass; } });
|
|
469
|
+
Object.defineProperty(exports, "statusClass", { enumerable: true, get: function () { return classHooks_7.statusClass; } });
|
|
470
|
+
var presenting_1 = require("src/Component/usecase/presenting.ts");
|
|
471
|
+
Object.defineProperty(exports, "exampleBox", { enumerable: true, get: function () { return presenting_1.exampleBox; } });
|
|
472
|
+
Object.defineProperty(exports, "cluster", { enumerable: true, get: function () { return presenting_1.cluster; } });
|
|
473
|
+
Object.defineProperty(exports, "split", { enumerable: true, get: function () { return presenting_1.split; } });
|
|
474
|
+
Object.defineProperty(exports, "swatch", { enumerable: true, get: function () { return presenting_1.swatch; } });
|
|
475
|
+
Object.defineProperty(exports, "swatches", { enumerable: true, get: function () { return presenting_1.swatches; } });
|
|
476
|
+
Object.defineProperty(exports, "preview", { enumerable: true, get: function () { return presenting_1.preview; } });
|
|
477
|
+
var siteCss_1 = require("src/Shell/usecase/siteCss.ts");
|
|
478
|
+
Object.defineProperty(exports, "siteCss", { enumerable: true, get: function () { return siteCss_1.siteCss; } });
|
|
479
|
+
var classHooks_8 = require("src/Meta/model/classHooks.ts");
|
|
480
|
+
Object.defineProperty(exports, "siteBodyClass", { enumerable: true, get: function () { return classHooks_8.siteBodyClass; } });
|
|
481
|
+
Object.defineProperty(exports, "siteStripClass", { enumerable: true, get: function () { return classHooks_8.siteStripClass; } });
|
|
482
|
+
Object.defineProperty(exports, "siteSectionClass", { enumerable: true, get: function () { return classHooks_8.siteSectionClass; } });
|
|
483
|
+
Object.defineProperty(exports, "siteFillClass", { enumerable: true, get: function () { return classHooks_8.siteFillClass; } });
|
|
484
|
+
Object.defineProperty(exports, "siteMainClass", { enumerable: true, get: function () { return classHooks_8.siteMainClass; } });
|
|
485
|
+
Object.defineProperty(exports, "siteBarHomeClass", { enumerable: true, get: function () { return classHooks_8.siteBarHomeClass; } });
|
|
486
|
+
Object.defineProperty(exports, "siteBarNoteClass", { enumerable: true, get: function () { return classHooks_8.siteBarNoteClass; } });
|
|
487
|
+
Object.defineProperty(exports, "siteDrawerNoteClass", { enumerable: true, get: function () { return classHooks_8.siteDrawerNoteClass; } });
|
|
488
|
+
var classHooks_9 = require("src/Meta/model/classHooks.ts");
|
|
489
|
+
Object.defineProperty(exports, "iconButtonClass", { enumerable: true, get: function () { return classHooks_9.iconButtonClass; } });
|
|
490
|
+
Object.defineProperty(exports, "iconButtonRoundClass", { enumerable: true, get: function () { return classHooks_9.iconButtonRoundClass; } });
|
|
491
|
+
var classHooks_10 = require("src/Meta/model/classHooks.ts");
|
|
492
|
+
Object.defineProperty(exports, "toolbarClass", { enumerable: true, get: function () { return classHooks_10.toolbarClass; } });
|
|
493
|
+
Object.defineProperty(exports, "toolGroupClass", { enumerable: true, get: function () { return classHooks_10.toolGroupClass; } });
|
|
494
|
+
Object.defineProperty(exports, "toolClass", { enumerable: true, get: function () { return classHooks_10.toolClass; } });
|
|
495
|
+
Object.defineProperty(exports, "toolIconClass", { enumerable: true, get: function () { return classHooks_10.toolIconClass; } });
|
|
496
|
+
var display_1 = require("src/Component/usecase/display.ts");
|
|
497
|
+
Object.defineProperty(exports, "badge", { enumerable: true, get: function () { return display_1.badge; } });
|
|
498
|
+
Object.defineProperty(exports, "tag", { enumerable: true, get: function () { return display_1.tag; } });
|
|
499
|
+
Object.defineProperty(exports, "card", { enumerable: true, get: function () { return display_1.card; } });
|
|
500
|
+
Object.defineProperty(exports, "dataTable", { enumerable: true, get: function () { return display_1.dataTable; } });
|
|
501
|
+
Object.defineProperty(exports, "descList", { enumerable: true, get: function () { return display_1.descList; } });
|
|
502
|
+
Object.defineProperty(exports, "divider", { enumerable: true, get: function () { return display_1.divider; } });
|
|
503
|
+
Object.defineProperty(exports, "avatar", { enumerable: true, get: function () { return display_1.avatar; } });
|
|
504
|
+
Object.defineProperty(exports, "codeBlock", { enumerable: true, get: function () { return display_1.codeBlock; } });
|
|
505
|
+
Object.defineProperty(exports, "emptyState", { enumerable: true, get: function () { return display_1.emptyState; } });
|
|
506
|
+
Object.defineProperty(exports, "itemList", { enumerable: true, get: function () { return display_1.itemList; } });
|
|
507
|
+
var feedback_1 = require("src/Component/usecase/feedback.ts");
|
|
508
|
+
Object.defineProperty(exports, "alert", { enumerable: true, get: function () { return feedback_1.alert; } });
|
|
509
|
+
Object.defineProperty(exports, "progress", { enumerable: true, get: function () { return feedback_1.progress; } });
|
|
510
|
+
Object.defineProperty(exports, "spinner", { enumerable: true, get: function () { return feedback_1.spinner; } });
|
|
511
|
+
Object.defineProperty(exports, "skeleton", { enumerable: true, get: function () { return feedback_1.skeleton; } });
|
|
512
|
+
Object.defineProperty(exports, "tooltip", { enumerable: true, get: function () { return feedback_1.tooltip; } });
|
|
513
|
+
var navigation_1 = require("src/Component/usecase/navigation.ts");
|
|
514
|
+
Object.defineProperty(exports, "tabs", { enumerable: true, get: function () { return navigation_1.tabs; } });
|
|
515
|
+
Object.defineProperty(exports, "pageNumbers", { enumerable: true, get: function () { return navigation_1.pageNumbers; } });
|
|
516
|
+
Object.defineProperty(exports, "pagination", { enumerable: true, get: function () { return navigation_1.pagination; } });
|
|
517
|
+
Object.defineProperty(exports, "steps", { enumerable: true, get: function () { return navigation_1.steps; } });
|
|
518
|
+
Object.defineProperty(exports, "accordion", { enumerable: true, get: function () { return navigation_1.accordion; } });
|
|
519
|
+
Object.defineProperty(exports, "toolButton", { enumerable: true, get: function () { return navigation_1.toolButton; } });
|
|
520
|
+
Object.defineProperty(exports, "toolGroup", { enumerable: true, get: function () { return navigation_1.toolGroup; } });
|
|
521
|
+
Object.defineProperty(exports, "toolbar", { enumerable: true, get: function () { return navigation_1.toolbar; } });
|
|
522
|
+
Object.defineProperty(exports, "menuButton", { enumerable: true, get: function () { return navigation_1.menuButton; } });
|
|
523
|
+
Object.defineProperty(exports, "iconButton", { enumerable: true, get: function () { return navigation_1.iconButton; } });
|
|
524
|
+
Object.defineProperty(exports, "floatingIconButton", { enumerable: true, get: function () { return navigation_1.floatingIconButton; } });
|
|
525
|
+
Object.defineProperty(exports, "popover", { enumerable: true, get: function () { return navigation_1.popover; } });
|
|
526
|
+
var choices_1 = require("src/Component/usecase/choices.ts");
|
|
527
|
+
Object.defineProperty(exports, "radioGroup", { enumerable: true, get: function () { return choices_1.radioGroup; } });
|
|
528
|
+
Object.defineProperty(exports, "segmented", { enumerable: true, get: function () { return choices_1.segmented; } });
|
|
529
|
+
Object.defineProperty(exports, "numberInput", { enumerable: true, get: function () { return choices_1.numberInput; } });
|
|
530
|
+
Object.defineProperty(exports, "dateInput", { enumerable: true, get: function () { return choices_1.dateInput; } });
|
|
531
|
+
Object.defineProperty(exports, "searchField", { enumerable: true, get: function () { return choices_1.searchField; } });
|
|
532
|
+
Object.defineProperty(exports, "slider", { enumerable: true, get: function () { return choices_1.slider; } });
|
|
533
|
+
Object.defineProperty(exports, "fileInput", { enumerable: true, get: function () { return choices_1.fileInput; } });
|
|
534
|
+
Object.defineProperty(exports, "suggestInput", { enumerable: true, get: function () { return choices_1.suggestInput; } });
|
|
535
|
+
Object.defineProperty(exports, "checkGroup", { enumerable: true, get: function () { return choices_1.checkGroup; } });
|
|
536
|
+
Object.defineProperty(exports, "toggled", { enumerable: true, get: function () { return choices_1.toggled; } });
|
|
537
|
+
var compound_1 = require("src/Component/usecase/compound.ts");
|
|
538
|
+
Object.defineProperty(exports, "drawer", { enumerable: true, get: function () { return compound_1.drawer; } });
|
|
539
|
+
Object.defineProperty(exports, "sortedOn", { enumerable: true, get: function () { return compound_1.sortedOn; } });
|
|
540
|
+
Object.defineProperty(exports, "sortedBy", { enumerable: true, get: function () { return compound_1.sortedBy; } });
|
|
541
|
+
Object.defineProperty(exports, "sortTable", { enumerable: true, get: function () { return compound_1.sortTable; } });
|
|
542
|
+
Object.defineProperty(exports, "monthWeeks", { enumerable: true, get: function () { return compound_1.monthWeeks; } });
|
|
543
|
+
Object.defineProperty(exports, "calendar", { enumerable: true, get: function () { return compound_1.calendar; } });
|
|
441
544
|
|
|
442
545
|
},
|
|
443
546
|
"src/Meta/model/identity.ts": function (module, exports, require) {
|
|
@@ -451,9 +554,11 @@ exports.cssPrefix = "pm";
|
|
|
451
554
|
"src/Meta/model/classHooks.ts": function (module, exports, require) {
|
|
452
555
|
"use strict";
|
|
453
556
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
454
|
-
exports.
|
|
455
|
-
exports.
|
|
456
|
-
exports.selector = exports.cssVarRef = exports.cssVar = exports.queryChoiceClass = exports.queryClass = exports.tileCaptionClass = exports.tileLabelClass = exports.tileLinkClass = exports.tileBodyClass = exports.tileClass = exports.boardClass = exports.rowLinkClass = exports.listActionClass = exports.listActionsClass = exports.listItemClass = exports.listClass = exports.menuBodyClass = exports.errorClass = exports.hintClass = exports.backClass = exports.singleClass = exports.schedulerClass = void 0;
|
|
557
|
+
exports.spanTwoClass = exports.shareClass = exports.calloutToneClass = exports.calloutTitleClass = exports.calloutClass = exports.shellOpenAttr = exports.shellBackdropClass = exports.shellMenuId = exports.shellMenuClass = exports.shellMenuButtonClass = exports.shellBarBrandClass = exports.shellBarClass = exports.shellMinAttr = exports.shellNoteClass = exports.docFootClass = exports.shellSideLinkClass = exports.shellCaptionClass = exports.chromeLinkLabelClass = exports.chromeLinkClass = exports.chromeLinksClass = exports.shellRailGroupClass = exports.shellRailClass = exports.figureBodyClass = exports.figurePageClass = exports.docClass = exports.shellPageClass = exports.shellFootClass = exports.shellFoldClass = exports.shellBrandClass = exports.shellBodyClass = exports.shellTitleClass = exports.shellHeadClass = exports.shellSideClass = exports.shellClass = exports.switchLabelClass = exports.switchThumbClass = exports.switchTrackClass = exports.switchClass = exports.propControlClass = exports.propLabelClass = exports.propClass = exports.propsClass = exports.trailClass = exports.openedAttr = exports.replacingAttr = exports.leavingAttr = exports.foldClass = exports.paneClass = exports.colClass = exports.rowClass = void 0;
|
|
558
|
+
exports.fieldNumClass = exports.checkLabelClass = exports.checkboxClass = exports.checkClass = exports.inputClass = exports.fieldValueClass = exports.fieldErrorClass = exports.fieldLabelClass = exports.fieldClass = exports.fieldsClass = exports.formClass = exports.toastToneClass = exports.toastCloseClass = exports.toastClass = exports.toasterClass = exports.dialogActionsClass = exports.dialogTitleClass = exports.dialogClass = exports.backdropClass = exports.modalClass = exports.disabledClass = exports.actionsClass = exports.btnDangerClass = exports.btnPrimaryClass = exports.btnClass = exports.moonClass = exports.sunClass = exports.themeToggleClass = exports.navSubgroupTitleClass = exports.navSubgroupClass = exports.navFlatClass = exports.navLabelClass = exports.navLinkClass = exports.navGroupTitleClass = exports.navGroupClass = exports.navNumberedClass = exports.navClass = exports.widthAttr = exports.programmaticScrollAttr = exports.phoneAttr = exports.menuCompactAttr = exports.menuOpenAttr = exports.seamClass = exports.menuClass = exports.browserClass = exports.pinnedClass = exports.workspaceClass = exports.carouselNextClass = exports.carouselPrevClass = exports.shareInsetVar = void 0;
|
|
559
|
+
exports.emptyTitleClass = exports.emptyClass = exports.codeBlockClass = exports.avatarClass = exports.dividerClass = exports.descClass = exports.numericClass = exports.tableClass = exports.tableWrapClass = exports.cardFootClass = exports.cardBodyClass = exports.cardHeadClass = exports.cardClass = exports.tagRemoveClass = exports.tagClass = exports.badgeToneClass = exports.badgeClass = exports.selector = exports.cssVarRef = exports.cssVar = exports.queryChoiceClass = exports.queryClass = exports.tileCaptionClass = exports.tileLabelClass = exports.tileLinkClass = exports.tileBodyClass = exports.tileClass = exports.boardClass = exports.rowLinkClass = exports.listActionClass = exports.listActionsClass = exports.listItemClass = exports.listClass = exports.menuBodyClass = exports.errorClass = exports.hintClass = exports.backClass = exports.singleClass = exports.schedulerClass = exports.crumbSepClass = exports.crumbLinkClass = exports.crumbHereClass = exports.crumbsClass = exports.colHeadLinkClass = exports.colHeadTitleClass = exports.colHeadClass = exports.fieldMediaClass = exports.fieldRefClass = exports.fieldMomentClass = exports.fieldFlagClass = void 0;
|
|
560
|
+
exports.calendarGridClass = exports.calendarHeadClass = exports.calendarClass = exports.sortClass = exports.checksItemClass = exports.checksClass = exports.sideAttr = exports.drawerBodyClass = exports.drawerHeadClass = exports.drawerClass = exports.popoverBodyClass = exports.popoverClass = exports.searchClass = exports.rangeValueClass = exports.rangeClass = exports.segmentClass = exports.segmentedClass = exports.radioClass = exports.radiosClass = exports.iconButtonClass = exports.menuItemClass = exports.menuListClass = exports.menuButtonClass = exports.accordionBodyClass = exports.accordionItemClass = exports.accordionClass = exports.stepClass = exports.stepsClass = exports.pagerItemClass = exports.pagerClass = exports.tabClass = exports.tabsClass = exports.tipClass = exports.tipAttr = exports.skeletonLineClass = exports.skeletonClass = exports.spinnerMarkClass = exports.spinnerClass = exports.busyAttr = exports.progressBarClass = exports.progressTrackClass = exports.progressClass = exports.alertTitleClass = exports.alertToneClass = exports.alertClass = exports.itemsTrailClass = exports.itemsNoteClass = exports.itemsTitleClass = exports.itemsRowClass = exports.itemsClass = void 0;
|
|
561
|
+
exports.iconButtonRoundClass = exports.siteDrawerNoteClass = exports.siteBarNoteClass = exports.siteBarHomeClass = exports.siteMainClass = exports.siteFillClass = exports.siteSectionClass = exports.siteStripClass = exports.siteBodyClass = exports.previewBarClass = exports.previewClass = exports.swatchChipClass = exports.swatchClass = exports.swatchesClass = exports.splitPaneClass = exports.splitClass = exports.clusterClass = exports.exampleItemClass = exports.exampleClass = exports.statusClass = exports.codeInputClass = exports.rowsRowClass = exports.rowsClass = exports.splitterClass = exports.toolIconClass = exports.toolClass = exports.toolGroupClass = exports.toolbarClass = exports.calendarDayClass = void 0;
|
|
457
562
|
const identity_1 = require("src/Meta/model/identity.ts");
|
|
458
563
|
const hook = (name) => `${identity_1.cssPrefix}-${name}`;
|
|
459
564
|
exports.rowClass = hook("row");
|
|
@@ -482,6 +587,17 @@ exports.shellFoldClass = hook("shell-fold");
|
|
|
482
587
|
exports.shellFootClass = hook("shell-foot");
|
|
483
588
|
exports.shellPageClass = hook("shell-page");
|
|
484
589
|
exports.docClass = hook("doc");
|
|
590
|
+
exports.figurePageClass = hook("figure-page");
|
|
591
|
+
exports.figureBodyClass = hook("figure-body");
|
|
592
|
+
exports.shellRailClass = hook("shell-rail");
|
|
593
|
+
exports.shellRailGroupClass = hook("shell-rail-group");
|
|
594
|
+
exports.chromeLinksClass = hook("chrome-links");
|
|
595
|
+
exports.chromeLinkClass = hook("chrome-link");
|
|
596
|
+
exports.chromeLinkLabelClass = hook("chrome-link-label");
|
|
597
|
+
exports.shellCaptionClass = hook("shell-caption");
|
|
598
|
+
exports.shellSideLinkClass = hook("shell-side-link");
|
|
599
|
+
exports.docFootClass = hook("doc-foot");
|
|
600
|
+
exports.shellNoteClass = hook("shell-note");
|
|
485
601
|
exports.shellMinAttr = `data-${identity_1.cssPrefix}-shell-min`;
|
|
486
602
|
exports.shellBarClass = hook("shell-bar");
|
|
487
603
|
exports.shellBarBrandClass = hook("shell-bar-brand");
|
|
@@ -583,6 +699,104 @@ const cssVarRef = (name) => `var(${(0, exports.cssVar)(name)})`;
|
|
|
583
699
|
exports.cssVarRef = cssVarRef;
|
|
584
700
|
const selector = (hookClass) => `.${hookClass}`;
|
|
585
701
|
exports.selector = selector;
|
|
702
|
+
exports.badgeClass = hook("badge");
|
|
703
|
+
const badgeToneClass = (tone) => hook(`badge-${tone}`);
|
|
704
|
+
exports.badgeToneClass = badgeToneClass;
|
|
705
|
+
exports.tagClass = hook("tag");
|
|
706
|
+
exports.tagRemoveClass = hook("tag-remove");
|
|
707
|
+
exports.cardClass = hook("card");
|
|
708
|
+
exports.cardHeadClass = hook("card-head");
|
|
709
|
+
exports.cardBodyClass = hook("card-body");
|
|
710
|
+
exports.cardFootClass = hook("card-foot");
|
|
711
|
+
exports.tableWrapClass = hook("table-wrap");
|
|
712
|
+
exports.tableClass = hook("table");
|
|
713
|
+
exports.numericClass = hook("num");
|
|
714
|
+
exports.descClass = hook("desc");
|
|
715
|
+
exports.dividerClass = hook("divider");
|
|
716
|
+
exports.avatarClass = hook("avatar");
|
|
717
|
+
exports.codeBlockClass = hook("code");
|
|
718
|
+
exports.emptyClass = hook("empty");
|
|
719
|
+
exports.emptyTitleClass = hook("empty-title");
|
|
720
|
+
exports.itemsClass = hook("items");
|
|
721
|
+
exports.itemsRowClass = hook("items-row");
|
|
722
|
+
exports.itemsTitleClass = hook("items-title");
|
|
723
|
+
exports.itemsNoteClass = hook("items-note");
|
|
724
|
+
exports.itemsTrailClass = hook("items-trail");
|
|
725
|
+
exports.alertClass = hook("alert");
|
|
726
|
+
const alertToneClass = (tone) => hook(`alert-${tone}`);
|
|
727
|
+
exports.alertToneClass = alertToneClass;
|
|
728
|
+
exports.alertTitleClass = hook("alert-title");
|
|
729
|
+
exports.progressClass = hook("progress");
|
|
730
|
+
exports.progressTrackClass = hook("progress-track");
|
|
731
|
+
exports.progressBarClass = hook("progress-bar");
|
|
732
|
+
exports.busyAttr = `data-${identity_1.cssPrefix}-busy`;
|
|
733
|
+
exports.spinnerClass = hook("spinner");
|
|
734
|
+
exports.spinnerMarkClass = hook("spinner-mark");
|
|
735
|
+
exports.skeletonClass = hook("skeleton");
|
|
736
|
+
exports.skeletonLineClass = hook("skeleton-line");
|
|
737
|
+
exports.tipAttr = `data-${identity_1.cssPrefix}-tip`;
|
|
738
|
+
exports.tipClass = hook("tip");
|
|
739
|
+
exports.tabsClass = hook("tabs");
|
|
740
|
+
exports.tabClass = hook("tab");
|
|
741
|
+
exports.pagerClass = hook("pager");
|
|
742
|
+
exports.pagerItemClass = hook("pager-item");
|
|
743
|
+
exports.stepsClass = hook("steps");
|
|
744
|
+
exports.stepClass = hook("step");
|
|
745
|
+
exports.accordionClass = hook("accordion");
|
|
746
|
+
exports.accordionItemClass = hook("accordion-item");
|
|
747
|
+
exports.accordionBodyClass = hook("accordion-body");
|
|
748
|
+
exports.menuButtonClass = hook("menu-button");
|
|
749
|
+
exports.menuListClass = hook("menu-list");
|
|
750
|
+
exports.menuItemClass = hook("menu-item");
|
|
751
|
+
exports.iconButtonClass = hook("icon-btn");
|
|
752
|
+
exports.radiosClass = hook("radios");
|
|
753
|
+
exports.radioClass = hook("radio");
|
|
754
|
+
exports.segmentedClass = hook("segmented");
|
|
755
|
+
exports.segmentClass = hook("segment");
|
|
756
|
+
exports.rangeClass = hook("range");
|
|
757
|
+
exports.rangeValueClass = hook("range-value");
|
|
758
|
+
exports.searchClass = hook("search");
|
|
759
|
+
exports.popoverClass = hook("popover");
|
|
760
|
+
exports.popoverBodyClass = hook("popover-body");
|
|
761
|
+
exports.drawerClass = hook("drawer");
|
|
762
|
+
exports.drawerHeadClass = hook("drawer-head");
|
|
763
|
+
exports.drawerBodyClass = hook("drawer-body");
|
|
764
|
+
exports.sideAttr = `data-${identity_1.cssPrefix}-side`;
|
|
765
|
+
exports.checksClass = hook("checks");
|
|
766
|
+
exports.checksItemClass = hook("checks-item");
|
|
767
|
+
exports.sortClass = hook("sort");
|
|
768
|
+
exports.calendarClass = hook("calendar");
|
|
769
|
+
exports.calendarHeadClass = hook("calendar-head");
|
|
770
|
+
exports.calendarGridClass = hook("calendar-grid");
|
|
771
|
+
exports.calendarDayClass = hook("calendar-day");
|
|
772
|
+
exports.toolbarClass = hook("toolbar");
|
|
773
|
+
exports.toolGroupClass = hook("tool-group");
|
|
774
|
+
exports.toolClass = hook("tool");
|
|
775
|
+
exports.toolIconClass = hook("tool-icon");
|
|
776
|
+
exports.splitterClass = hook("splitter");
|
|
777
|
+
exports.rowsClass = hook("rows");
|
|
778
|
+
exports.rowsRowClass = hook("rows-row");
|
|
779
|
+
exports.codeInputClass = hook("code-input");
|
|
780
|
+
exports.statusClass = hook("status");
|
|
781
|
+
exports.exampleClass = hook("example");
|
|
782
|
+
exports.exampleItemClass = hook("example-item");
|
|
783
|
+
exports.clusterClass = hook("cluster");
|
|
784
|
+
exports.splitClass = hook("split");
|
|
785
|
+
exports.splitPaneClass = hook("split-pane");
|
|
786
|
+
exports.swatchesClass = hook("swatches");
|
|
787
|
+
exports.swatchClass = hook("swatch");
|
|
788
|
+
exports.swatchChipClass = hook("swatch-chip");
|
|
789
|
+
exports.previewClass = hook("preview");
|
|
790
|
+
exports.previewBarClass = hook("preview-bar");
|
|
791
|
+
exports.siteBodyClass = hook("site");
|
|
792
|
+
exports.siteStripClass = hook("site-strip");
|
|
793
|
+
exports.siteSectionClass = hook("site-section");
|
|
794
|
+
exports.siteFillClass = hook("site-fill");
|
|
795
|
+
exports.siteMainClass = hook("site-main");
|
|
796
|
+
exports.siteBarHomeClass = hook("site-bar-home");
|
|
797
|
+
exports.siteBarNoteClass = hook("site-bar-note");
|
|
798
|
+
exports.siteDrawerNoteClass = hook("site-drawer-note");
|
|
799
|
+
exports.iconButtonRoundClass = hook("icon-btn-round");
|
|
586
800
|
|
|
587
801
|
},
|
|
588
802
|
"src/Layout/index.ts": function (module, exports, require) {
|
|
@@ -2109,7 +2323,7 @@ exports.carouselInitScript = "(function(){" +
|
|
|
2109
2323
|
"src/Navigate/model/marker.ts": function (module, exports, require) {
|
|
2110
2324
|
"use strict";
|
|
2111
2325
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2112
|
-
exports.documentColumn = exports.strip = exports.navHookName = exports.spanAttr = exports.columnAttr = exports.stripAttr = void 0;
|
|
2326
|
+
exports.frameCss = exports.frameClass = exports.embeddedAttr = exports.embedParam = exports.embeddersMeta = exports.partnersMeta = exports.documentColumn = exports.strip = exports.navHookName = exports.spanAttr = exports.columnAttr = exports.stripAttr = void 0;
|
|
2113
2327
|
const plgg_1 = require("plgg");
|
|
2114
2328
|
const plgg_view_1 = require("plgg-view");
|
|
2115
2329
|
const combinators_1 = require("src/Layout/usecase/combinators.ts");
|
|
@@ -2127,6 +2341,17 @@ const documentColumn = (route, span, parts, children) => (0, combinators_1.colum
|
|
|
2127
2341
|
])(span),
|
|
2128
2342
|
], parts, children);
|
|
2129
2343
|
exports.documentColumn = documentColumn;
|
|
2344
|
+
exports.partnersMeta = `${identity_1.cssPrefix}-partners`;
|
|
2345
|
+
exports.embeddersMeta = `${identity_1.cssPrefix}-embedders`;
|
|
2346
|
+
exports.embedParam = `${identity_1.cssPrefix}-embed`;
|
|
2347
|
+
exports.embeddedAttr = `data-${identity_1.cssPrefix}-embedded`;
|
|
2348
|
+
exports.frameClass = `${identity_1.cssPrefix}-frame`;
|
|
2349
|
+
const frameCss = (p) => `
|
|
2350
|
+
.${p}-frame{flex:1 1 auto;min-height:0;width:100%;border-style:none}
|
|
2351
|
+
[data-${p}-embedded] :is(.${p}-shell-bar,.${p}-shell-side,.${p}-shell-backdrop,.${p}-shell-head,.${p}-trail){display:none}
|
|
2352
|
+
[data-${p}-embedded] .${p}-shell-page{flex:1 1 auto;width:100%;max-width:none}
|
|
2353
|
+
`;
|
|
2354
|
+
exports.frameCss = frameCss;
|
|
2130
2355
|
|
|
2131
2356
|
},
|
|
2132
2357
|
"src/Layout/model/geometry.ts": function (module, exports, require) {
|
|
@@ -2350,7 +2575,7 @@ exports.savePreference = savePreference;
|
|
|
2350
2575
|
"src/Navigate/index.ts": function (module, exports, require) {
|
|
2351
2576
|
"use strict";
|
|
2352
2577
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2353
|
-
exports.carouselInitScript = exports.parseSteps = exports.printSteps = exports.trailQuery = exports.decodeTrail = exports.encodeTrail = exports.stepSeparator = exports.trailParam = exports.restep = exports.stepFrom = exports.foldTrail = exports.settledTrail = exports.resolveTrail = exports.injectNavigationScript = exports.navigationInitScript = exports.documentColumn = exports.strip = exports.navHookName = exports.spanAttr = exports.columnAttr = exports.stripAttr = exports.compositionHref = exports.compositionQuery = exports.decodeComposition = exports.escapeChar = exports.fieldSeparator = exports.entrySeparator = exports.spanParam = exports.restParam = exports.columnsOf = exports.soloComposition = exports.columnWithSpan = exports.columnOf = void 0;
|
|
2578
|
+
exports.carouselInitScript = exports.parseSteps = exports.printSteps = exports.trailQuery = exports.decodeTrail = exports.encodeTrail = exports.stepSeparator = exports.trailParam = exports.restep = exports.stepFrom = exports.foldTrail = exports.settledTrail = exports.resolveTrail = exports.injectNavigationScript = exports.navigationInitScript = exports.documentColumn = exports.strip = exports.frameClass = exports.embeddedAttr = exports.embedParam = exports.embeddersMeta = exports.partnersMeta = exports.navHookName = exports.spanAttr = exports.columnAttr = exports.stripAttr = exports.compositionHref = exports.compositionQuery = exports.decodeComposition = exports.escapeChar = exports.fieldSeparator = exports.entrySeparator = exports.spanParam = exports.restParam = exports.columnsOf = exports.soloComposition = exports.columnWithSpan = exports.columnOf = void 0;
|
|
2354
2579
|
var Composition_1 = require("src/Navigate/model/Composition.ts");
|
|
2355
2580
|
Object.defineProperty(exports, "columnOf", { enumerable: true, get: function () { return Composition_1.columnOf; } });
|
|
2356
2581
|
Object.defineProperty(exports, "columnWithSpan", { enumerable: true, get: function () { return Composition_1.columnWithSpan; } });
|
|
@@ -2370,6 +2595,11 @@ Object.defineProperty(exports, "stripAttr", { enumerable: true, get: function ()
|
|
|
2370
2595
|
Object.defineProperty(exports, "columnAttr", { enumerable: true, get: function () { return marker_1.columnAttr; } });
|
|
2371
2596
|
Object.defineProperty(exports, "spanAttr", { enumerable: true, get: function () { return marker_1.spanAttr; } });
|
|
2372
2597
|
Object.defineProperty(exports, "navHookName", { enumerable: true, get: function () { return marker_1.navHookName; } });
|
|
2598
|
+
Object.defineProperty(exports, "partnersMeta", { enumerable: true, get: function () { return marker_1.partnersMeta; } });
|
|
2599
|
+
Object.defineProperty(exports, "embeddersMeta", { enumerable: true, get: function () { return marker_1.embeddersMeta; } });
|
|
2600
|
+
Object.defineProperty(exports, "embedParam", { enumerable: true, get: function () { return marker_1.embedParam; } });
|
|
2601
|
+
Object.defineProperty(exports, "embeddedAttr", { enumerable: true, get: function () { return marker_1.embeddedAttr; } });
|
|
2602
|
+
Object.defineProperty(exports, "frameClass", { enumerable: true, get: function () { return marker_1.frameClass; } });
|
|
2373
2603
|
Object.defineProperty(exports, "strip", { enumerable: true, get: function () { return marker_1.strip; } });
|
|
2374
2604
|
Object.defineProperty(exports, "documentColumn", { enumerable: true, get: function () { return marker_1.documentColumn; } });
|
|
2375
2605
|
var navigationScript_1 = require("src/Navigate/usecase/navigationScript.ts");
|
|
@@ -2508,6 +2738,16 @@ exports.navigationInitScript = "(function(){" +
|
|
|
2508
2738
|
"var R0=window.matchMedia&&window.matchMedia('(prefers-reduced-motion:reduce)').matches;" +
|
|
2509
2739
|
`var R=${q(compositionUrl_1.restParam)},Q=${q(compositionUrl_1.spanParam)};` +
|
|
2510
2740
|
`var E=${q(compositionUrl_1.escapeChar)},N=${q(compositionUrl_1.entrySeparator)},F=${q(compositionUrl_1.fieldSeparator)};` +
|
|
2741
|
+
`var PM=${q(marker_1.partnersMeta)},EM=${q(marker_1.embeddersMeta)},EP=${q(marker_1.embedParam)},EA=${q(marker_1.embeddedAttr)},FR=${q(marker_1.frameClass)};` +
|
|
2742
|
+
"function metaList(n){var m=document.querySelector('meta[name=\"'+n+'\"]');" +
|
|
2743
|
+
"return m?(m.getAttribute('content')||'').split(' ').filter(Boolean):[];}" +
|
|
2744
|
+
"var PT=metaList(PM),EB=metaList(EM);" +
|
|
2745
|
+
"function abs(r){return r.indexOf('https://')===0||r.indexOf('http://')===0;}" +
|
|
2746
|
+
"function partner(u){try{return PT.indexOf(new URL(u).origin)>=0;}catch(e){return false;}}" +
|
|
2747
|
+
"function bare0(p){return p.length>1?p.replace(/\\/+$/,''):p;}" +
|
|
2748
|
+
"var EMB=window.parent!==window&&EB.length>0&&new URL(window.location.href).searchParams.get(EP)==='1';" +
|
|
2749
|
+
"if(EMB){document.documentElement.setAttribute(EA,'');}" +
|
|
2750
|
+
"function tell(m){for(var i=0;i<EB.length;i++){window.parent.postMessage(m,EB[i]);}}" +
|
|
2511
2751
|
"function esc(v){return v.split(E).join(E+'t')" +
|
|
2512
2752
|
".split(N).join(E+'c').split(F).join(E+'f');}" +
|
|
2513
2753
|
"function unesc(v){return v.split(E+'f').join(F)" +
|
|
@@ -2550,7 +2790,19 @@ exports.navigationInitScript = "(function(){" +
|
|
|
2550
2790
|
"if(m){m.scrollIntoView({block:'center'});}}" +
|
|
2551
2791
|
"function colUrl(route,span){" +
|
|
2552
2792
|
"return route+(span?'?'+Q+'='+pct(esc(span)):'');}" +
|
|
2793
|
+
"function frameCol(u){var all=cols(),base=all[all.length-1];var x=new URL(u);" +
|
|
2794
|
+
"var col=document.createElement('div');col.className=base.className;col.setAttribute(C,x.origin+x.pathname);" +
|
|
2795
|
+
"var hd=base.querySelector(':scope>header');var h=document.createElement('header');h.className=hd?hd.className:'';" +
|
|
2796
|
+
"var t0=hd?hd.firstElementChild:null;var sp=document.createElement('span');sp.className=t0?t0.className:'';" +
|
|
2797
|
+
"sp.textContent=x.host+x.pathname;h.appendChild(sp);col.appendChild(h);" +
|
|
2798
|
+
"var f=document.createElement('iframe');f.className=FR;" +
|
|
2799
|
+
"f.setAttribute('sandbox','allow-scripts allow-same-origin');" +
|
|
2800
|
+
"f.setAttribute('referrerpolicy','strict-origin-when-cross-origin');" +
|
|
2801
|
+
"f.title=sp.textContent;var src=new URL(x.origin+x.pathname);src.searchParams.set(EP,'1');f.src=src.href;" +
|
|
2802
|
+
"col.appendChild(f);return col;}" +
|
|
2553
2803
|
"function fetchCol(route,span){" +
|
|
2804
|
+
"if(abs(route)){return partner(route)&&strip()&&cols().length" +
|
|
2805
|
+
"?Promise.resolve(frameCol(route)):Promise.reject(new Error('nav'));}" +
|
|
2554
2806
|
"return fetch(colUrl(route,span),{credentials:'same-origin',mode:'same-origin'})" +
|
|
2555
2807
|
".then(function(r){if(!r.ok){throw new Error('nav');}return r.text();})" +
|
|
2556
2808
|
".then(function(t){" +
|
|
@@ -2571,7 +2823,7 @@ exports.navigationInitScript = "(function(){" +
|
|
|
2571
2823
|
"if(rep){col.setAttribute(RP,'');}" +
|
|
2572
2824
|
"truncate(at,rep);place(col,at);" +
|
|
2573
2825
|
"window.history.pushState(null,'',url);return true;}).catch(function(){" +
|
|
2574
|
-
"window.location.assign(url);return false;});}" +
|
|
2826
|
+
"window.location.assign(abs(route)?route:url);return false;});}" +
|
|
2575
2827
|
"function last(){return cols().length-1;}" +
|
|
2576
2828
|
"function open(route,span){return openFrom(last(),route,span);}" +
|
|
2577
2829
|
"function columnOf(node){var c=cols();" +
|
|
@@ -2580,15 +2832,18 @@ exports.navigationInitScript = "(function(){" +
|
|
|
2580
2832
|
"function anchorOf(node){var e=node;" +
|
|
2581
2833
|
"while(e&&e!==document){if(e.tagName==='A'){return e;}e=e.parentNode;}" +
|
|
2582
2834
|
"return null;}" +
|
|
2583
|
-
"function
|
|
2835
|
+
"function plain(ev,a){return !ev.defaultPrevented&&ev.button===0" +
|
|
2584
2836
|
"&&!ev.metaKey&&!ev.ctrlKey&&!ev.shiftKey&&!ev.altKey" +
|
|
2585
2837
|
"&&!!a&&!a.hasAttribute('download')" +
|
|
2586
|
-
"&&(a.target===''||a.target==='_self')" +
|
|
2838
|
+
"&&(a.target===''||a.target==='_self');}" +
|
|
2839
|
+
"function claimsOut(ev,a){return plain(ev,a)&&partner(a.href);}" +
|
|
2840
|
+
"function claims(ev,a){return plain(ev,a)" +
|
|
2587
2841
|
"&&a.origin===window.location.origin" +
|
|
2588
2842
|
"&&!(a.pathname===window.location.pathname&&a.hash!=='');}" +
|
|
2843
|
+
"function full(a){return abs(a)?a:B+a;}" +
|
|
2589
2844
|
"function current(){var c=cols();var out=[];" +
|
|
2590
2845
|
"for(var i=0;i<c.length;i++){out.push(entryOf(" +
|
|
2591
|
-
"
|
|
2846
|
+
"full(c[i].getAttribute(C)||''),c[i].getAttribute(P)||''));}return out;}" +
|
|
2592
2847
|
"function target(){var s=ps().get(Q);" +
|
|
2593
2848
|
"return [entryOf(window.location.pathname,s||'')].concat(entries());}" +
|
|
2594
2849
|
"function reconcile(){var t=target(),c=current();" +
|
|
@@ -2630,10 +2885,11 @@ exports.navigationInitScript = "(function(){" +
|
|
|
2630
2885
|
"t.appendChild(a);})(c[j],j);}}" +
|
|
2631
2886
|
"var bare=function(p){return p.length>1?p.replace(/\\/+$/,''):p;};" +
|
|
2632
2887
|
"for(var o=0;o<c.length;o++){" +
|
|
2633
|
-
"var nx=c[o+1];var
|
|
2888
|
+
"var nx=c[o+1];var na=nx?nx.getAttribute(C)||'':'';var out=abs(na);" +
|
|
2889
|
+
"var want=nx?(out?bare(na):bare(B+na)):null;" +
|
|
2634
2890
|
"var as=c[o].querySelectorAll('a[href]');" +
|
|
2635
2891
|
"for(var u=0;u<as.length;u++){var k=as[u];" +
|
|
2636
|
-
"if(want!==null&&k.origin===window.location.origin&&bare(k.pathname)===want){k.setAttribute(OP,'');}" +
|
|
2892
|
+
"if(want!==null&&(out?bare(k.origin+k.pathname)===want:k.origin===window.location.origin&&bare(k.pathname)===want)){k.setAttribute(OP,'');}" +
|
|
2637
2893
|
"else if(k.hasAttribute(OP)){k.removeAttribute(OP);}}}" +
|
|
2638
2894
|
"var r=bare(c.length?B+(c[c.length-1].getAttribute(C)||''):location.pathname);" +
|
|
2639
2895
|
"var ls=document.querySelectorAll('a[href]');" +
|
|
@@ -2642,17 +2898,38 @@ exports.navigationInitScript = "(function(){" +
|
|
|
2642
2898
|
"if(l.getAttribute('data-home')===null){l.setAttribute('data-home',l.getAttribute('aria-current')==='page'?'1':'0');}" +
|
|
2643
2899
|
"if(c.length?bare(l.pathname)===r:l.getAttribute('data-home')==='1'){l.setAttribute('aria-current','page');}" +
|
|
2644
2900
|
"else if(l.getAttribute('aria-current')==='page'){l.removeAttribute('aria-current');}}}" +
|
|
2901
|
+
"window.addEventListener('message',function(ev){" +
|
|
2902
|
+
"if(PT.indexOf(ev.origin)<0||!ev.data||typeof ev.data!=='object'){return;}" +
|
|
2903
|
+
"var c=cols(),at=-1;for(var i=0;i<c.length;i++){" +
|
|
2904
|
+
"var f=c[i].querySelector(':scope>iframe.'+FR);if(f&&f.contentWindow===ev.source){at=i;}}" +
|
|
2905
|
+
"if(at<0){return;}" +
|
|
2906
|
+
"try{if(new URL(c[at].getAttribute(C)||'').origin!==ev.origin){return;}}catch(e){return;}" +
|
|
2907
|
+
"var d=ev.data;" +
|
|
2908
|
+
"if(d.type==='pm:title'&&typeof d.title==='string'){" +
|
|
2909
|
+
"var sp=c[at].querySelector(':scope>header>span');if(sp){sp.textContent=d.title.slice(0,120);}sync();return;}" +
|
|
2910
|
+
"if(d.type==='pm:open'&&typeof d.href==='string'){var u;try{u=new URL(d.href);}catch(e){return;}" +
|
|
2911
|
+
"if(u.protocol!=='https:'&&u.protocol!=='http:'){return;}" +
|
|
2912
|
+
"if(u.origin===window.location.origin){openFrom(at,u.pathname);}" +
|
|
2913
|
+
"else if(PT.indexOf(u.origin)>=0){openFrom(at,u.origin+u.pathname);}}});" +
|
|
2914
|
+
"if(EMB){tell({type:'pm:title',title:document.title});}" +
|
|
2645
2915
|
"window.addEventListener('popstate',function(){reconcile();});" +
|
|
2646
2916
|
"for(var k=0;k<cols().length;k++){showMark(cols()[k]);}" +
|
|
2647
2917
|
"(function(){var t=target(),c=current();" +
|
|
2648
2918
|
"if(c.length&&t[0]===c[0]&&t.length>c.length){reconcile();}else{sync();}})();" +
|
|
2649
2919
|
"document.addEventListener('click',function(ev){" +
|
|
2920
|
+
"if(EMB){var a0=anchorOf(ev.target);" +
|
|
2921
|
+
"if(a0&&plain(ev,a0)&&(a0.origin===window.location.origin||partner(a0.href))" +
|
|
2922
|
+
"&&!(a0.pathname===window.location.pathname&&a0.hash!=='')){" +
|
|
2923
|
+
"ev.preventDefault();tell({type:'pm:open',href:a0.origin+a0.pathname});}return;}" +
|
|
2650
2924
|
"var t=ev.target;var fb=t&&t.closest?t.closest('.'+FC):null;" +
|
|
2651
2925
|
"if(fb){ev.preventDefault();fold(columnOf(fb));return;}" +
|
|
2652
2926
|
"var tb=t&&t.closest?t.closest('.'+TC+' [data-col]'):null;" +
|
|
2653
2927
|
"if(tb){var cc=cols()[Number(tb.getAttribute('data-col'))];" +
|
|
2654
2928
|
"if(cc){cc.scrollIntoView({inline:'nearest',block:'nearest'});}return;}" +
|
|
2655
|
-
"var a=anchorOf(ev.target);
|
|
2929
|
+
"var a=anchorOf(ev.target);" +
|
|
2930
|
+
"if(claimsOut(ev,a)){var from=columnOf(a);if(from<0){return;}" +
|
|
2931
|
+
"ev.preventDefault();openFrom(from,a.origin+a.pathname);return;}" +
|
|
2932
|
+
"if(!claims(ev,a)){return;}" +
|
|
2656
2933
|
"var at=columnOf(a);if(at<0){return;}" +
|
|
2657
2934
|
"ev.preventDefault();openFrom(at,a.pathname);});" +
|
|
2658
2935
|
`window[${q(marker_1.navHookName)}]={open:open,openFrom:openFrom,urlFor:urlFor,entries:entries,entryOf:entryOf,columnOf:columnOf,claims:claims,current:current,target:target,reconcile:reconcile,fold:fold};` +
|
|
@@ -6067,7 +6344,7 @@ const narrowChrome = (props) => (0, plgg_1.matchOption)(() => [
|
|
|
6067
6344
|
(0, plgg_view_1.attr)("for", classHooks_1.shellMenuId),
|
|
6068
6345
|
(0, plgg_view_1.class_)(classHooks_1.shellMenuButtonClass),
|
|
6069
6346
|
(0, plgg_view_1.attr)("role", "button"),
|
|
6070
|
-
(0, plgg_view_1.attr)("aria-label", "
|
|
6347
|
+
(0, plgg_view_1.attr)("aria-label", "メニューを開閉"),
|
|
6071
6348
|
], []),
|
|
6072
6349
|
(0, plgg_view_1.a)(brandAttrs(props, classHooks_1.shellBarBrandClass), [(0, plgg_view_1.text)(props.brand)]),
|
|
6073
6350
|
]),
|
|
@@ -6081,7 +6358,7 @@ const narrowChrome = (props) => (0, plgg_1.matchOption)(() => [
|
|
|
6081
6358
|
(0, plgg_view_1.button)([
|
|
6082
6359
|
(0, plgg_view_1.attr)("type", "button"),
|
|
6083
6360
|
(0, plgg_view_1.class_)(classHooks_1.shellMenuButtonClass),
|
|
6084
|
-
(0, plgg_view_1.attr)("aria-label", "
|
|
6361
|
+
(0, plgg_view_1.attr)("aria-label", "メニューを開閉"),
|
|
6085
6362
|
(0, plgg_view_1.attr)("aria-expanded", d.open ? "true" : "false"),
|
|
6086
6363
|
...d.toggle,
|
|
6087
6364
|
], []),
|
|
@@ -6113,7 +6390,7 @@ const shell = (props) => (0, plgg_view_1.el)("div", [
|
|
|
6113
6390
|
(0, plgg_view_1.button)([
|
|
6114
6391
|
(0, plgg_view_1.attr)("type", "button"),
|
|
6115
6392
|
(0, plgg_view_1.class_)(classHooks_1.shellFoldClass),
|
|
6116
|
-
(0, plgg_view_1.attr)("aria-label", "
|
|
6393
|
+
(0, plgg_view_1.attr)("aria-label", "サイドバーを折りたたむ"),
|
|
6117
6394
|
(0, plgg_view_1.attr)("aria-expanded", props.folded
|
|
6118
6395
|
? "false"
|
|
6119
6396
|
: "true"),
|
|
@@ -6158,6 +6435,8 @@ const metric_1 = require("src/Style/model/metric.ts");
|
|
|
6158
6435
|
const zIndex_1 = require("src/Style/model/zIndex.ts");
|
|
6159
6436
|
const breakpoint_1 = require("src/Style/model/breakpoint.ts");
|
|
6160
6437
|
const shareCss_1 = require("src/Style/usecase/shareCss.ts");
|
|
6438
|
+
const partsCss_1 = require("src/Component/usecase/partsCss.ts");
|
|
6439
|
+
const marker_1 = require("src/Navigate/model/marker.ts");
|
|
6161
6440
|
const systemCss = (theme) => {
|
|
6162
6441
|
const p = theme.prefix;
|
|
6163
6442
|
const mvar = (0, metric_1.metricVar)(theme);
|
|
@@ -6187,6 +6466,17 @@ ${M} ${side} .${p}-shell-head{justify-content:center}
|
|
|
6187
6466
|
${M} .${p}-shell-fold{margin:0}
|
|
6188
6467
|
${M} .${p}-shell-foot{justify-content:center}
|
|
6189
6468
|
}
|
|
6469
|
+
.${p}-shell-rail{display:none;flex:0 0 ${mvar("rail")};width:${mvar("rail")};flex-direction:column;align-items:center;margin-left:auto;position:sticky;right:0}
|
|
6470
|
+
.${p}-shell-rail-group,.${p}-shell-rail .${p}-chrome-links{display:flex;flex-direction:column;align-items:center}
|
|
6471
|
+
.${p}-chrome-links{display:flex;align-items:center}
|
|
6472
|
+
.${p}-shell-bar .${p}-chrome-links{margin-left:auto}
|
|
6473
|
+
.${p}-chrome-link{display:inline-flex;align-items:center}
|
|
6474
|
+
.${p}-shell-rail .${p}-chrome-link-label{writing-mode:vertical-rl}
|
|
6475
|
+
.${p}-doc-foot{text-align:center}
|
|
6476
|
+
@media ${(0, breakpoint_1.minWidth)("lg")}{
|
|
6477
|
+
.${p}-shell-rail{display:flex}
|
|
6478
|
+
${M} ${side} :is(.${p}-shell-caption,.${p}-shell-side-link,.${p}-chrome-links){display:none}
|
|
6479
|
+
}
|
|
6190
6480
|
.${p}-shell-menu{display:none}
|
|
6191
6481
|
.${p}-shell-bar{display:none;flex:none;align-items:center;z-index:${(0, zIndex_1.zValue)("chrome")}}
|
|
6192
6482
|
.${p}-shell-menu-btn{display:inline-block;flex:none;width:22px;height:16px;cursor:pointer}
|
|
@@ -6207,6 +6497,15 @@ ${page}{scroll-snap-align:start;scroll-snap-stop:always}
|
|
|
6207
6497
|
@keyframes ${p}-page-out{to{flex-grow:0;flex-basis:0;opacity:0;border-right-width:0}}
|
|
6208
6498
|
@keyframes ${p}-page-swap{from{opacity:0}}
|
|
6209
6499
|
.${p}-shell ${page}${page}[data-${p}-leaving]{pointer-events:none}
|
|
6500
|
+
.${p}-figure-page{flex:1 0 0;min-width:min(28rem,100vw);align-self:stretch}
|
|
6501
|
+
.${p}-figure-page .${p}-shell-head{align-items:baseline;overflow:hidden}
|
|
6502
|
+
.${p}-figure-page .${p}-shell-title{flex:0 0 auto;max-width:65%}
|
|
6503
|
+
.${p}-shell-note{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
6504
|
+
.${p}-figure-page .${p}-shell-body{overflow:hidden;min-height:0}
|
|
6505
|
+
.${p}-figure-page :is(.${p}-shell-body,main,.${p}-figure-body,.${p}-figure-body div:has([data-fill])){display:flex;flex-direction:column}
|
|
6506
|
+
.${p}-figure-page :is(main,.${p}-figure-body,.${p}-figure-body div:has([data-fill])){flex:1;min-height:0}
|
|
6507
|
+
.${p}-figure-body h1:first-child{display:none}
|
|
6508
|
+
.${p}-figure-body [data-fill]{flex:1;min-height:0;overflow:hidden}
|
|
6210
6509
|
.${p}-doc{display:block;margin:0 auto;max-width:${mvar("measure")}}
|
|
6211
6510
|
.${p}-span-2 .${p}-doc{max-width:none}
|
|
6212
6511
|
.${p}-doc pre{overflow-x:auto}
|
|
@@ -6240,7 +6539,8 @@ ${car}{position:absolute;top:50%;z-index:${(0, zIndex_1.zValue)("chrome")};displ
|
|
|
6240
6539
|
.${p}-switch:disabled{cursor:not-allowed}
|
|
6241
6540
|
.${p}-switch-track{position:relative;display:block;flex:none;width:2.25rem;height:1.25rem}
|
|
6242
6541
|
.${p}-switch-thumb{position:absolute;top:50%;left:.2rem;width:.75rem;height:.75rem;margin-top:-.375rem}
|
|
6243
|
-
.${p}-switch[aria-checked="true"] .${p}-switch-thumb{transform:translateX(1.05rem)}
|
|
6542
|
+
.${p}-switch:is([aria-checked="true"],[aria-pressed="true"]) .${p}-switch-thumb{transform:translateX(1.05rem)}
|
|
6543
|
+
.${p}-switch[aria-pressed="mixed"] .${p}-switch-thumb{transform:translateX(.525rem)}
|
|
6244
6544
|
.${p}-modal{position:fixed;inset:0;z-index:${(0, zIndex_1.zValue)("backdrop")}}
|
|
6245
6545
|
.${p}-backdrop{position:fixed;inset:0;z-index:${(0, zIndex_1.zValue)("backdrop")}}
|
|
6246
6546
|
.${p}-dialog{position:fixed;z-index:${(0, zIndex_1.zValue)("overlay")};top:50%;left:50%;transform:translate(-50%,-50%);width:min(26rem,90vw)}
|
|
@@ -6248,10 +6548,300 @@ ${car}{position:absolute;top:50%;z-index:${(0, zIndex_1.zValue)("chrome")};displ
|
|
|
6248
6548
|
.${p}-toaster{position:fixed;right:1rem;bottom:1rem;z-index:${(0, zIndex_1.zValue)("overlay")};display:flex;flex-direction:column}
|
|
6249
6549
|
.${p}-toast{display:flex;align-items:center}
|
|
6250
6550
|
.${p}-toast-close{flex:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
|
|
6251
|
-
` +
|
|
6551
|
+
` +
|
|
6552
|
+
(0, partsCss_1.partsSystemCss)(p, String((0, zIndex_1.zValue)("overlay"))) +
|
|
6553
|
+
(0, marker_1.frameCss)(p) +
|
|
6554
|
+
(0, shareCss_1.shareCss)(theme)(shareCss_1.shareOptions));
|
|
6252
6555
|
};
|
|
6253
6556
|
exports.systemCss = systemCss;
|
|
6254
6557
|
|
|
6558
|
+
},
|
|
6559
|
+
"src/Component/usecase/partsCss.ts": function (module, exports, require) {
|
|
6560
|
+
"use strict";
|
|
6561
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6562
|
+
exports.partsAppearanceCss = exports.partsSystemCss = void 0;
|
|
6563
|
+
const partsSystemCss = (p, overlay) => `
|
|
6564
|
+
.${p}-badge{display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle}
|
|
6565
|
+
.${p}-tag{display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle}
|
|
6566
|
+
.${p}-tag-remove{flex:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
|
|
6567
|
+
.${p}-card{display:flex;flex-direction:column;min-width:0}
|
|
6568
|
+
.${p}-card-foot{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap}
|
|
6569
|
+
.${p}-table-wrap{max-width:100%;overflow-x:auto}
|
|
6570
|
+
.${p}-table{width:100%;border-collapse:collapse}
|
|
6571
|
+
.${p}-table :is(th,td){text-align:left;white-space:nowrap}
|
|
6572
|
+
.${p}-table .${p}-num{text-align:right;font-variant-numeric:tabular-nums}
|
|
6573
|
+
.${p}-desc{display:grid;grid-template-columns:minmax(5.5rem,max-content) minmax(0,1fr);margin:0}
|
|
6574
|
+
.${p}-desc dd{margin:0;min-width:0}
|
|
6575
|
+
.${p}-divider{display:block;width:100%;height:0;margin:0}
|
|
6576
|
+
.${p}-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2rem;height:2rem;overflow:hidden;vertical-align:middle}
|
|
6577
|
+
.${p}-code{margin:0;overflow-x:auto;white-space:pre}
|
|
6578
|
+
.${p}-empty{display:flex;flex-direction:column;align-items:center;text-align:center}
|
|
6579
|
+
.${p}-empty p{margin:0}
|
|
6580
|
+
.${p}-items{list-style:none;margin:0}
|
|
6581
|
+
.${p}-items-row{display:flex;align-items:center;justify-content:space-between}
|
|
6582
|
+
.${p}-items-row div:first-child{min-width:0}
|
|
6583
|
+
.${p}-items-title,.${p}-items-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
6584
|
+
.${p}-items-trail{flex:none;display:flex;align-items:center}
|
|
6585
|
+
.${p}-alert p{margin:0}
|
|
6586
|
+
.${p}-progress-track{position:relative;width:100%;overflow:hidden}
|
|
6587
|
+
.${p}-progress-bar{height:100%}
|
|
6588
|
+
.${p}-progress[data-${p}-busy] .${p}-progress-bar{width:40%}
|
|
6589
|
+
.${p}-spinner{display:inline-flex;align-items:center}
|
|
6590
|
+
.${p}-spinner-mark{flex:none;display:block;width:1rem;height:1rem}
|
|
6591
|
+
.${p}-skeleton{display:flex;flex-direction:column}
|
|
6592
|
+
.${p}-skeleton-line{height:.8rem}
|
|
6593
|
+
.${p}-skeleton-line:last-child:not(:first-child){width:60%}
|
|
6594
|
+
.${p}-tip{position:relative;display:inline-flex}
|
|
6595
|
+
.${p}-tip::after{content:attr(data-${p}-tip);position:absolute;z-index:${overlay};bottom:calc(100% + .35rem);left:50%;transform:translateX(-50%);width:max-content;max-width:16rem;pointer-events:none;opacity:0}
|
|
6596
|
+
.${p}-tip:is(:hover,:focus-visible,:focus-within)::after{opacity:1}
|
|
6597
|
+
.${p}-tabs{display:flex;overflow-x:auto}
|
|
6598
|
+
.${p}-tab{flex:none;cursor:pointer;white-space:nowrap}
|
|
6599
|
+
.${p}-pager{display:flex;align-items:center;flex-wrap:wrap}
|
|
6600
|
+
.${p}-pager-item{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;cursor:pointer}
|
|
6601
|
+
.${p}-pager-item:disabled{cursor:not-allowed}
|
|
6602
|
+
.${p}-steps{display:flex;list-style:none;margin:0;counter-reset:${p}-step}
|
|
6603
|
+
.${p}-step{flex:1 1 0;min-width:0;display:flex;align-items:center;counter-increment:${p}-step;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
6604
|
+
.${p}-step::before{content:counter(${p}-step);flex:none;display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}
|
|
6605
|
+
.${p}-accordion-item summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}
|
|
6606
|
+
.${p}-accordion-item summary::-webkit-details-marker{display:none}
|
|
6607
|
+
.${p}-accordion-item summary::after{content:"";flex:none;width:.45rem;height:.45rem;transform:rotate(45deg)}
|
|
6608
|
+
.${p}-accordion-item[open] summary::after{transform:rotate(225deg)}
|
|
6609
|
+
.${p}-menu-button{position:relative;display:inline-block}
|
|
6610
|
+
.${p}-menu-button summary{display:inline-flex;align-items:center;cursor:pointer;list-style:none}
|
|
6611
|
+
.${p}-menu-button summary::-webkit-details-marker{display:none}
|
|
6612
|
+
.${p}-menu-button summary::after{content:"";flex:none;width:.4rem;height:.4rem;transform:rotate(45deg) translateY(-.15rem)}
|
|
6613
|
+
.${p}-menu-list{position:absolute;z-index:${overlay};top:calc(100% + .25rem);left:0;display:flex;flex-direction:column;min-width:10rem}
|
|
6614
|
+
.${p}-menu-item{display:block;width:100%;text-align:left;cursor:pointer;white-space:nowrap}
|
|
6615
|
+
.${p}-icon-btn{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2rem;height:2rem;cursor:pointer}
|
|
6616
|
+
.${p}-icon-btn:disabled{cursor:not-allowed}
|
|
6617
|
+
.${p}-radios{display:flex;flex-direction:column;margin:0;min-width:0}
|
|
6618
|
+
.${p}-radio{display:inline-flex;align-items:center;cursor:pointer}
|
|
6619
|
+
.${p}-radio input{flex:none;margin:0}
|
|
6620
|
+
.${p}-segmented{display:inline-flex}
|
|
6621
|
+
.${p}-segment{flex:none;cursor:pointer;white-space:nowrap}
|
|
6622
|
+
.${p}-range{display:flex;align-items:center}
|
|
6623
|
+
.${p}-range input{flex:1 1 auto;min-width:0;margin:0}
|
|
6624
|
+
.${p}-range-value{flex:none;min-width:2.5rem;text-align:right;font-variant-numeric:tabular-nums}
|
|
6625
|
+
.${p}-search{display:flex}
|
|
6626
|
+
.${p}-search .${p}-input{flex:1 1 auto;min-width:0;width:100%}
|
|
6627
|
+
.${p}-toolbar{display:flex;align-items:center;flex-wrap:wrap}
|
|
6628
|
+
.${p}-tool-group{display:inline-flex;flex:none}
|
|
6629
|
+
.${p}-tool{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:2.125rem;height:2.125rem;cursor:pointer;white-space:nowrap}
|
|
6630
|
+
.${p}-tool:disabled{cursor:not-allowed}
|
|
6631
|
+
.${p}-tool-group .${p}-tool + .${p}-tool{margin-left:-1px}
|
|
6632
|
+
.${p}-tool-group .${p}-tool:is(:hover,:focus-visible,[aria-pressed="true"]){position:relative;z-index:1}
|
|
6633
|
+
.${p}-splitter{flex:none;position:relative;z-index:1;touch-action:none}
|
|
6634
|
+
.${p}-splitter[aria-orientation="vertical"]{width:6px;cursor:col-resize}
|
|
6635
|
+
.${p}-splitter[aria-orientation="horizontal"]{height:8px;cursor:row-resize}
|
|
6636
|
+
.${p}-rows{overflow:auto;white-space:pre}
|
|
6637
|
+
.${p}-rows-row{position:relative;width:max-content;min-width:100%;min-height:1.7em;cursor:default;user-select:none;-webkit-user-select:none}
|
|
6638
|
+
.${p}-code-input{display:block;width:100%;min-height:8rem;resize:none;overflow:auto;white-space:pre;tab-size:2}
|
|
6639
|
+
.${p}-status{display:block}
|
|
6640
|
+
.${p}-example :is(h1,h2,h3):first-child{margin-top:0}
|
|
6641
|
+
.${p}-example p:last-child{margin-bottom:0}
|
|
6642
|
+
.${p}-cluster{display:flex;flex-wrap:wrap;align-items:center}
|
|
6643
|
+
.${p}-split{display:flex;min-height:7rem}
|
|
6644
|
+
.${p}-split[data-orientation="horizontal"]{flex-direction:column}
|
|
6645
|
+
.${p}-split-pane{flex:1 1 0;min-width:0;min-height:0;overflow:auto}
|
|
6646
|
+
.${p}-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr))}
|
|
6647
|
+
.${p}-swatch{display:grid;grid-template-columns:2.25rem 1fr;grid-template-rows:auto auto;align-items:center}
|
|
6648
|
+
.${p}-swatch-chip{grid-row:1 / 3;width:2.25rem;height:2.25rem}
|
|
6649
|
+
.${p}-preview-bar{display:flex;align-items:center;justify-content:space-between;height:2.25rem}
|
|
6650
|
+
.${p}-preview iframe{display:block;width:100%;height:min(34rem,62vh);border-style:none}
|
|
6651
|
+
.${p}-trail{flex:none;display:flex;align-items:stretch;height:2rem;overflow-x:auto}
|
|
6652
|
+
.${p}-trail button{flex:none;cursor:pointer;white-space:nowrap;max-width:14rem;overflow:hidden;text-overflow:ellipsis}
|
|
6653
|
+
.${p}-trail button + button::before{content:"›"}
|
|
6654
|
+
.${p}-popover{position:relative;display:inline-block}
|
|
6655
|
+
.${p}-popover summary{display:inline-flex;align-items:center;cursor:pointer;list-style:none}
|
|
6656
|
+
.${p}-popover summary::-webkit-details-marker{display:none}
|
|
6657
|
+
.${p}-popover-body{position:absolute;z-index:${overlay};top:calc(100% + .35rem);left:0;width:max-content;max-width:min(20rem,80vw)}
|
|
6658
|
+
.${p}-drawer{position:fixed;z-index:${overlay};top:0;bottom:0;right:0;display:flex;flex-direction:column;width:min(22rem,88vw)}
|
|
6659
|
+
.${p}-drawer[data-${p}-side="left"]{right:auto;left:0}
|
|
6660
|
+
.${p}-drawer-head{flex:none;display:flex;align-items:center;justify-content:space-between}
|
|
6661
|
+
.${p}-drawer-body{flex:1 1 auto;min-height:0;overflow-y:auto}
|
|
6662
|
+
.${p}-checks{display:flex;flex-direction:column;margin:0;min-width:0}
|
|
6663
|
+
.${p}-checks-item{display:inline-flex;align-items:center;cursor:pointer}
|
|
6664
|
+
.${p}-checks-item input{flex:none;margin:0}
|
|
6665
|
+
.${p}-sort{display:inline-flex;align-items:center;cursor:pointer;white-space:nowrap}
|
|
6666
|
+
.${p}-sort::after{content:"↕";flex:none}
|
|
6667
|
+
th[aria-sort="ascending"] .${p}-sort::after{content:"↑"}
|
|
6668
|
+
th[aria-sort="descending"] .${p}-sort::after{content:"↓"}
|
|
6669
|
+
.${p}-calendar{display:inline-flex;flex-direction:column}
|
|
6670
|
+
.${p}-calendar-head{display:flex;align-items:center;justify-content:space-between}
|
|
6671
|
+
.${p}-calendar-grid{border-collapse:collapse}
|
|
6672
|
+
.${p}-calendar-grid :is(th,td){text-align:center}
|
|
6673
|
+
.${p}-calendar-day{display:inline-flex;align-items:center;justify-content:center;width:2.1rem;height:2.1rem;cursor:pointer}
|
|
6674
|
+
`;
|
|
6675
|
+
exports.partsSystemCss = partsSystemCss;
|
|
6676
|
+
const partsAppearanceCss = (l) => {
|
|
6677
|
+
const p = l.p;
|
|
6678
|
+
const toned = (part) => l.tones
|
|
6679
|
+
.map((name) => `.${p}-${part}-${name}{background:${l.tone(name, "surface")};color:${l.tone(name, "text")};border-color:${l.tone(name, "border")}}`)
|
|
6680
|
+
.join("\n");
|
|
6681
|
+
return `
|
|
6682
|
+
.${p}-badge{padding:.05rem .45rem;border:${l.rule};border-radius:${l.round};font-size:.75rem;line-height:1.5;font-weight:500;color:${l.text}}
|
|
6683
|
+
${toned("badge")}
|
|
6684
|
+
.${p}-tag{gap:.25rem;padding:.1rem .5rem;border:${l.hair};border-radius:${l.radius};background:${l.wash};font-size:.8125rem;line-height:1.5;color:${l.text}}
|
|
6685
|
+
.${p}-tag-remove{width:1.1rem;height:1.1rem;margin-right:-.2rem;padding:0;border:0;border-radius:${l.radius};background:none;color:inherit;font-size:.9rem;line-height:1}
|
|
6686
|
+
.${p}-tag-remove:hover,.${p}-tag-remove:focus-visible{${l.press};outline:0}
|
|
6687
|
+
.${p}-card{border:${l.rule};border-radius:${l.radius};background:${l.surface};color:${l.text}}
|
|
6688
|
+
.${p}-card-head{padding:.7rem 1rem;border-bottom:${l.rule};font-size:.9375rem;font-weight:600}
|
|
6689
|
+
.${p}-card-body{padding:1rem;font-size:.875rem}
|
|
6690
|
+
.${p}-card-body :is(p,ul,ol):first-child{margin-top:0}
|
|
6691
|
+
.${p}-card-body :is(p,ul,ol):last-child{margin-bottom:0}
|
|
6692
|
+
.${p}-card-foot{gap:.5rem;padding:.7rem 1rem;border-top:${l.hair}}
|
|
6693
|
+
.${p}-table{font-size:.875rem;color:${l.text}}
|
|
6694
|
+
.${p}-table th{padding:.5rem .75rem;border-bottom:${l.rule};font-weight:600}
|
|
6695
|
+
.${p}-table td{padding:.5rem .75rem;border-bottom:${l.hair}}
|
|
6696
|
+
.${p}-table tbody tr:hover{${l.hover}}
|
|
6697
|
+
.${p}-desc{gap:.4rem 1.25rem;font-size:.875rem}
|
|
6698
|
+
.${p}-desc dt{color:${l.muted}}
|
|
6699
|
+
.${p}-divider{border:0;border-top:${l.hair};margin:1rem 0}
|
|
6700
|
+
.${p}-avatar{border:${l.rule};border-radius:${l.round};background:${l.wash};color:${l.text};font-size:.875rem;font-weight:600;line-height:1}
|
|
6701
|
+
.${p}-code{padding:.8rem 1rem;border:${l.hair};border-radius:${l.radius};background:${l.wash};font-family:${l.mono};font-size:.8125rem;line-height:1.6;color:${l.text}}
|
|
6702
|
+
.${p}-empty{gap:.5rem;padding:2rem 1rem;border:1px dashed ${l.muted};border-radius:${l.radius};color:${l.muted};font-size:.875rem}
|
|
6703
|
+
.${p}-empty-title{font-size:.9375rem;font-weight:600;color:${l.text}}
|
|
6704
|
+
.${p}-empty .${p}-btn{margin-top:.5rem}
|
|
6705
|
+
.${p}-items,ul.${p}-items{margin:0;padding:0;border-top:${l.hair};font-size:.875rem}
|
|
6706
|
+
.${p}-items-row{gap:1rem;padding:.6rem .25rem;border-bottom:${l.hair}}
|
|
6707
|
+
.${p}-items-title{font-weight:500;color:${l.text}}
|
|
6708
|
+
.${p}-items-note{font-size:.8125rem;color:${l.muted}}
|
|
6709
|
+
.${p}-items-trail{gap:.5rem}
|
|
6710
|
+
.${p}-alert{padding:.7rem .9rem;border:${l.rule};border-left-width:4px;border-radius:${l.radius};font-size:.875rem;line-height:1.6}
|
|
6711
|
+
${toned("alert")}
|
|
6712
|
+
.${p}-alert-title{font-weight:600}
|
|
6713
|
+
.${p}-progress-track{height:.5rem;border:${l.rule};border-radius:${l.round};background:${l.surface}}
|
|
6714
|
+
.${p}-progress-bar{background:${l.text};transition:width ${l.quick} ease}
|
|
6715
|
+
.${p}-progress[data-${p}-busy] .${p}-progress-bar{animation:${p}-busy 1.2s linear infinite}
|
|
6716
|
+
@keyframes ${p}-busy{from{transform:translateX(-100%)}to{transform:translateX(250%)}}
|
|
6717
|
+
.${p}-spinner{gap:.5rem;font-size:.875rem;color:${l.muted}}
|
|
6718
|
+
.${p}-spinner-mark{border:2px solid ${l.muted};border-top-color:${l.text};border-radius:${l.round};animation:${p}-spin .8s linear infinite}
|
|
6719
|
+
@keyframes ${p}-spin{to{transform:rotate(360deg)}}
|
|
6720
|
+
.${p}-skeleton{gap:.55rem}
|
|
6721
|
+
.${p}-skeleton-line{border-radius:${l.radius};background:${l.wash};animation:${p}-pulse 1.4s ease-in-out infinite}
|
|
6722
|
+
@keyframes ${p}-pulse{50%{opacity:.45}}
|
|
6723
|
+
.${p}-tip{text-decoration:underline dotted;text-underline-offset:.2em;cursor:help}
|
|
6724
|
+
.${p}-tip::after{padding:.3rem .5rem;border-radius:${l.radius};${l.current};font-size:.75rem;line-height:1.4;font-weight:400;text-decoration:none;white-space:normal;transition:opacity ${l.quick} ease}
|
|
6725
|
+
.${p}-tip:focus-visible{outline:${l.rule};outline-offset:2px}
|
|
6726
|
+
.${p}-tabs{border-bottom:${l.rule}}
|
|
6727
|
+
.${p}-tab{padding:.5rem .9rem;border:0;border-radius:${l.radius} ${l.radius} 0 0;background:none;color:${l.muted};font:inherit;font-size:.875rem;transition:background-color ${l.quick} ease,color ${l.quick} ease}
|
|
6728
|
+
.${p}-tab:hover{${l.hover}}
|
|
6729
|
+
.${p}-tab[aria-selected="true"]{${l.current};font-weight:500}
|
|
6730
|
+
.${p}-tab:focus-visible{outline:${l.rule};outline-offset:-2px}
|
|
6731
|
+
.${p}-pager{gap:.25rem;font-size:.875rem;color:${l.text}}
|
|
6732
|
+
.${p}-pager-item{padding:0 .4rem;border:${l.rule};border-radius:${l.radius};background:${l.surface};color:${l.text};font:inherit;font-size:.8125rem;transition:background-color ${l.quick} ease,color ${l.quick} ease}
|
|
6733
|
+
.${p}-pager-item:hover:not(:disabled),.${p}-pager-item:focus-visible{${l.press};outline:0}
|
|
6734
|
+
.${p}-pager-item[aria-current]{${l.current};cursor:default}
|
|
6735
|
+
.${p}-pager-item:disabled{opacity:.4}
|
|
6736
|
+
.${p}-steps,ol.${p}-steps{margin:0;padding:0;gap:.75rem;font-size:.8125rem;color:${l.muted}}
|
|
6737
|
+
.${p}-step{gap:.45rem}
|
|
6738
|
+
.${p}-step::before{border:${l.rule};border-radius:${l.round};font-size:.75rem;color:${l.text};background:${l.surface}}
|
|
6739
|
+
.${p}-step[aria-current]{color:${l.text};font-weight:600}
|
|
6740
|
+
.${p}-step[aria-current]::before{${l.current}}
|
|
6741
|
+
.${p}-step[data-done]::before{content:"✓";background:${l.wash}}
|
|
6742
|
+
.${p}-accordion{border-top:${l.rule}}
|
|
6743
|
+
.${p}-accordion-item{border-bottom:${l.rule}}
|
|
6744
|
+
.${p}-accordion-item summary{gap:1rem;padding:.7rem .25rem;font-size:.9375rem;font-weight:500;color:${l.text}}
|
|
6745
|
+
.${p}-accordion-item summary:hover{${l.hover}}
|
|
6746
|
+
.${p}-accordion-item summary:focus-visible{outline:${l.rule};outline-offset:-1px}
|
|
6747
|
+
.${p}-accordion-item summary::after{border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;margin-right:.4rem;transition:transform ${l.quick} ease}
|
|
6748
|
+
.${p}-accordion-body{padding:.25rem .25rem 1rem;font-size:.875rem}
|
|
6749
|
+
.${p}-menu-button summary{gap:.5rem;padding:.45rem .8rem;border:${l.rule};border-radius:${l.radius};background:${l.surface};color:${l.text};font-size:.875rem;font-weight:500}
|
|
6750
|
+
.${p}-menu-button summary:hover,.${p}-menu-button summary:focus-visible,.${p}-menu-button[open] summary{${l.press};outline:0}
|
|
6751
|
+
.${p}-menu-button summary::after{border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor}
|
|
6752
|
+
.${p}-menu-list{padding:.25rem;border:${l.rule};border-radius:${l.radius};background:${l.surface};box-shadow:${l.elevation}}
|
|
6753
|
+
.${p}-menu-item{padding:.4rem .6rem;border:0;border-radius:${l.radius};background:none;color:${l.text};font:inherit;font-size:.875rem}
|
|
6754
|
+
.${p}-menu-item:hover,.${p}-menu-item:focus-visible{${l.press};outline:0}
|
|
6755
|
+
.${p}-menu-item[data-danger]{color:${l.danger}}
|
|
6756
|
+
.${p}-menu-item[data-danger]:is(:hover,:focus-visible){background:${l.danger};color:${l.surface}}
|
|
6757
|
+
.${p}-icon-btn{padding:0;border:${l.rule};border-radius:${l.radius};background:${l.surface};color:${l.text};font-size:1rem;line-height:1;transition:background-color ${l.quick} ease,color ${l.quick} ease}
|
|
6758
|
+
.${p}-icon-btn:hover:not(:disabled),.${p}-icon-btn:focus-visible{${l.press};outline:0}
|
|
6759
|
+
.${p}-icon-btn:disabled{opacity:.45}
|
|
6760
|
+
.${p}-icon-btn-round{border-radius:50%;box-shadow:${l.elevation}}
|
|
6761
|
+
.${p}-radios{gap:.4rem;padding:0;border:0}
|
|
6762
|
+
.${p}-radios legend{padding:0;margin-bottom:.35rem}
|
|
6763
|
+
.${p}-radio{gap:.5rem;font-size:.875rem;color:${l.text}}
|
|
6764
|
+
.${p}-radio input{appearance:none;width:1rem;height:1rem;border:${l.rule};border-radius:${l.round};background:${l.surface}}
|
|
6765
|
+
.${p}-radio input:checked{box-shadow:inset 0 0 0 3px ${l.surface};background:${l.text}}
|
|
6766
|
+
.${p}-radio input:focus-visible{outline:${l.rule};outline-offset:2px}
|
|
6767
|
+
.${p}-segmented{border:${l.rule};border-radius:${l.radius};overflow:hidden}
|
|
6768
|
+
.${p}-segment{padding:.4rem .85rem;border:0;border-right:${l.rule};background:${l.surface};color:${l.text};font:inherit;font-size:.8125rem;transition:background-color ${l.quick} ease,color ${l.quick} ease}
|
|
6769
|
+
.${p}-segment:last-child{border-right:0}
|
|
6770
|
+
.${p}-segment:hover{${l.hover}}
|
|
6771
|
+
.${p}-segment[aria-pressed="true"]{${l.current}}
|
|
6772
|
+
.${p}-segment:focus-visible{outline:${l.rule};outline-offset:-3px}
|
|
6773
|
+
.${p}-range{gap:.75rem}
|
|
6774
|
+
.${p}-range input{accent-color:${l.text}}
|
|
6775
|
+
.${p}-range-value{font-size:.8125rem;color:${l.muted}}
|
|
6776
|
+
.${p}-input[type="file"]{padding:.3rem}
|
|
6777
|
+
.${p}-input[type="file"]::file-selector-button{margin-right:.6rem;padding:.25rem .6rem;border:${l.rule};border-radius:${l.radius};background:${l.surface};color:${l.text};font:inherit;font-size:.8125rem;cursor:pointer}
|
|
6778
|
+
.${p}-toolbar{gap:.75rem}
|
|
6779
|
+
.${p}-tool{padding:0 .75rem;border:${l.rule};border-radius:${l.radius};background:${l.surface};color:${l.text};font:inherit;font-size:.8125rem;line-height:1;transition:background-color ${l.quick} ease,color ${l.quick} ease}
|
|
6780
|
+
.${p}-tool-icon{padding:0;font-size:1rem}
|
|
6781
|
+
.${p}-tool:hover:not(:disabled),.${p}-tool:focus-visible{${l.press};outline:0}
|
|
6782
|
+
.${p}-tool[aria-pressed="true"]{${l.current}}
|
|
6783
|
+
.${p}-tool:disabled{opacity:.45}
|
|
6784
|
+
.${p}-tool-group .${p}-tool:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}
|
|
6785
|
+
.${p}-tool-group .${p}-tool:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}
|
|
6786
|
+
.${p}-splitter{background:transparent;transition:background-color ${l.quick} ease}
|
|
6787
|
+
.${p}-splitter:is(:hover,:focus-visible,[data-dragging]){background:color-mix(in srgb,${l.text} 35%,transparent);outline:0}
|
|
6788
|
+
.${p}-rows,.${p}-code-input{padding:.875rem;border:0;background:none;color:${l.text};font-family:${l.mono};font-size:.8125rem;line-height:1.7}
|
|
6789
|
+
.${p}-rows-row:hover{${l.hover}}
|
|
6790
|
+
.${p}-rows-row[aria-selected="true"],.${p}-rows-row[aria-selected="true"]:hover{background:color-mix(in srgb,${l.text} 18%,${l.surface})}
|
|
6791
|
+
.${p}-rows-row[aria-invalid="true"]{text-decoration:underline wavy ${l.danger}}
|
|
6792
|
+
.${p}-rows-row:focus-visible{outline:${l.rule};outline-offset:-1px}
|
|
6793
|
+
.${p}-code-input:focus-visible{outline:0;box-shadow:inset 0 -1px 0 ${l.text}}
|
|
6794
|
+
.${p}-status{padding:.5rem .875rem;border-top:${l.rule};font-size:.75rem;line-height:1.6;color:${l.muted}}
|
|
6795
|
+
.${p}-status[data-error]{${l.current}}
|
|
6796
|
+
.${p}-example{margin:1rem 0;padding:1.25rem 1.4rem;border:${l.rule};border-radius:${l.radius}}
|
|
6797
|
+
.${p}-example-item + .${p}-example-item{margin-top:.9rem}
|
|
6798
|
+
.${p}-example table{margin:0}
|
|
6799
|
+
.${p}-cluster{gap:.6rem}
|
|
6800
|
+
.${p}-split{border:${l.hair};border-radius:${l.radius}}
|
|
6801
|
+
.${p}-split-pane{padding:.75rem;font-size:.875rem}
|
|
6802
|
+
.${p}-swatches{gap:.6rem;margin:.75rem 0}
|
|
6803
|
+
.${p}-swatch{column-gap:.7rem;padding:.5rem;border:${l.hair};border-radius:${l.radius}}
|
|
6804
|
+
.${p}-swatch-chip{border:${l.rule};border-radius:${l.radius}}
|
|
6805
|
+
.${p}-swatch strong{font-size:.8125rem;font-weight:600;line-height:1.3}
|
|
6806
|
+
.${p}-swatch code{padding:0;background:none;font-size:.7rem;line-height:1.3;color:${l.muted}}
|
|
6807
|
+
.${p}-preview{margin:1rem 0;border:${l.rule};border-radius:${l.radius};overflow:hidden}
|
|
6808
|
+
.${p}-preview-bar{gap:1rem;padding:0 .4rem 0 .9rem;border-bottom:${l.rule};font-size:.8125rem;font-weight:600}
|
|
6809
|
+
.${p}-preview-bar a{font-weight:400;font-size:.75rem}
|
|
6810
|
+
.${p}-preview iframe{background:${l.surface}}
|
|
6811
|
+
.${p}-trail{border-bottom:${l.rule};background:${l.surface};font-size:.75rem}
|
|
6812
|
+
.${p}-trail button{padding:0 .75rem;border:0;background:none;color:${l.muted};font:inherit}
|
|
6813
|
+
.${p}-trail button + button::before{margin-right:.75rem;color:${l.muted}}
|
|
6814
|
+
.${p}-trail button[aria-current]{color:${l.text};font-weight:600}
|
|
6815
|
+
.${p}-trail button:hover{color:${l.text}}
|
|
6816
|
+
.${p}-popover summary{padding:.45rem .8rem;border:${l.rule};border-radius:${l.radius};background:${l.surface};color:${l.text};font-size:.875rem;font-weight:500}
|
|
6817
|
+
.${p}-popover summary:hover,.${p}-popover summary:focus-visible,.${p}-popover[open] summary{${l.press};outline:0}
|
|
6818
|
+
.${p}-popover-body{padding:.75rem .9rem;border:${l.rule};border-radius:${l.radius};background:${l.surface};color:${l.text};font-size:.875rem;line-height:1.6;box-shadow:${l.elevation}}
|
|
6819
|
+
.${p}-popover-body :is(p,ul,ol):first-child{margin-top:0}
|
|
6820
|
+
.${p}-popover-body :is(p,ul,ol):last-child{margin-bottom:0}
|
|
6821
|
+
.${p}-drawer{border-left:${l.rule};background:${l.surface};color:${l.text};box-shadow:${l.elevation}}
|
|
6822
|
+
.${p}-drawer[data-${p}-side="left"]{border-left:0;border-right:${l.rule}}
|
|
6823
|
+
.${p}-drawer-head{gap:1rem;padding:.6rem .75rem .6rem 1rem;border-bottom:${l.rule};font-size:.9375rem;font-weight:600}
|
|
6824
|
+
.${p}-drawer-body{padding:1rem;font-size:.875rem}
|
|
6825
|
+
.${p}-checks{gap:.4rem;padding:0;border:0}
|
|
6826
|
+
.${p}-checks legend{padding:0;margin-bottom:.35rem}
|
|
6827
|
+
.${p}-checks-item{gap:.5rem;font-size:.875rem;color:${l.text}}
|
|
6828
|
+
.${p}-sort{gap:.35rem;padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:600}
|
|
6829
|
+
.${p}-sort::after{font-size:.75rem;color:${l.muted}}
|
|
6830
|
+
.${p}-sort:hover{text-decoration:underline}
|
|
6831
|
+
.${p}-sort:focus-visible{outline:${l.rule};outline-offset:2px}
|
|
6832
|
+
th[aria-sort="ascending"] .${p}-sort::after,th[aria-sort="descending"] .${p}-sort::after{color:${l.text}}
|
|
6833
|
+
.${p}-calendar{gap:.5rem;padding:.75rem;border:${l.rule};border-radius:${l.radius};background:${l.surface};color:${l.text}}
|
|
6834
|
+
.${p}-calendar-head{gap:.5rem;font-size:.9375rem;font-weight:600}
|
|
6835
|
+
.${p}-calendar-grid th{padding:.2rem 0;font-size:.75rem;font-weight:500;color:${l.muted}}
|
|
6836
|
+
.${p}-calendar-grid td{padding:1px}
|
|
6837
|
+
.${p}-calendar-day{padding:0;border:0;border-radius:${l.radius};background:none;color:${l.text};font:inherit;font-size:.8125rem;transition:background-color ${l.quick} ease,color ${l.quick} ease}
|
|
6838
|
+
.${p}-calendar-day:hover,.${p}-calendar-day:focus-visible{${l.press};outline:0}
|
|
6839
|
+
.${p}-calendar-day[aria-pressed="true"]{${l.current}}
|
|
6840
|
+
@media (prefers-reduced-motion:reduce){.${p}-spinner-mark,.${p}-skeleton-line,.${p}-progress[data-${p}-busy] .${p}-progress-bar{animation:none}.${p}-tip::after{transition:none}}
|
|
6841
|
+
`;
|
|
6842
|
+
};
|
|
6843
|
+
exports.partsAppearanceCss = partsAppearanceCss;
|
|
6844
|
+
|
|
6255
6845
|
},
|
|
6256
6846
|
"src/Appearance/model/appearance.ts": function (module, exports, require) {
|
|
6257
6847
|
"use strict";
|
|
@@ -6276,7 +6866,7 @@ exports.monochrome = {
|
|
|
6276
6866
|
head: "3rem",
|
|
6277
6867
|
gutter: "1.25rem",
|
|
6278
6868
|
page: "2rem 2.5rem 3rem",
|
|
6279
|
-
elevation: "
|
|
6869
|
+
elevation: "0 2px 10px rgba(0,0,0,.22)",
|
|
6280
6870
|
quick: ".15s",
|
|
6281
6871
|
arrive: ".34s",
|
|
6282
6872
|
leave: ".26s",
|
|
@@ -6317,6 +6907,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6317
6907
|
exports.appearanceCss = void 0;
|
|
6318
6908
|
const token_1 = require("src/Style/model/token.ts");
|
|
6319
6909
|
const themeToggle_1 = require("src/Component/usecase/themeToggle.ts");
|
|
6910
|
+
const partsCss_1 = require("src/Component/usecase/partsCss.ts");
|
|
6320
6911
|
const appearanceCss = (theme) => (a) => {
|
|
6321
6912
|
const p = theme.prefix;
|
|
6322
6913
|
const cvar = (0, token_1.colorVar)(theme);
|
|
@@ -6346,7 +6937,7 @@ const appearanceCss = (theme) => (a) => {
|
|
|
6346
6937
|
return `
|
|
6347
6938
|
.${p}-shell{background:${surface};color:${text};font-family:${a.font};font-size:${a.size};line-height:${a.leading};-webkit-font-smoothing:antialiased}
|
|
6348
6939
|
.${p}-shell .${p}-col{background:${surface};border-right:${rule}}
|
|
6349
|
-
.${p}-shell-head{gap:.5rem;height:${a.head};padding:0 .5rem 0 ${a.gutter};border-bottom:${rule};font-size:.875rem;line-height:1.25rem;font-weight:
|
|
6940
|
+
.${p}-shell-head{gap:.5rem;height:${a.head};padding:0 .5rem 0 ${a.gutter};border-bottom:${rule};font-size:.875rem;line-height:1.25rem;font-weight:500}
|
|
6350
6941
|
.${p}-shell-body{scroll-behavior:smooth}
|
|
6351
6942
|
${side}{transition:width ${a.arrive} ${a.ease}}
|
|
6352
6943
|
${side} .${p}-shell-body{font-size:.875rem}
|
|
@@ -6360,6 +6951,20 @@ ${page} .${p}-shell-body{padding:${a.page}}
|
|
|
6360
6951
|
.${p}-shell-fold span::before{content:"";position:absolute;top:0;bottom:0;left:.25rem;border-left:1.5px solid currentColor}
|
|
6361
6952
|
.${p}-shell-foot{gap:.5rem;padding:.6rem ${a.gutter};border-top:${rule}}
|
|
6362
6953
|
${M} ${side} .${p}-shell-head{padding:0}
|
|
6954
|
+
.${p}-figure-page .${p}-shell-head{gap:1rem;padding-top:.75rem}
|
|
6955
|
+
${page}.${p}-figure-page .${p}-shell-body{padding:0}
|
|
6956
|
+
.${p}-shell-note{font-weight:400;color:${muted}}
|
|
6957
|
+
.${p}-shell-rail{padding:.5rem 0 .75rem;background:${surface};border-left:${rule}}
|
|
6958
|
+
.${p}-shell-rail-group{gap:.5rem}
|
|
6959
|
+
.${p}-chrome-links{gap:.4rem}
|
|
6960
|
+
.${p}-chrome-link{padding:.25rem .4rem;font-size:.8rem;color:${muted};text-decoration:none;${quick("background-color")}}
|
|
6961
|
+
.${p}-chrome-link:hover,.${p}-chrome-link:focus-visible{${mark(a.press)};text-decoration:none}
|
|
6962
|
+
.${p}-shell-rail .${p}-chrome-link-label{letter-spacing:.02em}
|
|
6963
|
+
.${p}-shell-caption,.${p}-shell-side-link{padding:.75rem ${a.gutter};font-size:.8rem}
|
|
6964
|
+
.${p}-shell-caption{margin:0;color:${muted}}
|
|
6965
|
+
.${p}-shell-side-link{border-top:${rule}}
|
|
6966
|
+
.${p}-doc-foot{margin-top:2rem;padding:1.25rem 0}
|
|
6967
|
+
.${p}-doc-foot p{margin:0;font-size:13px;color:${muted}}
|
|
6363
6968
|
${M} .${p}-shell-foot{padding:.6rem 0}
|
|
6364
6969
|
.${p}-shell-bar{gap:.6rem;height:${a.head};padding:0 1rem;background:${surface};border-bottom:${rule}}
|
|
6365
6970
|
.${p}-shell-menu-btn{border:0;padding:0;color:${text};background-color:transparent;background-image:linear-gradient(currentColor,currentColor),linear-gradient(currentColor,currentColor),linear-gradient(currentColor,currentColor);background-size:100% 2px;background-position:0 1px,0 7px,0 13px;background-repeat:no-repeat}
|
|
@@ -6374,7 +6979,6 @@ ${page} ~ ${page}{animation:${p}-page-in ${a.arrive} ${a.ease}}
|
|
|
6374
6979
|
.${p}-shell ${page}${page}[data-${p}-replacing]{animation:${p}-page-swap ${a.swap} ease-out}
|
|
6375
6980
|
.${p}-shell ${page}${page}[data-${p}-leaving]{animation:${p}-page-out ${a.leave} cubic-bezier(.4,0,.6,1) forwards}
|
|
6376
6981
|
${doc} h1{font-size:1.375rem;font-weight:600;letter-spacing:-.01em;line-height:1.3;margin:0 0 1rem}
|
|
6377
|
-
${doc} h1 + p{color:${muted}}
|
|
6378
6982
|
${doc} h2{font-size:1.0625rem;font-weight:600;line-height:1.4;margin:2.5rem 0 .75rem}
|
|
6379
6983
|
${doc} h3{font-size:.9375rem;font-weight:600;line-height:1.5;margin:1.75rem 0 .5rem}
|
|
6380
6984
|
${doc} h4{font-size:.875rem;font-weight:600;line-height:1.5;color:${muted};margin:1.25rem 0 .5rem}
|
|
@@ -6415,8 +7019,8 @@ ${link}:focus-visible{${mark(a.press)};text-decoration:none;outline:0}
|
|
|
6415
7019
|
${link}[aria-current] .${p}-nav-label{${mark(a.current)}}
|
|
6416
7020
|
.${p}-nav-flat{padding:.5rem ${a.gutter};border-bottom:${hair};font-size:.875rem;line-height:1.45;color:${muted}}
|
|
6417
7021
|
.${p}-nav-subgroup{margin:0}
|
|
6418
|
-
.${p}-nav-subgroup-title{padding:.5rem ${a.gutter};font-size:.875rem;line-height:1.45;border-bottom:${hair};font-weight:
|
|
6419
|
-
${group} summary{padding:.7rem ${a.gutter};font-size:.875rem;font-weight:
|
|
7022
|
+
.${p}-nav-subgroup-title{padding:.5rem ${a.gutter};font-size:.875rem;line-height:1.45;border-bottom:${hair};font-weight:500;color:${text}}
|
|
7023
|
+
${group} summary{padding:.7rem ${a.gutter};font-size:.875rem;font-weight:400;color:${text};${quick("background-color", "color")}}
|
|
6420
7024
|
${group} summary::after{content:"";width:.4rem;height:.4rem;margin-right:.2rem;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(-45deg);transition:transform ${a.quick} ease}
|
|
6421
7025
|
${group}[open] summary::after{transform:rotate(45deg)}
|
|
6422
7026
|
${group}[open] summary{color:${text}}
|
|
@@ -6431,7 +7035,7 @@ ${group}[open] summary{padding-bottom:.45rem}
|
|
|
6431
7035
|
${group}[open]::details-content{padding-bottom:.5rem}
|
|
6432
7036
|
${group} ${link}:hover{padding-left:calc(${a.gutter} + 1.15rem)}
|
|
6433
7037
|
${group} ${link}[aria-current]:hover{padding-left:calc(${a.gutter} + .9rem)}
|
|
6434
|
-
${car}{width:2.25rem;height:2.25rem;margin-top:-1.125rem;padding:0;border:${rule};border-radius
|
|
7038
|
+
${car}{width:2.25rem;height:2.25rem;margin-top:-1.125rem;padding:0;border:${rule};border-radius:50%;background:${surface};color:${text};box-shadow:${a.elevation};${quick("background-color", "color")}}
|
|
6435
7039
|
${carEach("::before")}{content:"";width:.5rem;height:.5rem;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor}
|
|
6436
7040
|
.${p}-carousel-prev::before{transform:translateX(.12rem) rotate(-135deg)}
|
|
6437
7041
|
.${p}-carousel-next::before{transform:translateX(-.12rem) rotate(45deg)}
|
|
@@ -6463,11 +7067,15 @@ select.${p}-input{appearance:none;padding-right:1.9rem;background-image:linear-g
|
|
|
6463
7067
|
.${p}-prop-label{font-size:.8125rem;line-height:1.3;color:${text}}
|
|
6464
7068
|
.${p}-prop-control .${p}-input{padding:.3rem .55rem;font-size:.8125rem}
|
|
6465
7069
|
.${p}-prop-control select.${p}-input{padding-right:1.7rem}
|
|
7070
|
+
.${p}-prop-control{gap:.4rem}
|
|
7071
|
+
.${p}-props .${p}-btn{min-height:0;padding:.3rem .55rem;font-size:.8125rem;font-weight:400}
|
|
7072
|
+
.${p}-btn[aria-pressed="true"]{${mark(a.current)}}
|
|
6466
7073
|
.${p}-switch{gap:.55rem;padding:0;border:0;background:none;color:${text};font:inherit;font-size:.8125rem;line-height:1.3}
|
|
6467
7074
|
.${p}-switch-track{border:${rule};border-radius:${a.radius === "0" ? "0" : "999px"};background:${surface};${quick("background-color", "border-color")}}
|
|
6468
7075
|
.${p}-switch-thumb{border-radius:${a.radius === "0" ? "0" : "50%"};background:${text};transition:transform ${a.quick} ${a.ease},background-color ${a.quick} ease}
|
|
6469
|
-
.${p}-switch[aria-checked="true"] .${p}-switch-track{background:${cvar("primary-base")};border-color:${cvar("primary-base")}}
|
|
6470
|
-
.${p}-switch[aria-checked="true"] .${p}-switch-thumb{background:${surface}}
|
|
7076
|
+
.${p}-switch:is([aria-checked="true"],[aria-pressed="true"]) .${p}-switch-track{background:${cvar("primary-base")};border-color:${cvar("primary-base")}}
|
|
7077
|
+
.${p}-switch:is([aria-checked="true"],[aria-pressed="true"]) .${p}-switch-thumb{background:${surface}}
|
|
7078
|
+
.${p}-switch[aria-pressed="mixed"] .${p}-switch-thumb{background:${muted}}
|
|
6471
7079
|
.${p}-switch:focus-visible{outline:0}
|
|
6472
7080
|
.${p}-switch:focus-visible .${p}-switch-track{box-shadow:0 0 0 2px ${surface},0 0 0 3px ${cvar(a.rule)}}
|
|
6473
7081
|
.${p}-switch:disabled{opacity:.45}
|
|
@@ -6482,8 +7090,28 @@ ${tones
|
|
|
6482
7090
|
.join("\n")}
|
|
6483
7091
|
.${p}-toast-close{width:1.6rem;height:1.6rem;padding:0;border:0;border-radius:${a.radius};background:none;color:inherit;font-size:1.05rem;line-height:1}
|
|
6484
7092
|
.${p}-toast-close:hover,.${p}-toast-close:focus-visible{background:currentColor;outline:0}
|
|
7093
|
+
${(0, partsCss_1.partsAppearanceCss)({
|
|
7094
|
+
p,
|
|
7095
|
+
text,
|
|
7096
|
+
surface,
|
|
7097
|
+
muted,
|
|
7098
|
+
wash: cvar("surface-2"),
|
|
7099
|
+
rule,
|
|
7100
|
+
hair,
|
|
7101
|
+
radius: a.radius,
|
|
7102
|
+
round: a.radius === "0" ? "0" : "999px",
|
|
7103
|
+
mono: a.mono,
|
|
7104
|
+
elevation: a.elevation,
|
|
7105
|
+
quick: a.quick,
|
|
7106
|
+
current: mark(a.current),
|
|
7107
|
+
press: mark(a.press),
|
|
7108
|
+
hover: mark(a.hover),
|
|
7109
|
+
danger,
|
|
7110
|
+
tone: (name, part) => `var(--${p}-${name}-${part})`,
|
|
7111
|
+
tones,
|
|
7112
|
+
})}
|
|
6485
7113
|
@media (max-width:959px){${page} .${p}-shell-body{padding:1.25rem 1.25rem 3rem}}
|
|
6486
|
-
@media (prefers-reduced-motion:reduce){${side},.${p}-shell-brand,.${p}-shell-fold,${doc} a,${group} summary,${group} summary::after,${group}::details-content,${group} ${link},${car},.${p}-btn,.${p}-input,.${p}-switch-track,.${p}-switch-thumb{transition:none}${page} ~ ${page},.${p}-shell ${page}${page}[data-${p}-replacing],.${p}-shell ${page}${page}[data-${p}-leaving]{animation:none}}
|
|
7114
|
+
@media (prefers-reduced-motion:reduce){${side},.${p}-shell-brand,.${p}-shell-fold,${doc} a,${group} summary,${group} summary::after,${group}::details-content,${group} ${link},${car},.${p}-chrome-link,.${p}-btn,.${p}-input,.${p}-switch-track,.${p}-switch-thumb{transition:none}${page} ~ ${page},.${p}-shell ${page}${page}[data-${p}-replacing],.${p}-shell ${page}${page}[data-${p}-leaving]{animation:none}}
|
|
6487
7115
|
`;
|
|
6488
7116
|
};
|
|
6489
7117
|
exports.appearanceCss = appearanceCss;
|
|
@@ -6512,6 +7140,840 @@ const asAppearance = (value) => {
|
|
|
6512
7140
|
};
|
|
6513
7141
|
exports.asAppearance = asAppearance;
|
|
6514
7142
|
|
|
7143
|
+
},
|
|
7144
|
+
"src/Component/usecase/workbench.ts": function (module, exports, require) {
|
|
7145
|
+
"use strict";
|
|
7146
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7147
|
+
exports.statusLine = exports.codeInput = exports.rowList = exports.splitter = void 0;
|
|
7148
|
+
const plgg_1 = require("plgg");
|
|
7149
|
+
const plgg_view_1 = require("plgg-view");
|
|
7150
|
+
const classHooks_1 = require("src/Meta/model/classHooks.ts");
|
|
7151
|
+
const splitter = (props) => (0, plgg_view_1.el)("div", [
|
|
7152
|
+
(0, plgg_view_1.attr)("class", classHooks_1.splitterClass),
|
|
7153
|
+
(0, plgg_view_1.attr)("role", "separator"),
|
|
7154
|
+
(0, plgg_view_1.attr)("aria-orientation", props.orientation),
|
|
7155
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7156
|
+
], []);
|
|
7157
|
+
exports.splitter = splitter;
|
|
7158
|
+
const rowList = (props) => (0, plgg_view_1.el)("div", [
|
|
7159
|
+
(0, plgg_view_1.attr)("class", classHooks_1.rowsClass),
|
|
7160
|
+
(0, plgg_view_1.attr)("role", "listbox"),
|
|
7161
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7162
|
+
], props.rows.map((row) => (0, plgg_view_1.el)("div", [
|
|
7163
|
+
(0, plgg_view_1.attr)("class", classHooks_1.rowsRowClass),
|
|
7164
|
+
(0, plgg_view_1.attr)("role", "option"),
|
|
7165
|
+
(0, plgg_view_1.attr)("tabindex", "0"),
|
|
7166
|
+
(0, plgg_view_1.attr)("aria-selected", (0, plgg_1.matchOption)(() => false, (id) => id === row.id)(props.selected)
|
|
7167
|
+
? "true"
|
|
7168
|
+
: "false"),
|
|
7169
|
+
...(row.invalid
|
|
7170
|
+
? [(0, plgg_view_1.attr)("aria-invalid", "true")]
|
|
7171
|
+
: []),
|
|
7172
|
+
(0, plgg_view_1.onClick)(props.onSelect(row.id)),
|
|
7173
|
+
], [(0, plgg_view_1.text)(row.text)])));
|
|
7174
|
+
exports.rowList = rowList;
|
|
7175
|
+
const codeInput = (props) => (0, plgg_view_1.el)("textarea", [
|
|
7176
|
+
(0, plgg_view_1.attr)("class", classHooks_1.codeInputClass),
|
|
7177
|
+
(0, plgg_view_1.attr)("name", props.name),
|
|
7178
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7179
|
+
(0, plgg_view_1.attr)("spellcheck", "false"),
|
|
7180
|
+
(0, plgg_view_1.attr)("value", props.value),
|
|
7181
|
+
(0, plgg_view_1.onInput)(props.onInput),
|
|
7182
|
+
], [(0, plgg_view_1.text)(props.value)]);
|
|
7183
|
+
exports.codeInput = codeInput;
|
|
7184
|
+
const statusLine = (props) => (0, plgg_view_1.el)("output", [
|
|
7185
|
+
(0, plgg_view_1.attr)("class", classHooks_1.statusClass),
|
|
7186
|
+
(0, plgg_view_1.attr)("aria-live", "polite"),
|
|
7187
|
+
...((0, plgg_1.isSome)(props.tone)
|
|
7188
|
+
? [(0, plgg_view_1.attr)("data-error", "")]
|
|
7189
|
+
: []),
|
|
7190
|
+
], [(0, plgg_view_1.text)(props.text)]);
|
|
7191
|
+
exports.statusLine = statusLine;
|
|
7192
|
+
|
|
7193
|
+
},
|
|
7194
|
+
"src/Component/usecase/presenting.ts": function (module, exports, require) {
|
|
7195
|
+
"use strict";
|
|
7196
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7197
|
+
exports.preview = exports.swatches = exports.swatch = exports.split = exports.cluster = exports.exampleBox = void 0;
|
|
7198
|
+
const plgg_view_1 = require("plgg-view");
|
|
7199
|
+
const classHooks_1 = require("src/Meta/model/classHooks.ts");
|
|
7200
|
+
const workbench_1 = require("src/Component/usecase/workbench.ts");
|
|
7201
|
+
const exampleBox = (children) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.exampleClass)], children.map((child) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.exampleItemClass)], [child])));
|
|
7202
|
+
exports.exampleBox = exampleBox;
|
|
7203
|
+
const cluster = (children) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.clusterClass)], children);
|
|
7204
|
+
exports.cluster = cluster;
|
|
7205
|
+
const split = (props) => (0, plgg_view_1.el)("div", [
|
|
7206
|
+
(0, plgg_view_1.attr)("class", classHooks_1.splitClass),
|
|
7207
|
+
(0, plgg_view_1.attr)("data-orientation", props.orientation),
|
|
7208
|
+
], [
|
|
7209
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.splitPaneClass)], props.first),
|
|
7210
|
+
(0, workbench_1.splitter)({
|
|
7211
|
+
label: props.label,
|
|
7212
|
+
orientation: props.orientation,
|
|
7213
|
+
}),
|
|
7214
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.splitPaneClass)], props.second),
|
|
7215
|
+
]);
|
|
7216
|
+
exports.split = split;
|
|
7217
|
+
const swatch = (props) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.swatchClass)], [
|
|
7218
|
+
(0, plgg_view_1.el)("span", [
|
|
7219
|
+
(0, plgg_view_1.attr)("class", classHooks_1.swatchChipClass),
|
|
7220
|
+
(0, plgg_view_1.attr)("style", `background:${props.color}`),
|
|
7221
|
+
], []),
|
|
7222
|
+
(0, plgg_view_1.el)("strong", [], [(0, plgg_view_1.text)(props.name)]),
|
|
7223
|
+
(0, plgg_view_1.el)("code", [], [(0, plgg_view_1.text)(props.written)]),
|
|
7224
|
+
]);
|
|
7225
|
+
exports.swatch = swatch;
|
|
7226
|
+
const swatches = (items) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.swatchesClass)], items.map((item) => (0, exports.swatch)(item)));
|
|
7227
|
+
exports.swatches = swatches;
|
|
7228
|
+
const preview = (props) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.previewClass)], [
|
|
7229
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.previewBarClass)], [
|
|
7230
|
+
(0, plgg_view_1.el)("span", [], [(0, plgg_view_1.text)(props.title)]),
|
|
7231
|
+
(0, plgg_view_1.el)("a", [
|
|
7232
|
+
(0, plgg_view_1.attr)("href", props.src),
|
|
7233
|
+
(0, plgg_view_1.attr)("target", "_blank"),
|
|
7234
|
+
(0, plgg_view_1.attr)("rel", "noopener"),
|
|
7235
|
+
], [(0, plgg_view_1.text)(props.openLabel)]),
|
|
7236
|
+
]),
|
|
7237
|
+
(0, plgg_view_1.el)("iframe", [
|
|
7238
|
+
(0, plgg_view_1.attr)("src", props.src),
|
|
7239
|
+
(0, plgg_view_1.attr)("title", props.title),
|
|
7240
|
+
(0, plgg_view_1.attr)("loading", "lazy"),
|
|
7241
|
+
], []),
|
|
7242
|
+
]);
|
|
7243
|
+
exports.preview = preview;
|
|
7244
|
+
|
|
7245
|
+
},
|
|
7246
|
+
"src/Shell/usecase/siteCss.ts": function (module, exports, require) {
|
|
7247
|
+
"use strict";
|
|
7248
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7249
|
+
exports.siteCss = void 0;
|
|
7250
|
+
const styleEntry_1 = require("src/styleEntry.ts");
|
|
7251
|
+
const Shell_1 = require("src/Shell/index.ts");
|
|
7252
|
+
const classHooks_1 = require("src/Meta/model/classHooks.ts");
|
|
7253
|
+
const siteCss = (theme, a = Shell_1.monochrome) => {
|
|
7254
|
+
const cvar = (0, styleEntry_1.colorVar)(theme);
|
|
7255
|
+
const mvar = (0, styleEntry_1.metricVar)(theme);
|
|
7256
|
+
return `
|
|
7257
|
+
*{box-sizing:border-box}
|
|
7258
|
+
html{scroll-behavior:smooth}
|
|
7259
|
+
/* qmu: anchor jumps in the lg app shell scroll the content
|
|
7260
|
+
column, not the page; smooth-scroll must be set on both.
|
|
7261
|
+
The reduced-motion RESET of these is the shared UI
|
|
7262
|
+
reducedMotionCss (composed by shell). */
|
|
7263
|
+
main{scroll-behavior:smooth}
|
|
7264
|
+
/* the site's own motion: article/chrome link hover fades.
|
|
7265
|
+
Killed under reduced-motion here (the framework reset only
|
|
7266
|
+
resets its own scroll motion). */
|
|
7267
|
+
@media (prefers-reduced-motion:reduce){
|
|
7268
|
+
.${classHooks_1.siteBodyClass} a{transition:none}
|
|
7269
|
+
.${classHooks_1.docClass} a{transition:none}
|
|
7270
|
+
}
|
|
7271
|
+
body.${classHooks_1.siteBodyClass}{
|
|
7272
|
+
margin:0;
|
|
7273
|
+
font-family:${a.font};
|
|
7274
|
+
font-size:${a.size};line-height:${a.leading};
|
|
7275
|
+
color:${cvar("text")};
|
|
7276
|
+
background:${cvar("surface")};
|
|
7277
|
+
-webkit-font-smoothing:antialiased;
|
|
7278
|
+
}
|
|
7279
|
+
/* Chrome links carry no underline in any state (qmu:
|
|
7280
|
+
every hover affordance is the inverted pill; only
|
|
7281
|
+
article prose underlines, and only at rest). No generic
|
|
7282
|
+
a:hover rule - its (0,2,1) specificity silently beat
|
|
7283
|
+
the pill classes' (0,2,0) and re-underlined them. */
|
|
7284
|
+
:where(.${classHooks_1.siteBodyClass}) a{
|
|
7285
|
+
color:${cvar("primary-base")};
|
|
7286
|
+
text-decoration:none;
|
|
7287
|
+
}
|
|
7288
|
+
|
|
7289
|
+
/* ---- the column system ----------------------------------
|
|
7290
|
+
One frame, one strip, one column shape — the layout
|
|
7291
|
+
coop-planner and corpd share.
|
|
7292
|
+
FRAME .${classHooks_1.shellClass} is exactly the viewport, a flex column:
|
|
7293
|
+
the trail row (when more than one page is open)
|
|
7294
|
+
on top, the strip beneath taking the rest.
|
|
7295
|
+
STRIP .${classHooks_1.siteStripClass} scrolls HORIZONTALLY as columns open;
|
|
7296
|
+
nothing bounds its width.
|
|
7297
|
+
COLUMN every column — sections, drilled section, page —
|
|
7298
|
+
is the same thing: a fixed-height head bar that
|
|
7299
|
+
names it, and a body that scrolls VERTICALLY on
|
|
7300
|
+
its own. One hairline on its right edge is the
|
|
7301
|
+
only separator; there is no gap.
|
|
7302
|
+
Widths are declared once, here. */
|
|
7303
|
+
.${classHooks_1.siteStripClass}{scroll-padding-right:${mvar("rail")}}
|
|
7304
|
+
.${classHooks_1.siteSectionClass}{width:15rem}
|
|
7305
|
+
.${classHooks_1.shellPageClass}{
|
|
7306
|
+
width:min(
|
|
7307
|
+
clamp(40rem,45vw,calc(${mvar("measure")} + 4rem)),
|
|
7308
|
+
100vw
|
|
7309
|
+
);
|
|
7310
|
+
}
|
|
7311
|
+
.${classHooks_1.siteSectionClass} .${classHooks_1.shellBodyClass}{
|
|
7312
|
+
padding:0;font-size:0.875rem;
|
|
7313
|
+
}
|
|
7314
|
+
/* the phone bar and the drawer are the kit's; a site
|
|
7315
|
+
adds the appearance toggle and the social links to the
|
|
7316
|
+
bar */
|
|
7317
|
+
.${classHooks_1.shellBarClass} .${styleEntry_1.themeToggleClass}{margin-left:0.4rem}
|
|
7318
|
+
.${classHooks_1.siteMainClass}{display:block}
|
|
7319
|
+
/* below sm (qmu's 639px block): the prose headings render
|
|
7320
|
+
oversized relative to the phone column; scale them down.
|
|
7321
|
+
Body text keeps its base size. */
|
|
7322
|
+
@media ${(0, styleEntry_1.maxWidth)("sm")}{
|
|
7323
|
+
.${classHooks_1.docClass} h1{font-size:1.25rem}
|
|
7324
|
+
}
|
|
7325
|
+
|
|
7326
|
+
@media ${(0, styleEntry_1.minWidth)("lg")}{
|
|
7327
|
+
/* pages of a fixed width do not share the room, so the
|
|
7328
|
+
sidebar scrolls away with the strip as it always did */
|
|
7329
|
+
.${classHooks_1.siteStripClass}:not(.${classHooks_1.shareClass}) .${classHooks_1.shellSideClass}{position:static}
|
|
7330
|
+
.${classHooks_1.siteStripClass}:not(.${classHooks_1.shareClass}){scroll-padding-left:0}
|
|
7331
|
+
}
|
|
7332
|
+
|
|
7333
|
+
/* below lg the kit turns the sidebar into a drawer under
|
|
7334
|
+
a bar; what is the site's own there: no rail, no
|
|
7335
|
+
drilled section column (the drawer carries it), and a
|
|
7336
|
+
fixed-width page takes the whole window. */
|
|
7337
|
+
@media ${(0, styleEntry_1.maxWidth)("lg")}{
|
|
7338
|
+
.${classHooks_1.siteSectionClass}{display:none}
|
|
7339
|
+
.${classHooks_1.shellPageClass}{width:100vw}
|
|
7340
|
+
.${classHooks_1.shellPageClass} .${classHooks_1.shellBodyClass}{
|
|
7341
|
+
padding:1.25rem 1.25rem 3rem;
|
|
7342
|
+
}
|
|
7343
|
+
.${classHooks_1.docClass}{max-width:100%}
|
|
7344
|
+
.${classHooks_1.docClass} pre{max-width:100%}
|
|
7345
|
+
}
|
|
7346
|
+
@media(min-width:1024px) and (max-width:1099px){
|
|
7347
|
+
.${classHooks_1.shellClass}:has(.${classHooks_1.figurePageClass}) .${classHooks_1.shellBarClass}{display:flex}
|
|
7348
|
+
.${classHooks_1.shellClass}:has(.${classHooks_1.figurePageClass}) .${classHooks_1.shellMenuButtonClass}{display:inline-block}
|
|
7349
|
+
.${classHooks_1.siteStripClass}:has(.${classHooks_1.figurePageClass}) :is(.${classHooks_1.siteSectionClass},.${classHooks_1.shellRailClass}){display:none}
|
|
7350
|
+
.${classHooks_1.siteStripClass}:has(.${classHooks_1.figurePageClass}) .${classHooks_1.shellSideClass}{position:fixed;inset:0 auto 0 0;z-index:50;background:${cvar("surface")};transform:translateX(-100%)}
|
|
7351
|
+
.${classHooks_1.shellMenuClass}:checked ~ .${classHooks_1.siteStripClass}:has(.${classHooks_1.figurePageClass}) .${classHooks_1.shellSideClass}{transform:translateX(0)}
|
|
7352
|
+
.${classHooks_1.shellMenuClass}:checked ~ .${classHooks_1.shellBackdropClass}{display:block}
|
|
7353
|
+
}
|
|
7354
|
+
.${classHooks_1.figurePageClass}{color-scheme:light}
|
|
7355
|
+
html.dark .${classHooks_1.figurePageClass}{color-scheme:dark}
|
|
7356
|
+
.${classHooks_1.siteDrawerNoteClass},.${classHooks_1.siteBarNoteClass}{display:none}
|
|
7357
|
+
@media(max-width:759px),(orientation:landscape) and (max-height:499px){
|
|
7358
|
+
.${classHooks_1.shellClass}:has(.${classHooks_1.figurePageClass}){height:100dvh;box-sizing:border-box;overflow:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
|
|
7359
|
+
.${classHooks_1.shellClass}:has(.${classHooks_1.figurePageClass}) .${classHooks_1.shellBarClass}{height:48px;flex:none;box-sizing:border-box;padding-inline:0 12px}
|
|
7360
|
+
.${classHooks_1.shellClass}:has(.${classHooks_1.figurePageClass}) .${classHooks_1.shellMenuButtonClass}{background-size:22px 2px;background-position:12px calc(50% - 6px),12px center,12px calc(50% + 6px)}
|
|
7361
|
+
.${classHooks_1.shellClass}:has(.${classHooks_1.figurePageClass}) .${classHooks_1.shellBarClass} :is(label,button){min-width:44px;min-height:44px}
|
|
7362
|
+
.${classHooks_1.figurePageClass} .${classHooks_1.shellHeadClass}{display:none}
|
|
7363
|
+
.${classHooks_1.shellClass}:has(.${classHooks_1.figurePageClass}) .${classHooks_1.siteBarHomeClass}{display:block;flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:20px}
|
|
7364
|
+
.${classHooks_1.siteBarNoteClass}{display:block;font-size:12px;line-height:14px;height:14px;overflow:hidden;white-space:normal;color:${cvar("muted")}}
|
|
7365
|
+
.${classHooks_1.siteBarNoteClass} span{display:inline-block;width:max-content}
|
|
7366
|
+
.${classHooks_1.siteBarNoteClass}[data-overflow]{height:0;visibility:hidden}
|
|
7367
|
+
.${classHooks_1.shellClass}:has(.${classHooks_1.figurePageClass}) .${styleEntry_1.sidebarNavClass.link}{min-height:44px;box-sizing:border-box}
|
|
7368
|
+
.${classHooks_1.siteDrawerNoteClass}{display:block;padding:0 1rem}
|
|
7369
|
+
.${classHooks_1.siteStripClass}:has(.${classHooks_1.figurePageClass}){scrollbar-width:none}
|
|
7370
|
+
}
|
|
7371
|
+
@media(orientation:landscape) and (max-height:499px){
|
|
7372
|
+
.${classHooks_1.shellClass}:has(.${classHooks_1.figurePageClass}) .${classHooks_1.shellBarClass}{height:40px}
|
|
7373
|
+
}
|
|
7374
|
+
.${classHooks_1.docClass} [data-island]{display:block;margin:1.25rem 0}
|
|
7375
|
+
::selection{
|
|
7376
|
+
background:${cvar("text")};
|
|
7377
|
+
color:${cvar("surface")};
|
|
7378
|
+
}
|
|
7379
|
+
|
|
7380
|
+
/* the sheet page (one figure filling its column) is the
|
|
7381
|
+
kit's figure page; nothing of it is declared here */
|
|
7382
|
+
/* pages that share the width need no row naming them: each
|
|
7383
|
+
one's own head does, and its close control is there */
|
|
7384
|
+
.${classHooks_1.shellClass}:has(.${classHooks_1.siteFillClass}) ${(0, styleEntry_1.selector)(classHooks_1.trailClass)}{display:none}
|
|
7385
|
+
@media (prefers-reduced-motion:reduce){
|
|
7386
|
+
.${classHooks_1.shellSideClass}{transition:none}
|
|
7387
|
+
}
|
|
7388
|
+
`;
|
|
7389
|
+
};
|
|
7390
|
+
exports.siteCss = siteCss;
|
|
7391
|
+
|
|
7392
|
+
},
|
|
7393
|
+
"src/Component/usecase/display.ts": function (module, exports, require) {
|
|
7394
|
+
"use strict";
|
|
7395
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7396
|
+
exports.itemList = exports.emptyState = exports.codeBlock = exports.avatar = exports.divider = exports.descList = exports.dataTable = exports.card = exports.tag = exports.badge = void 0;
|
|
7397
|
+
const plgg_1 = require("plgg");
|
|
7398
|
+
const plgg_view_1 = require("plgg-view");
|
|
7399
|
+
const classHooks_1 = require("src/Meta/model/classHooks.ts");
|
|
7400
|
+
const badge = (props) => (0, plgg_view_1.el)("span", [
|
|
7401
|
+
(0, plgg_view_1.attr)("class", (0, plgg_1.matchOption)(() => classHooks_1.badgeClass, (tone) => `${classHooks_1.badgeClass} ${(0, classHooks_1.badgeToneClass)(tone)}`)(props.tone)),
|
|
7402
|
+
], [(0, plgg_view_1.text)(props.label)]);
|
|
7403
|
+
exports.badge = badge;
|
|
7404
|
+
const tag = (props) => (0, plgg_view_1.el)("span", [(0, plgg_view_1.attr)("class", classHooks_1.tagClass)], [
|
|
7405
|
+
(0, plgg_view_1.text)(props.label),
|
|
7406
|
+
...(0, plgg_1.matchOption)(() => [], (remove) => [
|
|
7407
|
+
(0, plgg_view_1.el)("button", [
|
|
7408
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7409
|
+
(0, plgg_view_1.attr)("class", classHooks_1.tagRemoveClass),
|
|
7410
|
+
(0, plgg_view_1.attr)("aria-label", `${props.label}のタグを外す`),
|
|
7411
|
+
(0, plgg_view_1.onClick)(remove),
|
|
7412
|
+
], [(0, plgg_view_1.text)("×")]),
|
|
7413
|
+
])(props.onRemove),
|
|
7414
|
+
]);
|
|
7415
|
+
exports.tag = tag;
|
|
7416
|
+
const card = (props) => (0, plgg_view_1.el)("section", [(0, plgg_view_1.attr)("class", classHooks_1.cardClass)], [
|
|
7417
|
+
...(0, plgg_1.matchOption)(() => [], (title) => [
|
|
7418
|
+
(0, plgg_view_1.el)("header", [(0, plgg_view_1.attr)("class", classHooks_1.cardHeadClass)], [(0, plgg_view_1.text)(title)]),
|
|
7419
|
+
])(props.title),
|
|
7420
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.cardBodyClass)], props.body),
|
|
7421
|
+
...(props.foot.length === 0
|
|
7422
|
+
? []
|
|
7423
|
+
: [
|
|
7424
|
+
(0, plgg_view_1.el)("footer", [(0, plgg_view_1.attr)("class", classHooks_1.cardFootClass)], props.foot),
|
|
7425
|
+
]),
|
|
7426
|
+
]);
|
|
7427
|
+
exports.card = card;
|
|
7428
|
+
const cellAttrs = (columns, i) => columns.some((c, at) => at === i && c.numeric)
|
|
7429
|
+
? [(0, plgg_view_1.attr)("class", classHooks_1.numericClass)]
|
|
7430
|
+
: [];
|
|
7431
|
+
const dataTable = (props) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.tableWrapClass)], [
|
|
7432
|
+
(0, plgg_view_1.el)("table", [
|
|
7433
|
+
(0, plgg_view_1.attr)("class", classHooks_1.tableClass),
|
|
7434
|
+
(0, plgg_view_1.attr)("aria-label", props.caption),
|
|
7435
|
+
], [
|
|
7436
|
+
(0, plgg_view_1.el)("thead", [], [
|
|
7437
|
+
(0, plgg_view_1.el)("tr", [], props.columns.map((c, i) => (0, plgg_view_1.el)("th", [
|
|
7438
|
+
(0, plgg_view_1.attr)("scope", "col"),
|
|
7439
|
+
...cellAttrs(props.columns, i),
|
|
7440
|
+
], [(0, plgg_view_1.text)(c.label)]))),
|
|
7441
|
+
]),
|
|
7442
|
+
(0, plgg_view_1.el)("tbody", [], props.rows.map((cells) => (0, plgg_view_1.el)("tr", [], cells.map((cell, i) => (0, plgg_view_1.el)("td", cellAttrs(props.columns, i), [cell]))))),
|
|
7443
|
+
]),
|
|
7444
|
+
]);
|
|
7445
|
+
exports.dataTable = dataTable;
|
|
7446
|
+
const descList = (items) => (0, plgg_view_1.el)("dl", [(0, plgg_view_1.attr)("class", classHooks_1.descClass)], items.flatMap((item) => [
|
|
7447
|
+
(0, plgg_view_1.el)("dt", [], [(0, plgg_view_1.text)(item.term)]),
|
|
7448
|
+
(0, plgg_view_1.el)("dd", [], item.value),
|
|
7449
|
+
]));
|
|
7450
|
+
exports.descList = descList;
|
|
7451
|
+
const divider = () => (0, plgg_view_1.el)("hr", [(0, plgg_view_1.attr)("class", classHooks_1.dividerClass)], []);
|
|
7452
|
+
exports.divider = divider;
|
|
7453
|
+
const avatar = (name) => (0, plgg_view_1.el)("span", [
|
|
7454
|
+
(0, plgg_view_1.attr)("class", classHooks_1.avatarClass),
|
|
7455
|
+
(0, plgg_view_1.attr)("role", "img"),
|
|
7456
|
+
(0, plgg_view_1.attr)("aria-label", name),
|
|
7457
|
+
], [(0, plgg_view_1.text)([...name.trim()].slice(0, 1).join(""))]);
|
|
7458
|
+
exports.avatar = avatar;
|
|
7459
|
+
const codeBlock = (source) => (0, plgg_view_1.el)("pre", [(0, plgg_view_1.attr)("class", classHooks_1.codeBlockClass)], [(0, plgg_view_1.el)("code", [], [(0, plgg_view_1.text)(source)])]);
|
|
7460
|
+
exports.codeBlock = codeBlock;
|
|
7461
|
+
const emptyState = (props) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.emptyClass)], [
|
|
7462
|
+
(0, plgg_view_1.el)("p", [(0, plgg_view_1.attr)("class", classHooks_1.emptyTitleClass)], [(0, plgg_view_1.text)(props.title)]),
|
|
7463
|
+
(0, plgg_view_1.el)("p", [], [(0, plgg_view_1.text)(props.hint)]),
|
|
7464
|
+
...props.action,
|
|
7465
|
+
]);
|
|
7466
|
+
exports.emptyState = emptyState;
|
|
7467
|
+
const itemList = (items) => (0, plgg_view_1.el)("ul", [(0, plgg_view_1.attr)("class", classHooks_1.itemsClass)], items.map((item) => (0, plgg_view_1.el)("li", [(0, plgg_view_1.attr)("class", classHooks_1.itemsRowClass)], [
|
|
7468
|
+
(0, plgg_view_1.el)("div", [], [
|
|
7469
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.itemsTitleClass)], [(0, plgg_view_1.text)(item.title)]),
|
|
7470
|
+
...(0, plgg_1.matchOption)(() => [], (note) => [
|
|
7471
|
+
(0, plgg_view_1.el)("div", [
|
|
7472
|
+
(0, plgg_view_1.attr)("class", classHooks_1.itemsNoteClass),
|
|
7473
|
+
], [(0, plgg_view_1.text)(note)]),
|
|
7474
|
+
])(item.note),
|
|
7475
|
+
]),
|
|
7476
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.itemsTrailClass)], item.trailing),
|
|
7477
|
+
])));
|
|
7478
|
+
exports.itemList = itemList;
|
|
7479
|
+
|
|
7480
|
+
},
|
|
7481
|
+
"src/Component/usecase/feedback.ts": function (module, exports, require) {
|
|
7482
|
+
"use strict";
|
|
7483
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7484
|
+
exports.tooltip = exports.skeleton = exports.spinner = exports.progress = exports.alert = void 0;
|
|
7485
|
+
const plgg_1 = require("plgg");
|
|
7486
|
+
const plgg_view_1 = require("plgg-view");
|
|
7487
|
+
const classHooks_1 = require("src/Meta/model/classHooks.ts");
|
|
7488
|
+
const alert = (props) => (0, plgg_view_1.el)("div", [
|
|
7489
|
+
(0, plgg_view_1.attr)("class", `${classHooks_1.alertClass} ${(0, classHooks_1.alertToneClass)(props.tone)}`),
|
|
7490
|
+
(0, plgg_view_1.attr)("role", props.tone === "danger"
|
|
7491
|
+
? "alert"
|
|
7492
|
+
: "status"),
|
|
7493
|
+
], [
|
|
7494
|
+
...(0, plgg_1.matchOption)(() => [], (title) => [
|
|
7495
|
+
(0, plgg_view_1.el)("p", [(0, plgg_view_1.attr)("class", classHooks_1.alertTitleClass)], [(0, plgg_view_1.text)(title)]),
|
|
7496
|
+
])(props.title),
|
|
7497
|
+
...props.body,
|
|
7498
|
+
]);
|
|
7499
|
+
exports.alert = alert;
|
|
7500
|
+
const percent = (share) => Math.round(Math.min(1, Math.max(0, share)) * 100);
|
|
7501
|
+
const progress = (props) => (0, plgg_view_1.el)("div", [
|
|
7502
|
+
(0, plgg_view_1.attr)("class", classHooks_1.progressClass),
|
|
7503
|
+
(0, plgg_view_1.attr)("role", "progressbar"),
|
|
7504
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7505
|
+
...(0, plgg_1.matchOption)(() => [(0, plgg_view_1.attr)(classHooks_1.busyAttr, "")], (share) => [
|
|
7506
|
+
(0, plgg_view_1.attr)("aria-valuemin", "0"),
|
|
7507
|
+
(0, plgg_view_1.attr)("aria-valuemax", "100"),
|
|
7508
|
+
(0, plgg_view_1.attr)("aria-valuenow", String(percent(share))),
|
|
7509
|
+
])(props.share),
|
|
7510
|
+
], [
|
|
7511
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.progressTrackClass)], [
|
|
7512
|
+
(0, plgg_view_1.el)("div", [
|
|
7513
|
+
(0, plgg_view_1.attr)("class", classHooks_1.progressBarClass),
|
|
7514
|
+
...(0, plgg_1.matchOption)(() => [], (share) => [
|
|
7515
|
+
(0, plgg_view_1.attr)("style", `width:${percent(share)}%`),
|
|
7516
|
+
])(props.share),
|
|
7517
|
+
], []),
|
|
7518
|
+
]),
|
|
7519
|
+
]);
|
|
7520
|
+
exports.progress = progress;
|
|
7521
|
+
const spinner = (label) => (0, plgg_view_1.el)("span", [
|
|
7522
|
+
(0, plgg_view_1.attr)("class", classHooks_1.spinnerClass),
|
|
7523
|
+
(0, plgg_view_1.attr)("role", "status"),
|
|
7524
|
+
], [
|
|
7525
|
+
(0, plgg_view_1.el)("span", [
|
|
7526
|
+
(0, plgg_view_1.attr)("class", classHooks_1.spinnerMarkClass),
|
|
7527
|
+
(0, plgg_view_1.attr)("aria-hidden", "true"),
|
|
7528
|
+
], []),
|
|
7529
|
+
(0, plgg_view_1.text)(label),
|
|
7530
|
+
]);
|
|
7531
|
+
exports.spinner = spinner;
|
|
7532
|
+
const skeleton = (lines) => (0, plgg_view_1.el)("div", [
|
|
7533
|
+
(0, plgg_view_1.attr)("class", classHooks_1.skeletonClass),
|
|
7534
|
+
(0, plgg_view_1.attr)("aria-hidden", "true"),
|
|
7535
|
+
], Array.from({ length: Math.max(1, Math.round(lines)) }, () => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.skeletonLineClass)], [])));
|
|
7536
|
+
exports.skeleton = skeleton;
|
|
7537
|
+
const tooltip = (props) => (0, plgg_view_1.el)("span", [
|
|
7538
|
+
(0, plgg_view_1.attr)("class", classHooks_1.tipClass),
|
|
7539
|
+
(0, plgg_view_1.attr)(classHooks_1.tipAttr, props.tip),
|
|
7540
|
+
(0, plgg_view_1.attr)("aria-description", props.tip),
|
|
7541
|
+
(0, plgg_view_1.attr)("tabindex", "0"),
|
|
7542
|
+
], props.children);
|
|
7543
|
+
exports.tooltip = tooltip;
|
|
7544
|
+
|
|
7545
|
+
},
|
|
7546
|
+
"src/Component/usecase/navigation.ts": function (module, exports, require) {
|
|
7547
|
+
"use strict";
|
|
7548
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7549
|
+
exports.toolbar = exports.toolGroup = exports.toolButton = exports.popover = exports.floatingIconButton = exports.iconButton = exports.menuButton = exports.accordion = exports.steps = exports.pagination = exports.pageNumbers = exports.tabs = void 0;
|
|
7550
|
+
const plgg_1 = require("plgg");
|
|
7551
|
+
const plgg_view_1 = require("plgg-view");
|
|
7552
|
+
const classHooks_1 = require("src/Meta/model/classHooks.ts");
|
|
7553
|
+
const tabs = (props) => (0, plgg_view_1.el)("div", [
|
|
7554
|
+
(0, plgg_view_1.attr)("class", classHooks_1.tabsClass),
|
|
7555
|
+
(0, plgg_view_1.attr)("role", "tablist"),
|
|
7556
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7557
|
+
], props.items.map((item) => (0, plgg_view_1.el)("button", [
|
|
7558
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7559
|
+
(0, plgg_view_1.attr)("class", classHooks_1.tabClass),
|
|
7560
|
+
(0, plgg_view_1.attr)("role", "tab"),
|
|
7561
|
+
(0, plgg_view_1.attr)("aria-selected", item.id === props.current
|
|
7562
|
+
? "true"
|
|
7563
|
+
: "false"),
|
|
7564
|
+
(0, plgg_view_1.onClick)(props.onSelect(item.id)),
|
|
7565
|
+
], [(0, plgg_view_1.text)(item.label)])));
|
|
7566
|
+
exports.tabs = tabs;
|
|
7567
|
+
const pageNumbers = (page, pages) => Array.from({ length: Math.max(0, pages) }, (_, i) => i + 1)
|
|
7568
|
+
.filter((n) => n === 1 ||
|
|
7569
|
+
n === pages ||
|
|
7570
|
+
Math.abs(n - page) <= 1)
|
|
7571
|
+
.flatMap((n, i, shown) => i > 0 &&
|
|
7572
|
+
shown.some((before, at) => at === i - 1 && n - before > 1)
|
|
7573
|
+
? [0, n]
|
|
7574
|
+
: [n]);
|
|
7575
|
+
exports.pageNumbers = pageNumbers;
|
|
7576
|
+
const step = (props, to, glyph, name) => (0, plgg_view_1.el)("button", [
|
|
7577
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7578
|
+
(0, plgg_view_1.attr)("class", classHooks_1.pagerItemClass),
|
|
7579
|
+
(0, plgg_view_1.attr)("aria-label", name),
|
|
7580
|
+
...(to < 1 || to > props.pages
|
|
7581
|
+
? [(0, plgg_view_1.attr)("disabled", "")]
|
|
7582
|
+
: [(0, plgg_view_1.onClick)(props.onGo(to))]),
|
|
7583
|
+
], [(0, plgg_view_1.text)(glyph)]);
|
|
7584
|
+
const pagination = (props) => (0, plgg_view_1.el)("nav", [
|
|
7585
|
+
(0, plgg_view_1.attr)("class", classHooks_1.pagerClass),
|
|
7586
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7587
|
+
], [
|
|
7588
|
+
step(props, props.page - 1, "‹", "前のページ"),
|
|
7589
|
+
...(0, exports.pageNumbers)(props.page, props.pages).map((n) => n === 0
|
|
7590
|
+
? (0, plgg_view_1.el)("span", [(0, plgg_view_1.attr)("aria-hidden", "true")], [(0, plgg_view_1.text)("…")])
|
|
7591
|
+
: (0, plgg_view_1.el)("button", [
|
|
7592
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7593
|
+
(0, plgg_view_1.attr)("class", classHooks_1.pagerItemClass),
|
|
7594
|
+
...(n === props.page
|
|
7595
|
+
? [
|
|
7596
|
+
(0, plgg_view_1.attr)("aria-current", "page"),
|
|
7597
|
+
]
|
|
7598
|
+
: [(0, plgg_view_1.onClick)(props.onGo(n))]),
|
|
7599
|
+
], [(0, plgg_view_1.text)(String(n))])),
|
|
7600
|
+
step(props, props.page + 1, "›", "次のページ"),
|
|
7601
|
+
]);
|
|
7602
|
+
exports.pagination = pagination;
|
|
7603
|
+
const steps = (props) => (0, plgg_view_1.el)("ol", [
|
|
7604
|
+
(0, plgg_view_1.attr)("class", classHooks_1.stepsClass),
|
|
7605
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7606
|
+
], props.items.map((name, i) => (0, plgg_view_1.el)("li", [
|
|
7607
|
+
(0, plgg_view_1.attr)("class", classHooks_1.stepClass),
|
|
7608
|
+
...(i === props.current
|
|
7609
|
+
? [(0, plgg_view_1.attr)("aria-current", "step")]
|
|
7610
|
+
: i < props.current
|
|
7611
|
+
? [(0, plgg_view_1.attr)("data-done", "")]
|
|
7612
|
+
: []),
|
|
7613
|
+
], [(0, plgg_view_1.text)(name)])));
|
|
7614
|
+
exports.steps = steps;
|
|
7615
|
+
const accordion = (items) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.accordionClass)], items.map((item) => (0, plgg_view_1.el)("details", [
|
|
7616
|
+
(0, plgg_view_1.attr)("class", classHooks_1.accordionItemClass),
|
|
7617
|
+
...(item.open
|
|
7618
|
+
? [(0, plgg_view_1.attr)("open", "")]
|
|
7619
|
+
: []),
|
|
7620
|
+
], [
|
|
7621
|
+
(0, plgg_view_1.el)("summary", [], [(0, plgg_view_1.text)(item.title)]),
|
|
7622
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.accordionBodyClass)], item.body),
|
|
7623
|
+
])));
|
|
7624
|
+
exports.accordion = accordion;
|
|
7625
|
+
const menuButton = (props) => (0, plgg_view_1.el)("details", [(0, plgg_view_1.attr)("class", classHooks_1.menuButtonClass)], [
|
|
7626
|
+
(0, plgg_view_1.el)("summary", [], [(0, plgg_view_1.text)(props.label)]),
|
|
7627
|
+
(0, plgg_view_1.el)("div", [
|
|
7628
|
+
(0, plgg_view_1.attr)("class", classHooks_1.menuListClass),
|
|
7629
|
+
(0, plgg_view_1.attr)("role", "menu"),
|
|
7630
|
+
], props.items.map((item) => (0, plgg_view_1.el)("button", [
|
|
7631
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7632
|
+
(0, plgg_view_1.attr)("class", classHooks_1.menuItemClass),
|
|
7633
|
+
(0, plgg_view_1.attr)("role", "menuitem"),
|
|
7634
|
+
...(item.danger
|
|
7635
|
+
? [(0, plgg_view_1.attr)("data-danger", "")]
|
|
7636
|
+
: []),
|
|
7637
|
+
(0, plgg_view_1.onClick)(item.onPress),
|
|
7638
|
+
], [(0, plgg_view_1.text)(item.label)]))),
|
|
7639
|
+
]);
|
|
7640
|
+
exports.menuButton = menuButton;
|
|
7641
|
+
const iconButton = (props) => (0, plgg_view_1.el)("button", [
|
|
7642
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7643
|
+
(0, plgg_view_1.attr)("class", classHooks_1.iconButtonClass),
|
|
7644
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7645
|
+
...(props.disabled
|
|
7646
|
+
? [(0, plgg_view_1.attr)("disabled", "")]
|
|
7647
|
+
: [(0, plgg_view_1.onClick)(props.onPress)]),
|
|
7648
|
+
], [
|
|
7649
|
+
(0, plgg_view_1.el)("span", [(0, plgg_view_1.attr)("aria-hidden", "true")], [(0, plgg_view_1.text)(props.glyph)]),
|
|
7650
|
+
]);
|
|
7651
|
+
exports.iconButton = iconButton;
|
|
7652
|
+
const floatingIconButton = (props) => (0, plgg_view_1.el)("button", [
|
|
7653
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7654
|
+
(0, plgg_view_1.attr)("class", `${classHooks_1.iconButtonClass} ${classHooks_1.iconButtonRoundClass}`),
|
|
7655
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7656
|
+
...(props.disabled
|
|
7657
|
+
? [(0, plgg_view_1.attr)("disabled", "")]
|
|
7658
|
+
: [(0, plgg_view_1.onClick)(props.onPress)]),
|
|
7659
|
+
], [
|
|
7660
|
+
(0, plgg_view_1.el)("span", [(0, plgg_view_1.attr)("aria-hidden", "true")], [(0, plgg_view_1.text)(props.glyph)]),
|
|
7661
|
+
]);
|
|
7662
|
+
exports.floatingIconButton = floatingIconButton;
|
|
7663
|
+
const popover = (props) => (0, plgg_view_1.el)("details", [(0, plgg_view_1.attr)("class", classHooks_1.popoverClass)], [
|
|
7664
|
+
(0, plgg_view_1.el)("summary", [], [(0, plgg_view_1.text)(props.label)]),
|
|
7665
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.popoverBodyClass)], props.body),
|
|
7666
|
+
]);
|
|
7667
|
+
exports.popover = popover;
|
|
7668
|
+
const toolButton = (props) => (0, plgg_view_1.el)("button", [
|
|
7669
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7670
|
+
(0, plgg_view_1.attr)("class", (0, plgg_1.isSome)(props.glyph)
|
|
7671
|
+
? `${classHooks_1.toolClass} ${classHooks_1.toolIconClass}`
|
|
7672
|
+
: classHooks_1.toolClass),
|
|
7673
|
+
...((0, plgg_1.isSome)(props.glyph)
|
|
7674
|
+
? [(0, plgg_view_1.attr)("aria-label", props.label)]
|
|
7675
|
+
: []),
|
|
7676
|
+
...(0, plgg_1.matchOption)(() => [], (on) => [
|
|
7677
|
+
(0, plgg_view_1.attr)("aria-pressed", on ? "true" : "false"),
|
|
7678
|
+
])(props.pressed),
|
|
7679
|
+
...(props.disabled
|
|
7680
|
+
? [(0, plgg_view_1.attr)("disabled", "")]
|
|
7681
|
+
: [(0, plgg_view_1.onClick)(props.onPress)]),
|
|
7682
|
+
], [
|
|
7683
|
+
(0, plgg_1.matchOption)(() => (0, plgg_view_1.text)(props.label), (glyph) => (0, plgg_view_1.el)("span", [(0, plgg_view_1.attr)("aria-hidden", "true")], [(0, plgg_view_1.text)(glyph)]))(props.glyph),
|
|
7684
|
+
]);
|
|
7685
|
+
exports.toolButton = toolButton;
|
|
7686
|
+
const toolGroup = (props) => (0, plgg_view_1.el)("div", [
|
|
7687
|
+
(0, plgg_view_1.attr)("class", classHooks_1.toolGroupClass),
|
|
7688
|
+
(0, plgg_view_1.attr)("role", "group"),
|
|
7689
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7690
|
+
], props.items);
|
|
7691
|
+
exports.toolGroup = toolGroup;
|
|
7692
|
+
const toolbar = (props) => (0, plgg_view_1.el)("div", [
|
|
7693
|
+
(0, plgg_view_1.attr)("class", classHooks_1.toolbarClass),
|
|
7694
|
+
(0, plgg_view_1.attr)("role", "toolbar"),
|
|
7695
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7696
|
+
], props.items);
|
|
7697
|
+
exports.toolbar = toolbar;
|
|
7698
|
+
|
|
7699
|
+
},
|
|
7700
|
+
"src/Component/usecase/choices.ts": function (module, exports, require) {
|
|
7701
|
+
"use strict";
|
|
7702
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7703
|
+
exports.toggled = exports.checkGroup = exports.suggestInput = exports.fileInput = exports.slider = exports.searchField = exports.dateInput = exports.numberInput = exports.segmented = exports.radioGroup = void 0;
|
|
7704
|
+
const plgg_1 = require("plgg");
|
|
7705
|
+
const plgg_view_1 = require("plgg-view");
|
|
7706
|
+
const classHooks_1 = require("src/Meta/model/classHooks.ts");
|
|
7707
|
+
const controlParts_1 = require("src/Form/usecase/controlParts.ts");
|
|
7708
|
+
const radioGroup = (props) => (0, plgg_view_1.el)("fieldset", [(0, plgg_view_1.attr)("class", classHooks_1.radiosClass)], [
|
|
7709
|
+
(0, plgg_view_1.el)("legend", [(0, plgg_view_1.attr)("class", classHooks_1.fieldLabelClass)], [(0, plgg_view_1.text)(props.label)]),
|
|
7710
|
+
...props.options.map((option) => (0, plgg_view_1.el)("label", [(0, plgg_view_1.attr)("class", classHooks_1.radioClass)], [
|
|
7711
|
+
(0, plgg_view_1.el)("input", [
|
|
7712
|
+
(0, plgg_view_1.attr)("type", "radio"),
|
|
7713
|
+
(0, plgg_view_1.attr)("name", props.name),
|
|
7714
|
+
(0, plgg_view_1.attr)("value", option.id),
|
|
7715
|
+
...(option.id === props.value
|
|
7716
|
+
? [(0, plgg_view_1.attr)("checked", "")]
|
|
7717
|
+
: []),
|
|
7718
|
+
(0, plgg_view_1.onChange)(props.onChange),
|
|
7719
|
+
], []),
|
|
7720
|
+
(0, plgg_view_1.el)("span", [], [(0, plgg_view_1.text)(option.label)]),
|
|
7721
|
+
])),
|
|
7722
|
+
]);
|
|
7723
|
+
exports.radioGroup = radioGroup;
|
|
7724
|
+
const segmented = (props) => (0, plgg_view_1.el)("div", [
|
|
7725
|
+
(0, plgg_view_1.attr)("class", classHooks_1.segmentedClass),
|
|
7726
|
+
(0, plgg_view_1.attr)("role", "group"),
|
|
7727
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7728
|
+
], props.options.map((option) => (0, plgg_view_1.el)("button", [
|
|
7729
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7730
|
+
(0, plgg_view_1.attr)("class", classHooks_1.segmentClass),
|
|
7731
|
+
(0, plgg_view_1.attr)("aria-pressed", option.id === props.value
|
|
7732
|
+
? "true"
|
|
7733
|
+
: "false"),
|
|
7734
|
+
(0, plgg_view_1.onClick)(props.onSelect(option.id)),
|
|
7735
|
+
], [(0, plgg_view_1.text)(option.label)])));
|
|
7736
|
+
exports.segmented = segmented;
|
|
7737
|
+
const given = (name, value) => (0, plgg_1.matchOption)(() => [], (v) => [(0, plgg_view_1.attr)(name, String(v))])(value);
|
|
7738
|
+
const typedField = (type, props, more) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.fieldClass)], [
|
|
7739
|
+
(0, controlParts_1.fieldLabel)(props.name, props.label),
|
|
7740
|
+
(0, plgg_view_1.el)("input", [
|
|
7741
|
+
(0, plgg_view_1.attr)("id", props.name),
|
|
7742
|
+
(0, plgg_view_1.attr)("name", props.name),
|
|
7743
|
+
(0, plgg_view_1.attr)("type", type),
|
|
7744
|
+
(0, plgg_view_1.attr)("value", props.value),
|
|
7745
|
+
(0, plgg_view_1.attr)("class", classHooks_1.inputClass),
|
|
7746
|
+
...more,
|
|
7747
|
+
...(0, controlParts_1.errorAria)(props.name, props.error),
|
|
7748
|
+
...(props.disabled
|
|
7749
|
+
? [(0, plgg_view_1.attr)("disabled", "")]
|
|
7750
|
+
: []),
|
|
7751
|
+
(0, plgg_view_1.onInput)(props.onInput),
|
|
7752
|
+
], []),
|
|
7753
|
+
...(0, controlParts_1.fieldError)(props.name, props.error),
|
|
7754
|
+
]);
|
|
7755
|
+
const numberInput = (props) => typedField("number", props, [
|
|
7756
|
+
(0, plgg_view_1.attr)("inputmode", "decimal"),
|
|
7757
|
+
...given("min", props.min),
|
|
7758
|
+
...given("max", props.max),
|
|
7759
|
+
...given("step", props.step),
|
|
7760
|
+
]);
|
|
7761
|
+
exports.numberInput = numberInput;
|
|
7762
|
+
const dateInput = (props) => typedField("date", props, []);
|
|
7763
|
+
exports.dateInput = dateInput;
|
|
7764
|
+
const searchField = (props) => (0, plgg_view_1.el)("div", [
|
|
7765
|
+
(0, plgg_view_1.attr)("class", classHooks_1.searchClass),
|
|
7766
|
+
(0, plgg_view_1.attr)("role", "search"),
|
|
7767
|
+
], [
|
|
7768
|
+
(0, plgg_view_1.el)("input", [
|
|
7769
|
+
(0, plgg_view_1.attr)("type", "search"),
|
|
7770
|
+
(0, plgg_view_1.attr)("name", props.name),
|
|
7771
|
+
(0, plgg_view_1.attr)("value", props.value),
|
|
7772
|
+
(0, plgg_view_1.attr)("placeholder", props.placeholder),
|
|
7773
|
+
(0, plgg_view_1.attr)("aria-label", props.label),
|
|
7774
|
+
(0, plgg_view_1.attr)("class", classHooks_1.inputClass),
|
|
7775
|
+
(0, plgg_view_1.onInput)(props.onInput),
|
|
7776
|
+
], []),
|
|
7777
|
+
]);
|
|
7778
|
+
exports.searchField = searchField;
|
|
7779
|
+
const slider = (props) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.fieldClass)], [
|
|
7780
|
+
(0, controlParts_1.fieldLabel)(props.name, props.label),
|
|
7781
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.rangeClass)], [
|
|
7782
|
+
(0, plgg_view_1.el)("input", [
|
|
7783
|
+
(0, plgg_view_1.attr)("id", props.name),
|
|
7784
|
+
(0, plgg_view_1.attr)("name", props.name),
|
|
7785
|
+
(0, plgg_view_1.attr)("type", "range"),
|
|
7786
|
+
(0, plgg_view_1.attr)("min", String(props.min)),
|
|
7787
|
+
(0, plgg_view_1.attr)("max", String(props.max)),
|
|
7788
|
+
(0, plgg_view_1.attr)("step", String(props.step)),
|
|
7789
|
+
(0, plgg_view_1.attr)("value", String(props.value)),
|
|
7790
|
+
(0, plgg_view_1.onInput)(props.onInput),
|
|
7791
|
+
], []),
|
|
7792
|
+
(0, plgg_view_1.el)("output", [
|
|
7793
|
+
(0, plgg_view_1.attr)("for", props.name),
|
|
7794
|
+
(0, plgg_view_1.attr)("class", classHooks_1.rangeValueClass),
|
|
7795
|
+
], [(0, plgg_view_1.text)(String(props.value))]),
|
|
7796
|
+
]),
|
|
7797
|
+
]);
|
|
7798
|
+
exports.slider = slider;
|
|
7799
|
+
const fileInput = (props) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.fieldClass)], [
|
|
7800
|
+
(0, controlParts_1.fieldLabel)(props.name, props.label),
|
|
7801
|
+
(0, plgg_view_1.el)("input", [
|
|
7802
|
+
(0, plgg_view_1.attr)("id", props.name),
|
|
7803
|
+
(0, plgg_view_1.attr)("name", props.name),
|
|
7804
|
+
(0, plgg_view_1.attr)("type", "file"),
|
|
7805
|
+
(0, plgg_view_1.attr)("class", classHooks_1.inputClass),
|
|
7806
|
+
...(0, plgg_1.matchOption)(() => [], (accept) => [
|
|
7807
|
+
(0, plgg_view_1.attr)("accept", accept),
|
|
7808
|
+
])(props.accept),
|
|
7809
|
+
(0, plgg_view_1.onChange)(props.onChange),
|
|
7810
|
+
], []),
|
|
7811
|
+
]);
|
|
7812
|
+
exports.fileInput = fileInput;
|
|
7813
|
+
const suggestInput = (props) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.fieldClass)], [
|
|
7814
|
+
(0, controlParts_1.fieldLabel)(props.name, props.label),
|
|
7815
|
+
(0, plgg_view_1.el)("input", [
|
|
7816
|
+
(0, plgg_view_1.attr)("id", props.name),
|
|
7817
|
+
(0, plgg_view_1.attr)("name", props.name),
|
|
7818
|
+
(0, plgg_view_1.attr)("type", "text"),
|
|
7819
|
+
(0, plgg_view_1.attr)("value", props.value),
|
|
7820
|
+
(0, plgg_view_1.attr)("class", classHooks_1.inputClass),
|
|
7821
|
+
(0, plgg_view_1.attr)("list", `${props.name}-options`),
|
|
7822
|
+
(0, plgg_view_1.attr)("autocomplete", "off"),
|
|
7823
|
+
...(0, controlParts_1.errorAria)(props.name, props.error),
|
|
7824
|
+
...(props.disabled
|
|
7825
|
+
? [(0, plgg_view_1.attr)("disabled", "")]
|
|
7826
|
+
: []),
|
|
7827
|
+
(0, plgg_view_1.onInput)(props.onInput),
|
|
7828
|
+
], []),
|
|
7829
|
+
(0, plgg_view_1.el)("datalist", [(0, plgg_view_1.attr)("id", `${props.name}-options`)], props.options.map((option) => (0, plgg_view_1.el)("option", [(0, plgg_view_1.attr)("value", option)], []))),
|
|
7830
|
+
...(0, controlParts_1.fieldError)(props.name, props.error),
|
|
7831
|
+
]);
|
|
7832
|
+
exports.suggestInput = suggestInput;
|
|
7833
|
+
const checkGroup = (props) => (0, plgg_view_1.el)("fieldset", [(0, plgg_view_1.attr)("class", classHooks_1.checksClass)], [
|
|
7834
|
+
(0, plgg_view_1.el)("legend", [(0, plgg_view_1.attr)("class", classHooks_1.fieldLabelClass)], [(0, plgg_view_1.text)(props.label)]),
|
|
7835
|
+
...props.options.map((option) => (0, plgg_view_1.el)("label", [(0, plgg_view_1.attr)("class", classHooks_1.checksItemClass)], [
|
|
7836
|
+
(0, plgg_view_1.el)("input", [
|
|
7837
|
+
(0, plgg_view_1.attr)("type", "checkbox"),
|
|
7838
|
+
(0, plgg_view_1.attr)("name", props.name),
|
|
7839
|
+
(0, plgg_view_1.attr)("value", option.id),
|
|
7840
|
+
(0, plgg_view_1.attr)("class", classHooks_1.checkboxClass),
|
|
7841
|
+
...(props.chosen.includes(option.id)
|
|
7842
|
+
? [(0, plgg_view_1.attr)("checked", "")]
|
|
7843
|
+
: []),
|
|
7844
|
+
(0, plgg_view_1.onChange)(() => props.onToggle(option.id)),
|
|
7845
|
+
], []),
|
|
7846
|
+
(0, plgg_view_1.el)("span", [], [(0, plgg_view_1.text)(option.label)]),
|
|
7847
|
+
])),
|
|
7848
|
+
]);
|
|
7849
|
+
exports.checkGroup = checkGroup;
|
|
7850
|
+
const toggled = (chosen, id) => chosen.includes(id)
|
|
7851
|
+
? chosen.filter((c) => c !== id)
|
|
7852
|
+
: [...chosen, id];
|
|
7853
|
+
exports.toggled = toggled;
|
|
7854
|
+
|
|
7855
|
+
},
|
|
7856
|
+
"src/Component/usecase/compound.ts": function (module, exports, require) {
|
|
7857
|
+
"use strict";
|
|
7858
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7859
|
+
exports.calendar = exports.monthWeeks = exports.sortTable = exports.sortedBy = exports.sortedOn = exports.drawer = void 0;
|
|
7860
|
+
const plgg_1 = require("plgg");
|
|
7861
|
+
const plgg_view_1 = require("plgg-view");
|
|
7862
|
+
const classHooks_1 = require("src/Meta/model/classHooks.ts");
|
|
7863
|
+
const drawer = (props) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.modalClass)], [
|
|
7864
|
+
(0, plgg_view_1.el)("div", [
|
|
7865
|
+
(0, plgg_view_1.attr)("class", classHooks_1.backdropClass),
|
|
7866
|
+
(0, plgg_view_1.onClick)(props.onClose),
|
|
7867
|
+
], []),
|
|
7868
|
+
(0, plgg_view_1.el)("aside", [
|
|
7869
|
+
(0, plgg_view_1.attr)("class", classHooks_1.drawerClass),
|
|
7870
|
+
(0, plgg_view_1.attr)(classHooks_1.sideAttr, props.side),
|
|
7871
|
+
(0, plgg_view_1.attr)("role", "dialog"),
|
|
7872
|
+
(0, plgg_view_1.attr)("aria-modal", "true"),
|
|
7873
|
+
(0, plgg_view_1.attr)("aria-label", props.title),
|
|
7874
|
+
], [
|
|
7875
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.drawerHeadClass)], [
|
|
7876
|
+
(0, plgg_view_1.el)("span", [], [(0, plgg_view_1.text)(props.title)]),
|
|
7877
|
+
(0, plgg_view_1.el)("button", [
|
|
7878
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7879
|
+
(0, plgg_view_1.attr)("class", classHooks_1.iconButtonClass),
|
|
7880
|
+
(0, plgg_view_1.attr)("aria-label", props.closeLabel),
|
|
7881
|
+
(0, plgg_view_1.onClick)(props.onClose),
|
|
7882
|
+
], [
|
|
7883
|
+
(0, plgg_view_1.el)("span", [(0, plgg_view_1.attr)("aria-hidden", "true")], [(0, plgg_view_1.text)("×")]),
|
|
7884
|
+
]),
|
|
7885
|
+
]),
|
|
7886
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.drawerBodyClass)], props.body),
|
|
7887
|
+
]),
|
|
7888
|
+
]);
|
|
7889
|
+
exports.drawer = drawer;
|
|
7890
|
+
const sortedOn = (sort, id) => ({
|
|
7891
|
+
by: id,
|
|
7892
|
+
descending: sort.by === id ? !sort.descending : false,
|
|
7893
|
+
});
|
|
7894
|
+
exports.sortedOn = sortedOn;
|
|
7895
|
+
const sortedBy = (rows, read, descending) => [...rows].sort((a, b) => (descending ? -1 : 1) *
|
|
7896
|
+
between(read(a), read(b)));
|
|
7897
|
+
exports.sortedBy = sortedBy;
|
|
7898
|
+
const between = (a, b) => typeof a === "number" && typeof b === "number"
|
|
7899
|
+
? a - b
|
|
7900
|
+
: String(a).localeCompare(String(b));
|
|
7901
|
+
const numeric = (numbers) => numbers ? [(0, plgg_view_1.attr)("class", classHooks_1.numericClass)] : [];
|
|
7902
|
+
const sortTable = (props) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.tableWrapClass)], [
|
|
7903
|
+
(0, plgg_view_1.el)("table", [
|
|
7904
|
+
(0, plgg_view_1.attr)("class", classHooks_1.tableClass),
|
|
7905
|
+
(0, plgg_view_1.attr)("aria-label", props.caption),
|
|
7906
|
+
], [
|
|
7907
|
+
(0, plgg_view_1.el)("thead", [], [
|
|
7908
|
+
(0, plgg_view_1.el)("tr", [], props.columns.map((c) => (0, plgg_view_1.el)("th", [
|
|
7909
|
+
(0, plgg_view_1.attr)("scope", "col"),
|
|
7910
|
+
...numeric(c.numeric),
|
|
7911
|
+
...(c.sortable
|
|
7912
|
+
? [
|
|
7913
|
+
(0, plgg_view_1.attr)("aria-sort", props.sort.by !==
|
|
7914
|
+
c.id
|
|
7915
|
+
? "none"
|
|
7916
|
+
: props.sort
|
|
7917
|
+
.descending
|
|
7918
|
+
? "descending"
|
|
7919
|
+
: "ascending"),
|
|
7920
|
+
]
|
|
7921
|
+
: []),
|
|
7922
|
+
], [
|
|
7923
|
+
c.sortable
|
|
7924
|
+
? (0, plgg_view_1.el)("button", [
|
|
7925
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7926
|
+
(0, plgg_view_1.attr)("class", classHooks_1.sortClass),
|
|
7927
|
+
(0, plgg_view_1.onClick)(props.onSort(c.id)),
|
|
7928
|
+
], [(0, plgg_view_1.text)(c.label)])
|
|
7929
|
+
: (0, plgg_view_1.text)(c.label),
|
|
7930
|
+
]))),
|
|
7931
|
+
]),
|
|
7932
|
+
(0, plgg_view_1.el)("tbody", [], props.rows.map((cells) => (0, plgg_view_1.el)("tr", [], cells.map((cell, i) => (0, plgg_view_1.el)("td", numeric(props.columns.some((c, at) => at === i &&
|
|
7933
|
+
c.numeric)), [cell]))))),
|
|
7934
|
+
]),
|
|
7935
|
+
]);
|
|
7936
|
+
exports.sortTable = sortTable;
|
|
7937
|
+
const monthWeeks = (year, month) => weeksOf(new Date(Date.UTC(year, month - 1, 1)).getUTCDay(), new Date(Date.UTC(year, month, 0)).getUTCDate());
|
|
7938
|
+
exports.monthWeeks = monthWeeks;
|
|
7939
|
+
const weeksOf = (lead, days) => Array.from({ length: Math.ceil((lead + days) / 7) }, (_, week) => Array.from({ length: 7 }, (_, at) => week * 7 + at - lead + 1).map((day) => day < 1 || day > days ? 0 : day));
|
|
7940
|
+
const turn = (label, glyph, on) => (0, plgg_view_1.el)("button", [
|
|
7941
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7942
|
+
(0, plgg_view_1.attr)("class", classHooks_1.iconButtonClass),
|
|
7943
|
+
(0, plgg_view_1.attr)("aria-label", label),
|
|
7944
|
+
(0, plgg_view_1.onClick)(on),
|
|
7945
|
+
], [
|
|
7946
|
+
(0, plgg_view_1.el)("span", [(0, plgg_view_1.attr)("aria-hidden", "true")], [(0, plgg_view_1.text)(glyph)]),
|
|
7947
|
+
]);
|
|
7948
|
+
const calendar = (props) => (0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.calendarClass)], [
|
|
7949
|
+
(0, plgg_view_1.el)("div", [(0, plgg_view_1.attr)("class", classHooks_1.calendarHeadClass)], [
|
|
7950
|
+
turn(props.previousLabel, "‹", props.onPrevious),
|
|
7951
|
+
(0, plgg_view_1.el)("span", [(0, plgg_view_1.attr)("aria-live", "polite")], [(0, plgg_view_1.text)(props.title)]),
|
|
7952
|
+
turn(props.nextLabel, "›", props.onNext),
|
|
7953
|
+
]),
|
|
7954
|
+
(0, plgg_view_1.el)("table", [
|
|
7955
|
+
(0, plgg_view_1.attr)("class", classHooks_1.calendarGridClass),
|
|
7956
|
+
(0, plgg_view_1.attr)("aria-label", props.title),
|
|
7957
|
+
], [
|
|
7958
|
+
(0, plgg_view_1.el)("thead", [], [
|
|
7959
|
+
(0, plgg_view_1.el)("tr", [], props.weekdays.map((name) => (0, plgg_view_1.el)("th", [(0, plgg_view_1.attr)("scope", "col")], [(0, plgg_view_1.text)(name)]))),
|
|
7960
|
+
]),
|
|
7961
|
+
(0, plgg_view_1.el)("tbody", [], (0, exports.monthWeeks)(props.year, props.month).map((week) => (0, plgg_view_1.el)("tr", [], week.map((day) => (0, plgg_view_1.el)("td", [], day === 0
|
|
7962
|
+
? []
|
|
7963
|
+
: [
|
|
7964
|
+
(0, plgg_view_1.el)("button", [
|
|
7965
|
+
(0, plgg_view_1.attr)("type", "button"),
|
|
7966
|
+
(0, plgg_view_1.attr)("class", classHooks_1.calendarDayClass),
|
|
7967
|
+
(0, plgg_view_1.attr)("aria-pressed", (0, plgg_1.matchOption)(() => false, (d) => d === day)(props.chosen)
|
|
7968
|
+
? "true"
|
|
7969
|
+
: "false"),
|
|
7970
|
+
(0, plgg_view_1.onClick)(props.onPick(day)),
|
|
7971
|
+
], [(0, plgg_view_1.text)(String(day))]),
|
|
7972
|
+
]))))),
|
|
7973
|
+
]),
|
|
7974
|
+
]);
|
|
7975
|
+
exports.calendar = calendar;
|
|
7976
|
+
|
|
6515
7977
|
}
|
|
6516
7978
|
};
|
|
6517
7979
|
const __cache = {};
|
|
@@ -6527,12 +7989,14 @@ function __require(id) {
|
|
|
6527
7989
|
const __entry = __require("src/index.ts");
|
|
6528
7990
|
export default __entry;
|
|
6529
7991
|
export const {
|
|
7992
|
+
accordion,
|
|
6530
7993
|
action,
|
|
6531
7994
|
actionById,
|
|
6532
7995
|
actionsClass,
|
|
6533
7996
|
actor,
|
|
6534
7997
|
adapter,
|
|
6535
7998
|
advanceColumns,
|
|
7999
|
+
alert,
|
|
6536
8000
|
appearanceCss,
|
|
6537
8001
|
applyVia,
|
|
6538
8002
|
asAppearance,
|
|
@@ -6542,8 +8006,10 @@ export const {
|
|
|
6542
8006
|
asText,
|
|
6543
8007
|
asidePane,
|
|
6544
8008
|
async,
|
|
8009
|
+
avatar,
|
|
6545
8010
|
backClass,
|
|
6546
8011
|
backdropClass,
|
|
8012
|
+
badge,
|
|
6547
8013
|
binding,
|
|
6548
8014
|
boardClass,
|
|
6549
8015
|
boardLevel$,
|
|
@@ -6554,21 +8020,31 @@ export const {
|
|
|
6554
8020
|
btnDangerClass,
|
|
6555
8021
|
btnPrimaryClass,
|
|
6556
8022
|
button,
|
|
8023
|
+
calendar,
|
|
6557
8024
|
calloutClass,
|
|
6558
8025
|
calloutTitleClass,
|
|
6559
8026
|
calloutToneClass,
|
|
6560
8027
|
cancelAction,
|
|
8028
|
+
card,
|
|
6561
8029
|
carouselCss,
|
|
6562
8030
|
carouselInitScript,
|
|
6563
8031
|
carouselNextClass,
|
|
6564
8032
|
carouselPrevClass,
|
|
6565
8033
|
catalogOf,
|
|
6566
8034
|
checkClass,
|
|
8035
|
+
checkGroup,
|
|
6567
8036
|
checkLabelClass,
|
|
6568
8037
|
checkbox,
|
|
6569
8038
|
checkboxClass,
|
|
6570
8039
|
choice,
|
|
6571
8040
|
choiceOf,
|
|
8041
|
+
chromeLinkClass,
|
|
8042
|
+
chromeLinkLabelClass,
|
|
8043
|
+
chromeLinksClass,
|
|
8044
|
+
cluster,
|
|
8045
|
+
codeBlock,
|
|
8046
|
+
codeInput,
|
|
8047
|
+
codeInputClass,
|
|
6572
8048
|
colClass,
|
|
6573
8049
|
colHead,
|
|
6574
8050
|
colHeadClass,
|
|
@@ -6597,11 +8073,14 @@ export const {
|
|
|
6597
8073
|
cssVar,
|
|
6598
8074
|
cssVarRef,
|
|
6599
8075
|
currentScreen,
|
|
8076
|
+
dataTable,
|
|
8077
|
+
dateInput,
|
|
6600
8078
|
declare,
|
|
6601
8079
|
declaredForm,
|
|
6602
8080
|
decodeComposition,
|
|
6603
8081
|
decodeTrail,
|
|
6604
8082
|
defaultFuel,
|
|
8083
|
+
descList,
|
|
6605
8084
|
descriptorOf,
|
|
6606
8085
|
detailLevel$,
|
|
6607
8086
|
detailView,
|
|
@@ -6613,13 +8092,20 @@ export const {
|
|
|
6613
8092
|
dialogTitleClass,
|
|
6614
8093
|
diffCatalog,
|
|
6615
8094
|
disabledClass,
|
|
8095
|
+
divider,
|
|
6616
8096
|
docClass,
|
|
8097
|
+
docFootClass,
|
|
6617
8098
|
documentColumn,
|
|
8099
|
+
drawer,
|
|
6618
8100
|
dynamic,
|
|
6619
8101
|
effect,
|
|
8102
|
+
embedParam,
|
|
8103
|
+
embeddedAttr,
|
|
8104
|
+
embeddersMeta,
|
|
6620
8105
|
emit,
|
|
6621
8106
|
emit$,
|
|
6622
8107
|
emptyModel,
|
|
8108
|
+
emptyState,
|
|
6623
8109
|
encodeTrail,
|
|
6624
8110
|
entry,
|
|
6625
8111
|
entrySeparator,
|
|
@@ -6628,6 +8114,7 @@ export const {
|
|
|
6628
8114
|
errorClass,
|
|
6629
8115
|
errorFor,
|
|
6630
8116
|
escapeChar,
|
|
8117
|
+
exampleBox,
|
|
6631
8118
|
failed,
|
|
6632
8119
|
field,
|
|
6633
8120
|
fieldClass,
|
|
@@ -6644,8 +8131,12 @@ export const {
|
|
|
6644
8131
|
fieldText,
|
|
6645
8132
|
fieldValueClass,
|
|
6646
8133
|
fieldsClass,
|
|
8134
|
+
figureBodyClass,
|
|
8135
|
+
figurePageClass,
|
|
8136
|
+
fileInput,
|
|
6647
8137
|
flagValue,
|
|
6648
8138
|
flagValue$,
|
|
8139
|
+
floatingIconButton,
|
|
6649
8140
|
flowHost,
|
|
6650
8141
|
flowSchema,
|
|
6651
8142
|
flowSchemaOf,
|
|
@@ -6655,12 +8146,16 @@ export const {
|
|
|
6655
8146
|
foldTrail,
|
|
6656
8147
|
formClass,
|
|
6657
8148
|
formView,
|
|
8149
|
+
frameClass,
|
|
6658
8150
|
frameworkName,
|
|
6659
8151
|
glideEase,
|
|
6660
8152
|
heading,
|
|
6661
8153
|
hintClass,
|
|
6662
8154
|
hostAdapter,
|
|
6663
8155
|
hoverDim,
|
|
8156
|
+
iconButton,
|
|
8157
|
+
iconButtonClass,
|
|
8158
|
+
iconButtonRoundClass,
|
|
6664
8159
|
idleSubmission,
|
|
6665
8160
|
immediate,
|
|
6666
8161
|
inertModelContext,
|
|
@@ -6669,6 +8164,7 @@ export const {
|
|
|
6669
8164
|
invokeWith,
|
|
6670
8165
|
isDestructive,
|
|
6671
8166
|
isPending,
|
|
8167
|
+
itemList,
|
|
6672
8168
|
kitAppearanceCss,
|
|
6673
8169
|
kitCss,
|
|
6674
8170
|
kitSystemCss,
|
|
@@ -6690,6 +8186,7 @@ export const {
|
|
|
6690
8186
|
mediaValue$,
|
|
6691
8187
|
menu,
|
|
6692
8188
|
menuBodyClass,
|
|
8189
|
+
menuButton,
|
|
6693
8190
|
menuClass,
|
|
6694
8191
|
menuColumn,
|
|
6695
8192
|
menuCompactAttr,
|
|
@@ -6703,6 +8200,7 @@ export const {
|
|
|
6703
8200
|
momentValue,
|
|
6704
8201
|
momentValue$,
|
|
6705
8202
|
monochrome,
|
|
8203
|
+
monthWeeks,
|
|
6706
8204
|
moonClass,
|
|
6707
8205
|
multiColumn,
|
|
6708
8206
|
multiColumnWith,
|
|
@@ -6725,23 +8223,30 @@ export const {
|
|
|
6725
8223
|
nullary$,
|
|
6726
8224
|
numValue,
|
|
6727
8225
|
numValue$,
|
|
8226
|
+
numberInput,
|
|
6728
8227
|
openMenu,
|
|
6729
8228
|
openedAttr,
|
|
8229
|
+
pageNumbers,
|
|
8230
|
+
pagination,
|
|
6730
8231
|
pane,
|
|
6731
8232
|
paneClass,
|
|
6732
8233
|
parseForm,
|
|
6733
8234
|
parseSteps,
|
|
6734
8235
|
parseUrl,
|
|
8236
|
+
partnersMeta,
|
|
6735
8237
|
pendingSubmission,
|
|
6736
8238
|
permits,
|
|
6737
8239
|
phoneAttr,
|
|
6738
8240
|
pinnedClass,
|
|
6739
8241
|
pinnedPanel,
|
|
8242
|
+
popover,
|
|
6740
8243
|
pragmaticTheme,
|
|
6741
8244
|
pragmaticThemeWithPalette,
|
|
6742
8245
|
pressDim,
|
|
8246
|
+
preview,
|
|
6743
8247
|
printSteps,
|
|
6744
8248
|
programmaticScrollAttr,
|
|
8249
|
+
progress,
|
|
6745
8250
|
projectField,
|
|
6746
8251
|
projectRow,
|
|
6747
8252
|
projection,
|
|
@@ -6758,6 +8263,7 @@ export const {
|
|
|
6758
8263
|
queryChoiceInput,
|
|
6759
8264
|
queryClass,
|
|
6760
8265
|
queryInput,
|
|
8266
|
+
radioGroup,
|
|
6761
8267
|
ran,
|
|
6762
8268
|
ran$,
|
|
6763
8269
|
reachableScroll,
|
|
@@ -6784,7 +8290,10 @@ export const {
|
|
|
6784
8290
|
rowCap,
|
|
6785
8291
|
rowClass,
|
|
6786
8292
|
rowLinkClass,
|
|
8293
|
+
rowList,
|
|
6787
8294
|
rowWith,
|
|
8295
|
+
rowsClass,
|
|
8296
|
+
rowsRowClass,
|
|
6788
8297
|
runFlow,
|
|
6789
8298
|
runFlow$,
|
|
6790
8299
|
runFlowEffect,
|
|
@@ -6794,6 +8303,8 @@ export const {
|
|
|
6794
8303
|
schedulerClass,
|
|
6795
8304
|
scope,
|
|
6796
8305
|
seamClass,
|
|
8306
|
+
searchField,
|
|
8307
|
+
segmented,
|
|
6797
8308
|
select,
|
|
6798
8309
|
selectInput,
|
|
6799
8310
|
selector,
|
|
@@ -6808,6 +8319,7 @@ export const {
|
|
|
6808
8319
|
shellBarClass,
|
|
6809
8320
|
shellBodyClass,
|
|
6810
8321
|
shellBrandClass,
|
|
8322
|
+
shellCaptionClass,
|
|
6811
8323
|
shellClass,
|
|
6812
8324
|
shellFoldClass,
|
|
6813
8325
|
shellFootClass,
|
|
@@ -6816,9 +8328,13 @@ export const {
|
|
|
6816
8328
|
shellMenuClass,
|
|
6817
8329
|
shellMenuId,
|
|
6818
8330
|
shellMinAttr,
|
|
8331
|
+
shellNoteClass,
|
|
6819
8332
|
shellOpenAttr,
|
|
6820
8333
|
shellPageClass,
|
|
8334
|
+
shellRailClass,
|
|
8335
|
+
shellRailGroupClass,
|
|
6821
8336
|
shellSideClass,
|
|
8337
|
+
shellSideLinkClass,
|
|
6822
8338
|
shellTitleClass,
|
|
6823
8339
|
sidebarNav,
|
|
6824
8340
|
sidebarNavClass,
|
|
@@ -6826,26 +8342,50 @@ export const {
|
|
|
6826
8342
|
sidebarNavRevealScript,
|
|
6827
8343
|
singleClass,
|
|
6828
8344
|
singleColumn,
|
|
8345
|
+
siteBarHomeClass,
|
|
8346
|
+
siteBarNoteClass,
|
|
8347
|
+
siteBodyClass,
|
|
8348
|
+
siteCss,
|
|
8349
|
+
siteDrawerNoteClass,
|
|
8350
|
+
siteFillClass,
|
|
8351
|
+
siteMainClass,
|
|
8352
|
+
siteSectionClass,
|
|
8353
|
+
siteStripClass,
|
|
8354
|
+
skeleton,
|
|
6829
8355
|
sliceOf,
|
|
8356
|
+
slider,
|
|
6830
8357
|
slotOf,
|
|
6831
8358
|
soft,
|
|
6832
8359
|
soloComposition,
|
|
8360
|
+
sortTable,
|
|
8361
|
+
sortedBy,
|
|
8362
|
+
sortedOn,
|
|
6833
8363
|
spanAttr,
|
|
6834
8364
|
spanParam,
|
|
6835
8365
|
spanTwoClass,
|
|
8366
|
+
spinner,
|
|
8367
|
+
split,
|
|
8368
|
+
splitter,
|
|
8369
|
+
splitterClass,
|
|
6836
8370
|
stalled,
|
|
6837
8371
|
stalled$,
|
|
6838
8372
|
startFlow,
|
|
6839
8373
|
staticThemeToggle,
|
|
8374
|
+
statusClass,
|
|
8375
|
+
statusLine,
|
|
6840
8376
|
stepFrom,
|
|
6841
8377
|
stepSeparator,
|
|
8378
|
+
steps,
|
|
6842
8379
|
strip,
|
|
6843
8380
|
stripAttr,
|
|
6844
8381
|
stripGeometry,
|
|
6845
8382
|
stripMetrics,
|
|
6846
8383
|
stripStyle,
|
|
6847
8384
|
stripVar,
|
|
8385
|
+
suggestInput,
|
|
6848
8386
|
sunClass,
|
|
8387
|
+
swatch,
|
|
8388
|
+
swatches,
|
|
6849
8389
|
switchClass,
|
|
6850
8390
|
switchLabelClass,
|
|
6851
8391
|
switchThumbClass,
|
|
@@ -6853,6 +8393,8 @@ export const {
|
|
|
6853
8393
|
sync,
|
|
6854
8394
|
syncCatalog,
|
|
6855
8395
|
systemCss,
|
|
8396
|
+
tabs,
|
|
8397
|
+
tag,
|
|
6856
8398
|
textArea,
|
|
6857
8399
|
textArg,
|
|
6858
8400
|
textArg$,
|
|
@@ -6876,8 +8418,17 @@ export const {
|
|
|
6876
8418
|
toasterClass,
|
|
6877
8419
|
toggle,
|
|
6878
8420
|
toggleMode,
|
|
8421
|
+
toggled,
|
|
6879
8422
|
tones,
|
|
6880
8423
|
tool,
|
|
8424
|
+
toolButton,
|
|
8425
|
+
toolClass,
|
|
8426
|
+
toolGroup,
|
|
8427
|
+
toolGroupClass,
|
|
8428
|
+
toolIconClass,
|
|
8429
|
+
toolbar,
|
|
8430
|
+
toolbarClass,
|
|
8431
|
+
tooltip,
|
|
6881
8432
|
trailClass,
|
|
6882
8433
|
trailParam,
|
|
6883
8434
|
trailQuery,
|