@lu-development/ux-mylu-patterns
Advanced tools
Comparing version 0.3.0-dev.201906262105.07b5e7a to 0.3.0-dev.201906262249.f73ba4f
@@ -9,3 +9,3 @@ 'use strict'; | ||
return __chunk_1.patchEsm().then(() => { | ||
__chunk_1.bootstrapLazy([["mylu-avatar.cjs",[[0,"mylu-avatar",{"showNotification":[4,"show-notification"],"showAction":[4,"show-action"],"actionIcon":[1,"action-icon"],"circleBackgroundColor":[1,"circle-background-color"],"notificationBackgroundColor":[1,"notification-background-color"],"actionBackgroundColor":[1,"action-background-color"],"imgUrl":[1,"img-url"],"isActionable":[4,"is-actionable"],"imgLoaded":[32]}]]],["lu-card-image.cjs",[[1,"lu-card-image",{"altText":[1,"alt-text"],"iconColor":[1,"icon-color"],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"isIcon":[4,"is-icon"],"src":[1]}]]],["lu-fab-button.cjs",[[1,"lu-fab-button",{"color":[1],"activated":[4],"disabled":[4],"href":[1],"isExternallyManaged":[4,"is-externally-managed"],"show":[1028],"selected":[1028],"toggleButton":[4,"toggle-button"],"translucent":[4],"type":[1],"size":[1],"value":[8],"keyFocus":[32]}]]],["lu-form-group.cjs",[[1,"lu-form-group",{"clearErrorStateOnClearInput":[4,"clear-error-state-on-clear-input"],"clearInput":[4,"clear-input"],"color":[1],"clearOnEdit":[1028,"clear-on-edit"],"errorMessage":[1025,"error-message"],"externallyDeemedValid":[1028,"externally-deemed-valid"],"externallyDeemedInvalid":[1028,"externally-deemed-invalid"],"forId":[1025,"for-id"],"helperText":[1,"helper-text"],"id":[1537],"isExternallyValidated":[4,"is-externally-validated"],"isValidatedOnSubmission":[4,"is-validated-on-submission"],"labelText":[1,"label-text"],"updateTrigger":[1,"update-trigger"],"value":[32],"isCheckboxGroup":[32],"isValid":[32],"isInvalid":[32],"isSelect":[32],"isRadioGroup":[32],"isRequired":[32],"needsEmailValidation":[32],"needsPatternValidation":[32],"needsPasswordValidation":[32],"pattern":[32],"isInput":[32],"getValidationValues":[64]}]]],["lu-input.cjs",[[1,"lu-input",{"accept":[1],"autocomplete":[1],"autocapitalize":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[1028,"clear-on-edit"],"capture":[1],"checked":[4],"color":[1],"debounce":[2],"disabled":[4],"form":[1],"id":[1537],"inputmode":[1],"invalid":[4],"list":[1],"max":[8],"min":[8],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"prefixIcon":[1,"prefix-icon"],"prefixIconClickable":[4,"prefix-icon-clickable"],"suffixIcon":[1025,"suffix-icon"],"suffixIconClickable":[1028,"suffix-icon-clickable"],"readOnly":[4,"read-only"],"required":[4],"size":[2],"spellcheck":[4],"step":[8],"tabIndex":[2,"tab-index"],"type":[1],"valid":[4],"value":[1025],"hasFocus":[32],"setFocus":[64]}]]],["lu-side-menu.cjs",[[1,"lu-side-menu",{"color":[1],"isVisible":[1028,"is-visible"],"isCollapsible":[1540,"is-collapsible"],"isCollapsed":[1540,"is-collapsed"],"hasBoxShadow":[4,"has-box-shadow"],"externallyManaged":[4,"externally-managed"],"makeVisible":[64],"isHidden":[64],"collapsedHandler":[64]},[[0,"keydown","handleEscape"]]]]],["lu-toggle.cjs",[[1,"lu-toggle",{"startSelected":[1028,"start-selected"],"startText":[1,"start-text"],"startValue":[8,"start-value"],"endText":[1,"end-text"],"endValue":[8,"end-value"],"value":[1032]}]]],["lu-button.cjs",[[1,"lu-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"href":[1],"shape":[513],"size":[513],"strong":[4],"type":[1],"keyFocus":[32]}]]],["lu-card.cjs",[[1,"lu-card",{"color":[1]}]]],["lu-card-buttons.cjs",[[1,"lu-card-buttons"]]],["lu-card-content.cjs",[[0,"lu-card-content"]]],["lu-card-footer.cjs",[[1,"lu-card-footer",{"color":[1],"translucent":[4]}]]],["lu-card-header.cjs",[[1,"lu-card-header",{"color":[1],"translucent":[4]}]]],["lu-card-title.cjs",[[1,"lu-card-title",{"color":[1]}]]],["lu-checkbox.cjs",[[1,"lu-checkbox",{"color":[1],"name":[1],"labeledById":[1,"labeled-by-id"],"checked":[1028],"disabled":[4],"isExternallyManaged":[4,"is-externally-managed"],"value":[8],"keyFocus":[32],"hasFocus":[32]}]]],["lu-checkbox-group.cjs",[[4,"lu-checkbox-group",{"direction":[1],"id":[1537],"name":[1],"required":[4],"value":[1040],"setFocus":[64],"getValues":[64]},[[0,"luCheckboxDidLoad","onCheckboxDidLoad"],[0,"luCheckboxDidUnload","onCheckboxDidUnload"]]]]],["lu-col.cjs",[[1,"lu-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["lu-fab.cjs",[[1,"lu-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]},[[0,"click","onClick"]]]]],["lu-fab-list.cjs",[[1,"lu-fab-list",{"activated":[4],"side":[1]}]]],["lu-form-validation.cjs",[[0,"lu-form-validation",{"value":[1040],"isValid":[1540,"is-valid"],"isInvalid":[1540,"is-invalid"],"formGroups":[32]},[[0,"luFormGroupDidLoad","onFormGroupDidLoad"],[0,"luFormGroupDidUnload","onFormGroupDidUnload"]]]]],["lu-grid.cjs",[[1,"lu-grid",{"fixed":[4]}]]],["lu-header.cjs",[[1,"lu-header",{"color":[1],"preHeader":[4,"pre-header"]}]]],["lu-radio.cjs",[[1,"lu-radio",{"color":[1],"labeledById":[1,"labeled-by-id"],"name":[1],"disabled":[4],"checked":[1028],"value":[1032],"hasFocus":[32]},[[0,"click","onClick"]]]]],["lu-radio-group.cjs",[[0,"lu-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"direction":[1],"id":[1537],"name":[1],"required":[4],"value":[1032],"setFocus":[64]},[[0,"luRadioDidLoad","onRadioDidLoad"],[0,"luRadioDidUnload","onRadioDidUnload"],[0,"luSelect","onRadioSelect"],[0,"luDeselect","onRadioDeselect"]]]]],["lu-row.cjs",[[1,"lu-row"]]],["lu-select.cjs",[[1,"lu-select",{"id":[1537],"color":[1],"invalid":[4],"name":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"placeholder":[1],"helpText":[1,"help-text"],"selectedValue":[1025,"selected-value"],"showPlaceholderOption":[4,"show-placeholder-option"],"required":[4],"options":[1040],"valid":[4],"isValid":[32],"setFocus":[64]}]]],["lu-skeleton-text.cjs",[[1,"lu-skeleton-text",{"width":[1]}]]],["lu-spinner.cjs",[[1,"lu-spinner",{"dataColor":[1,"data-color"],"dataScale":[2,"data-scale"],"dataDuration":[2,"data-duration"],"dataPaused":[4,"data-paused"],"dataHidden":[4,"data-hidden"],"dataMessage":[1,"data-message"]}]]],["lu-tab.cjs",[[1,"lu-tab",{"active":[1028],"labeledById":[1025,"labeled-by-id"],"name":[8],"noSlide":[4,"no-slide"]},[[0,"click","onClick"]]]]],["lu-tabs.cjs",[[1,"lu-tabs",{"value":[1025],"noSlide":[4,"no-slide"],"tabs":[32],"tabIncrement":[32],"pos":[32],"left":[32],"width":[32],"elementResized":[64]},[[0,"luTabDidLoad","onTabDidLoad"],[0,"luTabDidUnload","onTabDidUnload"],[0,"luTabSelect","onTabSelect"]]]]],["mylu-breakpoints.cjs",[[1,"mylu-breakpoints",{"sm":[2],"md":[2],"lg":[2],"xl":[2],"currentBreakpoint":[32],"currentWidth":[32],"currentHeight":[32]},[[9,"resize","onResize"]]]]],["lu-img.cjs",[[1,"lu-img",{"alt":[1],"src":[1],"loadSrc":[32]}]]],["lu-label.cjs",[[6,"lu-label",{"color":[1],"labelText":[1,"label-text"],"required":[4],"optional":[4],"forId":[513,"for-id"],"id":[1537],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"]}]]],["lu-icon_6.cjs",[[0,"mylu-set-menu",{"sets":[1040],"activeSetId":[2,"active-set-id"],"canReorder":[4,"can-reorder"],"orderedSets":[32]},[[0,"luSelectedSetUpdated","onLuSelectedSet"],[0,"luReorderSet","onLuReorderSet"]]],[1,"mylu-set",{"canReorder":[4,"can-reorder"],"setId":[2,"set-id"],"isActive":[1028,"is-active"],"showActiveBar":[4,"show-active-bar"],"setTitle":[1,"set-title"],"order":[2],"isReordering":[4,"is-reordering"],"translationTracker":[2,"translation-tracker"]},[[0,"click","onClick"]]],[1,"mylu-set-menu-bar",{"color":[1],"selectedSet":[1026,"selected-set"],"sets":[32],"cloneSets":[32],"circleDragging":[32],"selectedItemHeight":[32],"isTransitioning":[32],"transitioningTimeout":[32],"lastToIndex":[32]},[[0,"luSetDidLoad","onSetDidLoad"],[0,"luSetDidUnload","onSetDidUnload"],[2,"circleDragStart","onCircleDragStart"],[0,"circleDragEnd","onCircleDragEnd"],[0,"luSelect","onSetSelection"],[1,"drag","onMouseMove"]]],[1,"mylu-dot",{"backgroundColor":[1,"background-color"],"isActionable":[4,"is-actionable"]}],[1,"mylu-circle",{"backgroundColor":[1,"background-color"],"isActionable":[4,"is-actionable"],"isOutline":[4,"is-outline"],"isDraggable":[4,"is-draggable"],"setId":[2,"set-id"],"hideDecorators":[4,"hide-decorators"],"isDragging":[32]},[[3,"dragstart","onDragStart"],[2,"dragend","onDragEnd"]]],[1,"lu-icon",{"color":[1],"mode":[1],"ariaLabel":[1537,"aria-label"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[1],"size":[1],"svgContent":[32],"isVisible":[32]}]]]], options); | ||
__chunk_1.bootstrapLazy([["mylu-avatar.cjs",[[0,"mylu-avatar",{"showNotification":[4,"show-notification"],"showAction":[4,"show-action"],"actionIcon":[1,"action-icon"],"circleBackgroundColor":[1,"circle-background-color"],"notificationBackgroundColor":[1,"notification-background-color"],"actionBackgroundColor":[1,"action-background-color"],"imgUrl":[1,"img-url"],"isActionable":[4,"is-actionable"],"imgLoaded":[32]}]]],["lu-card-image.cjs",[[1,"lu-card-image",{"altText":[1,"alt-text"],"iconColor":[1,"icon-color"],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"isIcon":[4,"is-icon"],"src":[1]}]]],["lu-fab-button.cjs",[[1,"lu-fab-button",{"color":[1],"activated":[4],"disabled":[4],"href":[1],"isExternallyManaged":[4,"is-externally-managed"],"show":[1028],"selected":[1028],"toggleButton":[4,"toggle-button"],"translucent":[4],"type":[1],"size":[1],"value":[8],"keyFocus":[32]}]]],["lu-form-group.cjs",[[1,"lu-form-group",{"clearErrorStateOnClearInput":[4,"clear-error-state-on-clear-input"],"clearInput":[4,"clear-input"],"color":[1],"clearOnEdit":[1028,"clear-on-edit"],"errorMessage":[1025,"error-message"],"externallyDeemedValid":[1028,"externally-deemed-valid"],"externallyDeemedInvalid":[1028,"externally-deemed-invalid"],"forId":[1025,"for-id"],"helperText":[1,"helper-text"],"id":[1537],"isExternallyValidated":[4,"is-externally-validated"],"isValidatedOnSubmission":[4,"is-validated-on-submission"],"labelText":[1,"label-text"],"updateTrigger":[1,"update-trigger"],"value":[32],"isCheckboxGroup":[32],"isValid":[32],"isInvalid":[32],"isSelect":[32],"isRadioGroup":[32],"isRequired":[32],"needsEmailValidation":[32],"needsPatternValidation":[32],"needsPasswordValidation":[32],"pattern":[32],"isInput":[32],"getValidationValues":[64]}]]],["lu-input.cjs",[[1,"lu-input",{"accept":[1],"autocomplete":[1],"autocapitalize":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[1028,"clear-on-edit"],"capture":[1],"checked":[4],"color":[1],"debounce":[2],"disabled":[4],"form":[1],"id":[1537],"inputmode":[1],"invalid":[4],"list":[1],"max":[8],"min":[8],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"prefixIcon":[1,"prefix-icon"],"prefixIconClickable":[4,"prefix-icon-clickable"],"suffixIcon":[1025,"suffix-icon"],"suffixIconClickable":[1028,"suffix-icon-clickable"],"readOnly":[4,"read-only"],"required":[4],"size":[2],"spellcheck":[4],"step":[8],"tabIndex":[2,"tab-index"],"type":[1],"valid":[4],"value":[1025],"hasFocus":[32],"setFocus":[64]}]]],["lu-side-menu.cjs",[[1,"lu-side-menu",{"color":[1],"isVisible":[1028,"is-visible"],"isCollapsible":[1540,"is-collapsible"],"isCollapsed":[1540,"is-collapsed"],"hasBoxShadow":[4,"has-box-shadow"],"externallyManaged":[4,"externally-managed"],"makeVisible":[64],"isHidden":[64],"collapsedHandler":[64]},[[0,"keydown","handleEscape"]]]]],["lu-toggle.cjs",[[1,"lu-toggle",{"startSelected":[1028,"start-selected"],"startText":[1,"start-text"],"startValue":[8,"start-value"],"endText":[1,"end-text"],"endValue":[8,"end-value"],"value":[1032]}]]],["lu-button.cjs",[[1,"lu-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"href":[1],"shape":[513],"size":[513],"strong":[4],"type":[1],"keyFocus":[32]}]]],["lu-card.cjs",[[1,"lu-card",{"color":[1]}]]],["lu-card-buttons.cjs",[[1,"lu-card-buttons"]]],["lu-card-content.cjs",[[0,"lu-card-content"]]],["lu-card-footer.cjs",[[1,"lu-card-footer",{"color":[1],"translucent":[4]}]]],["lu-card-header.cjs",[[1,"lu-card-header",{"color":[1],"translucent":[4]}]]],["lu-card-title.cjs",[[1,"lu-card-title",{"color":[1]}]]],["lu-checkbox.cjs",[[1,"lu-checkbox",{"color":[1],"name":[1],"labeledById":[1,"labeled-by-id"],"checked":[1028],"disabled":[4],"isExternallyManaged":[4,"is-externally-managed"],"value":[8],"keyFocus":[32],"hasFocus":[32]}]]],["lu-checkbox-group.cjs",[[4,"lu-checkbox-group",{"direction":[1],"id":[1537],"name":[1],"required":[4],"value":[1040],"setFocus":[64],"getValues":[64]},[[0,"luCheckboxDidLoad","onCheckboxDidLoad"],[0,"luCheckboxDidUnload","onCheckboxDidUnload"]]]]],["lu-col.cjs",[[1,"lu-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["lu-fab.cjs",[[1,"lu-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]},[[0,"click","onClick"]]]]],["lu-fab-list.cjs",[[1,"lu-fab-list",{"activated":[4],"side":[1]}]]],["lu-form-validation.cjs",[[0,"lu-form-validation",{"value":[1040],"isValid":[1540,"is-valid"],"isInvalid":[1540,"is-invalid"],"formGroups":[32]},[[0,"luFormGroupDidLoad","onFormGroupDidLoad"],[0,"luFormGroupDidUnload","onFormGroupDidUnload"]]]]],["lu-grid.cjs",[[1,"lu-grid",{"fixed":[4]}]]],["lu-header.cjs",[[1,"lu-header",{"color":[1],"preHeader":[4,"pre-header"]}]]],["lu-radio.cjs",[[1,"lu-radio",{"color":[1],"labeledById":[1,"labeled-by-id"],"name":[1],"disabled":[4],"checked":[1028],"value":[1032],"hasFocus":[32]},[[0,"click","onClick"]]]]],["lu-radio-group.cjs",[[0,"lu-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"direction":[1],"id":[1537],"name":[1],"required":[4],"value":[1032],"setFocus":[64]},[[0,"luRadioDidLoad","onRadioDidLoad"],[0,"luRadioDidUnload","onRadioDidUnload"],[0,"luSelect","onRadioSelect"],[0,"luDeselect","onRadioDeselect"]]]]],["lu-row.cjs",[[1,"lu-row"]]],["lu-select.cjs",[[1,"lu-select",{"id":[1537],"color":[1],"invalid":[4],"name":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"placeholder":[1],"helpText":[1,"help-text"],"selectedValue":[1025,"selected-value"],"showPlaceholderOption":[4,"show-placeholder-option"],"required":[4],"options":[1040],"valid":[4],"isValid":[32],"setFocus":[64]}]]],["lu-skeleton-text.cjs",[[1,"lu-skeleton-text",{"width":[1]}]]],["lu-spinner.cjs",[[1,"lu-spinner",{"dataColor":[1,"data-color"],"dataScale":[2,"data-scale"],"dataDuration":[2,"data-duration"],"dataPaused":[4,"data-paused"],"dataHidden":[4,"data-hidden"],"dataMessage":[1,"data-message"]}]]],["lu-tab.cjs",[[1,"lu-tab",{"active":[1028],"labeledById":[1025,"labeled-by-id"],"name":[8],"noSlide":[4,"no-slide"]},[[0,"click","onClick"]]]]],["lu-tabs.cjs",[[1,"lu-tabs",{"value":[1025],"noSlide":[4,"no-slide"],"tabs":[32],"tabIncrement":[32],"pos":[32],"left":[32],"width":[32],"elementResized":[64]},[[0,"luTabDidLoad","onTabDidLoad"],[0,"luTabDidUnload","onTabDidUnload"],[0,"luTabSelect","onTabSelect"]]]]],["mylu-breakpoints.cjs",[[1,"mylu-breakpoints",{"sm":[2],"md":[2],"lg":[2],"xl":[2],"currentBreakpoint":[32],"currentWidth":[32],"currentHeight":[32]},[[9,"resize","onResize"]]]]],["lu-img.cjs",[[1,"lu-img",{"alt":[1],"src":[1],"loadSrc":[32]}]]],["lu-label.cjs",[[6,"lu-label",{"color":[1],"labelText":[1,"label-text"],"required":[4],"optional":[4],"forId":[513,"for-id"],"id":[1537],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"]}]]],["lu-icon_6.cjs",[[0,"mylu-set-menu",{"sets":[1040],"activeSetId":[1026,"active-set-id"],"canReorder":[4,"can-reorder"],"orderedSets":[32]},[[0,"luSelectedSetUpdated","onLuSelectedSet"],[0,"luReorderSet","onLuReorderSet"]]],[1,"mylu-set",{"canReorder":[4,"can-reorder"],"setId":[2,"set-id"],"isActive":[1028,"is-active"],"showActiveBar":[4,"show-active-bar"],"setTitle":[1,"set-title"],"order":[2],"isReordering":[4,"is-reordering"],"translationTracker":[2,"translation-tracker"]},[[0,"click","onClick"]]],[1,"mylu-set-menu-bar",{"color":[1],"selectedSet":[1026,"selected-set"],"cloneSets":[32],"circleDragging":[32],"selectedItemHeight":[32],"isTransitioning":[32],"transitioningTimeout":[32],"lastToIndex":[32]},[[2,"circleDragStart","onCircleDragStart"],[0,"circleDragEnd","onCircleDragEnd"],[0,"luSelect","onSetSelection"],[1,"drag","onMouseMove"]]],[1,"mylu-dot",{"backgroundColor":[1,"background-color"],"isActionable":[4,"is-actionable"]}],[1,"mylu-circle",{"backgroundColor":[1,"background-color"],"isActionable":[4,"is-actionable"],"isOutline":[4,"is-outline"],"isDraggable":[4,"is-draggable"],"setId":[2,"set-id"],"hideDecorators":[4,"hide-decorators"],"isDragging":[32]},[[3,"dragstart","onDragStart"],[2,"dragend","onDragEnd"]]],[1,"lu-icon",{"color":[1],"mode":[1],"ariaLabel":[1537,"aria-label"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[1],"size":[1],"svgContent":[32],"isVisible":[32]}]]]], options); | ||
}); | ||
@@ -12,0 +12,0 @@ }; |
@@ -325,2 +325,4 @@ 'use strict'; | ||
componentDidLoad() { | ||
console.log(this.setId); | ||
console.log(this.isActive); | ||
this.luSetDidLoad.emit(); | ||
@@ -354,3 +356,2 @@ } | ||
__chunk_1.registerInstance(this, hostRef); | ||
this.iterationCount = 0; | ||
this.orderedSets = []; | ||
@@ -362,3 +363,3 @@ /** | ||
this.renderSets = (set) => { | ||
return (__chunk_1.h("mylu-set", { setTitle: set.title, setId: set.setId, isActive: set.setId === this.activeSetId, order: set.order, canReorder: set.canReorder && this.canReorder }, __chunk_1.h("mylu-circle", { isDraggable: set.canReorder && this.canReorder, backgroundColor: set.isTransparent ? null : 'white', setId: set.setId }, set.showNotification ? (__chunk_1.h("mylu-dot", { slot: "notification", backgroundColor: "mylu_danger" }, set.notificationCount ? (__chunk_1.h("span", null, set.notificationCount)) : (__chunk_1.h("lu-icon", { name: "lu-notification-dot" })))) : null, __chunk_1.h("lu-icon", { color: set.color, name: set.icon })))); | ||
return (__chunk_1.h("mylu-set", { setTitle: set.title, setId: set.setId, isActive: set.setId === this.activeSetId, order: set.order, canReorder: set.canReorder && this.canReorder, key: set.setId + "-" + set.order + "-" + set.showNotification + "-" + set.notificationCount }, __chunk_1.h("mylu-circle", { isDraggable: set.canReorder && this.canReorder, backgroundColor: set.isTransparent ? null : 'white', setId: set.setId }, set.showNotification ? (__chunk_1.h("mylu-dot", { slot: "notification", backgroundColor: "mylu_danger" }, set.notificationCount ? (__chunk_1.h("span", null, set.notificationCount)) : (__chunk_1.h("lu-icon", { name: "lu-notification-dot" })))) : null, __chunk_1.h("lu-icon", { color: set.color, name: set.icon })))); | ||
}; | ||
@@ -378,7 +379,6 @@ this.luSelectedSet = __chunk_1.createEvent(this, "luSelectedSet", 7); | ||
this.orderedSets = [...newValue.sort((setA, setB) => setA.order - setB.order)]; | ||
this.iterationCount++; | ||
console.log(this.iterationCount); | ||
} | ||
} | ||
onLuSelectedSet({ detail }) { | ||
this.activeSetId = detail.setId; | ||
this.luSelectedSet.emit(detail); | ||
@@ -411,2 +411,3 @@ } | ||
} | ||
get setMenuEl() { return __chunk_1.getElement(this); } | ||
static get watchers() { return { | ||
@@ -421,3 +422,2 @@ "sets": ["setsUpdate"] | ||
__chunk_1.registerInstance(this, hostRef); | ||
this.sets = []; | ||
this.cloneSets = []; | ||
@@ -432,7 +432,9 @@ this.circleDragging = null; | ||
onCircleDragging(newValue, oldValue) { | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
if (newValue !== null) { | ||
this.sets.filter(set => set.setId === this.circleDragging.setId)[0].isReordering = true; | ||
active.filter(set => set.setId === this.circleDragging.setId)[0].isReordering = true; | ||
} | ||
else { | ||
this.sets.filter(set => set.setId === oldValue.setId)[0].isReordering = false; | ||
active.filter(set => set.setId === oldValue.setId)[0].isReordering = false; | ||
} | ||
@@ -446,25 +448,7 @@ } | ||
} | ||
onSetDidLoad(ev) { | ||
const set = ev.target; | ||
// add set to internal list | ||
this.sets.push(set); | ||
// this group does not have a value | ||
// but this set is selected, so let's set the | ||
// group value from the selected set | ||
if (!this.selectedSet && set.isActive) { | ||
this.selectedSet = set.setId; | ||
} | ||
else { | ||
this.updateSets(); | ||
} | ||
} | ||
onSetDidUnload(ev) { | ||
const index = this.sets.indexOf(ev.target); | ||
if (index > -1) { | ||
this.sets.splice(index, 1); | ||
} | ||
} | ||
onCircleDragStart(ev) { | ||
this.circleDragging = ev.target; | ||
this.selectedItemHeight = this.sets | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
this.selectedItemHeight = active | ||
.filter(set => set.setId === this.circleDragging.setId)[0] | ||
@@ -474,2 +458,4 @@ .shadowRoot.querySelector('.container').scrollHeight; | ||
onCircleDragEnd(ev) { | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
if (this.circleDragging && this.circleDragging.setId === ev.target.setId) { | ||
@@ -482,6 +468,18 @@ const update = this.cloneSets.map(set => { | ||
}); | ||
setTimeout(() => { | ||
this.luReorderSet.emit(update); | ||
}, 300); | ||
active.forEach((set) => { | ||
set.translationTracker = 0; | ||
set.style['transform'] = ``; | ||
}); | ||
this.luReorderSet.emit(update); | ||
this.circleDragging = null; | ||
/* const children = this.setMenuBar.children as any; | ||
const toIndex = this.lastToIndex; | ||
const fromIndex = this.sets.filter(subSet => subSet.setId === this.circleDragging.setId) | ||
const ref = (fromIndex < toIndex) | ||
? children[toIndex + 1] | ||
: children[toIndex]; | ||
this.setMenuBar.insertBefore(this.circleDragging, ref);*/ | ||
this.selectedItemHeight = null; | ||
this.cloneSets = []; | ||
} | ||
@@ -551,5 +549,7 @@ } | ||
updateSets() { | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
const setId = this.selectedSet; | ||
let hasSelected = false; | ||
for (const set of this.sets) { | ||
for (const set of active) { | ||
if (!hasSelected && set.setId === setId) { | ||
@@ -556,0 +556,0 @@ // correct value for this set |
@@ -6,3 +6,3 @@ 'use strict'; | ||
__chunk_1.patchBrowser().then(resourcesUrl => { | ||
return __chunk_1.bootstrapLazy([["mylu-avatar.cjs",[[0,"mylu-avatar",{"showNotification":[4,"show-notification"],"showAction":[4,"show-action"],"actionIcon":[1,"action-icon"],"circleBackgroundColor":[1,"circle-background-color"],"notificationBackgroundColor":[1,"notification-background-color"],"actionBackgroundColor":[1,"action-background-color"],"imgUrl":[1,"img-url"],"isActionable":[4,"is-actionable"],"imgLoaded":[32]}]]],["lu-card-image.cjs",[[1,"lu-card-image",{"altText":[1,"alt-text"],"iconColor":[1,"icon-color"],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"isIcon":[4,"is-icon"],"src":[1]}]]],["lu-fab-button.cjs",[[1,"lu-fab-button",{"color":[1],"activated":[4],"disabled":[4],"href":[1],"isExternallyManaged":[4,"is-externally-managed"],"show":[1028],"selected":[1028],"toggleButton":[4,"toggle-button"],"translucent":[4],"type":[1],"size":[1],"value":[8],"keyFocus":[32]}]]],["lu-form-group.cjs",[[1,"lu-form-group",{"clearErrorStateOnClearInput":[4,"clear-error-state-on-clear-input"],"clearInput":[4,"clear-input"],"color":[1],"clearOnEdit":[1028,"clear-on-edit"],"errorMessage":[1025,"error-message"],"externallyDeemedValid":[1028,"externally-deemed-valid"],"externallyDeemedInvalid":[1028,"externally-deemed-invalid"],"forId":[1025,"for-id"],"helperText":[1,"helper-text"],"id":[1537],"isExternallyValidated":[4,"is-externally-validated"],"isValidatedOnSubmission":[4,"is-validated-on-submission"],"labelText":[1,"label-text"],"updateTrigger":[1,"update-trigger"],"value":[32],"isCheckboxGroup":[32],"isValid":[32],"isInvalid":[32],"isSelect":[32],"isRadioGroup":[32],"isRequired":[32],"needsEmailValidation":[32],"needsPatternValidation":[32],"needsPasswordValidation":[32],"pattern":[32],"isInput":[32],"getValidationValues":[64]}]]],["lu-input.cjs",[[1,"lu-input",{"accept":[1],"autocomplete":[1],"autocapitalize":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[1028,"clear-on-edit"],"capture":[1],"checked":[4],"color":[1],"debounce":[2],"disabled":[4],"form":[1],"id":[1537],"inputmode":[1],"invalid":[4],"list":[1],"max":[8],"min":[8],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"prefixIcon":[1,"prefix-icon"],"prefixIconClickable":[4,"prefix-icon-clickable"],"suffixIcon":[1025,"suffix-icon"],"suffixIconClickable":[1028,"suffix-icon-clickable"],"readOnly":[4,"read-only"],"required":[4],"size":[2],"spellcheck":[4],"step":[8],"tabIndex":[2,"tab-index"],"type":[1],"valid":[4],"value":[1025],"hasFocus":[32],"setFocus":[64]}]]],["lu-side-menu.cjs",[[1,"lu-side-menu",{"color":[1],"isVisible":[1028,"is-visible"],"isCollapsible":[1540,"is-collapsible"],"isCollapsed":[1540,"is-collapsed"],"hasBoxShadow":[4,"has-box-shadow"],"externallyManaged":[4,"externally-managed"],"makeVisible":[64],"isHidden":[64],"collapsedHandler":[64]},[[0,"keydown","handleEscape"]]]]],["lu-toggle.cjs",[[1,"lu-toggle",{"startSelected":[1028,"start-selected"],"startText":[1,"start-text"],"startValue":[8,"start-value"],"endText":[1,"end-text"],"endValue":[8,"end-value"],"value":[1032]}]]],["lu-button.cjs",[[1,"lu-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"href":[1],"shape":[513],"size":[513],"strong":[4],"type":[1],"keyFocus":[32]}]]],["lu-card.cjs",[[1,"lu-card",{"color":[1]}]]],["lu-card-buttons.cjs",[[1,"lu-card-buttons"]]],["lu-card-content.cjs",[[0,"lu-card-content"]]],["lu-card-footer.cjs",[[1,"lu-card-footer",{"color":[1],"translucent":[4]}]]],["lu-card-header.cjs",[[1,"lu-card-header",{"color":[1],"translucent":[4]}]]],["lu-card-title.cjs",[[1,"lu-card-title",{"color":[1]}]]],["lu-checkbox.cjs",[[1,"lu-checkbox",{"color":[1],"name":[1],"labeledById":[1,"labeled-by-id"],"checked":[1028],"disabled":[4],"isExternallyManaged":[4,"is-externally-managed"],"value":[8],"keyFocus":[32],"hasFocus":[32]}]]],["lu-checkbox-group.cjs",[[4,"lu-checkbox-group",{"direction":[1],"id":[1537],"name":[1],"required":[4],"value":[1040],"setFocus":[64],"getValues":[64]},[[0,"luCheckboxDidLoad","onCheckboxDidLoad"],[0,"luCheckboxDidUnload","onCheckboxDidUnload"]]]]],["lu-col.cjs",[[1,"lu-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["lu-fab.cjs",[[1,"lu-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]},[[0,"click","onClick"]]]]],["lu-fab-list.cjs",[[1,"lu-fab-list",{"activated":[4],"side":[1]}]]],["lu-form-validation.cjs",[[0,"lu-form-validation",{"value":[1040],"isValid":[1540,"is-valid"],"isInvalid":[1540,"is-invalid"],"formGroups":[32]},[[0,"luFormGroupDidLoad","onFormGroupDidLoad"],[0,"luFormGroupDidUnload","onFormGroupDidUnload"]]]]],["lu-grid.cjs",[[1,"lu-grid",{"fixed":[4]}]]],["lu-header.cjs",[[1,"lu-header",{"color":[1],"preHeader":[4,"pre-header"]}]]],["lu-radio.cjs",[[1,"lu-radio",{"color":[1],"labeledById":[1,"labeled-by-id"],"name":[1],"disabled":[4],"checked":[1028],"value":[1032],"hasFocus":[32]},[[0,"click","onClick"]]]]],["lu-radio-group.cjs",[[0,"lu-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"direction":[1],"id":[1537],"name":[1],"required":[4],"value":[1032],"setFocus":[64]},[[0,"luRadioDidLoad","onRadioDidLoad"],[0,"luRadioDidUnload","onRadioDidUnload"],[0,"luSelect","onRadioSelect"],[0,"luDeselect","onRadioDeselect"]]]]],["lu-row.cjs",[[1,"lu-row"]]],["lu-select.cjs",[[1,"lu-select",{"id":[1537],"color":[1],"invalid":[4],"name":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"placeholder":[1],"helpText":[1,"help-text"],"selectedValue":[1025,"selected-value"],"showPlaceholderOption":[4,"show-placeholder-option"],"required":[4],"options":[1040],"valid":[4],"isValid":[32],"setFocus":[64]}]]],["lu-skeleton-text.cjs",[[1,"lu-skeleton-text",{"width":[1]}]]],["lu-spinner.cjs",[[1,"lu-spinner",{"dataColor":[1,"data-color"],"dataScale":[2,"data-scale"],"dataDuration":[2,"data-duration"],"dataPaused":[4,"data-paused"],"dataHidden":[4,"data-hidden"],"dataMessage":[1,"data-message"]}]]],["lu-tab.cjs",[[1,"lu-tab",{"active":[1028],"labeledById":[1025,"labeled-by-id"],"name":[8],"noSlide":[4,"no-slide"]},[[0,"click","onClick"]]]]],["lu-tabs.cjs",[[1,"lu-tabs",{"value":[1025],"noSlide":[4,"no-slide"],"tabs":[32],"tabIncrement":[32],"pos":[32],"left":[32],"width":[32],"elementResized":[64]},[[0,"luTabDidLoad","onTabDidLoad"],[0,"luTabDidUnload","onTabDidUnload"],[0,"luTabSelect","onTabSelect"]]]]],["mylu-breakpoints.cjs",[[1,"mylu-breakpoints",{"sm":[2],"md":[2],"lg":[2],"xl":[2],"currentBreakpoint":[32],"currentWidth":[32],"currentHeight":[32]},[[9,"resize","onResize"]]]]],["lu-img.cjs",[[1,"lu-img",{"alt":[1],"src":[1],"loadSrc":[32]}]]],["lu-label.cjs",[[6,"lu-label",{"color":[1],"labelText":[1,"label-text"],"required":[4],"optional":[4],"forId":[513,"for-id"],"id":[1537],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"]}]]],["lu-icon_6.cjs",[[0,"mylu-set-menu",{"sets":[1040],"activeSetId":[2,"active-set-id"],"canReorder":[4,"can-reorder"],"orderedSets":[32]},[[0,"luSelectedSetUpdated","onLuSelectedSet"],[0,"luReorderSet","onLuReorderSet"]]],[1,"mylu-set",{"canReorder":[4,"can-reorder"],"setId":[2,"set-id"],"isActive":[1028,"is-active"],"showActiveBar":[4,"show-active-bar"],"setTitle":[1,"set-title"],"order":[2],"isReordering":[4,"is-reordering"],"translationTracker":[2,"translation-tracker"]},[[0,"click","onClick"]]],[1,"mylu-set-menu-bar",{"color":[1],"selectedSet":[1026,"selected-set"],"sets":[32],"cloneSets":[32],"circleDragging":[32],"selectedItemHeight":[32],"isTransitioning":[32],"transitioningTimeout":[32],"lastToIndex":[32]},[[0,"luSetDidLoad","onSetDidLoad"],[0,"luSetDidUnload","onSetDidUnload"],[2,"circleDragStart","onCircleDragStart"],[0,"circleDragEnd","onCircleDragEnd"],[0,"luSelect","onSetSelection"],[1,"drag","onMouseMove"]]],[1,"mylu-dot",{"backgroundColor":[1,"background-color"],"isActionable":[4,"is-actionable"]}],[1,"mylu-circle",{"backgroundColor":[1,"background-color"],"isActionable":[4,"is-actionable"],"isOutline":[4,"is-outline"],"isDraggable":[4,"is-draggable"],"setId":[2,"set-id"],"hideDecorators":[4,"hide-decorators"],"isDragging":[32]},[[3,"dragstart","onDragStart"],[2,"dragend","onDragEnd"]]],[1,"lu-icon",{"color":[1],"mode":[1],"ariaLabel":[1537,"aria-label"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[1],"size":[1],"svgContent":[32],"isVisible":[32]}]]]], { resourcesUrl }); | ||
return __chunk_1.bootstrapLazy([["mylu-avatar.cjs",[[0,"mylu-avatar",{"showNotification":[4,"show-notification"],"showAction":[4,"show-action"],"actionIcon":[1,"action-icon"],"circleBackgroundColor":[1,"circle-background-color"],"notificationBackgroundColor":[1,"notification-background-color"],"actionBackgroundColor":[1,"action-background-color"],"imgUrl":[1,"img-url"],"isActionable":[4,"is-actionable"],"imgLoaded":[32]}]]],["lu-card-image.cjs",[[1,"lu-card-image",{"altText":[1,"alt-text"],"iconColor":[1,"icon-color"],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"isIcon":[4,"is-icon"],"src":[1]}]]],["lu-fab-button.cjs",[[1,"lu-fab-button",{"color":[1],"activated":[4],"disabled":[4],"href":[1],"isExternallyManaged":[4,"is-externally-managed"],"show":[1028],"selected":[1028],"toggleButton":[4,"toggle-button"],"translucent":[4],"type":[1],"size":[1],"value":[8],"keyFocus":[32]}]]],["lu-form-group.cjs",[[1,"lu-form-group",{"clearErrorStateOnClearInput":[4,"clear-error-state-on-clear-input"],"clearInput":[4,"clear-input"],"color":[1],"clearOnEdit":[1028,"clear-on-edit"],"errorMessage":[1025,"error-message"],"externallyDeemedValid":[1028,"externally-deemed-valid"],"externallyDeemedInvalid":[1028,"externally-deemed-invalid"],"forId":[1025,"for-id"],"helperText":[1,"helper-text"],"id":[1537],"isExternallyValidated":[4,"is-externally-validated"],"isValidatedOnSubmission":[4,"is-validated-on-submission"],"labelText":[1,"label-text"],"updateTrigger":[1,"update-trigger"],"value":[32],"isCheckboxGroup":[32],"isValid":[32],"isInvalid":[32],"isSelect":[32],"isRadioGroup":[32],"isRequired":[32],"needsEmailValidation":[32],"needsPatternValidation":[32],"needsPasswordValidation":[32],"pattern":[32],"isInput":[32],"getValidationValues":[64]}]]],["lu-input.cjs",[[1,"lu-input",{"accept":[1],"autocomplete":[1],"autocapitalize":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[1028,"clear-on-edit"],"capture":[1],"checked":[4],"color":[1],"debounce":[2],"disabled":[4],"form":[1],"id":[1537],"inputmode":[1],"invalid":[4],"list":[1],"max":[8],"min":[8],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"prefixIcon":[1,"prefix-icon"],"prefixIconClickable":[4,"prefix-icon-clickable"],"suffixIcon":[1025,"suffix-icon"],"suffixIconClickable":[1028,"suffix-icon-clickable"],"readOnly":[4,"read-only"],"required":[4],"size":[2],"spellcheck":[4],"step":[8],"tabIndex":[2,"tab-index"],"type":[1],"valid":[4],"value":[1025],"hasFocus":[32],"setFocus":[64]}]]],["lu-side-menu.cjs",[[1,"lu-side-menu",{"color":[1],"isVisible":[1028,"is-visible"],"isCollapsible":[1540,"is-collapsible"],"isCollapsed":[1540,"is-collapsed"],"hasBoxShadow":[4,"has-box-shadow"],"externallyManaged":[4,"externally-managed"],"makeVisible":[64],"isHidden":[64],"collapsedHandler":[64]},[[0,"keydown","handleEscape"]]]]],["lu-toggle.cjs",[[1,"lu-toggle",{"startSelected":[1028,"start-selected"],"startText":[1,"start-text"],"startValue":[8,"start-value"],"endText":[1,"end-text"],"endValue":[8,"end-value"],"value":[1032]}]]],["lu-button.cjs",[[1,"lu-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"href":[1],"shape":[513],"size":[513],"strong":[4],"type":[1],"keyFocus":[32]}]]],["lu-card.cjs",[[1,"lu-card",{"color":[1]}]]],["lu-card-buttons.cjs",[[1,"lu-card-buttons"]]],["lu-card-content.cjs",[[0,"lu-card-content"]]],["lu-card-footer.cjs",[[1,"lu-card-footer",{"color":[1],"translucent":[4]}]]],["lu-card-header.cjs",[[1,"lu-card-header",{"color":[1],"translucent":[4]}]]],["lu-card-title.cjs",[[1,"lu-card-title",{"color":[1]}]]],["lu-checkbox.cjs",[[1,"lu-checkbox",{"color":[1],"name":[1],"labeledById":[1,"labeled-by-id"],"checked":[1028],"disabled":[4],"isExternallyManaged":[4,"is-externally-managed"],"value":[8],"keyFocus":[32],"hasFocus":[32]}]]],["lu-checkbox-group.cjs",[[4,"lu-checkbox-group",{"direction":[1],"id":[1537],"name":[1],"required":[4],"value":[1040],"setFocus":[64],"getValues":[64]},[[0,"luCheckboxDidLoad","onCheckboxDidLoad"],[0,"luCheckboxDidUnload","onCheckboxDidUnload"]]]]],["lu-col.cjs",[[1,"lu-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["lu-fab.cjs",[[1,"lu-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]},[[0,"click","onClick"]]]]],["lu-fab-list.cjs",[[1,"lu-fab-list",{"activated":[4],"side":[1]}]]],["lu-form-validation.cjs",[[0,"lu-form-validation",{"value":[1040],"isValid":[1540,"is-valid"],"isInvalid":[1540,"is-invalid"],"formGroups":[32]},[[0,"luFormGroupDidLoad","onFormGroupDidLoad"],[0,"luFormGroupDidUnload","onFormGroupDidUnload"]]]]],["lu-grid.cjs",[[1,"lu-grid",{"fixed":[4]}]]],["lu-header.cjs",[[1,"lu-header",{"color":[1],"preHeader":[4,"pre-header"]}]]],["lu-radio.cjs",[[1,"lu-radio",{"color":[1],"labeledById":[1,"labeled-by-id"],"name":[1],"disabled":[4],"checked":[1028],"value":[1032],"hasFocus":[32]},[[0,"click","onClick"]]]]],["lu-radio-group.cjs",[[0,"lu-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"direction":[1],"id":[1537],"name":[1],"required":[4],"value":[1032],"setFocus":[64]},[[0,"luRadioDidLoad","onRadioDidLoad"],[0,"luRadioDidUnload","onRadioDidUnload"],[0,"luSelect","onRadioSelect"],[0,"luDeselect","onRadioDeselect"]]]]],["lu-row.cjs",[[1,"lu-row"]]],["lu-select.cjs",[[1,"lu-select",{"id":[1537],"color":[1],"invalid":[4],"name":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"placeholder":[1],"helpText":[1,"help-text"],"selectedValue":[1025,"selected-value"],"showPlaceholderOption":[4,"show-placeholder-option"],"required":[4],"options":[1040],"valid":[4],"isValid":[32],"setFocus":[64]}]]],["lu-skeleton-text.cjs",[[1,"lu-skeleton-text",{"width":[1]}]]],["lu-spinner.cjs",[[1,"lu-spinner",{"dataColor":[1,"data-color"],"dataScale":[2,"data-scale"],"dataDuration":[2,"data-duration"],"dataPaused":[4,"data-paused"],"dataHidden":[4,"data-hidden"],"dataMessage":[1,"data-message"]}]]],["lu-tab.cjs",[[1,"lu-tab",{"active":[1028],"labeledById":[1025,"labeled-by-id"],"name":[8],"noSlide":[4,"no-slide"]},[[0,"click","onClick"]]]]],["lu-tabs.cjs",[[1,"lu-tabs",{"value":[1025],"noSlide":[4,"no-slide"],"tabs":[32],"tabIncrement":[32],"pos":[32],"left":[32],"width":[32],"elementResized":[64]},[[0,"luTabDidLoad","onTabDidLoad"],[0,"luTabDidUnload","onTabDidUnload"],[0,"luTabSelect","onTabSelect"]]]]],["mylu-breakpoints.cjs",[[1,"mylu-breakpoints",{"sm":[2],"md":[2],"lg":[2],"xl":[2],"currentBreakpoint":[32],"currentWidth":[32],"currentHeight":[32]},[[9,"resize","onResize"]]]]],["lu-img.cjs",[[1,"lu-img",{"alt":[1],"src":[1],"loadSrc":[32]}]]],["lu-label.cjs",[[6,"lu-label",{"color":[1],"labelText":[1,"label-text"],"required":[4],"optional":[4],"forId":[513,"for-id"],"id":[1537],"invalid":[4],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"]}]]],["lu-icon_6.cjs",[[0,"mylu-set-menu",{"sets":[1040],"activeSetId":[1026,"active-set-id"],"canReorder":[4,"can-reorder"],"orderedSets":[32]},[[0,"luSelectedSetUpdated","onLuSelectedSet"],[0,"luReorderSet","onLuReorderSet"]]],[1,"mylu-set",{"canReorder":[4,"can-reorder"],"setId":[2,"set-id"],"isActive":[1028,"is-active"],"showActiveBar":[4,"show-active-bar"],"setTitle":[1,"set-title"],"order":[2],"isReordering":[4,"is-reordering"],"translationTracker":[2,"translation-tracker"]},[[0,"click","onClick"]]],[1,"mylu-set-menu-bar",{"color":[1],"selectedSet":[1026,"selected-set"],"cloneSets":[32],"circleDragging":[32],"selectedItemHeight":[32],"isTransitioning":[32],"transitioningTimeout":[32],"lastToIndex":[32]},[[2,"circleDragStart","onCircleDragStart"],[0,"circleDragEnd","onCircleDragEnd"],[0,"luSelect","onSetSelection"],[1,"drag","onMouseMove"]]],[1,"mylu-dot",{"backgroundColor":[1,"background-color"],"isActionable":[4,"is-actionable"]}],[1,"mylu-circle",{"backgroundColor":[1,"background-color"],"isActionable":[4,"is-actionable"],"isOutline":[4,"is-outline"],"isDraggable":[4,"is-draggable"],"setId":[2,"set-id"],"hideDecorators":[4,"hide-decorators"],"isDragging":[32]},[[3,"dragstart","onDragStart"],[2,"dragend","onDragEnd"]]],[1,"lu-icon",{"color":[1],"mode":[1],"ariaLabel":[1537,"aria-label"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[1],"size":[1],"svgContent":[32],"isVisible":[32]}]]]], { resourcesUrl }); | ||
}); |
{ | ||
"entries": [ | ||
"components/dot/dot.js", | ||
"components/circle/circle.js", | ||
"components/avatar/avatar.js", | ||
"components/breakpoints/breakpoints.js", | ||
"components/circle/circle.js", | ||
"components/dot/dot.js", | ||
"components/set-menu/set-menu.js", | ||
@@ -8,0 +8,0 @@ "components/set/set.js", |
@@ -5,3 +5,2 @@ import { Host, h } from '@stencil/core'; | ||
constructor() { | ||
this.sets = []; | ||
this.cloneSets = []; | ||
@@ -14,7 +13,9 @@ this.circleDragging = null; | ||
onCircleDragging(newValue, oldValue) { | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
if (newValue !== null) { | ||
this.sets.filter(set => set.setId === this.circleDragging.setId)[0].isReordering = true; | ||
active.filter(set => set.setId === this.circleDragging.setId)[0].isReordering = true; | ||
} | ||
else { | ||
this.sets.filter(set => set.setId === oldValue.setId)[0].isReordering = false; | ||
active.filter(set => set.setId === oldValue.setId)[0].isReordering = false; | ||
} | ||
@@ -28,25 +29,7 @@ } | ||
} | ||
onSetDidLoad(ev) { | ||
const set = ev.target; | ||
// add set to internal list | ||
this.sets.push(set); | ||
// this group does not have a value | ||
// but this set is selected, so let's set the | ||
// group value from the selected set | ||
if (!this.selectedSet && set.isActive) { | ||
this.selectedSet = set.setId; | ||
} | ||
else { | ||
this.updateSets(); | ||
} | ||
} | ||
onSetDidUnload(ev) { | ||
const index = this.sets.indexOf(ev.target); | ||
if (index > -1) { | ||
this.sets.splice(index, 1); | ||
} | ||
} | ||
onCircleDragStart(ev) { | ||
this.circleDragging = ev.target; | ||
this.selectedItemHeight = this.sets | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
this.selectedItemHeight = active | ||
.filter(set => set.setId === this.circleDragging.setId)[0] | ||
@@ -56,2 +39,4 @@ .shadowRoot.querySelector('.container').scrollHeight; | ||
onCircleDragEnd(ev) { | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
if (this.circleDragging && this.circleDragging.setId === ev.target.setId) { | ||
@@ -64,6 +49,18 @@ const update = this.cloneSets.map(set => { | ||
}); | ||
setTimeout(() => { | ||
this.luReorderSet.emit(update); | ||
}, 300); | ||
active.forEach((set) => { | ||
set.translationTracker = 0; | ||
set.style['transform'] = ``; | ||
}); | ||
this.luReorderSet.emit(update); | ||
this.circleDragging = null; | ||
/* const children = this.setMenuBar.children as any; | ||
const toIndex = this.lastToIndex; | ||
const fromIndex = this.sets.filter(subSet => subSet.setId === this.circleDragging.setId) | ||
const ref = (fromIndex < toIndex) | ||
? children[toIndex + 1] | ||
: children[toIndex]; | ||
this.setMenuBar.insertBefore(this.circleDragging, ref);*/ | ||
this.selectedItemHeight = null; | ||
this.cloneSets = []; | ||
} | ||
@@ -133,5 +130,7 @@ } | ||
updateSets() { | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
const setId = this.selectedSet; | ||
let hasSelected = false; | ||
for (const set of this.sets) { | ||
for (const set of active) { | ||
if (!hasSelected && set.setId === setId) { | ||
@@ -286,3 +285,2 @@ // correct value for this set | ||
static get states() { return { | ||
"sets": {}, | ||
"cloneSets": {}, | ||
@@ -340,14 +338,2 @@ "circleDragging": {}, | ||
static get listeners() { return [{ | ||
"name": "luSetDidLoad", | ||
"method": "onSetDidLoad", | ||
"target": undefined, | ||
"capture": false, | ||
"passive": false | ||
}, { | ||
"name": "luSetDidUnload", | ||
"method": "onSetDidUnload", | ||
"target": undefined, | ||
"capture": false, | ||
"passive": false | ||
}, { | ||
"name": "circleDragStart", | ||
@@ -354,0 +340,0 @@ "method": "onCircleDragStart", |
import { h } from '@stencil/core'; | ||
export class SetMenu { | ||
constructor() { | ||
this.iterationCount = 0; | ||
this.orderedSets = []; | ||
@@ -11,3 +10,3 @@ /** | ||
this.renderSets = (set) => { | ||
return (h("mylu-set", { setTitle: set.title, setId: set.setId, isActive: set.setId === this.activeSetId, order: set.order, canReorder: set.canReorder && this.canReorder }, | ||
return (h("mylu-set", { setTitle: set.title, setId: set.setId, isActive: set.setId === this.activeSetId, order: set.order, canReorder: set.canReorder && this.canReorder, key: set.setId + "-" + set.order + "-" + set.showNotification + "-" + set.notificationCount }, | ||
h("mylu-circle", { isDraggable: set.canReorder && this.canReorder, backgroundColor: set.isTransparent ? null : 'white', setId: set.setId }, | ||
@@ -28,7 +27,6 @@ set.showNotification ? (h("mylu-dot", { slot: "notification", backgroundColor: "mylu_danger" }, set.notificationCount ? (h("span", null, set.notificationCount)) : (h("lu-icon", { name: "lu-notification-dot" })))) : null, | ||
this.orderedSets = [...newValue.sort((setA, setB) => setA.order - setB.order)]; | ||
this.iterationCount++; | ||
console.log(this.iterationCount); | ||
} | ||
} | ||
onLuSelectedSet({ detail }) { | ||
this.activeSetId = detail.setId; | ||
this.luSelectedSet.emit(detail); | ||
@@ -92,3 +90,3 @@ } | ||
"type": "number", | ||
"mutable": false, | ||
"mutable": true, | ||
"complexType": { | ||
@@ -171,2 +169,3 @@ "original": "number | null", | ||
}]; } | ||
static get elementRef() { return "setMenuEl"; } | ||
static get watchers() { return [{ | ||
@@ -173,0 +172,0 @@ "propName": "sets", |
@@ -15,2 +15,4 @@ import { Host, h } from '@stencil/core'; | ||
componentDidLoad() { | ||
console.log(this.setId); | ||
console.log(this.isActive); | ||
this.luSetDidLoad.emit(); | ||
@@ -17,0 +19,0 @@ } |
@@ -353,2 +353,4 @@ import { r as registerInstance, h, g as getElement, H as Host, c as createEvent } from './chunk-07ac3283.js'; | ||
Set$1.prototype.componentDidLoad = function () { | ||
console.log(this.setId); | ||
console.log(this.isActive); | ||
this.luSetDidLoad.emit(); | ||
@@ -393,3 +395,2 @@ }; | ||
registerInstance(this, hostRef); | ||
this.iterationCount = 0; | ||
this.orderedSets = []; | ||
@@ -401,3 +402,3 @@ /** | ||
this.renderSets = function (set) { | ||
return (h("mylu-set", { setTitle: set.title, setId: set.setId, isActive: set.setId === _this.activeSetId, order: set.order, canReorder: set.canReorder && _this.canReorder }, h("mylu-circle", { isDraggable: set.canReorder && _this.canReorder, backgroundColor: set.isTransparent ? null : 'white', setId: set.setId }, set.showNotification ? (h("mylu-dot", { slot: "notification", backgroundColor: "mylu_danger" }, set.notificationCount ? (h("span", null, set.notificationCount)) : (h("lu-icon", { name: "lu-notification-dot" })))) : null, h("lu-icon", { color: set.color, name: set.icon })))); | ||
return (h("mylu-set", { setTitle: set.title, setId: set.setId, isActive: set.setId === _this.activeSetId, order: set.order, canReorder: set.canReorder && _this.canReorder, key: set.setId + "-" + set.order + "-" + set.showNotification + "-" + set.notificationCount }, h("mylu-circle", { isDraggable: set.canReorder && _this.canReorder, backgroundColor: set.isTransparent ? null : 'white', setId: set.setId }, set.showNotification ? (h("mylu-dot", { slot: "notification", backgroundColor: "mylu_danger" }, set.notificationCount ? (h("span", null, set.notificationCount)) : (h("lu-icon", { name: "lu-notification-dot" })))) : null, h("lu-icon", { color: set.color, name: set.icon })))); | ||
}; | ||
@@ -418,4 +419,2 @@ this.luSelectedSet = createEvent(this, "luSelectedSet", 7); | ||
this.orderedSets = newValue.sort(function (setA, setB) { return setA.order - setB.order; }).slice(); | ||
this.iterationCount++; | ||
console.log(this.iterationCount); | ||
} | ||
@@ -425,2 +424,3 @@ }; | ||
var detail = _a.detail; | ||
this.activeSetId = detail.setId; | ||
this.luSelectedSet.emit(detail); | ||
@@ -453,2 +453,7 @@ }; | ||
}; | ||
Object.defineProperty(SetMenu.prototype, "setMenuEl", { | ||
get: function () { return getElement(this); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(SetMenu, "watchers", { | ||
@@ -473,3 +478,2 @@ get: function () { | ||
registerInstance(this, hostRef); | ||
this.sets = []; | ||
this.cloneSets = []; | ||
@@ -485,7 +489,9 @@ this.circleDragging = null; | ||
var _this = this; | ||
var nodes = this.setMenuBar.children; | ||
var active = Array.from(nodes); | ||
if (newValue !== null) { | ||
this.sets.filter(function (set) { return set.setId === _this.circleDragging.setId; })[0].isReordering = true; | ||
active.filter(function (set) { return set.setId === _this.circleDragging.setId; })[0].isReordering = true; | ||
} | ||
else { | ||
this.sets.filter(function (set) { return set.setId === oldValue.setId; })[0].isReordering = false; | ||
active.filter(function (set) { return set.setId === oldValue.setId; })[0].isReordering = false; | ||
} | ||
@@ -499,26 +505,8 @@ }; | ||
}; | ||
SetMenuBar.prototype.onSetDidLoad = function (ev) { | ||
var set = ev.target; | ||
// add set to internal list | ||
this.sets.push(set); | ||
// this group does not have a value | ||
// but this set is selected, so let's set the | ||
// group value from the selected set | ||
if (!this.selectedSet && set.isActive) { | ||
this.selectedSet = set.setId; | ||
} | ||
else { | ||
this.updateSets(); | ||
} | ||
}; | ||
SetMenuBar.prototype.onSetDidUnload = function (ev) { | ||
var index = this.sets.indexOf(ev.target); | ||
if (index > -1) { | ||
this.sets.splice(index, 1); | ||
} | ||
}; | ||
SetMenuBar.prototype.onCircleDragStart = function (ev) { | ||
var _this = this; | ||
this.circleDragging = ev.target; | ||
this.selectedItemHeight = this.sets | ||
var nodes = this.setMenuBar.children; | ||
var active = Array.from(nodes); | ||
this.selectedItemHeight = active | ||
.filter(function (set) { return set.setId === _this.circleDragging.setId; })[0] | ||
@@ -528,5 +516,6 @@ .shadowRoot.querySelector('.container').scrollHeight; | ||
SetMenuBar.prototype.onCircleDragEnd = function (ev) { | ||
var _this = this; | ||
var nodes = this.setMenuBar.children; | ||
var active = Array.from(nodes); | ||
if (this.circleDragging && this.circleDragging.setId === ev.target.setId) { | ||
var update_1 = this.cloneSets.map(function (set) { | ||
var update = this.cloneSets.map(function (set) { | ||
return { | ||
@@ -537,6 +526,18 @@ setId: set.setId, | ||
}); | ||
setTimeout(function () { | ||
_this.luReorderSet.emit(update_1); | ||
}, 300); | ||
active.forEach(function (set) { | ||
set.translationTracker = 0; | ||
set.style['transform'] = ""; | ||
}); | ||
this.luReorderSet.emit(update); | ||
this.circleDragging = null; | ||
/* const children = this.setMenuBar.children as any; | ||
const toIndex = this.lastToIndex; | ||
const fromIndex = this.sets.filter(subSet => subSet.setId === this.circleDragging.setId) | ||
const ref = (fromIndex < toIndex) | ||
? children[toIndex + 1] | ||
: children[toIndex]; | ||
this.setMenuBar.insertBefore(this.circleDragging, ref);*/ | ||
this.selectedItemHeight = null; | ||
this.cloneSets = []; | ||
} | ||
@@ -607,6 +608,8 @@ }; | ||
SetMenuBar.prototype.updateSets = function () { | ||
var nodes = this.setMenuBar.children; | ||
var active = Array.from(nodes); | ||
var setId = this.selectedSet; | ||
var hasSelected = false; | ||
for (var _i = 0, _a = this.sets; _i < _a.length; _i++) { | ||
var set = _a[_i]; | ||
for (var _i = 0, active_1 = active; _i < active_1.length; _i++) { | ||
var set = active_1[_i]; | ||
if (!hasSelected && set.setId === setId) { | ||
@@ -613,0 +616,0 @@ // correct value for this set |
@@ -321,2 +321,4 @@ import { r as registerInstance, h, g as getElement, H as Host, c as createEvent } from './chunk-07ac3283.js'; | ||
componentDidLoad() { | ||
console.log(this.setId); | ||
console.log(this.isActive); | ||
this.luSetDidLoad.emit(); | ||
@@ -350,3 +352,2 @@ } | ||
registerInstance(this, hostRef); | ||
this.iterationCount = 0; | ||
this.orderedSets = []; | ||
@@ -358,3 +359,3 @@ /** | ||
this.renderSets = (set) => { | ||
return (h("mylu-set", { setTitle: set.title, setId: set.setId, isActive: set.setId === this.activeSetId, order: set.order, canReorder: set.canReorder && this.canReorder }, h("mylu-circle", { isDraggable: set.canReorder && this.canReorder, backgroundColor: set.isTransparent ? null : 'white', setId: set.setId }, set.showNotification ? (h("mylu-dot", { slot: "notification", backgroundColor: "mylu_danger" }, set.notificationCount ? (h("span", null, set.notificationCount)) : (h("lu-icon", { name: "lu-notification-dot" })))) : null, h("lu-icon", { color: set.color, name: set.icon })))); | ||
return (h("mylu-set", { setTitle: set.title, setId: set.setId, isActive: set.setId === this.activeSetId, order: set.order, canReorder: set.canReorder && this.canReorder, key: set.setId + "-" + set.order + "-" + set.showNotification + "-" + set.notificationCount }, h("mylu-circle", { isDraggable: set.canReorder && this.canReorder, backgroundColor: set.isTransparent ? null : 'white', setId: set.setId }, set.showNotification ? (h("mylu-dot", { slot: "notification", backgroundColor: "mylu_danger" }, set.notificationCount ? (h("span", null, set.notificationCount)) : (h("lu-icon", { name: "lu-notification-dot" })))) : null, h("lu-icon", { color: set.color, name: set.icon })))); | ||
}; | ||
@@ -374,7 +375,6 @@ this.luSelectedSet = createEvent(this, "luSelectedSet", 7); | ||
this.orderedSets = [...newValue.sort((setA, setB) => setA.order - setB.order)]; | ||
this.iterationCount++; | ||
console.log(this.iterationCount); | ||
} | ||
} | ||
onLuSelectedSet({ detail }) { | ||
this.activeSetId = detail.setId; | ||
this.luSelectedSet.emit(detail); | ||
@@ -407,2 +407,3 @@ } | ||
} | ||
get setMenuEl() { return getElement(this); } | ||
static get watchers() { return { | ||
@@ -417,3 +418,2 @@ "sets": ["setsUpdate"] | ||
registerInstance(this, hostRef); | ||
this.sets = []; | ||
this.cloneSets = []; | ||
@@ -428,7 +428,9 @@ this.circleDragging = null; | ||
onCircleDragging(newValue, oldValue) { | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
if (newValue !== null) { | ||
this.sets.filter(set => set.setId === this.circleDragging.setId)[0].isReordering = true; | ||
active.filter(set => set.setId === this.circleDragging.setId)[0].isReordering = true; | ||
} | ||
else { | ||
this.sets.filter(set => set.setId === oldValue.setId)[0].isReordering = false; | ||
active.filter(set => set.setId === oldValue.setId)[0].isReordering = false; | ||
} | ||
@@ -442,25 +444,7 @@ } | ||
} | ||
onSetDidLoad(ev) { | ||
const set = ev.target; | ||
// add set to internal list | ||
this.sets.push(set); | ||
// this group does not have a value | ||
// but this set is selected, so let's set the | ||
// group value from the selected set | ||
if (!this.selectedSet && set.isActive) { | ||
this.selectedSet = set.setId; | ||
} | ||
else { | ||
this.updateSets(); | ||
} | ||
} | ||
onSetDidUnload(ev) { | ||
const index = this.sets.indexOf(ev.target); | ||
if (index > -1) { | ||
this.sets.splice(index, 1); | ||
} | ||
} | ||
onCircleDragStart(ev) { | ||
this.circleDragging = ev.target; | ||
this.selectedItemHeight = this.sets | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
this.selectedItemHeight = active | ||
.filter(set => set.setId === this.circleDragging.setId)[0] | ||
@@ -470,2 +454,4 @@ .shadowRoot.querySelector('.container').scrollHeight; | ||
onCircleDragEnd(ev) { | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
if (this.circleDragging && this.circleDragging.setId === ev.target.setId) { | ||
@@ -478,6 +464,18 @@ const update = this.cloneSets.map(set => { | ||
}); | ||
setTimeout(() => { | ||
this.luReorderSet.emit(update); | ||
}, 300); | ||
active.forEach((set) => { | ||
set.translationTracker = 0; | ||
set.style['transform'] = ``; | ||
}); | ||
this.luReorderSet.emit(update); | ||
this.circleDragging = null; | ||
/* const children = this.setMenuBar.children as any; | ||
const toIndex = this.lastToIndex; | ||
const fromIndex = this.sets.filter(subSet => subSet.setId === this.circleDragging.setId) | ||
const ref = (fromIndex < toIndex) | ||
? children[toIndex + 1] | ||
: children[toIndex]; | ||
this.setMenuBar.insertBefore(this.circleDragging, ref);*/ | ||
this.selectedItemHeight = null; | ||
this.cloneSets = []; | ||
} | ||
@@ -547,5 +545,7 @@ } | ||
updateSets() { | ||
const nodes = this.setMenuBar.children; | ||
const active = Array.from(nodes); | ||
const setId = this.selectedSet; | ||
let hasSelected = false; | ||
for (const set of this.sets) { | ||
for (const set of active) { | ||
if (!hasSelected && set.setId === setId) { | ||
@@ -552,0 +552,0 @@ // correct value for this set |
@@ -5,3 +5,2 @@ import { EventEmitter } from '../../stencil.core'; | ||
setMenuBar: HTMLMyluSetMenuBarElement; | ||
sets: HTMLMyluSetElement[]; | ||
cloneSets: HTMLMyluSetElement[]; | ||
@@ -22,4 +21,2 @@ circleDragging: HTMLMyluCircleElement | null; | ||
}[]>; | ||
onSetDidLoad(ev: any): void; | ||
onSetDidUnload(ev: any): void; | ||
onCircleDragStart(ev: any): void; | ||
@@ -26,0 +23,0 @@ onCircleDragEnd(ev: any): void; |
import { EventEmitter } from '../../stencil.core'; | ||
import { Set, SetSelectedEvent } from '../../interface'; | ||
export declare class SetMenu { | ||
private iterationCount; | ||
setMenuEl: HTMLMyluSetMenuElement; | ||
orderedSets: Set[]; | ||
@@ -33,4 +33,4 @@ /** | ||
objectsAreSame(x: any, y: any): boolean; | ||
renderSets: (set: any) => any; | ||
renderSets: (set: Set) => any; | ||
render(): any; | ||
} |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-f55290ef.system.js"],function(){"use strict";var e,l;return{setters:[function(a){e=a.p;l=a.b}],execute:function(){e().then(function(e){return l([["p-u5totdeu.system",[[0,"mylu-avatar",{showNotification:[4,"show-notification"],showAction:[4,"show-action"],actionIcon:[1,"action-icon"],circleBackgroundColor:[1,"circle-background-color"],notificationBackgroundColor:[1,"notification-background-color"],actionBackgroundColor:[1,"action-background-color"],imgUrl:[1,"img-url"],isActionable:[4,"is-actionable"],imgLoaded:[32]}]]],["p-q161b5dy.system",[[1,"lu-card-image",{altText:[1,"alt-text"],iconColor:[1,"icon-color"],iconName:[1,"icon-name"],iconSize:[1,"icon-size"],isIcon:[4,"is-icon"],src:[1]}]]],["p-9xpyd9jg.system",[[1,"lu-fab-button",{color:[1],activated:[4],disabled:[4],href:[1],isExternallyManaged:[4,"is-externally-managed"],show:[1028],selected:[1028],toggleButton:[4,"toggle-button"],translucent:[4],type:[1],size:[1],value:[8],keyFocus:[32]}]]],["p-yjceiwog.system",[[1,"lu-form-group",{clearErrorStateOnClearInput:[4,"clear-error-state-on-clear-input"],clearInput:[4,"clear-input"],color:[1],clearOnEdit:[1028,"clear-on-edit"],errorMessage:[1025,"error-message"],externallyDeemedValid:[1028,"externally-deemed-valid"],externallyDeemedInvalid:[1028,"externally-deemed-invalid"],forId:[1025,"for-id"],helperText:[1,"helper-text"],id:[1537],isExternallyValidated:[4,"is-externally-validated"],isValidatedOnSubmission:[4,"is-validated-on-submission"],labelText:[1,"label-text"],updateTrigger:[1,"update-trigger"],value:[32],isCheckboxGroup:[32],isValid:[32],isInvalid:[32],isSelect:[32],isRadioGroup:[32],isRequired:[32],needsEmailValidation:[32],needsPatternValidation:[32],needsPasswordValidation:[32],pattern:[32],isInput:[32],getValidationValues:[64]}]]],["p-uxhauvsm.system",[[1,"lu-input",{accept:[1],autocomplete:[1],autocapitalize:[1],autocorrect:[1],autofocus:[4],clearInput:[4,"clear-input"],clearOnEdit:[1028,"clear-on-edit"],capture:[1],checked:[4],color:[1],debounce:[2],disabled:[4],form:[1],id:[1537],inputmode:[1],invalid:[4],list:[1],max:[8],min:[8],minLength:[2,"min-length"],maxLength:[2,"max-length"],multiple:[4],name:[1],pattern:[1],placeholder:[1],prefixIcon:[1,"prefix-icon"],prefixIconClickable:[4,"prefix-icon-clickable"],suffixIcon:[1025,"suffix-icon"],suffixIconClickable:[1028,"suffix-icon-clickable"],readOnly:[4,"read-only"],required:[4],size:[2],spellcheck:[4],step:[8],tabIndex:[2,"tab-index"],type:[1],valid:[4],value:[1025],hasFocus:[32],setFocus:[64]}]]],["p-pyrkqagy.system",[[1,"lu-side-menu",{color:[1],isVisible:[1028,"is-visible"],isCollapsible:[1540,"is-collapsible"],isCollapsed:[1540,"is-collapsed"],hasBoxShadow:[4,"has-box-shadow"],externallyManaged:[4,"externally-managed"],makeVisible:[64],isHidden:[64],collapsedHandler:[64]},[[0,"keydown","handleEscape"]]]]],["p-qdqvi4uo.system",[[1,"lu-toggle",{startSelected:[1028,"start-selected"],startText:[1,"start-text"],startValue:[8,"start-value"],endText:[1,"end-text"],endValue:[8,"end-value"],value:[1032]}]]],["p-qqgdtxjd.system",[[1,"lu-button",{color:[1],buttonType:[1025,"button-type"],disabled:[516],expand:[513],fill:[1537],href:[1],shape:[513],size:[513],strong:[4],type:[1],keyFocus:[32]}]]],["p-n1nyvwh7.system",[[1,"lu-card",{color:[1]}]]],["p-pr1dsr2n.system",[[1,"lu-card-buttons"]]],["p-y48tgjmq.system",[[0,"lu-card-content"]]],["p-vlof6fo8.system",[[1,"lu-card-footer",{color:[1],translucent:[4]}]]],["p-vvmpoyma.system",[[1,"lu-card-header",{color:[1],translucent:[4]}]]],["p-nhdfzefo.system",[[1,"lu-card-title",{color:[1]}]]],["p-llvddav2.system",[[1,"lu-checkbox",{color:[1],name:[1],labeledById:[1,"labeled-by-id"],checked:[1028],disabled:[4],isExternallyManaged:[4,"is-externally-managed"],value:[8],keyFocus:[32],hasFocus:[32]}]]],["p-9kn6e8m8.system",[[4,"lu-checkbox-group",{direction:[1],id:[1537],name:[1],required:[4],value:[1040],setFocus:[64],getValues:[64]},[[0,"luCheckboxDidLoad","onCheckboxDidLoad"],[0,"luCheckboxDidUnload","onCheckboxDidUnload"]]]]],["p-vcvi4jrh.system",[[1,"lu-col",{offset:[1],offsetXs:[1,"offset-xs"],offsetSm:[1,"offset-sm"],offsetMd:[1,"offset-md"],offsetLg:[1,"offset-lg"],offsetXl:[1,"offset-xl"],pull:[1],pullXs:[1,"pull-xs"],pullSm:[1,"pull-sm"],pullMd:[1,"pull-md"],pullLg:[1,"pull-lg"],pullXl:[1,"pull-xl"],push:[1],pushXs:[1,"push-xs"],pushSm:[1,"push-sm"],pushMd:[1,"push-md"],pushLg:[1,"push-lg"],pushXl:[1,"push-xl"],size:[1],sizeXs:[1,"size-xs"],sizeSm:[1,"size-sm"],sizeMd:[1,"size-md"],sizeLg:[1,"size-lg"],sizeXl:[1,"size-xl"]},[[9,"resize","onResize"]]]]],["p-d9ixmesd.system",[[1,"lu-fab",{horizontal:[1],vertical:[1],edge:[4],activated:[1028],close:[64]},[[0,"click","onClick"]]]]],["p-gshhag49.system",[[1,"lu-fab-list",{activated:[4],side:[1]}]]],["p-fsuwtvgq.system",[[0,"lu-form-validation",{value:[1040],isValid:[1540,"is-valid"],isInvalid:[1540,"is-invalid"],formGroups:[32]},[[0,"luFormGroupDidLoad","onFormGroupDidLoad"],[0,"luFormGroupDidUnload","onFormGroupDidUnload"]]]]],["p-xxtlzbpy.system",[[1,"lu-grid",{fixed:[4]}]]],["p-n8rbhhoe.system",[[1,"lu-header",{color:[1],preHeader:[4,"pre-header"]}]]],["p-k0ofoxch.system",[[1,"lu-radio",{color:[1],labeledById:[1,"labeled-by-id"],name:[1],disabled:[4],checked:[1028],value:[1032],hasFocus:[32]},[[0,"click","onClick"]]]]],["p-z3ifmzta.system",[[0,"lu-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],direction:[1],id:[1537],name:[1],required:[4],value:[1032],setFocus:[64]},[[0,"luRadioDidLoad","onRadioDidLoad"],[0,"luRadioDidUnload","onRadioDidUnload"],[0,"luSelect","onRadioSelect"],[0,"luDeselect","onRadioDeselect"]]]]],["p-h5xmai9j.system",[[1,"lu-row"]]],["p-unfpj2pi.system",[[1,"lu-select",{id:[1537],color:[1],invalid:[4],name:[1],ariaLabel:[1,"aria-label"],disabled:[4],placeholder:[1],helpText:[1,"help-text"],selectedValue:[1025,"selected-value"],showPlaceholderOption:[4,"show-placeholder-option"],required:[4],options:[1040],valid:[4],isValid:[32],setFocus:[64]}]]],["p-lyzulbfj.system",[[1,"lu-skeleton-text",{width:[1]}]]],["p-savo8cd0.system",[[1,"lu-spinner",{dataColor:[1,"data-color"],dataScale:[2,"data-scale"],dataDuration:[2,"data-duration"],dataPaused:[4,"data-paused"],dataHidden:[4,"data-hidden"],dataMessage:[1,"data-message"]}]]],["p-wvmhb8nw.system",[[1,"lu-tab",{active:[1028],labeledById:[1025,"labeled-by-id"],name:[8],noSlide:[4,"no-slide"]},[[0,"click","onClick"]]]]],["p-o3gkaron.system",[[1,"lu-tabs",{value:[1025],noSlide:[4,"no-slide"],tabs:[32],tabIncrement:[32],pos:[32],left:[32],width:[32],elementResized:[64]},[[0,"luTabDidLoad","onTabDidLoad"],[0,"luTabDidUnload","onTabDidUnload"],[0,"luTabSelect","onTabSelect"]]]]],["p-uiv0wcka.system",[[1,"mylu-breakpoints",{sm:[2],md:[2],lg:[2],xl:[2],currentBreakpoint:[32],currentWidth:[32],currentHeight:[32]},[[9,"resize","onResize"]]]]],["p-1c10ifnf.system",[[1,"lu-img",{alt:[1],src:[1],loadSrc:[32]}]]],["p-m8bgbstf.system",[[6,"lu-label",{color:[1],labelText:[1,"label-text"],required:[4],optional:[4],forId:[513,"for-id"],id:[1537],invalid:[4],errorMessage:[1,"error-message"],helperText:[1,"helper-text"]}]]],["p-hapquq7d.system",[[0,"mylu-set-menu",{sets:[1040],activeSetId:[2,"active-set-id"],canReorder:[4,"can-reorder"],orderedSets:[32]},[[0,"luSelectedSetUpdated","onLuSelectedSet"],[0,"luReorderSet","onLuReorderSet"]]],[1,"mylu-set",{canReorder:[4,"can-reorder"],setId:[2,"set-id"],isActive:[1028,"is-active"],showActiveBar:[4,"show-active-bar"],setTitle:[1,"set-title"],order:[2],isReordering:[4,"is-reordering"],translationTracker:[2,"translation-tracker"]},[[0,"click","onClick"]]],[1,"mylu-set-menu-bar",{color:[1],selectedSet:[1026,"selected-set"],sets:[32],cloneSets:[32],circleDragging:[32],selectedItemHeight:[32],isTransitioning:[32],transitioningTimeout:[32],lastToIndex:[32]},[[0,"luSetDidLoad","onSetDidLoad"],[0,"luSetDidUnload","onSetDidUnload"],[2,"circleDragStart","onCircleDragStart"],[0,"circleDragEnd","onCircleDragEnd"],[0,"luSelect","onSetSelection"],[1,"drag","onMouseMove"]]],[1,"mylu-dot",{backgroundColor:[1,"background-color"],isActionable:[4,"is-actionable"]}],[1,"mylu-circle",{backgroundColor:[1,"background-color"],isActionable:[4,"is-actionable"],isOutline:[4,"is-outline"],isDraggable:[4,"is-draggable"],setId:[2,"set-id"],hideDecorators:[4,"hide-decorators"],isDragging:[32]},[[3,"dragstart","onDragStart"],[2,"dragend","onDragEnd"]]],[1,"lu-icon",{color:[1],mode:[1],ariaLabel:[1537,"aria-label"],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[1],src:[1],icon:[1],size:[1],svgContent:[32],isVisible:[32]}]]]],{resourcesUrl:e})})}}}); | ||
System.register(["./p-f55290ef.system.js"],function(){"use strict";var e,l;return{setters:[function(a){e=a.p;l=a.b}],execute:function(){e().then(function(e){return l([["p-u5totdeu.system",[[0,"mylu-avatar",{showNotification:[4,"show-notification"],showAction:[4,"show-action"],actionIcon:[1,"action-icon"],circleBackgroundColor:[1,"circle-background-color"],notificationBackgroundColor:[1,"notification-background-color"],actionBackgroundColor:[1,"action-background-color"],imgUrl:[1,"img-url"],isActionable:[4,"is-actionable"],imgLoaded:[32]}]]],["p-q161b5dy.system",[[1,"lu-card-image",{altText:[1,"alt-text"],iconColor:[1,"icon-color"],iconName:[1,"icon-name"],iconSize:[1,"icon-size"],isIcon:[4,"is-icon"],src:[1]}]]],["p-9xpyd9jg.system",[[1,"lu-fab-button",{color:[1],activated:[4],disabled:[4],href:[1],isExternallyManaged:[4,"is-externally-managed"],show:[1028],selected:[1028],toggleButton:[4,"toggle-button"],translucent:[4],type:[1],size:[1],value:[8],keyFocus:[32]}]]],["p-yjceiwog.system",[[1,"lu-form-group",{clearErrorStateOnClearInput:[4,"clear-error-state-on-clear-input"],clearInput:[4,"clear-input"],color:[1],clearOnEdit:[1028,"clear-on-edit"],errorMessage:[1025,"error-message"],externallyDeemedValid:[1028,"externally-deemed-valid"],externallyDeemedInvalid:[1028,"externally-deemed-invalid"],forId:[1025,"for-id"],helperText:[1,"helper-text"],id:[1537],isExternallyValidated:[4,"is-externally-validated"],isValidatedOnSubmission:[4,"is-validated-on-submission"],labelText:[1,"label-text"],updateTrigger:[1,"update-trigger"],value:[32],isCheckboxGroup:[32],isValid:[32],isInvalid:[32],isSelect:[32],isRadioGroup:[32],isRequired:[32],needsEmailValidation:[32],needsPatternValidation:[32],needsPasswordValidation:[32],pattern:[32],isInput:[32],getValidationValues:[64]}]]],["p-uxhauvsm.system",[[1,"lu-input",{accept:[1],autocomplete:[1],autocapitalize:[1],autocorrect:[1],autofocus:[4],clearInput:[4,"clear-input"],clearOnEdit:[1028,"clear-on-edit"],capture:[1],checked:[4],color:[1],debounce:[2],disabled:[4],form:[1],id:[1537],inputmode:[1],invalid:[4],list:[1],max:[8],min:[8],minLength:[2,"min-length"],maxLength:[2,"max-length"],multiple:[4],name:[1],pattern:[1],placeholder:[1],prefixIcon:[1,"prefix-icon"],prefixIconClickable:[4,"prefix-icon-clickable"],suffixIcon:[1025,"suffix-icon"],suffixIconClickable:[1028,"suffix-icon-clickable"],readOnly:[4,"read-only"],required:[4],size:[2],spellcheck:[4],step:[8],tabIndex:[2,"tab-index"],type:[1],valid:[4],value:[1025],hasFocus:[32],setFocus:[64]}]]],["p-pyrkqagy.system",[[1,"lu-side-menu",{color:[1],isVisible:[1028,"is-visible"],isCollapsible:[1540,"is-collapsible"],isCollapsed:[1540,"is-collapsed"],hasBoxShadow:[4,"has-box-shadow"],externallyManaged:[4,"externally-managed"],makeVisible:[64],isHidden:[64],collapsedHandler:[64]},[[0,"keydown","handleEscape"]]]]],["p-qdqvi4uo.system",[[1,"lu-toggle",{startSelected:[1028,"start-selected"],startText:[1,"start-text"],startValue:[8,"start-value"],endText:[1,"end-text"],endValue:[8,"end-value"],value:[1032]}]]],["p-qqgdtxjd.system",[[1,"lu-button",{color:[1],buttonType:[1025,"button-type"],disabled:[516],expand:[513],fill:[1537],href:[1],shape:[513],size:[513],strong:[4],type:[1],keyFocus:[32]}]]],["p-n1nyvwh7.system",[[1,"lu-card",{color:[1]}]]],["p-pr1dsr2n.system",[[1,"lu-card-buttons"]]],["p-y48tgjmq.system",[[0,"lu-card-content"]]],["p-vlof6fo8.system",[[1,"lu-card-footer",{color:[1],translucent:[4]}]]],["p-vvmpoyma.system",[[1,"lu-card-header",{color:[1],translucent:[4]}]]],["p-nhdfzefo.system",[[1,"lu-card-title",{color:[1]}]]],["p-llvddav2.system",[[1,"lu-checkbox",{color:[1],name:[1],labeledById:[1,"labeled-by-id"],checked:[1028],disabled:[4],isExternallyManaged:[4,"is-externally-managed"],value:[8],keyFocus:[32],hasFocus:[32]}]]],["p-9kn6e8m8.system",[[4,"lu-checkbox-group",{direction:[1],id:[1537],name:[1],required:[4],value:[1040],setFocus:[64],getValues:[64]},[[0,"luCheckboxDidLoad","onCheckboxDidLoad"],[0,"luCheckboxDidUnload","onCheckboxDidUnload"]]]]],["p-vcvi4jrh.system",[[1,"lu-col",{offset:[1],offsetXs:[1,"offset-xs"],offsetSm:[1,"offset-sm"],offsetMd:[1,"offset-md"],offsetLg:[1,"offset-lg"],offsetXl:[1,"offset-xl"],pull:[1],pullXs:[1,"pull-xs"],pullSm:[1,"pull-sm"],pullMd:[1,"pull-md"],pullLg:[1,"pull-lg"],pullXl:[1,"pull-xl"],push:[1],pushXs:[1,"push-xs"],pushSm:[1,"push-sm"],pushMd:[1,"push-md"],pushLg:[1,"push-lg"],pushXl:[1,"push-xl"],size:[1],sizeXs:[1,"size-xs"],sizeSm:[1,"size-sm"],sizeMd:[1,"size-md"],sizeLg:[1,"size-lg"],sizeXl:[1,"size-xl"]},[[9,"resize","onResize"]]]]],["p-d9ixmesd.system",[[1,"lu-fab",{horizontal:[1],vertical:[1],edge:[4],activated:[1028],close:[64]},[[0,"click","onClick"]]]]],["p-gshhag49.system",[[1,"lu-fab-list",{activated:[4],side:[1]}]]],["p-fsuwtvgq.system",[[0,"lu-form-validation",{value:[1040],isValid:[1540,"is-valid"],isInvalid:[1540,"is-invalid"],formGroups:[32]},[[0,"luFormGroupDidLoad","onFormGroupDidLoad"],[0,"luFormGroupDidUnload","onFormGroupDidUnload"]]]]],["p-xxtlzbpy.system",[[1,"lu-grid",{fixed:[4]}]]],["p-n8rbhhoe.system",[[1,"lu-header",{color:[1],preHeader:[4,"pre-header"]}]]],["p-k0ofoxch.system",[[1,"lu-radio",{color:[1],labeledById:[1,"labeled-by-id"],name:[1],disabled:[4],checked:[1028],value:[1032],hasFocus:[32]},[[0,"click","onClick"]]]]],["p-z3ifmzta.system",[[0,"lu-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],direction:[1],id:[1537],name:[1],required:[4],value:[1032],setFocus:[64]},[[0,"luRadioDidLoad","onRadioDidLoad"],[0,"luRadioDidUnload","onRadioDidUnload"],[0,"luSelect","onRadioSelect"],[0,"luDeselect","onRadioDeselect"]]]]],["p-h5xmai9j.system",[[1,"lu-row"]]],["p-unfpj2pi.system",[[1,"lu-select",{id:[1537],color:[1],invalid:[4],name:[1],ariaLabel:[1,"aria-label"],disabled:[4],placeholder:[1],helpText:[1,"help-text"],selectedValue:[1025,"selected-value"],showPlaceholderOption:[4,"show-placeholder-option"],required:[4],options:[1040],valid:[4],isValid:[32],setFocus:[64]}]]],["p-lyzulbfj.system",[[1,"lu-skeleton-text",{width:[1]}]]],["p-savo8cd0.system",[[1,"lu-spinner",{dataColor:[1,"data-color"],dataScale:[2,"data-scale"],dataDuration:[2,"data-duration"],dataPaused:[4,"data-paused"],dataHidden:[4,"data-hidden"],dataMessage:[1,"data-message"]}]]],["p-wvmhb8nw.system",[[1,"lu-tab",{active:[1028],labeledById:[1025,"labeled-by-id"],name:[8],noSlide:[4,"no-slide"]},[[0,"click","onClick"]]]]],["p-o3gkaron.system",[[1,"lu-tabs",{value:[1025],noSlide:[4,"no-slide"],tabs:[32],tabIncrement:[32],pos:[32],left:[32],width:[32],elementResized:[64]},[[0,"luTabDidLoad","onTabDidLoad"],[0,"luTabDidUnload","onTabDidUnload"],[0,"luTabSelect","onTabSelect"]]]]],["p-uiv0wcka.system",[[1,"mylu-breakpoints",{sm:[2],md:[2],lg:[2],xl:[2],currentBreakpoint:[32],currentWidth:[32],currentHeight:[32]},[[9,"resize","onResize"]]]]],["p-1c10ifnf.system",[[1,"lu-img",{alt:[1],src:[1],loadSrc:[32]}]]],["p-m8bgbstf.system",[[6,"lu-label",{color:[1],labelText:[1,"label-text"],required:[4],optional:[4],forId:[513,"for-id"],id:[1537],invalid:[4],errorMessage:[1,"error-message"],helperText:[1,"helper-text"]}]]],["p-defi08so.system",[[0,"mylu-set-menu",{sets:[1040],activeSetId:[1026,"active-set-id"],canReorder:[4,"can-reorder"],orderedSets:[32]},[[0,"luSelectedSetUpdated","onLuSelectedSet"],[0,"luReorderSet","onLuReorderSet"]]],[1,"mylu-set",{canReorder:[4,"can-reorder"],setId:[2,"set-id"],isActive:[1028,"is-active"],showActiveBar:[4,"show-active-bar"],setTitle:[1,"set-title"],order:[2],isReordering:[4,"is-reordering"],translationTracker:[2,"translation-tracker"]},[[0,"click","onClick"]]],[1,"mylu-set-menu-bar",{color:[1],selectedSet:[1026,"selected-set"],cloneSets:[32],circleDragging:[32],selectedItemHeight:[32],isTransitioning:[32],transitioningTimeout:[32],lastToIndex:[32]},[[2,"circleDragStart","onCircleDragStart"],[0,"circleDragEnd","onCircleDragEnd"],[0,"luSelect","onSetSelection"],[1,"drag","onMouseMove"]]],[1,"mylu-dot",{backgroundColor:[1,"background-color"],isActionable:[4,"is-actionable"]}],[1,"mylu-circle",{backgroundColor:[1,"background-color"],isActionable:[4,"is-actionable"],isOutline:[4,"is-outline"],isDraggable:[4,"is-draggable"],setId:[2,"set-id"],hideDecorators:[4,"hide-decorators"],isDragging:[32]},[[3,"dragstart","onDragStart"],[2,"dragend","onDragEnd"]]],[1,"lu-icon",{color:[1],mode:[1],ariaLabel:[1537,"aria-label"],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[1],src:[1],icon:[1],size:[1],svgContent:[32],isVisible:[32]}]]]],{resourcesUrl:e})})}}}); |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as l}from"./p-9ab70fa5.js";e().then(e=>l([["p-kgmqnj4t",[[0,"mylu-avatar",{showNotification:[4,"show-notification"],showAction:[4,"show-action"],actionIcon:[1,"action-icon"],circleBackgroundColor:[1,"circle-background-color"],notificationBackgroundColor:[1,"notification-background-color"],actionBackgroundColor:[1,"action-background-color"],imgUrl:[1,"img-url"],isActionable:[4,"is-actionable"],imgLoaded:[32]}]]],["p-r0hggosv",[[1,"lu-card-image",{altText:[1,"alt-text"],iconColor:[1,"icon-color"],iconName:[1,"icon-name"],iconSize:[1,"icon-size"],isIcon:[4,"is-icon"],src:[1]}]]],["p-1upfcclb",[[1,"lu-fab-button",{color:[1],activated:[4],disabled:[4],href:[1],isExternallyManaged:[4,"is-externally-managed"],show:[1028],selected:[1028],toggleButton:[4,"toggle-button"],translucent:[4],type:[1],size:[1],value:[8],keyFocus:[32]}]]],["p-i3wmjwvv",[[1,"lu-form-group",{clearErrorStateOnClearInput:[4,"clear-error-state-on-clear-input"],clearInput:[4,"clear-input"],color:[1],clearOnEdit:[1028,"clear-on-edit"],errorMessage:[1025,"error-message"],externallyDeemedValid:[1028,"externally-deemed-valid"],externallyDeemedInvalid:[1028,"externally-deemed-invalid"],forId:[1025,"for-id"],helperText:[1,"helper-text"],id:[1537],isExternallyValidated:[4,"is-externally-validated"],isValidatedOnSubmission:[4,"is-validated-on-submission"],labelText:[1,"label-text"],updateTrigger:[1,"update-trigger"],value:[32],isCheckboxGroup:[32],isValid:[32],isInvalid:[32],isSelect:[32],isRadioGroup:[32],isRequired:[32],needsEmailValidation:[32],needsPatternValidation:[32],needsPasswordValidation:[32],pattern:[32],isInput:[32],getValidationValues:[64]}]]],["p-wusqngla",[[1,"lu-input",{accept:[1],autocomplete:[1],autocapitalize:[1],autocorrect:[1],autofocus:[4],clearInput:[4,"clear-input"],clearOnEdit:[1028,"clear-on-edit"],capture:[1],checked:[4],color:[1],debounce:[2],disabled:[4],form:[1],id:[1537],inputmode:[1],invalid:[4],list:[1],max:[8],min:[8],minLength:[2,"min-length"],maxLength:[2,"max-length"],multiple:[4],name:[1],pattern:[1],placeholder:[1],prefixIcon:[1,"prefix-icon"],prefixIconClickable:[4,"prefix-icon-clickable"],suffixIcon:[1025,"suffix-icon"],suffixIconClickable:[1028,"suffix-icon-clickable"],readOnly:[4,"read-only"],required:[4],size:[2],spellcheck:[4],step:[8],tabIndex:[2,"tab-index"],type:[1],valid:[4],value:[1025],hasFocus:[32],setFocus:[64]}]]],["p-7lnpl9az",[[1,"lu-side-menu",{color:[1],isVisible:[1028,"is-visible"],isCollapsible:[1540,"is-collapsible"],isCollapsed:[1540,"is-collapsed"],hasBoxShadow:[4,"has-box-shadow"],externallyManaged:[4,"externally-managed"],makeVisible:[64],isHidden:[64],collapsedHandler:[64]},[[0,"keydown","handleEscape"]]]]],["p-vtlmzywo",[[1,"lu-toggle",{startSelected:[1028,"start-selected"],startText:[1,"start-text"],startValue:[8,"start-value"],endText:[1,"end-text"],endValue:[8,"end-value"],value:[1032]}]]],["p-qqmpdlxh",[[1,"lu-button",{color:[1],buttonType:[1025,"button-type"],disabled:[516],expand:[513],fill:[1537],href:[1],shape:[513],size:[513],strong:[4],type:[1],keyFocus:[32]}]]],["p-fx1ekrxd",[[1,"lu-card",{color:[1]}]]],["p-ibhbphit",[[1,"lu-card-buttons"]]],["p-k44kk98g",[[0,"lu-card-content"]]],["p-9yz6u43g",[[1,"lu-card-footer",{color:[1],translucent:[4]}]]],["p-fpxvwx6r",[[1,"lu-card-header",{color:[1],translucent:[4]}]]],["p-kyawfosa",[[1,"lu-card-title",{color:[1]}]]],["p-ykqvn7hb",[[1,"lu-checkbox",{color:[1],name:[1],labeledById:[1,"labeled-by-id"],checked:[1028],disabled:[4],isExternallyManaged:[4,"is-externally-managed"],value:[8],keyFocus:[32],hasFocus:[32]}]]],["p-ata6bs8q",[[4,"lu-checkbox-group",{direction:[1],id:[1537],name:[1],required:[4],value:[1040],setFocus:[64],getValues:[64]},[[0,"luCheckboxDidLoad","onCheckboxDidLoad"],[0,"luCheckboxDidUnload","onCheckboxDidUnload"]]]]],["p-v083bwcv",[[1,"lu-col",{offset:[1],offsetXs:[1,"offset-xs"],offsetSm:[1,"offset-sm"],offsetMd:[1,"offset-md"],offsetLg:[1,"offset-lg"],offsetXl:[1,"offset-xl"],pull:[1],pullXs:[1,"pull-xs"],pullSm:[1,"pull-sm"],pullMd:[1,"pull-md"],pullLg:[1,"pull-lg"],pullXl:[1,"pull-xl"],push:[1],pushXs:[1,"push-xs"],pushSm:[1,"push-sm"],pushMd:[1,"push-md"],pushLg:[1,"push-lg"],pushXl:[1,"push-xl"],size:[1],sizeXs:[1,"size-xs"],sizeSm:[1,"size-sm"],sizeMd:[1,"size-md"],sizeLg:[1,"size-lg"],sizeXl:[1,"size-xl"]},[[9,"resize","onResize"]]]]],["p-y7e9wk73",[[1,"lu-fab",{horizontal:[1],vertical:[1],edge:[4],activated:[1028],close:[64]},[[0,"click","onClick"]]]]],["p-vrnclv6h",[[1,"lu-fab-list",{activated:[4],side:[1]}]]],["p-zsabzbdy",[[0,"lu-form-validation",{value:[1040],isValid:[1540,"is-valid"],isInvalid:[1540,"is-invalid"],formGroups:[32]},[[0,"luFormGroupDidLoad","onFormGroupDidLoad"],[0,"luFormGroupDidUnload","onFormGroupDidUnload"]]]]],["p-th29b1wd",[[1,"lu-grid",{fixed:[4]}]]],["p-4k4dfqcz",[[1,"lu-header",{color:[1],preHeader:[4,"pre-header"]}]]],["p-ehjj9jyz",[[1,"lu-radio",{color:[1],labeledById:[1,"labeled-by-id"],name:[1],disabled:[4],checked:[1028],value:[1032],hasFocus:[32]},[[0,"click","onClick"]]]]],["p-qbf21f3p",[[0,"lu-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],direction:[1],id:[1537],name:[1],required:[4],value:[1032],setFocus:[64]},[[0,"luRadioDidLoad","onRadioDidLoad"],[0,"luRadioDidUnload","onRadioDidUnload"],[0,"luSelect","onRadioSelect"],[0,"luDeselect","onRadioDeselect"]]]]],["p-yfm8s2dy",[[1,"lu-row"]]],["p-4mqnu3ua",[[1,"lu-select",{id:[1537],color:[1],invalid:[4],name:[1],ariaLabel:[1,"aria-label"],disabled:[4],placeholder:[1],helpText:[1,"help-text"],selectedValue:[1025,"selected-value"],showPlaceholderOption:[4,"show-placeholder-option"],required:[4],options:[1040],valid:[4],isValid:[32],setFocus:[64]}]]],["p-nkau5hir",[[1,"lu-skeleton-text",{width:[1]}]]],["p-1ejftdpd",[[1,"lu-spinner",{dataColor:[1,"data-color"],dataScale:[2,"data-scale"],dataDuration:[2,"data-duration"],dataPaused:[4,"data-paused"],dataHidden:[4,"data-hidden"],dataMessage:[1,"data-message"]}]]],["p-u8pjv4u5",[[1,"lu-tab",{active:[1028],labeledById:[1025,"labeled-by-id"],name:[8],noSlide:[4,"no-slide"]},[[0,"click","onClick"]]]]],["p-syrydyj1",[[1,"lu-tabs",{value:[1025],noSlide:[4,"no-slide"],tabs:[32],tabIncrement:[32],pos:[32],left:[32],width:[32],elementResized:[64]},[[0,"luTabDidLoad","onTabDidLoad"],[0,"luTabDidUnload","onTabDidUnload"],[0,"luTabSelect","onTabSelect"]]]]],["p-njcv7tc7",[[1,"mylu-breakpoints",{sm:[2],md:[2],lg:[2],xl:[2],currentBreakpoint:[32],currentWidth:[32],currentHeight:[32]},[[9,"resize","onResize"]]]]],["p-zimjtw4l",[[1,"lu-img",{alt:[1],src:[1],loadSrc:[32]}]]],["p-z4g2b3dz",[[6,"lu-label",{color:[1],labelText:[1,"label-text"],required:[4],optional:[4],forId:[513,"for-id"],id:[1537],invalid:[4],errorMessage:[1,"error-message"],helperText:[1,"helper-text"]}]]],["p-xzlh0i64",[[0,"mylu-set-menu",{sets:[1040],activeSetId:[2,"active-set-id"],canReorder:[4,"can-reorder"],orderedSets:[32]},[[0,"luSelectedSetUpdated","onLuSelectedSet"],[0,"luReorderSet","onLuReorderSet"]]],[1,"mylu-set",{canReorder:[4,"can-reorder"],setId:[2,"set-id"],isActive:[1028,"is-active"],showActiveBar:[4,"show-active-bar"],setTitle:[1,"set-title"],order:[2],isReordering:[4,"is-reordering"],translationTracker:[2,"translation-tracker"]},[[0,"click","onClick"]]],[1,"mylu-set-menu-bar",{color:[1],selectedSet:[1026,"selected-set"],sets:[32],cloneSets:[32],circleDragging:[32],selectedItemHeight:[32],isTransitioning:[32],transitioningTimeout:[32],lastToIndex:[32]},[[0,"luSetDidLoad","onSetDidLoad"],[0,"luSetDidUnload","onSetDidUnload"],[2,"circleDragStart","onCircleDragStart"],[0,"circleDragEnd","onCircleDragEnd"],[0,"luSelect","onSetSelection"],[1,"drag","onMouseMove"]]],[1,"mylu-dot",{backgroundColor:[1,"background-color"],isActionable:[4,"is-actionable"]}],[1,"mylu-circle",{backgroundColor:[1,"background-color"],isActionable:[4,"is-actionable"],isOutline:[4,"is-outline"],isDraggable:[4,"is-draggable"],setId:[2,"set-id"],hideDecorators:[4,"hide-decorators"],isDragging:[32]},[[3,"dragstart","onDragStart"],[2,"dragend","onDragEnd"]]],[1,"lu-icon",{color:[1],mode:[1],ariaLabel:[1537,"aria-label"],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[1],src:[1],icon:[1],size:[1],svgContent:[32],isVisible:[32]}]]]],{resourcesUrl:e})); | ||
import{p as e,b as l}from"./p-9ab70fa5.js";e().then(e=>l([["p-kgmqnj4t",[[0,"mylu-avatar",{showNotification:[4,"show-notification"],showAction:[4,"show-action"],actionIcon:[1,"action-icon"],circleBackgroundColor:[1,"circle-background-color"],notificationBackgroundColor:[1,"notification-background-color"],actionBackgroundColor:[1,"action-background-color"],imgUrl:[1,"img-url"],isActionable:[4,"is-actionable"],imgLoaded:[32]}]]],["p-r0hggosv",[[1,"lu-card-image",{altText:[1,"alt-text"],iconColor:[1,"icon-color"],iconName:[1,"icon-name"],iconSize:[1,"icon-size"],isIcon:[4,"is-icon"],src:[1]}]]],["p-1upfcclb",[[1,"lu-fab-button",{color:[1],activated:[4],disabled:[4],href:[1],isExternallyManaged:[4,"is-externally-managed"],show:[1028],selected:[1028],toggleButton:[4,"toggle-button"],translucent:[4],type:[1],size:[1],value:[8],keyFocus:[32]}]]],["p-i3wmjwvv",[[1,"lu-form-group",{clearErrorStateOnClearInput:[4,"clear-error-state-on-clear-input"],clearInput:[4,"clear-input"],color:[1],clearOnEdit:[1028,"clear-on-edit"],errorMessage:[1025,"error-message"],externallyDeemedValid:[1028,"externally-deemed-valid"],externallyDeemedInvalid:[1028,"externally-deemed-invalid"],forId:[1025,"for-id"],helperText:[1,"helper-text"],id:[1537],isExternallyValidated:[4,"is-externally-validated"],isValidatedOnSubmission:[4,"is-validated-on-submission"],labelText:[1,"label-text"],updateTrigger:[1,"update-trigger"],value:[32],isCheckboxGroup:[32],isValid:[32],isInvalid:[32],isSelect:[32],isRadioGroup:[32],isRequired:[32],needsEmailValidation:[32],needsPatternValidation:[32],needsPasswordValidation:[32],pattern:[32],isInput:[32],getValidationValues:[64]}]]],["p-wusqngla",[[1,"lu-input",{accept:[1],autocomplete:[1],autocapitalize:[1],autocorrect:[1],autofocus:[4],clearInput:[4,"clear-input"],clearOnEdit:[1028,"clear-on-edit"],capture:[1],checked:[4],color:[1],debounce:[2],disabled:[4],form:[1],id:[1537],inputmode:[1],invalid:[4],list:[1],max:[8],min:[8],minLength:[2,"min-length"],maxLength:[2,"max-length"],multiple:[4],name:[1],pattern:[1],placeholder:[1],prefixIcon:[1,"prefix-icon"],prefixIconClickable:[4,"prefix-icon-clickable"],suffixIcon:[1025,"suffix-icon"],suffixIconClickable:[1028,"suffix-icon-clickable"],readOnly:[4,"read-only"],required:[4],size:[2],spellcheck:[4],step:[8],tabIndex:[2,"tab-index"],type:[1],valid:[4],value:[1025],hasFocus:[32],setFocus:[64]}]]],["p-7lnpl9az",[[1,"lu-side-menu",{color:[1],isVisible:[1028,"is-visible"],isCollapsible:[1540,"is-collapsible"],isCollapsed:[1540,"is-collapsed"],hasBoxShadow:[4,"has-box-shadow"],externallyManaged:[4,"externally-managed"],makeVisible:[64],isHidden:[64],collapsedHandler:[64]},[[0,"keydown","handleEscape"]]]]],["p-vtlmzywo",[[1,"lu-toggle",{startSelected:[1028,"start-selected"],startText:[1,"start-text"],startValue:[8,"start-value"],endText:[1,"end-text"],endValue:[8,"end-value"],value:[1032]}]]],["p-qqmpdlxh",[[1,"lu-button",{color:[1],buttonType:[1025,"button-type"],disabled:[516],expand:[513],fill:[1537],href:[1],shape:[513],size:[513],strong:[4],type:[1],keyFocus:[32]}]]],["p-fx1ekrxd",[[1,"lu-card",{color:[1]}]]],["p-ibhbphit",[[1,"lu-card-buttons"]]],["p-k44kk98g",[[0,"lu-card-content"]]],["p-9yz6u43g",[[1,"lu-card-footer",{color:[1],translucent:[4]}]]],["p-fpxvwx6r",[[1,"lu-card-header",{color:[1],translucent:[4]}]]],["p-kyawfosa",[[1,"lu-card-title",{color:[1]}]]],["p-ykqvn7hb",[[1,"lu-checkbox",{color:[1],name:[1],labeledById:[1,"labeled-by-id"],checked:[1028],disabled:[4],isExternallyManaged:[4,"is-externally-managed"],value:[8],keyFocus:[32],hasFocus:[32]}]]],["p-ata6bs8q",[[4,"lu-checkbox-group",{direction:[1],id:[1537],name:[1],required:[4],value:[1040],setFocus:[64],getValues:[64]},[[0,"luCheckboxDidLoad","onCheckboxDidLoad"],[0,"luCheckboxDidUnload","onCheckboxDidUnload"]]]]],["p-v083bwcv",[[1,"lu-col",{offset:[1],offsetXs:[1,"offset-xs"],offsetSm:[1,"offset-sm"],offsetMd:[1,"offset-md"],offsetLg:[1,"offset-lg"],offsetXl:[1,"offset-xl"],pull:[1],pullXs:[1,"pull-xs"],pullSm:[1,"pull-sm"],pullMd:[1,"pull-md"],pullLg:[1,"pull-lg"],pullXl:[1,"pull-xl"],push:[1],pushXs:[1,"push-xs"],pushSm:[1,"push-sm"],pushMd:[1,"push-md"],pushLg:[1,"push-lg"],pushXl:[1,"push-xl"],size:[1],sizeXs:[1,"size-xs"],sizeSm:[1,"size-sm"],sizeMd:[1,"size-md"],sizeLg:[1,"size-lg"],sizeXl:[1,"size-xl"]},[[9,"resize","onResize"]]]]],["p-y7e9wk73",[[1,"lu-fab",{horizontal:[1],vertical:[1],edge:[4],activated:[1028],close:[64]},[[0,"click","onClick"]]]]],["p-vrnclv6h",[[1,"lu-fab-list",{activated:[4],side:[1]}]]],["p-zsabzbdy",[[0,"lu-form-validation",{value:[1040],isValid:[1540,"is-valid"],isInvalid:[1540,"is-invalid"],formGroups:[32]},[[0,"luFormGroupDidLoad","onFormGroupDidLoad"],[0,"luFormGroupDidUnload","onFormGroupDidUnload"]]]]],["p-th29b1wd",[[1,"lu-grid",{fixed:[4]}]]],["p-4k4dfqcz",[[1,"lu-header",{color:[1],preHeader:[4,"pre-header"]}]]],["p-ehjj9jyz",[[1,"lu-radio",{color:[1],labeledById:[1,"labeled-by-id"],name:[1],disabled:[4],checked:[1028],value:[1032],hasFocus:[32]},[[0,"click","onClick"]]]]],["p-qbf21f3p",[[0,"lu-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],direction:[1],id:[1537],name:[1],required:[4],value:[1032],setFocus:[64]},[[0,"luRadioDidLoad","onRadioDidLoad"],[0,"luRadioDidUnload","onRadioDidUnload"],[0,"luSelect","onRadioSelect"],[0,"luDeselect","onRadioDeselect"]]]]],["p-yfm8s2dy",[[1,"lu-row"]]],["p-4mqnu3ua",[[1,"lu-select",{id:[1537],color:[1],invalid:[4],name:[1],ariaLabel:[1,"aria-label"],disabled:[4],placeholder:[1],helpText:[1,"help-text"],selectedValue:[1025,"selected-value"],showPlaceholderOption:[4,"show-placeholder-option"],required:[4],options:[1040],valid:[4],isValid:[32],setFocus:[64]}]]],["p-nkau5hir",[[1,"lu-skeleton-text",{width:[1]}]]],["p-1ejftdpd",[[1,"lu-spinner",{dataColor:[1,"data-color"],dataScale:[2,"data-scale"],dataDuration:[2,"data-duration"],dataPaused:[4,"data-paused"],dataHidden:[4,"data-hidden"],dataMessage:[1,"data-message"]}]]],["p-u8pjv4u5",[[1,"lu-tab",{active:[1028],labeledById:[1025,"labeled-by-id"],name:[8],noSlide:[4,"no-slide"]},[[0,"click","onClick"]]]]],["p-syrydyj1",[[1,"lu-tabs",{value:[1025],noSlide:[4,"no-slide"],tabs:[32],tabIncrement:[32],pos:[32],left:[32],width:[32],elementResized:[64]},[[0,"luTabDidLoad","onTabDidLoad"],[0,"luTabDidUnload","onTabDidUnload"],[0,"luTabSelect","onTabSelect"]]]]],["p-njcv7tc7",[[1,"mylu-breakpoints",{sm:[2],md:[2],lg:[2],xl:[2],currentBreakpoint:[32],currentWidth:[32],currentHeight:[32]},[[9,"resize","onResize"]]]]],["p-zimjtw4l",[[1,"lu-img",{alt:[1],src:[1],loadSrc:[32]}]]],["p-z4g2b3dz",[[6,"lu-label",{color:[1],labelText:[1,"label-text"],required:[4],optional:[4],forId:[513,"for-id"],id:[1537],invalid:[4],errorMessage:[1,"error-message"],helperText:[1,"helper-text"]}]]],["p-hsiaqthd",[[0,"mylu-set-menu",{sets:[1040],activeSetId:[1026,"active-set-id"],canReorder:[4,"can-reorder"],orderedSets:[32]},[[0,"luSelectedSetUpdated","onLuSelectedSet"],[0,"luReorderSet","onLuReorderSet"]]],[1,"mylu-set",{canReorder:[4,"can-reorder"],setId:[2,"set-id"],isActive:[1028,"is-active"],showActiveBar:[4,"show-active-bar"],setTitle:[1,"set-title"],order:[2],isReordering:[4,"is-reordering"],translationTracker:[2,"translation-tracker"]},[[0,"click","onClick"]]],[1,"mylu-set-menu-bar",{color:[1],selectedSet:[1026,"selected-set"],cloneSets:[32],circleDragging:[32],selectedItemHeight:[32],isTransitioning:[32],transitioningTimeout:[32],lastToIndex:[32]},[[2,"circleDragStart","onCircleDragStart"],[0,"circleDragEnd","onCircleDragEnd"],[0,"luSelect","onSetSelection"],[1,"drag","onMouseMove"]]],[1,"mylu-dot",{backgroundColor:[1,"background-color"],isActionable:[4,"is-actionable"]}],[1,"mylu-circle",{backgroundColor:[1,"background-color"],isActionable:[4,"is-actionable"],isOutline:[4,"is-outline"],isDraggable:[4,"is-draggable"],setId:[2,"set-id"],hideDecorators:[4,"hide-decorators"],isDragging:[32]},[[3,"dragstart","onDragStart"],[2,"dragend","onDragEnd"]]],[1,"lu-icon",{color:[1],mode:[1],ariaLabel:[1537,"aria-label"],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[1],src:[1],icon:[1],size:[1],svgContent:[32],isVisible:[32]}]]]],{resourcesUrl:e})); |
{ | ||
"timestamp": "2019-06-26T21:05:18", | ||
"timestamp": "2019-06-26T22:49:47", | ||
"compiler": { | ||
@@ -502,3 +502,3 @@ "name": "@stencil/core", | ||
"type": "number", | ||
"mutable": false, | ||
"mutable": true, | ||
"attr": "active-set-id", | ||
@@ -505,0 +505,0 @@ "reflectToAttr": false, |
{ | ||
"name": "@lu-development/ux-mylu-patterns", | ||
"version": "0.3.0-dev.201906262105.07b5e7a", | ||
"version": "0.3.0-dev.201906262249.f73ba4f", | ||
"description": "Liberty University MyLU Patterns", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1851049
26379