bromcom-ui 2.7.36-rc.10-1 → 2.7.36-rc.12-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/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-54afca08.entry.js → p-118e711c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-678d5156.js → p-121e4ca5.js} +1 -1
- package/dist/bromcom-ui/{p-99009fb3.entry.js → p-21263f24.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c864a7dc.entry.js → p-25f444e7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8b0533fe.entry.js → p-26e68ec6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dd620ace.entry.js → p-27c8e474.entry.js} +1 -1
- package/dist/bromcom-ui/{p-603183c2.entry.js → p-2a3a7d9c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1a573c05.entry.js → p-2ec58d06.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6518ede6.entry.js → p-2fc5b5bd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a3a9dfaf.entry.js → p-3cd7aace.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a283f6b3.entry.js → p-41d1f8b7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d3c8b552.entry.js → p-505b1f51.entry.js} +1 -1
- package/dist/bromcom-ui/{p-84cb6a58.js → p-5d337c50.js} +1 -1
- package/dist/bromcom-ui/{p-2f18fecb.entry.js → p-5e502028.entry.js} +1 -1
- package/dist/bromcom-ui/p-5f46c328.js +5 -0
- package/dist/bromcom-ui/{p-18e5fdee.entry.js → p-6711d370.entry.js} +1 -1
- package/dist/bromcom-ui/p-6b61ef5d.js +5 -0
- package/dist/bromcom-ui/p-76e8a020.entry.js +5 -0
- package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
- package/dist/bromcom-ui/{p-93ab74a2.entry.js → p-80cdeb5b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-87b88761.entry.js → p-831fa0e8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c1529286.entry.js → p-83332466.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0609c942.entry.js → p-885292bf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d67cd559.entry.js → p-8ad347e0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
- package/dist/bromcom-ui/p-965d1cb2.entry.js +5 -0
- package/dist/bromcom-ui/{p-92d85409.js → p-9ab7c5f9.js} +1 -1
- package/dist/bromcom-ui/{p-acbb2337.entry.js → p-a18bb86e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-33c2dd40.js → p-a25d4102.js} +1 -1
- package/dist/bromcom-ui/{p-a8d1397d.js → p-a3ffcb0d.js} +1 -1
- package/dist/bromcom-ui/{p-28a663cb.entry.js → p-a57c40a2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-360072c2.entry.js → p-a6f49d6c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0a720ae8.entry.js → p-a7acf688.entry.js} +1 -1
- package/dist/bromcom-ui/{p-64ff8997.entry.js → p-aedac6e4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-559e6ad8.entry.js → p-b6c04be0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2d3c0790.entry.js → p-b79132b8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a0883613.entry.js → p-bb4a5441.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ade7d316.entry.js → p-bbeb3aa8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a5787d86.entry.js → p-c0648349.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e6fd236e.entry.js → p-c0a49e8e.entry.js} +1 -1
- package/dist/bromcom-ui/p-ca48c3aa.entry.js +5 -0
- package/dist/bromcom-ui/{p-28cf1ba4.entry.js → p-cad94133.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7de55a4c.entry.js → p-cccebf39.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a96ae844.entry.js → p-cf48e4bd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-16b69e74.entry.js → p-cf68a762.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ae64e49c.entry.js → p-cfeac4c2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-efea110b.entry.js → p-d0ae1e25.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a724498d.entry.js → p-d0dd9a6d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-236a8be4.entry.js → p-e3306b8d.entry.js} +1 -1
- package/dist/bromcom-ui/p-e58a867d.entry.js +5 -0
- package/dist/bromcom-ui/{p-51f23b60.entry.js → p-e6877526.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4008d187.entry.js → p-e97f680e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0540bd97.entry.js → p-ebadb877.entry.js} +1 -1
- package/dist/bromcom-ui/{p-80e70b89.entry.js → p-f559a41c.entry.js} +1 -1
- package/dist/bromcom-ui/p-fb65423b.js +5 -0
- package/dist/bromcom-ui/{p-040eb04d.entry.js → p-fb8d1e47.entry.js} +1 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-05809f08.entry.js +0 -5
- package/dist/bromcom-ui/p-0f4e34e9.js +0 -5
- package/dist/bromcom-ui/p-29affa82.entry.js +0 -5
- package/dist/bromcom-ui/p-3651da70.entry.js +0 -5
- package/dist/bromcom-ui/p-3dbf5595.js +0 -5
- package/dist/bromcom-ui/p-417a49e7.entry.js +0 -5
- package/dist/bromcom-ui/p-4548abde.entry.js +0 -5
- package/dist/bromcom-ui/p-4f23a2f1.entry.js +0 -5
- package/dist/bromcom-ui/p-5d447563.js +0 -5
- package/dist/bromcom-ui/p-6260e5c6.js +0 -5
- package/dist/bromcom-ui/p-65d94dd2.entry.js +0 -5
- package/dist/bromcom-ui/p-84075684.entry.js +0 -5
- package/dist/bromcom-ui/p-85891433.entry.js +0 -5
- package/dist/bromcom-ui/p-a471aa97.entry.js +0 -5
- package/dist/bromcom-ui/p-b0858229.entry.js +0 -5
- package/dist/bromcom-ui/p-b9f0114c.entry.js +0 -5
- package/dist/bromcom-ui/p-daeb6f7c.entry.js +0 -5
- package/dist/bromcom-ui/p-dbde0dc8.entry.js +0 -5
- package/dist/bromcom-ui/p-f268788c.entry.js +0 -5
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{p as e,b as t}from"./p-0ba73c30.js";import"./p-772a214f.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t(JSON.parse('[["p-a724498d",[[1,"bcm-select",{"_id":[1537,"id"],"value":[1025],"value2":[1025],"size":[1025],"scrollable":[1025],"clearable":[1028],"label":[1025],"placeholder":[1025],"search":[1028],"noCaption":[1028,"no-caption"],"caption":[1025],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"disabled":[1028],"flex":[1028],"name":[1025],"searchFields":[1040],"fullWidth":[1028,"full-width"],"defaultValue":[1025,"default-value"],"hidden":[1028],"checkboxes":[1028],"searchable":[1028],"required":[1028],"treeview":[1028],"numberOfColumns":[1026,"number-of-columns"],"viewportWidth":[1025,"viewport-width"],"viewportMinWidth":[1025,"viewport-min-width"],"viewportMaxWidth":[1025,"viewport-max-width"],"template":[1025],"maxHeight":[1025,"max-height"],"infoFooter":[1028,"info-footer"],"_internal_id":[1537],"alignment":[1025],"_items":[1032],"_data":[1032],"placement":[1537],"tooltip":[1025],"selectText":[32],"isOpen":[32],"captionCache":[32],"captionTypeCache":[32],"config":[64],"setData":[64],"setDataAsync":[64],"clearAndSelectSearch":[64],"selected":[64],"addChecked":[64],"updateChecked":[64],"getValue":[64],"getChecklist":[64],"setClear":[64],"resetCaption":[64]},[[11,"wheel","onwheelEvent"],[7,"scroll","scrollEvent"],[11,"resize","handleScreenResize"],[10,"click","handleClickOutside"],[6,"bcm-treeview-unchecked","handleTreeviewUnchecked"],[6,"bcm-listbox-unchecked","handleListboxUnchecked"],[6,"bcm-old-tag-dissmisable","bcmOldTagDissmisable"],[4,"bcm-listbox-item-selected","handleListboxSelected"],[4,"bcm-treeview-checklist","handleListboxCheckedList"],[4,"bcm-listbox-checklist","handleTreeviewCheckedList"]]]]],["p-ac7386a1",[[1,"bcm-autocomplete",{"searchFields":[1040],"_items":[1025,"data"],"fullWidth":[1028,"full-width"],"hidden":[1028],"searchText":[1025,"searchtext"],"returnField":[1025,"return-field"],"searchSub":[1025,"search-sub"],"searchPlaceholder":[1025,"searchplaceholder"],"inputLength":[32],"isOpen":[32],"resultFound":[32],"searchData":[32],"searchResults":[32],"items":[32],"config":[64],"setData":[64]},[[2,"bcm-listbox-item-selected","handleListboxClearSelected"],[0,"bcm-on-search-value","listenSearchValue"],[0,"bcm-on-search","listenSearchResult"],[10,"click","handleClickOutside"]]]]],["p-a0883613",[[1,"bcm-date-picker",{"_id":[1537,"id"],"date":[1025],"value":[1032],"endDate":[1025,"end-date"],"range":[1028],"hidden":[1028],"name":[1537],"fullWidth":[1028,"full-width"],"required":[1028],"label":[1025],"placeholder":[1025],"disabledDates":[1032,"disableddates"],"disabled":[1028],"noCaption":[1028,"no-caption"],"caption":[1025],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"alignment":[1032],"_internal_id":[1537,"internal-id"],"placement":[1025],"linkedComponent":[1025,"linked-component"],"stateStartDate":[32],"stateEndDate":[32],"set":[64],"get":[64],"setDisabled":[64],"setClear":[64],"setStartDate":[64],"setEndDate":[64],"getInput":[64],"open":[64],"getValue":[64],"isValid":[64],"resetCaption":[64]}]]],["p-28a663cb",[[1,"bcm-time-picker",{"_id":[1537,"id"],"time":[1025],"value":[1032],"hidden":[1028],"name":[1537],"fullWidth":[1028,"full-width"],"required":[1028],"label":[1025],"placeholder":[1025],"disabled":[1028],"noCaption":[1028,"no-caption"],"caption":[1025],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"alignment":[1032],"placement":[1025],"linkedComponent":[1025,"linked-component"],"set":[64],"get":[64],"setDisabled":[64],"getInput":[64],"getValue":[64],"isValid":[64],"setClear":[64],"resetCaption":[64],"open":[64]}]]],["p-0609c942",[[4,"bcm-checkbox-group",{"_id":[1025],"direction":[1025],"items":[1025],"indeterminate":[1028],"name":[1025],"value":[1032],"disabled":[1028],"readonly":[1028],"hidden":[1028],"required":[1028],"label":[1025],"gap":[1025],"defaultValue":[1025,"default-value"],"fullWidth":[1544,"full-width"],"optionType":[1025,"option-type"],"buttonStyle":[1025,"button-style"],"size":[1025],"caption":[1025],"noCaption":[1028,"no-caption"],"captionType":[1025,"caption-type"],"tick":[32],"onBcmFocus":[64],"onBcmBlur":[64],"setClear":[64],"resetCaption":[64],"set":[64],"get":[64],"check":[64],"getValue":[64],"getCheckedList":[64]}]]],["p-3651da70",[[4,"bcm-dropdown",{"isOpen":[1028,"open"],"_id":[1537,"id"],"hidden":[1028],"type":[1025],"size":[1025],"disabled":[1028],"kind":[1025],"icon":[1025],"href":[1025],"target":[1025],"value":[1025],"noStyle":[1028,"no-style"],"dropdownIcon":[1025,"dropdown-icon"],"linkedComponent":[1025,"linked-component"],"multiLevel":[1028,"multi-level"],"loading":[1028],"variant":[1025],"dataDismiss":[1028,"data-dismiss"],"fullWidth":[1028,"full-width"],"iconPosition":[1025,"icon-position"],"placement":[1025],"height":[1025],"maxHeight":[1025,"max-height"],"minHeight":[1025,"min-height"],"stopDeepClean":[4,"stop-deep-clean"],"selectable":[4],"color":[1032],"data":[1032],"setActive":[64]},[[8,"dropdown-linked-component","handleIsClickDismiss"],[8,"click","handleOnClick"],[4,"wheel","handleWheel"],[0,"bcm-items","handleSlotItems"]]]]],["p-54afca08",[[4,"bcm-popconfirm",{"_id":[1537,"id"],"message":[1025],"status":[1025],"cancelText":[1025,"cancel-text"],"okeyText":[1025,"okey-text"],"placement":[1025],"trigger":[1025],"open":[1028],"hidden":[1028],"show":[64],"hide":[64]},[[4,"bcm-popconfirm-confirm","onBcmConfirm"],[4,"bcm-popconfirm-cancel","onBcmCancel"]]]]],["p-8b0533fe",[[4,"bcm-radio-group",{"_id":[1537,"id"],"value":[1032],"direction":[1025],"items":[1025],"size":[1025],"name":[1025],"label":[1025],"disabled":[1028],"hidden":[1028],"required":[1028],"gap":[1025],"defaultValue":[1025,"default-value"],"optionType":[1025,"option-type"],"buttonStyle":[1025,"button-style"],"fullWidth":[1544,"full-width"],"caption":[1025],"noCaption":[1028,"no-caption"],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"captionCache":[32],"captionTypeCache":[32],"radioOptions":[32],"usingSlots":[32],"tick":[32],"setClear":[64],"resetCaption":[64],"set":[64],"get":[64],"check":[64],"getValue":[64]}]]],["p-040eb04d",[[4,"bcm-chip",{"_id":[1537,"id"],"type":[1025],"size":[1025],"avatar":[1032],"icon":[1032],"disabled":[1028],"color":[1032]}]]],["p-2d3c0790",[[1,"bcm-colorpicker",{"_color":[1025,"color"],"open":[1028],"value":[1025],"label":[1025],"size":[1025],"noCaption":[1028,"no-caption"],"caption":[1025],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"fullWidth":[1028,"full-width"],"disabled":[1028],"hidden":[1028],"required":[1028],"tooltip":[1025],"h":[32],"s":[32],"v":[32],"a":[32],"selectedH":[32],"selectedS":[32],"selectedV":[32],"selectedA":[32],"color":[32],"inputValue":[32],"mouseState":[32],"getValue":[64],"setColor":[64]},[[8,"click","handleWindowClick"]]]]],["p-a96ae844",[[4,"bcm-input",{"_id":[1537,"id"],"_internal_id":[1025],"value":[1032],"size":[1025],"label":[1025],"pattern":[1025],"tooltip":[1025],"placeholder":[1025],"disabled":[1028],"readonly":[1028],"clearable":[1028],"autocomplete":[1028],"name":[1025],"type":[1025],"hidden":[1028],"required":[1028],"fullWidth":[1028,"full-width"],"noDefaultIcon":[1028,"no-default-icon"],"disableWatchValue":[1028,"disable-watch-value"],"passwordToggle":[1028,"password-toggle"],"maxLength":[1026,"max-length"],"unitPrefix":[1025,"unit-prefix"],"unit":[1025],"decimal":[1028],"min":[1026],"max":[1026],"step":[1032],"caption":[1025],"noCaption":[1028,"no-caption"],"captionType":[1025,"caption-type"],"captionError":[1025,"caption-error"],"customErrorMessage":[1025,"custom-error-message"],"_prefix":[1025],"_suffix":[1025],"captionCache":[32],"captionTypeCache":[32],"inValid":[32],"valueCache":[32],"focused":[32],"isPasswordVisible":[32],"onBcmFocus":[64],"onBcmBlur":[64],"onBcmSelect":[64],"set":[64],"get":[64],"setValue":[64],"setClear":[64],"resetCaption":[64],"getValue":[64]},[[0,"keydown","listenKeyDown"]]]]],["p-417a49e7",[[4,"bcm-switch",{"_id":[1537,"id"],"_internal_id":[1025],"checked":[1028],"hidden":[1028],"value":[1028],"name":[1025],"disabled":[1028],"required":[1028],"size":[1025],"readonly":[1028],"activeIcon":[1025,"active-icon"],"activeText":[1025,"active-text"],"inactiveIcon":[1025,"inactive-icon"],"inactiveText":[1025,"inactive-text"],"pending":[1028],"label":[1025],"labelPosition":[1025,"label-position"],"tooltip":[1025],"caption":[1025],"noCaption":[1028,"no-caption"],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"captionCache":[32],"captionTypeCache":[32],"onBcmFocus":[64],"onBcmBlur":[64],"set":[64],"check":[64],"get":[64],"setClear":[64],"resetCaption":[64]},[[0,"keydown","handleKeyUp"]]]]],["p-64ff8997",[[4,"bcm-textarea",{"_id":[1537,"id"],"_internal_id":[1025],"hidden":[1028],"value":[1025],"placeholder":[1025],"label":[1025],"name":[1025],"required":[1028],"caption":[1025],"noCaption":[1028,"no-caption"],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"rows":[1026],"size":[1025],"disabled":[1028],"readonly":[1028],"clearable":[1028],"resize":[1032],"fullWidth":[1028,"full-width"],"maxLength":[1026,"max-length"],"focused":[32],"captionCache":[32],"captionTypeCache":[32],"onBcmFocus":[64],"onBcmBlur":[64],"onBcmSelect":[64],"set":[64],"get":[64],"setValue":[64],"setClear":[64],"resetCaption":[64],"getValue":[64]}]]],["p-85891433",[[4,"bcm-breadcrumb",{"items":[1040],"seperator":[1025],"hidden":[1028],"isOpen":[32]},[[8,"click","handleClickOutside"]]]]],["p-1a573c05",[[4,"bcm-drawer",{"_id":[1537,"id"],"_title":[1032],"position":[1025],"fullWidth":[1028,"full-width"],"_open":[32],"_close":[32],"show":[64],"hide":[64]},[[8,"bcm-before-open","_beforeOpen"],[8,"bcm-before-close","_beforeClose"],[4,"keydown","keyboardNavigation"]]]]],["p-4008d187",[[4,"bcm-expansion-panel",{"_id":[1537,"id"],"expanded":[1028],"disabled":[1028],"hidden":[1028],"valid":[1028],"hideToggle":[1028,"hide-toggle"],"expandIconPosition":[1025,"expand-icon-position"],"tooltip":[1032],"headerColor":[32],"tooltipDefaultValue":[32]}]]],["p-84075684",[[0,"bcm-list",{"_id":[1537,"id"],"type":[1025],"treeview":[1028],"checkboxes":[1028],"searchable":[1028],"value":[1032],"name":[1025],"label":[1025],"size":[1025],"disabled":[1028],"readonly":[1028],"highlight":[1028],"highlightText":[1032,"highlight-text"],"required":[1028],"hidden":[1028],"fullWidth":[1028,"full-width"],"height":[1025],"maxHeight":[1025,"max-height"],"minHeight":[1025,"min-height"],"width":[1025],"infoFooter":[1028,"info-footer"],"variableText":[1025,"variable-text"],"template":[1025],"allOpen":[1028,"all-open"],"keyControl":[1028,"key-control"],"checkAll":[1028,"check-all"],"stopDeepClean":[4,"stop-deep-clean"],"linkedComponent":[1025,"linked-component"],"placeholder":[1025],"searchPlaceholder":[1025,"search-placeholder"],"searchIsOnlyChilds":[1028,"search-is-only-childs"],"clearable":[1028],"caption":[1025],"noCaption":[1028,"no-caption"],"captionType":[1025,"caption-type"],"captionError":[1025,"caption-error"],"emptyText":[1,"empty-text"],"emptyIcon":[1,"empty-icon"],"placement":[1025],"data":[1032],"inputText":[32],"isOpen":[32],"calculatedViewport":[32],"isSelectedOther":[32],"isHaveOtherTag":[32],"captionCache":[32],"captionTypeCache":[32],"tick":[32],"totalData":[32],"totalRootData":[32],"limit":[32],"searchGetParents":[32],"searchResultLimit":[32],"searchFound":[32],"returnFilterData":[32],"returnOtherData":[32],"options":[32],"tagContainerWidth":[32],"selectAllItem":[32],"set":[64],"get":[64],"getCheckedList":[64],"getSelected":[64],"getValue":[64],"addChecked":[64],"selected":[64],"setClear":[64],"resetCaption":[64],"show":[64],"hide":[64]},[[2,"bcm-is-intersecting","isIntersecting"],[2,"bcm-items","handleSlotItems"],[0,"bcm-change","handleChange"],[9,"resize","handleResize"],[4,"wheel","handleWheel"],[10,"click","handleClick"],[10,"bcm-on-search-clear","bcmOnSearchClear"],[10,"bcm-on-search","bcmOnSearch"],[10,"keydown","handleKeyDown"],[10,"keyup","handleKeyUp"]]]]],["p-c7b9b694",[[1,"bcm-notification",{"_title":[1025,"title"],"status":[1025],"confirmText":[1032,"confirm"],"isShow":[1540,"open"],"hidden":[1028],"hide":[64],"show":[64]}]]],["p-80e70b89",[[4,"bcm-stepper",{"hidden":[1028],"_id":[1537,"id"],"direction":[1025],"linear":[1028],"size":[1025],"icon":[1028],"active":[1026],"data":[1040],"tick":[1040],"prev":[64],"next":[64],"setActive":[64],"reset":[64],"getCurrentStep":[64],"getSteps":[64]},[[0,"bcm-change-hidden","handleChangeBcmHidden"]]]]],["p-83317635",[[1,"bcm-tab",{"type":[1025],"active":[1028],"disabled":[1028],"closable":[1028],"tabId":[1025,"tab-id"],"formControl":[1025,"form-control"],"hidden":[1028],"status":[1025],"badge":[1028],"blink":[1028]}]]],["p-2f18fecb",[[4,"bcm-alert",{"hidden":[1028],"_id":[1537,"id"],"_title":[1032],"description":[1032],"status":[1025],"type":[1025],"dismissible":[1032],"icon":[1028],"bigIcon":[1028,"big-icon"],"fullWidth":[1028,"full-width"]}]]],["p-559e6ad8",[[4,"bcm-attendance",{"_id":[1537,"id"],"data":[1032]}]]],["p-ae64e49c",[[4,"bcm-default",{"_id":[1537,"id"]}]]],["p-1a12fbd0",[[1,"bcm-message",{"status":[1025],"fullWidth":[1028,"full-width"],"loading":[1028],"isShow":[1540,"open"],"hidden":[1028],"hide":[64],"show":[64]}]]],["p-6518ede6",[[4,"bcm-modal",{"_id":[1537,"id"],"isShow":[1028,"is-show"],"hidden":[1028],"size":[1025],"backdrop":[1032],"width":[1025],"height":[1025],"fullWidth":[1028,"full-width"],"hide":[64],"show":[64]},[[8,"click","handleSubmit"],[4,"keydown","keyboardNavigation"]]]]],["p-acbb2337",[[0,"bcm-progress",{"_id":[1537,"id"],"value":[1026],"max":[1026],"size":[1025],"type":[1025],"info":[1025],"error":[1028],"hidden":[1028],"fullWidth":[1028,"full-width"],"color":[1025],"isCompleted":[32],"increment":[64],"decrement":[64],"set":[64]}]]],["p-12c97616",[[1,"bcm-result",{"status":[1025],"heading":[1025],"description":[1025],"hidden":[1028],"footerArea":[32],"footerHtml":[32]}]]],["p-a283f6b3",[[4,"bcm-tag",{"_id":[1537,"id"],"_internal_id":[1537],"hidden":[1540],"value":[1025],"type":[1025],"checked":[1028],"color":[1537],"customStyle":[1032,"custom-style"],"itemObject":[1537,"item-object"],"size":[1032],"closeFunc":[1040],"selectFunc":[1040]},[[0,"click","handleClick"]]]]],["p-0e480b7b",[[1,"bcm-timeline-item",{"even":[1028],"first":[1028],"last":[1028],"icon":[1025],"timelineType":[1025,"timeline-type"],"hidden":[1028]}]]],["p-87b88761",[[4,"old-bcm-popover",{"_title":[1537],"_id":[1537,"id"],"message":[1025],"placement":[1025],"trigger":[1025],"open":[1028],"linkedComponent":[1025,"linked-component"],"show":[64],"hide":[64]}]]],["p-e6fd236e",[[4,"bcm-accordion",{"_id":[1537,"id"],"multi":[1028]},[[0,"bcm-open","open"],[0,"bcm-is-load","isLoad"]]]]],["p-b970549a",[[4,"bcm-box"]]],["p-c864a7dc",[[4,"bcm-button-group",{"_id":[1537,"id"],"size":[1025],"type":[1025],"color":[1032],"disabled":[1032],"direction":[1025]},[[0,"bcm-click","listenButton"]]]]],["p-d67cd559",[[4,"bcm-card",{"_id":[1537,"id"],"hidden":[1028],"color":[1025],"header":[32],"footer":[32]}]]],["p-c1529286",[[1,"bcm-collapse",{"_id":[1537,"id"],"borderless":[1028],"open":[1028],"noBorder":[1028,"no-border"],"hidden":[1028]}]]],["p-7de55a4c",[[4,"bcm-collapse-group",{"borderless":[1028],"open":[1028],"multiple":[1028],"hidden":[1028]},[[4,"bcm-collapse-open","handleOpen"]]]]],["p-20fc8571",[[1,"bcm-error-layout",{"size":[1025],"hidden":[1028],"items":[1025],"itemsProp":[32],"set":[64],"clear":[64]}]]],["p-dbde0dc8",[[4,"bcm-form",{"_id":[1537,"id"],"hidden":[1028],"validation":[1028],"name":[1025],"value":[1032],"autocomplete":[1028],"submit":[64],"set":[64],"get":[64],"setClear":[64],"resetCaption":[64],"config":[64]},[[0,"click","handleSubmit"],[0,"bcm-change","handleChange"]]]]],["p-dd620ace",[[4,"bcm-form-2",{"_id":[1537,"id"],"validation":[1540],"submit":[64],"set":[64],"get":[64],"resetCaption":[64],"setClear":[64]},[[0,"bcm-change","onChange"]]]]],["p-dbc48ab6",[[1,"bcm-form-group",{"_id":[1537,"id"],"hidden":[1028],"validation":[1028],"name":[1025],"value":[1032]}]]],["p-65d94dd2",[[4,"bcm-item",{"_id":[1537,"id"],"size":[1025],"color":[1032],"static":[1028]}]]],["p-4548abde",[[4,"bcm-items",{"_id":[1537,"id"]}]]],["p-a5787d86",[[4,"bcm-linked",{"targetId":[1032,"target-id"],"_id":[1537,"id"],"placement":[1025],"open":[1028],"show":[64],"hide":[64]}]]],["p-b0858229",[[4,"bcm-popover",{"_id":[513,"id"],"message":[1],"content":[1],"placement":[1],"trigger":[1],"open":[1028],"color":[1],"popover":[32],"show":[64],"hide":[64],"toggle":[64]}]]],["p-efea110b",[[0,"bcm-range",{"_id":[1537,"id"],"min":[1026],"max":[1026],"step":[1026],"value":[1032],"height":[1025],"name":[1025],"direction":[1025],"_prefix":[1025,"prefix"],"_suffix":[1025,"suffix"],"multiple":[32],"leftValue":[32],"rightValue":[32],"leftMin":[32],"setValue":[64],"setClear":[64],"resetCaption":[64],"getValue":[64]}]]],["p-9ecacdbb",[[1,"bcm-select-group",{"heading":[1025],"visible":[1028],"hidden":[1028]}]]],["p-1b5695a9",[[1,"bcm-select-option",{"value":[1025],"selected":[1540],"disabled":[1028],"visible":[1028],"hidden":[1028],"getLabel":[64]}]]],["p-16b69e74",[[4,"bcm-tab-group",{"_id":[513,"id"],"active":[1537],"color":[1],"size":[1],"setActive":[64]}]]],["p-6fe3bfd9",[[1,"bcm-tab-pane",{"size":[1025],"hidden":[1028],"fullWidth":[1028,"full-width"],"tab":[1025],"active":[1028]},[[6,"bcm-click","handleActiveTabPane"]]]]],["p-0540bd97",[[0,"bcm-table",{"gridOptions":[1040]}]]],["p-51f23b60",[[1,"bcm-tabs",{"size":[1025],"type":[1025],"direction":[1025],"hidden":[1028],"fullWidth":[1028,"full-width"],"underline":[1028],"activeChild":[32],"lineOpts":[32],"prevButton":[32],"nextButton":[32],"completeButton":[32],"prevButtonState":[32],"nextButtonState":[32],"completeButtonState":[32],"config":[64],"next":[64],"prev":[64],"complete":[64],"active":[64],"getActiveTab":[64],"getActiveIndex":[64],"error":[64],"info":[64],"warning":[64],"success":[64],"statusReset":[64]},[[9,"resize","windowResize"]]]]],["p-603183c2",[[1,"bcm-tabs-content",{"size":[1025],"hidden":[1028],"fullWidth":[1028,"full-width"],"type":[1025]},[[4,"bcm-tabs-active-item","handleActivePane"]]]]],["p-1c525c05",[[1,"bcm-timeline",{"icon":[1025],"type":[1025],"hidden":[1028],"items":[32]}]]],["p-7fad995d",[[1,"bcm-treeview-group"]]],["p-0a720ae8",[[0,"bcm-popconfirm-box",{"_id":[1537,"id"],"_target_id":[1025,"target-id"],"message":[1025],"status":[1025],"cancelText":[1025,"cancel-text"],"okeyText":[1025,"okey-text"],"placement":[1032],"open":[1028],"hidden":[1028],"_internal_id":[1537,"internal-id"],"placement_string":[32],"show":[64],"hide":[64]},[[8,"click","handleClickOutside"],[4,"bcm-popconfirm-show","showHandler"],[9,"resize","calculateLocation"]]]]],["p-173ebc98",[[4,"bcm-link",{"hidden":[1028],"href":[1025],"target":[1025],"icon":[1025],"disabled":[1028],"iconPosition":[1025,"icon-position"]},[[0,"click","handleOnClick"]]]]],["p-a3a9dfaf",[[4,"bcm-search",{"_id":[1537,"id"],"placeholder":[1025],"disabled":[1028],"readonly":[1028],"clearable":[1028],"size":[1025],"limit":[1026],"searchIsOnlyChilds":[1028,"search-is-only-childs"],"data":[1032],"tick":[32],"isActiveClearable":[32],"onBcmFocus":[64],"onBcmBlur":[64],"onBcmSelect":[64],"setValue":[64],"handleClear":[64]}]]],["p-4f23a2f1",[[4,"bcm-menu",{"_id":[1537,"id"],"size":[1025],"collapsible":[1540],"collapse":[1540],"mode":[1025],"disabled":[1028],"hidden":[1028],"linkedComponent":[1025,"linked-component"],"height":[1025],"maxHeight":[1025,"max-height"],"minHeight":[1025,"min-height"],"selectable":[4],"placement":[1025],"data":[1032],"open":[32],"activeItemId":[32],"show":[64],"hide":[64],"setActive":[64]},[[4,"wheel","handleWheel"],[0,"bcm-items","handleSlotItems"],[8,"click","handleOnClick"]]]]],["p-d3c8b552",[[4,"bcm-radio",{"_id":[1537,"id"],"checked":[1028],"value":[1032],"disabled":[1028],"size":[1025],"hidden":[1028],"required":[1028],"color":[1025]}]]],["p-ade7d316",[[4,"bcm-skeleton",{"_id":[1537,"id"],"loading":[1028]}]]],["p-360072c2",[[4,"bcm-step",{"hidden":[1028],"_id":[1537,"id"],"_title":[1025],"description":[1025],"status":[1025],"icon":[1025],"loading":[1028],"valid":[1028],"index":[1026],"active":[1540],"htmlTemplate":[1025,"html-template"],"isLast":[1028,"is-last"],"disabled":[1028]}]]],["p-29affa82",[[0,"bcm-icon",{"hidden":[1028],"icon":[1025]}]]],["p-a471aa97",[[4,"bcm-label",{"_id":[1537,"id"],"required":[1028],"value":[1025],"size":[1025],"form":[1032],"htmlFor":[1032,"html-for"],"hidden":[1028],"type":[1032],"tooltip":[1025]}]]],["p-236a8be4",[[1,"bcm-old-input",{"type":[1025],"value":[1032],"size":[1025],"label":[1025],"noCaption":[1028,"no-caption"],"noMargin":[1028,"no-margin"],"captionError":[1025,"caption-error"],"caption":[1025],"captionType":[1025,"caption-type"],"placeholder":[1025],"fullWidth":[1028,"full-width"],"disabled":[1028],"readonly":[1028],"clearable":[1028],"passwordToggle":[1028,"password-toggle"],"noDefaultIcon":[1028,"no-default-icon"],"_id":[1537,"id"],"_internal_id":[1025],"name":[1537],"unit":[1025],"unitPrefix":[1025,"unit-prefix"],"decimal":[1032],"min":[1026],"max":[1026],"step":[1032],"hidden":[1028],"required":[1028],"disableWatchValue":[1028,"disable-watch-value"],"maxLength":[1026,"max-length"],"tooltip":[1025],"inValid":[32],"valueCache":[32],"captionCache":[32],"captionTypeCache":[32],"hasFocus":[32],"isPasswordVisible":[32],"setFocus":[64],"removeFocus":[64],"select":[64],"setValue":[64],"setClear":[64],"resetCaption":[64],"getValue":[64]},[[0,"keydown","numberControl"]]]]],["p-b9f0114c",[[4,"bcm-text",{"hidden":[1028],"scale":[1032],"weight":[1025],"color":[1025],"text":[1025],"fontSize":[1026,"font-size"]}]]],["p-93ab74a2",[[4,"bcm-typography"],[4,"bcm-checkbox",{"_id":[1537,"id"],"inGroup":[1028,"in-group"],"value":[1028],"checked":[1028],"name":[1025],"disabled":[1028],"hidden":[1028],"required":[1028],"label":[1025],"readonly":[1028],"size":[1025],"indeterminate":[1025],"color":[1025],"caption":[1025],"noCaption":[1028,"no-caption"],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"captionCache":[32],"captionTypeCache":[32],"onBcmFocus":[64],"onBcmBlur":[64],"setClear":[64],"resetCaption":[64],"set":[64],"get":[64],"check":[64]},[[0,"keydown","handleKeyUp"]]]]],["p-28cf1ba4",[[4,"bcm-avatar",{"_id":[1537,"id"],"hidden":[1028],"image":[1025],"name":[1025],"alt":[1025],"shape":[1025],"size":[1025],"color":[1032],"status":[1025],"isFallback":[32]}],[4,"bcm-badge",{"_id":[1537,"id"],"hidden":[1028],"blink":[1028],"value":[1025],"color":[1032],"size":[1025],"status":[1025],"_slot":[1032,"slot"]}]]],["p-18e5fdee",[[1,"bcm-listbox",{"innerComponent":[1028,"inner-component"],"checkboxes":[1028],"label":[1025],"required":[1028],"value":[1032],"search":[1028],"infoFooter":[1028,"info-footer"],"showIcon":[1028,"show-icon"],"size":[1025],"selectedId":[1025,"selected-id"],"checkedList":[1040],"updateCheckedList":[1040],"_items":[1025,"data"],"fullWidth":[1028,"full-width"],"searchFields":[1040],"_flex":[1025,"flex"],"hidden":[1028],"returnField":[1025,"return-field"],"searchSub":[1025,"search-sub"],"searchText":[1025,"searchtext"],"treeview":[1028],"searchPlaceholder":[1025,"searchplaceholder"],"numberOfColumns":[1026,"number-of-columns"],"height":[1025],"maxHeight":[1025,"max-height"],"template":[1025],"highlight":[1028],"loading":[1028],"noCaption":[1028,"no-caption"],"caption":[1025],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"_internal_id":[1537],"tooltip":[1025],"total":[32],"items":[32],"checklist":[32],"sortedChecklist":[32],"indeterminateState":[32],"checked":[32],"jsonItem":[32],"searchData":[32],"captionCache":[32],"captionTypeCache":[32],"checklistSorted":[32],"setClear":[64],"resetCaption":[64],"getValue":[64],"getChecklist":[64],"showSearchMethod":[64],"selected":[64],"clearAndSelectSearch":[64],"addChecked":[64],"updateChecked":[64],"config":[64],"setData":[64],"searchResultMethod":[64],"listboxUncheckedMethod":[64]},[[2,"bcm-treeview-item-selected","handleListboxSelected"],[0,"bcm-on-search","listenSearchResult"],[0,"bcm-listbox-item-selected","handleListboxClearSelected"],[0,"bcm-listbox-checked","handleListboxChecked"],[0,"bcm-listbox-unchecked","handleListboxUnchecked"]]],[1,"bcm-treeview",{"checkboxes":[1028],"showIcon":[1028,"show-icon"],"size":[1025],"selectedId":[1025,"selected-id"],"checkedList":[1040],"updateCheckedList":[1040],"hidden":[1028],"search":[1028],"searchOnlyChild":[1028,"search-only-child"],"keydown":[1028],"allOpen":[1028,"all-open"],"fullWidth":[1028,"full-width"],"infoFooter":[1028,"info-footer"],"searchFields":[1040],"searchSub":[1025,"search-sub"],"returnField":[1025,"return-field"],"_items":[1025,"data"],"searchPlaceholder":[1025,"searchplaceholder"],"maxHeight":[1025,"max-height"],"highlight":[1028],"loading":[1028],"favIcon":[1028,"fav-icon"],"favIconOnlyChilds":[1028,"fav-icon-only-childs"],"_internal_id":[1537],"showSearch":[32],"items":[32],"total":[32],"checkCount":[32],"focusedElement":[32],"keyMapForFocus":[32],"checklist":[32],"favoriteList":[32],"checklistSorted":[32],"searchData":[32],"searchResults":[32],"setData":[64],"getChecklist":[64],"getFavorites":[64],"selected":[64],"clearAndSelectSearch":[64],"addChecked":[64],"updateChecked":[64],"config":[64],"showSearchMethod":[64],"searchResultMethod":[64],"treeviewUncheckedMethod":[64]},[[0,"bcm-on-search","listenSearchResult"],[0,"bcm-treeview-item-selected","handletreeviewItemSelected"],[0,"bcm-treeview-checked","handletreeviewChecked"],[0,"bcm-treeview-unchecked","handletreeviewUnchecked"],[0,"bcm-treeview-indeterminate-checked","handletreeviewIndeterminateChecked"],[0,"bcm-treeview-indeterminate-unchecked","handletreeviewIndeterminateUnchecked"],[0,"contextmenu","handleRightClick"],[4,"keyup","keyboardNavigationUp"],[4,"keydown","keyboardNavigation"]]],[1,"bcm-listbox-item",{"objectMapping":[1040],"display":[1028],"avatar":[1028],"avatarImage":[1025,"avatar-image"],"avatarName":[1025,"avatar-name"],"secondaryText":[1025,"secondary"],"tooltipText":[1025,"tooltip"],"text":[1025],"_id":[1537,"id"],"size":[1025],"icon":[1025],"open":[1540],"selected":[1028],"checkboxes":[1028],"showIcon":[1028,"show-icon"],"checked":[1540],"focused":[1540],"hidden":[1540],"itemObject":[1025,"item-object"],"disabled":[1540],"highlight":[1544],"_internal_id":[1537],"template":[1025]},[[4,"bcm-listbox-send-check","ListenListboxCheck"],[4,"bcm-listbox-send-uncheck","ListenListboxUncheck"],[4,"bcm-listbox-clear-selecteds","handleListboxClearSelecteds"]]],[1,"bcm-listbox-group",{"text":[1025],"_id":[1537,"id"],"hidden":[1028]}],[1,"bcm-old-search",{"data":[1040],"searchFields":[1040],"returnField":[1025,"return-field"],"searchSub":[1025,"searchsub"],"hidden":[1028],"onlyChild":[1028,"only-child"],"clearable":[1028],"searchValue":[1025,"search-value"],"searchPlaceholder":[1025,"searchplaceholder"],"disabled":[1028],"_internal_id":[1537],"results":[32],"setValue":[64],"select":[64],"setClear":[64],"searchArray":[64]},[[0,"bcm-change","listenBcmChange"]]],[1,"bcm-treeview-item",{"items":[1032],"itemObject":[1025,"item-object"],"text":[1025],"tooltipText":[1025,"tooltip-text"],"_id":[1537,"id"],"parentId":[1025,"parent-id"],"hasChild":[1028,"has-child"],"size":[1025],"icon":[1025],"open":[1540],"selected":[1028],"checkboxes":[1028],"showIcon":[1028,"show-icon"],"favicon":[1028],"favorite":[1028],"checked":[1540],"checkTrigger":[1540,"checktrigger"],"focused":[1540],"disabled":[1540],"contextMenuShow":[1028,"context-menu-show"],"_contextMenu":[1025,"context-menu"],"indeterminateState":[1025,"indeterminate-state"],"_internal_id":[1537],"menuPadding":[32],"childLength":[32],"indeterminate":[32],"hidden":[32],"contextMenu":[32],"contextOffsetLeft":[32],"contextOffsetTop":[32]},[[4,"bcm-treeview-clear-selecteds","handletreeviewClearSelecteds"],[4,"bcm-treeview-change","ListentreeviewChange"],[4,"bcm-treeview-send-check","ListentreeviewShowContext"],[4,"bcm-treeview-send-uncheck","ListentreeviewShowContext"],[4,"bcm-treeview-show-context","ListentreeviewShowContext"],[8,"click","handleWindowClick"],[0,"bcm-treeview-check-group-check","checkGroup"]]],[4,"bcm-empty",{"icon":[1]}],[0,"bcm-checkbox-lite",{"_id":[1537,"id"],"checked":[1028],"indeterminate":[1025],"disabled":[1028],"hidden":[1028],"required":[1028],"readOnly":[1028,"read-only"],"captionType":[1025,"caption-type"]}],[4,"bcm-divider",{"hidden":[1028],"direction":[1025]}]]],["p-99009fb3",[[1,"bcm-select-box",{"_internal_id":[1537],"hidden":[1028],"isShow":[1028,"open"]},[[0,"bcm-change","handleChangeEvent"]]],[1,"bcm-old-tag",{"type":[1025],"size":[1032],"checked":[1028],"color":[1537],"value":[1025],"hidden":[1540],"_id":[1537,"id"],"maxWidth":[1028,"max-width"],"customStyle":[1032,"custom-style"],"_internal_id":[1537]},[[2,"click","handleClick"]]]]],["p-daeb6f7c",[[1,"bcm-datetime-picker",{"_id":[1537,"id"],"date":[1025],"endDate":[1025,"end-date"],"type":[1025],"disabled":[1028],"disabledDates":[1032,"disableddates"],"value":[1032],"_open":[1028,"open"],"hidden":[1028],"name":[1537],"fullWidth":[1028,"full-width"],"required":[1028],"label":[1025],"placeholder":[1025],"minYear":[1026,"min-year"],"maxYear":[1026,"max-year"],"noCaption":[1028,"no-caption"],"captionError":[1025,"caption-error"],"caption":[1025],"captionType":[1025,"caption-type"],"alignment":[1032],"placement":[1025],"linkedComponent":[1025,"linked-component"],"years":[32],"hours":[32],"minutes":[32],"hasDateModule":[32],"hasTimeModule":[32],"renderDate":[32],"selectedDate":[32],"selectedEndDate":[32],"error":[32],"errorText":[32],"tick":[32],"open":[64],"close":[64],"getValue":[64],"setDisabled":[64],"set":[64],"get":[64],"setClear":[64],"getInput":[64],"isValid":[64],"resetCaption":[64]},[[8,"click","handleWindowClick"],[9,"resize","handleResize"],[4,"wheel","handleWheels"],[10,"keydown","handleKeyDown"]]]]],["p-05809f08",[[4,"old-bcm-popover-box",{"_id":[1537,"id"],"_target_id":[1025,"target-id"],"message":[1025],"_title":[1025],"placement":[1025],"open":[1028],"hidden":[1028],"htmlContent":[1032,"html-content"],"linkedComponent":[1025,"linked-component"],"height":[1025],"maxHeight":[1025,"max-height"],"minHeight":[1025,"min-height"],"placement_string":[32],"show":[64],"hide":[64]},[[9,"resize","calculateLocation"]]]]],["p-f268788c",[[4,"bcm-button",{"_id":[1537,"id"],"hidden":[1540],"type":[1025],"size":[1025],"disabled":[1540],"kind":[1025],"outline":[1028],"icon":[1025],"href":[1025],"target":[1025],"value":[1025],"loading":[1028],"variant":[1025],"dataDismiss":[1028,"data-dismiss"],"fullWidth":[1028,"full-width"],"iconPosition":[1025,"icon-position"],"color":[1032],"checked":[1028]},[[0,"click","handleOnClick"]]],[4,"bcm-tooltip",{"_id":[513,"id"],"message":[1],"placement":[1],"trigger":[1],"open":[1028],"color":[1],"tooltip":[32],"show":[64],"hide":[64],"toggle":[64]}]]]]'),e)));
|
|
5
|
+
import{p as e,b as t}from"./p-0ba73c30.js";import"./p-772a214f.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t(JSON.parse('[["p-d0dd9a6d",[[1,"bcm-select",{"_id":[1537,"id"],"value":[1025],"value2":[1025],"size":[1025],"scrollable":[1025],"clearable":[1028],"label":[1025],"placeholder":[1025],"search":[1028],"noCaption":[1028,"no-caption"],"caption":[1025],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"disabled":[1028],"flex":[1028],"name":[1025],"searchFields":[1040],"fullWidth":[1028,"full-width"],"defaultValue":[1025,"default-value"],"hidden":[1028],"checkboxes":[1028],"searchable":[1028],"required":[1028],"treeview":[1028],"numberOfColumns":[1026,"number-of-columns"],"viewportWidth":[1025,"viewport-width"],"viewportMinWidth":[1025,"viewport-min-width"],"viewportMaxWidth":[1025,"viewport-max-width"],"template":[1025],"maxHeight":[1025,"max-height"],"infoFooter":[1028,"info-footer"],"_internal_id":[1537],"alignment":[1025],"_items":[1032],"_data":[1032],"placement":[1537],"tooltip":[1025],"selectText":[32],"isOpen":[32],"captionCache":[32],"captionTypeCache":[32],"config":[64],"setData":[64],"setDataAsync":[64],"clearAndSelectSearch":[64],"selected":[64],"addChecked":[64],"updateChecked":[64],"getValue":[64],"getChecklist":[64],"setClear":[64],"resetCaption":[64]},[[11,"wheel","onwheelEvent"],[7,"scroll","scrollEvent"],[11,"resize","handleScreenResize"],[10,"click","handleClickOutside"],[6,"bcm-treeview-unchecked","handleTreeviewUnchecked"],[6,"bcm-listbox-unchecked","handleListboxUnchecked"],[6,"bcm-old-tag-dissmisable","bcmOldTagDissmisable"],[4,"bcm-listbox-item-selected","handleListboxSelected"],[4,"bcm-treeview-checklist","handleListboxCheckedList"],[4,"bcm-listbox-checklist","handleTreeviewCheckedList"]]]]],["p-ac7386a1",[[1,"bcm-autocomplete",{"searchFields":[1040],"_items":[1025,"data"],"fullWidth":[1028,"full-width"],"hidden":[1028],"searchText":[1025,"searchtext"],"returnField":[1025,"return-field"],"searchSub":[1025,"search-sub"],"searchPlaceholder":[1025,"searchplaceholder"],"inputLength":[32],"isOpen":[32],"resultFound":[32],"searchData":[32],"searchResults":[32],"items":[32],"config":[64],"setData":[64]},[[2,"bcm-listbox-item-selected","handleListboxClearSelected"],[0,"bcm-on-search-value","listenSearchValue"],[0,"bcm-on-search","listenSearchResult"],[10,"click","handleClickOutside"]]]]],["p-bb4a5441",[[1,"bcm-date-picker",{"_id":[1537,"id"],"date":[1025],"value":[1032],"endDate":[1025,"end-date"],"range":[1028],"hidden":[1028],"name":[1537],"fullWidth":[1028,"full-width"],"required":[1028],"label":[1025],"placeholder":[1025],"disabledDates":[1032,"disableddates"],"disabled":[1028],"noCaption":[1028,"no-caption"],"caption":[1025],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"alignment":[1032],"_internal_id":[1537,"internal-id"],"placement":[1025],"linkedComponent":[1025,"linked-component"],"stateStartDate":[32],"stateEndDate":[32],"set":[64],"get":[64],"setDisabled":[64],"setClear":[64],"setStartDate":[64],"setEndDate":[64],"getInput":[64],"open":[64],"getValue":[64],"isValid":[64],"resetCaption":[64]}]]],["p-a57c40a2",[[1,"bcm-time-picker",{"_id":[1537,"id"],"time":[1025],"value":[1032],"hidden":[1028],"name":[1537],"fullWidth":[1028,"full-width"],"required":[1028],"label":[1025],"placeholder":[1025],"disabled":[1028],"noCaption":[1028,"no-caption"],"caption":[1025],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"alignment":[1032],"placement":[1025],"linkedComponent":[1025,"linked-component"],"set":[64],"get":[64],"setDisabled":[64],"getInput":[64],"getValue":[64],"isValid":[64],"setClear":[64],"resetCaption":[64],"open":[64]}]]],["p-885292bf",[[4,"bcm-checkbox-group",{"_id":[1025],"direction":[1025],"items":[1025],"indeterminate":[1028],"name":[1025],"value":[1032],"disabled":[1028],"readonly":[1028],"hidden":[1028],"required":[1028],"label":[1025],"gap":[1025],"defaultValue":[1025,"default-value"],"fullWidth":[1544,"full-width"],"optionType":[1025,"option-type"],"buttonStyle":[1025,"button-style"],"size":[1025],"caption":[1025],"noCaption":[1028,"no-caption"],"captionType":[1025,"caption-type"],"tick":[32],"onBcmFocus":[64],"onBcmBlur":[64],"setClear":[64],"resetCaption":[64],"set":[64],"get":[64],"check":[64],"getValue":[64],"getCheckedList":[64]}]]],["p-118e711c",[[4,"bcm-popconfirm",{"_id":[1537,"id"],"message":[1025],"status":[1025],"cancelText":[1025,"cancel-text"],"okeyText":[1025,"okey-text"],"placement":[1025],"trigger":[1025],"open":[1028],"hidden":[1028],"show":[64],"hide":[64]},[[4,"bcm-popconfirm-confirm","onBcmConfirm"],[4,"bcm-popconfirm-cancel","onBcmCancel"]]]]],["p-26e68ec6",[[4,"bcm-radio-group",{"_id":[1537,"id"],"value":[1032],"direction":[1025],"items":[1025],"size":[1025],"name":[1025],"label":[1025],"disabled":[1028],"hidden":[1028],"required":[1028],"gap":[1025],"defaultValue":[1025,"default-value"],"optionType":[1025,"option-type"],"buttonStyle":[1025,"button-style"],"fullWidth":[1544,"full-width"],"caption":[1025],"noCaption":[1028,"no-caption"],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"captionCache":[32],"captionTypeCache":[32],"radioOptions":[32],"usingSlots":[32],"tick":[32],"setClear":[64],"resetCaption":[64],"set":[64],"get":[64],"check":[64],"getValue":[64]}]]],["p-fb8d1e47",[[4,"bcm-chip",{"_id":[1537,"id"],"type":[1025],"size":[1025],"avatar":[1032],"icon":[1032],"disabled":[1028],"color":[1032]}]]],["p-b79132b8",[[1,"bcm-colorpicker",{"_color":[1025,"color"],"open":[1028],"value":[1025],"label":[1025],"size":[1025],"noCaption":[1028,"no-caption"],"caption":[1025],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"fullWidth":[1028,"full-width"],"disabled":[1028],"hidden":[1028],"required":[1028],"tooltip":[1025],"h":[32],"s":[32],"v":[32],"a":[32],"selectedH":[32],"selectedS":[32],"selectedV":[32],"selectedA":[32],"color":[32],"inputValue":[32],"mouseState":[32],"getValue":[64],"setColor":[64]},[[8,"click","handleWindowClick"]]]]],["p-cf48e4bd",[[4,"bcm-input",{"_id":[1537,"id"],"_internal_id":[1025],"value":[1032],"size":[1025],"label":[1025],"pattern":[1025],"tooltip":[1025],"placeholder":[1025],"disabled":[1028],"readonly":[1028],"clearable":[1028],"autocomplete":[1028],"name":[1025],"type":[1025],"hidden":[1028],"required":[1028],"fullWidth":[1028,"full-width"],"noDefaultIcon":[1028,"no-default-icon"],"disableWatchValue":[1028,"disable-watch-value"],"passwordToggle":[1028,"password-toggle"],"maxLength":[1026,"max-length"],"unitPrefix":[1025,"unit-prefix"],"unit":[1025],"decimal":[1028],"min":[1026],"max":[1026],"step":[1032],"caption":[1025],"noCaption":[1028,"no-caption"],"captionType":[1025,"caption-type"],"captionError":[1025,"caption-error"],"customErrorMessage":[1025,"custom-error-message"],"_prefix":[1025],"_suffix":[1025],"captionCache":[32],"captionTypeCache":[32],"inValid":[32],"valueCache":[32],"focused":[32],"isPasswordVisible":[32],"onBcmFocus":[64],"onBcmBlur":[64],"onBcmSelect":[64],"set":[64],"get":[64],"setValue":[64],"setClear":[64],"resetCaption":[64],"getValue":[64]},[[0,"keydown","listenKeyDown"]]]]],["p-aedac6e4",[[4,"bcm-textarea",{"_id":[1537,"id"],"_internal_id":[1025],"hidden":[1028],"value":[1025],"placeholder":[1025],"label":[1025],"name":[1025],"required":[1028],"caption":[1025],"noCaption":[1028,"no-caption"],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"rows":[1026],"size":[1025],"disabled":[1028],"readonly":[1028],"clearable":[1028],"resize":[1032],"fullWidth":[1028,"full-width"],"maxLength":[1026,"max-length"],"focused":[32],"captionCache":[32],"captionTypeCache":[32],"onBcmFocus":[64],"onBcmBlur":[64],"onBcmSelect":[64],"set":[64],"get":[64],"setValue":[64],"setClear":[64],"resetCaption":[64],"getValue":[64]}]]],["p-965d1cb2",[[4,"bcm-breadcrumb",{"items":[1040],"seperator":[1025],"hidden":[1028],"isOpen":[32]},[[8,"click","handleClickOutside"]]]]],["p-2ec58d06",[[4,"bcm-drawer",{"_id":[1537,"id"],"_title":[1032],"position":[1025],"fullWidth":[1028,"full-width"],"_open":[32],"_close":[32],"show":[64],"hide":[64]},[[8,"bcm-before-open","_beforeOpen"],[8,"bcm-before-close","_beforeClose"],[4,"keydown","keyboardNavigation"]]]]],["p-e97f680e",[[4,"bcm-expansion-panel",{"_id":[1537,"id"],"expanded":[1028],"disabled":[1028],"hidden":[1028],"valid":[1028],"hideToggle":[1028,"hide-toggle"],"expandIconPosition":[1025,"expand-icon-position"],"tooltip":[1032],"headerColor":[32],"tooltipDefaultValue":[32]}]]],["p-76e8a020",[[0,"bcm-list",{"_id":[1537,"id"],"type":[1025],"treeview":[1028],"checkboxes":[1028],"searchable":[1028],"value":[1032],"name":[1025],"label":[1025],"size":[1025],"disabled":[1028],"readonly":[1028],"highlight":[1028],"highlightText":[1032,"highlight-text"],"required":[1028],"hidden":[1028],"fullWidth":[1028,"full-width"],"height":[1025],"maxHeight":[1025,"max-height"],"minHeight":[1025,"min-height"],"width":[1025],"infoFooter":[1028,"info-footer"],"variableText":[1025,"variable-text"],"template":[1025],"allOpen":[1028,"all-open"],"keyControl":[1028,"key-control"],"checkAll":[1028,"check-all"],"stopDeepClean":[4,"stop-deep-clean"],"linkedComponent":[1025,"linked-component"],"placeholder":[1025],"searchPlaceholder":[1025,"search-placeholder"],"searchIsOnlyChilds":[1028,"search-is-only-childs"],"clearable":[1028],"caption":[1025],"noCaption":[1028,"no-caption"],"captionType":[1025,"caption-type"],"captionError":[1025,"caption-error"],"emptyText":[1,"empty-text"],"emptyIcon":[1,"empty-icon"],"placement":[1025],"data":[1032],"inputText":[32],"isOpen":[32],"calculatedViewport":[32],"isSelectedOther":[32],"isHaveOtherTag":[32],"captionCache":[32],"captionTypeCache":[32],"tick":[32],"totalData":[32],"totalRootData":[32],"limit":[32],"searchGetParents":[32],"searchResultLimit":[32],"searchFound":[32],"returnFilterData":[32],"returnOtherData":[32],"options":[32],"tagContainerWidth":[32],"selectAllItem":[32],"set":[64],"get":[64],"getCheckedList":[64],"getSelected":[64],"getValue":[64],"addChecked":[64],"selected":[64],"setClear":[64],"resetCaption":[64],"show":[64],"hide":[64]},[[2,"bcm-is-intersecting","isIntersecting"],[2,"bcm-items","handleSlotItems"],[0,"bcm-change","handleChange"],[9,"resize","handleResize"],[4,"wheel","handleWheel"],[10,"click","handleClick"],[10,"bcm-on-search-clear","bcmOnSearchClear"],[10,"bcm-on-search","bcmOnSearch"],[10,"keydown","handleKeyDown"],[10,"keyup","handleKeyUp"]]]]],["p-c7b9b694",[[1,"bcm-notification",{"_title":[1025,"title"],"status":[1025],"confirmText":[1032,"confirm"],"isShow":[1540,"open"],"hidden":[1028],"hide":[64],"show":[64]}]]],["p-f559a41c",[[4,"bcm-stepper",{"hidden":[1028],"_id":[1537,"id"],"direction":[1025],"linear":[1028],"size":[1025],"icon":[1028],"active":[1026],"data":[1040],"tick":[1040],"prev":[64],"next":[64],"setActive":[64],"reset":[64],"getCurrentStep":[64],"getSteps":[64]},[[0,"bcm-change-hidden","handleChangeBcmHidden"]]]]],["p-83317635",[[1,"bcm-tab",{"type":[1025],"active":[1028],"disabled":[1028],"closable":[1028],"tabId":[1025,"tab-id"],"formControl":[1025,"form-control"],"hidden":[1028],"status":[1025],"badge":[1028],"blink":[1028]}]]],["p-5e502028",[[4,"bcm-alert",{"hidden":[1028],"_id":[1537,"id"],"_title":[1032],"description":[1032],"status":[1025],"type":[1025],"dismissible":[1032],"icon":[1028],"bigIcon":[1028,"big-icon"],"fullWidth":[1028,"full-width"]}]]],["p-b6c04be0",[[4,"bcm-attendance",{"_id":[1537,"id"],"data":[1032]}]]],["p-cfeac4c2",[[4,"bcm-default",{"_id":[1537,"id"]}]]],["p-1a12fbd0",[[1,"bcm-message",{"status":[1025],"fullWidth":[1028,"full-width"],"loading":[1028],"isShow":[1540,"open"],"hidden":[1028],"hide":[64],"show":[64]}]]],["p-2fc5b5bd",[[4,"bcm-modal",{"_id":[1537,"id"],"isShow":[1028,"is-show"],"hidden":[1028],"size":[1025],"backdrop":[1032],"width":[1025],"height":[1025],"fullWidth":[1028,"full-width"],"hide":[64],"show":[64]},[[8,"click","handleSubmit"],[4,"keydown","keyboardNavigation"]]]]],["p-a18bb86e",[[0,"bcm-progress",{"_id":[1537,"id"],"value":[1026],"max":[1026],"size":[1025],"type":[1025],"info":[1025],"error":[1028],"hidden":[1028],"fullWidth":[1028,"full-width"],"color":[1025],"isCompleted":[32],"increment":[64],"decrement":[64],"set":[64]}]]],["p-12c97616",[[1,"bcm-result",{"status":[1025],"heading":[1025],"description":[1025],"hidden":[1028],"footerArea":[32],"footerHtml":[32]}]]],["p-41d1f8b7",[[4,"bcm-tag",{"_id":[1537,"id"],"_internal_id":[1537],"hidden":[1540],"value":[1025],"type":[1025],"checked":[1028],"color":[1537],"customStyle":[1032,"custom-style"],"itemObject":[1537,"item-object"],"size":[1032],"closeFunc":[1040],"selectFunc":[1040]},[[0,"click","handleClick"]]]]],["p-0e480b7b",[[1,"bcm-timeline-item",{"even":[1028],"first":[1028],"last":[1028],"icon":[1025],"timelineType":[1025,"timeline-type"],"hidden":[1028]}]]],["p-831fa0e8",[[4,"old-bcm-popover",{"_title":[1537],"_id":[1537,"id"],"message":[1025],"placement":[1025],"trigger":[1025],"open":[1028],"linkedComponent":[1025,"linked-component"],"show":[64],"hide":[64]}]]],["p-c0a49e8e",[[4,"bcm-accordion",{"_id":[1537,"id"],"multi":[1028]},[[0,"bcm-open","open"],[0,"bcm-is-load","isLoad"]]]]],["p-b970549a",[[4,"bcm-box"]]],["p-25f444e7",[[4,"bcm-button-group",{"_id":[1537,"id"],"size":[1025],"type":[1025],"color":[1032],"disabled":[1032],"direction":[1025]},[[0,"bcm-click","listenButton"]]]]],["p-8ad347e0",[[4,"bcm-card",{"_id":[1537,"id"],"hidden":[1028],"color":[1025],"header":[32],"footer":[32]}]]],["p-83332466",[[1,"bcm-collapse",{"_id":[1537,"id"],"borderless":[1028],"open":[1028],"noBorder":[1028,"no-border"],"hidden":[1028]}]]],["p-cccebf39",[[4,"bcm-collapse-group",{"borderless":[1028],"open":[1028],"multiple":[1028],"hidden":[1028]},[[4,"bcm-collapse-open","handleOpen"]]]]],["p-20fc8571",[[1,"bcm-error-layout",{"size":[1025],"hidden":[1028],"items":[1025],"itemsProp":[32],"set":[64],"clear":[64]}]]],["p-27c8e474",[[4,"bcm-form-2",{"_id":[1537,"id"],"validation":[1540],"submit":[64],"set":[64],"get":[64],"resetCaption":[64],"setClear":[64]},[[0,"bcm-change","onChange"]]]]],["p-dbc48ab6",[[1,"bcm-form-group",{"_id":[1537,"id"],"hidden":[1028],"validation":[1028],"name":[1025],"value":[1032]}]]],["p-c0648349",[[4,"bcm-linked",{"targetId":[1032,"target-id"],"_id":[1537,"id"],"placement":[1025],"open":[1028],"show":[64],"hide":[64]}]]],["p-d0ae1e25",[[0,"bcm-range",{"_id":[1537,"id"],"min":[1026],"max":[1026],"step":[1026],"value":[1032],"height":[1025],"name":[1025],"direction":[1025],"_prefix":[1025,"prefix"],"_suffix":[1025,"suffix"],"multiple":[32],"leftValue":[32],"rightValue":[32],"leftMin":[32],"setValue":[64],"setClear":[64],"resetCaption":[64],"getValue":[64]}]]],["p-9ecacdbb",[[1,"bcm-select-group",{"heading":[1025],"visible":[1028],"hidden":[1028]}]]],["p-1b5695a9",[[1,"bcm-select-option",{"value":[1025],"selected":[1540],"disabled":[1028],"visible":[1028],"hidden":[1028],"getLabel":[64]}]]],["p-cf68a762",[[4,"bcm-tab-group",{"_id":[513,"id"],"active":[1537],"color":[1],"size":[1],"setActive":[64]}]]],["p-6fe3bfd9",[[1,"bcm-tab-pane",{"size":[1025],"hidden":[1028],"fullWidth":[1028,"full-width"],"tab":[1025],"active":[1028]},[[6,"bcm-click","handleActiveTabPane"]]]]],["p-ebadb877",[[0,"bcm-table",{"gridOptions":[1040]}]]],["p-e6877526",[[1,"bcm-tabs",{"size":[1025],"type":[1025],"direction":[1025],"hidden":[1028],"fullWidth":[1028,"full-width"],"underline":[1028],"activeChild":[32],"lineOpts":[32],"prevButton":[32],"nextButton":[32],"completeButton":[32],"prevButtonState":[32],"nextButtonState":[32],"completeButtonState":[32],"config":[64],"next":[64],"prev":[64],"complete":[64],"active":[64],"getActiveTab":[64],"getActiveIndex":[64],"error":[64],"info":[64],"warning":[64],"success":[64],"statusReset":[64]},[[9,"resize","windowResize"]]]]],["p-2a3a7d9c",[[1,"bcm-tabs-content",{"size":[1025],"hidden":[1028],"fullWidth":[1028,"full-width"],"type":[1025]},[[4,"bcm-tabs-active-item","handleActivePane"]]]]],["p-1c525c05",[[1,"bcm-timeline",{"icon":[1025],"type":[1025],"hidden":[1028],"items":[32]}]]],["p-7fad995d",[[1,"bcm-treeview-group"]]],["p-bbeb3aa8",[[4,"bcm-skeleton",{"_id":[1537,"id"],"loading":[1028]}]]],["p-ca48c3aa",[[4,"bcm-dropdown",{"isOpen":[1028,"open"],"_id":[1537,"id"],"hidden":[1028],"type":[1025],"size":[1025],"disabled":[1028],"kind":[1025],"icon":[1025],"href":[1025],"target":[1025],"value":[1025],"noStyle":[1028,"no-style"],"dropdownIcon":[1025,"dropdown-icon"],"linkedComponent":[1025,"linked-component"],"multiLevel":[1028,"multi-level"],"loading":[1028],"variant":[1025],"dataDismiss":[1028,"data-dismiss"],"fullWidth":[1028,"full-width"],"iconPosition":[1025,"icon-position"],"placement":[1025],"height":[1025],"maxHeight":[1025,"max-height"],"minHeight":[1025,"min-height"],"stopDeepClean":[4,"stop-deep-clean"],"selectable":[4],"color":[1032],"data":[1032],"setActive":[64]},[[8,"dropdown-linked-component","handleIsClickDismiss"],[8,"click","handleOnClick"],[4,"wheel","handleWheel"],[0,"bcm-items","handleSlotItems"]]],[4,"bcm-switch",{"_id":[1537,"id"],"_internal_id":[1025],"checked":[1028],"hidden":[1028],"value":[1028],"name":[1025],"disabled":[1028],"required":[1028],"size":[1025],"readonly":[1028],"activeIcon":[1025,"active-icon"],"activeText":[1025,"active-text"],"inactiveIcon":[1025,"inactive-icon"],"inactiveText":[1025,"inactive-text"],"pending":[1028],"label":[1025],"labelPosition":[1025,"label-position"],"tooltip":[1025],"caption":[1025],"noCaption":[1028,"no-caption"],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"captionCache":[32],"captionTypeCache":[32],"onBcmFocus":[64],"onBcmBlur":[64],"set":[64],"check":[64],"get":[64],"setClear":[64],"resetCaption":[64]},[[0,"keydown","handleKeyUp"]]],[4,"bcm-form",{"_id":[1537,"id"],"hidden":[1028],"validation":[1028],"name":[1025],"value":[1032],"autocomplete":[1028],"submit":[64],"set":[64],"get":[64],"setClear":[64],"resetCaption":[64],"config":[64]},[[0,"click","handleSubmit"],[0,"bcm-change","handleChange"]]],[4,"bcm-item",{"_id":[1537,"id"],"size":[1025],"color":[1032],"static":[1028]}],[4,"bcm-items",{"_id":[1537,"id"]}],[4,"bcm-popover",{"_id":[513,"id"],"message":[1],"content":[1],"placement":[1],"trigger":[1],"open":[1028],"color":[1],"popover":[32],"show":[64],"hide":[64],"toggle":[64]}],[4,"bcm-menu",{"_id":[1537,"id"],"size":[1025],"collapsible":[1540],"collapse":[1540],"mode":[1025],"disabled":[1028],"hidden":[1028],"linkedComponent":[1025,"linked-component"],"height":[1025],"maxHeight":[1025,"max-height"],"minHeight":[1025,"min-height"],"selectable":[4],"placement":[1025],"data":[1032],"open":[32],"activeItemId":[32],"show":[64],"hide":[64],"setActive":[64]},[[4,"wheel","handleWheel"],[0,"bcm-items","handleSlotItems"],[8,"click","handleOnClick"]]],[4,"old-bcm-popover-box",{"_id":[1537,"id"],"_target_id":[1025,"target-id"],"message":[1025],"_title":[1025],"placement":[1025],"open":[1028],"hidden":[1028],"htmlContent":[1032,"html-content"],"linkedComponent":[1025,"linked-component"],"height":[1025],"maxHeight":[1025,"max-height"],"minHeight":[1025,"min-height"],"placement_string":[32],"show":[64],"hide":[64]},[[4,"wheel","handleWheel"],[9,"resize","calculateLocation"]]],[4,"bcm-button",{"_id":[1537,"id"],"hidden":[1540],"type":[1025],"size":[1025],"disabled":[1540],"kind":[1025],"outline":[1028],"icon":[1025],"href":[1025],"target":[1025],"value":[1025],"loading":[1028],"variant":[1025],"dataDismiss":[1028,"data-dismiss"],"fullWidth":[1028,"full-width"],"iconPosition":[1025,"icon-position"],"color":[1032],"checked":[1028]},[[0,"click","handleOnClick"]]],[4,"bcm-text",{"hidden":[1028],"scale":[1032],"weight":[1025],"color":[1025],"text":[1025],"fontSize":[1026,"font-size"]}],[4,"bcm-label",{"_id":[1537,"id"],"required":[1028],"value":[1025],"size":[1025],"form":[1032],"htmlFor":[1032,"html-for"],"hidden":[1028],"type":[1032],"tooltip":[1025]}],[4,"bcm-tooltip",{"_id":[513,"id"],"message":[1],"placement":[1],"trigger":[1],"open":[1028],"color":[1],"tooltip":[32],"show":[64],"hide":[64],"toggle":[64]}],[0,"bcm-icon",{"hidden":[1028],"icon":[1025]}]]],["p-a7acf688",[[0,"bcm-popconfirm-box",{"_id":[1537,"id"],"_target_id":[1025,"target-id"],"message":[1025],"status":[1025],"cancelText":[1025,"cancel-text"],"okeyText":[1025,"okey-text"],"placement":[1032],"open":[1028],"hidden":[1028],"_internal_id":[1537,"internal-id"],"placement_string":[32],"show":[64],"hide":[64]},[[8,"click","handleClickOutside"],[4,"bcm-popconfirm-show","showHandler"],[9,"resize","calculateLocation"]]]]],["p-173ebc98",[[4,"bcm-link",{"hidden":[1028],"href":[1025],"target":[1025],"icon":[1025],"disabled":[1028],"iconPosition":[1025,"icon-position"]},[[0,"click","handleOnClick"]]]]],["p-3cd7aace",[[4,"bcm-search",{"_id":[1537,"id"],"placeholder":[1025],"disabled":[1028],"readonly":[1028],"clearable":[1028],"size":[1025],"limit":[1026],"searchIsOnlyChilds":[1028,"search-is-only-childs"],"data":[1032],"tick":[32],"isActiveClearable":[32],"onBcmFocus":[64],"onBcmBlur":[64],"onBcmSelect":[64],"setValue":[64],"handleClear":[64]}]]],["p-505b1f51",[[4,"bcm-radio",{"_id":[1537,"id"],"checked":[1028],"value":[1032],"disabled":[1028],"size":[1025],"hidden":[1028],"required":[1028],"color":[1025]}]]],["p-a6f49d6c",[[4,"bcm-step",{"hidden":[1028],"_id":[1537,"id"],"_title":[1025],"description":[1025],"status":[1025],"icon":[1025],"loading":[1028],"valid":[1028],"index":[1026],"active":[1540],"htmlTemplate":[1025,"html-template"],"isLast":[1028,"is-last"],"disabled":[1028]}]]],["p-e3306b8d",[[1,"bcm-old-input",{"type":[1025],"value":[1032],"size":[1025],"label":[1025],"noCaption":[1028,"no-caption"],"noMargin":[1028,"no-margin"],"captionError":[1025,"caption-error"],"caption":[1025],"captionType":[1025,"caption-type"],"placeholder":[1025],"fullWidth":[1028,"full-width"],"disabled":[1028],"readonly":[1028],"clearable":[1028],"passwordToggle":[1028,"password-toggle"],"noDefaultIcon":[1028,"no-default-icon"],"_id":[1537,"id"],"_internal_id":[1025],"name":[1537],"unit":[1025],"unitPrefix":[1025,"unit-prefix"],"decimal":[1032],"min":[1026],"max":[1026],"step":[1032],"hidden":[1028],"required":[1028],"disableWatchValue":[1028,"disable-watch-value"],"maxLength":[1026,"max-length"],"tooltip":[1025],"inValid":[32],"valueCache":[32],"captionCache":[32],"captionTypeCache":[32],"hasFocus":[32],"isPasswordVisible":[32],"setFocus":[64],"removeFocus":[64],"select":[64],"setValue":[64],"setClear":[64],"resetCaption":[64],"getValue":[64]},[[0,"keydown","numberControl"]]]]],["p-80cdeb5b",[[4,"bcm-typography"],[4,"bcm-checkbox",{"_id":[1537,"id"],"inGroup":[1028,"in-group"],"value":[1028],"checked":[1028],"name":[1025],"disabled":[1028],"hidden":[1028],"required":[1028],"label":[1025],"readonly":[1028],"size":[1025],"indeterminate":[1025],"color":[1025],"caption":[1025],"noCaption":[1028,"no-caption"],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"captionCache":[32],"captionTypeCache":[32],"onBcmFocus":[64],"onBcmBlur":[64],"setClear":[64],"resetCaption":[64],"set":[64],"get":[64],"check":[64]},[[0,"keydown","handleKeyUp"]]]]],["p-cad94133",[[4,"bcm-avatar",{"_id":[1537,"id"],"hidden":[1028],"image":[1025],"name":[1025],"alt":[1025],"shape":[1025],"size":[1025],"color":[1032],"status":[1025],"isFallback":[32]}],[4,"bcm-badge",{"_id":[1537,"id"],"hidden":[1028],"blink":[1028],"value":[1025],"color":[1032],"size":[1025],"status":[1025],"_slot":[1032,"slot"]}]]],["p-21263f24",[[1,"bcm-select-box",{"_internal_id":[1537],"hidden":[1028],"isShow":[1028,"open"]},[[0,"bcm-change","handleChangeEvent"]]],[1,"bcm-old-tag",{"type":[1025],"size":[1032],"checked":[1028],"color":[1537],"value":[1025],"hidden":[1540],"_id":[1537,"id"],"maxWidth":[1028,"max-width"],"customStyle":[1032,"custom-style"],"_internal_id":[1537]},[[2,"click","handleClick"]]]]],["p-e58a867d",[[1,"bcm-datetime-picker",{"_id":[1537,"id"],"date":[1025],"endDate":[1025,"end-date"],"type":[1025],"disabled":[1028],"disabledDates":[1032,"disableddates"],"value":[1032],"_open":[1028,"open"],"hidden":[1028],"name":[1537],"fullWidth":[1028,"full-width"],"required":[1028],"label":[1025],"placeholder":[1025],"minYear":[1026,"min-year"],"maxYear":[1026,"max-year"],"noCaption":[1028,"no-caption"],"captionError":[1025,"caption-error"],"caption":[1025],"captionType":[1025,"caption-type"],"alignment":[1032],"placement":[1025],"linkedComponent":[1025,"linked-component"],"years":[32],"hours":[32],"minutes":[32],"hasDateModule":[32],"hasTimeModule":[32],"renderDate":[32],"selectedDate":[32],"selectedEndDate":[32],"error":[32],"errorText":[32],"tick":[32],"open":[64],"close":[64],"getValue":[64],"setDisabled":[64],"set":[64],"get":[64],"setClear":[64],"getInput":[64],"isValid":[64],"resetCaption":[64]},[[8,"click","handleWindowClick"],[9,"resize","handleResize"],[4,"wheel","handleWheels"],[10,"keydown","handleKeyDown"]]]]],["p-6711d370",[[1,"bcm-listbox",{"innerComponent":[1028,"inner-component"],"checkboxes":[1028],"label":[1025],"required":[1028],"value":[1032],"search":[1028],"infoFooter":[1028,"info-footer"],"showIcon":[1028,"show-icon"],"size":[1025],"selectedId":[1025,"selected-id"],"checkedList":[1040],"updateCheckedList":[1040],"_items":[1025,"data"],"fullWidth":[1028,"full-width"],"searchFields":[1040],"_flex":[1025,"flex"],"hidden":[1028],"returnField":[1025,"return-field"],"searchSub":[1025,"search-sub"],"searchText":[1025,"searchtext"],"treeview":[1028],"searchPlaceholder":[1025,"searchplaceholder"],"numberOfColumns":[1026,"number-of-columns"],"height":[1025],"maxHeight":[1025,"max-height"],"template":[1025],"highlight":[1028],"loading":[1028],"noCaption":[1028,"no-caption"],"caption":[1025],"captionError":[1025,"caption-error"],"captionType":[1025,"caption-type"],"_internal_id":[1537],"tooltip":[1025],"total":[32],"items":[32],"checklist":[32],"sortedChecklist":[32],"indeterminateState":[32],"checked":[32],"jsonItem":[32],"searchData":[32],"captionCache":[32],"captionTypeCache":[32],"checklistSorted":[32],"setClear":[64],"resetCaption":[64],"getValue":[64],"getChecklist":[64],"showSearchMethod":[64],"selected":[64],"clearAndSelectSearch":[64],"addChecked":[64],"updateChecked":[64],"config":[64],"setData":[64],"searchResultMethod":[64],"listboxUncheckedMethod":[64]},[[2,"bcm-treeview-item-selected","handleListboxSelected"],[0,"bcm-on-search","listenSearchResult"],[0,"bcm-listbox-item-selected","handleListboxClearSelected"],[0,"bcm-listbox-checked","handleListboxChecked"],[0,"bcm-listbox-unchecked","handleListboxUnchecked"]]],[1,"bcm-treeview",{"checkboxes":[1028],"showIcon":[1028,"show-icon"],"size":[1025],"selectedId":[1025,"selected-id"],"checkedList":[1040],"updateCheckedList":[1040],"hidden":[1028],"search":[1028],"searchOnlyChild":[1028,"search-only-child"],"keydown":[1028],"allOpen":[1028,"all-open"],"fullWidth":[1028,"full-width"],"infoFooter":[1028,"info-footer"],"searchFields":[1040],"searchSub":[1025,"search-sub"],"returnField":[1025,"return-field"],"_items":[1025,"data"],"searchPlaceholder":[1025,"searchplaceholder"],"maxHeight":[1025,"max-height"],"highlight":[1028],"loading":[1028],"favIcon":[1028,"fav-icon"],"favIconOnlyChilds":[1028,"fav-icon-only-childs"],"_internal_id":[1537],"showSearch":[32],"items":[32],"total":[32],"checkCount":[32],"focusedElement":[32],"keyMapForFocus":[32],"checklist":[32],"favoriteList":[32],"checklistSorted":[32],"searchData":[32],"searchResults":[32],"setData":[64],"getChecklist":[64],"getFavorites":[64],"selected":[64],"clearAndSelectSearch":[64],"addChecked":[64],"updateChecked":[64],"config":[64],"showSearchMethod":[64],"searchResultMethod":[64],"treeviewUncheckedMethod":[64]},[[0,"bcm-on-search","listenSearchResult"],[0,"bcm-treeview-item-selected","handletreeviewItemSelected"],[0,"bcm-treeview-checked","handletreeviewChecked"],[0,"bcm-treeview-unchecked","handletreeviewUnchecked"],[0,"bcm-treeview-indeterminate-checked","handletreeviewIndeterminateChecked"],[0,"bcm-treeview-indeterminate-unchecked","handletreeviewIndeterminateUnchecked"],[0,"contextmenu","handleRightClick"],[4,"keyup","keyboardNavigationUp"],[4,"keydown","keyboardNavigation"]]],[1,"bcm-listbox-item",{"objectMapping":[1040],"display":[1028],"avatar":[1028],"avatarImage":[1025,"avatar-image"],"avatarName":[1025,"avatar-name"],"secondaryText":[1025,"secondary"],"tooltipText":[1025,"tooltip"],"text":[1025],"_id":[1537,"id"],"size":[1025],"icon":[1025],"open":[1540],"selected":[1028],"checkboxes":[1028],"showIcon":[1028,"show-icon"],"checked":[1540],"focused":[1540],"hidden":[1540],"itemObject":[1025,"item-object"],"disabled":[1540],"highlight":[1544],"_internal_id":[1537],"template":[1025]},[[4,"bcm-listbox-send-check","ListenListboxCheck"],[4,"bcm-listbox-send-uncheck","ListenListboxUncheck"],[4,"bcm-listbox-clear-selecteds","handleListboxClearSelecteds"]]],[1,"bcm-listbox-group",{"text":[1025],"_id":[1537,"id"],"hidden":[1028]}],[1,"bcm-old-search",{"data":[1040],"searchFields":[1040],"returnField":[1025,"return-field"],"searchSub":[1025,"searchsub"],"hidden":[1028],"onlyChild":[1028,"only-child"],"clearable":[1028],"searchValue":[1025,"search-value"],"searchPlaceholder":[1025,"searchplaceholder"],"disabled":[1028],"_internal_id":[1537],"results":[32],"setValue":[64],"select":[64],"setClear":[64],"searchArray":[64]},[[0,"bcm-change","listenBcmChange"]]],[1,"bcm-treeview-item",{"items":[1032],"itemObject":[1025,"item-object"],"text":[1025],"tooltipText":[1025,"tooltip-text"],"_id":[1537,"id"],"parentId":[1025,"parent-id"],"hasChild":[1028,"has-child"],"size":[1025],"icon":[1025],"open":[1540],"selected":[1028],"checkboxes":[1028],"showIcon":[1028,"show-icon"],"favicon":[1028],"favorite":[1028],"checked":[1540],"checkTrigger":[1540,"checktrigger"],"focused":[1540],"disabled":[1540],"contextMenuShow":[1028,"context-menu-show"],"_contextMenu":[1025,"context-menu"],"indeterminateState":[1025,"indeterminate-state"],"_internal_id":[1537],"menuPadding":[32],"childLength":[32],"indeterminate":[32],"hidden":[32],"contextMenu":[32],"contextOffsetLeft":[32],"contextOffsetTop":[32]},[[4,"bcm-treeview-clear-selecteds","handletreeviewClearSelecteds"],[4,"bcm-treeview-change","ListentreeviewChange"],[4,"bcm-treeview-send-check","ListentreeviewShowContext"],[4,"bcm-treeview-send-uncheck","ListentreeviewShowContext"],[4,"bcm-treeview-show-context","ListentreeviewShowContext"],[8,"click","handleWindowClick"],[0,"bcm-treeview-check-group-check","checkGroup"]]],[4,"bcm-empty",{"icon":[1]}],[0,"bcm-checkbox-lite",{"_id":[1537,"id"],"checked":[1028],"indeterminate":[1025],"disabled":[1028],"hidden":[1028],"required":[1028],"readOnly":[1028,"read-only"],"captionType":[1025,"caption-type"]}],[4,"bcm-divider",{"hidden":[1028],"direction":[1025]}]]]]'),e)));
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as i,c as t,h as e,H as s,g as h}from"./p-0ba73c30.js";import{c as n}from"./p-d5b08a77.js";import{I as p}from"./p-20e22beb.js";import{G as o}from"./p-
|
|
5
|
+
import{r as i,c as t,h as e,H as s,g as h}from"./p-0ba73c30.js";import{c as n}from"./p-d5b08a77.js";import{I as p}from"./p-20e22beb.js";import{G as o}from"./p-121e4ca5.js";import{B as a}from"./p-c9bd85e9.js";import"./p-6f56f8ca.js";const c=class{constructor(e){i(this,e),this.onShow=t(this,"bcm-show",7),this.onHide=t(this,"bcm-hide",7),this.onConfirm=t(this,"bcm-confirm",7),this.onCancel=t(this,"bcm-cancel",7),this._id=o.UID(),this.status="warning",this.cancelText="No",this.okeyText="Yes",this.placement=a.Placement.top,this.trigger=a.TriggerType.click,this.open=!1,this.hidden=!1}async show(){this.open=!0,this.onShow.emit(),await this.createBox().then((()=>this.showBox()))}async hide(){this.open=!1,this.onHide.emit()}async createBox(){if(!this.getPopconfirmBox()){const i=document.createElement("bcm-popconfirm-box");i.setAttribute("id","box-"+this._id),i.setAttribute("target-id",this._id),i.setAttribute("placement",this.placement),i.setAttribute("message",this.message),i.setAttribute("status",this.status),i.setAttribute("cancel-text",this.cancelText),i.setAttribute("okey-text",this.okeyText),this.el.parentElement.appendChild(i)}return Promise.resolve()}getPopconfirmBox(){return document.querySelector(`bcm-popconfirm-box[id="box-${this._id}"]`)}showBox(){this.getPopconfirmBox()&&this.getPopconfirmBox().show()}hideBox(){this.getPopconfirmBox()&&this.getPopconfirmBox().hide()}listenTrigger(i){switch(this.trigger){case"click":"click"===i&&(this.open?this.hide():this.show());break;case"hover":"onMouseOver"===i&&this.show(),"onMouseOut"===i&&this.hide();break;case"focus":"onFocus"===i&&this.show(),"onBlur"===i&&this.hide()}}onBcmConfirm(i){i.detail==this._id&&this.onConfirm.emit(this._id)}onBcmCancel(i){i.detail==this._id&&this.onCancel.emit(this._id)}render(){const i=n("bcm-popconfirm");return e(s,{class:i,onclick:()=>this.listenTrigger("click"),tabindex:0},e("slot",null))}get el(){return h(this)}};(function(i,t,e,s){var h,n=arguments.length,p=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(i,t,e,s);else for(var o=i.length-1;o>=0;o--)(h=i[o])&&(p=(n<3?h(p):n>3?h(t,e,p):h(t,e))||p);n>3&&p&&Object.defineProperty(t,e,p)})([p()],c.prototype,"el",void 0),c.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-popconfirm{display:inline-flex}';export{c as bcm_popconfirm}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
var r,e;function t(r,e){try{var t=r();return void 0===t?e:t}catch(r){if(r instanceof TypeError)return e;throw r}}!function(r){r.info="info",r.error="error",r.warning="warning",r.success="success",r.default="default"}(r||(r={})),function(r){r.banner="banner",r.basic="basic"}(e||(e={}));const n=["localhost","beta-regression.bromcomcloud.com","beta-scrum.bromcomcloud.com","beta-kanban.bromcomcloud.com"];(()=>{const r=window.location.hostname;return n.includes(r)})()&&console.log("%cbromcom ui%c version: 2.7.36-rc.
|
|
5
|
+
var r,e;function t(r,e){try{var t=r();return void 0===t?e:t}catch(r){if(r instanceof TypeError)return e;throw r}}!function(r){r.info="info",r.error="error",r.warning="warning",r.success="success",r.default="default"}(r||(r={})),function(r){r.banner="banner",r.basic="basic"}(e||(e={}));const n=["localhost","beta-regression.bromcomcloud.com","beta-scrum.bromcomcloud.com","beta-kanban.bromcomcloud.com"];(()=>{const r=window.location.hostname;return n.includes(r)})()&&console.log("%cbromcom ui%c version: 2.7.36-rc.12-0-p ","color: white; background:#1890FF; font-weight: 300; font-size:10px; padding:2px 6px; border-radius: 5px","font-size:10px;");class c{}c.UID=()=>Math.random().toString(36).substr(2,9),c.getIconAttrWithStatusType=(e,t=!1)=>{if(t)return{icon:"far fa-spinner-third fa-spin"};switch(e){case r.info:return{icon:"far fa-info-circle"};case r.error:return{icon:"far fa-times-circle"};case r.warning:return{icon:"far fa-exclamation-circle"};case r.success:return{icon:"far fa-check-circle"}}},c.createComponent=(r,e,t="append-area")=>{let n=t?document.querySelector(t):document.body;t&&!n&&(n=document.createElement("div"),n.id="append-area",document.body.appendChild(n),n.style.visibility="hidden",n.style.opacity="0");let c=document.getElementById(e.id);return c||(c=document.createElement(r)),Object.keys(e).forEach((r=>{c[r]=e[r]})),n.appendChild(c),c},c.createElement=(r="div",e)=>{let t=document.getElementById(e.id);return t||(t=document.createElement(r)),Object.keys(e).forEach((r=>{"innerHTML"==r?t[r]=e[r]:t.setAttribute(r,e[r])})),document.body.appendChild(t),t},c.debounceInput=(r,e,t,n)=>{let c;return function(){let o=this,i=arguments;n&&n.apply(o,i);let a=function(){c=null,t||r.apply(o,i)},u=t&&!c;clearTimeout(c),c=setTimeout(a,e),u&&r.apply(o,i)}},c.flatArray=r=>r.reduce(((r,e)=>r.concat(Array.isArray(e)?c.flatArray(e):e)),[]),c.reverseNodeList=r=>{let e=[];for(let t=r.length-1;t>=0;t--)e.push(r[t]);return e},c.findEventPathWithKey=(r,e,t)=>{t=Array.isArray(t)?t:[t];let n=r.composedPath()||r.path;if(n)return void 0!==n.filter((r=>t.includes(r[e])))[0]},c.findEventPathHasAttribute=(r,e)=>{let n=r.composedPath()||r.path;if(n)return t((()=>!!n.find((r=>r.hasAttribute(e)))),!1)},c.findEventTarget=(r,e)=>{e=Array.isArray(e)?e:[e];let t=r.target||r.srcElement;if(t)return e.includes(t)},c.findEventPathWithNodeName=(r,e)=>{let t=r.composedPath()||r.path;if(t)return t.filter((r=>r.nodeName===e))[0]},c.findEventPath=(r,e)=>{e=Array.isArray(e)?e:[e];let t=r.composedPath()||r.path;if(t)return void 0!==t.filter((r=>e.includes(r)))[0]},c.objectIsEmpty=r=>0===Object.keys(r).length&&r.constructor===Object,c.convertIdsToNestedData=(r,e)=>{let t=[],n=[];return e.forEach((e=>{r&&r.indexOf(e.id)>-1?t.push(e):e.items&&(n=c.convertIdsToNestedData(r,e.items),n.length>0&&(e.items=n,t.push(e)))})),t},c.nodeListToArray=r=>Array.prototype.slice.call(r),c.setAttributes=(r,e)=>{Object.keys(e).forEach((t=>{r.setAttribute(t,e[t])}))},c.computedStyle=(r,e)=>window.getComputedStyle(r,null).getPropertyValue(e);export{c as G,r as S,e as T,t as s}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as e,c as i,h as t,H as a,g as o}from"./p-0ba73c30.js";import{c as s}from"./p-d5b08a77.js";import{I as l}from"./p-20e22beb.js";import{C as p}from"./p-436364c8.js";import{e as n}from"./p-
|
|
5
|
+
import{r as e,c as i,h as t,H as a,g as o}from"./p-0ba73c30.js";import{c as s}from"./p-d5b08a77.js";import{I as l}from"./p-20e22beb.js";import{C as p}from"./p-436364c8.js";import{e as n}from"./p-8c018ae0.js";import"./p-6f56f8ca.js";var r;!function(e){e.black="black",e.white="white",e["prime-blue"]="prime-blue",e.grey="grey",e.blue="blue",e.warmyellow="warmyellow",e.yellow="yellow",e.limegreen="limegreen",e.red="red",e.darkorange="darkorange",e.orange="orange",e.green="green",e.turquosie="turquosie",e.cobaltblue="cobaltblue",e.magenta="magenta",e.purple="purple",e["bc-red"]="bc-red",e["bc-blue"]="bc-blue",e["bc-green"]="bc-green",e["bc-orange"]="bc-orange"}(r||(r={}));const c=class{constructor(t){e(this,t),this.checkedChange=i(this,"bcm-old-tag-checked-change",7),this.tagDissmisable=i(this,"bcm-old-tag-dissmisable",7),this.type="basic",this.size="size-1",this.checked=!1,this.value="",this.hidden=!1,this._id=(4*Math.random()).toString(16).replace(".",""),this.maxWidth=!1,this._internal_id=(4*Math.random()).toString(16).replace(".","")}handleClick(){"checkable"===this.type&&(this.checked=!this.checked)}onCheckedChange(e,i){this.checkedChange.emit({newValue:e,oldValue:i})}getColor(e){if(("basic"==this.type||"dissmisable"==this.type)&&r[e])return{color:n(p,r[e]+"-6"),borderColor:n(p,r[e]+"-3"),backgroundColor:n(p,r[e]+"-1")}}getSize(e,i=!1){return Number(e)==e&&(e="size-"+e),i&&(e={1:"12",2:"14",3:"16",4:"20",5:"24",6:"30",7:"38",8:"46",9:"56"}[e=(e=e.split("-"))[e.length-1]]),e}handleClose(){this.tagDissmisable.emit(this.el)}render(){const{type:e,color:i,value:o,customStyle:l,size:p}=this,n=s("tag",this.getSize(p),e),r=s(this.hidden?"hidden":null,this.maxWidth?"maxwidth":null);return"add"===e?t(a,{class:r},t("button",{class:n},t("span",{class:"left"},t("bcm-icon",{icon:"far fa-plus"})),o)):"dissmisable"===e?t(a,{class:r},t("span",{class:n,style:this.getColor(i)},t("span",{class:"value",style:l},o),t("span",{class:"right close-button",onClick:()=>this.handleClose(),style:{width:Number(this.getSize(p,!0))+2+"px"}},t("svg",{id:"close",style:{fill:"#595959",width:"14px",height:"14px"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},t("path",{d:"M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z"}))))):"checkable"===e?t(a,{class:r},t("input",{type:"checkbox",checked:this.checked}),t("label",{class:n},o)):t(a,{class:r},t("span",{class:n,style:this.getColor(i)},o))}get el(){return o(this)}static get watchers(){return{checked:["onCheckedChange"]}}};(function(e,i,t,a){var o,s=arguments.length,l=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,i,t,a);else for(var p=e.length-1;p>=0;p--)(o=e[p])&&(l=(s<3?o(l):s>3?o(i,t,l):o(i,t))||l);s>3&&l&&Object.defineProperty(i,t,l)})([l()],c.prototype,"el",void 0),c.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}:host{display:inline-block;width:fit-content}:host(.hidden){display:none}:host(.maxwidth){max-width:100px}.tag{display:flex;align-items:center;justify-content:center;padding:0 8px;cursor:default;border-radius:48px;border:1px solid var(--bcm-color-grey-5);user-select:none;min-width:10px;min-height:20px}.tag.size-1{padding:calc(8px - 8px) 8px}.tag.size-2{padding:calc(9px - 8px) 9px}.tag.size-3{padding:calc(10px - 8px) 10px}.tag.size-4{padding:calc(11px - 8px) 11px}.tag.size-5{padding:calc(12px - 8px) 12px}.tag.size-6{padding:calc(13px - 8px) 13px}.tag.size-7{padding:calc(14px - 8px) 14px}.tag.size-8{padding:calc(15px - 8px) 15px}.tag.size-9{padding:calc(16px - 8px) 16px}.tag.basic,.tag.closeable,.tag.add,.tag.dissmisable{background-color:var(--bcm-color-grey-3);color:var(--bcm-color-grey-8)}.tag.basic:hover,.tag.closeable:hover,.tag.add:hover,.tag.dissmisable:hover{opacity:0.85}.tag.dissmisable{color:var(--bcm-color-grey-10)}.tag.dissmisable .close-button{width:14px;cursor:pointer}.tag.dissmisable .close-button bcm-icon{color:var(--bcm-color-grey-7)}.tag.dissmisable .close-button:hover bcm-icon{color:var(--bcm-color-grey-10)}.tag.add{border-style:dashed;background-color:var(--bcm-color-grey-1)}.tag.checkable{background-color:var(--bcm-color-grey-1);color:var(--bcm-color-grey-8);border-color:var(--bcm-color-grey-1)}.tag.checkable:hover{color:var(--bcm-color-prime-blue-5);cursor:pointer}.tag span{display:inline-flex}.tag span.left{margin-right:4px}.tag span.right{margin-left:4px}.tag:before,.tag:after{content:""}button{border:none;outline:0;cursor:pointer !important;margin:0}input[type=checkbox]{margin:0;width:0;height:0;visibility:hidden;position:absolute}input[type=checkbox]:checked+label{background-color:var(--bcm-color-prime-blue-6);color:var(--bcm-color-grey-1);border-color:var(--bcm-color-prime-blue-6)}input[type=checkbox]:checked+label:hover{background-color:var(--bcm-color-prime-blue-5);border-color:var(--bcm-color-prime-blue-5)}input[type=checkbox]:checked+label.checkable:hover{color:var(--bcm-color-grey-1)}input[type=checkbox]:checked+label:active{background-color:var(--bcm-color-prime-blue-7);border-color:var(--bcm-color-prime-blue-7)}';const h=class{constructor(i){e(this,i),this._internal_id=(4*Math.random()).toString(16).replace(".",""),this.hidden=!1,this.isShow=!1}disconnectedCallback(){}componentWillLoad(){}componentDidLoad(){}componentWillRender(){}componentDidRender(){}componentWillUpdate(){}componentDidUpdate(){}handleChangeEvent(e){e.stopPropagation()}render(){const e=s("select-box"),i=s(this.hidden?"hidden":null,{show:this.isShow});return t(a,{class:i},t("div",{class:e},t("bcm-listbox",{id:"listbox-box"+this._internal_id,class:"listbox-box",_internal_id:this._internal_id,"inner-component":!0,"no-caption":!0,fullWidth:!0,_flex:"true"})))}get el(){return o(this)}};h.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.select-box{flex:1}:host{z-index:-999;position:absolute;opacity:0;top:-10000;left:-10000;visibility:hidden !important;box-shadow:0px 2px 8px rgba(0, 0, 0, 0.15)}:host(.show){opacity:1;z-index:100000;visibility:visible !important}';export{c as bcm_old_tag,h as bcm_select_box}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as e,c as o,h as c,H as r,g as n}from"./p-0ba73c30.js";import{G as l,s}from"./p-678d5156.js";import{B as d}from"./p-c9bd85e9.js";import{I as b}from"./p-20e22beb.js";import{c as m}from"./p-d5b08a77.js";import{S as t}from"./p-04c8b756.js";import"./p-6f56f8ca.js";const a=class{constructor(c){e(this,c),this.bcmChange=o(this,"bcm-change",7),this._id=l.UID(),this.size=d.Size.medium,this.type="button",this.direction=d.Direction.horizontal}componentWillLoad(){const{size:e,color:o}=this,c=this.getButtons();(null==c?void 0:c.length)&&c.forEach((c=>{let r=t.elementBooleanCheck(this.el.getAttribute("disabled"))||c.getAttribute("disabled");o&&c.setAttribute("color",o),e&&c.setAttribute("size",e),r&&(c.disabled=!0)}))}getButtons(){return s((()=>Array.from(this.el.querySelectorAll("bcm-button"))),[])}radioControl(e){const o=this.getButtons();(null==o?void 0:o.length)&&o.forEach((o=>{o.checked=o.id==e}))}checkboxControl(e){const o=this.getButtons();(null==o?void 0:o.length)&&o.forEach((o=>{o.checked=o.id==e?o.checked=!o.checked:o.checked}))}listenButton({target:e}){if(e.id){switch(this.type){case"radio":this.radioControl(e.id);break;case"checkbox":this.checkboxControl(e.id)}this.handleChange()}}handleChange(){const e=this.getButtons().filter(Boolean).map((e=>({id:e.id,checked:e.checked})));this.bcmChange.emit(e)}render(){const e=m("bcm-button-group",{"bcm-button-group__vertical":this.direction===d.Direction.vertical});return c(r,{class:e},c("slot",null))}get el(){return n(this)}};(function(e,o,c,r){var n,l=arguments.length,s=l<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,c):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,c,r);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(s=(l<3?n(s):l>3?n(o,c,s):n(o,c))||s);l>3&&s&&Object.defineProperty(o,c,s)})([b()],a.prototype,"el",void 0),a.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}.bcm-button-group{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;width:fit-content;background-color:var(--bcm-new-ds-color-slate-300);border:1px solid var(--bcm-new-ds-color-slate-300);gap:1px;border-radius:4px}.bcm-button-group .bcm-button__container{border-radius:0;border:none}.bcm-button-group .bcm-button:first-child .bcm-button__container{border-top-left-radius:4px;border-bottom-left-radius:4px}.bcm-button-group .bcm-button:last-child .bcm-button__container{border-top-right-radius:4px;border-bottom-right-radius:4px}.bcm-button-group__vertical{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex-wrap:nowrap}.bcm-button-group__vertical .bcm-button__container{border-radius:0}.bcm-button-group__vertical .bcm-button:first-child .bcm-button__container{border-radius:4px 4px 0 0}.bcm-button-group__vertical .bcm-button:last-child .bcm-button__container{border-radius:0 0 4px 4px}';export{a as bcm_button_group}
|
|
5
|
+
import{r as e,c as o,h as c,H as r,g as n}from"./p-0ba73c30.js";import{G as l,s}from"./p-121e4ca5.js";import{B as d}from"./p-c9bd85e9.js";import{I as b}from"./p-20e22beb.js";import{c as m}from"./p-d5b08a77.js";import{S as t}from"./p-04c8b756.js";import"./p-6f56f8ca.js";const a=class{constructor(c){e(this,c),this.bcmChange=o(this,"bcm-change",7),this._id=l.UID(),this.size=d.Size.medium,this.type="button",this.direction=d.Direction.horizontal}componentWillLoad(){const{size:e,color:o}=this,c=this.getButtons();(null==c?void 0:c.length)&&c.forEach((c=>{let r=t.elementBooleanCheck(this.el.getAttribute("disabled"))||c.getAttribute("disabled");o&&c.setAttribute("color",o),e&&c.setAttribute("size",e),r&&(c.disabled=!0)}))}getButtons(){return s((()=>Array.from(this.el.querySelectorAll("bcm-button"))),[])}radioControl(e){const o=this.getButtons();(null==o?void 0:o.length)&&o.forEach((o=>{o.checked=o.id==e}))}checkboxControl(e){const o=this.getButtons();(null==o?void 0:o.length)&&o.forEach((o=>{o.checked=o.id==e?o.checked=!o.checked:o.checked}))}listenButton({target:e}){if(e.id){switch(this.type){case"radio":this.radioControl(e.id);break;case"checkbox":this.checkboxControl(e.id)}this.handleChange()}}handleChange(){const e=this.getButtons().filter(Boolean).map((e=>({id:e.id,checked:e.checked})));this.bcmChange.emit(e)}render(){const e=m("bcm-button-group",{"bcm-button-group__vertical":this.direction===d.Direction.vertical});return c(r,{class:e},c("slot",null))}get el(){return n(this)}};(function(e,o,c,r){var n,l=arguments.length,s=l<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,c):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,c,r);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(s=(l<3?n(s):l>3?n(o,c,s):n(o,c))||s);l>3&&s&&Object.defineProperty(o,c,s)})([b()],a.prototype,"el",void 0),a.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}.bcm-button-group{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;width:fit-content;background-color:var(--bcm-new-ds-color-slate-300);border:1px solid var(--bcm-new-ds-color-slate-300);gap:1px;border-radius:4px}.bcm-button-group .bcm-button__container{border-radius:0;border:none}.bcm-button-group .bcm-button:first-child .bcm-button__container{border-top-left-radius:4px;border-bottom-left-radius:4px}.bcm-button-group .bcm-button:last-child .bcm-button__container{border-top-right-radius:4px;border-bottom-right-radius:4px}.bcm-button-group__vertical{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex-wrap:nowrap}.bcm-button-group__vertical .bcm-button__container{border-radius:0}.bcm-button-group__vertical .bcm-button:first-child .bcm-button__container{border-radius:4px 4px 0 0}.bcm-button-group__vertical .bcm-button:last-child .bcm-button__container{border-radius:0 0 4px 4px}';export{a as bcm_button_group}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as e,c,h as o,H as n,g as r}from"./p-0ba73c30.js";import{c as l}from"./p-d5b08a77.js";import{s,G as d}from"./p-678d5156.js";import{I as b}from"./p-20e22beb.js";import{B as m}from"./p-c9bd85e9.js";import{C as a}from"./p-bb698305.js";import{d as i,a as t}from"./p-3c7a0345.js";import{c as w}from"./p-be904c55.js";import{S as f}from"./p-04c8b756.js";import"./p-6f56f8ca.js";const{state:p,onChange:g}=w({group:new Map,onChange:{}}),h=e=>s((()=>p.group.get(e)),{});g("onChange",(e=>{h(e.id).childs.map((c=>{c.checked=c.id===e.childId}))}));const u={setValue:async({fullWidth:e,optionType:c,buttonStyle:o,size:n,disabled:r,defaultCheckedItems:l,el:s,id:b,label:m,required:a,captionType:i,hidden:t,direction:w,childs:f,gap:g,name:h,noCaption:u})=>{s&&p.group.set(b,{fullWidth:e,optionType:c,buttonStyle:o,size:n,disabled:r,defaultCheckedItems:l,label:m,required:a,captionType:i,hidden:t,direction:w,gap:g,noCaption:u,name:h,childs:await f.map((r=>(e&&(r.style.flex="flex"==e?"auto":"100%"),c&&(r.optionType=c),o&&(r.buttonStyle=o),n&&(r.size=n),l&&l.find((e=>e===r.name))&&(r.checked=!0),r.noCaption=u,{id:r.id||d.UID(),checked:r.checked,name:h,value:r.value,size:r.size,buttonStyle:r.buttonStyle,optionType:r.optionType,style:r.style,noCaption:r.noCaption,color:r.color,disabled:r.disabled,label:r.label||r.name,slot:r.slot||r.textContent,required:a,captionType:i,hidden:r.hidden})))})},getValue:e=>{const c=h(e);let o=null;return c.childs.map((e=>{1==e.checked&&(o=e.value||e.slot)})),o&&f.trim(o)},setCheckedItem:(e,c,o)=>{const n=h(e).childs;n&&n.length>0&&n.forEach((e=>{e.checked=(e.id==c||e.value==c)&&o}))},getProperty:h,setClear:e=>{h(e).childs.forEach((e=>{e.checked=!1}))},removeState:e=>Promise.resolve(p.group.delete(e)),resetCaption:e=>{const c=h(e).noCaption;h(e).childs.forEach((e=>{e.resetCaption(),e.noCaption=c}))},state:p};const y=class{constructor(o){e(this,o),this.change=c(this,"bcm-change",7),this._id=d.UID(),this.direction=m.Direction.horizontal,this.items=[],this.size=m.Size.medium,this.disabled=!1,this.hidden=!1,this.required=!1,this.optionType="default",this.buttonStyle="solid",this.fullWidth=!1,this.noCaption=!1,this.captionType=m.Status.default,this.radioOptions=[],this.usingSlots=!0,this.tick={}}disconnectedCallback(){u.removeState(this._id)}componentDidLoad(){this.initState()}componentShouldUpdate(e,c,o){"defaultValue"!=o&&"tick"!=o||e===c||s((()=>u.getProperty(this._id).childs.length>0),!1)&&this.getValue().then((e=>this.value=e))}async initState(){const{fullWidth:e,optionType:c,buttonStyle:o,size:n,disabled:r,noCaption:l,defaultValue:d,label:b,required:m,captionType:a,hidden:i,direction:t,gap:w,items:f,name:p}=this,g=d&&d,h=f.length>0?s((()=>"string"==typeof this.items?JSON.parse(this.items):this.items)):await this.getRadioItems();await u.setValue({id:this._id,el:this.el,name:p,fullWidth:e,optionType:c,buttonStyle:o,size:n,disabled:r,defaultCheckedItems:g,label:b,noCaption:l,required:m,captionType:a,hidden:i,gap:w,direction:t,childs:h}),this.getValue().then((e=>this.value=e))}async markForCheck(){await i(10),this.tick=d.UID()}async setClear(){return u.setClear(this._id),this.markForCheck(),await i(10),Promise.resolve()}async resetCaption(){return await i(10),this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null,await i(10),Promise.resolve()}async set(e){await this.check(e)}async get(){return await this.getValue()}async check(e,c=!0){u.setCheckedItem(this._id,e,c),this.defaultValue=e,this.markForCheck()}async getValue(){return u.getValue(this._id)}handleItemsChange(){this.initState()}getRadioItems(){return t(this.el,"bcm-radio")}async changeRadio(e){u.state.onChange={id:this._id,childId:e},await this.markForCheck(),this.change.emit(this.value)}getItems(){return u.getProperty(this._id)}connectedCallback(){this.captionCache=this.caption,this.captionTypeCache=this.captionType}render(){const{label:e,required:c,hidden:r,childs:s,gap:d,direction:b,fullWidth:m,optionType:i}=this.getItems(),t=l("bcm-radio-group",{hidden:r,error:"error"==this.captionType,"full-width":m}),w=l("bcm-radio-group__container",i,{[b]:"default"===i,"full-width":m});return o(n,{class:t},e&&o("bcm-label",{type:this.captionType,value:e,required:c}),o("div",{class:w,style:d&&{gap:d}},s&&s.map((e=>o("bcm-radio",{id:e.id,onClick:c=>{!e.disabled&&this.changeRadio(e.id),c.preventDefault()},value:e.value,disabled:e.disabled,checked:e.checked,size:e.size,color:e.color,required:e.required,hidden:e.hidden,"no-margin":!0},e.slot||e.label)))),o(a,{noCaption:this.noCaption,captionType:this.captionType,captionError:this.captionError,caption:this.caption}),o("span",{hidden:!0},o("slot",null)))}get el(){return r(this)}static get watchers(){return{items:["handleItemsChange"]}}};(function(e,c,o,n){var r,l=arguments.length,s=l<3?c:null===n?n=Object.getOwnPropertyDescriptor(c,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,c,o,n);else for(var d=e.length-1;d>=0;d--)(r=e[d])&&(s=(l<3?r(s):l>3?r(c,o,s):r(c,o))||s);l>3&&s&&Object.defineProperty(c,o,s)})([b()],y.prototype,"el",void 0),y.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}.bcm-caption-area{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}.bcm-radio-group{margin-bottom:8px;display:block}.bcm-radio-group.hidden{display:none}.bcm-radio-group__container{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;width:100%}.bcm-radio-group__container.vertical{gap:8px;flex-direction:column}.bcm-radio-group__container.full-width{max-width:100%}';export{y as bcm_radio_group}
|
|
5
|
+
import{r as e,c,h as o,H as n,g as r}from"./p-0ba73c30.js";import{c as l}from"./p-d5b08a77.js";import{s,G as d}from"./p-121e4ca5.js";import{I as b}from"./p-20e22beb.js";import{B as m}from"./p-c9bd85e9.js";import{C as a}from"./p-bb698305.js";import{d as i,g as t}from"./p-8c018ae0.js";import{c as w}from"./p-be904c55.js";import{S as f}from"./p-04c8b756.js";import"./p-6f56f8ca.js";const{state:p,onChange:g}=w({group:new Map,onChange:{}}),h=e=>s((()=>p.group.get(e)),{});g("onChange",(e=>{h(e.id).childs.map((c=>{c.checked=c.id===e.childId}))}));const u={setValue:async({fullWidth:e,optionType:c,buttonStyle:o,size:n,disabled:r,defaultCheckedItems:l,el:s,id:b,label:m,required:a,captionType:i,hidden:t,direction:w,childs:f,gap:g,name:h,noCaption:u})=>{s&&p.group.set(b,{fullWidth:e,optionType:c,buttonStyle:o,size:n,disabled:r,defaultCheckedItems:l,label:m,required:a,captionType:i,hidden:t,direction:w,gap:g,noCaption:u,name:h,childs:await f.map((r=>(e&&(r.style.flex="flex"==e?"auto":"100%"),c&&(r.optionType=c),o&&(r.buttonStyle=o),n&&(r.size=n),l&&l.find((e=>e===r.name))&&(r.checked=!0),r.noCaption=u,{id:r.id||d.UID(),checked:r.checked,name:h,value:r.value,size:r.size,buttonStyle:r.buttonStyle,optionType:r.optionType,style:r.style,noCaption:r.noCaption,color:r.color,disabled:r.disabled,label:r.label||r.name,slot:r.slot||r.textContent,required:a,captionType:i,hidden:r.hidden})))})},getValue:e=>{const c=h(e);let o=null;return c.childs.map((e=>{1==e.checked&&(o=e.value||e.slot)})),o&&f.trim(o)},setCheckedItem:(e,c,o)=>{const n=h(e).childs;n&&n.length>0&&n.forEach((e=>{e.checked=(e.id==c||e.value==c)&&o}))},getProperty:h,setClear:e=>{h(e).childs.forEach((e=>{e.checked=!1}))},removeState:e=>Promise.resolve(p.group.delete(e)),resetCaption:e=>{const c=h(e).noCaption;h(e).childs.forEach((e=>{e.resetCaption(),e.noCaption=c}))},state:p};const y=class{constructor(o){e(this,o),this.change=c(this,"bcm-change",7),this._id=d.UID(),this.direction=m.Direction.horizontal,this.items=[],this.size=m.Size.medium,this.disabled=!1,this.hidden=!1,this.required=!1,this.optionType="default",this.buttonStyle="solid",this.fullWidth=!1,this.noCaption=!1,this.captionType=m.Status.default,this.radioOptions=[],this.usingSlots=!0,this.tick={}}disconnectedCallback(){u.removeState(this._id)}componentDidLoad(){this.initState()}componentShouldUpdate(e,c,o){"defaultValue"!=o&&"tick"!=o||e===c||s((()=>u.getProperty(this._id).childs.length>0),!1)&&this.getValue().then((e=>this.value=e))}async initState(){const{fullWidth:e,optionType:c,buttonStyle:o,size:n,disabled:r,noCaption:l,defaultValue:d,label:b,required:m,captionType:a,hidden:i,direction:t,gap:w,items:f,name:p}=this,g=d&&d,h=f.length>0?s((()=>"string"==typeof this.items?JSON.parse(this.items):this.items)):await this.getRadioItems();await u.setValue({id:this._id,el:this.el,name:p,fullWidth:e,optionType:c,buttonStyle:o,size:n,disabled:r,defaultCheckedItems:g,label:b,noCaption:l,required:m,captionType:a,hidden:i,gap:w,direction:t,childs:h}),this.getValue().then((e=>this.value=e))}async markForCheck(){await i(10),this.tick=d.UID()}async setClear(){return u.setClear(this._id),this.markForCheck(),await i(10),Promise.resolve()}async resetCaption(){return await i(10),this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null,await i(10),Promise.resolve()}async set(e){await this.check(e)}async get(){return await this.getValue()}async check(e,c=!0){u.setCheckedItem(this._id,e,c),this.defaultValue=e,this.markForCheck()}async getValue(){return u.getValue(this._id)}handleItemsChange(){this.initState()}getRadioItems(){return t(this.el,"bcm-radio")}async changeRadio(e){u.state.onChange={id:this._id,childId:e},await this.markForCheck(),this.change.emit(this.value)}getItems(){return u.getProperty(this._id)}connectedCallback(){this.captionCache=this.caption,this.captionTypeCache=this.captionType}render(){const{label:e,required:c,hidden:r,childs:s,gap:d,direction:b,fullWidth:m,optionType:i}=this.getItems(),t=l("bcm-radio-group",{hidden:r,error:"error"==this.captionType,"full-width":m}),w=l("bcm-radio-group__container",i,{[b]:"default"===i,"full-width":m});return o(n,{class:t},e&&o("bcm-label",{type:this.captionType,value:e,required:c}),o("div",{class:w,style:d&&{gap:d}},s&&s.map((e=>o("bcm-radio",{id:e.id,onClick:c=>{!e.disabled&&this.changeRadio(e.id),c.preventDefault()},value:e.value,disabled:e.disabled,checked:e.checked,size:e.size,color:e.color,required:e.required,hidden:e.hidden,"no-margin":!0},e.slot||e.label)))),o(a,{noCaption:this.noCaption,captionType:this.captionType,captionError:this.captionError,caption:this.caption}),o("span",{hidden:!0},o("slot",null)))}get el(){return r(this)}static get watchers(){return{items:["handleItemsChange"]}}};(function(e,c,o,n){var r,l=arguments.length,s=l<3?c:null===n?n=Object.getOwnPropertyDescriptor(c,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,c,o,n);else for(var d=e.length-1;d>=0;d--)(r=e[d])&&(s=(l<3?r(s):l>3?r(c,o,s):r(c,o))||s);l>3&&s&&Object.defineProperty(c,o,s)})([b()],y.prototype,"el",void 0),y.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}.bcm-caption-area{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}.bcm-radio-group{margin-bottom:8px;display:block}.bcm-radio-group.hidden{display:none}.bcm-radio-group__container{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;width:100%}.bcm-radio-group__container.vertical{gap:8px;flex-direction:column}.bcm-radio-group__container.full-width{max-width:100%}';export{y as bcm_radio_group}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as t,c as e,f as i,h as s,H as o,g as a}from"./p-0ba73c30.js";import{I as n}from"./p-20e22beb.js";import{G as r,s as h}from"./p-
|
|
5
|
+
import{r as t,c as e,f as i,h as s,H as o,g as a}from"./p-0ba73c30.js";import{I as n}from"./p-20e22beb.js";import{G as r,s as h}from"./p-121e4ca5.js";import{S as p}from"./p-04c8b756.js";import{B as l}from"./p-c9bd85e9.js";import"./p-6f56f8ca.js";const c=["BCM-INPUT","BCM-TEXTAREA","BCM-SWITCH","BCM-CHECKBOX","BCM-RADIO-GROUP","BCM-CHECKBOX-GROUP","BCM-RANGE","BCM-FORM","BCM-FORM-GROUP","BCM-LIST","BCM-COLORPICKER","BCM-DATE-PICKER","BCM-TIME-PICKER","BCM-DATETIME-PICKER","BCM-SELECT","BCM-LISTBOX"];const x=class{constructor(i){t(this,i),this.bcmForm=e(this,"bcm-form",7),this._id=r.UID(),this.validation=!1,this.isLoad=!1,this.formData={},this.formObj=new Map}componentDidLoad(){this.isLoad=!0,i(this)}componentIsValid(t){if(!t.hidden){this.checkIsGroup(t);const e=["bcm-checkbox","bcm-switch"].includes(p.lowercase(t.tagName))?0==t.value:p.isNullOrEmpty(t.value);t.required&&(e?(t.captionError=l.FormErrorMessages.required,t.captionType="error",this.formObj.set(t.id,{name:t.name,valid:!1,errorDetails:t.captionError})):(t.captionError=null,t.captionType="default",this.formObj.delete(t.id)))}}isGroup(t){return["bcm-checkbox-group"].includes(p.lowercase(t.tagName))}checkIsGroup(t){if(this.isGroup(t))for(let e of Array.from(t.querySelectorAll("bcm-checkbox")))e&&this.componentIsValid(e)}changeCheckboxGroup(t){const e=t.target,{changed:i}=t.detail,s=Array.from(e.querySelectorAll("bcm-checkbox"));for(let t of s)t.id==i.element.id&&(t.value=i.event.value,this.componentIsValid(t))}bcmComponentList(){return h((()=>Array.from(this.el.querySelectorAll("*")).filter((t=>c.includes(t.tagName)&&(!t["s-hn"]||"BCM-FORM-2"==t["s-hn"]))).filter(Boolean)),[])}formResponse(){const t={formData:this.formData,isValid:0==this.formObj.size,errorDetails:Object.assign({},this.formObj.size>0&&Array.from(this.formObj).map((([t,e])=>({[e.name]:e.errorDetails})))),message:0==this.formObj.size?"":"Please fill in all inputs"};return this.bcmForm.emit(t),t}async setMethodType(t){const{isLoad:e,validation:i}=this;if(e)for(const e of this.bcmComponentList())try{await e[t](),"setClear"==t&&i&&this.componentIsValid(e)}catch(i){console.error(e.nodeName,t,i)}return Promise.resolve()}async submit(){const{isLoad:t,validation:e}=this;if(t)for(const t of this.bcmComponentList()){const{name:i,value:s}=t;this.formData[i]=p.isNullOrEmpty(s)?null:s,e&&this.componentIsValid(t)}return Promise.resolve(this.formResponse())}async set(t){var e,i,s;if(this.isLoad&&t&&(null===(e=this.bcmComponentList())||void 0===e?void 0:e.length)>0)for(let e of Object.keys(t)){const o=null!==(s=null===(i=this.bcmComponentList())||void 0===i?void 0:i.find((t=>t.name==e)))&&void 0!==s?s:{};if(o)try{await o.set(t[e]),this.componentIsValid(o)}catch(t){console.warn("set: ",e,o.nodeName)}}}get(){var t;let e={};if((null===(t=this.bcmComponentList())||void 0===t?void 0:t.length)>0)for(let t of this.bcmComponentList())e=Object.assign(Object.assign({},e),{[t.name]:p.isNullOrEmpty(t.value)?null:t.value});return Promise.resolve(e)}async resetCaption(){return Promise.resolve(await this.setMethodType("resetCaption"))}async setClear(){return this.formData={},this.formObj=new Map,Promise.resolve(await this.setMethodType("setClear"))}onChange(t){const{isLoad:e,validation:i}=this;if(e){const e=t.target,s=e&&e.tagName.toLowerCase().startsWith("bcm-");if(i&&s){if(this.isGroup(e))return this.changeCheckboxGroup(t);this.componentIsValid(e)}}}render(){return s(o,null,s("slot",null))}get el(){return a(this)}};(function(t,e,i,s){var o,a=arguments.length,n=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);a>3&&n&&Object.defineProperty(e,i,n)})([n()],x.prototype,"el",void 0),x.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}';export{x as bcm_form_2}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as e,h as t,H as i,g as p}from"./p-0ba73c30.js";import{c as n}from"./p-d5b08a77.js";import{I as a}from"./p-20e22beb.js";import{c as s}from"./p-
|
|
5
|
+
import{r as e,h as t,H as i,g as p}from"./p-0ba73c30.js";import{c as n}from"./p-d5b08a77.js";import{I as a}from"./p-20e22beb.js";import{c as s}from"./p-8c018ae0.js";import{T as o}from"./p-e53f8a82.js";import"./p-6f56f8ca.js";const r=class{constructor(t){e(this,t),this.size="medium",this.hidden=!1,this.fullWidth=!1,this.type=o.normal}connectedCallback(){}disconnectedCallback(){}componentWillLoad(){}componentDidLoad(){}componentWillRender(){}componentDidRender(){}componentWillUpdate(){}componentDidUpdate(){}handleActivePane(e){s(this.el,"bcm-tab-pane").forEach((t=>{t.tab==e.detail&&(t.active=!0),t.tab!=e.detail&&(t.active=!1)}))}render(){const e=n("tabs-content",this.size),p=n(this.hidden?"hidden":null,this.type);return t(i,{class:p},t("div",{class:e},t("slot",null)))}get el(){return p(this)}};(function(e,t,i,p){var n,a=arguments.length,s=a<3?t:null===p?p=Object.getOwnPropertyDescriptor(t,i):p;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,p);else for(var o=e.length-1;o>=0;o--)(n=e[o])&&(s=(a<3?n(s):a>3?n(t,i,s):n(t,i))||s);a>3&&s&&Object.defineProperty(t,i,s)})([a()],r.prototype,"el",void 0),r.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{width:100%;display:block;padding:8px}:host(.pane){border:1px solid transparent;border-top:none;border-color:var(--bcm-color-grey-5);border-radius:0 0 2px 2px}';export{r as bcm_tabs_content}
|