diff --git a/azure-communication-common/allclasses-frame.html b/azure-communication-common/allclasses-frame.html deleted file mode 100644 index a930ca592e..0000000000 --- a/azure-communication-common/allclasses-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -All Classes (azure-communication-common 1.1.0-beta.1 API) - - - - -

All Classes

-
- -
- - diff --git a/azure-communication-common/allclasses-index.html b/azure-communication-common/allclasses-index.html new file mode 100644 index 0000000000..4196e734c7 --- /dev/null +++ b/azure-communication-common/allclasses-index.html @@ -0,0 +1,98 @@ + + + + +All Classes and Interfaces (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + + + + + + + +
+ +
+
+
+

All Classes and Interfaces

+
+
+
Classes
+
+
Class
+
Description
+ +
+
Represents an immutable communication access token with a token string and an expiration time.
+
+ +
+
The cloud that the identifier belongs to.
+
+ +
+
Common communication identifier for Communication Services
+
+ +
+
The Azure Communication Services User token credential.
+
+ +
+
Options for refreshing CommunicationTokenCredential
+
+ +
+
Communication identifier for Communication Services Users
+
+ +
+
Communication identifier for Microsoft Teams User
+
+ +
+
Communication identifier for Communication Services Phone Numbers
+
+ +
+
Catch-all for all other Communication identifiers for Communication Services
+
+
+
+
+
+
+ + diff --git a/azure-communication-common/allclasses-noframe.html b/azure-communication-common/allclasses-noframe.html deleted file mode 100644 index 15dc74e04c..0000000000 --- a/azure-communication-common/allclasses-noframe.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -All Classes (azure-communication-common 1.1.0-beta.1 API) - - - - -

All Classes

-
- -
- - diff --git a/azure-communication-common/allpackages-index.html b/azure-communication-common/allpackages-index.html new file mode 100644 index 0000000000..ddfdbc3c3f --- /dev/null +++ b/azure-communication-common/allpackages-index.html @@ -0,0 +1,64 @@ + + + + +All Packages (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
Package Summary
+
+
Package
+
Description
+ +
+
Common code for all Azure Communication Service libraries.
+
+
+
+
+
+ + diff --git a/azure-communication-common/com/azure/android/communication/common/CommunicationAccessToken.html b/azure-communication-common/com/azure/android/communication/common/CommunicationAccessToken.html index 4553bc2dea..c69507fe79 100644 --- a/azure-communication-common/com/azure/android/communication/common/CommunicationAccessToken.html +++ b/azure-communication-common/com/azure/android/communication/common/CommunicationAccessToken.html @@ -1,315 +1,197 @@ - - + - + CommunicationAccessToken (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
+ +
+
-
com.azure.android.communication.common
-

Class CommunicationAccessToken

+ +

Class CommunicationAccessToken

-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.azure.android.communication.common.CommunicationAccessToken
    • -
    -
  • -
-
-
    -
  • +
    java.lang.Object +
    com.azure.android.communication.common.CommunicationAccessToken
    +
    +

    -
    -
    public final class CommunicationAccessToken
    -extends java.lang.Object
    +
    public final class CommunicationAccessToken +extends Object
    Represents an immutable communication access token with a token string and an expiration time.
    -
  • -
-
-
-
    -
  • + +
    +
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - -
        Constructors 
        Constructor and Description
        CommunicationAccessToken(java.lang.String token, - org.threeten.bp.OffsetDateTime expiresAt) +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Constructor
        +
        Description
        +
        CommunicationAccessToken(String token, + org.threeten.bp.OffsetDateTime expiresAt)
        +
        Creates a communication access token instance.
        -
      • +
+
+ - -
    -
  • - - -

    Method Summary

    - - - - - - - - - - - - - - - - - - -
    All Methods Instance Methods Concrete Methods 
    Modifier and TypeMethod and Description
    org.threeten.bp.OffsetDateTimegetExpiresAt() 
    java.lang.StringgetToken() 
    booleanisExpired() 
    -
      -
    • - - -

      Methods inherited from class java.lang.Object

      -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • -
    -
  • -
+
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    org.threeten.bp.OffsetDateTime
    + +
     
    + + +
     
    +
    boolean
    + +
     
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
  • -
    -
    -
    -
    + - -
    - - -
    Skip navigation links
    - - - - +
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/CommunicationCloudEnvironment.html b/azure-communication-common/com/azure/android/communication/common/CommunicationCloudEnvironment.html index 31ec0da0ce..e1ea3598d1 100644 --- a/azure-communication-common/com/azure/android/communication/common/CommunicationCloudEnvironment.html +++ b/azure-communication-common/com/azure/android/communication/common/CommunicationCloudEnvironment.html @@ -1,359 +1,227 @@ - - + - + CommunicationCloudEnvironment (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    -
    com.azure.android.communication.common
    -

    Class CommunicationCloudEnvironment

    + +

    Class CommunicationCloudEnvironment

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.azure.android.core.util.ExpandableStringEnum<CommunicationCloudEnvironment>
      • -
      • -
          -
        • com.azure.android.communication.common.CommunicationCloudEnvironment
        • -
        -
      • -
      -
    • -
    -
    - -
    -
    -
    +
    + - - - - - +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + + +
    +
    Returns the CommunicationCloudEnvironment associated with the name.
    +
    +
    -
    -
      -
    • +
    +
    +

    Methods inherited from class com.azure.android.core.util.ExpandableStringEnum

    +equals, fromString, hashCode, toString, values
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • + + +
    +
    -
    + - -
    - - -
    Skip navigation links
    - - - - +
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/CommunicationIdentifier.html b/azure-communication-common/com/azure/android/communication/common/CommunicationIdentifier.html index 9d679d9596..bbcb12974b 100644 --- a/azure-communication-common/com/azure/android/communication/common/CommunicationIdentifier.html +++ b/azure-communication-common/com/azure/android/communication/common/CommunicationIdentifier.html @@ -1,237 +1,244 @@ - - + - + CommunicationIdentifier (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    -
    com.azure.android.communication.common
    -

    Class CommunicationIdentifier

    + +

    Class CommunicationIdentifier

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.azure.android.communication.common.CommunicationIdentifier
      • -
      -
    • -
    -
    - + +
    +
      + +
    • +
      +

      Field Summary

      +
      Fields
      +
      +
      Modifier and Type
      +
      Field
      +
      Description
      +
      protected String
      + +
       
      -
      -
        -
      • +
      +
    • - -
        -
      • - - -

        Method Summary

        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • -
        +
      • +
        +

        Method Summary

        +
        +
        +
        +
        +
        Modifier and Type
        +
        Method
        +
        Description
        +
        boolean
        +
        equals(Object that)
        +
         
        + + +
        +
        When storing rawIds, use this function to restore the identifier that was encoded in the rawId.
        +
        + + +
        +
        Returns the rawId for a given CommunicationIdentifier.
        +
        +
        int
        + +
         
        +
        +
        +
        +
        +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
        +
      +
    +
    +
      + +
    • +
      +

      Field Details

      +
        +
      • +
        +

        rawId

        +
        protected String rawId
        +
      -
    -
    -
      -
    • + +
    • -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          CommunicationIdentifier

          -
          public CommunicationIdentifier()
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            CommunicationIdentifier

            +
            public CommunicationIdentifier()
            +
          +
          +
        • + +
        • +
          +

          Method Details

          +
            +
          • +
            +

            fromRawId

            +
            public static CommunicationIdentifier fromRawId(String rawId)
            +
            When storing rawIds, use this function to restore the identifier that was encoded in the rawId.
            +
            +
            Parameters:
            +
            rawId - raw id.
            +
            Returns:
            +
            CommunicationIdentifier
            +
            Throws:
            +
            IllegalArgumentException - raw id is null or empty.
            +
            +
            +
          • +
          • +
            +

            getRawId

            +
            public String getRawId()
            +
            Returns the rawId for a given CommunicationIdentifier. + You can use the rawId for encoding the identifier and then use it as a key in a database.
            +
            +
            Returns:
            +
            raw id
            +
            +
            +
          • +
          • +
            +

            equals

            +
            public boolean equals(Object that)
            +
            +
            Overrides:
            +
            equals in class Object
            +
            +
            +
          • +
          • +
            +

            hashCode

            +
            public int hashCode()
            +
            +
            Overrides:
            +
            hashCode in class Object
            +
            +
          +
        -
    -
    + - -
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/CommunicationTokenCredential.html b/azure-communication-common/com/azure/android/communication/common/CommunicationTokenCredential.html index 3b2db4167c..bea8205d18 100644 --- a/azure-communication-common/com/azure/android/communication/common/CommunicationTokenCredential.html +++ b/azure-communication-common/com/azure/android/communication/common/CommunicationTokenCredential.html @@ -1,220 +1,166 @@ - - + - + CommunicationTokenCredential (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    -
    com.azure.android.communication.common
    -

    Class CommunicationTokenCredential

    + +

    Class CommunicationTokenCredential

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.azure.android.communication.common.CommunicationTokenCredential
      • -
      -
    • -
    -
    -
      -
    • +
      java.lang.Object +
      com.azure.android.communication.common.CommunicationTokenCredential
      +
      +

      -
      -
      public final class CommunicationTokenCredential
      -extends java.lang.Object
      +
      public final class CommunicationTokenCredential +extends Object
      The Azure Communication Services User token credential.

      This class is used to cache/refresh the access token required by Azure Communication Services.

      -
    • -
    -
    -
    -
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    + -
    -
    -
    +
    +
    Parameters:
    userToken - token string for initialization
    + - - - - - -
    -
    Parameters:
    +
    +
    Parameters:
    tokenRefreshOptions - Options object that contains token refresher, initial token string, and refreshProactively
    + + - - - - + - -
    - - - - - - - +
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/CommunicationTokenRefreshOptions.html b/azure-communication-common/com/azure/android/communication/common/CommunicationTokenRefreshOptions.html index 1b2342a376..a63f9f83ad 100644 --- a/azure-communication-common/com/azure/android/communication/common/CommunicationTokenRefreshOptions.html +++ b/azure-communication-common/com/azure/android/communication/common/CommunicationTokenRefreshOptions.html @@ -1,357 +1,235 @@ - - + - + CommunicationTokenRefreshOptions (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    -
    com.azure.android.communication.common
    -

    Class CommunicationTokenRefreshOptions

    + +

    Class CommunicationTokenRefreshOptions

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.azure.android.communication.common.CommunicationTokenRefreshOptions
      • -
      -
    • -
    -
    -
      -
    • +
      java.lang.Object +
      com.azure.android.communication.common.CommunicationTokenRefreshOptions
      +
      +

      -
      -
      public final class CommunicationTokenRefreshOptions
      -extends java.lang.Object
      +
      public final class CommunicationTokenRefreshOptions +extends Object
      Options for refreshing CommunicationTokenCredential

      This class is used to define how CommunicationTokenCredential should be refreshed

      -
    • -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            CommunicationTokenRefreshOptions

            -
            public CommunicationTokenRefreshOptions(java.util.concurrent.Callable<java.lang.String> tokenRefresher,
            -                                        boolean refreshProactively)
            -
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              CommunicationTokenRefreshOptions

              +
              public CommunicationTokenRefreshOptions(Callable<String> tokenRefresher, + boolean refreshProactively)
              +
              Creates a CommunicationTokenRefreshOptions object

              Access token will be fetched on demand and may optionally enable proactive refreshing

              -
              -
              Parameters:
              +
              +
              Parameters:
              tokenRefresher - the token refresher to provide capacity to fetch fresh token, cannot be null
              refreshProactively - when set to true, turn on proactive fetching to call tokenRefresher before token expiry by minutes set with setCallbackOffsetMinutes or default value of two minutes
              +
            • -
            - - - -
              -
            • -

              CommunicationTokenRefreshOptions

              -
              public CommunicationTokenRefreshOptions(java.util.concurrent.Callable<java.lang.String> tokenRefresher,
              -                                        boolean refreshProactively,
              -                                        java.lang.String initialToken)
              -
            • +
              +

              CommunicationTokenRefreshOptions

              +
              public CommunicationTokenRefreshOptions(Callable<String> tokenRefresher, + boolean refreshProactively, + String initialToken)
              +
              Creates a CommunicationTokenRefreshOptions object

              A valid token is supplied and may optionally enable proactive refreshing

              -
              -
              Parameters:
              +
              +
              Parameters:
              tokenRefresher - the token refresher to provide capacity to fetch fresh token, cannot be null
              refreshProactively - when set to true, turn on proactive fetching to call tokenRefresher before token expiry by minutes set with setCallbackOffsetMinutes or default value of two minutes
              initialToken - the serialized JWT token, cannot be null
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if the parameter tokenRefresher or initialToken is null.
              +
              Throws:
              +
              IllegalArgumentException - if the parameter tokenRefresher or initialToken is null.
              +
            +
          • -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              getTokenRefresher

              -
              public java.util.concurrent.Callable<java.lang.String> getTokenRefresher()
              -
              -
              Returns:
              +
            • +
              +

              Method Details

              +
                +
              • +
                +

                getTokenRefresher

                +
                public Callable<String> getTokenRefresher()
                +
                +
                Returns:
                the token refresher to provide capacity to fetch fresh token
                +
              • -
              - - - -
                -
              • -

                isRefreshProactively

                -
                public boolean isRefreshProactively()
                -
                -
                Returns:
                +
              • +
                +

                isRefreshProactively

                +
                public boolean isRefreshProactively()
                +
                +
                Returns:
                whether or not to refresh token proactively
                +
              • -
              - - - -
                -
              • -

                getInitialToken

                -
                public java.lang.String getInitialToken()
                -
                -
                Returns:
                +
              • +
                +

                getInitialToken

                +
                public String getInitialToken()
                +
                +
                Returns:
                the serialized JWT token
                +
              +
            -
          • -
          -
    -
    + - -
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/CommunicationUserIdentifier.html b/azure-communication-common/com/azure/android/communication/common/CommunicationUserIdentifier.html index 39fcccb58a..23dccdd227 100644 --- a/azure-communication-common/com/azure/android/communication/common/CommunicationUserIdentifier.html +++ b/azure-communication-common/com/azure/android/communication/common/CommunicationUserIdentifier.html @@ -1,322 +1,213 @@ - - + - + CommunicationUserIdentifier (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    -
    com.azure.android.communication.common
    -

    Class CommunicationUserIdentifier

    + +

    Class CommunicationUserIdentifier

    -
    - -
    -
    -
    -
    +
    + - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanequals(java.lang.Object that) 
      java.lang.StringgetId() +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      boolean
      +
      equals(Object that)
      +
       
      + + +
      Get id of the communication user.
      -
    • inthashCode() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    +
    +
    int
    + +
     
    +
    +
    + +
    +

    Methods inherited from class com.azure.android.communication.common.CommunicationIdentifier

    +fromRawId, getRawId
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    + - -
    -
    - + - -
    - - - - - - - -
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/MicrosoftTeamsUserIdentifier.html b/azure-communication-common/com/azure/android/communication/common/MicrosoftTeamsUserIdentifier.html index faf88be3ed..0f49eb8744 100644 --- a/azure-communication-common/com/azure/android/communication/common/MicrosoftTeamsUserIdentifier.html +++ b/azure-communication-common/com/azure/android/communication/common/MicrosoftTeamsUserIdentifier.html @@ -1,451 +1,302 @@ - - + - + MicrosoftTeamsUserIdentifier (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    -
    com.azure.android.communication.common
    -

    Class MicrosoftTeamsUserIdentifier

    + +

    Class MicrosoftTeamsUserIdentifier

    -
    - -
    -
    -
    -
    +
    + - - +
    +
    + + +
    +

    Methods inherited from class com.azure.android.communication.common.CommunicationIdentifier

    +fromRawId, getRawId
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    + - -
    -
    - + - -
    - - - - - - - +
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/PhoneNumberIdentifier.html b/azure-communication-common/com/azure/android/communication/common/PhoneNumberIdentifier.html index d6c23027b4..0023847440 100644 --- a/azure-communication-common/com/azure/android/communication/common/PhoneNumberIdentifier.html +++ b/azure-communication-common/com/azure/android/communication/common/PhoneNumberIdentifier.html @@ -1,362 +1,229 @@ - - + - + PhoneNumberIdentifier (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    -
    com.azure.android.communication.common
    -

    Class PhoneNumberIdentifier

    + +

    Class PhoneNumberIdentifier

    -
    - -
    -
    -
    -
      -
    • -
        -
      • - - -

        Constructor Summary

        - - - - - - - - -
        Constructors 
        Constructor and Description
        PhoneNumberIdentifier(java.lang.String phoneNumber) +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Constructor
        +
        Description
        + +
        Creates a PhoneNumberIdentifier object
        -
      • +
    +
    + - - +
    +
    + + +
    +

    Methods inherited from class com.azure.android.communication.common.CommunicationIdentifier

    +fromRawId, getRawId
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    + - -
    -
    - + - -
    - - - - - - - -
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/UnknownIdentifier.html b/azure-communication-common/com/azure/android/communication/common/UnknownIdentifier.html index 768fb78835..42519cd03f 100644 --- a/azure-communication-common/com/azure/android/communication/common/UnknownIdentifier.html +++ b/azure-communication-common/com/azure/android/communication/common/UnknownIdentifier.html @@ -1,322 +1,213 @@ - - + - + UnknownIdentifier (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    -
    com.azure.android.communication.common
    -

    Class UnknownIdentifier

    + +

    Class UnknownIdentifier

    -
    - -
    -
    -
    -
      -
    • -
        -
      • - - -

        Constructor Summary

        - - - - - - - - -
        Constructors 
        Constructor and Description
        UnknownIdentifier(java.lang.String id) +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Constructor
        +
        Description
        + +
        Creates an UnknownIdentifier object
        -
      • +
    +
    + - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanequals(java.lang.Object that) 
      java.lang.StringgetId() +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      boolean
      +
      equals(Object that)
      +
       
      + + +
      Get id of this identifier
      -
    • inthashCode() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    +
    +
    int
    + +
     
    +
    + + +
    +

    Methods inherited from class com.azure.android.communication.common.CommunicationIdentifier

    +fromRawId, getRawId
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    + - -
    -
    - + - -
    - - - - - - - -
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/package-frame.html b/azure-communication-common/com/azure/android/communication/common/package-frame.html deleted file mode 100644 index 9cb6027a73..0000000000 --- a/azure-communication-common/com/azure/android/communication/common/package-frame.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - -com.azure.android.communication.common (azure-communication-common 1.1.0-beta.1 API) - - - - -

    com.azure.android.communication.common

    -
    -

    Classes

    - -
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/package-summary.html b/azure-communication-common/com/azure/android/communication/common/package-summary.html index 6c092e56ba..9c221f6e60 100644 --- a/azure-communication-common/com/azure/android/communication/common/package-summary.html +++ b/azure-communication-common/com/azure/android/communication/common/package-summary.html @@ -1,196 +1,117 @@ - - + - + com.azure.android.communication.common (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    -

    Package com.azure.android.communication.common

    -
    -
    Common code for all Azure Communication Service libraries.
    +

    Package com.azure.android.communication.common

    -

    See: Description

    -
    -
    -
    +
    +
    - - - -

    Package com.azure.android.communication.common Description

    -
    Common code for all Azure Communication Service libraries.
    + + - -
    - - - - - - -
    - - diff --git a/azure-communication-common/com/azure/android/communication/common/package-tree.html b/azure-communication-common/com/azure/android/communication/common/package-tree.html index c9fa2f20b3..5aff347f7c 100644 --- a/azure-communication-common/com/azure/android/communication/common/package-tree.html +++ b/azure-communication-common/com/azure/android/communication/common/package-tree.html @@ -1,143 +1,80 @@ - - + - + com.azure.android.communication.common Class Hierarchy (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +

    Hierarchy For Package com.azure.android.communication.common

    -
    +

    Class Hierarchy

    +
    +
    - - - - diff --git a/azure-communication-common/constant-values.html b/azure-communication-common/constant-values.html deleted file mode 100644 index fa6ad2d775..0000000000 --- a/azure-communication-common/constant-values.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - -Constant Field Values (azure-communication-common 1.1.0-beta.1 API) - - - - - - - - - - -
    -

    Constant Field Values

    -

    Contents

    -
    - - - - - - diff --git a/azure-communication-common/deprecated-list.html b/azure-communication-common/deprecated-list.html deleted file mode 100644 index 425c553053..0000000000 --- a/azure-communication-common/deprecated-list.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - -Deprecated List (azure-communication-common 1.1.0-beta.1 API) - - - - - - - -
    - - - - - - - -
    - - -
    -

    Deprecated API

    -

    Contents

    -
    - -
    - - - - - - - -
    - - - - diff --git a/azure-communication-common/package-list b/azure-communication-common/element-list similarity index 100% rename from azure-communication-common/package-list rename to azure-communication-common/element-list diff --git a/azure-communication-common/help-doc.html b/azure-communication-common/help-doc.html index d507de5558..8d566c9eaf 100644 --- a/azure-communication-common/help-doc.html +++ b/azure-communication-common/help-doc.html @@ -1,216 +1,169 @@ - - + - + API Help (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    +

    JavaDoc Help

    + +
    +
    +

    Navigation

    +Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces +
    -
    -
      -
    • -

      Package

      -

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

      -
        -
      • Interfaces (italic)
      • +
        +
        +

        Kinds of Pages

        +The following sections describe the different kinds of pages in this collection. +
        +

        Package

        +

        Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

        +
          +
        • Interfaces
        • Classes
        • -
        • Enums
        • +
        • Enum Classes
        • Exceptions
        • Errors
        • -
        • Annotation Types
        • -
        - -
      • -

        Class/Interface

        -

        Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

        -
          -
        • Class inheritance diagram
        • +
        • Annotation Interfaces
        • +
        +
      • +
        +

        Class or Interface

        +

        Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

        +
          +
        • Class Inheritance Diagram
        • Direct Subclasses
        • All Known Subinterfaces
        • All Known Implementing Classes
        • -
        • Class/interface declaration
        • -
        • Class/interface description
        • +
        • Class or Interface Declaration
        • +
        • Class or Interface Description
        -
          +
          +
          • Nested Class Summary
          • +
          • Enum Constant Summary
          • Field Summary
          • +
          • Property Summary
          • Constructor Summary
          • Method Summary
          • -
          -
            -
          • Field Detail
          • -
          • Constructor Detail
          • -
          • Method Detail
          • -
          -

          Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

          - -
        • -

          Annotation Type

          -

          Each annotation type has its own separate page with the following sections:

          -
            -
          • Annotation Type declaration
          • -
          • Annotation Type description
          • Required Element Summary
          • Optional Element Summary
          • -
          • Element Detail
          • -
          -
        • -
        • -

          Enum

          -

          Each enum has its own separate page with the following sections:

          -
            -
          • Enum declaration
          • -
          • Enum description
          • -
          • Enum Constant Summary
          • -
          • Enum Constant Detail
          • -
          -
        • -
        • -

          Tree (Class Hierarchy)

          -

          There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

          -
            -
          • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
          • -
          • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
          • -
          -
        • -
        • -

          Deprecated API

          -

          The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

          -
        • -
        • -

          Index

          -

          The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

          -
        • -
        • -

          Prev/Next

          -

          These links take you to the next or previous class, interface, package, or related page.

          -
        • -
        • -

          Frames/No Frames

          -

          These links show and hide the HTML frames. All pages are available with or without frames.

          -
        • -
        • -

          All Classes

          -

          The All Classes link shows all classes and interfaces except non-static nested types.

          -
        • -
        • -

          Serialized Form

          -

          Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

          -
        • -
        • -

          Constant Field Values

          -

          The Constant Field Values page lists the static final fields and their values.

          -
        • -
        -This help file applies to API documentation generated using the standard doclet.
        - -
        - - - - - - - +
        +
          +
        • Enum Constant Details
        • +
        • Field Details
        • +
        • Property Details
        • +
        • Constructor Details
        • +
        • Method Details
        • +
        • Element Details
        • +
        +

        Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

        +

        The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

        + +
        +

        Other Files

        +

        Packages and modules may contain pages with additional information related to the declarations nearby.

        +
        +
        +

        Tree (Class Hierarchy)

        +

        There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

        +
          +
        • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
        • +
        • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
        • +
        +
        +
        +

        All Packages

        +

        The All Packages page contains an alphabetic index of all packages contained in the documentation.

        +
        +
        +

        All Classes and Interfaces

        +

        The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

        +
        +
        +

        Index

        +

        The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

        +
        +
        +
        +This help file applies to API documentation generated by the standard doclet.
    - - diff --git a/azure-communication-common/index-all.html b/azure-communication-common/index-all.html index fa49bf923e..7c24208cff 100644 --- a/azure-communication-common/index-all.html +++ b/azure-communication-common/index-all.html @@ -1,359 +1,275 @@ - - + - + Index (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +
    +
    +

    Index

    +
    +C D E F G H I M P R S U 
    All Classes and Interfaces|All Packages +

    C

    +
    com.azure.android.communication.common - package com.azure.android.communication.common
    Common code for all Azure Communication Service libraries.
    -
    CommunicationAccessToken - Class in com.azure.android.communication.common
    +
    CommunicationAccessToken - Class in com.azure.android.communication.common
    Represents an immutable communication access token with a token string and an expiration time.
    -
    CommunicationAccessToken(String, OffsetDateTime) - Constructor for class com.azure.android.communication.common.CommunicationAccessToken
    +
    CommunicationAccessToken(String, OffsetDateTime) - Constructor for class com.azure.android.communication.common.CommunicationAccessToken
    Creates a communication access token instance.
    -
    CommunicationCloudEnvironment - Class in com.azure.android.communication.common
    +
    CommunicationCloudEnvironment - Class in com.azure.android.communication.common
    The cloud that the identifier belongs to.
    -
    CommunicationCloudEnvironment() - Constructor for class com.azure.android.communication.common.CommunicationCloudEnvironment
    +
    CommunicationCloudEnvironment() - Constructor for class com.azure.android.communication.common.CommunicationCloudEnvironment
     
    -
    CommunicationIdentifier - Class in com.azure.android.communication.common
    +
    CommunicationIdentifier - Class in com.azure.android.communication.common
    Common communication identifier for Communication Services
    -
    CommunicationIdentifier() - Constructor for class com.azure.android.communication.common.CommunicationIdentifier
    +
    CommunicationIdentifier() - Constructor for class com.azure.android.communication.common.CommunicationIdentifier
     
    -
    CommunicationTokenCredential - Class in com.azure.android.communication.common
    +
    CommunicationTokenCredential - Class in com.azure.android.communication.common
    The Azure Communication Services User token credential.
    -
    CommunicationTokenCredential(String) - Constructor for class com.azure.android.communication.common.CommunicationTokenCredential
    +
    CommunicationTokenCredential(CommunicationTokenRefreshOptions) - Constructor for class com.azure.android.communication.common.CommunicationTokenCredential
    -
    Creates a CommunicationTokenCredential from the provided token string.
    +
    Creates a CommunicationTokenCredential that automatically refreshes the token + with a provided Callable on a background thread.
    -
    CommunicationTokenCredential(CommunicationTokenRefreshOptions) - Constructor for class com.azure.android.communication.common.CommunicationTokenCredential
    +
    CommunicationTokenCredential(String) - Constructor for class com.azure.android.communication.common.CommunicationTokenCredential
    -
    Creates a CommunicationTokenCredential that automatically refreshes the token - with a provided Callable on a background thread.
    +
    Creates a CommunicationTokenCredential from the provided token string.
    -
    CommunicationTokenRefreshOptions - Class in com.azure.android.communication.common
    +
    CommunicationTokenRefreshOptions - Class in com.azure.android.communication.common
    Options for refreshing CommunicationTokenCredential
    -
    CommunicationTokenRefreshOptions(Callable<String>, boolean) - Constructor for class com.azure.android.communication.common.CommunicationTokenRefreshOptions
    +
    CommunicationTokenRefreshOptions(Callable<String>, boolean) - Constructor for class com.azure.android.communication.common.CommunicationTokenRefreshOptions
    -
    CommunicationTokenRefreshOptions(Callable<String>, boolean, String) - Constructor for class com.azure.android.communication.common.CommunicationTokenRefreshOptions
    +
    CommunicationTokenRefreshOptions(Callable<String>, boolean, String) - Constructor for class com.azure.android.communication.common.CommunicationTokenRefreshOptions
    -
    CommunicationUserIdentifier - Class in com.azure.android.communication.common
    +
    CommunicationUserIdentifier - Class in com.azure.android.communication.common
    Communication identifier for Communication Services Users
    -
    CommunicationUserIdentifier(String) - Constructor for class com.azure.android.communication.common.CommunicationUserIdentifier
    +
    CommunicationUserIdentifier(String) - Constructor for class com.azure.android.communication.common.CommunicationUserIdentifier
    Creates a CommunicationUserIdentifier object
    - - - -

    D

    -
    -
    dispose() - Method in class com.azure.android.communication.common.CommunicationTokenCredential
    +

    D

    +
    +
    dispose() - Method in class com.azure.android.communication.common.CommunicationTokenCredential
    Invalidates the CommunicationTokenCredential instance to free up resources for garbage collection.
    -
    DOD - Static variable in class com.azure.android.communication.common.CommunicationCloudEnvironment
    +
    DOD - Static variable in class com.azure.android.communication.common.CommunicationCloudEnvironment
    Represent Azure Dod cloud
    - - - -

    E

    -
    -
    equals(Object) - Method in class com.azure.android.communication.common.CommunicationUserIdentifier
    +

    E

    +
    +
    equals(Object) - Method in class com.azure.android.communication.common.CommunicationIdentifier
     
    -
    equals(Object) - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    +
    equals(Object) - Method in class com.azure.android.communication.common.CommunicationUserIdentifier
     
    -
    equals(Object) - Method in class com.azure.android.communication.common.PhoneNumberIdentifier
    +
    equals(Object) - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
     
    -
    equals(Object) - Method in class com.azure.android.communication.common.UnknownIdentifier
    +
    equals(Object) - Method in class com.azure.android.communication.common.PhoneNumberIdentifier
    +
     
    +
    equals(Object) - Method in class com.azure.android.communication.common.UnknownIdentifier
     
    - - - -

    F

    -
    -
    fromString(String) - Static method in class com.azure.android.communication.common.CommunicationCloudEnvironment
    +

    F

    +
    +
    fromRawId(String) - Static method in class com.azure.android.communication.common.CommunicationIdentifier
    +
    +
    When storing rawIds, use this function to restore the identifier that was encoded in the rawId.
    +
    +
    fromString(String) - Static method in class com.azure.android.communication.common.CommunicationCloudEnvironment
    Returns the CommunicationCloudEnvironment associated with the name.
    - - - -

    G

    -
    -
    GCCH - Static variable in class com.azure.android.communication.common.CommunicationCloudEnvironment
    +

    G

    +
    +
    GCCH - Static variable in class com.azure.android.communication.common.CommunicationCloudEnvironment
    Represent Azure Gcch cloud
    -
    getCloudEnvironment() - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    +
    getCloudEnvironment() - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    Get cloud environment of the Teams user identifier
    -
    getExpiresAt() - Method in class com.azure.android.communication.common.CommunicationAccessToken
    +
    getExpiresAt() - Method in class com.azure.android.communication.common.CommunicationAccessToken
     
    -
    getId() - Method in class com.azure.android.communication.common.CommunicationUserIdentifier
    +
    getId() - Method in class com.azure.android.communication.common.CommunicationUserIdentifier
    Get id of the communication user.
    -
    getId() - Method in class com.azure.android.communication.common.UnknownIdentifier
    +
    getId() - Method in class com.azure.android.communication.common.UnknownIdentifier
    Get id of this identifier
    -
    getInitialToken() - Method in class com.azure.android.communication.common.CommunicationTokenRefreshOptions
    +
    getInitialToken() - Method in class com.azure.android.communication.common.CommunicationTokenRefreshOptions
     
    -
    getPhoneNumber() - Method in class com.azure.android.communication.common.PhoneNumberIdentifier
    +
    getPhoneNumber() - Method in class com.azure.android.communication.common.PhoneNumberIdentifier
     
    -
    getRawId() - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    +
    getRawId() - Method in class com.azure.android.communication.common.CommunicationIdentifier
    -
    Get full id of the identifier.
    +
    Returns the rawId for a given CommunicationIdentifier.
    -
    getRawId() - Method in class com.azure.android.communication.common.PhoneNumberIdentifier
    -
    -
    Get full id of the identifier.
    -
    -
    getToken() - Method in class com.azure.android.communication.common.CommunicationAccessToken
    +
    getToken() - Method in class com.azure.android.communication.common.CommunicationAccessToken
     
    -
    getToken() - Method in class com.azure.android.communication.common.CommunicationTokenCredential
    +
    getToken() - Method in class com.azure.android.communication.common.CommunicationTokenCredential
    Get Azure core access token from credential
    -
    getTokenRefresher() - Method in class com.azure.android.communication.common.CommunicationTokenRefreshOptions
    +
    getTokenRefresher() - Method in class com.azure.android.communication.common.CommunicationTokenRefreshOptions
     
    -
    getUserId() - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    +
    getUserId() - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    Get Teams User Id
    - - - -

    H

    -
    -
    hashCode() - Method in class com.azure.android.communication.common.CommunicationUserIdentifier
    +

    H

    +
    +
    hashCode() - Method in class com.azure.android.communication.common.CommunicationIdentifier
    +
     
    +
    hashCode() - Method in class com.azure.android.communication.common.CommunicationUserIdentifier
     
    -
    hashCode() - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    +
    hashCode() - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
     
    -
    hashCode() - Method in class com.azure.android.communication.common.PhoneNumberIdentifier
    +
    hashCode() - Method in class com.azure.android.communication.common.PhoneNumberIdentifier
     
    -
    hashCode() - Method in class com.azure.android.communication.common.UnknownIdentifier
    +
    hashCode() - Method in class com.azure.android.communication.common.UnknownIdentifier
     
    - - - -

    I

    -
    -
    isAnonymous() - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    +

    I

    +
    +
    isAnonymous() - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
     
    -
    isExpired() - Method in class com.azure.android.communication.common.CommunicationAccessToken
    +
    isExpired() - Method in class com.azure.android.communication.common.CommunicationAccessToken
     
    -
    isRefreshProactively() - Method in class com.azure.android.communication.common.CommunicationTokenRefreshOptions
    +
    isRefreshProactively() - Method in class com.azure.android.communication.common.CommunicationTokenRefreshOptions
     
    - - - -

    M

    -
    -
    MicrosoftTeamsUserIdentifier - Class in com.azure.android.communication.common
    +

    M

    +
    +
    MicrosoftTeamsUserIdentifier - Class in com.azure.android.communication.common
    Communication identifier for Microsoft Teams User
    -
    MicrosoftTeamsUserIdentifier(String, boolean) - Constructor for class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    +
    MicrosoftTeamsUserIdentifier(String) - Constructor for class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    Creates a MicrosoftTeamsUserIdentifier object
    -
    MicrosoftTeamsUserIdentifier(String) - Constructor for class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    +
    MicrosoftTeamsUserIdentifier(String, boolean) - Constructor for class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    Creates a MicrosoftTeamsUserIdentifier object
    - - - -

    P

    -
    -
    PhoneNumberIdentifier - Class in com.azure.android.communication.common
    +

    P

    +
    +
    PhoneNumberIdentifier - Class in com.azure.android.communication.common
    Communication identifier for Communication Services Phone Numbers
    -
    PhoneNumberIdentifier(String) - Constructor for class com.azure.android.communication.common.PhoneNumberIdentifier
    +
    PhoneNumberIdentifier(String) - Constructor for class com.azure.android.communication.common.PhoneNumberIdentifier
    Creates a PhoneNumberIdentifier object
    -
    PUBLIC - Static variable in class com.azure.android.communication.common.CommunicationCloudEnvironment
    +
    PUBLIC - Static variable in class com.azure.android.communication.common.CommunicationCloudEnvironment
    Represent Azure public cloud
    - - - -

    S

    -
    -
    setCloudEnvironment(CommunicationCloudEnvironment) - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    +

    R

    +
    +
    rawId - Variable in class com.azure.android.communication.common.CommunicationIdentifier
    +
     
    +
    +

    S

    +
    +
    setCloudEnvironment(CommunicationCloudEnvironment) - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    Set cloud environment of the Teams user identifier
    -
    setRawId(String) - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    +
    setRawId(String) - Method in class com.azure.android.communication.common.MicrosoftTeamsUserIdentifier
    Set full id of the identifier
    -
    setRawId(String) - Method in class com.azure.android.communication.common.PhoneNumberIdentifier
    +
    setRawId(String) - Method in class com.azure.android.communication.common.PhoneNumberIdentifier
    Set full id of the identifier
    - - - -

    U

    -
    -
    UnknownIdentifier - Class in com.azure.android.communication.common
    +

    U

    +
    +
    UnknownIdentifier - Class in com.azure.android.communication.common
    Catch-all for all other Communication identifiers for Communication Services
    -
    UnknownIdentifier(String) - Constructor for class com.azure.android.communication.common.UnknownIdentifier
    +
    UnknownIdentifier(String) - Constructor for class com.azure.android.communication.common.UnknownIdentifier
    Creates an UnknownIdentifier object
    -C D E F G H I M P S U 
    - - - - diff --git a/azure-communication-common/index.html b/azure-communication-common/index.html index 9022fd5232..462dc72438 100644 --- a/azure-communication-common/index.html +++ b/azure-communication-common/index.html @@ -1,72 +1,25 @@ - - + - + azure-communication-common 1.1.0-beta.1 API - + + + + + + + + - - - - +<body class="index-redirect-page"> +<main role="main"> <noscript> -<div>JavaScript is disabled on your browser.</div> +<p>JavaScript is disabled on your browser.</p> </noscript> -<h2>Frame Alert</h2> -<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/azure/android/communication/common/package-summary.html">Non-frame version</a>.</p> - - +

    com/azure/android/communication/common/package-summary.html

    + + diff --git a/azure-communication-common/jquery-ui.overrides.css b/azure-communication-common/jquery-ui.overrides.css new file mode 100644 index 0000000000..1abff95224 --- /dev/null +++ b/azure-communication-common/jquery-ui.overrides.css @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active, +a.ui-button:active, +.ui-button:active, +.ui-button.ui-state-active:hover { + /* Overrides the color of selection used in jQuery UI */ + background: #F8981D; +} diff --git a/azure-communication-common/legal/COPYRIGHT b/azure-communication-common/legal/COPYRIGHT new file mode 100644 index 0000000000..945e19c130 --- /dev/null +++ b/azure-communication-common/legal/COPYRIGHT @@ -0,0 +1,69 @@ +Copyright © 1993, 2018, Oracle and/or its affiliates. +All rights reserved. + +This software and related documentation are provided under a +license agreement containing restrictions on use and +disclosure and are protected by intellectual property laws. +Except as expressly permitted in your license agreement or +allowed by law, you may not use, copy, reproduce, translate, +broadcast, modify, license, transmit, distribute, exhibit, +perform, publish, or display any part, in any form, or by +any means. Reverse engineering, disassembly, or +decompilation of this software, unless required by law for +interoperability, is prohibited. + +The information contained herein is subject to change +without notice and is not warranted to be error-free. If you +find any errors, please report them to us in writing. + +If this is software or related documentation that is +delivered to the U.S. Government or anyone licensing it on +behalf of the U.S. Government, the following notice is +applicable: + +U.S. GOVERNMENT END USERS: Oracle programs, including any +operating system, integrated software, any programs +installed on the hardware, and/or documentation, delivered +to U.S. Government end users are "commercial computer +software" pursuant to the applicable Federal Acquisition +Regulation and agency-specific supplemental regulations. As +such, use, duplication, disclosure, modification, and +adaptation of the programs, including any operating system, +integrated software, any programs installed on the hardware, +and/or documentation, shall be subject to license terms and +license restrictions applicable to the programs. No other +rights are granted to the U.S. Government. + +This software or hardware is developed for general use in a +variety of information management applications. It is not +developed or intended for use in any inherently dangerous +applications, including applications that may create a risk +of personal injury. If you use this software or hardware in +dangerous applications, then you shall be responsible to +take all appropriate fail-safe, backup, redundancy, and +other measures to ensure its safe use. Oracle Corporation +and its affiliates disclaim any liability for any damages +caused by use of this software or hardware in dangerous +applications. + +Oracle and Java are registered trademarks of Oracle and/or +its affiliates. Other names may be trademarks of their +respective owners. + +Intel and Intel Xeon are trademarks or registered trademarks +of Intel Corporation. All SPARC trademarks are used under +license and are trademarks or registered trademarks of SPARC +International, Inc. AMD, Opteron, the AMD logo, and the AMD +Opteron logo are trademarks or registered trademarks of +Advanced Micro Devices. UNIX is a registered trademark of +The Open Group. + +This software or hardware and documentation may provide +access to or information on content, products, and services +from third parties. Oracle Corporation and its affiliates +are not responsible for and expressly disclaim all +warranties of any kind with respect to third-party content, +products, and services. Oracle Corporation and its +affiliates will not be responsible for any loss, costs, or +damages incurred due to your access to or use of third-party +content, products, or services. diff --git a/azure-communication-common/legal/LICENSE b/azure-communication-common/legal/LICENSE new file mode 100644 index 0000000000..ee860d38bb --- /dev/null +++ b/azure-communication-common/legal/LICENSE @@ -0,0 +1,118 @@ +Your use of this Program is governed by the No-Fee Terms and Conditions set +forth below, unless you have received this Program (alone or as part of another +Oracle product) under an Oracle license agreement (including but not limited to +the Oracle Master Agreement), in which case your use of this Program is governed +solely by such license agreement with Oracle. + +Oracle No-Fee Terms and Conditions (NFTC) + +Definitions + +"Oracle" refers to Oracle America, Inc. "You" and "Your" refers to (a) a company +or organization (each an "Entity") accessing the Programs, if use of the +Programs will be on behalf of such Entity; or (b) an individual accessing the +Programs, if use of the Programs will not be on behalf of an Entity. +"Program(s)" refers to Oracle software provided by Oracle pursuant to the +following terms and any updates, error corrections, and/or Program Documentation +provided by Oracle. "Program Documentation" refers to Program user manuals and +Program installation manuals, if any. If available, Program Documentation may be +delivered with the Programs and/or may be accessed from +www.oracle.com/documentation. "Separate Terms" refers to separate license terms +that are specified in the Program Documentation, readmes or notice files and +that apply to Separately Licensed Technology. "Separately Licensed Technology" +refers to Oracle or third party technology that is licensed under Separate Terms +and not under the terms of this license. + +Separately Licensed Technology + +Oracle may provide certain notices to You in Program Documentation, readmes or +notice files in connection with Oracle or third party technology provided as or +with the Programs. If specified in the Program Documentation, readmes or notice +files, such technology will be licensed to You under Separate Terms. Your rights +to use Separately Licensed Technology under Separate Terms are not restricted in +any way by the terms herein. For clarity, notwithstanding the existence of a +notice, third party technology that is not Separately Licensed Technology shall +be deemed part of the Programs licensed to You under the terms of this license. + +Source Code for Open Source Software + +For software that You receive from Oracle in binary form that is licensed under +an open source license that gives You the right to receive the source code for +that binary, You can obtain a copy of the applicable source code from +https://oss.oracle.com/sources/ or http://www.oracle.com/goto/opensourcecode. If +the source code for such software was not provided to You with the binary, You +can also receive a copy of the source code on physical media by submitting a +written request pursuant to the instructions in the "Written Offer for Source +Code" section of the latter website. + +------------------------------------------------------------------------------- + +The following license terms apply to those Programs that are not provided to You +under Separate Terms. + +License Rights and Restrictions + +Oracle grants to You, as a recipient of this Program, subject to the conditions +stated herein, a nonexclusive, nontransferable, limited license to: + +(a) internally use the unmodified Programs for the purposes of developing, +testing, prototyping and demonstrating your applications, and running the +Program for Your own personal use or internal business operations; and + +(b) redistribute the unmodified Program and Program Documentation, under the +terms of this License, provided that You do not charge Your licensees any fees +associated with such distribution or use of the Program, including, without +limitation, fees for products that include or are bundled with a copy of the +Program or for services that involve the use of the distributed Program. + +You may make copies of the Programs to the extent reasonably necessary for +exercising the license rights granted herein and for backup purposes. You are +granted the right to use the Programs to provide third party training in the use +of the Programs and associated Separately Licensed Technology only if there is +express authorization of such use by Oracle on the Program's download page or in +the Program Documentation. + +Your license is contingent on compliance with the following conditions: + +- You do not remove markings or notices of either Oracle's or a licensor's + proprietary rights from the Programs or Program Documentation; + +- You comply with all U.S. and applicable export control and economic sanctions + laws and regulations that govern Your use of the Programs (including technical + data); + +- You do not cause or permit reverse engineering, disassembly or decompilation + of the Programs (except as allowed by law) by You nor allow an associated + party to do so. + +For clarity, any source code that may be included in the distribution with the +Programs is provided solely for reference purposes and may not be modified, +unless such source code is under Separate Terms permitting modification. + +Ownership + +Oracle or its licensors retain all ownership and intellectual property rights to +the Programs. + +Information Collection + +The Programs' installation and/or auto-update processes, if any, may transmit a +limited amount of data to Oracle or its service provider about those processes +to help Oracle understand and optimize them. Oracle does not associate the data +with personally identifiable information. Refer to Oracle's Privacy Policy at +www.oracle.com/privacy. + +Disclaimer of Warranties; Limitation of Liability + +THE PROGRAMS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ORACLE FURTHER +DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY +IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR +NONINFRINGEMENT. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL ORACLE BE LIABLE TO YOU FOR +DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT +LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. diff --git a/azure-communication-common/legal/jquery.md b/azure-communication-common/legal/jquery.md new file mode 100644 index 0000000000..8054a34c83 --- /dev/null +++ b/azure-communication-common/legal/jquery.md @@ -0,0 +1,72 @@ +## jQuery v3.5.1 + +### jQuery License +``` +jQuery v 3.5.1 +Copyright JS Foundation and other contributors, https://js.foundation/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +****************************************** + +The jQuery JavaScript Library v3.5.1 also includes Sizzle.js + +Sizzle.js includes the following license: + +Copyright JS Foundation and other contributors, https://js.foundation/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/sizzle + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +********************* + +``` diff --git a/azure-communication-common/legal/jqueryUI.md b/azure-communication-common/legal/jqueryUI.md new file mode 100644 index 0000000000..8031bdb56e --- /dev/null +++ b/azure-communication-common/legal/jqueryUI.md @@ -0,0 +1,49 @@ +## jQuery UI v1.12.1 + +### jQuery UI License +``` +Copyright jQuery Foundation and other contributors, https://jquery.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery-ui + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code contained within the demos directory. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +``` diff --git a/azure-communication-common/member-search-index.js b/azure-communication-common/member-search-index.js new file mode 100644 index 0000000000..2ae66d9872 --- /dev/null +++ b/azure-communication-common/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"com.azure.android.communication.common","c":"CommunicationAccessToken","l":"CommunicationAccessToken(String, OffsetDateTime)","u":"%3Cinit%3E(java.lang.String,org.threeten.bp.OffsetDateTime)"},{"p":"com.azure.android.communication.common","c":"CommunicationCloudEnvironment","l":"CommunicationCloudEnvironment()","u":"%3Cinit%3E()"},{"p":"com.azure.android.communication.common","c":"CommunicationIdentifier","l":"CommunicationIdentifier()","u":"%3Cinit%3E()"},{"p":"com.azure.android.communication.common","c":"CommunicationTokenCredential","l":"CommunicationTokenCredential(CommunicationTokenRefreshOptions)","u":"%3Cinit%3E(com.azure.android.communication.common.CommunicationTokenRefreshOptions)"},{"p":"com.azure.android.communication.common","c":"CommunicationTokenCredential","l":"CommunicationTokenCredential(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.azure.android.communication.common","c":"CommunicationTokenRefreshOptions","l":"CommunicationTokenRefreshOptions(Callable, boolean)","u":"%3Cinit%3E(java.util.concurrent.Callable,boolean)"},{"p":"com.azure.android.communication.common","c":"CommunicationTokenRefreshOptions","l":"CommunicationTokenRefreshOptions(Callable, boolean, String)","u":"%3Cinit%3E(java.util.concurrent.Callable,boolean,java.lang.String)"},{"p":"com.azure.android.communication.common","c":"CommunicationUserIdentifier","l":"CommunicationUserIdentifier(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.azure.android.communication.common","c":"CommunicationTokenCredential","l":"dispose()"},{"p":"com.azure.android.communication.common","c":"CommunicationCloudEnvironment","l":"DOD"},{"p":"com.azure.android.communication.common","c":"CommunicationIdentifier","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.azure.android.communication.common","c":"CommunicationUserIdentifier","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.azure.android.communication.common","c":"MicrosoftTeamsUserIdentifier","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.azure.android.communication.common","c":"PhoneNumberIdentifier","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.azure.android.communication.common","c":"UnknownIdentifier","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.azure.android.communication.common","c":"CommunicationIdentifier","l":"fromRawId(String)","u":"fromRawId(java.lang.String)"},{"p":"com.azure.android.communication.common","c":"CommunicationCloudEnvironment","l":"fromString(String)","u":"fromString(java.lang.String)"},{"p":"com.azure.android.communication.common","c":"CommunicationCloudEnvironment","l":"GCCH"},{"p":"com.azure.android.communication.common","c":"MicrosoftTeamsUserIdentifier","l":"getCloudEnvironment()"},{"p":"com.azure.android.communication.common","c":"CommunicationAccessToken","l":"getExpiresAt()"},{"p":"com.azure.android.communication.common","c":"CommunicationUserIdentifier","l":"getId()"},{"p":"com.azure.android.communication.common","c":"UnknownIdentifier","l":"getId()"},{"p":"com.azure.android.communication.common","c":"CommunicationTokenRefreshOptions","l":"getInitialToken()"},{"p":"com.azure.android.communication.common","c":"PhoneNumberIdentifier","l":"getPhoneNumber()"},{"p":"com.azure.android.communication.common","c":"CommunicationIdentifier","l":"getRawId()"},{"p":"com.azure.android.communication.common","c":"CommunicationAccessToken","l":"getToken()"},{"p":"com.azure.android.communication.common","c":"CommunicationTokenCredential","l":"getToken()"},{"p":"com.azure.android.communication.common","c":"CommunicationTokenRefreshOptions","l":"getTokenRefresher()"},{"p":"com.azure.android.communication.common","c":"MicrosoftTeamsUserIdentifier","l":"getUserId()"},{"p":"com.azure.android.communication.common","c":"CommunicationIdentifier","l":"hashCode()"},{"p":"com.azure.android.communication.common","c":"CommunicationUserIdentifier","l":"hashCode()"},{"p":"com.azure.android.communication.common","c":"MicrosoftTeamsUserIdentifier","l":"hashCode()"},{"p":"com.azure.android.communication.common","c":"PhoneNumberIdentifier","l":"hashCode()"},{"p":"com.azure.android.communication.common","c":"UnknownIdentifier","l":"hashCode()"},{"p":"com.azure.android.communication.common","c":"MicrosoftTeamsUserIdentifier","l":"isAnonymous()"},{"p":"com.azure.android.communication.common","c":"CommunicationAccessToken","l":"isExpired()"},{"p":"com.azure.android.communication.common","c":"CommunicationTokenRefreshOptions","l":"isRefreshProactively()"},{"p":"com.azure.android.communication.common","c":"MicrosoftTeamsUserIdentifier","l":"MicrosoftTeamsUserIdentifier(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.azure.android.communication.common","c":"MicrosoftTeamsUserIdentifier","l":"MicrosoftTeamsUserIdentifier(String, boolean)","u":"%3Cinit%3E(java.lang.String,boolean)"},{"p":"com.azure.android.communication.common","c":"PhoneNumberIdentifier","l":"PhoneNumberIdentifier(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.azure.android.communication.common","c":"CommunicationCloudEnvironment","l":"PUBLIC"},{"p":"com.azure.android.communication.common","c":"CommunicationIdentifier","l":"rawId"},{"p":"com.azure.android.communication.common","c":"MicrosoftTeamsUserIdentifier","l":"setCloudEnvironment(CommunicationCloudEnvironment)","u":"setCloudEnvironment(com.azure.android.communication.common.CommunicationCloudEnvironment)"},{"p":"com.azure.android.communication.common","c":"MicrosoftTeamsUserIdentifier","l":"setRawId(String)","u":"setRawId(java.lang.String)"},{"p":"com.azure.android.communication.common","c":"PhoneNumberIdentifier","l":"setRawId(String)","u":"setRawId(java.lang.String)"},{"p":"com.azure.android.communication.common","c":"UnknownIdentifier","l":"UnknownIdentifier(String)","u":"%3Cinit%3E(java.lang.String)"}];updateSearchResults(); \ No newline at end of file diff --git a/azure-communication-common/module-search-index.js b/azure-communication-common/module-search-index.js new file mode 100644 index 0000000000..0d59754fc4 --- /dev/null +++ b/azure-communication-common/module-search-index.js @@ -0,0 +1 @@ +moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/azure-communication-common/overview-tree.html b/azure-communication-common/overview-tree.html index 4f171cd63e..f707b6d1b6 100644 --- a/azure-communication-common/overview-tree.html +++ b/azure-communication-common/overview-tree.html @@ -1,147 +1,84 @@ - - + - + Class Hierarchy (azure-communication-common 1.1.0-beta.1 API) + + + + + + + + - - + + +
    + +
    +

    Hierarchy For All Packages

    -Package Hierarchies: +Package Hierarchies:
    -
    +

    Class Hierarchy

    +
    +
    - - - - diff --git a/azure-communication-common/package-search-index.js b/azure-communication-common/package-search-index.js new file mode 100644 index 0000000000..f997542fec --- /dev/null +++ b/azure-communication-common/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"com.azure.android.communication.common"}];updateSearchResults(); \ No newline at end of file diff --git a/azure-communication-common/resources/glass.png b/azure-communication-common/resources/glass.png new file mode 100644 index 0000000000..a7f591f467 Binary files /dev/null and b/azure-communication-common/resources/glass.png differ diff --git a/azure-communication-common/resources/x.png b/azure-communication-common/resources/x.png new file mode 100644 index 0000000000..30548a756e Binary files /dev/null and b/azure-communication-common/resources/x.png differ diff --git a/azure-communication-common/script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png b/azure-communication-common/script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png new file mode 100644 index 0000000000..34abd18f32 Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png differ diff --git a/azure-communication-common/script-dir/images/ui-bg_glass_65_dadada_1x400.png b/azure-communication-common/script-dir/images/ui-bg_glass_65_dadada_1x400.png new file mode 100644 index 0000000000..f058a93853 Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-bg_glass_65_dadada_1x400.png differ diff --git a/azure-communication-common/script-dir/images/ui-bg_glass_75_dadada_1x400.png b/azure-communication-common/script-dir/images/ui-bg_glass_75_dadada_1x400.png new file mode 100644 index 0000000000..2ce04c1651 Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-bg_glass_75_dadada_1x400.png differ diff --git a/azure-communication-common/script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png b/azure-communication-common/script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png new file mode 100644 index 0000000000..a90afb8bf8 Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png differ diff --git a/azure-communication-common/script-dir/images/ui-bg_glass_95_fef1ec_1x400.png b/azure-communication-common/script-dir/images/ui-bg_glass_95_fef1ec_1x400.png new file mode 100644 index 0000000000..dbe091f6dc Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-bg_glass_95_fef1ec_1x400.png differ diff --git a/azure-communication-common/script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/azure-communication-common/script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png new file mode 100644 index 0000000000..5dc3593e46 Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png differ diff --git a/azure-communication-common/script-dir/images/ui-icons_222222_256x240.png b/azure-communication-common/script-dir/images/ui-icons_222222_256x240.png new file mode 100644 index 0000000000..e723e17cb5 Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-icons_222222_256x240.png differ diff --git a/azure-communication-common/script-dir/images/ui-icons_2e83ff_256x240.png b/azure-communication-common/script-dir/images/ui-icons_2e83ff_256x240.png new file mode 100644 index 0000000000..1f5f49756c Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-icons_2e83ff_256x240.png differ diff --git a/azure-communication-common/script-dir/images/ui-icons_454545_256x240.png b/azure-communication-common/script-dir/images/ui-icons_454545_256x240.png new file mode 100644 index 0000000000..618f5b0ca7 Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-icons_454545_256x240.png differ diff --git a/azure-communication-common/script-dir/images/ui-icons_888888_256x240.png b/azure-communication-common/script-dir/images/ui-icons_888888_256x240.png new file mode 100644 index 0000000000..ee5e33f272 Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-icons_888888_256x240.png differ diff --git a/azure-communication-common/script-dir/images/ui-icons_cd0a0a_256x240.png b/azure-communication-common/script-dir/images/ui-icons_cd0a0a_256x240.png new file mode 100644 index 0000000000..7e8ebc180a Binary files /dev/null and b/azure-communication-common/script-dir/images/ui-icons_cd0a0a_256x240.png differ diff --git a/azure-communication-common/script-dir/jquery-3.5.1.min.js b/azure-communication-common/script-dir/jquery-3.5.1.min.js new file mode 100644 index 0000000000..b0614034ad --- /dev/null +++ b/azure-communication-common/script-dir/jquery-3.5.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,j=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function qe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=$e(y.pixelPosition,function(e,t){if(t)return t=Be(e,n),Me.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0a;a++)for(s in o[a])n=o[a][s],o[a].hasOwnProperty(s)&&void 0!==n&&(e[s]=t.isPlainObject(n)?t.isPlainObject(e[s])?t.widget.extend({},e[s],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,s){var n=s.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=i.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(l=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):l=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new s(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
    ",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var l=s.match(/^([\w:-]*)\s*(.*)$/),h=l[1]+o.eventNamespace,c=l[2];c?n.on(h,c,r):i.on(h,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,l=/top|center|bottom/,h=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
    "),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};h>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),l.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,l=n-r,h=r+e.collisionWidth-a-n;e.collisionWidth>a?l>0&&0>=h?(i=t.left+l+e.collisionWidth-a-n,t.left+=l-i):t.left=h>0&&0>=l?n:l>h?n+a-e.collisionWidth:n:l>0?t.left+=l:h>0?t.left-=h:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,l=n-r,h=r+e.collisionHeight-a-n;e.collisionHeight>a?l>0&&0>=h?(i=t.top+l+e.collisionHeight-a-n,t.top+=l-i):t.top=h>0&&0>=l?n:l>h?n+a-e.collisionHeight:n:l>0?t.top+=l:h>0?t.top-=h:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,l=n.isWindow?n.scrollLeft:n.offset.left,h=t.left-e.collisionPosition.marginLeft,c=h-l,u=h+e.collisionWidth-r-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-l,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,l=n.isWindow?n.scrollTop:n.offset.top,h=t.top-e.collisionPosition.marginTop,c=h-l,u=h+e.collisionHeight-r-l,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-l,(i>0||u>a(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e},t.widget("ui.menu",{version:"1.12.1",defaultElement:"
      ",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(e){var i=t(e.target),s=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&s.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var i=t(e.target).closest(".ui-menu-item"),s=t(e.currentTarget);i[0]===s[0]&&(this._removeClass(s.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,s))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){var i=!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]));i&&this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),i=e.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),i.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var i,s,n,o,a=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,s=this.previousFilter||"",o=!1,n=e.keyCode>=96&&105>=e.keyCode?""+(e.keyCode-96):String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),n===s?o=!0:n=s+n,i=this._filterMenuItems(n),i=o&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i,i.length||(n=String.fromCharCode(e.keyCode),i=this._filterMenuItems(n)),i.length?(this.focus(e,i),this.previousFilter=n,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i,s,n,o,a=this,r=this.options.icons.submenu,l=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),s=l.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),i=e.prev(),s=t("").data("ui-menu-submenu-caret",!0);a._addClass(s,"ui-menu-icon","ui-icon "+r),i.attr("aria-haspopup","true").prepend(s),e.attr("aria-labelledby",i.attr("id"))}),this._addClass(s,"ui-menu","ui-widget ui-widget-content ui-front"),e=l.add(this.element),i=e.find(this.options.items),i.not(".ui-menu-item").each(function(){var e=t(this);a._isDivider(e)&&a._addClass(e,"ui-menu-divider","ui-widget-content")}),n=i.not(".ui-menu-item, .ui-menu-divider"),o=n.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(o,"ui-menu-item-wrapper"),i.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t+""),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,s,n;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children(".ui-menu-item-wrapper"),this._addClass(s,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),n=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,o,a,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),r=e.outerHeight(),0>n?this.activeMenu.scrollTop(o+n):n+r>a&&this.activeMenu.scrollTop(o+n-a+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this._removeClass(s.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.find(this.options.items)[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())),void 0):(this.next(e),void 0)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items).first())),void 0):(this.next(e),void 0)},_hasScroll:function(){return this.element.outerHeight()",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,i,s,n=this.element[0].nodeName.toLowerCase(),o="textarea"===n,a="input"===n;this.isMultiLine=o||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return e=!0,s=!0,i=!0,void 0;e=!1,s=!1,i=!1;var o=t.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",n);break;case o.PAGE_DOWN:e=!0,this._move("nextPage",n);break;case o.UP:e=!0,this._keyEvent("previous",n);break;case o.DOWN:e=!0,this._keyEvent("next",n);break;case o.ENTER:this.menu.active&&(e=!0,n.preventDefault(),this.menu.select(n));break;case o.TAB:this.menu.active&&this.menu.select(n);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(e)return e=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault(),void 0;if(!i){var n=t.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,t.preventDefault(),void 0):(this._searchTimeout(t),void 0)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(clearTimeout(this.searching),this.close(t),this._change(t),void 0)}}),this._initSource(),this.menu=t("
        ").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==t.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,i){var s,n;return this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type))?(this.menu.blur(),this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)}),void 0):(n=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:n})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(n.value),s=i.item.attr("aria-label")||n.value,s&&t.trim(s).length&&(this.liveRegion.children().hide(),t("
        ").text(s).appendTo(this.liveRegion)),void 0)},menuselect:function(e,i){var s=i.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=s})),!1!==this._trigger("select",e,{item:s})&&this._value(s.value),this.term=this._value(),this.close(e),this.selectedItem=s}}),this.liveRegion=t("
        ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var i=this.menu.element[0];return e.target===this.element[0]||e.target===i||t.contains(i,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,s){s(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,n){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){n(t)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),i=this.menu.element.is(":visible"),s=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;(!e||e&&!i&&!s)&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(t("
        ").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),this.menu.blur(),void 0):(this.menu[t](e),void 0):(this.search(null,e),void 0)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("
        ").text(i).appendTo(this.liveRegion))}}),t.ui.autocomplete}); \ No newline at end of file diff --git a/azure-communication-common/script-dir/jquery-ui.structure.min.css b/azure-communication-common/script-dir/jquery-ui.structure.min.css new file mode 100644 index 0000000000..e8808927f7 --- /dev/null +++ b/azure-communication-common/script-dir/jquery-ui.structure.min.css @@ -0,0 +1,5 @@ +/*! jQuery UI - v1.12.1 - 2018-12-06 +* http://jqueryui.com +* Copyright jQuery Foundation and other contributors; Licensed MIT */ + +.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0} \ No newline at end of file diff --git a/azure-communication-common/script.js b/azure-communication-common/script.js index b346356931..0765364ed6 100644 --- a/azure-communication-common/script.js +++ b/azure-communication-common/script.js @@ -1,30 +1,132 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; +/* + * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; +function loadScripts(doc, tag) { + createElem(doc, tag, 'search.js'); + + createElem(doc, tag, 'module-search-index.js'); + createElem(doc, tag, 'package-search-index.js'); + createElem(doc, tag, 'type-search-index.js'); + createElem(doc, tag, 'member-search-index.js'); + createElem(doc, tag, 'tag-search-index.js'); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +function show(tableId, selected, columns) { + if (tableId !== selected) { + document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') + .forEach(function(elem) { + elem.style.display = 'none'; + }); + } + document.querySelectorAll('div.' + selected) + .forEach(function(elem, index) { + elem.style.display = ''; + var isEvenRow = index % (columns * 2) < columns; + elem.classList.remove(isEvenRow ? oddRowColor : evenRowColor); + elem.classList.add(isEvenRow ? evenRowColor : oddRowColor); + }); + updateTabs(tableId, selected); +} + +function updateTabs(tableId, selected) { + document.querySelector('div#' + tableId +' .summary-table') + .setAttribute('aria-labelledby', selected); + document.querySelectorAll('button[id^="' + tableId + '"]') + .forEach(function(tab, index) { + if (selected === tab.id || (tableId === selected && index === 0)) { + tab.className = activeTableTab; + tab.setAttribute('aria-selected', true); + tab.setAttribute('tabindex',0); + } else { + tab.className = tableTab; + tab.setAttribute('aria-selected', false); + tab.setAttribute('tabindex',-1); + } + }); +} + +function switchTab(e) { + var selected = document.querySelector('[aria-selected=true]'); + if (selected) { + if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { + // left or up arrow key pressed: move focus to previous tab + selected.previousSibling.click(); + selected.previousSibling.focus(); + e.preventDefault(); + } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { + // right or down arrow key pressed: move focus to next tab + selected.nextSibling.click(); + selected.nextSibling.focus(); + e.preventDefault(); } - else - row.style.display = 'none'; } - updateTabs(type); } -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; +var updateSearchResults = function() {}; + +function indexFilesLoaded() { + return moduleSearchIndex + && packageSearchIndex + && typeSearchIndex + && memberSearchIndex + && tagSearchIndex; +} + +// Workaround for scroll position not being included in browser history (8249133) +document.addEventListener("DOMContentLoaded", function(e) { + var contentDiv = document.querySelector("div.flex-content"); + window.addEventListener("popstate", function(e) { + if (e.state !== null) { + contentDiv.scrollTop = e.state; } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; + }); + window.addEventListener("hashchange", function(e) { + history.replaceState(contentDiv.scrollTop, document.title); + }); + contentDiv.addEventListener("scroll", function(e) { + var timeoutID; + if (!timeoutID) { + timeoutID = setTimeout(function() { + history.replaceState(contentDiv.scrollTop, document.title); + timeoutID = null; + }, 100); } + }); + if (!location.hash) { + history.replaceState(contentDiv.scrollTop, document.title); } -} +}); diff --git a/azure-communication-common/search.js b/azure-communication-common/search.js new file mode 100644 index 0000000000..13aba85313 --- /dev/null +++ b/azure-communication-common/search.js @@ -0,0 +1,354 @@ +/* + * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +var noResult = {l: "No results found"}; +var loading = {l: "Loading search index..."}; +var catModules = "Modules"; +var catPackages = "Packages"; +var catTypes = "Classes and Interfaces"; +var catMembers = "Members"; +var catSearchTags = "Search Tags"; +var highlight = "$&"; +var searchPattern = ""; +var fallbackPattern = ""; +var RANKING_THRESHOLD = 2; +var NO_MATCH = 0xffff; +var MIN_RESULTS = 3; +var MAX_RESULTS = 500; +var UNNAMED = ""; +function escapeHtml(str) { + return str.replace(//g, ">"); +} +function getHighlightedText(item, matcher, fallbackMatcher) { + var escapedItem = escapeHtml(item); + var highlighted = escapedItem.replace(matcher, highlight); + if (highlighted === escapedItem) { + highlighted = escapedItem.replace(fallbackMatcher, highlight) + } + return highlighted; +} +function getURLPrefix(ui) { + var urlPrefix=""; + var slash = "/"; + if (ui.item.category === catModules) { + return ui.item.l + slash; + } else if (ui.item.category === catPackages && ui.item.m) { + return ui.item.m + slash; + } else if (ui.item.category === catTypes || ui.item.category === catMembers) { + if (ui.item.m) { + urlPrefix = ui.item.m + slash; + } else { + $.each(packageSearchIndex, function(index, item) { + if (item.m && ui.item.p === item.l) { + urlPrefix = item.m + slash; + } + }); + } + } + return urlPrefix; +} +function createSearchPattern(term) { + var pattern = ""; + var isWordToken = false; + term.replace(/,\s*/g, ", ").trim().split(/\s+/).forEach(function(w, index) { + if (index > 0) { + // whitespace between identifiers is significant + pattern += (isWordToken && /^\w/.test(w)) ? "\\s+" : "\\s*"; + } + var tokens = w.split(/(?=[A-Z,.()<>[\/])/); + for (var i = 0; i < tokens.length; i++) { + var s = tokens[i]; + if (s === "") { + continue; + } + pattern += $.ui.autocomplete.escapeRegex(s); + isWordToken = /\w$/.test(s); + if (isWordToken) { + pattern += "([a-z0-9_$<>\\[\\]]*?)"; + } + } + }); + return pattern; +} +function createMatcher(pattern, flags) { + var isCamelCase = /[A-Z]/.test(pattern); + return new RegExp(pattern, flags + (isCamelCase ? "" : "i")); +} +var watermark = 'Search'; +$(function() { + var search = $("#search-input"); + var reset = $("#reset-button"); + search.val(''); + search.prop("disabled", false); + reset.prop("disabled", false); + search.val(watermark).addClass('watermark'); + search.blur(function() { + if ($(this).val().length === 0) { + $(this).val(watermark).addClass('watermark'); + } + }); + search.on('click keydown paste', function() { + if ($(this).val() === watermark) { + $(this).val('').removeClass('watermark'); + } + }); + reset.click(function() { + search.val('').focus(); + }); + search.focus()[0].setSelectionRange(0, 0); +}); +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); + }, + _renderMenu: function(ul, items) { + var rMenu = this; + var currentCategory = ""; + rMenu.menu.bindings = $(); + $.each(items, function(index, item) { + var li; + if (item.category && item.category !== currentCategory) { + ul.append("
      • " + item.category + "
      • "); + currentCategory = item.category; + } + li = rMenu._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", item.category + " : " + item.l); + li.attr("class", "result-item"); + } else { + li.attr("aria-label", item.l); + li.attr("class", "result-item"); + } + }); + }, + _renderItem: function(ul, item) { + var label = ""; + var matcher = createMatcher(escapeHtml(searchPattern), "g"); + var fallbackMatcher = new RegExp(fallbackPattern, "gi") + if (item.category === catModules) { + label = getHighlightedText(item.l, matcher, fallbackMatcher); + } else if (item.category === catPackages) { + label = getHighlightedText(item.l, matcher, fallbackMatcher); + } else if (item.category === catTypes) { + label = (item.p && item.p !== UNNAMED) + ? getHighlightedText(item.p + "." + item.l, matcher, fallbackMatcher) + : getHighlightedText(item.l, matcher, fallbackMatcher); + } else if (item.category === catMembers) { + label = (item.p && item.p !== UNNAMED) + ? getHighlightedText(item.p + "." + item.c + "." + item.l, matcher, fallbackMatcher) + : getHighlightedText(item.c + "." + item.l, matcher, fallbackMatcher); + } else if (item.category === catSearchTags) { + label = getHighlightedText(item.l, matcher, fallbackMatcher); + } else { + label = item.l; + } + var li = $("
      • ").appendTo(ul); + var div = $("
        ").appendTo(li); + if (item.category === catSearchTags && item.h) { + if (item.d) { + div.html(label + " (" + item.h + ")
        " + + item.d + "
        "); + } else { + div.html(label + " (" + item.h + ")"); + } + } else { + if (item.m) { + div.html(item.m + "/" + label); + } else { + div.html(label); + } + } + return li; + } +}); +function rankMatch(match, category) { + if (!match) { + return NO_MATCH; + } + var index = match.index; + var input = match.input; + var leftBoundaryMatch = 2; + var periferalMatch = 0; + // make sure match is anchored on a left word boundary + if (index === 0 || /\W/.test(input[index - 1]) || "_" === input[index]) { + leftBoundaryMatch = 0; + } else if ("_" === input[index - 1] || (input[index] === input[index].toUpperCase() && !/^[A-Z0-9_$]+$/.test(input))) { + leftBoundaryMatch = 1; + } + var matchEnd = index + match[0].length; + var leftParen = input.indexOf("("); + var endOfName = leftParen > -1 ? leftParen : input.length; + // exclude peripheral matches + if (category !== catModules && category !== catSearchTags) { + var delim = category === catPackages ? "/" : "."; + if (leftParen > -1 && leftParen < index) { + periferalMatch += 2; + } else if (input.lastIndexOf(delim, endOfName) >= matchEnd) { + periferalMatch += 2; + } + } + var delta = match[0].length === endOfName ? 0 : 1; // rank full match higher than partial match + for (var i = 1; i < match.length; i++) { + // lower ranking if parts of the name are missing + if (match[i]) + delta += match[i].length; + } + if (category === catTypes) { + // lower ranking if a type name contains unmatched camel-case parts + if (/[A-Z]/.test(input.substring(matchEnd))) + delta += 5; + if (/[A-Z]/.test(input.substring(0, index))) + delta += 5; + } + return leftBoundaryMatch + periferalMatch + (delta / 200); + +} +function doSearch(request, response) { + var result = []; + searchPattern = createSearchPattern(request.term); + fallbackPattern = createSearchPattern(request.term.toLowerCase()); + if (searchPattern === "") { + return this.close(); + } + var camelCaseMatcher = createMatcher(searchPattern, ""); + var fallbackMatcher = new RegExp(fallbackPattern, "i"); + + function searchIndexWithMatcher(indexArray, matcher, category, nameFunc) { + if (indexArray) { + var newResults = []; + $.each(indexArray, function (i, item) { + item.category = category; + var ranking = rankMatch(matcher.exec(nameFunc(item)), category); + if (ranking < RANKING_THRESHOLD) { + newResults.push({ranking: ranking, item: item}); + } + return newResults.length <= MAX_RESULTS; + }); + return newResults.sort(function(e1, e2) { + return e1.ranking - e2.ranking; + }).map(function(e) { + return e.item; + }); + } + return []; + } + function searchIndex(indexArray, category, nameFunc) { + var primaryResults = searchIndexWithMatcher(indexArray, camelCaseMatcher, category, nameFunc); + result = result.concat(primaryResults); + if (primaryResults.length <= MIN_RESULTS && !camelCaseMatcher.ignoreCase) { + var secondaryResults = searchIndexWithMatcher(indexArray, fallbackMatcher, category, nameFunc); + result = result.concat(secondaryResults.filter(function (item) { + return primaryResults.indexOf(item) === -1; + })); + } + } + + searchIndex(moduleSearchIndex, catModules, function(item) { return item.l; }); + searchIndex(packageSearchIndex, catPackages, function(item) { + return (item.m && request.term.indexOf("/") > -1) + ? (item.m + "/" + item.l) : item.l; + }); + searchIndex(typeSearchIndex, catTypes, function(item) { + return request.term.indexOf(".") > -1 ? item.p + "." + item.l : item.l; + }); + searchIndex(memberSearchIndex, catMembers, function(item) { + return request.term.indexOf(".") > -1 + ? item.p + "." + item.c + "." + item.l : item.l; + }); + searchIndex(tagSearchIndex, catSearchTags, function(item) { return item.l; }); + + if (!indexFilesLoaded()) { + updateSearchResults = function() { + doSearch(request, response); + } + result.unshift(loading); + } else { + updateSearchResults = function() {}; + } + response(result); +} +$(function() { + $("#search-input").catcomplete({ + minLength: 1, + delay: 300, + source: doSearch, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push(noResult); + } else { + $("#search-input").empty(); + } + }, + autoFocus: true, + focus: function(event, ui) { + return false; + }, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.category) { + var url = getURLPrefix(ui); + if (ui.item.category === catModules) { + url += "module-summary.html"; + } else if (ui.item.category === catPackages) { + if (ui.item.u) { + url = ui.item.u; + } else { + url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (ui.item.category === catTypes) { + if (ui.item.u) { + url = ui.item.u; + } else if (ui.item.p === UNNAMED) { + url += ui.item.l + ".html"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; + } + } else if (ui.item.category === catMembers) { + if (ui.item.p === UNNAMED) { + url += ui.item.c + ".html" + "#"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; + } + if (ui.item.u) { + url += ui.item.u; + } else { + url += ui.item.l; + } + } else if (ui.item.category === catSearchTags) { + url += ui.item.u; + } + if (top !== window) { + parent.classFrame.location = pathtoroot + url; + } else { + window.location.href = pathtoroot + url; + } + $("#search-input").focus(); + } + } + }); +}); diff --git a/azure-communication-common/stylesheet.css b/azure-communication-common/stylesheet.css index 98055b22d6..836c62da83 100644 --- a/azure-communication-common/stylesheet.css +++ b/azure-communication-common/stylesheet.css @@ -1,36 +1,45 @@ -/* Javadoc style sheet */ /* -Overall document style -*/ + * Javadoc style sheet + */ @import url('resources/fonts/dejavu.css'); +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + body { background-color:#ffffff; color:#353833; font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; font-size:14px; margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; } a:link, a:visited { text-decoration:none; color:#4A6782; } -a:hover, a:focus { +a[href]:hover, a[href]:focus { text-decoration:none; color:#bb7a2a; } -a:active { - text-decoration:none; - color:#4A6782; -} a[name] { color:#353833; } -a[name]:hover { - text-decoration:none; - color:#353833; -} pre { font-family:'DejaVu Sans Mono', monospace; font-size:14px; @@ -43,22 +52,24 @@ h2 { } h3 { font-size:16px; - font-style:italic; } h4 { - font-size:13px; + font-size:15px; } h5 { - font-size:12px; + font-size:14px; } h6 { - font-size:11px; + font-size:13px; } ul { list-style-type:disc; } code, tt { font-family:'DejaVu Sans Mono', monospace; +} +:not(h1, h2, h3, h4, h5, h6) > code, +:not(h1, h2, h3, h4, h5, h6) > tt { font-size:14px; padding-top:4px; margin-top:8px; @@ -69,7 +80,7 @@ dt code { font-size:14px; padding-top:4px; } -table tr td dt code { +.summary-table dt code { font-family:'DejaVu Sans Mono', monospace; font-size:14px; vertical-align:top; @@ -78,31 +89,34 @@ table tr td dt code { sup { font-size:8px; } +button { + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size: 14px; +} +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + /* -Document title and Copyright styles -*/ + * Styles for document title and copyright. + */ .clear { clear:both; - height:0px; + height:0; overflow:hidden; } -.aboutLanguage { +.about-language { float:right; - padding:0px 21px; + padding:0 21px 8px 8px; font-size:11px; - z-index:200; margin-top:-9px; + height:2.9em; } -.legalCopy { +.legal-copy { margin-left:.5em; } -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} .tab { background-color:#0066FF; color:#ffffff; @@ -111,263 +125,240 @@ Document title and Copyright styles font-weight:bold; } /* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; + * Styles for navigation bar. + */ +@media screen { + .flex-box { + position:fixed; + display:flex; + flex-direction:column; + height: 100%; + width: 100%; + } + .flex-header { + flex: 0 0 auto; + } + .flex-content { + flex: 1 1 auto; + overflow-y: auto; + } +} +.top-nav { background-color:#4D7A97; color:#FFFFFF; float:left; padding:0; width:100%; clear:right; - height:2.8em; + min-height:2.8em; padding-top:10px; overflow:hidden; font-size:12px; } -.subNav { +.sub-nav { background-color:#dee3e9; float:left; width:100%; overflow:hidden; font-size:12px; } -.subNav div { +.sub-nav div { clear:left; float:left; padding:0 0 5px 6px; text-transform:uppercase; } -ul.navList, ul.subNavList { +.sub-nav .nav-list { + padding-top:5px; +} +ul.nav-list { + display:block; + margin:0 25px 0 0; + padding:0; +} +ul.sub-nav-list { float:left; margin:0 25px 0 0; padding:0; } -ul.navList li{ +ul.nav-list li { list-style:none; float:left; padding: 5px 6px; text-transform:uppercase; } -ul.subNavList li{ +.sub-nav .nav-list-search { + float:right; + margin:0 0 0 0; + padding:5px 6px; + clear:none; +} +.nav-list-search label { + position:relative; + right:-16px; +} +ul.sub-nav-list li { list-style:none; float:left; + padding-top:10px; } -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { +.top-nav a:link, .top-nav a:active, .top-nav a:visited { color:#FFFFFF; text-decoration:none; text-transform:uppercase; } -.topNav a:hover, .bottomNav a:hover { +.top-nav a:hover { text-decoration:none; color:#bb7a2a; text-transform:uppercase; } -.navBarCell1Rev { +.nav-bar-cell1-rev { background-color:#F8981D; color:#253441; margin: auto 5px; } -.skipNav { +.skip-nav { position:absolute; top:auto; left:-9999px; overflow:hidden; } /* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; + * Hide navigation links and search box in print layout + */ +@media print { + ul.nav-list, div.sub-nav { + display:none; + } } +/* + * Styles for page header and footer. + */ .title { color:#2c4557; margin:10px 0; } -.subTitle { +.sub-title { margin:5px 0 0 0; } .header ul { margin:0 0 15px 0; padding:0; } -.footer ul { - margin:20px 0 5px 0; -} .header ul li, .footer ul li { list-style:none; font-size:13px; } /* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; + * Styles for headings. + */ +body.class-declaration-page .summary h2, +body.class-declaration-page .details h2, +body.class-use-page h2, +body.module-declaration-page .block-list h2 { + font-style: italic; + padding:0; + margin:15px 0; } -ul.blockList ul.blockList ul.blockList li.blockList h3 { +body.class-declaration-page .summary h3, +body.class-declaration-page .details h3, +body.class-declaration-page .summary .inherited-list h2 { background-color:#dee3e9; border:1px solid #d0d9e0; margin:0 0 6px -8px; padding:7px 5px; } -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} /* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + * Styles for page layout containers. + */ +main { clear:both; padding:10px 20px; position:relative; } -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { +dl.notes > dt { + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; margin:10px 0 0 0; color:#4E4E4E; } -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; +dl.notes > dd { + margin:5px 10px 10px 0; font-size:14px; - font-family:'DejaVu Sans Mono',monospace; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; } -.serializedFormContainer dl.nameValue dt { +dl.name-value > dt { margin-left:1px; font-size:1.1em; display:inline; font-weight:bold; } -.serializedFormContainer dl.nameValue dd { +dl.name-value > dd { margin:0 0 0 1px; font-size:1.1em; display:inline; } /* -List styles -*/ + * Styles for lists. + */ +li.circle { + list-style:circle; +} ul.horizontal li { display:inline; font-size:0.9em; } -ul.inheritance { +div.inheritance { margin:0; padding:0; } -ul.inheritance li { - display:inline; - list-style:none; +div.inheritance div.inheritance { + margin-left:2em; } -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { +ul.block-list, +ul.details-list, +ul.member-list, +ul.summary-list { margin:10px 0 10px 0; padding:0; } -ul.blockList li.blockList, ul.blockListLast li.blockList { +ul.block-list > li, +ul.details-list > li, +ul.member-list > li, +ul.summary-list > li { list-style:none; margin-bottom:15px; line-height:1.4; } -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; +.summary-table dl, .summary-table dl dt, .summary-table dl dd { + margin-top:0; + margin-bottom:1px; } -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; +ul.see-list, ul.see-list-long { + padding-left: 0; + list-style: none; } -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; +ul.see-list li { + display: inline; } -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; +ul.see-list li:not(:last-child):after, +ul.see-list-long li:not(:last-child):after { + content: ", "; + white-space: pre-wrap; } /* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + * Styles for tables. + */ +.summary-table, .details-table { width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; + border-spacing:0; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; + padding:0; } -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { +.caption { position:relative; text-align:left; background-repeat:no-repeat; @@ -375,24 +366,20 @@ Table styles font-weight:bold; clear:none; overflow:hidden; - padding:0px; + padding:0; padding-top:10px; padding-left:1px; - margin:0px; + margin:0; white-space:pre; } -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { +.caption a:link, .caption a:visited { + color:#1f389c; +} +.caption a:hover, +.caption a:active { color:#FFFFFF; } -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { +.caption span { white-space:nowrap; padding-top:5px; padding-left:12px; @@ -404,144 +391,150 @@ Table styles border: none; height:16px; } -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - +div.table-tabs { + padding:10px 0 0 1px; + margin:0; } -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { +div.table-tabs > button { + border: none; + cursor: pointer; + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 3px; +} +div.table-tabs > button.active-table-tab { + background: #F8981D; + color: #253441; +} +div.table-tabs > button.table-tab { + background: #4D7A97; + color: #FFFFFF; +} +.two-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(15%, auto); +} +.three-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, auto); +} +.four-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(10%, max-content) minmax(10%, max-content) minmax(10%, auto); +} +@media screen and (max-width: 600px) { + .two-column-summary { + display: grid; + grid-template-columns: 1fr; + } +} +@media screen and (max-width: 800px) { + .three-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(25%, auto); + } + .three-column-summary .col-last { + grid-column-end: span 2; + } +} +@media screen and (max-width: 1000px) { + .four-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(15%, auto); + } +} +.summary-table > div, .details-table > div { text-align:left; - padding:0px 0px 12px 10px; + padding: 8px 3px 3px 7px; } -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ +.col-first, .col-second, .col-last, .col-constructor-name, .col-summary-item-name { vertical-align:top; - padding-right:0px; + padding-right:0; padding-top:8px; padding-bottom:3px; } -th.colFirst, th.colLast, th.colOne, .constantsSummary th { +.table-header { background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; + font-weight: bold; } -td.colLast, th.colLast { +.col-first, .col-first { font-size:13px; } -td.colOne, th.colOne { +.col-second, .col-second, .col-last, .col-constructor-name, .col-summary-item-name, .col-last { font-size:13px; } -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; +.col-first, .col-second, .col-constructor-name { vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + overflow: auto; +} +.col-last { + white-space:normal; +} +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-constructor-name a:link, .col-constructor-name a:visited, +.col-summary-item-name a:link, .col-summary-item-name a:visited, +.constant-values-container a:link, .constant-values-container a:visited, +.all-classes-container a:link, .all-classes-container a:visited, +.all-packages-container a:link, .all-packages-container a:visited { font-weight:bold; } -.tableSubHeadingColor { +.table-sub-heading-color { background-color:#EEEEFF; } -.altColor { +.even-row-color, .even-row-color .table-header { background-color:#FFFFFF; } -.rowColor { +.odd-row-color, .odd-row-color .table-header { background-color:#EEEEEF; } /* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { + * Styles for contents. + */ +.deprecated-content { margin:0; padding:10px 0; } -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - div.block { font-size:14px; font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; } - -td.colLast div { - padding-top:0px; +.col-last div { + padding-top:0; } - - -td.colLast a { +.col-last a { padding-bottom:3px; } +.module-signature, +.package-signature, +.type-signature, +.member-signature { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + margin:14px 0; + white-space: pre-wrap; +} +.module-signature, +.package-signature, +.type-signature { + margin-top: 0; +} +.member-signature .type-parameters-long, +.member-signature .parameters, +.member-signature .exceptions { + display: inline-block; + vertical-align: top; + white-space: pre; +} +.member-signature .type-parameters { + white-space: normal; +} /* -Formatting effect styles -*/ -.sourceLineNo { + * Styles for formatting effect. + */ +.source-line-no { color:green; padding:0 30px 0 0; } @@ -552,23 +545,321 @@ h1.hidden { } .block { display:block; - margin:3px 10px 2px 0px; + margin:0 10px 5px 0; color:#474747; } -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { +.deprecated-label, .descfrm-type-label, .implementation-label, .member-name-label, .member-name-link, +.module-label-in-package, .module-label-in-type, .override-specify-label, .package-label-in-type, +.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label { font-weight:bold; } -.deprecationComment, .emphasizedPhrase, .interfaceName { +.deprecation-comment, .help-footnote, .preview-comment { font-style:italic; } - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { +.deprecation-block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +.preview-block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecation-comment { font-style:normal; } +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.result-item { + font-size:13px; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:scroll; + overflow-x:scroll; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:999999; +} +ul.ui-autocomplete li { + float:left; + clear:both; + width:100%; +} +.result-highlight { + font-weight:bold; +} +#search-input { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + position:relative; + right:-18px; + width:400px; +} +#reset-button { + background-color: rgb(255,255,255); + background-image:url('resources/x.png'); + background-position:center; + background-repeat:no-repeat; + background-size:12px; + border:0 none; + width:16px; + height:16px; + position:relative; + left:-4px; + top:-4px; + font-size:0px; +} +.watermark { + color:#545454; +} +.search-tag-desc-result { + font-style:italic; + font-size:11px; +} +.search-tag-holder-result { + font-style:italic; + font-size:12px; +} +.search-tag-result:target { + background-color:yellow; +} +.module-graph span { + display:none; + position:absolute; +} +.module-graph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.inherited-list { + margin: 10px 0 10px 0; +} +section.class-description { + line-height: 1.4; +} +.summary section[class$="-summary"], .details section[class$="-details"], +.class-uses .detail, .serialized-class-details { + padding: 0px 20px 5px 10px; + border: 1px solid #ededed; + background-color: #f8f8f8; +} +.inherited-list, section[class$="-details"] .detail { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +.vertical-separator { + padding: 0 5px; +} +ul.help-section-list { + margin: 0; +} +ul.help-subtoc > li { + display: inline-block; + padding-right: 5px; + font-size: smaller; +} +ul.help-subtoc > li::before { + content: "\2022" ; + padding-right:2px; +} +span.help-note { + font-style: italic; +} +/* + * Indicator icon for external links. + */ +main a[href*="://"]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + background-size:100% 100%; + width:7px; + height:7px; + margin-left:2px; + margin-bottom:4px; +} +main a[href*="://"]:hover::after, +main a[href*="://"]:focus::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} +/** + * Tweak font sizes and paddings for small screens. + */ +@media screen and (max-width: 1050px) { + #search-input { + width: 300px; + } +} +@media screen and (max-width: 800px) { + #search-input { + width: 200px; + } + .top-nav, + .bottom-nav { + font-size: 11px; + padding-top: 6px; + } + .sub-nav { + font-size: 11px; + } + .about-language { + padding-right: 16px; + } + ul.nav-list li, + .sub-nav .nav-list-search { + padding: 6px; + } + ul.sub-nav-list li { + padding-top: 5px; + } + main { + padding: 10px; + } + .summary section[class$="-summary"], .details section[class$="-details"], + .class-uses .detail, .serialized-class-details { + padding: 0 8px 5px 8px; + } + body { + -webkit-text-size-adjust: none; + } +} +@media screen and (max-width: 500px) { + #search-input { + width: 150px; + } + .top-nav, + .bottom-nav { + font-size: 10px; + } + .sub-nav { + font-size: 10px; + } + .about-language { + font-size: 10px; + padding-right: 12px; + } } diff --git a/azure-communication-common/tag-search-index.js b/azure-communication-common/tag-search-index.js new file mode 100644 index 0000000000..0367dae65d --- /dev/null +++ b/azure-communication-common/tag-search-index.js @@ -0,0 +1 @@ +tagSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/azure-communication-common/type-search-index.js b/azure-communication-common/type-search-index.js new file mode 100644 index 0000000000..cb1ddfceb7 --- /dev/null +++ b/azure-communication-common/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"com.azure.android.communication.common","l":"CommunicationAccessToken"},{"p":"com.azure.android.communication.common","l":"CommunicationCloudEnvironment"},{"p":"com.azure.android.communication.common","l":"CommunicationIdentifier"},{"p":"com.azure.android.communication.common","l":"CommunicationTokenCredential"},{"p":"com.azure.android.communication.common","l":"CommunicationTokenRefreshOptions"},{"p":"com.azure.android.communication.common","l":"CommunicationUserIdentifier"},{"p":"com.azure.android.communication.common","l":"MicrosoftTeamsUserIdentifier"},{"p":"com.azure.android.communication.common","l":"PhoneNumberIdentifier"},{"p":"com.azure.android.communication.common","l":"UnknownIdentifier"}];updateSearchResults(); \ No newline at end of file