Modified: ofbiz/ofbiz-framework/trunk/applications/product/groovyScripts/facility/facility/FindFacility.groovy
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/groovyScripts/facility/facility/FindFacility.groovy?rev=1821001&r1=1821000&r2=1821001&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/product/groovyScripts/facility/facility/FindFacility.groovy (original) +++ ofbiz/ofbiz-framework/trunk/applications/product/groovyScripts/facility/facility/FindFacility.groovy Fri Jan 12 15:47:47 2018 @@ -20,6 +20,9 @@ findResult = from("Facility").queryList() findResultSize = findResult.size() +if (findResultSize == 0) { + context.showScreen = "none" +} if (findResultSize == 1) { context.showScreen = "one" context.facility = findResult.get(0) Modified: ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/FacilityScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/FacilityScreens.xml?rev=1821001&r1=1821000&r2=1821001&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/FacilityScreens.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/FacilityScreens.xml Fri Jan 12 15:47:47 2018 @@ -31,7 +31,6 @@ under the License. <widgets> <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <label style="h3" text="${uiLabelMap.ProductOnlyOneFacility}"/> <section> <condition> <if-service-permission service-name="facilityGenericPermission" main-action="VIEW"/> @@ -39,6 +38,40 @@ under the License. <widgets> <section> <condition> + <if-compare field="showScreen" value="none" operator="equals"/> + </condition> + <widgets> + <section> + <condition> + <if-service-permission service-name="facilityGenericPermission" main-action="CREATE"/> + </condition> + <widgets> + <include-menu name="FacilityTabBar" location="component://product/widget/facility/FacilityMenus.xml"/> + <section> + <widgets> + <container style="button-bar"> + <link target="/workeffort/control/calendar" text="${uiLabelMap.CommonViewCalendar}" style="buttontext" url-mode="inter-app"> + <parameter param-name="facilityId"/> + <parameter param-name="externalLoginKey" from-field="parameters.externalLoginKey"/> + </link> + </container> + <label style="h1">${uiLabelMap.ProductEditFacility} ${facility.facilityName} [${facilityId}]</label> + <platform-specific><html><html-template location="component://product/template/facility/EditFacility.ftl"/></html></platform-specific> + </widgets> + <fail-widgets> + <label style="h1">${uiLabelMap.ProductNewFacility}"</label> + <platform-specific><html><html-template location="component://product/template/facility/EditFacility.ftl"/></html></platform-specific> + </fail-widgets> + </section> + </widgets> + <fail-widgets> + <label style="h3">${uiLabelMap.ProductFacilityViewPermissionError}</label> + </fail-widgets> + </section> + </widgets> + </section> + <section> + <condition> <if-compare field="showScreen" value="one" operator="equals"/> </condition> <actions> Modified: ofbiz/ofbiz-framework/trunk/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml?rev=1821001&r1=1821000&r2=1821001&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml Fri Jan 12 15:47:47 2018 @@ -453,10 +453,8 @@ under the License. <!-- If we already have a new contactMechId don't update ContactMech --> <if-empty field="parameters.newContactMechId"> <log level="info" message="Calling map procs"/> - <call-map-processor xml-resource="component://party/minilang/contact/ContactMechMapProcs.xml" - processor-name="updateContactMech" in-map-name="parameters" out-map-name="context"/> - <to-string field="context.contactMechId"/> <log level="info" message="Calling generic updateContactMech method"/> + <set-service-fields service-name="updateContactMech" map="parameters" to-map="context"/> <call-service service-name="updateContactMech" in-map-name="context"> <default-message property="PartyContactMechanismSuccessfullyUpdated" resource="PartyUiLabels"/> <result-to-field result-name="contactMechId" field="newWorkEffortContactMech.contactMechId"/> @@ -481,7 +479,7 @@ under the License. <simple-method method-name="createWorkEffortPostalAddress" short-description="Create a PostalAddress for WorkEffort"> <make-value entity-name="WorkEffortContactMech" value-field="newValue"/> <log level="info" message="Creating postal address"/> - <if-not-empty field="parameters.addToParty"> + <if-not-empty field="parameters.partyId"> <call-map-processor xml-resource="component://party/minilang/contact/PartyContactMechMapProcs.xml" processor-name="postalAddress" in-map-name="parameters" out-map-name="context"/> <call-service service-name="createPartyPostalAddress" in-map-name="context"> @@ -490,8 +488,7 @@ under the License. </call-service> <log level="info" message="Party ContactMech created"/> <else> - <call-map-processor xml-resource="component://party/minilang/contact/ContactMechMapProcs.xml" - processor-name="postalAddress" in-map-name="parameters" out-map-name="context"/> + <set-service-fields service-name="createPostalAddress" map="parameters" to-map="context"/> <call-service in-map-name="context" service-name="createPostalAddress"> <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/> <result-to-field result-name="contactMechId" field="newValue.contactMechId"/> @@ -512,28 +509,30 @@ under the License. <simple-method method-name="updateWorkEffortPostalAddress" short-description="Update a PostalAddress for WorkEffort"> <make-value entity-name="WorkEffortContactMech" value-field="newValue"/> - <call-map-processor xml-resource="component://party/minilang/contact/ContactMechMapProcs.xml" - processor-name="postalAddress" in-map-name="parameters" out-map-name="context"/> + <set-service-fields service-name="updatePostalAddress" map="parameters" to-map="context"/> <call-service in-map-name="context" service-name="updatePostalAddress"> <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/> <result-to-field result-name="contactMechId" field="newValue.contactMechId"/> + <result-to-field result-name="oldContactMechId" field="oldContactMechId"/> </call-service> <call-map-processor xml-resource="component://workeffort/minilang/workeffort/WorkflowMapProcessors.xml" processor-name="workEffortContactMech" in-map-name="parameters" out-map-name="context2"/> <set from-field="newValue.contactMechId" field="context2.newContactMechId"/> <set field="context2.contactMechTypeId" value="POSTAL_ADDRESS"/> + <set field="context2.fromDate" from-field="parameters.fromDate"/> <log level="info" message="Copied id to context2: ${context2.newContactMechId}"/> <call-service in-map-name="context2" service-name="updateWorkEffortContactMech"> <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/> </call-service> <field-to-request field="newValue.contactMechId" request-name="contactMechId"/> <field-to-result field="newValue.contactMechId" result-name="contactMechId"/> + <field-to-result field="oldContactMechId" result-name="oldContactMechId"/> </simple-method> <simple-method method-name="createWorkEffortTelecomNumber" short-description="Create a TelecomNumber for WorkEffort"> <make-value entity-name="WorkEffortContactMech" value-field="newValue"/> <log level="info" message="Creating telecom number"/> - <if-not-empty field="parameters.addToParty"> + <if-not-empty field="parameters.partyId"> <call-map-processor xml-resource="component://party/minilang/contact/PartyContactMechMapProcs.xml" processor-name="telecomNumber" in-map-name="parameters" out-map-name="context"/> <call-service service-name="createPartyTelecomNumber" in-map-name="context"> @@ -542,8 +541,7 @@ under the License. </call-service> <log level="info" message="Party ContactMech created"/> <else> - <call-map-processor xml-resource="component://party/minilang/contact/ContactMechMapProcs.xml" - processor-name="telecomNumber" in-map-name="parameters" out-map-name="context"/> + <set-service-fields service-name="createTelecomNumber" map="parameters" to-map="context"/> <call-service in-map-name="context" service-name="createTelecomNumber"> <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/> <result-to-field result-name="contactMechId" field="newValue.contactMechId"/> @@ -563,17 +561,18 @@ under the License. <simple-method method-name="updateWorkEffortTelecomNumber" short-description="Update a TelecomNumber for WorkEffort"> <make-value entity-name="WorkEffortContactMech" value-field="newValue"/> - <call-map-processor xml-resource="component://party/minilang/contact/ContactMechMapProcs.xml" - processor-name="telecomNumber" in-map-name="parameters" out-map-name="context"/> + <set-service-fields service-name="updateTelecomNumber" map="parameters" to-map="context"/> <call-service in-map-name="context" service-name="updateTelecomNumber"> <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/> <result-to-field result-name="contactMechId" field="newValue.contactMechId"/> + <result-to-field result-name="oldContactMechId" field="oldContactMechId"/> </call-service> <call-map-processor xml-resource="component://workeffort/minilang/workeffort/WorkflowMapProcessors.xml" processor-name="workEffortContactMech" in-map-name="parameters" out-map-name="context2"/> <set from-field="newValue.contactMechId" field="context2.newContactMechId"/> <set field="context2.contactMechTypeId" value="TELECOM_NUMBER"/> + <set field="context2.fromDate" from-field="parameters.fromDate"/> <log level="info" message="Copied id to context2: ${context2.newContactMechId}"/> <call-service in-map-name="context2" service-name="updateWorkEffortContactMech"> <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/> @@ -581,12 +580,11 @@ under the License. <log level="info" message="Setting result id: ${newValue.contactMechId}"/> <field-to-request field="newValue.contactMechId" request-name="contactMechId"/> <field-to-result field="newValue.contactMechId" result-name="contactMechId"/> + <field-to-result field="oldContactMechId" result-name="oldContactMechId"/> </simple-method> <simple-method method-name="createWorkEffortEmailAddress" short-description="Create an email address for WorkEffort"> - <call-map-processor xml-resource="component://workeffort/minilang/workeffort/WorkflowMapProcessors.xml" - processor-name="emailAddress" in-map-name="parameters" out-map-name="cwecmMap"/> - <check-errors/> + <set-service-fields service-name="createWorkEffortContactMech" map="parameters" to-map="cwecmMap"/> <set field="cwecmMap.contactMechTypeId" value="EMAIL_ADDRESS"/> <call-service service-name="createWorkEffortContactMech" in-map-name="cwecmMap"> <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/> @@ -595,9 +593,7 @@ under the License. </call-service> </simple-method> <simple-method method-name="updateWorkEffortEmailAddress" short-description="Update an email address for WorkEffort"> - <call-map-processor xml-resource="component://workeffort/minilang/workeffort/WorkflowMapProcessors.xml" - processor-name="emailAddress" in-map-name="parameters" out-map-name="uwecmMap"/> - <check-errors/> + <set-service-fields service-name="createWorkEffortContactMech" map="parameters" to-map="uwecmMap"/> <set field="uwecmMap.contactMechTypeId" value="EMAIL_ADDRESS"/> <call-service service-name="updateWorkEffortContactMech" in-map-name="uwecmMap"> <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/> Modified: ofbiz/ofbiz-framework/trunk/applications/workeffort/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/workeffort/servicedef/services.xml?rev=1821001&r1=1821000&r2=1821001&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/workeffort/servicedef/services.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/workeffort/servicedef/services.xml Fri Jan 12 15:47:47 2018 @@ -767,11 +767,66 @@ under the License. <attribute name="contactMechPurposeTypeId" type="String" mode="IN" optional="true"/> <attribute name="contactMechId" type="String" mode="INOUT" optional="true"/> </service> + <service name="updateWorkEffortContactMech" engine="simple" + location="component://workeffort/minilang/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortContactMech" auth="true"> + <description>Update WorkEffortContactMech</description> + <permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/> + <auto-attributes entity-name="WorkEffortContactMech" mode="IN" include="nonpk" optional="true"/> + <auto-attributes entity-name="PartyContactMech" include="all" mode="IN" optional="true"/> + <attribute name="workEffortId" mode="IN" type="String" optional="false"></attribute> + <attribute name="contactMechTypeId" mode="IN" type="String" optional="true"></attribute> + <attribute name="infoString" mode="IN" type="String" optional="true"></attribute> + <attribute name="contactMechPurposeTypeId" type="String" mode="IN" optional="true"/> + <attribute name="newContactMechId" type="String" mode="IN" optional="true"/> + <attribute name="contactMechId" type="String" mode="INOUT" optional="true"/> + </service> <service name="deleteWorkEffortContactMech" engine="entity-auto" default-entity-name="WorkEffortContactMech" invoke="delete" auth="true"> <description>Delete WorkEffortContactMech</description> <permission-service service-name="workEffortGenericPermission" main-action="DELETE"/> <auto-attributes mode="IN" include="pk" optional="false"/> </service> + <service name="createWorkEffortPostalAddress" engine="simple" + location="component://workeffort/minilang/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortPostalAddress"> + <description>Create WorkEffort PostalAddress</description> + <permission-service service-name="workEffortGenericPermission" main-action="CREATE"/> + <implements service="createPostalAddress"/> + <implements service="createPartyPostalAddress"/> + <implements service="createWorkEffortContactMech"/> + </service> + <service name="updateWorkEffortPostalAddress" engine="simple" + location="component://workeffort/minilang/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortPostalAddress"> + <description>Update WorkEffort PostalAddress</description> + <permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/> + <implements service="updatePostalAddress"/> + <implements service="updateWorkEffortContactMech"/> + </service> + <service name="createWorkEffortTelecomNumber" engine="simple" + location="component://workeffort/minilang/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortTelecomNumber"> + <description>Create WorkEffort TelecomNumber</description> + <permission-service service-name="workEffortGenericPermission" main-action="CREATE"/> + <implements service="createTelecomNumber"/> + <implements service="createPartyTelecomNumber"/> + <implements service="createWorkEffortContactMech"/> + </service> + <service name="updateWorkEffortTelecomNumber" engine="simple" + location="component://workeffort/minilang/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortTelecomNumber"> + <description>Update WorkEffort TelecomNumber</description> + <permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/> + <implements service="updateTelecomNumber"/> + <implements service="updateWorkEffortContactMech"/> + </service> + <service name="createWorkEffortEmailAddress" engine="simple" + location="component://workeffort/minilang/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortEmailAddress"> + <description>Create WorkEffort Email Address</description> + <permission-service service-name="workEffortGenericPermission" main-action="CREATE"/> + <implements service="createWorkEffortContactMech"/> + </service> + <service name="updateWorkEffortEmailAddress" engine="simple" + location="component://workeffort/minilang/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortEmailAddress"> + <description>Update WorkEffort Email Address</description> + <permission-service service-name="workEffortGenericPermission" main-action="UPDATE"/> + <implements service="updateWorkEffortContactMech"/> + </service> <!--WorkEffortInventoryProduced Services --> <service name="createWorkEffortInventoryProduced" engine="entity-auto" default-entity-name="WorkEffortInventoryProduced" invoke="create" auth="true"> Modified: ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java?rev=1821001&r1=1821000&r2=1821001&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java (original) +++ ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java Fri Jan 12 15:47:47 2018 @@ -56,6 +56,7 @@ public class JsLanguageFileMappingCreato Map<String, String> dateJsLocaleFile = new LinkedHashMap<>(); Map<String, String> validationLocaleFile = new LinkedHashMap<>(); Map<String, String> dateTimePickerLocaleFile = new LinkedHashMap<>(); + Map<String, String> select2LocaleFile = new LinkedHashMap<>(); // setup some variables to locate the js files String componentRoot = "component://common-theme/webapp"; @@ -63,6 +64,7 @@ public class JsLanguageFileMappingCreato String dateJsLocaleRelPath = "/common/js/jquery/plugins/datejs/"; String validateRelPath = "/common/js/jquery/plugins/validate/localization/"; String dateTimePickerJsLocaleRelPath = "/common/js/jquery/plugins/datetimepicker/i18n/"; + String select2LocaleRelPath = "/common/js/jquery/plugins/select2/js/i18n/"; String jsFilePostFix = ".js"; String dateJsLocalePrefix = "date-"; String validateLocalePrefix = "messages_"; @@ -180,6 +182,27 @@ public class JsLanguageFileMappingCreato } } dateTimePickerLocaleFile.put(displayCountry, fileUrl); + + /* + * Try to open the Select 2 language file + */ + fileName = componentRoot + select2LocaleRelPath + strippedLocale + jsFilePostFix; + file = FileUtil.getFile(fileName); + + if (file.exists()) { + fileUrl = select2LocaleRelPath + strippedLocale + jsFilePostFix; + } else { + // Try to guess a language + fileName = componentRoot + select2LocaleRelPath + modifiedDisplayCountry + jsFilePostFix; + file = FileUtil.getFile(fileName); + if (file.exists()) { + fileUrl = select2LocaleRelPath + modifiedDisplayCountry + jsFilePostFix; + } else { + // use default language en as fallback + fileUrl = select2LocaleRelPath + defaultLocaleJquery + jsFilePostFix; + } + } + select2LocaleFile.put(displayCountry, fileUrl); } // check the template file @@ -190,6 +213,7 @@ public class JsLanguageFileMappingCreato mapWrapper.put("jquery", jQueryLocaleFile); mapWrapper.put("validation", validationLocaleFile); mapWrapper.put("dateTime", dateTimePickerLocaleFile); + mapWrapper.put("select2", select2LocaleFile); // some magic to create a new java file: render it as FTL Writer writer = new StringWriter(); Modified: ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java?rev=1821001&r1=1821000&r2=1821001&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java (original) +++ ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java Fri Jan 12 15:47:47 2018 @@ -727,4 +727,178 @@ public final class JsLanguageFilesMappin return dateTime.defaultDateTime; } } + + public static class select2 { + private static Map<String, String> localeFiles = new HashMap<String, String>(); + private static String defaultSelect2 = "/common/js/jquery/plugins/select2/js/i18n/en.js"; + + static { + localeFiles.put("sq", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sq_AL", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_DZ", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_BH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_EG", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_IQ", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_JO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_KW", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_LB", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_LY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_MA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_OM", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_QA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_SA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_SD", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_SY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_TN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_AE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ar_YE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("be", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("be_BY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("bg", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("bg_BG", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ca", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ca_ES", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("zh", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("zh_CN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("zh_HK", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("zh_SG", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("zh_TW", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("hr", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("hr_HR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("cs", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("cs_CZ", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("da", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("da_DK", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("nl", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("nl_BE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("nl_NL", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_AU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_CA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_IN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_IE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_MT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_NZ", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_PH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_SG", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_ZA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_GB", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("en_US", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("et", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("et_EE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("fi", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("fi_FI", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("fr", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("fr_BE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("fr_CA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("fr_FR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("fr_LU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("fr_CH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("de", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("de_AT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("de_DE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("de_GR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("de_LU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("de_CH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("el", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("el_CY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("el_GR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("iw", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("iw_IL", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("hi", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("hi_IN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("hu", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("hu_HU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("is", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("is_IS", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("in", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("in_ID", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ga", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ga_IE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("it", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("it_IT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("it_CH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ja", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ja_JP", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ja_JP_JP_#u-ca-japanese", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ko", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ko_KR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("lv", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("lv_LV", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("lt", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("lt_LT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("mk", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("mk_MK", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ms", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ms_MY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("mt", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("mt_MT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("no", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("no_NO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("no_NO_NY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("pl", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("pl_PL", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("pt", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("pt_BR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("pt_PT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ro", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ro_RO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ru", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("ru_RU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sr", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sr_BA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sr__#Latn", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sr_BA_#Latn", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sr_ME_#Latn", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sr_RS_#Latn", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sr_ME", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sr_CS", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sr_RS", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sk", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sk_SK", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sl", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sl_SI", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_AR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_BO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_CL", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_CO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_CR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_CU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_DO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_EC", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_SV", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_GT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_HN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_MX", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_NI", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_PA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_PY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_PE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_PR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_ES", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_US", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_UY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("es_VE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sv", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("sv_SE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("th", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("th_TH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("th_TH_TH_#u-nu-thai", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("tr", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("tr_TR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("uk", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("uk_UA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("vi", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + localeFiles.put("vi_VN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js"); + } + + public static String getFilePath(String locale) { + if (select2.localeFiles.containsKey(locale)) { + return select2.localeFiles.get(locale); + } + return select2.defaultSelect2; + } + } } Modified: ofbiz/ofbiz-framework/trunk/themes/bluelight/webapp/bluelight/style.css URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/bluelight/webapp/bluelight/style.css?rev=1821001&r1=1821000&r2=1821001&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/themes/bluelight/webapp/bluelight/style.css (original) +++ ofbiz/ofbiz-framework/trunk/themes/bluelight/webapp/bluelight/style.css Fri Jan 12 15:47:47 2018 @@ -4062,3 +4062,12 @@ html > /**/ body .jstree-default a { white-space: normal; height: auto; } + +/*The Custom css for SELECT 2*/ +.select2-container--default .select2-selection--multiple{ + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + border-radius: 0px; + border-color: #848484 #c1c1c1 #e1e1e1; + min-height: unset !important; +} Modified: ofbiz/ofbiz-framework/trunk/themes/common/template/JsLanguageFilesMapping.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/template/JsLanguageFilesMapping.ftl?rev=1821001&r1=1821000&r2=1821001&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/themes/common/template/JsLanguageFilesMapping.ftl (original) +++ ofbiz/ofbiz-framework/trunk/themes/common/template/JsLanguageFilesMapping.ftl Fri Jan 12 15:47:47 2018 @@ -109,4 +109,23 @@ public final class JsLanguageFilesMappin return dateTime.defaultDateTime; } } + + public static class select2 { + private static Map<String, String> localeFiles = new HashMap<String, String>(); + private static String defaultSelect2 = "/common/js/jquery/plugins/select2/js/i18n/en.js"; + + static { + <#list select2.keySet() as select2Files> + <#assign filePath = select2.get(select2Files)! /> + localeFiles.put("${select2Files}", "${filePath}"); + </#list> + } + + public static String getFilePath(String locale) { + if (select2.localeFiles.containsKey(locale)) { + return select2.localeFiles.get(locale); + } + return select2.defaultSelect2; + } + } } Modified: ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJs.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJs.ftl?rev=1821001&r1=1821000&r2=1821001&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJs.ftl (original) +++ ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJs.ftl Fri Jan 12 15:47:47 2018 @@ -26,12 +26,10 @@ under the License. multiple.attr('title', '${asm_title}'); </#if> - // use asmSelect in Widget Forms - multiple.asmSelect({ - addItemTarget: 'top', - sortable: ${asm_sortable!'false'}, - removeLabel: '${uiLabelMap.CommonRemove!'Remove'}' - //, debugMode: true + multiple.select2({ + tags: true, + multiple: true, + lang: '${userLogin.lastLocale!"en"}' }); <#if asm_relatedField??> <#-- can be used without related field --> Modified: ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl?rev=1821001&r1=1821000&r2=1821001&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl (original) +++ ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl Fri Jan 12 15:47:47 2018 @@ -28,12 +28,10 @@ under the License. multiple.attr('title', '${row.asm_title}'); </#if> - // use asmSelect in Widget Forms - multiple.asmSelect({ - addItemTarget: 'top', - sortable: ${row.asm_sortable!'false'}, - removeLabel: '${uiLabelMap.CommonRemove!'Remove'}' - //, debugMode: true + multiple.select2({ + tags: true, + multiple: true, + lang: '${userLogin.lastLocale!"en"}' }); <#if row.asm_relatedField??> <#-- can be used without related field --> Added: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.css URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.css?rev=1821001&view=auto ============================================================================== --- ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.css (added) +++ ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.css Fri Jan 12 15:47:47 2018 @@ -0,0 +1,484 @@ +.select2-container { + box-sizing: border-box; + display: inline-block; + margin: 0; + position: relative; + vertical-align: middle; } + .select2-container .select2-selection--single { + box-sizing: border-box; + cursor: pointer; + display: block; + height: 28px; + user-select: none; + -webkit-user-select: none; } + .select2-container .select2-selection--single .select2-selection__rendered { + display: block; + padding-left: 8px; + padding-right: 20px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } + .select2-container .select2-selection--single .select2-selection__clear { + position: relative; } + .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { + padding-right: 8px; + padding-left: 20px; } + .select2-container .select2-selection--multiple { + box-sizing: border-box; + cursor: pointer; + display: block; + min-height: 32px; + user-select: none; + -webkit-user-select: none; } + .select2-container .select2-selection--multiple .select2-selection__rendered { + display: inline-block; + overflow: hidden; + padding-left: 8px; + text-overflow: ellipsis; + white-space: nowrap; } + .select2-container .select2-search--inline { + float: left; } + .select2-container .select2-search--inline .select2-search__field { + box-sizing: border-box; + border: none; + font-size: 100%; + margin-top: 5px; + padding: 0; } + .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button { + -webkit-appearance: none; } + +.select2-dropdown { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + box-sizing: border-box; + display: block; + position: absolute; + left: -100000px; + width: 100%; + z-index: 1051; } + +.select2-results { + display: block; } + +.select2-results__options { + list-style: none; + margin: 0; + padding: 0; } + +.select2-results__option { + padding: 6px; + user-select: none; + -webkit-user-select: none; } + .select2-results__option[aria-selected] { + cursor: pointer; } + +.select2-container--open .select2-dropdown { + left: 0; } + +.select2-container--open .select2-dropdown--above { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } + +.select2-container--open .select2-dropdown--below { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; } + +.select2-search--dropdown { + display: block; + padding: 4px; } + .select2-search--dropdown .select2-search__field { + padding: 4px; + width: 100%; + box-sizing: border-box; } + .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button { + -webkit-appearance: none; } + .select2-search--dropdown.select2-search--hide { + display: none; } + +.select2-close-mask { + border: 0; + margin: 0; + padding: 0; + display: block; + position: fixed; + left: 0; + top: 0; + min-height: 100%; + min-width: 100%; + height: auto; + width: auto; + opacity: 0; + z-index: 99; + background-color: #fff; + filter: alpha(opacity=0); } + +.select2-hidden-accessible { + border: 0 !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(50%) !important; + clip-path: inset(50%) !important; + height: 1px !important; + overflow: hidden !important; + padding: 0 !important; + position: absolute !important; + width: 1px !important; + white-space: nowrap !important; } + +.select2-container--default .select2-selection--single { + background-color: #fff; + border: 1px solid #aaa; + border-radius: 4px; } + .select2-container--default .select2-selection--single .select2-selection__rendered { + color: #444; + line-height: 28px; } + .select2-container--default .select2-selection--single .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; } + .select2-container--default .select2-selection--single .select2-selection__placeholder { + color: #999; } + .select2-container--default .select2-selection--single .select2-selection__arrow { + height: 26px; + position: absolute; + top: 1px; + right: 1px; + width: 20px; } + .select2-container--default .select2-selection--single .select2-selection__arrow b { + border-color: #888 transparent transparent transparent; + border-style: solid; + border-width: 5px 4px 0 4px; + height: 0; + left: 50%; + margin-left: -4px; + margin-top: -2px; + position: absolute; + top: 50%; + width: 0; } + +.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear { + float: left; } + +.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow { + left: 1px; + right: auto; } + +.select2-container--default.select2-container--disabled .select2-selection--single { + background-color: #eee; + cursor: default; } + .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear { + display: none; } + +.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { + border-color: transparent transparent #888 transparent; + border-width: 0 4px 5px 4px; } + +.select2-container--default .select2-selection--multiple { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + cursor: text; } + .select2-container--default .select2-selection--multiple .select2-selection__rendered { + box-sizing: border-box; + list-style: none; + margin: 0; + padding: 0 5px; + width: 100%; } + .select2-container--default .select2-selection--multiple .select2-selection__rendered li { + list-style: none; } + .select2-container--default .select2-selection--multiple .select2-selection__placeholder { + color: #999; + margin-top: 5px; + float: left; } + .select2-container--default .select2-selection--multiple .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; + margin-top: 5px; + margin-right: 10px; } + .select2-container--default .select2-selection--multiple .select2-selection__choice { + background-color: #e4e4e4; + border: 1px solid #aaa; + border-radius: 4px; + cursor: default; + float: left; + margin-right: 5px; + margin-top: 5px; + padding: 0 5px; } + .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { + color: #999; + cursor: pointer; + display: inline-block; + font-weight: bold; + margin-right: 2px; } + .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { + color: #333; } + +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline { + float: right; } + +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice { + margin-left: 5px; + margin-right: auto; } + +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { + margin-left: 2px; + margin-right: auto; } + +.select2-container--default.select2-container--focus .select2-selection--multiple { + border: solid black 1px; + outline: 0; } + +.select2-container--default.select2-container--disabled .select2-selection--multiple { + background-color: #eee; + cursor: default; } + +.select2-container--default.select2-container--disabled .select2-selection__choice__remove { + display: none; } + +.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple { + border-top-left-radius: 0; + border-top-right-radius: 0; } + +.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } + +.select2-container--default .select2-search--dropdown .select2-search__field { + border: 1px solid #aaa; } + +.select2-container--default .select2-search--inline .select2-search__field { + background: transparent; + border: none; + outline: 0; + box-shadow: none; + -webkit-appearance: textfield; } + +.select2-container--default .select2-results > .select2-results__options { + max-height: 200px; + overflow-y: auto; } + +.select2-container--default .select2-results__option[role=group] { + padding: 0; } + +.select2-container--default .select2-results__option[aria-disabled=true] { + color: #999; } + +.select2-container--default .select2-results__option[aria-selected=true] { + background-color: #ddd; } + +.select2-container--default .select2-results__option .select2-results__option { + padding-left: 1em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__group { + padding-left: 0; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option { + margin-left: -1em; + padding-left: 2em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -2em; + padding-left: 3em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -3em; + padding-left: 4em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -4em; + padding-left: 5em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -5em; + padding-left: 6em; } + +.select2-container--default .select2-results__option--highlighted[aria-selected] { + background-color: #5897fb; + color: white; } + +.select2-container--default .select2-results__group { + cursor: default; + display: block; + padding: 6px; } + +.select2-container--classic .select2-selection--single { + background-color: #f7f7f7; + border: 1px solid #aaa; + border-radius: 4px; + outline: 0; + background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%); + background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%); + background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } + .select2-container--classic .select2-selection--single:focus { + border: 1px solid #5897fb; } + .select2-container--classic .select2-selection--single .select2-selection__rendered { + color: #444; + line-height: 28px; } + .select2-container--classic .select2-selection--single .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; + margin-right: 10px; } + .select2-container--classic .select2-selection--single .select2-selection__placeholder { + color: #999; } + .select2-container--classic .select2-selection--single .select2-selection__arrow { + background-color: #ddd; + border: none; + border-left: 1px solid #aaa; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + height: 26px; + position: absolute; + top: 1px; + right: 1px; + width: 20px; + background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%); + background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%); + background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); } + .select2-container--classic .select2-selection--single .select2-selection__arrow b { + border-color: #888 transparent transparent transparent; + border-style: solid; + border-width: 5px 4px 0 4px; + height: 0; + left: 50%; + margin-left: -4px; + margin-top: -2px; + position: absolute; + top: 50%; + width: 0; } + +.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear { + float: left; } + +.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow { + border: none; + border-right: 1px solid #aaa; + border-radius: 0; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + left: 1px; + right: auto; } + +.select2-container--classic.select2-container--open .select2-selection--single { + border: 1px solid #5897fb; } + .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow { + background: transparent; + border: none; } + .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b { + border-color: transparent transparent #888 transparent; + border-width: 0 4px 5px 4px; } + +.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; + background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%); + background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%); + background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } + +.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%); + background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%); + background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); } + +.select2-container--classic .select2-selection--multiple { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + cursor: text; + outline: 0; } + .select2-container--classic .select2-selection--multiple:focus { + border: 1px solid #5897fb; } + .select2-container--classic .select2-selection--multiple .select2-selection__rendered { + list-style: none; + margin: 0; + padding: 0 5px; } + .select2-container--classic .select2-selection--multiple .select2-selection__clear { + display: none; } + .select2-container--classic .select2-selection--multiple .select2-selection__choice { + background-color: #e4e4e4; + border: 1px solid #aaa; + border-radius: 4px; + cursor: default; + float: left; + margin-right: 5px; + margin-top: 5px; + padding: 0 5px; } + .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove { + color: #888; + cursor: pointer; + display: inline-block; + font-weight: bold; + margin-right: 2px; } + .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover { + color: #555; } + +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { + float: right; + margin-left: 5px; + margin-right: auto; } + +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { + margin-left: 2px; + margin-right: auto; } + +.select2-container--classic.select2-container--open .select2-selection--multiple { + border: 1px solid #5897fb; } + +.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; } + +.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } + +.select2-container--classic .select2-search--dropdown .select2-search__field { + border: 1px solid #aaa; + outline: 0; } + +.select2-container--classic .select2-search--inline .select2-search__field { + outline: 0; + box-shadow: none; } + +.select2-container--classic .select2-dropdown { + background-color: white; + border: 1px solid transparent; } + +.select2-container--classic .select2-dropdown--above { + border-bottom: none; } + +.select2-container--classic .select2-dropdown--below { + border-top: none; } + +.select2-container--classic .select2-results > .select2-results__options { + max-height: 200px; + overflow-y: auto; } + +.select2-container--classic .select2-results__option[role=group] { + padding: 0; } + +.select2-container--classic .select2-results__option[aria-disabled=true] { + color: grey; } + +.select2-container--classic .select2-results__option--highlighted[aria-selected] { + background-color: #3875d7; + color: white; } + +.select2-container--classic .select2-results__group { + cursor: default; + display: block; + padding: 6px; } + +.select2-container--classic.select2-container--open .select2-dropdown { + border-color: #5897fb; } Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.css ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.css ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.css ------------------------------------------------------------------------------ svn:mime-type = text/css Added: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.min.css URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.min.css?rev=1821001&view=auto ============================================================================== --- ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.min.css (added) +++ ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.min.css Fri Jan 12 15:47:47 2018 @@ -0,0 +1 @@ +.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-c ontainer .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0} .select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .selec t2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color: #eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;marg in-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-sele ction--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search --dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results __option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{ba ckground-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;bord er-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4p x;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2- container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2 -selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0 ;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-select ed]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb} Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.min.css ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.min.css ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/css/select2-4.0.6.min.css ------------------------------------------------------------------------------ svn:mime-type = text/css Added: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/af.js URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/af.js?rev=1821001&view=auto ============================================================================== --- ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/af.js (added) +++ ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/af.js Fri Jan 12 15:47:47 2018 @@ -0,0 +1,3 @@ +/*! Select2 4.0.6-rc.1 | https://github.com/select2/select2/blob/master/LICENSE.md */ + +(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/af",[],function(){return{errorLoading:function(){return"Die resultate kon nie gelaai word nie."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Verwyders asseblief "+t+" character";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Voer asseblief "+t+" of meer karakters";return n},loadingMore:function(){return"Meer resultate word gelaaiâ¦"},maximumSelected:function(e){var t="Kies asseblief net "+e.maximum+" item";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"Geen resultate gevind"},searching:function(){return"Besigâ¦"}}}),{define:e.define,require:e.require}})(); \ No newline at end of file Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/af.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/af.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/af.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/ar.js URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/ar.js?rev=1821001&view=auto ============================================================================== --- ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/ar.js (added) +++ ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/ar.js Fri Jan 12 15:47:47 2018 @@ -0,0 +1,3 @@ +/*! Select2 4.0.6-rc.1 | https://github.com/select2/select2/blob/master/LICENSE.md */ + +(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ar",[],function(){return{errorLoading:function(){return"Ùا ÙÙ Ù٠تØÙ Ù٠اÙÙتائج"},inputTooLong:function(e){var t=e.input.length-e.maximum;return"اÙرجاء ØØ°Ù "+t+" عÙاصر"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"اÙرجاء إضاÙØ© "+t+" عÙاصر"},loadingMore:function(){return"جار٠تØÙ ÙÙ Ùتائج إضاÙÙØ©..."},maximumSelected:function(e){return"تستطÙع إختÙار "+e.maximum+" بÙÙد ÙÙØ·"},noResults:function(){return"ÙÙ Ùت٠اÙعثÙر عÙ٠أ٠Ùتائج"},searching:function(){return"جار٠اÙبØØ«â¦"}}}),{define:e.defi ne,require:e.require}})(); \ No newline at end of file Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/ar.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/ar.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/ar.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/az.js URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/az.js?rev=1821001&view=auto ============================================================================== --- ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/az.js (added) +++ ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/az.js Fri Jan 12 15:47:47 2018 @@ -0,0 +1,3 @@ +/*! Select2 4.0.6-rc.1 | https://github.com/select2/select2/blob/master/LICENSE.md */ + +(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/az",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return t+" simvol silin"},inputTooShort:function(e){var t=e.minimum-e.input.length;return t+" simvol daxil edin"},loadingMore:function(){return"Daha çox nÉticÉ yüklÉnirâ¦"},maximumSelected:function(e){return"SadÉcÉ "+e.maximum+" element seÃ§É bilÉrsiniz"},noResults:function(){return"NÉticÉ tapılmadı"},searching:function(){return"Axtarılırâ¦"}}}),{define:e.define,require:e.require}})(); \ No newline at end of file Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/az.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/az.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/jquery/plugins/select2/js/i18n/az.js ------------------------------------------------------------------------------ svn:mime-type = text/plain |
Free forum by Nabble | Edit this page |