bromcom-ui 2.11.1-rc.5 → 2.11.1-rc.7
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-24b9e53a.entry.js → p-09a93e61.entry.js} +1 -1
- package/dist/bromcom-ui/{p-aae06a5f.entry.js → p-141262d7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9fb5b57e.entry.js → p-176fa507.entry.js} +1 -1
- package/dist/bromcom-ui/{p-46acf298.entry.js → p-1efcd950.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4c10b76c.entry.js → p-2611874e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ca56fc9a.entry.js → p-2dd1f11a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-10e5182d.entry.js → p-323814c5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3ed29cc6.entry.js → p-360a2521.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6cf8e678.entry.js → p-3637c5db.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8e7635e9.entry.js → p-37ab344d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2a79eca5.entry.js → p-3945c3e7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-85c47dc6.entry.js → p-3ec0b26c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c0068b6b.entry.js → p-4691bf0f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c5bb8557.entry.js → p-476c4395.entry.js} +1 -1
- package/dist/bromcom-ui/p-51383c50.js +5 -0
- package/dist/bromcom-ui/{p-15489996.entry.js → p-51f2ada5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2f0e8443.entry.js → p-52a452ed.entry.js} +1 -1
- package/dist/bromcom-ui/{p-df8f95d4.entry.js → p-540b3968.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9be818f6.entry.js → p-585d341b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0b7ca765.entry.js → p-5cea31a3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-90697441.entry.js → p-5da5c711.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c9bfa357.entry.js → p-6463a5c6.entry.js} +1 -1
- package/dist/bromcom-ui/p-67ed466a.entry.js +5 -0
- package/dist/bromcom-ui/p-695e5871.entry.js +5 -0
- package/dist/bromcom-ui/{p-ba272e81.entry.js → p-697a733d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9f77dcaa.entry.js → p-69e3c566.entry.js} +1 -1
- package/dist/bromcom-ui/{p-02f011ea.entry.js → p-6a4a490b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-af66bd8a.entry.js → p-6ba235c9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-acbff281.entry.js → p-6cfffdc8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-879f821a.entry.js → p-726b628d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bbd82d8f.entry.js → p-72da77b1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8da83505.entry.js → p-7d397485.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dcdb1b99.js → p-85f028bf.js} +1 -1
- package/dist/bromcom-ui/{p-563ae5f5.js → p-866d1d29.js} +1 -1
- package/dist/bromcom-ui/{p-5aa962a4.entry.js → p-86bbaeb1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f8a4d5be.entry.js → p-86f1302f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-75413cfe.entry.js → p-8a645ca2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fdfc8334.js → p-8ba86cba.js} +1 -1
- package/dist/bromcom-ui/{p-d4d4cf36.entry.js → p-8c0b82e1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2720a392.js → p-9107380e.js} +1 -1
- package/dist/bromcom-ui/p-93063026.js +5 -0
- package/dist/bromcom-ui/p-9551e2a4.js +5 -0
- package/dist/bromcom-ui/{p-b1241b02.js → p-9bbafbfe.js} +1 -1
- package/dist/bromcom-ui/{p-718122dd.entry.js → p-9c274c1f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5368ed7d.entry.js → p-9f03e075.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0746512a.entry.js → p-a20f2ff9.entry.js} +1 -1
- package/dist/bromcom-ui/p-a22836ef.entry.js +5 -0
- package/dist/bromcom-ui/{p-1b77533a.entry.js → p-aa41988b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-66608ae4.entry.js → p-aeba90b4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2b87993f.entry.js → p-b5986380.entry.js} +1 -1
- package/dist/bromcom-ui/{p-193a6180.entry.js → p-c33b5077.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b59f75a9.entry.js → p-c573de57.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7ce10ad2.entry.js → p-c92ac41f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-437e36c8.entry.js → p-c9efd0e2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5cc301e4.entry.js → p-d1b3d238.entry.js} +1 -1
- package/dist/bromcom-ui/p-d2f863d9.js +5 -0
- package/dist/bromcom-ui/{p-d3c00997.entry.js → p-dc861002.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ad3b2352.entry.js → p-dd839e25.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2d355fa3.entry.js → p-ddd60d87.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d03b0ccc.entry.js → p-e3acd567.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0a12e0ec.js → p-e8c633dd.js} +1 -1
- package/dist/bromcom-ui/{p-63aa9ad0.entry.js → p-eb1e9f42.entry.js} +1 -1
- package/dist/bromcom-ui/{p-abd0364b.entry.js → p-ed8396f0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-aae4b364.entry.js → p-f04265d7.entry.js} +1 -1
- package/dist/bromcom-ui/p-f2ea82b7.entry.js +5 -0
- package/dist/bromcom-ui/{p-1985c3f6.entry.js → p-f3b2149d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-27f4ba74.entry.js → p-f81d9313.entry.js} +1 -1
- package/dist/bromcom-ui/{p-928eebd7.entry.js → p-f9445308.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3d2a14c0.entry.js → p-f9688a5c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-48646107.entry.js → p-fc9f35cb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9eb282f9.entry.js → p-fff23008.entry.js} +1 -1
- package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
- package/dist/cjs/bcm-alert.cjs.entry.js +2 -2
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance-actions.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button_2.cjs.entry.js +13 -9
- package/dist/cjs/bcm-caption.cjs.entry.js +4 -4
- package/dist/cjs/bcm-card.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
- package/dist/cjs/bcm-color-input.cjs.entry.js +4 -4
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +7 -17196
- package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-date.cjs.entry.js +4 -4
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-drawer.cjs.entry.js +4 -4
- package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/bcm-form-2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-input_2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-item.cjs.entry.js +2 -2
- package/dist/cjs/bcm-items.cjs.entry.js +2 -2
- package/dist/cjs/bcm-label_2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-list_3.cjs.entry.js +8 -8
- package/dist/cjs/bcm-menu.cjs.entry.js +5 -5
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal.cjs.entry.js +2 -2
- package/dist/cjs/bcm-number-input.cjs.entry.js +4 -4
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +2 -2
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +2 -2
- package/dist/cjs/bcm-popover.cjs.entry.js +4 -4
- package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
- package/dist/cjs/bcm-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/bcm-radio.cjs.entry.js +4 -4
- package/dist/cjs/bcm-range.cjs.entry.js +2 -2
- package/dist/cjs/bcm-shortcut.cjs.entry.js +4 -4
- package/dist/cjs/bcm-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/bcm-step.cjs.entry.js +3 -3
- package/dist/cjs/bcm-stepper.cjs.entry.js +5 -5
- package/dist/cjs/bcm-switch.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tab-group.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tab-item.cjs.entry.js +4 -4
- package/dist/cjs/bcm-table.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
- package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-toast.cjs.entry.js +2 -2
- package/dist/cjs/bromcom-ui.cjs.js +2 -2
- package/dist/cjs/{generate-96559082.js → generate-c2e5f662.js} +1 -1
- package/dist/cjs/{global-19da1a18.js → global-6ed75a57.js} +1 -1
- package/dist/cjs/{input-template-436f15e5.js → input-template-00dccb71.js} +1 -1
- package/dist/cjs/{json-parse-decarator-9df2ea0a.js → json-parse-decarator-125db4bc.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/lodash-917168d7.js +17199 -0
- package/dist/cjs/{number-helper-152e8340.js → number-helper-28a25c38.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
- package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
- package/dist/cjs/{package-3357f14d.js → package-c3fb44cd.js} +1 -1
- package/dist/cjs/{stepper-states-db751a72.js → stepper-states-e9ac0c74.js} +1 -1
- package/dist/cjs/{tooltip-helper-97072765.js → tooltip-helper-3b1aafc6.js} +3 -3
- package/dist/cjs/{validators-d6a13946.js → validators-d71e2d41.js} +1 -1
- package/dist/collection/components/organism/list/list.css +6 -3
- package/dist/collection/components/other_deprecated/collapse/collapse.css +1 -10
- package/dist/collection/components/other_deprecated/collapse/collapse.js +10 -6
- package/dist/collection/templates/list-item-template.js +1 -1
- package/dist/components/_commonjsHelpers.js +1 -1
- package/dist/components/bcm-collapse.js +11 -7
- package/dist/components/colorful.js +1 -17191
- package/dist/components/colors2.js +1 -1
- package/dist/components/generate.js +1 -1
- package/dist/components/list.js +2 -2
- package/dist/components/lodash.js +17197 -0
- package/dist/components/rc-picker.js +1 -1
- package/dist/components/string-helper.js +1 -1
- package/dist/esm/bcm-accordion.entry.js +2 -2
- package/dist/esm/bcm-alert.entry.js +2 -2
- package/dist/esm/bcm-attendance-actions-comment.entry.js +4 -4
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +4 -4
- package/dist/esm/bcm-attendance-actions.entry.js +4 -4
- package/dist/esm/bcm-attendance.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +4 -4
- package/dist/esm/bcm-breadcrumb.entry.js +2 -2
- package/dist/esm/bcm-button-group.entry.js +2 -2
- package/dist/esm/bcm-button_2.entry.js +13 -9
- package/dist/esm/bcm-caption.entry.js +4 -4
- package/dist/esm/bcm-card.entry.js +2 -2
- package/dist/esm/bcm-checkbox-group.entry.js +2 -2
- package/dist/esm/bcm-checkbox-lite_9.entry.js +2 -2
- package/dist/esm/bcm-checkbox_2.entry.js +2 -2
- package/dist/esm/bcm-chip-group.entry.js +4 -4
- package/dist/esm/bcm-chip.entry.js +2 -2
- package/dist/esm/bcm-color-input.entry.js +4 -4
- package/dist/esm/bcm-colorful_2.entry.js +6 -17195
- package/dist/esm/bcm-date-picker.entry.js +2 -2
- package/dist/esm/bcm-date.entry.js +4 -4
- package/dist/esm/bcm-datetime-picker.entry.js +2 -2
- package/dist/esm/bcm-default.entry.js +2 -2
- package/dist/esm/bcm-drawer.entry.js +4 -4
- package/dist/esm/bcm-dropdown.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +2 -2
- package/dist/esm/bcm-form-2.entry.js +2 -2
- package/dist/esm/bcm-input-custom.entry.js +2 -2
- package/dist/esm/bcm-input-dropdown.entry.js +4 -4
- package/dist/esm/bcm-input_2.entry.js +5 -5
- package/dist/esm/bcm-item.entry.js +2 -2
- package/dist/esm/bcm-items.entry.js +2 -2
- package/dist/esm/bcm-label_2.entry.js +5 -5
- package/dist/esm/bcm-list_3.entry.js +8 -8
- package/dist/esm/bcm-menu.entry.js +5 -5
- package/dist/esm/bcm-modal-2-footer.entry.js +4 -4
- package/dist/esm/bcm-modal-2-header.entry.js +4 -4
- package/dist/esm/bcm-modal-2.entry.js +4 -4
- package/dist/esm/bcm-modal.entry.js +2 -2
- package/dist/esm/bcm-number-input.entry.js +4 -4
- package/dist/esm/bcm-popconfirm-box.entry.js +2 -2
- package/dist/esm/bcm-popconfirm.entry.js +2 -2
- package/dist/esm/bcm-popover.entry.js +4 -4
- package/dist/esm/bcm-progress.entry.js +2 -2
- package/dist/esm/bcm-radio-group.entry.js +4 -4
- package/dist/esm/bcm-radio.entry.js +4 -4
- package/dist/esm/bcm-range.entry.js +2 -2
- package/dist/esm/bcm-shortcut.entry.js +4 -4
- package/dist/esm/bcm-skeleton.entry.js +4 -4
- package/dist/esm/bcm-step.entry.js +3 -3
- package/dist/esm/bcm-stepper.entry.js +5 -5
- package/dist/esm/bcm-switch.entry.js +2 -2
- package/dist/esm/bcm-tab-group.entry.js +4 -4
- package/dist/esm/bcm-tab-item-header.entry.js +4 -4
- package/dist/esm/bcm-tab-item.entry.js +4 -4
- package/dist/esm/bcm-table.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +3 -3
- package/dist/esm/bcm-time-picker.entry.js +2 -2
- package/dist/esm/bcm-toast.entry.js +2 -2
- package/dist/esm/bromcom-ui.js +2 -2
- package/dist/esm/{generate-7a9e48aa.js → generate-aa296c81.js} +1 -1
- package/dist/esm/{global-1ccfc1fd.js → global-563ca119.js} +1 -1
- package/dist/esm/{input-template-1fb4bb2c.js → input-template-bb622a20.js} +1 -1
- package/dist/esm/{json-parse-decarator-7fda4c39.js → json-parse-decarator-42f19daf.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/lodash-0a4396a7.js +17197 -0
- package/dist/esm/{number-helper-b0ce5cd7.js → number-helper-e8247918.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +3 -3
- package/dist/esm/old-bcm-popover.entry.js +2 -2
- package/dist/esm/{package-04662d86.js → package-c562e2bc.js} +1 -1
- package/dist/esm/{stepper-states-73adba25.js → stepper-states-97d80ddf.js} +1 -1
- package/dist/esm/{tooltip-helper-a3bc90c3.js → tooltip-helper-202b042a.js} +3 -3
- package/dist/esm/{validators-cc65d61e.js → validators-e59b7cea.js} +1 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-040a9b76.entry.js +0 -5
- package/dist/bromcom-ui/p-149d6436.entry.js +0 -5
- package/dist/bromcom-ui/p-54d2559e.entry.js +0 -5
- package/dist/bromcom-ui/p-565e46c2.js +0 -5
- package/dist/bromcom-ui/p-aac1fffa.js +0 -5
- package/dist/bromcom-ui/p-d47d370e.js +0 -5
- package/dist/bromcom-ui/p-ff201cab.entry.js +0 -5
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as t,c as e,h as o,H as n,g as i}from"./p-e037ee2b.js";import"./p-4798d827.js";import"./p-626a65e9.js";import{G as s}from"./p-
|
|
5
|
+
import{r as t,c as e,h as o,H as n,g as i}from"./p-e037ee2b.js";import"./p-4798d827.js";import"./p-626a65e9.js";import{G as s}from"./p-866d1d29.js";import"./p-9551e2a4.js";import"./p-6b5ed4d8.js";import"./p-85f028bf.js";import"./p-5ae0a59b.js";import{a}from"./p-a313fba6.js";import{c as l}from"./p-bed627ab.js";import{c as r}from"./p-08c75801.js";import"./p-436364c8.js";import"./p-3c7a0345.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-9107380e.js";const d=r({slots:{host:["tw-flex tw-flex-row tw-items-center tw-justify-center tw-w-full tw-max-w-48 tw-gap-2","bcm-ui-element bcm-attendance-actions"],base:"",buttonContainer:"tw-flex tw-flex-row tw-items-center tw-justify-center tw-w-full tw-max-w-[168px]",button:["","tw-button-reset","tw-flex-1 last:tw-flex-none","tw-bg-[--bcm-attendance-actions-button-bg]","tw-text-[--bcm-attendance-actions-button-text]","tw-border tw-border-solid tw-border-[--bcm-attendance-actions-button-border]","hover:tw-bg-[--bcm-attendance-actions-button-hover-bg]","active:tw-bg-[--bcm-attendance-actions-button-active-bg]","focus-visible:tw-ring-2 focus-visible:tw-ring-offset-2 focus-visible:tw-z-10","tw-flex tw-flex-row tw-items-center tw-justify-center","first:tw-rounded-l last:tw-rounded-r","tw-font-medium","-tw-ml-[1px] first:tw-ml-0"],dropdownButton:"",mainButton:"",commentIcon:""},variants:{selected:{true:{button:["tw-text-white tw-border-transparent last:tw-ml-[1px]","first:tw-justify-start"],mainButton:["tw-min-w-[calc(theme(spacing.12)-1px)]"]},false:{button:[""]}},size:{small:{button:["tw-text-2","tw-min-h-6","tw-gap-2"],mainButton:["tw-px-3"],dropdownButton:["tw-px-2.5"]},medium:{button:["tw-text-3","tw-min-h-8","tw-gap-2"],mainButton:["tw-px-3"],dropdownButton:["tw-px-2.5"]},large:{button:["tw-text-4","tw-min-h-10","tw-gap-2.5"],mainButton:["tw-px-3"],dropdownButton:["tw-px-3"]}},disabled:{true:{},false:{}}},compoundVariants:[{disabled:!0,class:{buttonContainer:["tw-cursor-not-allowed tw-pointer-events-none"],button:["tw-cursor-not-allowed","tw-bg-[--bcm-attendance-actions-button-disabled-bg]","tw-text-[--bcm-attendance-actions-button-disabled-text]","tw-border-transparent","hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]"],mainButton:["tw-bg-[--bcm-attendance-actions-button-disabled-bg]","tw-text-[--bcm-attendance-actions-button-disabled-text]","tw-border-transparent","hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]","tw-cursor-not-allowed"],host:["tw-cursor-not-allowed"],commentIcon:["tw-cursor-not-allowed tw-pointer-events-none"]}},{disabled:!1,class:{button:["tw-cursor-pointer"]}}],defaultVariants:{selected:!1,size:"medium",disabled:!1}}),c=class{constructor(o){t(this,o),this.change=e(this,"bcm-attendance-change",3),this._id=s.UID(),this.size=a.Size.medium,this.disabled=!1,this.data=[{key:"P",value:"Present",color:"emerald",icon:"fa-solid fa-check",priority:0},{key:"A",value:"Absent",color:"red",icon:"fa-solid fa-times",priority:1},{key:"L",value:"Late",color:"amber",icon:"fa-solid fa-clock",priority:2},{key:"C",value:"Other Authorised Circumstance",color:"blue",icon:"fa-solid fa-question"},{key:"E",value:"Exlude",color:"blue",icon:"fa-solid fa-minus"},{key:"G",value:"Family Holiday",color:"blue",icon:"fa-solid fa-minus"},{key:"H",value:"Family Holiday (Agreed)",color:"blue",icon:"fa-solid fa-minus"},{key:"I",value:"Illness",color:"blue",icon:"fa-solid fa-minus"},{key:"J",value:"Intervier",color:"blue",icon:"fa-solid fa-minus"},{key:"M",value:"Medical / Dental",color:"blue",icon:"fa-solid fa-minus"},{key:"N",value:"No Reason yet PRovided",color:"blue",icon:"fa-solid fa-minus"},{key:"O",value:"Unauthrised Absence",color:"blue",icon:"fa-solid fa-minus"},{key:"U",value:"Late after Reg. Closed",color:"blue",icon:"fa-solid fa-minus"},{key:"X",value:"Non-comp School Age Absence",color:"blue",icon:"fa-solid fa-minus"}],this.lateKeys="L",this.hideComment=!1}get selectedItem(){return this.data.find((t=>t.selected))}get priorityButtons(){return this.data.filter((t=>void 0!==t.priority)).sort(((t,e)=>t.priority-e.priority))}get renderButtons(){const{selectedItem:t,priorityButtons:e}=this;return[...t?[t]:e.length?e:this.data.slice(0,3)]}get lateKeysMap(){return this.lateKeys.toLocaleLowerCase().split(",")}get isLate(){var t,e;return this.lateKeysMap.includes(null===(e=null===(t=this.selectedItem)||void 0===t?void 0:t.key)||void 0===e?void 0:e.toLocaleLowerCase())}get dropdownMenuElement(){return document.getElementById("attendance-dropdown-"+this._id)}get commentAreaElement(){return document.getElementById("comment-"+this._id)}handleSelectItem(t,e=!0,o=!0){var n,i;if(this.data=[...this.data.map((e=>{var o,n;return Object.assign(Object.assign({},e),{selected:(null===(o=t.key)||void 0===o?void 0:o.toLocaleLowerCase())===(null===(n=e.key)||void 0===n?void 0:n.toLocaleLowerCase())})}))],null===(n=this.dropdownMenuElement)||void 0===n||n.hide(),null===(i=this.commentAreaElement)||void 0===i||i.hide(),!this.isLate)return e&&this.changed();!this.hideComment&&o&&this.commentArea()}changed(){this.change.emit(this.selectedItem)}hasDataForKey(t){return!!this.data.find((e=>e.key.toLocaleLowerCase()===t.toLocaleLowerCase()))}handleKeyPress({key:t}){if(!this.hasDataForKey(t))return;const e=this.data.find((e=>{var o;return(null===(o=e.key)||void 0===o?void 0:o.toLocaleLowerCase())===(null==t?void 0:t.toLocaleLowerCase())}));this.handleSelectItem(e)}handleSave(t,e){this.data=[...this.data].map((o=>{var n,i,s;return(null===(n=o.key)||void 0===n?void 0:n.toLocaleLowerCase())===(null===(s=null===(i=this.selectedItem)||void 0===i?void 0:i.key)||void 0===s?void 0:s.toLocaleLowerCase())?Object.assign(Object.assign({},o),{lateMin:t,comment:e}):o})),this.changed()}dropdownMenu(){var t;const e=s.createComponent("bcm-attendance-actions-dropdown",{id:"attendance-dropdown-"+this._id,size:this.size,data:this.data,selectedKey:null===(t=this.selectedItem)||void 0===t?void 0:t.key,targetId:"attendance-dropdown-button-"+this._id});e.addEventListener("bcm-attendance-actions-dropdown-change",(({detail:t})=>{this.handleSelectItem(t)})),e.show()}commentArea(){var t,e;const o=s.createComponent("bcm-attendance-actions-comment",{id:"comment-"+this._id,size:this.size,isLate:this.isLate,targetId:"comment-area-"+this._id,selectedItem:this.selectedItem,lateMinutes:null===(t=this.selectedItem)||void 0===t?void 0:t.lateMin,comment:null===(e=this.selectedItem)||void 0===e?void 0:e.comment});o.addEventListener("bcm-attendance-actions-comment-change",(({detail:t})=>{this.handleSave(t.lateMinutes,t.comment)})),o.show()}async set(t,e=!0){if(!this.hasDataForKey(t))return;const o=this.data.find((e=>{var o;return(null===(o=e.key)||void 0===o?void 0:o.toLocaleLowerCase())===(null==t?void 0:t.toLocaleLowerCase())}));this.handleSelectItem(o,e,!1)}async get(){return this.selectedItem}render(){var t,e,i;const{selectedItem:a,renderButtons:r,disabled:c,hideComment:u,size:b}=this,{host:m,buttonContainer:w,button:h,dropdownButton:v,commentIcon:p,mainButton:f}=d({selected:!!a,size:b,disabled:c}),g=a?s.getTwColor({color:null!==(t=a.color)&&void 0!==t?t:"blue",tones:{600:["bg"],700:["hover-bg"],800:["active-bg"]},variable:"--bcm-attendance-actions-button"}):{},y={class:l(h(),f()),style:Object.assign({},g),disabled:c,type:"button"},x=Object.assign(Object.assign({},y),{class:l(h(),v())}),j=!u&&!!a,k=(null==a?void 0:a.comment)||(null==a?void 0:a.lateMin)?`${(null==a?void 0:a.comment)||""}${(null==a?void 0:a.lateMin)?` (${null==a?void 0:a.lateMin} min) `:""}`:"";return o(n,{class:m(),onKeyPress:this.handleKeyPress.bind(this)},o("div",{class:w()},null==r?void 0:r.map((t=>o("button",Object.assign({},y,{onClick:()=>this.handleSelectItem(t),title:t.value}),o("i",{class:l(t.icon||"fa-solid fa-minus","!tw-leading-[inherit]")}),t.selected&&o("span",{class:"tw-truncate"},t.value)))),o("button",Object.assign({id:"attendance-dropdown-button-"+this._id},x,{onClick:()=>this.dropdownMenu(),title:"More"}),o("i",{class:l("fa-solid fa-angle-down !tw-leading-[inherit]")}))),o("div",{id:"comment-area-"+this._id,class:l(p(),{"tw-cursor-default":!j,"tw-cursor-pointer":j}),onClick:()=>j&&this.commentArea()},o("i",{title:j?k:"",class:l("fa-solid fa-comment",{"tw-text-gray-400":!((null===(e=this.selectedItem)||void 0===e?void 0:e.comment)||(null===(i=this.selectedItem)||void 0===i?void 0:i.lateMin)),"tw-visible":j,"tw-invisible":!j})})))}get el(){return i(this)}};c.style="";export{c as bcm_attendance_actions}
|
|
@@ -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 a,g as i}from"./p-e037ee2b.js";import{G as n}from"./p-
|
|
5
|
+
import{r as e,h as t,H as a,g as i}from"./p-e037ee2b.js";import{G as n}from"./p-866d1d29.js";import"./p-9107380e.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";const r=class{constructor(t){e(this,t),this._id=n.UID(),this.data=[]}render(){const{data:e}=this,i="bcm-attendance";return t(a,{class:i},t("span",{hidden:!0},t("slot",null)),e.map((e=>{var a,n;return t("div",{class:`${i}__item`},t("bcm-tooltip",{trigger:"hover",message:`${e.weekday||null} / AM`},t("span",{class:`${i}__item-am ${i}__item-status-${null!==(a=e.am)&&void 0!==a?a:"default"}`})),t("bcm-tooltip",{trigger:"hover",message:`${e.weekday||null} / PM`},t("span",{class:`${i}__item-pm ${i}__item-status-${null!==(n=e.pm)&&void 0!==n?n:"default"}`})))})))}get el(){return i(this)}};r.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}*{box-sizing:border-box}.bcm-attendance{width:fit-content;display:inline-flex;align-items:center;flex-direction:row;gap:4px}.bcm-attendance__item{display:flex;flex-direction:row;align-items:center;gap:1px}.bcm-attendance__item-am,.bcm-attendance__item-pm{display:block;width:calc( calc( 12px + 1px ) / 2 );height:calc( 12px + 1px );background-color:var(--bcm-new-ds-color-blue-500)}.bcm-attendance__item-am:hover,.bcm-attendance__item-pm:hover{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-attendance__item-am{border-top-left-radius:100px;border-bottom-left-radius:100px}.bcm-attendance__item-pm{border-top-right-radius:100px;border-bottom-right-radius:100px}.bcm-attendance__item-status-present{background-color:var(--bcm-new-ds-color-emerald-500)}.bcm-attendance__item-status-present:hover{background-color:var(--bcm-new-ds-color-emerald-600)}.bcm-attendance__item-status-late{background-color:var(--bcm-new-ds-color-amber-500)}.bcm-attendance__item-status-late:hover{background-color:var(--bcm-new-ds-color-amber-600)}.bcm-attendance__item-status-absent{background-color:var(--bcm-new-ds-color-red-500)}.bcm-attendance__item-status-absent:hover{background-color:var(--bcm-new-ds-color-red-600)}.bcm-attendance__item-status-default{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-attendance__item-status-default:hover{background-color:var(--bcm-new-ds-color-slate-400)}';export{r as bcm_attendance}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as e,h as i,H as t,g as p}from"./p-e037ee2b.js";import{G as n}from"./p-
|
|
5
|
+
import{r as e,h as i,H as t,g as p}from"./p-e037ee2b.js";import{G as n}from"./p-866d1d29.js";import"./p-9107380e.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";const s=class{constructor(i){e(this,i),this._id=n.UID(),this.multi=!1}componentDidRender(){this.multi||this.checkExpandedCount()}checkExpandedCount(){var e,i;const t=this.el.querySelectorAll(".bcm-expansion-panel");if(t&&Array.from(t).map((e=>e.expanded)).filter(Boolean).length>1){const p=null===(i=null===(e=Array.from(t).filter((e=>e.expanded)))||void 0===e?void 0:e.pop())||void 0===i?void 0:i.id;Array.from(t).forEach((e=>{e.id!==p&&(e.expanded=!1)}))}}open(e){if(this.multi)return;const i=e.detail,t=this.el.querySelectorAll(".bcm-expansion-panel");t&&t.forEach((e=>{e.id!==i&&(e.expanded=!1)}))}isLoad(e){var i,t,p;if(!this.multi){var n=(null===(t=null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.parentElement)||void 0===t?void 0:t.id)||null;"BCM-EXPANSION-PANEL"==((null===(p=null==e?void 0:e.target)||void 0===p?void 0:p.nodeName)||null)&&this._id==n&&this.checkExpandedCount()}}render(){return i(t,{id:this._id},i("slot",null))}get el(){return p(this)}};s.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{s as bcm_accordion}
|
|
@@ -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-e037ee2b.js";import{c as p}from"./p-bed627ab.js";import{G as n}from"./p-
|
|
5
|
+
import{r as i,c as t,h as e,H as s,g as h}from"./p-e037ee2b.js";import{c as p}from"./p-bed627ab.js";import{G as n}from"./p-866d1d29.js";import{B as o}from"./p-a313fba6.js";import"./p-e45c1546.js";import"./p-9107380e.js";import"./p-034bbcdd.js";const a=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=n.UID(),this.message=void 0,this.status="warning",this.cancelText="No",this.okeyText="Yes",this.placement=o.Placement.top,this.trigger=o.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=p("bcm-popconfirm");return e(s,{class:i,onclick:()=>this.listenTrigger("click")},e("slot",null))}get el(){return h(this)}};a.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{a as bcm_popconfirm}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
require('./package-
|
|
10
|
+
const generate = require('./generate-c2e5f662.js');
|
|
11
|
+
require('./package-c3fb44cd.js');
|
|
12
12
|
require('./colors-078851ec.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
14
|
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
10
|
+
const generate = require('./generate-c2e5f662.js');
|
|
11
11
|
const index$2 = require('./index-95ae50d0.js');
|
|
12
12
|
const index = require('./index-d321de96.js');
|
|
13
13
|
const stringHelper = require('./string-helper-f9184277.js');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-c3fb44cd.js');
|
|
15
15
|
require('./colors-078851ec.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
17
|
require('./bcm-489c9b1a.js');
|
|
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
12
|
+
const generate = require('./generate-c2e5f662.js');
|
|
13
|
+
require('./number-helper-28a25c38.js');
|
|
14
14
|
require('./string-helper-f9184277.js');
|
|
15
|
-
require('./validators-
|
|
15
|
+
require('./validators-d71e2d41.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
const utils = require('./utils-fc077139.js');
|
|
18
18
|
const floatingUi = require('./floating-ui-21890d11.js');
|
|
@@ -21,7 +21,7 @@ const index = require('./index-5279dea2.js');
|
|
|
21
21
|
require('./colors-56282b00.js');
|
|
22
22
|
require('./colors-078851ec.js');
|
|
23
23
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
24
|
-
require('./package-
|
|
24
|
+
require('./package-c3fb44cd.js');
|
|
25
25
|
|
|
26
26
|
const attendanceActionCommentStyle = index.ce({
|
|
27
27
|
slots: {
|
|
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
12
|
+
const generate = require('./generate-c2e5f662.js');
|
|
13
|
+
require('./number-helper-28a25c38.js');
|
|
14
14
|
require('./string-helper-f9184277.js');
|
|
15
|
-
require('./validators-
|
|
15
|
+
require('./validators-d71e2d41.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
const floatingUi = require('./floating-ui-21890d11.js');
|
|
18
18
|
const bcm = require('./bcm-489c9b1a.js');
|
|
@@ -22,7 +22,7 @@ require('./colors-56282b00.js');
|
|
|
22
22
|
require('./utils-fc077139.js');
|
|
23
23
|
require('./colors-078851ec.js');
|
|
24
24
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
25
|
-
require('./package-
|
|
25
|
+
require('./package-c3fb44cd.js');
|
|
26
26
|
|
|
27
27
|
const attendanceActionDropdownStyle = index.ce({
|
|
28
28
|
slots: {
|
|
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
12
|
+
const generate = require('./generate-c2e5f662.js');
|
|
13
|
+
require('./number-helper-28a25c38.js');
|
|
14
14
|
require('./string-helper-f9184277.js');
|
|
15
|
-
require('./validators-
|
|
15
|
+
require('./validators-d71e2d41.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
const bcm = require('./bcm-489c9b1a.js');
|
|
18
18
|
const index$2 = require('./index-95ae50d0.js');
|
|
@@ -21,7 +21,7 @@ require('./colors-56282b00.js');
|
|
|
21
21
|
require('./utils-fc077139.js');
|
|
22
22
|
require('./colors-078851ec.js');
|
|
23
23
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
24
|
-
require('./package-
|
|
24
|
+
require('./package-c3fb44cd.js');
|
|
25
25
|
|
|
26
26
|
// --bcm-attendance-actions-button-bg: #F1F5F9; /* slate-100 */
|
|
27
27
|
// --bcm-attendance-actions-button-text: #334155; /* slate-700 */
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
require('./package-
|
|
10
|
+
const generate = require('./generate-c2e5f662.js');
|
|
11
|
+
require('./package-c3fb44cd.js');
|
|
12
12
|
require('./colors-078851ec.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
14
|
|
|
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
12
|
+
const generate = require('./generate-c2e5f662.js');
|
|
13
|
+
require('./number-helper-28a25c38.js');
|
|
14
14
|
require('./string-helper-f9184277.js');
|
|
15
|
-
require('./validators-
|
|
15
|
+
require('./validators-d71e2d41.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
const bcm = require('./bcm-489c9b1a.js');
|
|
18
18
|
const index = require('./index-5279dea2.js');
|
|
@@ -20,7 +20,7 @@ require('./colors-56282b00.js');
|
|
|
20
20
|
require('./utils-fc077139.js');
|
|
21
21
|
require('./colors-078851ec.js');
|
|
22
22
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
23
|
-
require('./package-
|
|
23
|
+
require('./package-c3fb44cd.js');
|
|
24
24
|
|
|
25
25
|
const avatarStyle = index.ce({
|
|
26
26
|
slots: {
|
|
@@ -8,9 +8,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const generate = require('./generate-
|
|
11
|
+
const generate = require('./generate-c2e5f662.js');
|
|
12
12
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
13
|
-
require('./package-
|
|
13
|
+
require('./package-c3fb44cd.js');
|
|
14
14
|
require('./colors-078851ec.js');
|
|
15
15
|
|
|
16
16
|
const breadcrumbCss = "@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-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;color:var(--bcm-color-grey-7)}.bcm-breadcrumb__item{display:flex;align-items:center}.bcm-breadcrumb .seperator{cursor:default;display:inline-flex;align-items:center;justify-content:center;margin-left:8px;margin-right:8px;color:var(--bcm-color-grey-7)}.bcm-breadcrumb bcm-link:hover{color:var(--bcm-color-grey-7)}.bcm-breadcrumb .active{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .active:hover{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .is-link:hover{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb .is-link:hover bcm-link,.bcm-breadcrumb .is-link:hover bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item{position:relative;display:inline-flex}.bcm-breadcrumb__dropdown-item summary{display:inline-flex;align-items:center;cursor:pointer}.bcm-breadcrumb__dropdown-item summary>span{display:inline-flex;align-items:center}.bcm-breadcrumb__dropdown-item summary::-webkit-details-marker{display:none}.bcm-breadcrumb__dropdown-item summary:focus{outline:none}.bcm-breadcrumb__dropdown-item summary.open bcm-link,.bcm-breadcrumb__dropdown-item summary.open bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item summary .down-icon{margin-left:4px}.bcm-breadcrumb__dropdown-submenu{position:absolute;min-width:140px;background-color:var(--bcm-color-grey-1);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);margin-top:4px}.bcm-breadcrumb__dropdown-submenu .dropdown-item{display:flex;padding:4px 8px}.bcm-breadcrumb__dropdown-submenu .dropdown-item bcm-link{width:100%}";
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
10
|
+
const generate = require('./generate-c2e5f662.js');
|
|
11
11
|
const bcm = require('./bcm-489c9b1a.js');
|
|
12
12
|
const index$1 = require('./index-95ae50d0.js');
|
|
13
13
|
const stringHelper = require('./string-helper-f9184277.js');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-c3fb44cd.js');
|
|
15
15
|
require('./colors-078851ec.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
17
|
|
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
10
|
+
const generate = require('./generate-c2e5f662.js');
|
|
11
11
|
const bcm = require('./bcm-489c9b1a.js');
|
|
12
12
|
const index$2 = require('./index-95ae50d0.js');
|
|
13
13
|
const index = require('./index-d321de96.js');
|
|
14
14
|
const slotTemplate = require('./slot-template-c8e2816c.js');
|
|
15
15
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
16
|
-
require('./
|
|
16
|
+
const lodash = require('./lodash-917168d7.js');
|
|
17
|
+
require('./package-c3fb44cd.js');
|
|
17
18
|
require('./colors-078851ec.js');
|
|
18
19
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
19
20
|
require('./string-helper-f9184277.js');
|
|
@@ -369,7 +370,7 @@ const BcmButton = class {
|
|
|
369
370
|
};
|
|
370
371
|
BcmButton.style = buttonCss;
|
|
371
372
|
|
|
372
|
-
const collapseCss = "@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}
|
|
373
|
+
const collapseCss = "@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-collapse{display:block;border:1px solid var(--bcm-color-grey-5)}.bcm-collapse ::-webkit-details-marker{display:none}.bcm-collapse__header{display:flex;align-items:center;color:var(--bcm-color-grey-9);padding:16px;background-color:var(--bcm-color-grey-2);border-bottom:1px solid var(--bcm-color-grey-5);cursor:default;user-select:none}.bcm-collapse__header:focus{outline:none}.bcm-collapse__header .collapse-icon{margin-right:8px;display:flex;align-items:center;justify-content:center}.bcm-collapse__body{padding:16px;background-color:var(--bcm-color-grey-1);color:var(--bcm-color-grey-8);margin-top:-1px}.bcm-collapse--borderless{border:none}.bcm-collapse--borderless:not(.bcm-collapse--no-border){border-bottom:1px solid var(--bcm-color-grey-5)}.bcm-collapse--borderless .bcm-collapse__header{border-bottom:none}.bcm-collapse--borderless .bcm-collapse__body{background-color:var(--bcm-color-grey-2);padding:0 40px 16px}.bcm-collapse:not(.bcm-collapse--open) .bcm-collapse__header{border-bottom:none}.bcm-collapse:not(:first-child) .collapse{border-top:none}.bcm-collapse.hidden{display:none}.bcm-collapse--no-padding .bcm-collapse__body{padding:0}";
|
|
373
374
|
|
|
374
375
|
const BcmCollapse = class {
|
|
375
376
|
constructor(hostRef) {
|
|
@@ -389,9 +390,14 @@ const BcmCollapse = class {
|
|
|
389
390
|
this.checkSlotEmpty();
|
|
390
391
|
}
|
|
391
392
|
checkSlotEmpty() {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
393
|
+
var _a;
|
|
394
|
+
const textContent = (_a = this.el.querySelector('[slot="body"]')) === null || _a === void 0 ? void 0 : _a.textContent;
|
|
395
|
+
if (lodash.lodash.trim(textContent) !== "") {
|
|
396
|
+
this.el.removeAttribute("data-slot-empty");
|
|
397
|
+
}
|
|
398
|
+
else {
|
|
399
|
+
this.el.setAttribute("data-slot-empty", "true");
|
|
400
|
+
}
|
|
395
401
|
}
|
|
396
402
|
render() {
|
|
397
403
|
const { hidden, borderless, open, noBorder, _id, noPadding } = this;
|
|
@@ -403,9 +409,7 @@ const BcmCollapse = class {
|
|
|
403
409
|
});
|
|
404
410
|
const caretDown = '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"/></svg>';
|
|
405
411
|
const caretRight = '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><path d="M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"/></svg>';
|
|
406
|
-
return (index$1.h(index$1.Host, { class: index$2.
|
|
407
|
-
"bcm-collapse--no-padding": noPadding,
|
|
408
|
-
}), id: _id }, index$1.h("details", { class: classes, open: open }, index$1.h("summary", { class: "bcm-collapse__header size-2", onClick: () => (this.open = !open) }, index$1.h("span", { class: "collapse-icon", innerHTML: open ? caretDown : caretRight }), index$1.h("slot", { name: "title" })), index$1.h("div", { class: "bcm-collapse__body" }, index$1.h("slot", { name: "body", onSlotchange: () => this.checkSlotEmpty() })))));
|
|
412
|
+
return (index$1.h(index$1.Host, { class: { hidden }, id: _id }, index$1.h("details", { class: classes, open: open }, index$1.h("summary", { class: "bcm-collapse__header size-2", onClick: () => (this.open = !open) }, index$1.h("span", { class: "collapse-icon", innerHTML: open ? caretDown : caretRight }), index$1.h("slot", { name: "title" })), index$1.h("div", { class: "bcm-collapse__body" }, index$1.h("slot", { name: "body", onSlotchange: () => this.checkSlotEmpty() })))));
|
|
409
413
|
}
|
|
410
414
|
get el() { return index$1.getElement(this); }
|
|
411
415
|
};
|
|
@@ -14,16 +14,16 @@ require('./index-95ae50d0.js');
|
|
|
14
14
|
require('./types-cc4adee7.js');
|
|
15
15
|
require('./color-helper-c3a819ea.js');
|
|
16
16
|
require('./datetime-helper-eaf4fadb.js');
|
|
17
|
-
require('./generate-
|
|
18
|
-
require('./number-helper-
|
|
19
|
-
require('./validators-
|
|
17
|
+
require('./generate-c2e5f662.js');
|
|
18
|
+
require('./number-helper-28a25c38.js');
|
|
19
|
+
require('./validators-d71e2d41.js');
|
|
20
20
|
require('./element-dragger-a8562f82.js');
|
|
21
21
|
require('./types-7523fd99.js');
|
|
22
22
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
23
23
|
require('./colors-56282b00.js');
|
|
24
24
|
require('./utils-fc077139.js');
|
|
25
25
|
require('./colors-078851ec.js');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-c3fb44cd.js');
|
|
27
27
|
|
|
28
28
|
const BcmCaption = class {
|
|
29
29
|
constructor(hostRef) {
|
|
@@ -9,14 +9,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
12
|
-
const generate = require('./generate-
|
|
12
|
+
const generate = require('./generate-c2e5f662.js');
|
|
13
13
|
const stringHelper = require('./string-helper-f9184277.js');
|
|
14
14
|
const slotTemplate = require('./slot-template-c8e2816c.js');
|
|
15
15
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
16
16
|
require('./colors-56282b00.js');
|
|
17
17
|
require('./utils-fc077139.js');
|
|
18
18
|
require('./colors-078851ec.js');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-c3fb44cd.js');
|
|
20
20
|
require('./bcm-489c9b1a.js');
|
|
21
21
|
|
|
22
22
|
const cardCss = "@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}*{box-sizing:border-box}.bcm-card{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:block;width:100%;background-color:var(--bcm-new-ds-color-white);border-radius:8px;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1);box-sizing:border-box}.bcm-card__header,.bcm-card__body,.bcm-card__footer{display:block;width:100%}.bcm-card__header{border-radius:8px 8px 0 0;padding:12px 24px;color:var(--bcm-new-ds-color-slate-700);font-weight:600}.bcm-card__body{padding:12px 24px}.bcm-card__footer{padding:12px 24px;border-radius:0 0 8px 8px}";
|
|
@@ -8,14 +8,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$2 = require('./index-95ae50d0.js');
|
|
11
|
-
const generate = require('./generate-
|
|
11
|
+
const generate = require('./generate-c2e5f662.js');
|
|
12
12
|
const bcm = require('./bcm-489c9b1a.js');
|
|
13
13
|
const utils = require('./utils-fc077139.js');
|
|
14
14
|
const index$1 = require('./index-d321de96.js');
|
|
15
15
|
const labelTemplate = require('./label-template-94b3d775.js');
|
|
16
16
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
17
17
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-c3fb44cd.js');
|
|
19
19
|
require('./colors-078851ec.js');
|
|
20
20
|
|
|
21
21
|
const CheckboxGroupTemplate = ({ customStyle, groupContainerClasses, onBcmSelect, items }) => {
|
|
@@ -8,11 +8,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const generate = require('./generate-
|
|
11
|
+
const generate = require('./generate-c2e5f662.js');
|
|
12
12
|
const bcm = require('./bcm-489c9b1a.js');
|
|
13
13
|
const utils = require('./utils-fc077139.js');
|
|
14
14
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-c3fb44cd.js');
|
|
16
16
|
require('./colors-078851ec.js');
|
|
17
17
|
|
|
18
18
|
const checkboxCss = "@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}*{box-sizing:border-box}.bcm-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:\"\";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}";
|
|
@@ -9,14 +9,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const captionTemplate = require('./caption-template-086e9cac.js');
|
|
12
|
-
const generate = require('./generate-
|
|
12
|
+
const generate = require('./generate-c2e5f662.js');
|
|
13
13
|
const slotTemplate = require('./slot-template-c8e2816c.js');
|
|
14
14
|
const bcm = require('./bcm-489c9b1a.js');
|
|
15
15
|
const utils = require('./utils-fc077139.js');
|
|
16
16
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
17
17
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
18
18
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-c3fb44cd.js');
|
|
20
20
|
require('./colors-078851ec.js');
|
|
21
21
|
require('./string-helper-f9184277.js');
|
|
22
22
|
require('./colors-56282b00.js');
|
|
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
12
|
+
const generate = require('./generate-c2e5f662.js');
|
|
13
|
+
require('./number-helper-28a25c38.js');
|
|
14
14
|
require('./string-helper-f9184277.js');
|
|
15
|
-
require('./validators-
|
|
15
|
+
require('./validators-d71e2d41.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
const bcm = require('./bcm-489c9b1a.js');
|
|
18
18
|
const captionTemplate = require('./caption-template-086e9cac.js');
|
|
@@ -24,7 +24,7 @@ require('./colors-56282b00.js');
|
|
|
24
24
|
require('./utils-fc077139.js');
|
|
25
25
|
require('./colors-078851ec.js');
|
|
26
26
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
27
|
-
require('./package-
|
|
27
|
+
require('./package-c3fb44cd.js');
|
|
28
28
|
|
|
29
29
|
const chipGroupCss = "@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-chip-group .bcm-chip{cursor:pointer}";
|
|
30
30
|
|
|
@@ -9,12 +9,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const colorHelper = require('./color-helper-c3a819ea.js');
|
|
12
|
-
const generate = require('./generate-
|
|
12
|
+
const generate = require('./generate-c2e5f662.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
14
|
require('./colors-56282b00.js');
|
|
15
15
|
require('./utils-fc077139.js');
|
|
16
16
|
require('./colors-078851ec.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-c3fb44cd.js');
|
|
18
18
|
|
|
19
19
|
const chipCss = "@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}*{box-sizing:border-box}.bcm-chip{--bcm-chip-color:var(--bcm-new-ds-color-slate-500);--bcm-chip-color-hover:var(--bcm-new-ds-color-slate-500);--bcm-chip-color-focus:var(--bcm-new-ds-color-slate-700);--bcm-chip-color-active:var(--bcm-new-ds-color-slate-700);--bcm-chip-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color:var(--bcm-new-ds-color-slate-200);--bcm-chip-background-color-hover:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color-focus:var(--bcm-new-ds-color-slate-300);--bcm-chip-background-color-active:var(--bcm-new-ds-color-slate-400);--bcm-chip-background-color-disabled:var(--bcm-new-ds-color-slate-100);display:inline-flex;justify-content:center;align-items:center;width:fit-content;height:fit-content;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;padding:0 8px;gap:4px;color:var(--bcm-chip-color);background-color:var(--bcm-chip-background-color);border-radius:100px;transition:background-color 0.1s ease-in-out;outline:none}.bcm-chip:not(.bcm-chip--disabled):hover{background-color:var(--bcm-chip-background-color-hover)}.bcm-chip:not(.bcm-chip--disabled):focus{background-color:var(--bcm-chip-background-color-focus);color:var(--bcm-chip-color-focus)}.bcm-chip:not(.bcm-chip--disabled):active{background-color:var(--bcm-chip-background-color-active);color:var(--bcm-chip-color-active)}.bcm-chip--disabled{color:var(--bcm-chip-color-disabled);background-color:var(--bcm-chip-background-color-disabled)}.bcm-chip--avatar{padding-left:2px}.bcm-chip__type-dismissable-icon:hover{cursor:pointer;color:var(--bcm-chip-color-active)}.bcm-chip__size-small{font-size:10px;line-height:calc(10px + 8px)}.bcm-chip__size-small .bcm-avatar{width:14px;height:14px}.bcm-chip__size-small .bcm-chip--selected-icon{width:8px}.bcm-chip__size-medium{font-size:12px;line-height:calc(12px + 8px)}.bcm-chip__size-medium .bcm-avatar{width:16px;height:16px}.bcm-chip__size-medium .bcm-chip--selected-icon{width:10px}.bcm-chip__size-large{font-size:14px;line-height:calc(14px + 8px)}.bcm-chip__size-large .bcm-avatar{width:18px;height:18px}.bcm-chip__size-large .bcm-chip--selected-icon{width:12px}";
|
|
20
20
|
|
|
@@ -9,17 +9,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-c3a819ea.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
12
|
+
const generate = require('./generate-c2e5f662.js');
|
|
13
|
+
require('./number-helper-28a25c38.js');
|
|
14
14
|
require('./string-helper-f9184277.js');
|
|
15
|
-
require('./validators-
|
|
15
|
+
require('./validators-d71e2d41.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
require('./bcm-489c9b1a.js');
|
|
18
18
|
require('./colors-56282b00.js');
|
|
19
19
|
require('./utils-fc077139.js');
|
|
20
20
|
require('./colors-078851ec.js');
|
|
21
21
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
22
|
-
require('./package-
|
|
22
|
+
require('./package-c3fb44cd.js');
|
|
23
23
|
|
|
24
24
|
const BcmColorInput = class {
|
|
25
25
|
constructor(hostRef) {
|