@momentum-ui/web-components 3.0.0 → 3.0.2
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/1013.js +1 -1
- package/dist/109.js +1 -1
- package/dist/1092.js +1 -1
- package/dist/1200.js +1 -1
- package/dist/1270.js +1 -1
- package/dist/1323.js +1 -1
- package/dist/1439.js +1 -1
- package/dist/144.js +1 -1
- package/dist/1465.js +1 -1
- package/dist/15.js +1 -1
- package/dist/1564.js +1 -1
- package/dist/1625.js +1 -1
- package/dist/1626.js +1 -1
- package/dist/1729.js +1 -1
- package/dist/1890.js +1 -1
- package/dist/195.js +1 -1
- package/dist/2056.js +1 -1
- package/dist/2093.js +1 -1
- package/dist/2176.js +1 -1
- package/dist/2186.js +1 -1
- package/dist/2201.js +1 -1
- package/dist/2243.js +1 -1
- package/dist/2314.js +1 -1
- package/dist/2547.js +1 -1
- package/dist/2555.js +2 -2
- package/dist/2576.js +1 -1
- package/dist/2669.js +1 -1
- package/dist/2714.js +1 -1
- package/dist/2848.js +1 -1
- package/dist/2924.js +1 -1
- package/dist/2972.js +1 -1
- package/dist/300.js +1 -1
- package/dist/3001.js +1 -1
- package/dist/3135.js +1 -1
- package/dist/3192.js +1 -1
- package/dist/3212.js +1 -1
- package/dist/3477.js +1 -1
- package/dist/3625.js +1 -1
- package/dist/3739.js +1 -1
- package/dist/3820.js +1 -1
- package/dist/3852.js +1 -1
- package/dist/4006.js +1 -1
- package/dist/4313.js +1 -1
- package/dist/4363.js +1 -1
- package/dist/4462.js +1 -1
- package/dist/4548.js +1 -1
- package/dist/4624.js +1 -1
- package/dist/4659.js +1 -1
- package/dist/4744.js +1 -1
- package/dist/4889.js +1 -1
- package/dist/5087.js +1 -1
- package/dist/510.js +1 -1
- package/dist/5211.js +1 -1
- package/dist/5382.js +1 -1
- package/dist/5427.js +1 -1
- package/dist/5433.js +1 -1
- package/dist/5524.js +1 -1
- package/dist/5630.js +1 -1
- package/dist/5799.js +1 -1
- package/dist/5809.js +1 -1
- package/dist/5838.js +1 -1
- package/dist/591.js +1 -1
- package/dist/6188.js +1 -1
- package/dist/622.js +1 -1
- package/dist/6273.js +1 -1
- package/dist/6283.js +1 -1
- package/dist/6396.js +1 -1
- package/dist/6408.js +1 -1
- package/dist/6677.js +1 -1
- package/dist/671.js +1 -1
- package/dist/6754.js +1 -1
- package/dist/6765.js +1 -1
- package/dist/679.js +25 -18
- package/dist/6798.js +1 -1
- package/dist/6865.js +1 -1
- package/dist/7103.js +1 -1
- package/dist/7119.js +2 -2
- package/dist/7292.js +1 -1
- package/dist/754.js +1 -1
- package/dist/759.js +1 -1
- package/dist/768.js +1 -1
- package/dist/7719.js +1 -1
- package/dist/7763.js +1 -1
- package/dist/7814.js +1 -1
- package/dist/7819.js +1 -1
- package/dist/7833.js +1 -1
- package/dist/7919.js +1 -1
- package/dist/8028.js +1 -1
- package/dist/8033.js +1 -1
- package/dist/8148.js +1 -1
- package/dist/8161.js +1 -1
- package/dist/8171.js +1 -1
- package/dist/8210.js +1 -1
- package/dist/8227.js +1 -1
- package/dist/8345.js +1 -1
- package/dist/836.js +1 -1
- package/dist/8373.js +1 -1
- package/dist/8387.js +1 -1
- package/dist/8391.js +1 -1
- package/dist/8576.js +1 -1
- package/dist/8588.js +1 -1
- package/dist/8889.js +1 -1
- package/dist/8923.js +1 -1
- package/dist/8983.js +1 -1
- package/dist/9058.js +1 -1
- package/dist/9164.js +1 -1
- package/dist/9238.js +1 -1
- package/dist/9270.js +1 -1
- package/dist/9312.js +1 -1
- package/dist/9409.js +1 -1
- package/dist/9425.js +1 -1
- package/dist/9455.js +1 -1
- package/dist/9480.js +1 -1
- package/dist/9654.js +1 -1
- package/dist/984.js +1 -1
- package/dist/assets/icons/svg/device-codec-pro-gtwo.svg +44 -1963
- package/dist/assets/icons/svg/device-thumbnails-codec-pro-gtwo.svg +75 -0
- package/dist/assets/icons/svg/gradient-background-light.svg +5 -0
- package/dist/assets/icons/svg/kakaotalk-color.svg +1 -0
- package/dist/assets/icons/svg/ms-dynamics-color.svg +1 -0
- package/dist/assets/icons/svg/servicenow-color.svg +1 -0
- package/dist/assets/icons/svg/zendesk-color.svg +1 -0
- package/dist/chunks/md-1012.js +1 -1
- package/dist/chunks/md-1036.js +1 -1
- package/dist/chunks/md-108.js +1 -1
- package/dist/chunks/md-1180.js +1 -1
- package/dist/chunks/md-1192.js +1 -1
- package/dist/chunks/md-1297.js +1 -1
- package/dist/chunks/md-1497.js +1 -1
- package/dist/chunks/md-1519.js +1 -1
- package/dist/chunks/md-1533.js +1 -1
- package/dist/chunks/md-1679.js +1 -1
- package/dist/chunks/md-1786.js +1 -1
- package/dist/chunks/md-181.js +1 -1
- package/dist/chunks/md-1870.js +1 -1
- package/dist/chunks/md-1942.js +1 -1
- package/dist/chunks/md-1983.js +1 -1
- package/dist/chunks/md-2052.js +1 -1
- package/dist/chunks/md-2086.js +1 -1
- package/dist/chunks/md-2224.js +1 -1
- package/dist/chunks/md-2241.js +1 -1
- package/dist/chunks/md-2278.js +1 -1
- package/dist/chunks/md-2292.js +1 -1
- package/dist/chunks/md-2329.js +1 -1
- package/dist/chunks/md-2402.js +1 -1
- package/dist/chunks/md-2539.js +1 -1
- package/dist/chunks/md-258.js +1 -1
- package/dist/chunks/md-2670.js +1 -1
- package/dist/chunks/md-2698.js +1 -1
- package/dist/chunks/md-2701.js +1 -1
- package/dist/chunks/md-2731.js +1 -1
- package/dist/chunks/md-279.js +1 -1
- package/dist/chunks/md-2825.js +1 -1
- package/dist/chunks/md-2896.js +1 -1
- package/dist/chunks/md-2904.js +1 -1
- package/dist/chunks/md-2923.js +1 -1
- package/dist/chunks/md-2962.js +1 -1
- package/dist/chunks/md-2970.js +1 -1
- package/dist/chunks/md-2978.js +1 -1
- package/dist/chunks/md-3035.js +1 -1
- package/dist/chunks/md-3105.js +1 -1
- package/dist/chunks/md-3195.js +1 -1
- package/dist/chunks/md-3206.js +1 -1
- package/dist/chunks/md-3231.js +1 -1
- package/dist/chunks/md-3255.js +1 -1
- package/dist/chunks/md-3270.js +1 -1
- package/dist/chunks/md-3315.js +1 -1
- package/dist/chunks/md-3399.js +1 -1
- package/dist/chunks/md-3402.js +1 -1
- package/dist/chunks/md-3409.js +1 -1
- package/dist/chunks/md-3447.js +1 -1
- package/dist/chunks/md-3458.js +1 -1
- package/dist/chunks/md-3543.js +1 -1
- package/dist/chunks/md-3557.js +1 -1
- package/dist/chunks/md-3618.js +1 -1
- package/dist/chunks/md-364.js +1 -1
- package/dist/chunks/md-3666.js +1 -1
- package/dist/chunks/md-3712.js +1 -1
- package/dist/chunks/md-3732.js +1 -1
- package/dist/chunks/md-3838.js +1 -1
- package/dist/chunks/md-4058.js +1 -1
- package/dist/chunks/md-4108.js +1 -1
- package/dist/chunks/md-4113.js +1 -1
- package/dist/chunks/md-4125.js +1 -1
- package/dist/chunks/md-414.js +1 -1
- package/dist/chunks/md-4177.js +1 -1
- package/dist/chunks/md-4205.js +1 -1
- package/dist/chunks/md-431.js +1 -1
- package/dist/chunks/md-436.js +1 -1
- package/dist/chunks/md-4412.js +1 -1
- package/dist/chunks/md-4460.js +1 -1
- package/dist/chunks/md-4490.js +1 -1
- package/dist/chunks/md-4561.js +1 -1
- package/dist/chunks/md-4564.js +1 -1
- package/dist/chunks/md-4608.js +1 -1
- package/dist/chunks/md-4635.js +1 -1
- package/dist/chunks/md-4663.js +1 -1
- package/dist/chunks/md-4701.js +1 -1
- package/dist/chunks/md-4714.js +1 -1
- package/dist/chunks/md-4745.js +1 -1
- package/dist/chunks/md-4893.js +1 -1
- package/dist/chunks/md-4896.js +1 -1
- package/dist/chunks/md-4904.js +1 -1
- package/dist/chunks/md-4911.js +1 -1
- package/dist/chunks/md-5076.js +1 -1
- package/dist/chunks/md-5089.js +1 -1
- package/dist/chunks/md-5093.js +1 -1
- package/dist/chunks/md-5117.js +1 -1
- package/dist/chunks/md-5133.js +1 -1
- package/dist/chunks/md-5320.js +1 -1
- package/dist/chunks/md-5331.js +1 -1
- package/dist/chunks/md-5344.js +1 -1
- package/dist/chunks/md-5439.js +1 -1
- package/dist/chunks/md-5449.js +1 -1
- package/dist/chunks/md-5468.js +1 -1
- package/dist/chunks/md-5506.js +1 -1
- package/dist/chunks/md-5579.js +1 -1
- package/dist/chunks/md-5610.js +1 -1
- package/dist/chunks/md-5617.js +1 -1
- package/dist/chunks/md-5672.js +1 -1
- package/dist/chunks/md-5754.js +1 -1
- package/dist/chunks/md-5772.js +1 -1
- package/dist/chunks/md-5790.js +1 -1
- package/dist/chunks/md-581.js +1 -1
- package/dist/chunks/md-5812.js +1 -1
- package/dist/chunks/md-5814.js +1 -1
- package/dist/chunks/md-5892.js +1 -1
- package/dist/chunks/md-593.js +1 -1
- package/dist/chunks/md-5976.js +1 -1
- package/dist/chunks/md-6023.js +1 -1
- package/dist/chunks/md-6033.js +1 -1
- package/dist/chunks/md-6122.js +1 -1
- package/dist/chunks/md-6269.js +1 -1
- package/dist/chunks/md-634.js +1 -1
- package/dist/chunks/md-6384.js +1 -1
- package/dist/chunks/md-6414.js +1 -1
- package/dist/chunks/md-6427.js +1 -1
- package/dist/chunks/md-6478.js +1 -1
- package/dist/chunks/md-6503.js +1 -1
- package/dist/chunks/md-6571.js +1 -1
- package/dist/chunks/md-6617.js +1 -1
- package/dist/chunks/md-6685.js +1 -1
- package/dist/chunks/md-6722.js +1 -1
- package/dist/chunks/md-6756.js +1 -1
- package/dist/chunks/md-6809.js +1 -1
- package/dist/chunks/md-6891.js +1 -1
- package/dist/chunks/md-7003.js +1 -1
- package/dist/chunks/md-7005.js +1 -1
- package/dist/chunks/md-7015.js +1 -1
- package/dist/chunks/md-7040.js +1 -1
- package/dist/chunks/md-7053.js +1 -1
- package/dist/chunks/md-7186.js +1 -1
- package/dist/chunks/md-7192.js +1 -1
- package/dist/chunks/md-7204.js +1 -1
- package/dist/chunks/md-7220.js +1 -1
- package/dist/chunks/md-7246.js +1 -1
- package/dist/chunks/md-7285.js +1 -1
- package/dist/chunks/md-736.js +1 -1
- package/dist/chunks/md-7492.js +1 -1
- package/dist/chunks/md-7522.js +1 -1
- package/dist/chunks/md-7533.js +1 -1
- package/dist/chunks/md-7556.js +1 -1
- package/dist/chunks/md-7601.js +1 -1
- package/dist/chunks/md-7909.js +1 -1
- package/dist/chunks/md-7918.js +1 -1
- package/dist/chunks/md-7939.js +1 -1
- package/dist/chunks/md-8100.js +1 -1
- package/dist/chunks/md-8103.js +1 -1
- package/dist/chunks/md-8126.js +1 -1
- package/dist/chunks/md-8130.js +1 -1
- package/dist/chunks/md-8186.js +1 -1
- package/dist/chunks/md-8199.js +1 -1
- package/dist/chunks/md-8206.js +1 -1
- package/dist/chunks/md-8254.js +1 -1
- package/dist/chunks/md-8327.js +1 -1
- package/dist/chunks/md-8333.js +1 -1
- package/dist/chunks/md-8385.js +1 -1
- package/dist/chunks/md-8425.js +1 -1
- package/dist/chunks/md-8451.js +1 -1
- package/dist/chunks/md-8454.js +1 -1
- package/dist/chunks/md-8514.js +1 -1
- package/dist/chunks/md-8557.js +1 -1
- package/dist/chunks/md-8670.js +1 -1
- package/dist/chunks/md-8713.js +1 -1
- package/dist/chunks/md-8811.js +1 -1
- package/dist/chunks/md-9040.js +1 -1
- package/dist/chunks/md-9081.js +1 -1
- package/dist/chunks/md-9104.js +1 -1
- package/dist/chunks/md-9115.js +1 -1
- package/dist/chunks/md-9129.js +1 -1
- package/dist/chunks/md-9139.js +1 -1
- package/dist/chunks/md-9156.js +1 -1
- package/dist/chunks/md-9277.js +1 -1
- package/dist/chunks/md-9350.js +1 -1
- package/dist/chunks/md-9387.js +1 -1
- package/dist/chunks/md-9405.js +1 -1
- package/dist/chunks/md-9407.js +1 -1
- package/dist/chunks/md-9412.js +1 -1
- package/dist/chunks/md-9428.js +1 -1
- package/dist/chunks/md-9433.js +1 -1
- package/dist/chunks/md-945.js +1 -1
- package/dist/chunks/md-9497.js +1 -1
- package/dist/chunks/md-9559.js +1 -1
- package/dist/chunks/md-959.js +1 -1
- package/dist/chunks/md-9614.js +1 -1
- package/dist/chunks/md-9688.js +1 -1
- package/dist/chunks/md-9689.js +1 -1
- package/dist/chunks/md-9721.js +1 -1
- package/dist/chunks/md-9789.js +1 -1
- package/dist/chunks/md-9927.js +1 -1
- package/dist/chunks/md-9934.js +1 -1
- package/dist/chunks/md-9975.js +1 -1
- package/dist/chunks/md-9980.js +1 -1
- package/dist/comp/md-accordion-entry.js +2 -2
- package/dist/comp/md-accordion-item-entry.js +2 -2
- package/dist/comp/md-activity-button-entry.js +1 -1
- package/dist/comp/md-advance-list-entry.js +2 -2
- package/dist/comp/md-alert-banner-entry.js +2 -2
- package/dist/comp/md-alert-entry.js +3 -3
- package/dist/comp/md-audio-player-entry.js +2 -2
- package/dist/comp/md-avatar-entry.js +2 -2
- package/dist/comp/md-badge-entry.js +2 -2
- package/dist/comp/md-breadcrumb-entry.js +1 -1
- package/dist/comp/md-button-entry.js +1 -1
- package/dist/comp/md-button-group-entry.js +2 -2
- package/dist/comp/md-card-ai-entry.js +2 -2
- package/dist/comp/md-card-entry.js +4 -4
- package/dist/comp/md-card-v2-entry.js +1 -1
- package/dist/comp/md-chat-message-entry.js +1 -1
- package/dist/comp/md-checkbox-entry.js +2 -2
- package/dist/comp/md-checkboxgroup-entry.js +2 -2
- package/dist/comp/md-chip-entry.js +3 -3
- package/dist/comp/md-coachmark-entry.js +2 -2
- package/dist/comp/md-coachmark-popover-entry.js +3 -3
- package/dist/comp/md-combobox-entry.js +2 -2
- package/dist/comp/md-composite-avatar-entry.js +2 -2
- package/dist/comp/md-country-code-picker-entry.js +2 -2
- package/dist/comp/md-date-range-picker-entry.js +1 -1
- package/dist/comp/md-date-time-picker-entry.js +2 -2
- package/dist/comp/md-datepicker-calendar-entry.js +2 -2
- package/dist/comp/md-datepicker-day-entry.js +2 -2
- package/dist/comp/md-datepicker-entry.js +2 -2
- package/dist/comp/md-datepicker-month-entry.js +2 -2
- package/dist/comp/md-datepicker-week-entry.js +2 -2
- package/dist/comp/md-draggable-entry.js +2 -2
- package/dist/comp/md-draggable-item-entry.js +2 -2
- package/dist/comp/md-dropdown-entry.js +2 -2
- package/dist/comp/md-editable-field-entry.js +2 -2
- package/dist/comp/md-favorite-entry.js +1 -1
- package/dist/comp/md-floating-minimize-entry.js +2 -2
- package/dist/comp/md-floating-modal-entry.js +3 -3
- package/dist/comp/md-form-entry.js +1 -1
- package/dist/comp/md-grabber-entry.js +2 -2
- package/dist/comp/md-help-text-entry.js +2 -2
- package/dist/comp/md-icon-entry.js +2 -2
- package/dist/comp/md-input-entry.js +1 -1
- package/dist/comp/md-input-file.js +2 -2
- package/dist/comp/md-label-entry.js +2 -2
- package/dist/comp/md-link-entry.js +2 -2
- package/dist/comp/md-list-entry.js +2 -2
- package/dist/comp/md-list-item-entry.js +2 -2
- package/dist/comp/md-loading-entry.js +2 -2
- package/dist/comp/md-meeting-alert-entry.js +2 -2
- package/dist/comp/md-menu-entry.js +2 -2
- package/dist/comp/md-menu-item-entry.js +2 -2
- package/dist/comp/md-menu-overlay-entry.js +2 -2
- package/dist/comp/md-modal-entry.js +2 -2
- package/dist/comp/md-pagination-entry.js +2 -2
- package/dist/comp/md-phone-input-entry.js +3 -3
- package/dist/comp/md-popover-entry.js +2 -2
- package/dist/comp/md-presence-entry.js +2 -2
- package/dist/comp/md-progress-bar-entry.js +2 -2
- package/dist/comp/md-radio-entry.js +2 -2
- package/dist/comp/md-radiogroup-entry.js +2 -2
- package/dist/comp/md-slider-entry.js +2 -2
- package/dist/comp/md-spinner-entry.js +2 -2
- package/dist/comp/md-tab-entry.js +2 -2
- package/dist/comp/md-tab-panel-entry.js +1 -1
- package/dist/comp/md-table-advanced-entry.js +2 -2
- package/dist/comp/md-table-entry.js +2 -2
- package/dist/comp/md-tabs-entry.js +3 -3
- package/dist/comp/md-task-item-entry.js +3 -3
- package/dist/comp/md-theme-entry.js +2 -2
- package/dist/comp/md-timepicker-entry.js +2 -2
- package/dist/comp/md-toggle-switch-entry.js +2 -2
- package/dist/comp/md-tooltip-entry.js +2 -2
- package/dist/index-entry.js +70 -70
- package/dist/managers/thememanager-entry.js +1 -1
- package/dist/types/components/taskitem/TaskItem.constants.d.ts +1 -0
- package/dist/types/components/theme/Theme.d.ts +2 -0
- package/dist/types/managers/ThemeManager.d.ts +10 -1
- package/package.json +2 -2
- package/dist/assets/icons/svg/device-thumbnails-productfiveeight.svg +0 -1994
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx"],e);else{var o="object"==typeof exports?e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx")):e(t.lit,t["lit/decorators.js"],t["lit/directives/class-map.js"],t["lit/directives/style-map.js"],t["lit/directives/if-defined.js"],t["@momentum-ui/icons/data/momentumUiIconsNames.json"],t["@momentum-ui/utils/lib/getColorValue"],t.mobx);for(var i in o)("object"==typeof exports?exports:t)[i]=o[i]}}(self,(t,e,o,i,r,n,s,l)=>(()=>{"use strict";var a,d={10318
|
|
1
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx"],e);else{var o="object"==typeof exports?e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx")):e(t.lit,t["lit/decorators.js"],t["lit/directives/class-map.js"],t["lit/directives/style-map.js"],t["lit/directives/if-defined.js"],t["@momentum-ui/icons/data/momentumUiIconsNames.json"],t["@momentum-ui/utils/lib/getColorValue"],t.mobx);for(var i in o)("object"==typeof exports?exports:t)[i]=o[i]}}(self,(t,e,o,i,r,n,s,l)=>(()=>{"use strict";var a,d={10318(t){t.exports=i},19026(t,e,o){var i,r=o(31890),n=o(4313),s=o(87161),l=o(70429),a=o(85125),d=o(20291),p=o(24889),m=function(t,e,o,i){var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};!function(t){let e=class extends s.LitElement{constructor(){super(...arguments),this.color="",this.ariaLabel="",this.ariaRole="link",this.disabled=!1,this.inline=!1,this.inlineStyle=void 0,this.inverted=void 0,this.href="",this.tag="a",this.target="_self",this.size=void 0,this._tabIndex=0,this.autofocus=!1}get tabIndex(){return this._tabIndex}set tabIndex(t){const e=this._tabIndex;this._tabIndex=t,this.requestUpdate("tabIndex",e)}static get styles(){return[n.A,p.A]}firstUpdated(){this.autofocus&&requestAnimationFrame(()=>{this.focus()})}focus(){var t;null===(t=this.linkRef)||void 0===t||t.focus()}blur(){var t;null===(t=this.linkRef)||void 0===t||t.blur()}get linkClassNamesInfo(){return{[`md-link--${this.color}`]:this.color,"md-link--inline":this.inline,[`md-link--inline-style-${this.inlineStyle}`]:!!this.inlineStyle,[`${this.size}`]:!!this.size,inverted:!0===this.inverted,disabled:this.disabled}}get linkElement(){switch(this.tag){case"div":return s.html`
|
|
2
2
|
<div
|
|
3
3
|
class="md-link ${(0,a.classMap)(this.linkClassNamesInfo)}"
|
|
4
4
|
tabindex=${this.tabIndex}
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
>
|
|
34
34
|
<slot></slot>
|
|
35
35
|
</a>
|
|
36
|
-
`}}render(){return s.html` ${this.linkElement} `}};m([(0,l.property)({type:String,attribute:!1})],e.prototype,"color",void 0),m([(0,l.property)({type:String})],e.prototype,"ariaLabel",void 0),m([(0,l.property)({type:String})],e.prototype,"ariaRole",void 0),m([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),m([(0,l.property)({type:Boolean})],e.prototype,"inline",void 0),m([(0,l.property)({type:String,attribute:"inline-style"})],e.prototype,"inlineStyle",void 0),m([(0,l.property)({type:Boolean})],e.prototype,"inverted",void 0),m([(0,l.property)({type:String})],e.prototype,"href",void 0),m([(0,l.property)({type:String})],e.prototype,"tag",void 0),m([(0,l.property)({type:String})],e.prototype,"target",void 0),m([(0,l.property)({type:String})],e.prototype,"size",void 0),m([(0,l.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),m([(0,l.property)({type:Boolean})],e.prototype,"autofocus",void 0),m([(0,l.query)(".md-link")],e.prototype,"linkRef",void 0),e=m([(0,r.w)("md-link")],e),t.ELEMENT=e}(i||(i={}))},20291
|
|
36
|
+
`}}render(){return s.html` ${this.linkElement} `}};m([(0,l.property)({type:String,attribute:!1})],e.prototype,"color",void 0),m([(0,l.property)({type:String})],e.prototype,"ariaLabel",void 0),m([(0,l.property)({type:String})],e.prototype,"ariaRole",void 0),m([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),m([(0,l.property)({type:Boolean})],e.prototype,"inline",void 0),m([(0,l.property)({type:String,attribute:"inline-style"})],e.prototype,"inlineStyle",void 0),m([(0,l.property)({type:Boolean})],e.prototype,"inverted",void 0),m([(0,l.property)({type:String})],e.prototype,"href",void 0),m([(0,l.property)({type:String})],e.prototype,"tag",void 0),m([(0,l.property)({type:String})],e.prototype,"target",void 0),m([(0,l.property)({type:String})],e.prototype,"size",void 0),m([(0,l.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),m([(0,l.property)({type:Boolean})],e.prototype,"autofocus",void 0),m([(0,l.query)(".md-link")],e.prototype,"linkRef",void 0),e=m([(0,r.w)("md-link")],e),t.ELEMENT=e}(i||(i={}))},20291(t){t.exports=r},32022(t){t.exports=n},60554(t){t.exports=s},70429(t){t.exports=e},74896(t,e,o){o.r(e),o.d(e,{Alert:()=>i}),o(61200),o(19026);var i,r=o(31890),n=o(4313),s=o(87161),l=o(70429),a=o(85125),d=o(32201),p=function(t,e,o,i){var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};!function(t){let e=class extends s.LitElement{constructor(){super(...arguments),this.closable=!1,this.message="",this.show=!1,this.internalClose=!0,this.title="",this.btnlabel="Close",this.type="default",this.inline=!1,this.newMomentum=!1,this.primaryButton="",this.primaryButtonVariant="primary",this.primaryButtonColor="",this.secondaryButton="",this.link=!1,this.showMore=!1,this.href="",this.hasFooterSlotContent=!1,this.renderIconTemplate=()=>{switch(this.type){case"error":return s.html`
|
|
37
37
|
<md-icon
|
|
38
38
|
name="error-legacy-bold"
|
|
39
39
|
size="${this.newMomentum?24:32}"
|
|
@@ -153,4 +153,4 @@
|
|
|
153
153
|
</div>
|
|
154
154
|
${this.primaryButton||this.secondaryButton||this.link?this.renderNewAlertDefaultFooter():this.renderSlottedFooter()}
|
|
155
155
|
</div>
|
|
156
|
-
`}get alertRender(){return this.newMomentum?this.newRender():this.legacyRender()}render(){return s.html` ${this.show?this.alertRender:s.nothing} `}};p([(0,l.property)({type:Boolean})],e.prototype,"closable",void 0),p([(0,l.property)({type:String})],e.prototype,"message",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"show",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"internalClose",void 0),p([(0,l.property)({type:String})],e.prototype,"title",void 0),p([(0,l.property)({type:String})],e.prototype,"btnlabel",void 0),p([(0,l.property)({type:String})],e.prototype,"type",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"inline",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"newMomentum",void 0),p([(0,l.property)({type:String})],e.prototype,"primaryButton",void 0),p([(0,l.property)({type:String})],e.prototype,"primaryButtonVariant",void 0),p([(0,l.property)({type:String})],e.prototype,"primaryButtonColor",void 0),p([(0,l.property)()],e.prototype,"primaryButtonClickFunction",void 0),p([(0,l.property)({type:String})],e.prototype,"secondaryButton",void 0),p([(0,l.property)()],e.prototype,"secondaryButtonClickFunction",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"link",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"showMore",void 0),p([(0,l.property)({type:String})],e.prototype,"href",void 0),p([(0,l.query)('slot[name="alert-footer"]')],e.prototype,"alertFooterSlot",void 0),p([(0,l.state)()],e.prototype,"hasFooterSlotContent",void 0),e=p([(0,r.w)("md-alert")],e),t.ELEMENT=e}(i||(i={}))},85125
|
|
156
|
+
`}get alertRender(){return this.newMomentum?this.newRender():this.legacyRender()}render(){return s.html` ${this.show?this.alertRender:s.nothing} `}};p([(0,l.property)({type:Boolean})],e.prototype,"closable",void 0),p([(0,l.property)({type:String})],e.prototype,"message",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"show",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"internalClose",void 0),p([(0,l.property)({type:String})],e.prototype,"title",void 0),p([(0,l.property)({type:String})],e.prototype,"btnlabel",void 0),p([(0,l.property)({type:String})],e.prototype,"type",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"inline",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"newMomentum",void 0),p([(0,l.property)({type:String})],e.prototype,"primaryButton",void 0),p([(0,l.property)({type:String})],e.prototype,"primaryButtonVariant",void 0),p([(0,l.property)({type:String})],e.prototype,"primaryButtonColor",void 0),p([(0,l.property)()],e.prototype,"primaryButtonClickFunction",void 0),p([(0,l.property)({type:String})],e.prototype,"secondaryButton",void 0),p([(0,l.property)()],e.prototype,"secondaryButtonClickFunction",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"link",void 0),p([(0,l.property)({type:Boolean})],e.prototype,"showMore",void 0),p([(0,l.property)({type:String})],e.prototype,"href",void 0),p([(0,l.query)('slot[name="alert-footer"]')],e.prototype,"alertFooterSlot",void 0),p([(0,l.state)()],e.prototype,"hasFooterSlotContent",void 0),e=p([(0,r.w)("md-alert")],e),t.ELEMENT=e}(i||(i={}))},85125(t){t.exports=o},85314(t){t.exports=l},87161(e){e.exports=t}},p={};function m(t){var e=p[t];if(void 0!==e)return e.exports;var o=p[t]={exports:{}};return d[t](o,o.exports,m),o.exports}m.m=d,a=[],m.O=(t,e,o,i)=>{if(!e){var r=1/0;for(d=0;d<a.length;d++){for(var[e,o,i]=a[d],n=!0,s=0;s<e.length;s++)(!1&i||r>=i)&&Object.keys(m.O).every(t=>m.O[t](e[s]))?e.splice(s--,1):(n=!1,i<r&&(r=i));if(n){a.splice(d--,1);var l=o();void 0!==l&&(t=l)}}return t}i=i||0;for(var d=a.length;d>0&&a[d-1][2]>i;d--)a[d]=a[d-1];a[d]=[e,o,i]},m.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return m.d(e,{a:e}),e},m.d=(t,e)=>{for(var o in e)m.o(e,o)&&!m.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},m.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),m.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={6132:0,6724:0};m.O.j=e=>0===t[e];var e=(e,o)=>{var i,r,[n,s,l]=o,a=0;if(n.some(e=>0!==t[e])){for(i in s)m.o(s,i)&&(m.m[i]=s[i]);if(l)var d=l(m)}for(e&&e(o);a<n.length;a++)r=n[a],m.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return m.O(d)},o=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})();var c=m.O(void 0,[8983,1890,4313,510,5087,6283,2176,6798,6865,1200,2576,4889,2201],()=>m(74896));return m.O(c)})());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx);for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,(e,t,i,o,s,a,l,n)=>(()=>{"use strict";var d,r={10318
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx);for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,(e,t,i,o,s,a,l,n)=>(()=>{"use strict";var d,r={10318(e){e.exports=o},20291(e){e.exports=s},23779(e,t,i){i.r(t),i.d(t,{AudioPlayer:()=>c,defaultLabelMap:()=>m,playbackSpeeds:()=>p}),i(96798),i(61200),i(83192);var o=i(90195),s=i(31890),a=i(4313),l=i(87161),n=i(70429),d=i(85125),r=i(51806),u=function(e,t,i,o){var s,a=arguments.length,l=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,o);else for(var n=e.length-1;n>=0;n--)(s=e[n])&&(l=(a<3?s(l):a>3?s(t,i,l):s(t,i))||l);return a>3&&l&&Object.defineProperty(t,i,l),l};const p=[{value:.25,label:"0.25"},{value:.5,label:"0.50"},{value:.75,label:"0.75"},{value:1,label:"Normal"},{value:1.25,label:"1.25"},{value:1.5,label:"1.50"},{value:1.75,label:"1.75"},{value:2,label:"2"}],m={playBtn:{ariaLabel:"Play",tooltipText:"Play"},pauseBtn:{ariaLabel:"Pause",tooltipText:"Pause"},duration:{ariaLabel:"Duration:",tooltipText:"Duration"},timeline:{ariaLabel:"Audio Seekbar",tooltipText:"Audio Seekbar"},volumeBtn:{ariaLabel:"Mute / Unmute Audio",tooltipText:"Mute / Unmute"},volumeSlider:{ariaLabel:"Volume level",tooltipText:"Volume level"},playbackSpeedBtn:{ariaLabel:"Playback speed",tooltipText:"Playback speed"}};var c;!function(e){let t=class extends l.LitElement{constructor(){super(),this.src="",this.events=[],this.isPlaying=!1,this.isMuted=!1,this.duration=0,this.volume=100,this.currentTime=0,this.showSpeedPopup=!1,this.playbackSpeed=1,this.volumeExpanded=!1,this.bufferedRange=0,this.selectedPlaybackSpeed=this.playbackSpeed,this.currentlySelectingPlaybackSpeed=!1,this.onOutsideClick=e=>{let t=!1;const i=e.composedPath();i.length&&(t=!!i.find(e=>"speed-btn"===e.id),t||(this.showSpeedPopup=!1))},this.handleKeyDown=e=>{const{code:t}=e;switch(t){case o.Uz.ArrowLeft:this.volumeExpanded?this.setVolumeKeydown(this.volume-.01):this.setTimeKeydown(this.currentTime-1);break;case o.Uz.ArrowRight:this.volumeExpanded?this.setVolumeKeydown(this.volume+.01):this.setTimeKeydown(this.currentTime+1);break;case o.Uz.ArrowUp:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=p.findIndex(e=>e.value===this.selectedPlaybackSpeed),i=Math.max(0,t-1);this.selectedPlaybackSpeed=p[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.Uz.ArrowDown:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=p.findIndex(e=>e.value===this.selectedPlaybackSpeed),i=Math.min(p.length-1,t+1);this.selectedPlaybackSpeed=p[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.Uz.Enter:this.showSpeedPopup&&(this.setPlaybackSpeed(this.selectedPlaybackSpeed),e.preventDefault())}},this.audio=new Audio,this.setAudioEventListeners(),this.labelMap=m}firstUpdated(e){super.firstUpdated(e),e.has("src")&&(this.audio.src=this.src)}updated(e){super.updated(e),e.has("src")&&(this.audio.src=this.src)}connectedCallback(){super.connectedCallback(),this.requestUpdate("src"),document.addEventListener("click",this.onOutsideClick),document.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.onOutsideClick),document.removeEventListener("keydown",this.handleKeyDown),this.audio.pause(),this.isPlaying=!1}setAudioEventListeners(){this.audio.onloadeddata=()=>{this.duration=this.audio.duration,this.audio.volume=.75},this.audio.onerror=()=>{this.audio.src&&this.dispatchEvent(new CustomEvent("playback-error",{composed:!0,bubbles:!0}))},this.audio.onended=()=>{this.audio.currentTime=0,this.isPlaying=!1},this.audio.ontimeupdate=()=>{this.currentTime=this.audio.currentTime},this.audio.onvolumechange=()=>{this.volume=this.audio.volume},this.audio.onprogress=()=>{this.audio.buffered.length>0&&(this.bufferedRange=this.audio.buffered.end(this.audio.buffered.length-1))}}togglePlay(){this.isPlaying=!this.isPlaying,this.isPlaying?(this.audio.play(),this.dispatchEvent(new CustomEvent("play-clicked",{composed:!0,bubbles:!0}))):this.audio.pause()}toTimecode(e){const t=Math.floor(e);return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}setTime(e){const t=this.getBarPercentage(e,"timeline"),i=Math.floor(t*this.duration);this.audio.currentTime=i}setVolumeElement(e){this.volumeElement="volume"===e.target.className?e.target:e.target.parentElement}handleVolumeChange(e){let t=!1;this.setVolumeElement(e),this.setVolume(e);const i=e=>{t||(t=!0),this.volumeExpanded?this.setVolume(e):s()},o=()=>{s()},s=()=>{t=!1,window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",o)};window.addEventListener("mousemove",i),window.addEventListener("mouseup",o),e.preventDefault()}getVolumeFromSlider(e){if(null===this.volumeElement)return 0;const t=this.volumeElement.getBoundingClientRect(),i=e.clientX-t.x;return Math.max(0,Math.min(1,i/t.width))}setVolume(e){const t=this.getVolumeFromSlider(e);this.audio.volume=t}getBarPercentage(e,t){const i=(e.target.className===t?e.target:e.target.parentElement).getBoundingClientRect();return(e.clientX-i.x)/i.width}toggleSoundMute(){this.isMuted=!this.isMuted,this.audio.muted=this.isMuted}toggleSpeedPopup(){this.showSpeedPopup=!this.showSpeedPopup}setTimeKeydown(e){e>this.duration?(this.currentTime=this.duration,this.audio.currentTime=this.duration):e<0?(this.currentTime=0,this.audio.currentTime=0):(this.currentTime=e,this.audio.currentTime=e)}setVolumeKeydown(e){e>1?(this.volume=1,this.audio.volume=1):e<0?(this.isMuted||this.toggleSoundMute(),this.volume=0,this.audio.volume=0):(this.isMuted&&this.toggleSoundMute(),this.volume=e,this.audio.volume=e)}get popupClassMap(){return{"popup-open":this.showSpeedPopup}}setPlaybackSpeed(e){this.playbackSpeed=e,this.selectedPlaybackSpeed=e,this.audio.playbackRate=this.playbackSpeed,this.showSpeedPopup=!1}toggleVolumeExpand(e){this.volumeExpanded=e}static get styles(){return[a.A,r.A]}render(){return l.html`
|
|
2
2
|
<div class="md-audio-player">
|
|
3
3
|
<div class="inner-container">
|
|
4
4
|
<div class="play-container">
|
|
@@ -95,4 +95,4 @@
|
|
|
95
95
|
</div>
|
|
96
96
|
</div>
|
|
97
97
|
</div>
|
|
98
|
-
`}};u([(0,n.property)({type:String})],t.prototype,"src",void 0),u([(0,n.property)({type:Object})],t.prototype,"labelMap",void 0),u([(0,n.state)()],t.prototype,"events",void 0),u([(0,n.state)()],t.prototype,"audio",void 0),u([(0,n.state)()],t.prototype,"volumeElement",void 0),u([(0,n.state)()],t.prototype,"isPlaying",void 0),u([(0,n.state)()],t.prototype,"isMuted",void 0),u([(0,n.state)()],t.prototype,"duration",void 0),u([(0,n.state)()],t.prototype,"volume",void 0),u([(0,n.state)()],t.prototype,"currentTime",void 0),u([(0,n.state)()],t.prototype,"showSpeedPopup",void 0),u([(0,n.state)()],t.prototype,"playbackSpeed",void 0),u([(0,n.state)()],t.prototype,"volumeExpanded",void 0),u([(0,n.state)()],t.prototype,"bufferedRange",void 0),u([(0,n.state)()],t.prototype,"selectedPlaybackSpeed",void 0),u([(0,n.state)()],t.prototype,"currentlySelectingPlaybackSpeed",void 0),t=u([(0,s.w)("md-audio-player")],t),e.ELEMENT=t}(c||(c={}))},32022
|
|
98
|
+
`}};u([(0,n.property)({type:String})],t.prototype,"src",void 0),u([(0,n.property)({type:Object})],t.prototype,"labelMap",void 0),u([(0,n.state)()],t.prototype,"events",void 0),u([(0,n.state)()],t.prototype,"audio",void 0),u([(0,n.state)()],t.prototype,"volumeElement",void 0),u([(0,n.state)()],t.prototype,"isPlaying",void 0),u([(0,n.state)()],t.prototype,"isMuted",void 0),u([(0,n.state)()],t.prototype,"duration",void 0),u([(0,n.state)()],t.prototype,"volume",void 0),u([(0,n.state)()],t.prototype,"currentTime",void 0),u([(0,n.state)()],t.prototype,"showSpeedPopup",void 0),u([(0,n.state)()],t.prototype,"playbackSpeed",void 0),u([(0,n.state)()],t.prototype,"volumeExpanded",void 0),u([(0,n.state)()],t.prototype,"bufferedRange",void 0),u([(0,n.state)()],t.prototype,"selectedPlaybackSpeed",void 0),u([(0,n.state)()],t.prototype,"currentlySelectingPlaybackSpeed",void 0),t=u([(0,s.w)("md-audio-player")],t),e.ELEMENT=t}(c||(c={}))},32022(e){e.exports=a},60554(e){e.exports=l},70429(e){e.exports=t},85125(e){e.exports=i},85314(e){e.exports=n},87161(t){t.exports=e}},u={};function p(e){var t=u[e];if(void 0!==t)return t.exports;var i=u[e]={exports:{}};return r[e](i,i.exports,p),i.exports}p.m=r,d=[],p.O=(e,t,i,o)=>{if(!t){var s=1/0;for(r=0;r<d.length;r++){for(var[t,i,o]=d[r],a=!0,l=0;l<t.length;l++)(!1&o||s>=o)&&Object.keys(p.O).every(e=>p.O[e](t[l]))?t.splice(l--,1):(a=!1,o<s&&(s=o));if(a){d.splice(r--,1);var n=i();void 0!==n&&(e=n)}}return e}o=o||0;for(var r=d.length;r>0&&d[r-1][2]>o;r--)d[r]=d[r-1];d[r]=[t,i,o]},p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var i in t)p.o(t,i)&&!p.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={8220:0};p.O.j=t=>0===e[t];var t=(t,i)=>{var o,s,[a,l,n]=i,d=0;if(a.some(t=>0!==e[t])){for(o in l)p.o(l,o)&&(p.m[o]=l[o]);if(n)var r=n(p)}for(t&&t(i);d<a.length;d++)s=a[d],p.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return p.O(r)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var m=p.O(void 0,[8983,1890,4313,510,5087,6283,2176,6798,6865,1200,8889,8373,4624,591,768,195,6677,2848,7919,3192,5382,9425],()=>p(23779));return p.O(m)})());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("lit/directives/until.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx","lit/directives/until.js"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("lit/directives/until.js")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx,e["lit/directives/until.js"]);for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,(e,t,i,o,a,r,s,n,l)=>(()=>{"use strict";var c,p={10318
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("lit/directives/until.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx","lit/directives/until.js"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("lit/directives/until.js")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx,e["lit/directives/until.js"]);for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,(e,t,i,o,a,r,s,n,l)=>(()=>{"use strict";var c,p={10318(e){e.exports=o},20291(e){e.exports=a},32022(e){e.exports=r},38028(e,t,i){i.r(t),i.d(t,{Avatar:()=>o}),i(61200),i(69788),i(15300);var o,a=i(31890),r=i(26283),s=i(4313),n=i(87161),l=i(70429),c=i(85125),p=i(20291),h=i(10318),d=i(89756),m=i(38923),u=i(7292),y=function(e,t,i,o){var a,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(s=(r<3?a(s):r>3?a(t,i,s):a(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this._tabIndex=0,this.alt="",this.src="",this.label="",this.title="",this.color="",this.decrypting=!1,this.role="img",this.iconName="",this.failurePresence=!1,this.type="",this.newMomentum=!1,this.typing=!1,this.size=40,this.hasNotification=!1,this.clickable=!1,this.avatarStyle="default",this.state="rest",this.imageLoaded=!1,this.imageErrored=!1,this.presenceColor="",this.presenceIcon="",this.iconNameMap={"channel-chat":"chat-filled","channel-chat-outbound":"chat-outbound-filled","channel-social":"sms-message-filled","channel-sms-inbound":"sms-filled","channel-sms-outbound":"sms-outgoing-filled","channel-email-inbound":"email-filled","channel-email-outbound":"email-outgoing-filled","channel-call":"handset-filled","channel-call-inbound":"incoming-call-legacy-filled","channel-callback":"outgoing-call-legacy-filled","channel-callback-v2":"outgoing-call-legacy-bold","channel-headset":"headset-filled","channel-campaign":"campaign-management-bold","channel-emoji":"emoji-happy-filled","channel-webex":"webex-app-icon-color-container","channel-fb-messenger":"social-fbmessenger-color","channel-facebook":"social-facebook-color","channel-apple-chat":"apple-business-chat-color","channel-line":"social-line-color","channel-twitter-x":"social-x","channel-viber":"social-viber-color","channel-whats-app":"social-whatsapp-color","channel-we-chat":"social-wechat-color","channel-spam":"participant-unknown-bold","channel-monitoring":"monitoring-bold","channel-work-item":"custom-task-ind-regular"}}get tabIndex(){return this._tabIndex}set tabIndex(e){const t=this._tabIndex;this._tabIndex=e,this.requestUpdate("tabIndex",t)}static get styles(){return[s.A,u.A]}isPresenceType(e){return m.e.includes(e)}firstUpdated(){const e=this.presenceType||(this.isPresenceType(this.type)?this.type:"");if(e){const{presenceColor:t,presenceIcon:i}=(0,m.E)(e,this.failurePresence,this.newMomentum);this.presenceColor=t,this.presenceIcon=i}}willUpdate(e){var t;null===(t=super.willUpdate)||void 0===t||t.call(this,e);const i=this.presenceType||(this.isPresenceType(this.type)?this.type:"");if(i&&(e.has("type")||e.has("presenceType")||e.has("newMomentum"))){const{presenceColor:e,presenceIcon:t}=(0,m.E)(i,this.failurePresence,this.newMomentum);this.presenceColor=e,this.presenceIcon=t}}updated(e){super.updated(e),e.has("role")&&this.style.setProperty("--avatar-cursor","button"===this.role?"pointer":"default")}get avatarClassMap(){return Object.assign(Object.assign({},this.newMomentum&&"bot"!==this.type||!this.type?{}:{[`md-avatar--${this.type}`]:!0}),{[`md-avatar--${this.size}`]:!!this.size,[`md-avatar--${this.color}`]:!!this.color,active:"active"===this.state})}get avatarLetterClassMap(){return{"md-decrypting":this.decrypting,[`md-avatar--${this.color}`]:this.color,"new-momentum":this.newMomentum,active:"active"===this.state}}get avatarStyleMap(){return{[`md-avatar--${this.color}`]:this.color}}get pretifyTitle(){if(this.title.length){const e=this.title.trim().split(" ");return 1===e.length?e[0].charAt(0):e[0].charAt(0)+e[e.length-1].charAt(0)}return this.title}get chatIconName(){return"chat-filled"}getIconName(e){return this.iconNameMap[e]||""}get chatIconSize(){return this.iconSize}get presenceSize(){return this.size<=24?10.5:this.size<=32?14:this.size<=48?13.94:this.size<=64?18.58:this.size<=72?20.9:this.size<=88?25.55:36}get iconSize(){return 24===this.size?"16":28===this.size?"18":32===this.size?"20":36===this.size?"22":40===this.size?"24":48===this.size?"28":56===this.size?"32":64===this.size?"36":72===this.size?"40":Math.round(this.size/1.7).toString()}get renderIsTyping(){return"typing"===this.type||this.typing?n.html` <md-loading></md-loading> `:n.nothing}get avatarLetter(){return this.title?n.html`
|
|
2
2
|
<span class="md-avatar__letter ${(0,c.classMap)(this.avatarLetterClassMap)}">
|
|
3
3
|
${this.pretifyTitle}
|
|
4
4
|
<slot></slot>
|
|
@@ -61,4 +61,4 @@
|
|
|
61
61
|
${this.hasNotification?n.html` <span class="md-avatar__notification-badge"></span> `:n.nothing}
|
|
62
62
|
${this.renderPresence()}
|
|
63
63
|
</div>
|
|
64
|
-
`}};y([(0,l.property)({type:Number,attribute:"tab-index",reflect:!0})],t.prototype,"tabIndex",null),y([(0,l.property)({type:String})],t.prototype,"alt",void 0),y([(0,l.property)({type:String})],t.prototype,"src",void 0),y([(0,l.property)({type:String})],t.prototype,"label",void 0),y([(0,l.property)({type:String})],t.prototype,"title",void 0),y([(0,l.property)({type:String})],t.prototype,"color",void 0),y([(0,l.property)({type:Boolean})],t.prototype,"decrypting",void 0),y([(0,l.property)({type:String})],t.prototype,"role",void 0),y([(0,l.property)({type:String,attribute:"icon-name"})],t.prototype,"iconName",void 0),y([(0,l.property)({type:Boolean})],t.prototype,"failurePresence",void 0),y([(0,l.property)({type:String})],t.prototype,"type",void 0),y([(0,l.property)({type:String,attribute:"presence-type"})],t.prototype,"presenceType",void 0),y([(0,l.property)({type:Boolean})],t.prototype,"newMomentum",void 0),y([(0,l.property)({type:Boolean})],t.prototype,"typing",void 0),y([(0,l.property)({type:Number})],t.prototype,"size",void 0),y([(0,l.property)({type:Boolean,attribute:"has-notification"})],t.prototype,"hasNotification",void 0),y([(0,l.property)({type:Boolean})],t.prototype,"clickable",void 0),y([(0,l.property)({attribute:!1})],t.prototype,"clickFunction",void 0),y([(0,l.property)({type:String,attribute:"avatar-style"})],t.prototype,"avatarStyle",void 0),y([(0,l.property)({type:String})],t.prototype,"state",void 0),y([(0,l.state)()],t.prototype,"imageLoaded",void 0),y([(0,l.state)()],t.prototype,"imageErrored",void 0),y([(0,l.state)()],t.prototype,"presenceColor",void 0),y([(0,l.state)()],t.prototype,"presenceIcon",void 0),t=y([(0,a.w)("md-avatar")],t),e.ELEMENT=t}(o||(o={}))},60554
|
|
64
|
+
`}};y([(0,l.property)({type:Number,attribute:"tab-index",reflect:!0})],t.prototype,"tabIndex",null),y([(0,l.property)({type:String})],t.prototype,"alt",void 0),y([(0,l.property)({type:String})],t.prototype,"src",void 0),y([(0,l.property)({type:String})],t.prototype,"label",void 0),y([(0,l.property)({type:String})],t.prototype,"title",void 0),y([(0,l.property)({type:String})],t.prototype,"color",void 0),y([(0,l.property)({type:Boolean})],t.prototype,"decrypting",void 0),y([(0,l.property)({type:String})],t.prototype,"role",void 0),y([(0,l.property)({type:String,attribute:"icon-name"})],t.prototype,"iconName",void 0),y([(0,l.property)({type:Boolean})],t.prototype,"failurePresence",void 0),y([(0,l.property)({type:String})],t.prototype,"type",void 0),y([(0,l.property)({type:String,attribute:"presence-type"})],t.prototype,"presenceType",void 0),y([(0,l.property)({type:Boolean})],t.prototype,"newMomentum",void 0),y([(0,l.property)({type:Boolean})],t.prototype,"typing",void 0),y([(0,l.property)({type:Number})],t.prototype,"size",void 0),y([(0,l.property)({type:Boolean,attribute:"has-notification"})],t.prototype,"hasNotification",void 0),y([(0,l.property)({type:Boolean})],t.prototype,"clickable",void 0),y([(0,l.property)({attribute:!1})],t.prototype,"clickFunction",void 0),y([(0,l.property)({type:String,attribute:"avatar-style"})],t.prototype,"avatarStyle",void 0),y([(0,l.property)({type:String})],t.prototype,"state",void 0),y([(0,l.state)()],t.prototype,"imageLoaded",void 0),y([(0,l.state)()],t.prototype,"imageErrored",void 0),y([(0,l.state)()],t.prototype,"presenceColor",void 0),y([(0,l.state)()],t.prototype,"presenceIcon",void 0),t=y([(0,a.w)("md-avatar")],t),e.ELEMENT=t}(o||(o={}))},60554(e){e.exports=s},70429(e){e.exports=t},85125(e){e.exports=i},85314(e){e.exports=n},87161(t){t.exports=e},89756(e){e.exports=l}},h={};function d(e){var t=h[e];if(void 0!==t)return t.exports;var i=h[e]={exports:{}};return p[e](i,i.exports,d),i.exports}d.m=p,c=[],d.O=(e,t,i,o)=>{if(!t){var a=1/0;for(l=0;l<c.length;l++){for(var[t,i,o]=c[l],r=!0,s=0;s<t.length;s++)(!1&o||a>=o)&&Object.keys(d.O).every(e=>d.O[e](t[s]))?t.splice(s--,1):(r=!1,o<a&&(a=o));if(r){c.splice(l--,1);var n=i();void 0!==n&&(e=n)}}return e}o=o||0;for(var l=c.length;l>0&&c[l-1][2]>o;l--)c[l]=c[l-1];c[l]=[t,i,o]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},d.d=(e,t)=>{for(var i in t)d.o(t,i)&&!d.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={8028:0,8115:0};d.O.j=t=>0===e[t];var t=(t,i)=>{var o,a,[r,s,n]=i,l=0;if(r.some(t=>0!==e[t])){for(o in s)d.o(s,o)&&(d.m[o]=s[o]);if(n)var c=n(d)}for(t&&t(i);l<r.length;l++)a=r[l],d.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return d.O(c)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var m=d.O(void 0,[8983,1890,4313,510,5087,6283,2176,6798,6865,1200,2576,7292,6188,15,8923,7119,1465],()=>d(38028));return d.O(m)})());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/if-defined.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/if-defined.js"],e);else{var i="object"==typeof exports?e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/if-defined.js")):e(t.lit,t["lit/decorators.js"],t["lit/directives/class-map.js"],t["lit/directives/if-defined.js"]);for(var r in i)("object"==typeof exports?exports:t)[r]=i[r]}}(self,(t,e,i,r)=>(()=>{"use strict";var o,s={20291
|
|
1
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/if-defined.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/if-defined.js"],e);else{var i="object"==typeof exports?e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/if-defined.js")):e(t.lit,t["lit/decorators.js"],t["lit/directives/class-map.js"],t["lit/directives/if-defined.js"]);for(var r in i)("object"==typeof exports?exports:t)[r]=i[r]}}(self,(t,e,i,r)=>(()=>{"use strict";var o,s={20291(t){t.exports=r},63704(t,e,i){i.r(e),i.d(e,{Badge:()=>r});var r,o=i(31890),s=i(4313),d=i(87161),l=i(70429),p=i(85125),n=i(20291),a=i(15427),h=i(49480),c=function(t,e,i,r){var o,s=arguments.length,d=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(t,e,i,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(d=(s<3?o(d):s>3?o(e,i,d):o(e,i))||d);return s>3&&d&&Object.defineProperty(e,i,d),d};!function(t){let e=class extends d.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.color="",this.bgColor="",this.textColor="",this.height="",this.width="",this.outlined=!1,this.compact=!1,this.circle=!1,this.circleSize=a.zj[40],this.small=!1,this.split=!1,this.disabled=!1,this.tabIndexing="",this.ariaHiddenSplits="",this.renderBgColor=()=>this.bgColor?`background-color: ${this.bgColor};`:d.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:d.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:d.nothing,this.renderWidth=()=>this.width?`width: ${this.width};`:d.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height||this.width?d.html`
|
|
2
2
|
<style>
|
|
3
3
|
:host .md-badge {
|
|
4
4
|
${this.renderBgColor()};
|
|
@@ -30,4 +30,4 @@
|
|
|
30
30
|
`)():d.nothing}
|
|
31
31
|
<slot></slot>
|
|
32
32
|
</span>
|
|
33
|
-
`}};c([(0,l.property)({type:String})],e.prototype,"ariaLabel",void 0),c([(0,l.property)({type:String})],e.prototype,"color",void 0),c([(0,l.property)({type:String})],e.prototype,"bgColor",void 0),c([(0,l.property)({type:String})],e.prototype,"textColor",void 0),c([(0,l.property)({type:String})],e.prototype,"height",void 0),c([(0,l.property)({type:String})],e.prototype,"width",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"outlined",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"compact",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"circle",void 0),c([(0,l.property)({type:Number,attribute:"circle-size"})],e.prototype,"circleSize",void 0),c([(0,l.property)({type:Number})],e.prototype,"size",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"small",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"split",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),c([(0,l.property)({type:String})],e.prototype,"tabIndexing",void 0),c([(0,l.property)({type:String})],e.prototype,"ariaHiddenSplits",void 0),e=c([(0,o.w)("md-badge")],e),t.ELEMENT=e}(r||(r={}))},70429
|
|
33
|
+
`}};c([(0,l.property)({type:String})],e.prototype,"ariaLabel",void 0),c([(0,l.property)({type:String})],e.prototype,"color",void 0),c([(0,l.property)({type:String})],e.prototype,"bgColor",void 0),c([(0,l.property)({type:String})],e.prototype,"textColor",void 0),c([(0,l.property)({type:String})],e.prototype,"height",void 0),c([(0,l.property)({type:String})],e.prototype,"width",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"outlined",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"compact",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"circle",void 0),c([(0,l.property)({type:Number,attribute:"circle-size"})],e.prototype,"circleSize",void 0),c([(0,l.property)({type:Number})],e.prototype,"size",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"small",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"split",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),c([(0,l.property)({type:String})],e.prototype,"tabIndexing",void 0),c([(0,l.property)({type:String})],e.prototype,"ariaHiddenSplits",void 0),e=c([(0,o.w)("md-badge")],e),t.ELEMENT=e}(r||(r={}))},70429(t){t.exports=e},85125(t){t.exports=i},87161(e){e.exports=t}},d={};function l(t){var e=d[t];if(void 0!==e)return e.exports;var i=d[t]={exports:{}};return s[t](i,i.exports,l),i.exports}l.m=s,o=[],l.O=(t,e,i,r)=>{if(!e){var s=1/0;for(a=0;a<o.length;a++){for(var[e,i,r]=o[a],d=!0,p=0;p<e.length;p++)(!1&r||s>=r)&&Object.keys(l.O).every(t=>l.O[t](e[p]))?e.splice(p--,1):(d=!1,r<s&&(s=r));if(d){o.splice(a--,1);var n=i();void 0!==n&&(t=n)}}return t}r=r||0;for(var a=o.length;a>0&&o[a-1][2]>r;a--)o[a]=o[a-1];o[a]=[e,i,r]},l.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return l.d(e,{a:e}),e},l.d=(t,e)=>{for(var i in e)l.o(e,i)&&!l.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},l.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),l.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={8111:0};l.O.j=e=>0===t[e];var e=(e,i)=>{var r,o,[s,d,p]=i,n=0;if(s.some(e=>0!==t[e])){for(r in d)l.o(d,r)&&(l.m[r]=d[r]);if(p)var a=p(l)}for(e&&e(i);n<s.length;n++)o=s[n],l.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return l.O(a)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var p=l.O(void 0,[1890,4313,9480,5427],()=>l(63704));return l.O(p)})());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("lit"),require("lit/decorators.js"),require("lit/directives/if-defined.js"),require("lit/directives/repeat.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/if-defined.js","lit/directives/repeat.js"],r);else{var t="object"==typeof exports?r(require("lit"),require("lit/decorators.js"),require("lit/directives/if-defined.js"),require("lit/directives/repeat.js")):r(e.lit,e["lit/decorators.js"],e["lit/directives/if-defined.js"],e["lit/directives/repeat.js"]);for(var i in t)("object"==typeof exports?exports:e)[i]=t[i]}}(self,(e,r,t,i)=>(()=>{"use strict";var o,s={20291
|
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("lit"),require("lit/decorators.js"),require("lit/directives/if-defined.js"),require("lit/directives/repeat.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/if-defined.js","lit/directives/repeat.js"],r);else{var t="object"==typeof exports?r(require("lit"),require("lit/decorators.js"),require("lit/directives/if-defined.js"),require("lit/directives/repeat.js")):r(e.lit,e["lit/decorators.js"],e["lit/directives/if-defined.js"],e["lit/directives/repeat.js"]);for(var i in t)("object"==typeof exports?exports:e)[i]=t[i]}}(self,(e,r,t,i)=>(()=>{"use strict";var o,s={20291(e){e.exports=t},58175(e){e.exports=i},70429(e){e.exports=r},87161(r){r.exports=e},92992(e,r,t){t.r(r),t.d(r,{Breadcrumb:()=>i});var i,o=t(31890),s=t(4313),n=t(87161),a=t(70429),l=t(20291),d=t(58175),c=t(85524),u=function(e,r,t,i){var o,s=arguments.length,n=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,r,t,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(s<3?o(n):s>3?o(r,t,n):o(r,t))||n);return s>3&&n&&Object.defineProperty(r,t,n),n};!function(e){let r=class extends n.LitElement{constructor(){super(...arguments),this.label="Breadcrumb",this.navCrumbs=[]}static get styles(){return[s.A,c.A]}setLastAnchorCurrent(){var e;(null===(e=this.anchors)||void 0===e?void 0:e.length)&&this.anchors[this.anchors.length-1].setAttribute("aria-current","page")}firstUpdated(e){super.firstUpdated(e),this.setLastAnchorCurrent()}update(e){super.update(e),e.has("navCrumbs")&&this.setLastAnchorCurrent()}handleClick(e){var r;const t=e.target;if(null===(r=this.anchors)||void 0===r?void 0:r.length){const e=Array.from(this.anchors).indexOf(t);-1!==e&&(this.navCrumbs=[...this.navCrumbs.splice(0,e+1)])}}render(){return n.html`
|
|
2
2
|
<nav aria-label="${(0,l.ifDefined)(this.label?this.label:void 0)}" class="md-breadcrumb">
|
|
3
3
|
<ul @click=${e=>this.handleClick(e)}>
|
|
4
4
|
${(0,d.repeat)(this.navCrumbs,e=>e.link,e=>n.html`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js"],e);else{var i="object"==typeof exports?e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js")):e(t.lit,t["lit/decorators.js"],t["lit/directives/class-map.js"],t["lit/directives/style-map.js"],t["lit/directives/if-defined.js"]);for(var o in i)("object"==typeof exports?exports:t)[o]=i[o]}}(self,(t,e,i,o,r)=>(()=>{"use strict";var a,s={10318
|
|
1
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js"],e);else{var i="object"==typeof exports?e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js")):e(t.lit,t["lit/decorators.js"],t["lit/directives/class-map.js"],t["lit/directives/style-map.js"],t["lit/directives/if-defined.js"]);for(var o in i)("object"==typeof exports?exports:t)[o]=i[o]}}(self,(t,e,i,o,r)=>(()=>{"use strict";var a,s={10318(t){t.exports=o},20291(t){t.exports=r},70429(t){t.exports=e},85125(t){t.exports=i},87161(e){e.exports=t},96798(t,e,i){i.r(e),i.d(e,{Button:()=>x,buttonAriaLive:()=>g,buttonColor:()=>m,buttonRoles:()=>b,buttonSize:()=>y,buttonTag:()=>u,buttonType:()=>v,buttonVariant:()=>f});var o=i(3643),r=(i(12176),i(31890)),a=i(26283),s=i(4313),n=i(87161),d=i(70429),l=i(85125),p=i(20291),h=i(13017),c=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};const y=["20","24","28","32","36","40","44","52","56","72","68","84","size-none",20,24,28,32,36,40,44,52,56,68,72,68,84],u=["button","input","a"],v=["button","reset","submit"],b=["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],f=["primary","secondary","red","green","ghost","ghostInheritTextColor","white","darkGrey","promotional","tab","available","unavailable","engaged","idle","inverted-primary","inverted-secondary","inverted-ghost","dropdown","secondary-negative","secondary-positive","secondary-accent"],m=["blue","red","green","orange","yellow","mint","purple","pink","cyan","white","dark-gray","duck-egg","violet","color-none",""],g=["","off","polite","assertive"];var x;!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this._active=!1,this._tabIndex=0,this.ariaLabel="",this.ariaLabelledBy="",this.ariaLive="",this.ariaExpanded="",this.ariaHaspopup="false",this.ariaPressed="",this.circle=!1,this.rounded=!1,this.color="",this.containerLarge=!1,this.disabled=!1,this.href="",this.id="",this.value="",this.keyboardKey="",this.label="",this.loading=!1,this.outline=!1,this.hasRemoveStyle=!1,this.size="32",this.tag="button",this.type="button",this.role="button",this.variant="secondary",this.width="",this.maxWidth="",this.activityType="",this.iconActive=!1,this.isActive=!1,this.autofocus=!1,this.renderWidth=()=>this.width?`width: ${this.width};`:n.nothing,this.renderMaxWidth=()=>this.maxWidth?`max-width: ${this.maxWidth};`:n.nothing,this.getStyles=()=>{if(this.width||this.maxWidth)return n.html`
|
|
2
2
|
<style>
|
|
3
3
|
:host .md-button--${this.size} {
|
|
4
4
|
${this.renderWidth()};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js"],t);else{var s="object"==typeof exports?t(require("lit"),require("lit/decorators.js")):t(e.lit,e["lit/decorators.js"]);for(var i in s)("object"==typeof exports?exports:e)[i]=s[i]}}(self,(e,t)=>(()=>{"use strict";var s,i={3001
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js"],t);else{var s="object"==typeof exports?t(require("lit"),require("lit/decorators.js")):t(e.lit,e["lit/decorators.js"]);for(var i in s)("object"==typeof exports?exports:e)[i]=s[i]}}(self,(e,t)=>(()=>{"use strict";var s,i={3001(e,t,s){s.d(t,{TS:()=>r.T,wW:()=>o.w,yC:()=>i.y}),s(18889);var i=s(32972),r=(s(28373),s(70300),s(84624),s(68387)),o=s(31890)},45629(e,t,s){s.r(t),s.d(t,{ButtonGroup:()=>i});var i,r=s(90195),o=s(3001),n=s(4313),d=s(87161),l=s(70429),a=s(75799),c=function(e,t,s,i){var r,o=arguments.length,n=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,s,i);else for(var d=e.length-1;d>=0;d--)(r=e[d])&&(n=(o<3?r(n):o>3?r(t,s,n):r(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n};!function(e){let t=class extends((0,o.TS)((0,o.yC)(d.LitElement))){constructor(){super(...arguments),this.active=0,this.tabIndex=0,this.newMomentum=!1,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get slotElement(){return this.buttonSlot}static get styles(){return[n.A,a.A]}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","group")}setButtonTabIndex(){this.slotted.forEach(e=>e.tabIndex=-1)}updated(e){super.updated(e),e.has("slotted")&&(this.setButtonTabIndex(),this.setFirstActive())}get selectedBtnValue(){return this.slotted[this.active].value}notifySelectedChange(){this.dispatchEvent(new CustomEvent("button-group-change",{detail:{selected:this.selectedBtnValue},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}setSelected(e){var t,s;const i=this.findSelectedBtnIndex();-1!==i&&i!==e&&(null===(t=this.slotted[i])||void 0===t||t.toggleAttribute("selected",!1)),null===(s=this.slotted[e])||void 0===s||s.toggleAttribute("selected",!0)}setFirstActive(){-1===this.findSelectedBtnIndex()&&this.setSelected(this.active)}findBtnIndex(e){const t=e.composedPath();return this.slotted.findIndex(e=>t.includes(e))}findSelectedBtnIndex(){return this.slotted.findIndex(e=>e.hasAttribute("selected"))}isBtnDisabled(e){return this.slotted[e].disabled}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}switchBtnOnArrowPress(e,t=1){const s=this.getAvailableSelectedIndex(e,t);-1!==s&&(this.active=s,this.setSelected(s),this.notifySelectedChange())}getAvailableSelectedIndex(e,t=1){const s=this.slotted.length;for(let i=0,r=e;i<s;i+=1,r+=t){r<0?r=s-1:r>=s&&(r=0);const e=this.slotted[r];if(this.isFocusable(e))return r}return-1}isFocusable(e){return!e.hasAttribute("disabled")&&!e.hasAttribute("hidden")}handleClick(e){const t=this.findBtnIndex(e);-1!==t&&(this.isBtnDisabled(t)||(this.active=t,this.setSelected(t),this.notifySelectedChange()))}handleKeyDown(e){const{code:t}=e;switch(t){case r.Uz.Enter:case r.Uz.Space:this.isBtnDisabled(this.active)||(this.setSelected(this.active),this.notifySelectedChange());break;case r.Uz.ArrowLeft:0===this.active?this.switchBtnOnArrowPress(this.slotted.length-1,-1):this.switchBtnOnArrowPress(this.active-1,-1);break;case r.Uz.ArrowRight:this.active===this.slotted.length-1?this.switchBtnOnArrowPress(0):this.switchBtnOnArrowPress(this.active+1)}}render(){return d.html`
|
|
2
2
|
<div role="group" class="md-button-group" part="button-group">
|
|
3
3
|
<slot name="button"></slot>
|
|
4
4
|
</div>
|
|
5
|
-
`}};c([(0,l.property)({type:Number,reflect:!0})],t.prototype,"active",void 0),c([(0,l.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"newMomentum",void 0),c([(0,l.query)("slot[name='button']")],t.prototype,"buttonSlot",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),t=c([(0,o.wW)("md-button-group")],t),e.ELEMENT=t}(i||(i={}))},70429
|
|
5
|
+
`}};c([(0,l.property)({type:Number,reflect:!0})],t.prototype,"active",void 0),c([(0,l.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"newMomentum",void 0),c([(0,l.query)("slot[name='button']")],t.prototype,"buttonSlot",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),t=c([(0,o.wW)("md-button-group")],t),e.ELEMENT=t}(i||(i={}))},70429(e){e.exports=t},87161(t){t.exports=e}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var s=r[e]={exports:{}};return i[e](s,s.exports,o),s.exports}o.m=i,s=[],o.O=(e,t,i,r)=>{if(!t){var n=1/0;for(c=0;c<s.length;c++){for(var[t,i,r]=s[c],d=!0,l=0;l<t.length;l++)(!1&r||n>=r)&&Object.keys(o.O).every(e=>o.O[e](t[l]))?t.splice(l--,1):(d=!1,r<n&&(n=r));if(d){s.splice(c--,1);var a=i();void 0!==a&&(e=a)}}return e}r=r||0;for(var c=s.length;c>0&&s[c-1][2]>r;c--)s[c]=s[c-1];s[c]=[t,i,r]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={144:0,3001:0,3477:0,5310:0,5382:0,7763:0};o.O.j=t=>0===e[t];var t=(t,s)=>{var i,r,[n,d,l]=s,a=0;if(n.some(t=>0!==e[t])){for(i in d)o.o(d,i)&&(o.m[i]=d[i]);if(l)var c=l(o)}for(t&&t(s);a<n.length;a++)r=n[a],o.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return o.O(c)},s=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];s.forEach(t.bind(null,0)),s.push=t.bind(null,s.push.bind(s))})();var n=o.O(void 0,[1890,4313,8889,8373,4624,300,591,195,8387,5799],()=>o(45629));return o.O(n)})());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(self,(e,t,i,r,s,o,d,a)=>(()=>{"use strict";var n,m={10318
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx);for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(self,(e,t,i,r,s,o,d,a)=>(()=>{"use strict";var n,m={10318(e){e.exports=r},20291(e){e.exports=s},32022(e){e.exports=o},60554(e){e.exports=d},64311(e,t,i){i.r(t),i.d(t,{CardAi:()=>s,CardAiVariant:()=>r}),i(96798),i(61200);var r,s,o=i(31890),d=i(4313),a=i(87161),n=i(70429),m=i(85125),c=i(68148),l=function(e,t,i,r){var s,o=arguments.length,d=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(d=(o<3?s(d):o>3?s(t,i,d):s(t,i))||d);return o>3&&d&&Object.defineProperty(t,i,d),d};!function(e){e.USER_QUERY="user_query",e.RESPONSE="response"}(r||(r={})),function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.id="",this.title="",this.cardText="",this.timestamp="",this.summariseMoreVisible=!1,this.variant=r.RESPONSE,this.copyChecked=!1,this.thumbsUpChecked=!1,this.thumbsDownChecked=!1}static get styles(){return[d.A,c.A]}thumbsUpToggled(){this.thumbsDownChecked=!1,this.thumbsUpChecked=!this.thumbsUpChecked,this.dispatchEvent(new CustomEvent("thumbs-up-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}thumbsDownToggled(){this.thumbsUpChecked=!1,this.thumbsDownChecked=!this.thumbsDownChecked,this.dispatchEvent(new CustomEvent("thumbs-down-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}summariseMoreToggled(){this.dispatchEvent(new CustomEvent("summarise-more-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}copyToggled(){navigator.clipboard.writeText(this.cardText),this.copyChecked=!0,setTimeout(()=>{this.copyChecked=!1},2e3)}get bottomBorderRadiusClass(){return this.timestamp?"with-bottom-border-radius":"no-bottom-border-radius"}get cardTextClassMap(){return{"md-card-ai-card-body-user-query":this.variant===r.USER_QUERY,[`md-card-ai-card-body-response-${this.bottomBorderRadiusClass}`]:this.variant===r.RESPONSE}}renderHeader(){return this.variant===r.RESPONSE&&""!==this.title?a.html`
|
|
2
2
|
<div class="md-card-ai-header">
|
|
3
3
|
<slot name="card-header-aside">
|
|
4
4
|
<md-icon name="cisco-ai-assistant-color-gradient" iconSet="momentumBrandVisuals"></md-icon>
|
|
@@ -74,4 +74,4 @@
|
|
|
74
74
|
${this.renderHeader()}
|
|
75
75
|
<div class="content-margin">${this.renderCardText()} ${this.renderFooter()}</div>
|
|
76
76
|
</div>
|
|
77
|
-
`}};l([(0,n.property)({type:String})],t.prototype,"id",void 0),l([(0,n.property)({type:String})],t.prototype,"title",void 0),l([(0,n.property)({type:String})],t.prototype,"cardText",void 0),l([(0,n.property)({type:String})],t.prototype,"timestamp",void 0),l([(0,n.property)({type:Boolean})],t.prototype,"summariseMoreVisible",void 0),l([(0,n.property)({type:String})],t.prototype,"variant",void 0),l([(0,n.state)()],t.prototype,"copyChecked",void 0),l([(0,n.state)()],t.prototype,"thumbsUpChecked",void 0),l([(0,n.state)()],t.prototype,"thumbsDownChecked",void 0),t=l([(0,o.w)("md-card-ai")],t),e.ELEMENT=t}(s||(s={}))},70429
|
|
77
|
+
`}};l([(0,n.property)({type:String})],t.prototype,"id",void 0),l([(0,n.property)({type:String})],t.prototype,"title",void 0),l([(0,n.property)({type:String})],t.prototype,"cardText",void 0),l([(0,n.property)({type:String})],t.prototype,"timestamp",void 0),l([(0,n.property)({type:Boolean})],t.prototype,"summariseMoreVisible",void 0),l([(0,n.property)({type:String})],t.prototype,"variant",void 0),l([(0,n.state)()],t.prototype,"copyChecked",void 0),l([(0,n.state)()],t.prototype,"thumbsUpChecked",void 0),l([(0,n.state)()],t.prototype,"thumbsDownChecked",void 0),t=l([(0,o.w)("md-card-ai")],t),e.ELEMENT=t}(s||(s={}))},70429(e){e.exports=t},85125(e){e.exports=i},85314(e){e.exports=a},87161(t){t.exports=e}},c={};function l(e){var t=c[e];if(void 0!==t)return t.exports;var i=c[e]={exports:{}};return m[e](i,i.exports,l),i.exports}l.m=m,n=[],l.O=(e,t,i,r)=>{if(!t){var s=1/0;for(m=0;m<n.length;m++){for(var[t,i,r]=n[m],o=!0,d=0;d<t.length;d++)(!1&r||s>=r)&&Object.keys(l.O).every(e=>l.O[e](t[d]))?t.splice(d--,1):(o=!1,r<s&&(s=r));if(o){n.splice(m--,1);var a=i();void 0!==a&&(e=a)}}return e}r=r||0;for(var m=n.length;m>0&&n[m-1][2]>r;m--)n[m]=n[m-1];n[m]=[t,i,r]},l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var i in t)l.o(t,i)&&!l.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={4971:0};l.O.j=t=>0===e[t];var t=(t,i)=>{var r,s,[o,d,a]=i,n=0;if(o.some(t=>0!==e[t])){for(r in d)l.o(d,r)&&(l.m[r]=d[r]);if(a)var m=a(l)}for(t&&t(i);n<o.length;n++)s=o[n],l.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return l.O(m)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var u=l.O(void 0,[8983,1890,4313,510,5087,6283,2176,6798,6865,1200,2576,8148],()=>l(64311));return l.O(u)})());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("lit/directives/repeat.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx","@popperjs/core/lib/modifiers/arrow","@popperjs/core/lib/modifiers/flip","@popperjs/core/lib/modifiers/offset","@popperjs/core/lib/modifiers/preventOverflow","@popperjs/core/lib/popper-lite","lit/directives/repeat.js"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("lit/directives/repeat.js")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx,e["@popperjs/core/lib/modifiers/arrow"],e["@popperjs/core/lib/modifiers/flip"],e["@popperjs/core/lib/modifiers/offset"],e["@popperjs/core/lib/modifiers/preventOverflow"],e["@popperjs/core/lib/popper-lite"],e["lit/directives/repeat.js"]);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(self,(e,t,i,s,r,o,l,d,n,a,c,p,h,m)=>(()=>{"use strict";var u,b={3001
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("lit/directives/repeat.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx","@popperjs/core/lib/modifiers/arrow","@popperjs/core/lib/modifiers/flip","@popperjs/core/lib/modifiers/offset","@popperjs/core/lib/modifiers/preventOverflow","@popperjs/core/lib/popper-lite","lit/directives/repeat.js"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("lit/directives/repeat.js")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx,e["@popperjs/core/lib/modifiers/arrow"],e["@popperjs/core/lib/modifiers/flip"],e["@popperjs/core/lib/modifiers/offset"],e["@popperjs/core/lib/modifiers/preventOverflow"],e["@popperjs/core/lib/popper-lite"],e["lit/directives/repeat.js"]);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(self,(e,t,i,s,r,o,l,d,n,a,c,p,h,m)=>(()=>{"use strict";var u,b={3001(e,t,i){i.d(t,{Io:()=>o.I,UM:()=>r.U,yC:()=>s.y}),i(18889);var s=i(32972),r=(i(28373),i(70300)),o=i(84624);i(68387)},4863(e){e.exports=h},10318(e){e.exports=s},10654(e,t,i){i.r(t),i.d(t,{Card:()=>s}),i(96798),i(99850),i(61200),i(68490),i(66245),i(11323),i(83192);var s,r=i(31890),o=i(4313),l=i(87161),d=i(58175),n=i(90195),a=i(9455),c=i(70429),p=function(e,t,i,s){var r,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,s);else for(var d=e.length-1;d>=0;d--)(r=e[d])&&(l=(o<3?r(l):o>3?r(t,i,l):r(t,i))||l);return o>3&&l&&Object.defineProperty(t,i,l),l};!function(e){let t=class extends l.LitElement{constructor(){super(...arguments),this.title="title",this.subtitle="",this.id="",this.info="",this.infoAriaLabel="Card Info",this.menuAriaLabel="Card Menu",this.menuOptions=[]}static get styles(){return[o.A,a.A]}handleCardClick(){this.dispatchEvent(new CustomEvent("card-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardKeyDown(e){e.code!==n.Uz.Enter&&e.code!==n.Uz.Space||this.dispatchEvent(new CustomEvent("card-keydown",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardMenuEvent(e,t){e.stopPropagation();const i=t.toLowerCase();this.dispatchEvent(new CustomEvent("card-menu-click",{detail:{id:this.id,type:i},bubbles:!0,composed:!0}))}handleCardMenuKeyDown(e,t){e.preventDefault(),this.dispatchEvent(new CustomEvent("card-menu-keydown",{detail:{id:this.id,type:t.toLowerCase(),keyCode:e.code},bubbles:!0,composed:!0}))}render(){return l.html`
|
|
2
2
|
<div
|
|
3
3
|
class="md-card"
|
|
4
4
|
id="${this.id}"
|
|
@@ -65,15 +65,15 @@
|
|
|
65
65
|
<slot name="footer"> </slot>
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
68
|
-
`}};p([(0,c.property)({type:String})],t.prototype,"title",void 0),p([(0,c.property)({type:String})],t.prototype,"subtitle",void 0),p([(0,c.property)({type:String})],t.prototype,"id",void 0),p([(0,c.property)({type:String})],t.prototype,"info",void 0),p([(0,c.property)({type:String,attribute:"info-aria-label"})],t.prototype,"infoAriaLabel",void 0),p([(0,c.property)({type:String,attribute:"menu-aria-label"})],t.prototype,"menuAriaLabel",void 0),p([(0,c.property)({type:Array})],t.prototype,"menuOptions",void 0),t=p([(0,r.w)("md-card")],t),e.ELEMENT=t}(s||(s={}))},20291
|
|
68
|
+
`}};p([(0,c.property)({type:String})],t.prototype,"title",void 0),p([(0,c.property)({type:String})],t.prototype,"subtitle",void 0),p([(0,c.property)({type:String})],t.prototype,"id",void 0),p([(0,c.property)({type:String})],t.prototype,"info",void 0),p([(0,c.property)({type:String,attribute:"info-aria-label"})],t.prototype,"infoAriaLabel",void 0),p([(0,c.property)({type:String,attribute:"menu-aria-label"})],t.prototype,"menuAriaLabel",void 0),p([(0,c.property)({type:Array})],t.prototype,"menuOptions",void 0),t=p([(0,r.w)("md-card")],t),e.ELEMENT=t}(s||(s={}))},20291(e){e.exports=r},22962(e){e.exports=n},32022(e){e.exports=o},58175(e){e.exports=m},60554(e){e.exports=l},66245(e,t,i){var s,r=i(3001),o=i(31890),l=i(4313),d=i(87161),n=i(70429),a=i(85125),c=i(91729),p=function(e,t,i,s){var r,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,s);else for(var d=e.length-1;d>=0;d--)(r=e[d])&&(l=(o<3?r(l):o>3?r(t,i,l):r(t,i))||l);return o>3&&l&&Object.defineProperty(t,i,l),l};!function(e){let t=class extends((0,r.yC)(d.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,"option"===this.role&&this.setAttribute("aria-selected",`${e}`),this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[l.A,c.A]}render(){return d.html`
|
|
69
69
|
<div class="md-list-item ${(0,a.classMap)(this.listItemTemplateClassMap)}" part="list-item">
|
|
70
70
|
<slot></slot>
|
|
71
71
|
</div>
|
|
72
|
-
`}};p([(0,n.property)({type:String,reflect:!0})],t.prototype,"role",void 0),p([(0,n.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),p([(0,n.property)({type:String,reflect:!0})],t.prototype,"shape",void 0),p([(0,n.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),p([(0,n.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=p([(0,o.w)("md-list-item")],t),e.ELEMENT=t}(s||(s={}))},68250
|
|
72
|
+
`}};p([(0,n.property)({type:String,reflect:!0})],t.prototype,"role",void 0),p([(0,n.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),p([(0,n.property)({type:String,reflect:!0})],t.prototype,"shape",void 0),p([(0,n.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),p([(0,n.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=p([(0,o.w)("md-list-item")],t),e.ELEMENT=t}(s||(s={}))},68250(e){e.exports=c},68490(e,t,i){var s,r=i(90195),o=i(3001),l=i(31890),d=i(4313),n=i(87161),a=i(70429),c=i(20291),p=i(91729),h=function(e,t,i,s){var r,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,s);else for(var d=e.length-1;d>=0;d--)(r=e[d])&&(l=(o<3?r(l):o>3?r(t,i,l):r(t,i))||l);return o>3&&l&&Object.defineProperty(t,i,l),l};!function(e){let t=class extends((0,o.Io)(n.LitElement)){constructor(){super(...arguments),this.alignment="vertical",this.label="option",this.activated=-1,this._role="listbox"}firstUpdated(e){super.firstUpdated(e),"none"!==this._role&&this.setAttribute("aria-label",this.label)}notifySelectedChange(){this.dispatchEvent(new CustomEvent("list-item-change",{detail:{selected:this.selected},bubbles:!0,composed:!0}))}isFocusable(e){return!e.hasAttribute("hidden")}connectedCallback(){super.connectedCallback();const e=this.getAttribute("role");this._role=e||"listbox",this.removeAttribute("role"),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}findListItemIndex(e){const t=e.composedPath();return this.slotted.findIndex(e=>t.includes(e))}switchListItemOnArrowPress(e,t=1){const i=super.getAvailableSelectedIndex(e,t);-1!==i&&(this.selected=i)}setActivated(e){-1!==e&&(this.activated=e,this.selected=e,this.setSelected(e))}findSelectedListItemIndex(){return this.slotted.findIndex(e=>e.selected)}setSelected(e){const t=this.findSelectedListItemIndex();-1!==t&&t!==e&&(this.slotted[t].selected=!1),this.slotted[e]&&(this.slotted[e].selected=!0)}updated(e){super.updated(e),e.has("slotted")&&this.setActivated(this.activated),e.has("activated")&&this.setActivated(this.activated),e.has("label")&&"none"!==this._role&&this.setAttribute("aria-label",this.label)}isListItemDisabled(e){var t;const i=this.slotted[e];return null===(t=null==i?void 0:i.disabled)||void 0===t||t}handleClick(e){const t=this.findListItemIndex(e);-1!==t&&(this.isListItemDisabled(t)||(this.setActivated(t),this.notifySelectedChange()))}shouldElementHandleKey(e,t){if(e.hasAttribute("data-handles-keys")||e.closest("[data-handles-keys]"))return!0;const i=e.tagName.toLowerCase(),s=e.nodeName.toLowerCase(),o="input"===s||"textarea"===s||"select"===s,l=e.getAttribute("role"),d=e.hasAttribute("contenteditable")||"false"===e.getAttribute("aria-readonly"),n=[r.Uz.ArrowUp,r.Uz.ArrowDown,r.Uz.ArrowLeft,r.Uz.ArrowRight],a=[r.Uz.Enter,r.Uz.Space];return n.includes(t)?o||d||"textbox"===l||"combobox"===l||"listbox"===l||"menu"===l||"slider"===l||"scrollbar"===l||"tablist"===l||i.startsWith("md-")&&("md-input"===i||"md-select"===i||"md-combobox"===i):a.includes(t)?"button"===l||"link"===l||"checkbox"===l||"radio"===l||"button"===i||"a"===i||"md-button"===i||"md-checkbox"===i||"md-radio"===i||o:(t===r.Uz.Home||t===r.Uz.End)&&(o||d||"textbox"===l||"md-input"===i)}handleKeyDown(e){const t=e.composedPath()[0];if(this.shouldElementHandleKey(t,e.code))return;const{code:i}=e;switch(i){case r.Uz.End:this.switchListItemOnArrowPress(this.slotted.length-1);break;case r.Uz.Home:this.switchListItemOnArrowPress(0);break;case r.Uz.ArrowUp:case r.Uz.ArrowLeft:e.preventDefault(),0===this.selected?this.switchListItemOnArrowPress(this.slotted.length-1,-1):this.switchListItemOnArrowPress(this.selected-1,-1);break;case r.Uz.ArrowDown:case r.Uz.ArrowRight:e.preventDefault(),this.selected===this.slotted.length-1?this.switchListItemOnArrowPress(0):this.switchListItemOnArrowPress(this.selected+1);break;case r.Uz.Enter:case r.Uz.Space:this.isListItemDisabled(this.selected)||(this.setActivated(this.selected),this.notifySelectedChange())}}get slotElement(){return this.listItemSlot}static get styles(){return[d.A,p.A]}render(){return n.html`
|
|
73
73
|
<ul role=${(0,c.ifDefined)("list"!==this._role?this._role:void 0)} class="md-list" part="list">
|
|
74
74
|
<slot name="list-item"></slot>
|
|
75
75
|
</ul>
|
|
76
|
-
`}};h([(0,a.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),h([(0,a.property)({type:String})],t.prototype,"label",void 0),h([(0,a.property)({type:Number,reflect:!0})],t.prototype,"activated",void 0),h([(0,a.query)("slot[name='list-item']")],t.prototype,"listItemSlot",void 0),t=h([(0,l.w)("md-list")],t),e.ELEMENT=t}(s||(s={}))},69371
|
|
76
|
+
`}};h([(0,a.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),h([(0,a.property)({type:String})],t.prototype,"label",void 0),h([(0,a.property)({type:Number,reflect:!0})],t.prototype,"activated",void 0),h([(0,a.query)("slot[name='list-item']")],t.prototype,"listItemSlot",void 0),t=h([(0,l.w)("md-list")],t),e.ELEMENT=t}(s||(s={}))},69371(e){e.exports=p},70429(e){e.exports=t},84157(e){e.exports=a},85125(e){e.exports=i},85314(e){e.exports=d},87161(t){t.exports=e},99850(e,t,i){i(61200);var s,r=i(90195),o=i(3001),l=i(31890),d=i(4313),n=i(87161),a=i(70429),c=i(85125),p=i(20291),h=i(46765),m=function(e,t,i,s){var r,o=arguments.length,l=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,s);else for(var d=e.length-1;d>=0;d--)(r=e[d])&&(l=(o<3?r(l):o>3?r(t,i,l):r(t,i))||l);return o>3&&l&&Object.defineProperty(t,i,l),l};!function(e){let t=class extends((0,o.yC)(n.LitElement)){constructor(){super(...arguments),this.disabled=!1,this.checked=!1,this.value="Select favorite",this.id="",this.label="Favorite"}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleElectKeyDown),this.addEventListener("click",this.handleFavorite)}static get styles(){return[d.A,h.A]}handleFavorite(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("favorite-toggle",{detail:{active:this.checked,value:this.value},bubbles:!0,composed:!0})))}handleElectKeyDown(e){e.code!==r.Uz.Enter&&e.code!==r.Uz.Space||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("favorite-keydown",{detail:{active:this.checked,value:this.value},bubbles:!0,composed:!0})))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleElectKeyDown),this.removeEventListener("click",this.handleFavorite)}get favoriteClassMap(){return{"md-favorite--active":this.checked,"md-favorite--disabled":this.disabled}}render(){return n.html`
|
|
77
77
|
<label
|
|
78
78
|
for="favorite-checkbox"
|
|
79
79
|
id="${this.id}"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("luxon"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx","luxon"],t);else{var r="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("luxon")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx,e.luxon);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(self,(e,t,r,i,o,a,s,n,d)=>(()=>{"use strict";var l,c={10318
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("luxon"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx","luxon"],t);else{var r="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("luxon")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx,e.luxon);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(self,(e,t,r,i,o,a,s,n,d)=>(()=>{"use strict";var l,c={10318(e){e.exports=i},20291(e){e.exports=o},32022(e){e.exports=a},60554(e){e.exports=s},65796(e){e.exports=d},70429(e){e.exports=t},85125(e){e.exports=r},85314(e){e.exports=n},87161(t){t.exports=e},90827(e,t,r){r.r(t),r.d(t,{CardState:()=>m,CardV2:()=>u}),r(96798),r(61200),r(83192);var i=r(31890),o=r(4313),a=r(87161),s=r(70429),n=r(85125),d=r(65796),l=r(80622),c=function(e,t,r,i){var o,a=arguments.length,s=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(s=(a<3?o(s):a>3?o(t,r,s):o(t,r))||s);return a>3&&s&&Object.defineProperty(t,r,s),s};const p="hh:mm:ss";var m,u;!function(e){e.DEFAULT="default",e.ACTIVE="active",e.INACTIVE="inactive"}(m||(m={})),function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.state=m.DEFAULT,this.identifier=void 0,this.header=void 0,this.info=void 0,this.data=void 0,this.createdTime=0,this.active=!1,this.expandable=!1,this.expandAriaLabel="Expand for more details",this.renderedData=""}connectedCallback(){super.connectedCallback(),this.checkForExtraInfoSlot()}disconnectedCallback(){super.disconnectedCallback(),this.clearInterval()}clearInterval(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}static get styles(){return[o.A,l.A]}get isCardActive(){return this.state===m.ACTIVE}update(e){super.update(e),(e.has("active")||e.has("data")||e.has("createdTime"))&&this.calculateRenderedData()}expandCardToggled(){var e;this.state=this.isCardActive?m.DEFAULT:m.ACTIVE,this.dispatchEvent(new CustomEvent("expand-card-toggled",{detail:{identifier:null!==(e=this.identifier)&&void 0!==e?e:"",active:this.isCardActive},bubbles:!0,composed:!0}))}checkForExtraInfoSlot(){var e;(null===(e=this.extraInfoSlot)||void 0===e?void 0:e.assignedNodes().length)>0?this.setAttribute("has-extra-info",""):this.removeAttribute("has-extra-info")}handleExtraInfoSlotChange(e){this.checkForExtraInfoSlot()}get cardClassMap(){return{"md-card-v2":!0,[`md-card--${this.state}`]:!0}}get contentClassMap(){return{"md-card-v2-content":!0,inactive:this.state===m.INACTIVE}}get footerExpandClassMap(){return{"md-card-v2-footer-expand":!0,hidden:!this.expandable}}get expandCardHandler(){return this.expandable?this.expandCardToggled:null}renderHeader(){return a.html`
|
|
2
2
|
<div class="md-card-v2-header-title">
|
|
3
3
|
<h3>${this.header}</h3>
|
|
4
4
|
${this.info?a.html`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("lit/directives/until.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx","lit/directives/until.js"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("lit/directives/until.js")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx,e["lit/directives/until.js"]);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(self,(e,t,i,s,r,o,a,l,p)=>(()=>{"use strict";var d,m={10318
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("lit/directives/until.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx","lit/directives/until.js"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"),require("lit/directives/until.js")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx,e["lit/directives/until.js"]);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(self,(e,t,i,s,r,o,a,l,p)=>(()=>{"use strict";var d,m={10318(e){e.exports=s},20291(e){e.exports=r},32022(e){e.exports=o},60554(e){e.exports=a},70429(e){e.exports=t},85125(e){e.exports=i},85314(e){e.exports=l},87161(t){t.exports=e},89756(e){e.exports=p},95281(e,t,i){i.r(t),i.d(t,{ChatMessage:()=>s}),i(38028);var s,r=i(31890),o=i(4313),a=i(87161),l=i(70429),p=i(20291),d=i(67833),m=function(e,t,i,s){var r,o=arguments.length,a=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.title="",this.src="",this.time="",this.label="Avatar",this.status="",this.clickableTimestamp=!1,this.isSelected=!1,this.self=!1}get computedAvatarType(){return void 0!==this.avatarType?this.avatarType:this.self?"self":void 0}get computedYouLabel(){return this.selfLabel||"You"}get isSelfType(){return void 0===this.avatarType?this.self:"self"===this.avatarType}timeStampClicked(){this.dispatchEvent(new CustomEvent("timestamp-clicked",{bubbles:!0,composed:!0}))}static get styles(){return[o.A,d.A]}render(){return a.html`
|
|
2
2
|
<div class="md-chat-message">
|
|
3
3
|
<div class="md-chat-message_avatar">
|
|
4
4
|
<md-avatar
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(self,(e,t,i,s,r,o,n,c)=>(()=>{"use strict";var a,l={3664
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js","lit/directives/if-defined.js","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","mobx"],t);else{var i="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"),require("lit/directives/if-defined.js"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("mobx")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"],e["lit/directives/if-defined.js"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e.mobx);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(self,(e,t,i,s,r,o,n,c)=>(()=>{"use strict";var a,l={3664(e,t,i){i.r(t),i.d(t,{Checkbox:()=>s}),i(61200);var s,r=i(90195),o=i(3001),n=i(31890),c=i(4313),a=i(87161),l=i(70429),d=i(32056),h=function(e,t,i,s){var r,o=arguments.length,n=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(n=(o<3?r(n):o>3?r(t,i,n):r(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,o.yC)(a.LitElement)){constructor(){super(...arguments),this.autofocus=!1,this._checked=!1,this._indeterminate=!1,this._disabled=!1,this.label="",this.tabIndex=0}get checked(){return this._checked}set checked(e){const t=this._checked;this._checked=e,this.requestUpdate("checked",t)}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=this._indeterminate;this._indeterminate=e,this.requestUpdate("indeterminate",t)}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}static get styles(){return[c.A,d.A]}toggleCheckbox(){this.checked=!this.checked}isCheckboxActive(){return this.disabled||this.indeterminate}handleClick(e){this.isCheckboxActive()?e.stopPropagation():(this.toggleCheckbox(),this.handleChange(e))}handleKeyDown(e){const{code:t}=e;t!==r.Uz.Space&&t!==r.Uz.Enter||(e.preventDefault(),this.isCheckboxActive()?e.stopPropagation():(this.toggleCheckbox(),this.handleChange(e)))}handleChange(e){this.dispatchEvent(new CustomEvent("checkbox-change",{bubbles:!0,composed:!0,detail:{sourceEvent:e,checked:this.checked}}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","checkbox"),this.label&&this.setAttribute("aria-label",this.label)}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}willUpdate(e){var t;null===(t=super.willUpdate)||void 0===t||t.call(this,e),e.has("indeterminate")&&this.indeterminate&&(this.checked=!1),(e.has("checked")||e.has("indeterminate"))&&(this.indeterminate?this.setAttribute("aria-checked","mixed"):this.setAttribute("aria-checked",`${this.checked}`)),e.has("disabled")&&this.setAttribute("aria-disabled",`${this.disabled}`)}updated(e){super.updated(e),e.has("indeterminate")&&(this.input.indeterminate=this.indeterminate)}get checkboxIconName(){return this.checked?"check-bold":this.indeterminate?"minus-bold":null}checkboxIconTemplate(){const e=this.checkboxIconName;return e?a.html`<md-icon name="${e}" iconSet="momentumDesign" size="16"></md-icon>`:a.nothing}checkboxBoxTemplate(){return a.html` <div part="checkbox-box" class="checkbox-box">${this.checkboxIconTemplate()}</div> `}render(){return a.html`
|
|
2
2
|
<input
|
|
3
3
|
class="checkbox-input"
|
|
4
4
|
type="checkbox"
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
${this.checkboxBoxTemplate()}
|
|
13
13
|
<slot></slot>
|
|
14
14
|
</label>
|
|
15
|
-
`}};h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"checked",null),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"indeterminate",null),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),h([(0,l.property)({type:String})],t.prototype,"label",void 0),h([(0,l.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),h([(0,l.query)(".checkbox-input")],t.prototype,"input",void 0),t=h([(0,n.w)("md-checkbox")],t),e.ELEMENT=t}(s||(s={}))},10318
|
|
15
|
+
`}};h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"checked",null),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"indeterminate",null),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),h([(0,l.property)({type:String})],t.prototype,"label",void 0),h([(0,l.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),h([(0,l.query)(".checkbox-input")],t.prototype,"input",void 0),t=h([(0,n.w)("md-checkbox")],t),e.ELEMENT=t}(s||(s={}))},10318(e){e.exports=s},20291(e){e.exports=r},32022(e){e.exports=o},60554(e){e.exports=n},70429(e){e.exports=t},85125(e){e.exports=i},85314(e){e.exports=c},87161(t){t.exports=e}},d={};function h(e){var t=d[e];if(void 0!==t)return t.exports;var i=d[e]={exports:{}};return l[e](i,i.exports,h),i.exports}h.m=l,a=[],h.O=(e,t,i,s)=>{if(!t){var r=1/0;for(l=0;l<a.length;l++){for(var[t,i,s]=a[l],o=!0,n=0;n<t.length;n++)(!1&s||r>=s)&&Object.keys(h.O).every(e=>h.O[e](t[n]))?t.splice(n--,1):(o=!1,s<r&&(r=s));if(o){a.splice(l--,1);var c=i();void 0!==c&&(e=c)}}return e}s=s||0;for(var l=a.length;l>0&&a[l-1][2]>s;l--)a[l]=a[l-1];a[l]=[t,i,s]},h.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return h.d(t,{a:t}),t},h.d=(e,t)=>{for(var i in t)h.o(t,i)&&!h.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},h.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),h.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={7455:0};h.O.j=t=>0===e[t];var t=(t,i)=>{var s,r,[o,n,c]=i,a=0;if(o.some(t=>0!==e[t])){for(s in n)h.o(n,s)&&(h.m[s]=n[s]);if(c)var l=c(h)}for(t&&t(i);a<o.length;a++)r=o[a],h.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return h.O(l)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var u=h.O(void 0,[8983,1890,4313,510,5087,6283,2176,6798,6865,1200,8889,8373,4624,300,591,768,195,3001,2056],()=>h(3664));return h.O(u)})());
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js"],t);else{var r="object"==typeof exports?t(require("lit"),require("lit/decorators.js")):t(e.lit,e["lit/decorators.js"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,(e,t)=>(()=>{"use strict";var r,o={55294
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js"],t);else{var r="object"==typeof exports?t(require("lit"),require("lit/decorators.js")):t(e.lit,e["lit/decorators.js"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,(e,t)=>(()=>{"use strict";var r,o={55294(e,t,r){r.r(t),r.d(t,{CheckboxGroup:()=>o});var o,s=r(90195),n=r(3001),i=r(31890),l=r(4313),c=r(87161),a=r(70429),d=r(32056),p=function(e,t,r,o){var s,n=arguments.length,i=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(n<3?s(i):n>3?s(t,r,i):s(t,r))||i);return n>3&&i&&Object.defineProperty(t,r,i),i};!function(e){let t=class extends((0,n.Io)(c.LitElement)){constructor(){super(...arguments),this.label="group",this.alignment="vertical"}static get styles(){return[l.A,d.A]}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown)}switchCheckboxOnArrowPress(e,t=1){const r=super.getAvailableSelectedIndex(e,t);-1!==r&&(this.selected=r)}handleKeyDown(e){const{code:t}=e;switch(t){case s.Uz.ArrowUp:case s.Uz.ArrowLeft:e.stopPropagation(),0===this.selected?this.switchCheckboxOnArrowPress(this.slotted.length-1,-1):this.switchCheckboxOnArrowPress(this.selected-1,-1);break;case s.Uz.ArrowDown:case s.Uz.ArrowRight:e.stopPropagation(),this.selected===this.slotted.length-1?this.switchCheckboxOnArrowPress(0):this.switchCheckboxOnArrowPress(this.selected+1)}}get slotElement(){return this.checkboxSlot}render(){return c.html`
|
|
2
2
|
<div role="group" aria-labelledby="id-group-label">
|
|
3
3
|
<slot name="checkbox"></slot>
|
|
4
4
|
</div>
|
|
5
|
-
`}};p([(0,a.property)({type:String,attribute:"group-label"})],t.prototype,"label",void 0),p([(0,a.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),p([(0,a.query)("slot[name='checkbox']")],t.prototype,"checkboxSlot",void 0),t=p([(0,i.w)("md-checkboxgroup")],t),e.ELEMENT=t}(o||(o={}))},70429
|
|
5
|
+
`}};p([(0,a.property)({type:String,attribute:"group-label"})],t.prototype,"label",void 0),p([(0,a.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),p([(0,a.query)("slot[name='checkbox']")],t.prototype,"checkboxSlot",void 0),t=p([(0,i.w)("md-checkboxgroup")],t),e.ELEMENT=t}(o||(o={}))},70429(e){e.exports=t},87161(t){t.exports=e}},s={};function n(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return o[e](r,r.exports,n),r.exports}n.m=o,r=[],n.O=(e,t,o,s)=>{if(!t){var i=1/0;for(d=0;d<r.length;d++){for(var[t,o,s]=r[d],l=!0,c=0;c<t.length;c++)(!1&s||i>=s)&&Object.keys(n.O).every(e=>n.O[e](t[c]))?t.splice(c--,1):(l=!1,s<i&&(i=s));if(l){r.splice(d--,1);var a=o();void 0!==a&&(e=a)}}return e}s=s||0;for(var d=r.length;d>0&&r[d-1][2]>s;d--)r[d]=r[d-1];r[d]=[t,o,s]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={6834:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,s,[i,l,c]=r,a=0;if(i.some(t=>0!==e[t])){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(c)var d=c(n)}for(t&&t(r);a<i.length;a++)s=i[a],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return n.O(d)},r=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var i=n.O(void 0,[1890,4313,8889,8373,300,195,8387,2972,2243,2056,7763],()=>n(55294));return n.O(i)})());
|